Граф коммитов

272 Коммитов

Автор SHA1 Сообщение Дата
dveditz%netscape.com 9172024f8e New wstring nsIRegistry interface, bug 23859;
new version registry name for mozilla, bug 10533;
log now created by install wizards too, bug 26309;
downloaded file cleanup moved into manager, bug 24249;
scaffolding for bug 12817 and 12361 (conditional autoreg)
2000-02-15 01:32:12 +00:00
dp%netscape.com 346ad8dd16 Bg 26937, bug 26759 Enforcing close of the registry before open of a
different registry file. r=dveditz
2000-02-08 21:50:54 +00:00
dp%netscape.com 547fc64bf2 Bug 26937 Added ApplicationRegistry. r=dveditz 2000-02-08 21:49:40 +00:00
scc%netscape.com 73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
davidm%netscape.com 643d194472 Bug 25949 update access paths for codewarrior update. 2000-02-06 04:38:30 +00:00
ssu%netscape.com 8c2ab96565 changed standalone libreg to be built with USE_NON_MT_LIBS so it can be linked with native windows installer. No one currently links with stand alone libreg. 2000-01-29 23:16:38 +00:00
dougt%netscape.com bae665046a Giving these files Purify loving. r=dveditz 2000-01-28 23:37:27 +00:00
dougt%netscape.com 0b0346079c Landing nsIFile. 2000-01-24 21:28:28 +00:00
ssu%netscape.com f9261ad8ac undoing my previous checkin. wrong branch. 2000-01-19 19:19:00 +00:00
ssu%netscape.com 00894504d9 working on fixing disk space calculation problems with certain components 2000-01-19 19:18:07 +00:00
dveditz%netscape.com 7184581a85 Bugs 7132, 22712: registry keys are now case-sensitive 2000-01-16 01:18:52 +00:00
cls%seawood.org 51d1c6e8a3 Ok, taking this split of compiler options used only for compiles a step further....The idea is that when the user passes CFLAGS to configure, those flags are to be used basically anywhere that that CC is. COMPILE_FLAGS is set in configure to contain the compiler flags that cannot be used while linking (e.g. -include on BSD/OS). In config.mk, I moved all of the variables that used to compose CFLAGS into COMPILE_CFLAGS so that CFLAGS only contains the values from running configure.
Removed unused NOMD_CFLAGS & MDUPDATE_FLAGS.
1999-12-24 10:58:11 +00:00
erik%netscape.com 97a4edf14f This is just a local .cvsignore file. Doesn't affect build. 1999-11-11 18:15:49 +00:00
shaver%netscape.com c73533acb7 - NS_ERROR_FACTORY_REGISTER_AGAIN for deferring registration of a module until
later in the autoreg cycle.
- teach native component loader about deferred components
- add nsIComponentLoader::registerDeferredComponents
- teach component manager about deferred components
- made nsID::Parse take a |const char *| instead of a simple |char *|.
- move release of XPTI singletons until _after_ shutting down the component
  manager to prevent re-initialization during JS component shutdown.
- category manager work: really delete from reg, start on enumeration
- use nsXPIDLCString instead of autoStringFree.
- fix nsRegistry to use allocator properly.
- cleaner memory management in nsFactoryEntry.
- capitalization fixed in nsIComponentLoader.idl
- clean up loader creation logic
- remove/disable lots of DEBUG_shaver noise
- added (disabled) warning about NSGetFactory usage
- move .so and .shlb higher up in the ValidDllExtensions list to marginally
  speed up registration.
