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

329 Коммитов

Автор SHA1 Сообщение Дата
jfrancis%netscape.com 85592b6390 rewriting timer code yet again - made it an intrusive list. 1999-01-28 00:21:16 +00:00
slamm%netscape.com 031200a41c Use TK_CFLAGS instead of TK_(MOTIF|GTK)_CFLAGS. Use TK_LIBS instead of TK_(MOTIF|GTK)_LIBS to simplify makefile rules. 1999-01-27 19:51:59 +00:00
erik%netscape.com 0b4fd4ce03 added PropertiesTest for new Java property file-like class 1999-01-27 18:42:28 +00:00
erik%netscape.com 90a2daec64 added nsProperties.cpp and nsBaseDLL.cpp
(for Java property file-like class, and its NSGetFactory)
1999-01-27 18:22:03 +00:00
erik%netscape.com 90a963c0c4 added nsIProperties.h (like Java property files) 1999-01-27 18:18:35 +00:00
erik%netscape.com 75f1796700 For some reason, the IID stuff didn't compile on the Mac. Fixed now. 1999-01-27 00:18:34 +00:00
erik%netscape.com b07c2a64f9 Added test program and test file for new nsIProperties stuff.
(Like Java properties.)
1999-01-26 23:51:18 +00:00
erik%netscape.com ce12ded87b Added implementation of new nsIProperties class (like Java properties).
Also added nsBaseDLL.cpp for factory for this DLL (raptorbase).
1999-01-26 23:50:25 +00:00
waterson%netscape.com febb896a80 Got Win32-specific stuff up and running. This caused a bit of code-juggling in the Unix and Mac implementations. a=mcmullen. 1999-01-26 23:49:33 +00:00
erik%netscape.com 51fabd0847 public header file for new nsIProperties class (like Java properties) 1999-01-26 23:48:54 +00:00
ftang%netscape.com 8ca2c39a5b change nsCharSetID into nsString type 1999-01-25 16:05:04 +00:00
mcafee%netscape.com 8039bacc84 Need NSPR to link 1999-01-23 12:20:31 +00:00
mcafee%netscape.com 969f1f88dc Pushing the 1:1 source-file-to-binary mapping mechanism into rules.mk so we can share this with other directories. Look for the SIMPLE_PROGRAMS checkin into config/rules.mk 1999-01-23 09:42:33 +00:00
peterl%netscape.com a35fe91e63 added nsStringArray 1999-01-23 06:58:34 +00:00
sfraser%netscape.com abee877be8 Fix non-debug build spankage, approved sar, jj. 1999-01-22 21:22:22 +00:00
sfraser%netscape.com e82c5d361c Fixing a test-stopping bug, approved by sar. Fix some copy-paste madness in idler/repeater code, and add an assert to ensure you are not running a bad timer. 1999-01-22 20:16:30 +00:00
mcafee%netscape.com 8d85fcb5b7 Removing stuff that is already in rules.mk, why duplicate it here? 1999-01-22 10:13:38 +00:00
jfrancis%netscape.com ad834264ff fixing bugs #2547 #2295 1999-01-22 08:58:43 +00:00
ramiro%netscape.com 397e1d5b42 Fix for bug 1982. Remove bogus NS_RELEASE() on a timer.
Thanks to Davide Pasetto <dipo@sis.it> for providing the fix and looking
the bug up on bugzilla!.
1999-01-21 14:37:51 +00:00
jfrancis%netscape.com 7a97ce2ca2 redoing timer addref/release strategy, and guaranteeing that timers will only be put on the firing list _once_, even if a client tries to add it multiple times. 1999-01-15 23:18:57 +00:00
jfrancis%netscape.com 6bc95bee70 fixing destructor bug in Repeater 1999-01-15 22:11:16 +00:00
rickg%netscape.com af405928a0 exposed objectAt in deque, and fixed toInteger bug 1999-01-15 19:20:51 +00:00
jfrancis%netscape.com 63812b8e5a Removing Powerplant 1999-01-15 00:06:35 +00:00
jfrancis%netscape.com 7387d1309b First Checked In. 1999-01-15 00:01:47 +00:00
rickg%netscape.com 01a5bccadc fixed bug in Compare() and error in ToInteger() 1999-01-10 08:17:40 +00:00
mcmullen%netscape.com 7a250789ef Fix for bug #2164. Balanced the NS_ADDREF and NS_RELEASE, which takes some doing, because it gets released in a module that did not add the reference (during Stop(), when all timers are released). This is bad design, methinks. 1999-01-09 02:47:34 +00:00
rickg%netscape.com fcdfc75a82 modest improvements to string and deque 1999-01-09 01:09:39 +00:00
waterson%netscape.com 9784876549 Made the aCopy parameter to nsString::Insert const to clear up some compiler warnings. a=rickg. 1999-01-07 22:19:57 +00:00
donm%netscape.com 8fcc9e490f fixing includes for solaris. -donm 1999-01-07 21:03:42 +00:00
mcmullen%netscape.com 6d8e4aa0d8 Fix unused parameter warning. 1999-01-07 02:11:24 +00:00
kipp%netscape.com b4f21e84f4 Make it compile on windows 1999-01-07 01:46:22 +00:00
mcmullen%netscape.com 6ebe2daa2c Added a directory iterator class. Added canonification and recursive directory creation, and some other handy methods. Eventual goal: replace xp_file.h entirely. 1999-01-06 23:38:21 +00:00
ramiro%netscape.com c22113431f cvsignore FilesTest. 1998-12-30 00:38:50 +00:00
rpotts%netscape.com 6d447263ea Added an entry for the application shell... 1998-12-29 23:59:23 +00:00
mcmullen%netscape.com d943dfc62a Simplify the console case, so that Windows does not think it has to compile with exception handling. 1998-12-29 00:24:32 +00:00
mcmullen%netscape.com defd60a0ab Allow partial paths. 1998-12-24 00:01:32 +00:00
law%netscape.com fd948fd318 Add nsFile* to Windows build 1998-12-22 20:06:56 +00:00
law%netscape.com 47cba1c029 Add nsFile* to Windows build 1998-12-22 20:01:41 +00:00
troy%netscape.com 4c1ca751b4 Added comment to strdup() noting that t he caller must use delete[]
to free the memory
1998-12-22 19:01:14 +00:00
mcmullen%netscape.com b9aa25e827 Added an NS_BASE for windows. 1998-12-18 23:30:44 +00:00
mcmullen%netscape.com 9cdd955cd4 Rewrote the stream stuff to be simple, since Unix build environment cannot even handle ostream and istream. This builds and runs correctly on Linux and Macintosh now. 1998-12-18 23:06:54 +00:00
mcmullen%netscape.com 64d8d93b7d First Checked In. 1998-12-18 22:38:28 +00:00
blizzard%appliedtheory.com c650cf25e9 Saner nsTimer implementation for gtk. This probably still isn't right
but it works a lot better.  Also, work around getting really strange
timeouts and print an error when you get one.
1998-12-18 02:55:20 +00:00
warren%netscape.com b22a4e72fd Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
mcmullen%netscape.com bc3cd3e280 Made all this build on Unix, using Macros up the wazoo 1998-12-15 22:45:09 +00:00
shaver%netscape.com 2e1488cb9a Add --enable-debug=module1,module2 to selective turn on debugging.
Remove --enable-dom, because Mariner is dead (sob).
Rename some MODULE= lines to make the afore-mentioned --enable-debug
technique actually useful.  Feel free to recategorize.
Fix libraptorhtml.so link bogosity by disabling shared lib generation for the
sub-archives (libraptor*_s.a), so that we can put bin before lib in the
library path and still get the right effect.  We could disable static-lib
generation in most other places and cut the build time down a fair bit, too.
[NOTE: I'm getting on a train...msw@gimp.org has agreed to be my tinderbox
buddy.  Thanks, Matt!]
1998-12-15 16:32:37 +00:00
sfraser%netscape.com bfc23bd513 Add nsFileSpec.h and nsFileStream.h 1998-12-15 03:08:57 +00:00
beard%netscape.com 48c16d8ad3 First Checked In. 1998-12-13 05:01:04 +00:00
mcmullen%netscape.com 70ec590900 Deal with the case of a null string. 1998-12-12 02:07:11 +00:00
law%netscape.com 8f41797878 Minor fix in operator= 1998-12-12 01:28:28 +00:00
law%netscape.com ef069eb5f5 Add NS_BASE to cause export from dll on Windows 1998-12-12 01:25:32 +00:00
mcmullen%netscape.com e1c92781a8 More windows stuff. 1998-12-11 23:52:31 +00:00
mcmullen%netscape.com 120fb992fa More windows tweaks 1998-12-11 23:05:24 +00:00
waterson%netscape.com c3786dcd43 Got rid of NS_DYNAMIC_CAST() macro at scc's prodding. 1998-12-11 21:39:18 +00:00
mcmullen%netscape.com dd79f3130c And again. 1998-12-11 18:17:22 +00:00
mcmullen%netscape.com f41691e8b4 More tweaks. 1998-12-11 03:17:47 +00:00
mcmullen%netscape.com 12ac82aeff Some more tweaks to suit various compilers and platforms. 1998-12-11 01:42:04 +00:00
kin%netscape.com 436e1e6954 Fixed off by 1 error that occurs in PopBack() when
(mOrigin + mSize) >= mCapacity.
1998-12-09 17:07:20 +00:00
mcmullen%netscape.com f2af6b7ae7 Trying to make this build on unix gcc compilers, I have removed all references to std::string, using char* instead. This almost made me cry (not just because of all the work I had to do over again). 1998-12-09 08:47:30 +00:00
mcmullen%netscape.com b6aba71e21 Tried to make this a little more gcc friendly - created some NS_USING_NAMESPACE/ NS_NAMESPACE ugliness. Sigh. 1998-12-09 05:09:28 +00:00
pinkerton%netscape.com d582258ba6 Remove PLStringFuncs.o for new universal headers. 1998-12-09 01:56:57 +00:00
pinkerton%netscape.com b4f7944d24 fix for new universal headers. Don't use PLstringfuncs and add an inline helper to the helper namespace which does the same things. 1998-12-09 01:56:36 +00:00
sfraser%netscape.com 7bac111395 Fix part of build bustage. (Strange, this built fine with my tools). 1998-12-09 01:30:42 +00:00
law%netscape.com c3e6a55dd2 Added Windoze support 1998-12-09 01:04:53 +00:00
sfraser%netscape.com 48ad5fa0f9 Fix the timer compare function (need an extra dereference). 1998-12-09 00:08:41 +00:00
sfraser%netscape.com 0da7562397 Remove access path to the root of the mozilla tree, which caused this thing to take forever to load in the IDE. 1998-12-08 23:58:23 +00:00
mcmullen%netscape.com ffc07f1806 Polished the interfaces, added long comments in the headers. The next step is checking by Bill Law and Steve Lamm for Win and Unix. Then it's open season. 1998-12-08 22:45:42 +00:00
mcmullen%netscape.com 6d66a57c70 Added nsFileStream.cpp to this project. Polished the interfaces, added long comments in the headers. The next step is checking by Bill Law and Steve Lamm for Win and Unix. Then it's open season. 1998-12-08 22:45:38 +00:00
mcmullen%netscape.com 2d03507d69 First Checked In. 1998-12-08 22:43:57 +00:00
mcmullen%netscape.com 29bbdb8935 Added nsFileSpec.cpp to this project (you also get nsFileStream, but this is all done with templates in a header - this may need to be revisited). This is the first real checkin of nsFileSpec.*, and the first ever checkin of nsFileStream.h. This provides typesafe file specifications, interconversions, and full Standard Library support for iostreams, based on these specifications. The next step is checking by Bill Law and Steve Lamm for Win and Unix. Then it's open season. 1998-12-08 02:24:19 +00:00
mcmullen%netscape.com 97663c5afa First Checked In. 1998-12-08 02:22:54 +00:00
mcmullen%netscape.com 46efadfc6c First Checked In. 1998-12-08 02:15:50 +00:00
ramiro%netscape.com b67e714e27 Have cvs ignore generated files. 1998-12-05 11:07:45 +00:00
ramiro%netscape.com 2009b728de Add cvsignore entries for makefiles generated bu autoconf. 1998-12-05 09:07:33 +00:00
akkana%netscape.com a22674e331 Waterson's definitions to fix Irix build. 1998-12-04 21:36:56 +00:00
waterson%netscape.com 4214c5bd3c Added macros for fancy C++ casts. 1998-12-04 01:13:21 +00:00
jfrancis%netscape.com dfedb51a71 The first step to good mental health is to realize that you have a build problem. redo'ing NSRuntime.shlb includes to use debug in debug target, opt in opt target. 1998-12-01 01:22:13 +00:00
beard%netscape.com c62b49cafc Mac shared library migration. 1998-11-30 22:15:00 +00:00
mcafee%netscape.com f2ca180be2 Added mhanni@sprintmail.com's suggestion as a comment, pending someone finding out of this works 1998-11-25 20:02:26 +00:00
rickg%netscape.com 5761b52e55 fixed bug #1203 1998-11-24 20:23:46 +00:00
rickg%netscape.com 7755d427f4 changed ToInteger() so that it returns an error properly 1998-11-24 02:38:21 +00:00
cyeh%netscape.com e9d3c67427 Removing static makefiles as a part of the transition to Autoconf. I have taken great
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.

