Commit Graph

20 Commits

Author SHA1 Message Date
brendan%netscape.com
1816ddb409 Fix missing ->pseudos and speak the same boolean as the comment uses. 1998-09-17 07:43:13 +00:00
brendan%netscape.com
d7de8827ca Pity the machines that lack long long (and be explicit when losing bits). 1998-09-17 06:46:20 +00:00
brendan%netscape.com
f652bea6bd Keep windows building via xp.h, with an XXX comment. 1998-09-17 06:44:33 +00:00
shaver%netscape.com
7b5689ba1a fix dom.h/dom_priv.h mixup 1998-09-16 18:11:22 +00:00
shaver%netscape.com
1b9ee9b191 perignon now compiles, and back out brendan's xp.h change 1998-09-16 14:45:07 +00:00
brendan%netscape.com
8db71997f5 - 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.
1998-09-11 19:46:23 +00:00
shaver%netscape.com
a8187ae035 perignon grows (and throbs) 1998-09-10 22:14:52 +00:00
shaver%netscape.com
a484b2b32c first Perignon work (not built by anything yet) and generic attribute support 1998-09-10 14:21:43 +00:00
shaver%netscape.com
e0252e3206 remove some unbelievably dump debugging code (I no longer randomly dump core) 1998-09-07 18:50:13 +00:00
shaver%netscape.com
eb2da0f3f8 Start of infrastructure for DOM-as-one-true-attr-source. Implement
DOM_NewElement.  Defend against NULL NodeOps.
1998-09-05 04:36:38 +00:00
shaver%netscape.com
15bd1de2ff 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).
1998-09-03 23:51:58 +00:00
shaver%netscape.com
ef49fc27e9 fix dumb typo (how embarrassing) 1998-09-01 12:52:30 +00:00
shaver%netscape.com
67aaece432 JS_InternString is volatile, so I'll avoid its use 1998-08-31 22:46:06 +00:00
shaver%netscape.com
cb97057b16 avoid dangerous JS_InternString call, and update NodeOps APIs 1998-08-31 22:31:44 +00:00
shaver%netscape.com
5a94b3051c don't use JS_InternString for now -- weird crash in JS_AtomizeString 1998-08-29 23:46:47 +00:00
cls%seawood.org
a1771a6556 Needed for --enable-dom. 1998-08-29 22:28:46 +00:00
shaver%netscape.com
459b96907c implemented cdata_setter 1998-08-27 09:11:45 +00:00
shaver%netscape.com
5998e7b720 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.
1998-08-27 05:25:40 +00:00
shaver%netscape.com
cc4e42f76a fix typo and kill warning 1998-08-27 00:17:40 +00:00
shaver%netscape.com
4a8b348491 added first cut of Level-1 DOM (not layout or XML dependent) 1998-08-27 00:02:31 +00:00