- added nsDll::GetRegistryLocation API
- properly export nsSupportsArray.h
- capitalization fixes in nsIEnumerator.idl
- added deferral to nsSample.js
1999-11-10 00:28:34 +00:00
dmose%mozilla.org 142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
dveditz%netscape.com acfa4a526a Changing registry keys to a mozilla-centric name rather than netscape. 1999-11-03 07:36:03 +00:00
braddr%puremagic.com ea13be0a26 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE in anticipation of nixing NS_COMFALSE in the near future.
r=scc
1999-10-28 03:16:48 +00:00
braddr%puremagic.com 341c8b0054 Ooops.. tree closed, better back these out for now. Sorry. 1999-10-27 21:01:37 +00:00
braddr%puremagic.com 55276cc3c4 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE
in anticipation of nixing NS_COMFALSE in the near future.
r=scc (please contact him should there be any build issues)
1999-10-27 20:24:21 +00:00
ramiro%fateware.com 25aba30f43 Removing the badly rotten MOZ_STRIP_NOT_EXPORTED hack. We now have a better
way to accomplish the same thing using linker version scripts.
r=cls@seawood.org
1999-10-22 07:11:43 +00:00
dveditz%netscape.com d27b05616a reenabling 6986-fix for the mac, r-dougt 1999-10-19 23:17:54 +00:00
shaver%netscape.com 74062e8f6c fix // comment in C file (r=brade) 1999-10-18 19:00:18 +00:00
dveditz%netscape.com 8410807e8a stopgap for mysterious Mac bustage 1999-10-18 12:58:58 +00:00
dveditz%netscape.com 7c53179282 generate unique regkeys (6986) 1999-10-18 12:06:19 +00:00
dveditz%netscape.com 16b4f0d5e6 hoping this fixes the mac bustage 1999-10-17 23:55:56 +00:00
shaver%netscape.com 9cc6546fbb fixing build by removing leftover #endif 1999-10-17 22:15:34 +00:00
dveditz%netscape.com 140516cd5f Added NR_RegFlush (14909, required for 16283/16600); warning cleanup (15626) r=shaver 1999-10-17 21:47:53 +00:00
dveditz%netscape.com 99d183d043 Added nsIRegistry::Flush (bug 16283, required for 16600), r=shaver 1999-10-17 21:45:53 +00:00
dveditz%netscape.com b56193b56d expose libreg ability to delete named values in nsIRegistry. Patch from
Jonas Utterstr�m <jonas.utterstrom@vittran.norrnod.se>, r=dveditz
1999-10-15 06:47:58 +00:00
alecf%netscape.com d2bf42255e add detection for broken mmap()/write() behavior
contributed by jim_nance@yahoo.com
r=alecf
1999-10-05 00:29:09 +00:00
beard%netscape.com 0a7a3c72b6 changed from directly using "MSL ShLibRuntime.Lib" to using "NSLibraryStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:23:01 +00:00
sfraser%netscape.com c4ba817155 Fixing use of obsolete types for shaver. 1999-09-29 02:54:18 +00:00
shaver%netscape.com f28337480b nsIRegistry scriptability and beginning of category support, r=dp,alecf,dveditz a=leaf,chofmann 1999-09-29 02:35:42 +00:00
dveditz%netscape.com f9e34fb7e2 Make sure componentMgr calls NR_ShutdownRegistry(), fixing MLKs and registry corruption from unflushed registry buffers.
r=dp,a=chofmann
1999-09-26 21:20:21 +00:00
dveditz%netscape.com 0971d382ca Fix assert exposed by fix for bug 14551 (eliminate registry leaks from component mgr). r=dp, a=chofmann 1999-09-26 21:17:54 +00:00
briano%netscape.com 56428f49d2 SunOS4-specific fix. If SUNOS4 is defined, we need to include unistd.h for SEEK_SET and friends. 1999-09-25 02:49:00 +00:00
dveditz%netscape.com 8574f6cb8b Turning buffered registry i/o back on, bugs 14306,11203 1999-09-22 07:53:15 +00:00
dveditz%netscape.com 16b974b648 Bugfix 7928 1999-09-22 07:49:22 +00:00
waterson%netscape.com 06b78978e9 Fix backwards return values on nsIEnumerator::IsDone(). 1999-09-21 01:28:18 +00:00
dveditz%netscape.com d235ccb522 backing out bufio changes until corruption fixed 1999-09-20 00:53:07 +00:00
dveditz%netscape.com 3857e06b0a make version registry code match main mozilla registry code 1999-09-18 01:23:59 +00:00
sfraser%netscape.com 6045b30c30 Fix for bug 14160 -- bad registry name. Don't assume that Mac Handles are nul terminated. 1999-09-18 01:14:50 +00:00
dveditz%netscape.com f2e6fbced2 fix Mac startup bustage 1999-09-17 23:42:47 +00:00
dveditz%netscape.com 626252cc1e reverting registry changes for Unix, a=leaf, r=ramiro 1999-09-17 17:44:41 +00:00
sspitzer%netscape.com 4124e80e74 fix crash when launching mail 1999-09-17 09:46:58 +00:00
dveditz%netscape.com 3509f48fd2 match buffered i/o registry change in XP_MAC section 1999-09-17 07:00:55 +00:00
sfraser%netscape.com 5c1bece163 Added file for dveditz, set up prefix files. 1999-09-17 06:56:45 +00:00
sfraser%netscape.com 29679733c0 First Checked In. 1999-09-17 06:56:23 +00:00
dveditz%netscape.com 8fc87395a0 more trying to get nr_bufio to work on a mac 1999-09-17 06:35:32 +00:00
dveditz%netscape.com 418d0fb8e1 fixing mac path sadness with new nr_bufio stuff 1999-09-17 06:13:38 +00:00
dp%netscape.com d9d68788ef Caching of what registry was opened to improve performance of multiple
opens on the same registry file.
1999-09-17 05:46:25 +00:00
dveditz%netscape.com f4cbdacf44 Buffered I/O for registry performance 1999-09-17 01:32:00 +00:00
dp%netscape.com dab9dd104d NS_ADDREF() instead of calling it directly 1999-09-16 19:20:18 +00:00
dveditz%netscape.com 7d68f66b73 expose whether the registry is already open or not, which enables the profile
manager to avoid opening and closing the registry ~20 times at startup.
1999-09-16 05:32:28 +00:00
cls%seawood.org b08dde9cb4 Use the rules in rules.mk instead of making your own. 1999-09-15 18:00:50 +00:00
slamm%netscape.com 9968553886 Fix build warning. 1999-09-14 23:09:39 +00:00
briano%netscape.com 775e13bce8 General cleanup. 1999-09-14 02:51:42 +00:00
jdunn%netscape.com ee465a967c add HP to the list of os's that don't like MMAP'd IO 1999-09-11 00:49:20 +00:00
duncan%be.com 1ac1783815 BeOS doesn't have mmap. Also, BeOS is case sensitive like Unix. 1999-09-10 22:35:58 +00:00
cls%seawood.org 6f9cc8eb93 OS_ARCH is not set until config.mk is included but the form of CSRCS changes after rules.mk is included 1999-09-10 12:42:25 +00:00
Jerry.Kirk%Nexwarecorp.com 65c7d68141 Makefile hackery for Neutrino to build vreg with CC instead of CCF
CCF includes (eventually) DSO_PIC_CFLAGS which has the option "-shared"
which is not allowed for Neutrino executables just object files and
libraries.
1999-09-10 12:06:28 +00:00
briano%netscape.com 0e85815036 General cleanup. 1999-09-10 00:37:14 +00:00
Jerry.Kirk%Nexwarecorp.com d4fba16d44 Disable Memory mapped file support for QNX and Neutrino platforms. 1999-09-08 12:42:23 +00:00
shaver%netscape.com 5713ca953c fix from bryner@uiuc.edu (Brian Ryner) for better PRInt64 handling 1999-09-06 03:41:57 +00:00
pinkerton%netscape.com 91ce1ee5ac adding #include of string.h for dveditz. 1999-09-04 21:42:02 +00:00
dveditz%netscape.com ee89552282 remove xp_file.h from NSReg.h, required minor tweaking elsewhere to include
now missing NSPR types.
1999-09-04 19:46:18 +00:00
dveditz%netscape.com c3e1883efa fixing registry assert 1999-09-04 19:18:57 +00:00
shaver%netscape.com b749ab2168 Added mmapio patch from jim_nance@yahoo.com (James L. Nance) to speed
registry-read.  Enabled on XP_UNIX only.
1999-09-02 21:23:44 +00:00
dveditz%netscape.com 368254f2fe fixing makefile weirdness 1999-09-01 01:30:04 +00:00
cyeh%netscape.com 1729151e74 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:24:51 +00:00
dp%netscape.com 88a4943bfd Removing nsIRegistry::GetIntArray() and SetIntArray(). These aren't
being used and block scritability. So if we need then, we will figure
out a way to add them that wont break scritability.
1999-08-26 05:11:40 +00:00
dp%netscape.com 8d036420a9 Removed default parameter to Open() to facilitate IDLification. 1999-08-26 03:22:26 +00:00
sgehani%netscape.com d4d84d53ad Part of fix for bug 12426. 1999-08-25 01:34:31 +00:00
scc%netscape.com 68340a37ef got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in 1999-08-23 10:14:16 +00:00
mccabe%netscape.com 381fb81c4f Replace manual method declarations in implementations of xpcom/ interfaces with NS_DECL_NSIFOO. 1999-08-22 11:25:50 +00:00
ramiro%netscape.com 2c19866af3 cleanup linking of libmozreg. 1999-08-21 15:41:53 +00:00
cls%seawood.org c2bdb85bf4 Removed all references to obsolete OBJDIR variable.
Removed various sections of config.mk & rules.mk that were only used by OBJDIR or by a non-autoconf build.
1999-08-20 06:52:59 +00:00
sgehani%netscape.com 087770dbf9 Fix for Mac specific bug: 10421. 1999-08-19 09:48:53 +00:00
sgehani%netscape.com bb1122c9de Fix for UNIX specific bug: 10180. 1999-08-18 05:51:58 +00:00
dveditz%netscape.com 621fa7dc37 fixing bustage 1999-08-07 05:03:08 +00:00
bienvenu%netscape.com fff8e61eca one more try, export the lib during the libs phase 1999-08-07 04:56:01 +00:00
bienvenu%netscape.com 88340aa09b attempt to fix registry bustage 1999-08-07 04:22:45 +00:00
dveditz%netscape.com a6c5280158 change library name to match Unix 1999-08-07 03:16:02 +00:00
dveditz%netscape.com 0eebcb4bcd update comment to reflect code 1999-08-07 03:12:40 +00:00
briano%netscape.com 9e7e24ed2c Last part of the fix for bug 8568. Removed all the temporary, transitional references to libreg.{a,so}. Approved by cyeh@netscape.com. 1999-07-28 21:47:07 +00:00
briano%netscape.com 007ea62765 Cleaned it up and changed the name of libreg.{a,so} to libmozreg.{a,so} to fix the conflict reported in bug 8568. 1999-07-27 23:27:44 +00:00
briano%netscape.com f020d6f791 Needed to do the temporary copying in the libs step, not the install step. 1999-07-27 23:19:42 +00:00
briano%netscape.com 74b5148bf7 First temporary change involved in fixing bug 8568. This change will allow
for a smooth and hopefully breakage free checkin of all the dependent makefiles.
When that's done, these temporary changes can be deleted and the change to
"libmozreg" can be made permanent.
1999-07-27 21:45:10 +00:00
briano%netscape.com 46f86aa436 Fix for IRIX 5.x. 1999-07-23 00:41:02 +00:00
dveditz%netscape.com 0387f5e679 removed redundant registry locking to improve performance 1999-07-20 22:50:26 +00:00
briano%netscape.com 37224476da Added BIN_OBJS to GARBAGE so 'make clean' will delete them properly. 1999-07-19 23:12:02 +00:00
ramiro%netscape.com bbed66360e Checkin another chunk of Alex Larsson's non-exported symbol reduction
patch.  All changes protected by  MOZ_STRIP_NOT_EXPORTED.
These particular changes set the NS_EXPORT declarations as needed by
the linker.
1999-07-07 09:02:21 +00:00
dp%netscape.com c43c4ec143 Landing XPCOM_M8_PERF_BRANCH. Speeding up GetString(). 1999-07-07 07:42:03 +00:00
dveditz%netscape.com b7711bbb43 Mac startup performance 1999-07-06 07:28:49 +00:00
dveditz%netscape.com d3f47f37f5 makefile cleanups 1999-07-02 13:40:18 +00:00
dp%netscape.com 6617ee15f9 Caching of node names in nsIRegistryNode
Adding nsIRegistryNode::GetIID()
        - Thanks Dan Veditz
