30 Commits

Author SHA1 Message Date
cls%seawood.org
909945b91f 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.


git-svn-id: svn://10.0.0.236/trunk@13233 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 02:13:56 +00:00
shaver%netscape.com
d6b2f1dbd3 add destructor to entries
git-svn-id: svn://10.0.0.236/trunk@13013 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 20:51:20 +00:00
shaver%netscape.com
ff591346ce need prlong.h explicitly now that JS doesn't provide LL_* by default
git-svn-id: svn://10.0.0.236/trunk@12926 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 21:43:32 +00:00
shaver%netscape.com
684148cae8 memory management fixes and debug cleanup
git-svn-id: svn://10.0.0.236/trunk@12894 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 17:45:03 +00:00
shaver%netscape.com
fa23aaac85 Move DOM_StyleDatabaseFromContext and DOMMOZ_NewStyleDatabase into libmocha,
where we're already pulling in the entire client.
Updated TODO (still out of date?).


git-svn-id: svn://10.0.0.236/trunk@12378 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 00:50:27 +00:00
shaver%netscape.com
1c2bd7b245 break out MOZILLA_CLIENT db creation for thread purity reasons
git-svn-id: svn://10.0.0.236/trunk@11727 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 00:03:54 +00:00
shaver%netscape.com
1af14a8a8d fix sloppy errors in DOM_GetStyleDatabaseFromContext
git-svn-id: svn://10.0.0.236/trunk@11479 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:32:58 +00:00
shaver%netscape.com
8d3f61e3ab lock layout when setting up style_db
git-svn-id: svn://10.0.0.236/trunk@11471 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:11:05 +00:00
shaver%netscape.com
af556e9173 - Update Unix make goo to handle our new MOZILLA_CLIENT dependencies.
- Added TODO and STYLE_NOTES
- Added style data to DOM_Element
- Added GetCleanEntryData convenience function
- Added internal dom_SetElementAttribute with optional suppressing of callback
  invocation
- Added style init code
- Style support (everything)
- Fix text initialization thinko


git-svn-id: svn://10.0.0.236/trunk@11289 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 22:51:50 +00:00
cls%seawood.org
8039a94c6a Sync'd Makefile.ins with corresponding Makefiles. Fixed problems with autoconf build. Thanks to Christopher Blizzard <blizzard@appliedtheory.com> and Tom Rini <trini@kernel.crashing.org>.
git-svn-id: svn://10.0.0.236/trunk@10673 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 03:47:27 +00:00
brendan%netscape.com
9dc6f1d1c7 Fix missing ->pseudos and speak the same boolean as the comment uses.
git-svn-id: svn://10.0.0.236/trunk@10250 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 07:43:13 +00:00
brendan%netscape.com
32a8aa7179 Pity the machines that lack long long (and be explicit when losing bits).
git-svn-id: svn://10.0.0.236/trunk@10249 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 06:46:20 +00:00
brendan%netscape.com
d80e0cf9a7 Keep windows building via xp.h, with an XXX comment.
git-svn-id: svn://10.0.0.236/trunk@10248 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 06:44:33 +00:00
shaver%netscape.com
d3ba34faaa fix dom.h/dom_priv.h mixup
git-svn-id: svn://10.0.0.236/trunk@10164 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 18:11:22 +00:00
shaver%netscape.com
3b655468fd perignon now compiles, and back out brendan's xp.h change
git-svn-id: svn://10.0.0.236/trunk@10145 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 14:45:07 +00:00
brendan%netscape.com
40a934496f - Use 8 space hard tabstops like god and IBM intended, but indent-tabs-mode:nil
should eliminate hard tabs anyway (so 8 is just in case one gets thru -- LXR
  was not displaying this source well with 4).
- Don't nest jsapi.h outside the idempotent-include #ifndef in dom.h.
- Include xp.h to get this code working on Windows (to cope with some kind of
  compiled header problem).
- Fix bad JS_GetEmptyStringValue calls that were treated as returning JSString*
  rather than jsval, and fed into STRING_TO_JSVAL.
- Avoid tagging and untagging a jsval to test for a null JSString* return.
- Fiddle formatting in a couple of places.
- Avoid leaving cdata->data null after realloc failure.  Use of a local temp
  (data2) also improves generated code by eliminating memory ambiguity.


git-svn-id: svn://10.0.0.236/trunk@9883 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 19:46:23 +00:00
shaver%netscape.com
cab0809536 perignon grows (and throbs)
git-svn-id: svn://10.0.0.236/trunk@9773 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 22:14:52 +00:00
shaver%netscape.com
a4892e98bf first Perignon work (not built by anything yet) and generic attribute support
git-svn-id: svn://10.0.0.236/trunk@9728 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 14:21:43 +00:00
shaver%netscape.com
7191ecc710 remove some unbelievably dump debugging code (I no longer randomly dump core)
git-svn-id: svn://10.0.0.236/trunk@9465 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-07 18:50:13 +00:00
shaver%netscape.com
91df78a054 Start of infrastructure for DOM-as-one-true-attr-source. Implement
DOM_NewElement.  Defend against NULL NodeOps.


git-svn-id: svn://10.0.0.236/trunk@9417 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 04:36:38 +00:00
shaver%netscape.com
b36957e25d Implemented DOM_NewText.
Added stuff for node destruction, including making node_finalize module-public
for use by other node types.
Added new methods to Element (setAttribute + stubs).


git-svn-id: svn://10.0.0.236/trunk@9275 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 23:51:58 +00:00
shaver%netscape.com
eb8ec7d6d1 fix dumb typo (how embarrassing)
git-svn-id: svn://10.0.0.236/trunk@8970 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 12:52:30 +00:00
shaver%netscape.com
e413d25e7d JS_InternString is volatile, so I'll avoid its use
git-svn-id: svn://10.0.0.236/trunk@8900 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 22:46:06 +00:00
shaver%netscape.com
3c890f1602 avoid dangerous JS_InternString call, and update NodeOps APIs
git-svn-id: svn://10.0.0.236/trunk@8896 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 22:31:44 +00:00
shaver%netscape.com
bdaf9a8ddf don't use JS_InternString for now -- weird crash in JS_AtomizeString
git-svn-id: svn://10.0.0.236/trunk@8829 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 23:46:47 +00:00
cls%seawood.org
6f9015b67e Needed for --enable-dom.
git-svn-id: svn://10.0.0.236/trunk@8827 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 22:28:46 +00:00
shaver%netscape.com
a59d815420 implemented cdata_setter
git-svn-id: svn://10.0.0.236/trunk@8607 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 09:11:45 +00:00
shaver%netscape.com
0e484541ef Added CData operations (append, insert, delete, replace, substring).
Added Element {[sg]et,remove}Attribute
Check for illegal child in Node ops appendChild, insertBefore and replaceChild.


git-svn-id: svn://10.0.0.236/trunk@8599 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 05:25:40 +00:00
shaver%netscape.com
f5d79b0ece fix typo and kill warning
git-svn-id: svn://10.0.0.236/trunk@8572 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 00:17:40 +00:00
shaver%netscape.com
f1886e2f6b added first cut of Level-1 DOM (not layout or XML dependent)
git-svn-id: svn://10.0.0.236/trunk@8566 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 00:02:31 +00:00