If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com.
1998-11-21 00:34:32 +00:00
rickg%netscape.com 83c2278361 updated docs for nsString class usage 1998-11-20 22:11:09 +00:00
alecf%netscape.com a58ada5ede nsTimerExpired should be a C function that returns a gint (i.e. a GtkFunction)
which returns 0 on success
1998-11-20 02:03:57 +00:00
kipp%netscape.com e1fa4e95dd Made nsString::Insert actually support the count=-1 default argument 1998-11-19 17:58:30 +00:00
pierre%netscape.com 57bc56148a fixed the 3 instances of Compare() to work with empty strings 1998-11-04 06:48:11 +00:00
pierre%netscape.com 809c3fa63c return 0 (ie. "strings are equal") instead of 1 when the 'n' of strncmp() and strncasecmp() is 0 1998-11-04 06:46:33 +00:00
cls%seawood.org c14d1dd8a3 Removed hardcoded 'gtk-config' 1998-11-03 16:16:37 +00:00
cls%seawood.org f50c938b76 Removed classic build Makefiles from configure.in
Changed --enable-fe to --enable-toolkit which takes a single argument.
Changed MOZ_FE to MOZ_TOOLKIT.
Removed USE_NGLAYOUT and USE_NGLAYOUT_GTK.
Removed FULL_STATIC_BUILD and --enable-min-shared.
Removed checks for gnome and qt.
1998-11-03 15:48:45 +00:00
msw%gimp.org ac7d9a1d5b change gmbaseunix to gmbasegtk here too 1998-11-02 15:22:59 +00:00
msw%gimp.org 75c0d5da2c rename gmbaseunix to gmbasegtk 1998-11-02 15:20:37 +00:00
shaver%netscape.com def443db54 Minor typo. I'm so anal. 1998-11-02 14:30:56 +00:00
ramiro%netscape.com 5606cdd6d8 Move the 'unix' nsTimer to 'motif'. 1998-11-02 14:28:32 +00:00
blizzard%appliedtheory.com a2f9902d7a when using --enable-nglayout=gtk build gtk specific timer code 1998-11-01 19:49:49 +00:00
blizzard%appliedtheory.com 459a357b85 add timer code for gtk from Frank Visser <fvisser@hgmp.mrc.ac.uk> 1998-11-01 00:13:30 +00:00
cls%seawood.org 1f612e9ddf Some updated to work with nglayout. Others sync'd to remove cruft. 1998-10-28 03:49:12 +00:00
rickg%netscape.com 674c289b46 fixed bug in IsOrdered that was found on the web 1998-10-26 22:33:39 +00:00
cls%seawood.org 533abf7234 Split OS_CFLAGS into OS_CFLAGS, OS_INCLUDES and DEFINES.
Modified Makefile.ins to append not overwrite DEFINES.
Added $(DEFINES) to the mkdepend command line so that some conditional dependencies are caught as well.
1998-10-25 22:25:25 +00:00
briano%netscape.com 552736c9e5 Cleaned it up and made it work properly. 1998-10-24 05:31:24 +00:00
briano%netscape.com 0bdfbd0f63 Turns out not to need the OS_LIBS addition on Linux at all. 1998-10-24 05:29:10 +00:00
cls%seawood.org 001ed2ffd4 Sync'd various Makefile.ins to their Makefile counterparts.
Removed nspr & nspr20 from REQUIRES.  Removed NSPR_LDFLAGS.
Changed LIBNSPR refs to NSPR_LIBS.
Removed leftover NSPR20 ifdefs.
1998-10-21 02:13:56 +00:00
briano%netscape.com 8737abda74 Corrected some minor errors. Now builds on Linux 1.2.13. Whee.... 1998-10-11 08:41:04 +00:00
kipp%netscape.com 7b5a4e35e8 Fixed some sign extension bugs 1998-10-10 15:28:53 +00:00
kipp%netscape.com c728420a6b Added a reminder comment 1998-10-10 15:27:50 +00:00
waterson%netscape.com 08b74441d6 Fixed linkage problems with nsInt64 and nsTime classes. 1998-10-06 20:06:06 +00:00
rickg%netscape.com bbc76113d1 added radix support in ToInteger() 1998-10-04 04:52:10 +00:00
pinkerton%netscape.com 7c640d6f80 Updated projects for Pro4. Turned off mod-date caching for depend builds. Using InterfacesStubs wrapper where appropriate for Carbon. 1998-09-29 17:11:00 +00:00
mcafee%netscape.com aa655ba85a Print out not-implemented warnings. 1998-09-28 07:06:46 +00:00
beard%netscape.com 441bb7a082 Added #undef of NS_EXPORT, so it won't conflict with nsCom.h. 1998-09-24 20:56:58 +00:00
beard%netscape.com 003d482620 Defining NS_EXPORT, et. al. for XP_MAC. 1998-09-22 22:46:18 +00:00
mcafee%netscape.com 43dc8a914e Adding support for Rhapsody 1998-09-19 06:58:53 +00:00
mcafee%netscape.com e3cb62f82a Initial version, copied from ../unix 1998-09-19 06:58:15 +00:00
beard%netscape.com a72540afae 09171998 LiveConnect Carpool: build bustage. 1998-09-17 20:35:10 +00:00
beard%netscape.com 4cb28edc59 09171998 LiveConnect Carpool: build bustage. 1998-09-17 20:17:57 +00:00
beard%netscape.com d07d874c58 09171998 LiveConnect Carpool: #ifndef NS_EXPORT, to not conflict with nsCom.h definition. 1998-09-17 19:22:39 +00:00
waterson%netscape.com 0e9767ff68 Added wrappers for 64-bit arithmetic and PRTime. 1998-09-16 19:53:12 +00:00
kipp%netscape.com a65a3ac653 Applied patch to make the timer code independent of motif (thanks goes to cls@seewood.org) 1998-09-11 03:58:43 +00:00
kipp%netscape.com 86f83878fd Added a macro and normalized auto-string initialization; reordered methods slightly just to annoy rickg :-) 1998-09-05 23:21:42 +00:00
pierre%netscape.com 82283d0a33 fixed other crashes in Comparators and ref counts 1998-09-05 10:25:04 +00:00
pierre%netscape.com 966e45e916 fixed other crash mTimers becomes a LArray, not a LArray* 1998-09-05 09:16:58 +00:00
pierre%netscape.com 8dcfc2f132 fixed crash in SpendTime() 1998-09-05 08:14:15 +00:00
valeski%netscape.com 09c4e871b5 String insertion was broken if you wanted to insert at the begining (index '0') of a string. 1998-09-04 18:49:50 +00:00
rickg%netscape.com 7cb4b0c39d new string improvements 1998-09-04 17:26:37 +00:00
thom%netscape.com 9360813009 Fixed crash in timer (AddItem (&something) not AddIten (something)) 1998-09-04 00:23:30 +00:00
thom%netscape.com f6179c8cff Added comment to clarify an implementation issue (what conditions did nsITimer callback functions expect). 1998-09-03 21:16:41 +00:00
peterl%netscape.com 95ae58e4db changed HashCode to HashValue and fixed return type 1998-09-02 01:59:30 +00:00
rickg%netscape.com 7858c52f7e added BinarySearch method for faster string searches 1998-08-29 05:06:50 +00:00
valeski%netscape.com d3dd8ac5ee nsString.h - the mBuf member data type was the raw PRUnichar type, changed it to chartype.
nsString.cpp - we were dropping the ending null-byte/unichar when expanding/growing strings
1998-08-27 08:15:40 +00:00
kipp%netscape.com 83c90ed2d0 Fixed compiler problem with other compilers by removing useless const in front of void 1998-08-27 02:39:36 +00:00
rpotts%netscape.com f76be88c23 Removed optimization which was causing timer skew and unreliable callbacks... 1998-08-26 05:40:35 +00:00
rickg%netscape.com 073fc23c82 added iostream output to nsString 1998-08-22 17:50:13 +00:00
rickg%netscape.com c1d7662228 fixed off by one error in Pop() 1998-08-21 02:03:56 +00:00
cls%seawood.org 90d0af1408 AUTOCONF_1_0 landing. 1998-08-19 20:42:14 +00:00
rickg%netscape.com 702ee7c637 fixed objectAT() offset error 1998-08-12 08:53:03 +00:00
wtc%netscape.com f0e9569118 Do not declare variables in a 'for' statement because the scope
of such variables is compiler-dependent.  (approved by kipp@netscape.com)
1998-08-11 00:10:36 +00:00
troy%netscape.com d3b5d6cc63 Added GetClosure() member function 1998-08-10 17:24:36 +00:00
peterl%netscape.com 59e5ef7b52 performance tweak in trim 1998-08-07 02:11:13 +00:00
rickg%netscape.com 3d3143056b improved deque API a tad 1998-08-05 01:59:34 +00:00
rickg%netscape.com d7540e9307 kipps changes 1998-08-05 01:31:14 +00:00
rickg%netscape.com 7372a05ba9 minor tweak to remove tabs 1998-08-04 10:12:45 +00:00
blythe%netscape.com 59e73b647c VC6 compatibility, aprv kipp 1998-08-03 21:38:59 +00:00
rickg%netscape.com ed2267c14a fixed problem in testCRT. GetUnicode returns a const ptr 1998-08-03 21:33:32 +00:00
danm%netscape.com d766e45efb adding (optional) glowcode build stuff 1998-08-03 21:29:18 +00:00
rickg%netscape.com 8cadfbae7e added a few assertions, just to be safe 1998-08-03 21:03:49 +00:00
rickg%netscape.com bd6d9c1bf6 major upgrade to string class implementation 1998-08-03 20:46:38 +00:00
peterl%netscape.com e08babbc37 re-added backed-out changes 1998-08-01 00:56:28 +00:00
donm%netscape.com 56796d4050 backing out changes made while trying to land OJI. 1998-07-31 23:58:26 +00:00
michaelp%netscape.com 825d8fc314 Fixed Raptor build bustage caused by the OJI landing... 1998-07-31 23:32:08 +00:00
peterl%netscape.com 21482eb238 replaced macros with inline functions 1998-07-31 23:27:36 +00:00
peterl%netscape.com c52433f25e temporarily removed CvtURL test to fix build 1998-07-31 22:56:02 +00:00