1999-07-02 03:34:08 +00:00
akkana%netscape.com 422ee84284 Fix separate-objdir build 1999-06-22 21:38:39 +00:00
dp%netscape.com 7cc37791bf Adding back member to store error for nsRegistryNode and nsRegistryValue. This gets it working again. 1999-06-22 13:58:12 +00:00
dp%netscape.com c8a1554978 - Threading fixed. Changed member that stored error from nsRegistry
to be an automatic variable.
- Using XPCOM_ComponentRegistry for OpenWellknownRegistry()
1999-06-21 23:40:21 +00:00
briano%netscape.com c5f56dedd5 Minor DEC-specific tweak (i.e., only affects DEC builds) to fix the Tinderbox build. 1999-06-19 00:16:43 +00:00
dp%netscape.com ec7f1d00a9 Fixed crash due to multi-threading. bug# 7308, bug# 8150 1999-06-18 23:27:09 +00:00
dveditz%netscape.com 40f1477bbd eliminate extra startup file i/o 1999-06-16 06:50:37 +00:00
dougt%netscape.com af93402ef1 Be OS patch from Duncan Wilcox <duncan@be.com> Thank you. 1999-06-14 20:18:35 +00:00
dp%netscape.com 462e42b5b3 - NS_RegistryGetFactory API Change
- QuickRegister eliminated
1999-06-14 02:07:03 +00:00
dp%netscape.com 891afaf041 Well Known Component Registry in <exedir>/component.reg implemented. 1999-06-09 19:16:38 +00:00
sdagley%netscape.com 190fb5c9b0 Fix bug #3534. Now set EOF and file position to requested offset in a seek when the offset is past the current EOF. With this fix pinkerton's workaround in reg.c is no longer required si it has been removed. Reviewed pinkerton, approved chofmann. 1999-05-20 01:25:54 +00:00
dveditz%netscape.com c4aa848e52 further bullet-proofing against bad callers 1999-05-19 02:02:47 +00:00
leaf%mozilla.org e47f66c661 backing out dveditz's changes (seems to be breaking mac) 1999-05-18 18:55:34 +00:00
dveditz%netscape.com 58b3f951a1 missing lock 1999-05-18 14:49:02 +00:00
dveditz%netscape.com f54808a025 NSReg.h 1999-05-18 14:46:02 +00:00
briano%netscape.com aaaf38a0c7 Fix for QNX. 1999-05-12 23:53:50 +00:00
dveditz%netscape.com bc8f1b12e4 link standalone version to static libs 1999-04-27 19:18:20 +00:00
jdunn%netscape.com 50b00d08f7 Change C++ comments to C comments and change flushall to flush of each of
the standard files (in,out,err)
1999-04-21 22:13:15 +00:00
dveditz%netscape.com d3f42df326 speedup for non-Mac platforms 1999-04-19 20:11:43 +00:00
dveditz%netscape.com 1d2f02ee95 unfix until mac link problem can be dealt with 1999-04-15 12:33:06 +00:00
dveditz%netscape.com aa0bc9475b fixed typo in #ifdef Mac code 1999-04-15 07:18:34 +00:00
dveditz%netscape.com 6e0b7cd2b8 libreg threading and standalone fixes 1999-04-15 05:40:37 +00:00
jdunn%netscape.com 343893cb44 use C style comments instead of C++ since this is a 'C' file. 1999-04-12 20:15:26 +00:00
braddr%puremagic.com 6ce23b2ec1 Clean up undefined variables and a static prototype that no longer has a function body to match 1999-04-10 08:45:36 +00:00
briano%netscape.com 5516a80e37 Another SunOS4-specific fix. 1999-04-09 00:15:29 +00:00
dveditz%netscape.com da5bd5b86c Mac read-only fix from Patrick Beard <beard@netscape.com> 1999-04-07 00:26:34 +00:00
dveditz%netscape.com 8ef4426d2a Fix threading bug 1999-04-06 18:35:34 +00:00
dveditz%netscape.com 4ffc0a5022 Fixing libreg threadsafe issues (NR_ API, not yet the version registry API) 1999-04-02 01:31:55 +00:00
dveditz%netscape.com 2d55b1af94 Fixed clobber 1999-04-01 22:54:09 +00:00
dveditz%netscape.com 4924be74a2 fixed copy clobber steps 1999-04-01 22:53:23 +00:00
dp%netscape.com b034a8fa51 More threadsafeness. 1999-04-01 06:45:50 +00:00
dp%netscape.com 1c9c3e6b34 Fixed nsIRegistry implementation. ready for use. Thanks to Nicholas Ambrose <nick87@hotmail.com> 1999-03-31 06:28:36 +00:00
dp%netscape.com b900869c23 InitXPCOM() : For a defined initialization sequence of xpcom global objects and components. 1999-03-23 23:28:32 +00:00
dp%netscape.com 13372716ec Patch for unsigned vs signed warnings. Thanks to <bruce@cybersight.com> 1999-03-21 19:26:32 +00:00
leaf%mozilla.org 4ad9f70d5d Landing nspr library name change, and plevent function call change. 1999-03-17 21:32:03 +00:00
dp%netscape.com f703def293 Changing default registry name:
Unix: ~/.mozilla/registry
Win: <winnt dir>\mozregistry.dat

