Commit Graph

541 Commits

Author SHA1 Message Date
warren%netscape.com
a6ea004a90 Added nsVoidKey and nsISupportsKey. 1999-02-06 04:01:23 +00:00
warren%netscape.com
b6857edec3 Fixed unsigned problems. 1999-02-06 03:56:36 +00:00
warren%netscape.com
6649625711 Added strncmp, made lengths be unsigned. 1999-02-06 03:56:17 +00:00
erik%netscape.com
005df957ba Moved nsPropertiesFactory constructor from .h to .cpp file 1999-02-05 21:06:07 +00:00
dp%netscape.com
869e988f68 Fixing mRefCnt not being initialized for nsPropertiesFactory 1999-02-05 06:05:51 +00:00
alecf%netscape.com
73ec4c6059 fix slight typo in macro 1999-02-05 05:33:53 +00:00
alecf%netscape.com
90b75545d2 Update macros to include string type, and add documentation/example 1999-02-05 01:39:12 +00:00
waterson%netscape.com
fc32751b45 Fixed comments that were referring to monitors. 1999-02-04 23:20:30 +00:00
mcmullen%netscape.com
83b7cdb328 Improved the readline() comment, as it was not quite clear. 1999-02-04 19:25:59 +00:00
coop%netscape.com
daf6598bf9 NOT YET PART OF SEAMONKEY:
* added support for non-verbose mode as default for typelib dumper.
1999-02-04 03:16:07 +00:00
waterson%netscape.com
13e2463b73 Initial revision. 1999-02-04 00:40:22 +00:00
waterson%netscape.com
791d6357f5 Added headers that nsAutoLock needs. 1999-02-04 00:39:49 +00:00
coop%netscape.com
5b67c2d922 NOT YET PART OF SEAMONKEY:
* add command-line flag for verbose mode, which will soon not be the default
* now outputs to stdout
* added output for int64, uint64, and wchar
1999-02-04 00:31:59 +00:00
waterson%netscape.com
bf217ad0ab Added operator new() and operator delete() to ensure that nobody tries to create one of these beasts on the free store. 1999-02-04 00:25:56 +00:00
shaver%netscape.com
0abc9fdeb8 New back-end switching for whiter teeth and fresher breath.
De-const-ipate in params.  (Maybe strings should still be const?  I await the
outcome of The Great String Debate.)
1999-02-03 23:55:33 +00:00
waterson%netscape.com
9b6f064b72 Initial revision. 1999-02-03 22:44:14 +00:00
shaver%netscape.com
7cc025f858 (NOT YET PART OF SEAMONKEY)
Update to use 16-bit IDE indices (one-based) instead of header-pool offsets.
Removed debugging cruft.
Added prototypes to get rid of warnings.
Fix many dumb mistakes WRT allocation and index checking.
1999-02-03 21:37:25 +00:00
pinkerton%netscape.com
f484da9e29 add nsHashtable::Reset to exports. 1999-02-03 21:23:36 +00:00
vidur%netscape.com
11754052c3 Added a Reset method to nsHashtable 1999-02-03 19:35:11 +00:00
cata%netscape.com
c277c4a8e9 Hacky Unicode converters implementation replaced with the real xpcom thing. 1999-02-03 18:55:10 +00:00
dp%netscape.com
fed7917048 Fixing linux orange tree. 1999-02-03 18:49:04 +00:00
erik%netscape.com
e8de824d89 Fixed compiler warning on Linux. 1999-02-03 18:11:45 +00:00
dp%netscape.com
929c20bb9f adding ns prefix to private classes namespace 1999-02-03 15:39:13 +00:00
dp%netscape.com
704fe62ecb landing XPCOM_19990201_BRANCH 1999-02-03 07:03:17 +00:00
dp%netscape.com
aa41a5e908 Landing XPCOM_19990201_BRANCH to the tip. 1999-02-03 06:58:44 +00:00
ftang%netscape.com
8489e73f9b calling nsSetupRegistry for mac. Need to try UNIX and Window before turn out the #ifdef XP_MAC 1999-02-03 01:50:15 +00:00
kipp%netscape.com
771e61571a Disabled tests 1999-02-02 19:03:51 +00:00
kipp%netscape.com
adee46fdf3 Made abort abort on unix 1999-02-02 17:41:54 +00:00
kipp%netscape.com
f891e5da68 Added a pre-condition to help find uninitialized refcnts 1999-02-02 17:41:29 +00:00
law%netscape.com
4b529759cc Fixed off-by-one bug in Next() 1999-02-02 07:43:23 +00:00
law%netscape.com
8dc8f5f01d Enhanced test program to display values 1999-02-02 07:41:16 +00:00
mcafee%netscape.com
3ebf5bfd31 Ignore generated SimpleTypeLib, PrimitiveTestexecutables 1999-02-02 06:20:46 +00:00
mcafee%netscape.com
a9ba07971c Ignore generated xpt_dump executable 1999-02-02 06:19:50 +00:00
mcafee%netscape.com
329c5d08d2 Adding License 1999-02-02 03:16:52 +00:00
coop%netscape.com
ad630a62a1 NOT YET PART OF SEAMONKEY:
* fixed header pointer assignment problem
* removed useless defines
* added correct level of indirection for sub-structs of header
1999-02-02 01:26:36 +00:00
dp%netscape.com
2e680185ec Dll Hash table 1999-02-01 22:41:22 +00:00
dp%netscape.com
c1ff8cabbd Dll abstraction 1999-02-01 22:40:48 +00:00
dp%netscape.com
a15a4c7006 Dynamic Component Registration 1999-02-01 22:17:58 +00:00
peterl%netscape.com
cda3bca867 Added operator=(nsAutoString) for autostring 1999-01-30 06:19:52 +00:00
coop%netscape.com
072c9699f3 NOT YET PART OF SEAMONKEY:
* added directory libxpt/tools which currently only contains the typelib dumper
* removed dump code from tests dir
* added/modified appropriate Makefiles and configure scripts
1999-01-30 01:10:01 +00:00
coop%netscape.com
30a0f2ae51 NOT YET PART OF SEAMONKEY:
* committing fixes for shaver
* header pointer is now set XPT_DoHeader
* fixed assertion error in CHECK_COUNT macro
1999-01-30 01:03:54 +00:00
ftang%netscape.com
06132c62e3 limit ToUCS2 only have effect in U+0080 to U+009F range so it won't mess up non Latin 1 characters 1999-01-29 18:08:36 +00:00
pinkerton%netscape.com
439ada5c40 add IID for use with nsCOMPtr. 1999-01-28 17:59:37 +00:00
coop%netscape.com
98d8567a39 NOT YET PART OF SEAMONKEY:
* added macros for checking bitflag values
* dump code is complete, minus actually reading from disk.
1999-01-28 06:01:56 +00:00
shaver%netscape.com
680a29d6cd private delete isn't the mind-bendingly fun stuff we thought it would be (for scc) 1999-01-28 05:38:14 +00:00
law%netscape.com
84d13fa13f new mozIRegistry interface 1999-01-28 03:36:37 +00:00
law%netscape.com
2d1fda9149 new registry tools 1999-01-28 03:33:49 +00:00
shaver%netscape.com
ff139572c0 fix header.data_pool writing 1999-01-28 01:55:24 +00:00
alecf%netscape.com
5516e4a603 add nsProxyEvent to the Unix build 1999-01-28 00:48:25 +00:00
alecf%netscape.com
48ea63ea1c include nsProxyEvent in Windows build 1999-01-28 00:33:42 +00:00
alecf%netscape.com
ece9d1a1bb export nsProxyEvent.h 1999-01-28 00:32:42 +00:00
mscott%netscape.com
742d43db9c Use NS_BASE when defining the nsEscape functions. 1999-01-28 00:32:34 +00:00
mscott%netscape.com
cee8b969b7 use NS_BASE when declaring the nsEscape functions so they get exported. 1999-01-28 00:30:57 +00:00
cata%netscape.com
c00a23c5d8 Added Error Offset Code for the Unicode Converters module. 1999-01-27 18:00:50 +00:00
coop%netscape.com
fc64b44984 NOT YET PART OF SEAMONKEY:
* fixed XPT_SizeOfHeader. It wasn't actually walking the annotations, but it does now.
* added some basic dumping code to SimpleTypeLib. Currently only the headers can be dumped. Once XDR read code is up and running, this dumping code will become a separate utility, most likely under a libxpt/tools subdir.
1999-01-27 06:32:57 +00:00
alecf%netscape.com
90cc579a1c adding utility macros to implement XPIDL-generated getter/setter methods 1999-01-27 03:34:53 +00:00
alecf%netscape.com
1630b5ff23 updated to use more standard naming conventions and added function descriptions 1999-01-27 03:28:20 +00:00
alecf%netscape.com
af65e11ebe first entry of Proxy via Event Queue utility routines 1999-01-27 02:58:19 +00:00
alecf%netscape.com
97c6ad2789 first entry of nsProxyEvent helper routines for writing proxy interfaces 1999-01-27 02:57:46 +00:00
warren%netscape.com
f6ca4f2e02 Looks like I forgot a public declaration. 1999-01-27 02:12:57 +00:00
warren%netscape.com
e14885b342 Added nsIAllocator and implementation. Made service manager services sticky'. 1999-01-27 02:02:22 +00:00
erik%netscape.com
b9739cc681 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
06cde79321 Added test program and test file for new nsIProperties stuff.
(Like Java properties.)
1999-01-26 23:51:18 +00:00
erik%netscape.com
36c641e547 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
alecf%netscape.com
6834e87439 makefile for XPIDL on Windows 1999-01-26 23:49:43 +00:00
waterson%netscape.com
2b77c74973 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
1919f8ef80 public header file for new nsIProperties class (like Java properties) 1999-01-26 23:48:54 +00:00
shaver%netscape.com
a64e54446d Fixed method and type descriptors, made const descriptors go. 1999-01-26 19:31:25 +00:00
alecf%netscape.com
a39aee01fc stop using IsXXX for boolean Getters 1999-01-26 18:20:30 +00:00
rpotts%netscape.com
9d33a0cffd Added PR_BEGIN_MACRO/PR_END_MACRO around all multi-line macros... 1999-01-26 09:46:33 +00:00
shaver%netscape.com
9feb565d72 fixed fencepost in XPT_DoHeader, along with more error-checking 1999-01-26 01:34:21 +00:00
shaver%netscape.com
adc25a815d Fixed IID copying (duh -- all the bytes matter).
NewString and NewStringZ APIs.
No more bit-fields (nod to jband and fur, thanks).
Cleaned up Annotation structures.
On-disk offsets are 1-based.
Write annotations to disk, and account for them in header size, etc.
Fix sundry cursor-vs-&cursor bugs and don't-allocate-on-decode bugs.
Write MethodDescriptors and InterfaceDescriptors to disk!
Executive Summary: can now write very simple .xpt files!
1999-01-25 19:36:48 +00:00
ftang%netscape.com
3759b987f5 change nsCharSetID into nsString type 1999-01-25 16:05:04 +00:00
sudu%netscape.com
c94385ee94 OJI MozClassic to raptor merge 1999-01-25 08:05:00 +00:00
mcafee%netscape.com
61a7675545 Switching to SIMPLE_PROGRAMS 1999-01-23 12:21:27 +00:00
peterl%netscape.com
1533456233 added nsStringArray 1999-01-23 06:58:34 +00:00
radha%netscape.com
c02c6c08ae Compile nsEventQueueService for unix 1999-01-23 00:51:17 +00:00
radha%netscape.com
705b6ba56c Export nsEventQueueService and bunch of other files 1999-01-23 00:50:55 +00:00
ramiro%netscape.com
f5bb699f6b Build TestCOMPtr by default. 1999-01-23 00:03:44 +00:00
kipp%netscape.com
509cf742fc reserved IID 1999-01-22 21:48:33 +00:00
mjudge%netscape.com
36d1140683 adding IID to interface 1999-01-22 18:58:43 +00:00
shaver%netscape.com
aa1ebbaf5b Added prototypes for Header XDR functions.
Minor brace-placement tweaks.
Added SimpleTypeLib test program, although it doesn't build due to Makefile.in
suckage.
Fixed XPT_DoHeader to only write IDEs once (duh).
Added SizeOfHeaderBlock to API.
1999-01-22 17:53:35 +00:00
mcafee%netscape.com
ba84b098cf Yanked rules that are in rules.mk 1999-01-22 12:14:51 +00:00
shaver%netscape.com
3ffc120748 Added methods to create or fill headers, IDEs, interface descriptors,
method descriptors, param descriptors, const descriptors (partial)
and annotations.
Rejigged XPTAnnotation for proper struct nesting and linked-listed-ness.
Implemented SizeOfHeader (partially).
Fixed data_pool handling in XPT_DoHeader.
Implemented XPT_SeekTo and XPT_DoIID.
1999-01-22 09:13:02 +00:00
ramiro%netscape.com
127039e271 Ignore generated files. 1999-01-22 06:33:54 +00:00
scc%netscape.com
da320e986b Made the constructor explicit again (see comment) to stop people from breaking the Linux builds. 1999-01-22 01:17:48 +00:00
shaver%netscape.com
a11e05cc3d test DoString 1999-01-21 20:05:58 +00:00
shaver%netscape.com
a7561e1c7c allocate memory for str->bytes in DoString decode, duh 1999-01-21 20:05:27 +00:00
shaver%netscape.com
fc992be11c fix dumb DBG thing 1999-01-21 19:21:58 +00:00
coop%netscape.com
cebd0d5f18 NOT YET PART OF SEAMONKEY:
* removed struct size #defines -> they were just silly anyway.
* replaced references to IDE file offsetsi with uint32 indices.
* first attempt at sorting out order of storage for XPTHeader and XPTInterfaceDirectoryEntry
1999-01-21 19:18:47 +00:00
alecf%netscape.com
45c2ae4f23 changes to make XPIDL compiler work under Windows 1999-01-21 18:59:52 +00:00
shaver%netscape.com
ce42fc0851 Better cursor management stuff.
Mild macro renaming.
Debugging output from CHECK_COUNT.
Fixed primitives and PrimitiveTest: we now pass! (32, 16, 8 and CString)
Dynamically link PrimitiveTest.
1999-01-21 17:37:54 +00:00
shaver%netscape.com
5ee98f8ade added some tests (we don't pass yet =) ), wrote some primitives 1999-01-20 23:17:05 +00:00
buster%netscape.com
9b95f1cd87 added IID static method so nsIEnumerator can be used with nsCOMPtr 1999-01-20 23:16:28 +00:00
coop%netscape.com
4fe4d500ab NOT YET PART OF SEAMONKEY:
* added looping to read/write InterfaceDirectoryEntrys
* InterfaceDescriptors are no longer DECODEd as part of the IDE DECODEing process
* added skeleton for XPT_GetDescriptorByOffset
1999-01-20 17:58:14 +00:00
kipp%netscape.com
562c3ea105 allocated an IID 1999-01-20 17:53:09 +00:00
coop%netscape.com
7d3c473417 NOT YET PART OF SEAMONKEY:
* added offset management code in the form of calls to shaver's macros
1999-01-19 23:46:20 +00:00
coop%netscape.com
f2d5cd7054 NOT YET PART OF SEAMONKEY:
* added #defines for is_pointer/tag combos used in TypeDescriptors to match table in typelib spec.
* now handle error case in xpt_struct.c using macro
* still must do offset management
1999-01-18 22:04:49 +00:00
scc%netscape.com
31c2a74283 OK. We were wrong about the SOLARIS case. Sorry. 1999-01-18 20:32:41 +00:00
coop%netscape.com
5fc06bfca5 NOT YET PART OF SEAMONKEY:
* modified in-memory structs slightly to get them to compile
* xpt_strcut.c now compiles, and with no warnings (at no extra charge)
* still must do offset management
1999-01-18 19:53:47 +00:00