BTW, mac is already MozRegistry
1999-03-11 07:56:03 +00:00
dougt%netscape.com 327babe1ee Added VR_ calls to the export list. 1999-03-09 22:39:09 +00:00
warren%netscape.com 4b2d56fbaa nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
dp%netscape.com 34228abcb8 adding new exported NR_*Raw() symbols 1999-03-08 22:10:18 +00:00
dp%netscape.com e9da5d2e32 Adding Raw interface that wont interpret / in keynames. Plus removed = being a invalid char for keys. 1999-03-08 20:35:54 +00:00
pinkerton%netscape.com c2e0134749 some hacks (and ifdefs) for macOS until NSPR gets fixed. This at least allows us to test out libReg and find bugs. 1999-03-01 19:24:27 +00:00
pinkerton%netscape.com 7053fb2f27 changing mac name of default registry file to "mozilla registry" in order to not conflict with old nscp versions and not have the name "netscape" in any of our code. 1999-02-26 19:26:45 +00:00
law%netscape.com e9f0a653cf Create reg file if it doesn't exist 1999-02-26 02:17:37 +00:00
sfraser%netscape.com 8737ca90e8 File Removed. 1999-02-26 01:13:09 +00:00
sfraser%netscape.com 94ba8d2ede First Checked In. 1999-02-26 01:12:49 +00:00
sfraser%netscape.com 3a123c982b Mac project changes -- link with MSLDropInRuntime, instead of MSLShLibRuntime, and fix link order. 1999-02-26 00:54:57 +00:00
law%netscape.com ce6acb6643 Adding nsRegistry to win32 build 1999-02-25 19:20:39 +00:00
law%netscape.com de504a3c3c Landing LIBREG990212_BRANCH to get libreg building on Mac 1999-02-23 19:56:57 +00:00
warren%netscape.com 01dd4f0ed6 Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray. 1999-02-23 08:10:24 +00:00
mcmullen%netscape.com 8c62ee8873 Final update - landing our branch. 1999-02-23 02:16:21 +00:00
mjudge%netscape.com fbcb42974f changing nsIEnumerator to use NS_IMETHOD not virtual nsresult 1999-02-19 23:43:20 +00:00
mcmullen%netscape.com b17a8e28ad First Checked In. 1999-02-12 23:53:07 +00:00
law%netscape.com 6e62333865 moz->ns 1999-02-10 23:27:09 +00:00
warren%netscape.com af4892e337 Fixed unsigned problems. 1999-02-06 04:02:02 +00:00
dougt%netscape.com c28c34e068 New makefile.win for standalone registry target. 1998-12-09 01:10:28 +00:00