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

1702 Коммитов

Автор SHA1 Сообщение Дата
karnaze%netscape.com 74eb256f75 dir attribute on <table> gets converted to css direction 1999-04-22 03:50:39 +00:00
rickg%netscape.com 5e42a35ab3 updates to sync with nsString2 api 1999-04-21 23:54:24 +00:00
rickg%netscape.com 1a3777a0b7 updates to sync with nsString2 api 1999-04-21 23:48:41 +00:00
rickg%netscape.com 8e0367b04c updates to sync with nsString2 api 1999-04-21 23:43:11 +00:00
rickg%netscape.com 837318b35a updates to sync with nsString2 api 1999-04-21 23:12:55 +00:00
evaughan%netscape.com 0bec328133 Added a tab control widget. 1999-04-21 22:46:15 +00:00
troy%netscape.com 8a4906a2ff Changed MapStyleInto() to also reset mBackgroundAttachment when resetting
the BODY's background properties
1999-04-21 21:39:47 +00:00
bruce%cybersight.com 58575369dd Fix for ANSI C++ compliance: friend foo -> friend class foo 1999-04-21 04:16:46 +00:00
rjc%netscape.com e125ca785d If a sort isn't initially imposed, just append new nodes onto end of container's child list. 1999-04-20 22:14:38 +00:00
pinkerton%netscape.com 97279e29ba new atoms for slider, spinner, scrollbar, color and font pickers. 1999-04-20 21:50:11 +00:00
rjc%netscape.com 617a5a1f40 When a sort order is imposed, try and insert new node(s) in the appropriate spot. 1999-04-20 20:26:13 +00:00
troy%netscape.com daf0a5b6a6 Added positionedInlineFrame atom 1999-04-20 18:27:37 +00:00
troy%netscape.com 1570eb63cb Moved blockFrame and inlineFrame atoms to nsLayoutAtoms 1999-04-20 18:22:47 +00:00
troy%netscape.com 0f73d45160 Change to atoms 1999-04-20 18:22:28 +00:00
troy%netscape.com 5faf7aa9cf Added blockFrame and inlineFrame 1999-04-20 18:20:52 +00:00
peterl%netscape.com f7c79764b1 turned off style rule hash debugging code 1999-04-20 14:22:37 +00:00
kipp%netscape.com 1ada64d1cd Support first-line style 1999-04-20 00:28:40 +00:00
kipp%netscape.com 39f3954168 Added lineFrame 1999-04-20 00:26:09 +00:00
peterl%netscape.com c503d0ed68 added tests for state dependent style 1999-04-20 00:05:54 +00:00
peterl%netscape.com fdf686d2b8 modified state change notifications to use new wider api and reduce calls 1999-04-20 00:03:30 +00:00
peterl%netscape.com 04f5fc38c1 widened content state change api
added test for state dependent style
1999-04-20 00:02:22 +00:00
peterl%netscape.com eaa19725ef sync to doc api change 1999-04-20 00:00:02 +00:00
vidur%netscape.com 632fa812dc Fix for bug 5141. The parentNode of a standalone Node is no longer a DocumentFragment, but is now, according to the spec, just null. 1999-04-17 00:56:25 +00:00
waterson%netscape.com 4b759d3db0 Fixed null deref in nsXULAttribute::GetQualifiedName() -- handle the default namespace case. 1999-04-17 00:29:54 +00:00
pinkerton%netscape.com 2fa8eaddcf add tristatecheckbox to atom list. 1999-04-16 17:07:48 +00:00
waterson%netscape.com f490114e0d Implemented several new DOM methods, including document.createElement() and document.createTextNode(). Fixed some bugs in the XUL content model builder. Code re-organization and cleanup. 1999-04-16 08:38:17 +00:00
peterl%netscape.com fbde443a95 split font style mapping from regular style mapping 1999-04-15 21:23:05 +00:00
peterl%netscape.com aa95291e32 fixed pseudo element parsing 1999-04-15 21:22:41 +00:00
sfraser%netscape.com bffb305703 Implement the ScriptObjectOwner interface, and adapt to fixed selection interfaces. 1999-04-15 20:19:26 +00:00
sfraser%netscape.com bf04e1e37e Fix QI failure return value (!NS_OK is bad!) 1999-04-15 20:18:47 +00:00
harishd%netscape.com 648507cfd7 Modified methods BeginContext() and EndContext()
to handle illega-contents in tables
1999-04-15 20:18:34 +00:00
waterson%netscape.com cb7e7a95c4 Backed out change to nsISupportsArray::AppendElement() and RemoveElement(); they now return PRBool's like they used to. 1999-04-14 23:06:22 +00:00
mcafee%netscape.com b428da5338 PRBool-to-error-code double conversion. Conversion for AppendElement() happened in nsSupportsArray.h, we don't need to convert the usage here. 1999-04-14 07:15:11 +00:00
alecf%netscape.com aeeb3e2d67 use the new nsQuickSort() function instead of the internal rdf_qsort 1999-04-14 03:28:49 +00:00
vidur%netscape.com 78f743c391 Fixes for bugs 4783 and 2243. Content can now be added via the DOM during document loading. document.written content can also cause the parser to block. 1999-04-13 22:22:51 +00:00
bruce%cybersight.com 5b0e694071 Adding blank lines for native compilers. 1999-04-13 06:35:42 +00:00
sfraser%netscape.com 7cb68edb39 File Removed. 1999-04-13 01:18:25 +00:00
sfraser%netscape.com e4b0d79daa Removal of nsSelectionRange, nsSelectionPoint, and fixing up resulting include problems. 1999-04-13 01:15:16 +00:00
joki%netscape.com e594bb9b7c Send Click events to frames as well as content. 1999-04-13 00:27:58 +00:00
kmcclusk%netscape.com a2ffe366a4 Enabled frame-based comboboxes when widget rendering mode is gfx.
Major changes to nsComboboxControlFrame:
Removed commented out code + nsIPluggableEventListener references.
Implemented nsComboboxControlFrame::GetNamesValues
Implemented nsComboboxControlFrame::SetProperty GetProperty methods
Fixed references to previously freed memory in nsComboboxControlFrame::ReResolveStyleContext
Modified ua.css style rules for dropdown-visible, drodown-hidden to have -moz- prefix.
Added -moz-dropdown-btn-out and -moz-dropdown-btn-pressed, -moz-dropdown-list rules.
Modified nsListControlFrame.cpp to calculate the width of the dropdown list for combo boxes correctly
Added nsListControlFrame::GetProperty and SetProperty methods.
Modified nsCSSFrameConstructor::ConstructSelectFrame to setup combobox.
1999-04-12 22:14:31 +00:00
joki%netscape.com b6f2484b5b New api's into nsEventStateManager for content state change (hover,focus,active) 1999-04-12 21:24:07 +00:00
joki%netscape.com 81cd430b97 Event name change to remove unnecessary prefix. 1999-04-12 21:17:07 +00:00
waterson%netscape.com 1bb2074567 Landed RDF_19990407_BRANCH, which includes changes to support the local store, support for namespace prefixes in DOM methods, and notifications. 1999-04-12 19:02:12 +00:00
waterson%netscape.com bb23be7a55 Added GetIID() so that this can be used with nsCOMPtr. 1999-04-12 18:10:08 +00:00
waterson%netscape.com 050221001c Added GetIID() method so this can be used with nsCOMPtr. 1999-04-12 18:08:43 +00:00
kipp%netscape.com 26c9966824 Allow negative values for clip rects as per css spec 1999-04-10 17:33:09 +00:00
hyatt%netscape.com c4cd51ed9f Fixes for bugs 2620 and 3482. 1999-04-10 04:49:21 +00:00
karnaze%netscape.com 5c121e8bd6 bug 4643, webshells reset scrolling value to prior value on reloading doc 1999-04-09 21:09:00 +00:00
pollmann%netscape.com 21780034e4 Bugs 4714 4533 4387. A: Chofmann R: Harishd 1999-04-08 23:47:49 +00:00
jfrancis%netscape.com fece7c9e61 fix for another range gravity bug; rvwd and apprd kostello; appr chofmann 1999-04-08 06:00:44 +00:00
waterson%netscape.com 540407e20f Bug 4618. Fix compilation problem on Solaris native compile. a=chofmann@netscape.com 1999-04-08 01:53:31 +00:00
waterson%netscape.com 5ccea15671 Modified to use NS_RDF_ASSERTION_ACCEPTED and NS_RDF_ASSERTION_REJECTED return codes (local store implementation). Added local store construction to each XUL hierarchical widget. 1999-04-07 06:29:14 +00:00
toshok%hungry.com d751fd2af0 enable OJI on unix. 1999-04-07 05:14:40 +00:00
rjc%netscape.com 1d7232cb90 SetDocument(nsnull) is now valid, indicating document is going away. Timers are removed in this manner. 1999-04-07 00:27:40 +00:00
waterson%netscape.com 5b23e70508 Fixed incorrect use of nsCOMPtr. 1999-04-07 00:07:28 +00:00
rjc%netscape.com bfe01b95a3 Timer changes. Preparation for timer to be destroyed when SetDocument(null). 1999-04-06 23:59:22 +00:00
waterson%netscape.com 407cd1df56 Use the 'real' local store. 1999-04-06 22:55:26 +00:00
rods%netscape.com 2ddc8beb47 Added support to handle Drag & Drop events 1999-04-06 20:24:05 +00:00
jfrancis%netscape.com 25927591d7 fix for range gravity bug 1999-04-06 19:57:01 +00:00
waterson%netscape.com cfa2d49dc8 Fixed a _big_ memory leak: circular reference between the document, content sink, and parser. Now the document releases the parser immediately after telling it to start parsing. 1999-04-06 07:48:21 +00:00
waterson%netscape.com 80fb2b4d81 Made nsXULAttribute implement nsIDOMAttr, and made nsXULAttributes implement nsIDOMNamedNodeMap. Updated the nsRDFElement accordingly, and implemented GetAttributes() and Set/GetAttributeNode(). 1999-04-06 06:40:31 +00:00
rickg%netscape.com c4b62ed8c6 tiny tweaks to keep in sync with new nsString 1999-04-06 00:29:40 +00:00
rickg%netscape.com da3cc3d299 update to new string api 1999-04-06 00:22:46 +00:00
rjc%netscape.com 0194c8fecc Add preliminary support for pulsing a container to see if its contents change. 1999-04-05 23:10:43 +00:00
harishd%netscape.com 4e746a4f6d Added code in OpenBody() to handle multiple bodies.
Commenting out the precondition.
1999-04-05 20:53:54 +00:00
kipp%netscape.com bf25700fa4 Added some debug code that allows finer grained append reflow during document loading for debugging incremental reflow 1999-04-03 19:00:23 +00:00
kipp%netscape.com 500d6ef58f Fixed an oopsie that prevented enumerating the override and backstop sheets 1999-04-03 18:56:45 +00:00
peterl%netscape.com f0b7fcff54 added -moz-border-radius 1999-04-03 03:15:01 +00:00
sfraser%netscape.com df87ac03bf Added precondition when no content viewer. 1999-04-03 01:46:21 +00:00
hyatt%netscape.com 7a42fde013 key event support in handledomevent 1999-04-03 01:12:57 +00:00
peterl%netscape.com d5e687f7f6 backing out prevoius changes (unix didn't like it) 1999-04-02 19:57:07 +00:00
waterson%netscape.com 84e1d1e012 Changed #ifdef DEBUG_waterson debug printfs to us PR_LOG(). Fixed a initialization-order warning on Unix. 1999-04-02 19:51:35 +00:00
peterl%netscape.com ad625281d0 initialize bitfields through a union to keep purify happy 1999-04-02 18:51:28 +00:00
peterl%netscape.com ff014c1442 connected content properties to style context 1999-04-02 18:49:40 +00:00
peterl%netscape.com 37cbacb459 added nsStyleContent 1999-04-02 18:48:55 +00:00
sfraser%netscape.com 8a5fc246e3 Declare functions static to fix warnings. 1999-04-01 23:54:23 +00:00
waterson%netscape.com 4293358b74 Check to make sure that you have content in the doc before doing GetElementById(). (This was causing crash in SearchForNodeByID() -- thanks to law@netscape.com for the fix.) 1999-04-01 02:30:03 +00:00
vidur%netscape.com 60b09b8c97 Added epilog and prolog to document. 1999-03-31 20:49:42 +00:00
vidur%netscape.com d801e996bd Added epilog and prolog to document. Added processing instructions and CDATASections for XML. Completed document Node methods. 1999-03-31 20:49:25 +00:00
karnaze%netscape.com 430df9a7be bug 2620 - extra scroll bars on nested frameset documents. 1999-03-31 19:18:39 +00:00
karnaze%netscape.com a47eea1bd4 bug 4382 - comments inside <option> 1999-03-31 05:59:06 +00:00
troy%netscape.com 96804aa0ef Added back Nav compatibility hack for illegal hex values being mapped
to 0
1999-03-31 05:12:36 +00:00
troy%netscape.com 55ab03b515 Fix for bug #4434 1999-03-31 04:13:24 +00:00
kipp%netscape.com aa92be47b0 Support cols, wrap and width arguments 1999-03-31 04:13:04 +00:00
kipp%netscape.com 9c9c6988c3 Added eStyleUnit_Chars 1999-03-31 04:08:07 +00:00
troy%netscape.com 024837cf0a Added case for ILAYER 1999-03-30 15:20:14 +00:00
rjc%netscape.com e16abf736b Fix crash when sorting on a column (due to change on how GetTarget() returns errors.) 1999-03-30 11:05:58 +00:00
waterson%netscape.com 95fe5b64f9 Changed RDF-specific errors to be success rather than error codes. 1999-03-30 02:30:16 +00:00
troy%netscape.com 247450a00f Added beforePseudo and afterPseudo 1999-03-30 00:48:57 +00:00
troy%netscape.com f2c7daae70 Moved beforePseudo and afterpseudo to nsCSSAtoms 1999-03-30 00:47:42 +00:00
waterson%netscape.com 1675e0c378 Added code to initialize XPIDL JS stubs, added nsJSXULDocument into the build, temporarily added the rdf service as an attribute on the XUL document. 1999-03-30 00:38:16 +00:00
amusil%netscape.com 389230902c Changes to hook up LiveConnect on Windows 1999-03-29 22:18:05 +00:00
waterson%netscape.com 0cf17d4ce5 Landed RDF_19990326_BRANCH, scriptability changes. 1999-03-29 19:52:54 +00:00
troy%netscape.com 595d17ecf3 Added beforePseudo and afterPseudo atoms 1999-03-29 03:30:34 +00:00
joki%netscape.com ef6d2b292d Removing assertion from HandleDOMEvent. New capture/bubble path passes through this func. 1999-03-29 02:29:43 +00:00
joki%netscape.com e39e13cf18 Changing api uses in editor, rdf, and xpfe to match DOM2 api name/param changes. 1999-03-28 22:27:38 +00:00
joki%netscape.com 1c2882e5e6 Updating internal implementations to new DOM2 api syntax, capture/bubble functionality, new EventStateManager stuff (focus improvements) 1999-03-28 22:22:54 +00:00
troy%netscape.com f97dae2e5d Patch from Bruce Mitchener that removes some dead code 1999-03-28 18:26:09 +00:00
peterl%netscape.com 89cd6f6017 added support for outline
border color fixes
1999-03-28 04:31:57 +00:00
peterl%netscape.com b7974865e3 fixed tokenization bug (treating "+.foo" as a number) 1999-03-28 04:31:12 +00:00
peterl%netscape.com 52d76ba2be fixed bug in parsing backgrounds 1999-03-28 04:29:57 +00:00
peterl%netscape.com 94d2d6c3bb added support for outline, border corner radius, transparent border
tweaked opacity
1999-03-28 04:28:22 +00:00
kipp%netscape.com 0c1b82b05a Implement new method 1999-03-27 01:20:15 +00:00
kipp%netscape.com a0ef7d0fd6 Added a new method 1999-03-27 01:20:02 +00:00
ftang%netscape.com 9944eaeed5 add Set/GetWordBreaker to nsIDocument. reviewed and approved by waterson 1999-03-27 00:58:42 +00:00
ftang%netscape.com 3af2e4fcc5 add Set/GetWordBreaker to nsIDocument. Reviewed and approved by kipp 1999-03-27 00:58:41 +00:00
evaughan%netscape.com 43351bf5de Added XUL based layout manager. 1999-03-27 00:58:29 +00:00
donm%netscape.com 0a6d95351a backing out evaughan's changes. tree closed. 1999-03-26 19:39:23 +00:00
evaughan%netscape.com dc2fa174cc Added box layout system. 1999-03-26 18:51:08 +00:00
ramiro%netscape.com b07b79a055 Fix indiscriminate debug comment spewage. 1999-03-26 11:34:21 +00:00
kipp%netscape.com 8abd414912 Provide zero margins for other sides 1999-03-26 00:41:59 +00:00
briano%netscape.com 29ed08771b Handle NO_STATIC_LIB being set, when all this file does is create a static library. 1999-03-25 21:21:47 +00:00
briano%netscape.com 2f105ae044 Handle NO_STATIC_LIB being set, when all this file does is create a static library. 1999-03-25 21:10:22 +00:00
peterl%netscape.com b37e4f0df7 added percent handling for opacity property 1999-03-25 06:43:07 +00:00
peterl%netscape.com c93029d956 fix whitespace handling on attribute selectors 1999-03-25 06:42:42 +00:00
peterl%netscape.com faf2cdb453 add base tag info on the rest of the table elements too 1999-03-25 06:40:06 +00:00
peterl%netscape.com e8b46b96be cleaned up attribute style hints to reflect the real info 1999-03-25 06:39:12 +00:00
peterl%netscape.com 99ed50bd06 made opacity inherit by default 1999-03-25 06:34:57 +00:00
peterl%netscape.com 92aa94c345 set default attribute style hint to content 1999-03-25 06:32:09 +00:00
kipp%netscape.com bb9e98378a Use compatability table for div align mappings 1999-03-25 03:48:06 +00:00
kipp%netscape.com ff45e93a5c Removed some dead code 1999-03-25 03:47:46 +00:00
kipp%netscape.com 6ed2d1fdbb Added some -moz keywords 1999-03-25 03:46:58 +00:00
jfrancis%netscape.com eaed4a3df3 exposing on-the-fly switchability between pre and post order iterors in the interface. exposing PositionAt in the interface. 1999-03-23 11:54:52 +00:00
jfrancis%netscape.com 6e49aa0132 phase one of on-the-fly support for switching between pre and post order iteration. needed by text services. 1999-03-23 10:30:24 +00:00
beard%netscape.com bccc7dd505 new implementation of GetScriptObject, returns a script object that is a wrapper for the Java applet object, whose prototype points to the standard DOM element object. This allows the applet's public fields to shadow the DOM properties. only turned on for XP_MAC. 1999-03-21 20:48:49 +00:00
pierre%netscape.com ed955aafcf #3974 "mac crashes when hitting return to submit form" 1999-03-21 04:35:01 +00:00
kipp%netscape.com 9695ca7feb Table's, tr's, td's and th's now support navigators background attribute properly including backgrounds impacted by BASE tags - bug #2020 1999-03-20 15:42:21 +00:00
vidur%netscape.com 695fabe1b5 Implemented ID targetting for HTML in XML documents. Changed name of GetNameSpacePrefix to avoid clash. 1999-03-20 01:51:00 +00:00
kipp%netscape.com 3f70099584 Support html4 type attribute 1999-03-20 01:32:48 +00:00
tague%netscape.com 6e19645586 Added support for basic Japanese input on Win32 1999-03-19 23:36:20 +00:00
kipp%netscape.com ad0c53ce94 Handle background attribute better 1999-03-19 23:09:29 +00:00
rjc%netscape.com dfbfd28db5 Remove const. 1999-03-19 01:56:21 +00:00
rjc%netscape.com 6bd92ecea0 When sorting (not natural order), first ask for a slightly modified target value. This allows a datasource to detect when a value is being asked for sorting purposes and can be smart... for example, a mail datasource could strip off the "Re:" on mail messages. 1999-03-19 01:52:18 +00:00
nisheeth%netscape.com ae377bdba5 Fix for bug 3584.
Change coded by vidur.  Reviewed by me.  Document.written documents now get
a default "about:blank" url assigned to them.  This fixes crash bugs associated
with other code assuming that all documents have non-null urls.

Approved by chofmann.
1999-03-19 01:41:09 +00:00
waterson%netscape.com e1e2ae2c5e Bug 3978. Removed warning: it was silly. This happens all the time for HTML content in a XUL document. 1999-03-18 23:04:58 +00:00
hyatt%netscape.com f015e3ae42 Fixes for the mouseover toolbar button problem. Approved by Chris. 1999-03-18 21:18:00 +00:00
kipp%netscape.com 45fde9019e Fixed bug #3597 - lower case alpha/roman bullets 1999-03-18 21:01:52 +00:00
waterson%netscape.com bd152bda2b Cleaned up code that mutates an element's ID, modulo bug 3971. 1999-03-18 20:46:02 +00:00
pnunn%netscape.com 687b1f8de3 Fix for bugz#3858. View-images were decoding twice. M3, pnunn@netscape.com
Reviewed by kipp@netscape.com.
1999-03-17 00:13:31 +00:00
joki%netscape.com 9e6f6e3820 Fix for bug 3553, links on Linux 1999-03-15 23:44:15 +00:00
hyatt%netscape.com 4c62785eab Changes to fix the bookmarks menu crashing problem. 1999-03-15 05:39:04 +00:00
hyatt%netscape.com d5989bccd6 Changes to fix the Bookmarks menu crashing problem. 1999-03-15 05:36:13 +00:00
kostello%netscape.com 33b523aed4 Added implementation for nsIHTMLContentSink::DoFragment() 1999-03-15 05:11:43 +00:00
karnaze%netscape.com 2c2f89ba0c removed code to set margins on radio buttons and checkboxes. It is now done using attribute selectors in ua.css. 1999-03-14 17:39:58 +00:00
buster%netscape.com e758191f6c added a debug-only printf warning if the char code returned is 0 1999-03-14 04:10:55 +00:00
hyatt%netscape.com 8a2617aabc Menus are much closer now. 1999-03-13 00:31:05 +00:00
hyatt%netscape.com d3c5cc49f3 On the road to making the bookmarks menu work properly. 1999-03-13 00:08:25 +00:00
waterson%netscape.com 4666f0968a Bug 3529: re-rooting the tree. Added code in the generic content builder that notices changes to the 'id=' attribute and reconstructs the tree from a new resource when the object's identity is changed. Also, renamed the nsRDFGenericBuilder::IsWidgetElement() to IsFolderOrItem(), because that's what it's doing. 1999-03-12 22:20:34 +00:00
putterman%netscape.com 0cff9e55b8 comment out NS_ERROR in remove 1999-03-12 13:13:58 +00:00
waterson%netscape.com b258cdbea3 Added note on making fns virtual. 1999-03-12 10:09:51 +00:00
waterson%netscape.com 9948afecc3 Renamed IsWidgetProperty() to IsContainmentProperty(), added RemoveWidgetItem() call and hooked it up in the generic builder. 1999-03-12 08:13:14 +00:00
hyatt%netscape.com eafe35fb02 XUL fragments live! 1999-03-12 05:21:25 +00:00
troy%netscape.com c6c4afe1b6 Fixed MapDeclarationInto() so it correctly handles 'min-width', 'max-width',
'min-height', and 'max-height'
1999-03-11 20:29:02 +00:00
hyatt%netscape.com 5fee22456d Adding in the new document info class and tweaking the builder so that
it knows how to use it.
1999-03-11 19:49:32 +00:00
troy%netscape.com e5223eb70a Patch from Bruce Mitchener (bruce@sybersight.com) that fixes incorrect
use of delete operator
1999-03-11 15:21:46 +00:00
rjc%netscape.com b8e70b1743 Comment out NS_PRECONDITION on mDocument. 1999-03-11 12:07:49 +00:00
rjc%netscape.com eb6bc84a7b Better, smarter sorting implementation. 1999-03-11 12:01:47 +00:00
troy%netscape.com 158ed075a4 Patch from Bruce Mitchener (bruce@cybersight.com) that fixes unitialized
memort error
1999-03-11 05:56:11 +00:00
nisheeth%netscape.com 42b362f298 - Beautified error reporting of expat errors. We now don't just dump the error text out as nodes. We create the parsererror and sourcetext HTML nodes that can be styled via ua.css. 1999-03-11 05:29:36 +00:00
nisheeth%netscape.com acf5451120 - changing ua.css to add style rules for the 'parsererror' and 'sourcetext' elements.
- added eHTMLTag_parsererror, eHTMLTag_sourcetext to the set of HTML tags.
- These tags are used within XML documents to show errors from expat.
1999-03-11 05:26:53 +00:00
joki%netscape.com 2874bb3300 Adding DOM access to new character information 1999-03-11 00:07:59 +00:00
rjc%netscape.com 400bd8b309 Small sort fix. 1999-03-10 22:02:25 +00:00
waterson%netscape.com 814b4b5526 Added GetResource() to XULElement. 1999-03-10 20:20:52 +00:00
hyatt%netscape.com dce8a87ab7 Working on XUL fragments. 1999-03-10 20:05:12 +00:00
mcafee%netscape.com 73bf3f79fd Solaris doesn't like the dangling semi-colon after NS_DECL_ISUPPORTS_INHERITED macro. 1999-03-10 10:52:50 +00:00
rjc%netscape.com ee1810d07b Cast away! and changed a few .Equals() to now be .EqualsIgnoreCase() 1999-03-10 09:41:07 +00:00
waterson%netscape.com 6782447db0 Aggregate nsIDOMXULTreeElement interface onto nsRDFElement. Scriptability #ifdef-ed out. 1999-03-10 08:50:27 +00:00
waterson%netscape.com 82b8b77f3c Fix build bustage, not really sure what this is supposed to be doing. 1999-03-10 08:11:28 +00:00
waterson%netscape.com 118b7116cb Fixed header files to work outside the XPIDL world for now. 1999-03-10 07:12:42 +00:00
rjc%netscape.com e4b04ae90f Small changes to sorting code to prepare for sorting on id attribute. 1999-03-10 07:07:10 +00:00
waterson%netscape.com 040e629119 Landed on tip. 1999-03-10 05:37:31 +00:00
hyatt%netscape.com bf1ce3afd5 Landing the initial changes to support XUL fragments. 1999-03-10 01:37:31 +00:00
vidur%netscape.com 634e324575 Added CreateElementWithNameSpace to proprietary document interface. Fixed GetTagName for HTML to uppercase tag names. Hooked up style rule addition and deletion to reconstruct frames. Fixed DOM generation problem 1999-03-10 01:17:49 +00:00
alecf%netscape.com db95dfaee9 purify fixes from bruce@cybersight.com - use delete[] rather than delete 1999-03-10 00:35:16 +00:00
waterson%netscape.com 28ac6a50e7 Made sure to initialize rv to NS_OK. 1999-03-09 23:51:34 +00:00
hyatt%netscape.com d5e32091fe Fixing a bug with selection in the tree view. 1999-03-09 21:58:06 +00:00
hyatt%netscape.com b11125a802 Fixes to the broadcasters and observers. I made HTML elements work with
observes nodes, and I changed some SetAttribute calls to use the DOM
instead of the nsIContent APIs.
1999-03-09 19:30:41 +00:00
jfrancis%netscape.com 534a4ea1cb fixed refcounting bugs 1999-03-09 19:21:30 +00:00
jfrancis%netscape.com e4ed741668 fixed refcounting bugs plus a little cleanup 1999-03-09 19:21:04 +00:00
warren%netscape.com 4b2d56fbaa nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
waterson%netscape.com e189c7d58b Fixed GetElementsByAttribute(): use the DOM APIs to be consistent with namespaces. 1999-03-09 08:10:50 +00:00
waterson%netscape.com f13802c572 Made widget observer observe the composite data source. 1999-03-09 08:05:26 +00:00
nisheeth%netscape.com 7b02f128df - Quoted all attributes.
- Fixed casing on the end BookSet tag.  (The expat parser enforces case-sensitivity in XML)
1999-03-09 07:44:47 +00:00
waterson%netscape.com 3d2b42cfd9 Land Guha's history stuff, including some fixes for references in the file system data source, and modifications for literals: there's now nsIntLiteral and nsDateLiteral. 1999-03-09 04:01:56 +00:00
vidur%netscape.com 340a2d50b1 Table of contents example 1999-03-09 00:36:54 +00:00
tague%netscape.com 0198976348 Fixed build bustage (lost const) 1999-03-08 21:02:35 +00:00
alecf%netscape.com ac6500ef53 fix g++ -pedantic bustage 1999-03-08 20:18:53 +00:00
jfrancis%netscape.com 17efdd55c0 bug fixes + changing broken "dont_QueryInterface" additions to "do_QueryInterface" 1999-03-08 01:20:02 +00:00
hyatt%netscape.com 96a3c5b43e Changes to the builder APIs to distinguish folder items from leaf
items (although we're not quite there yet).
1999-03-07 23:18:26 +00:00
hyatt%netscape.com e7388bbb7f Landing the menu builder for real. The bookmarks menu lives (well, sort of). 1999-03-07 10:28:42 +00:00
rjc%netscape.com a23baf95a7 More support for column sorting. 1999-03-07 09:44:38 +00:00
hyatt%netscape.com 3dbf66b81d A base class for factoring out the common functionality that exists
among builders.  (To be used by the tree, toolbar, and menu builders
at the very least.)
1999-03-07 08:12:48 +00:00
troy%netscape.com a1ca1b831c In RulesMatching(), changed NS_RELEASE to NS_IF_RELEASE for the link handler.
This fixes a crash when doing a print preview
1999-03-06 17:20:27 +00:00
warren%netscape.com 061e28870c Fixing someone's RDF breakage. 1999-03-06 04:12:56 +00:00
nisheeth%netscape.com a8aa6a7b87 Changed nsIContentSink->NotifyError() to accept an nsParserError argument. This change is needed for propagating errors from the new expat parser. 1999-03-06 02:01:11 +00:00
hyatt%netscape.com f2a3f53d00 onchange handler implemented for observes nodes. 1999-03-06 01:19:13 +00:00
rjc%netscape.com b334a3cdd2 Small cleanup to nsXULSortService. 1999-03-06 00:11:14 +00:00
hyatt%netscape.com 97609c195b More tweaks to broadcasters. 1999-03-05 23:53:01 +00:00
rjc%netscape.com 3d90c3e2e4 First Checked In. 1999-03-05 23:51:41 +00:00
hyatt%netscape.com 2db952a359 Fixed a memory leak in the broadcasters. 1999-03-05 23:08:34 +00:00
hyatt%netscape.com 7753b2555c Changes to broadcasters. 1999-03-05 22:43:02 +00:00
hyatt%netscape.com 949a79c6f8 Changing the broadcaster methods to take DOM elements instead of DOM
nodes.
1999-03-05 22:37:24 +00:00
hyatt%netscape.com 0e55c2e4c9 Cleaning up some code. 1999-03-05 22:33:27 +00:00
hyatt%netscape.com ba8e075863 Fixes to enable getElementById to work with HTML elements. 1999-03-05 20:30:13 +00:00
kipp%netscape.com d7bf08c6f6 Support more css style for hr's; map align to auto margins 1999-03-05 04:20:07 +00:00
hyatt%netscape.com 7eb40f9c2d Many bug fixes to the RDF content model including namespace changes and
style support.
1999-03-05 00:01:26 +00:00
hyatt%netscape.com 9e951476a4 Committing the new attribute class for the handling of XUL attributes. 1999-03-05 00:00:40 +00:00
scc%netscape.com 2ec0a397ea rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
brade%netscape.com 9377486314 reduce compiler warnings on Macintosh by adding comparison in loop (around assignments) 1999-03-03 14:50:41 +00:00
waterson%netscape.com c9a1447694 Removed tree-specific open and close code. This is now in the nsRDFTreeBuilder, where it belongs. 1999-03-03 08:07:10 +00:00
pollmann%netscape.com 5204ba1e7a Give nsTextControlFrame a notification when readonly on a TextArea is changed. 1999-03-03 03:05:31 +00:00
pollmann%netscape.com e91bfd4a29 Fix bug #3375 and #3368: Allow hidden inputs and password inputs to store values. 1999-03-03 02:54:25 +00:00
nisheeth%netscape.com e870ce9054 We've decided to do away with the notion of an nsExpatDTD. The expat tokenizer which encapsulates the expat parser will be driven by nsWellFormedDTD. So, I'm removing the code that constructed an expat DTD for controlling the parsing of an XML document. 1999-03-03 01:57:03 +00:00
hyatt%netscape.com 1d7617de7f More fixes to make sure the right attribute namespace is being used. 1999-03-03 01:38:32 +00:00
hyatt%netscape.com 1fec664a60 Fixes so that attributes are set correctly. 1999-03-03 01:26:33 +00:00
hyatt%netscape.com 8e035eada0 Fixes to attributes so that they are properly added in with a namespace of
NONE.
1999-03-03 01:17:29 +00:00
vidur%netscape.com 6094c1ca21 Fixes to get CDATASections working again. Also changes to fix XML links. 1999-03-02 23:22:05 +00:00
kmcclusk%netscape.com 82dac76411 gfx vs native widget rendering can now be specified in the viewer at run-time.
Added methods to GetWidgetRenderingMode and SetWidgetRenderingMode in nsPresContext
Removed NS_GFX_RENDER_FORM_ELEMENTS define, now it uses the GetWidgetRenderingMode
method on the rendering context.
Resurrected Rod's listbox frame-based widget code.
Added -moz-option-selected pseudo attribute to control the appearance of selected items for the listbox frame-based widget.
Added a style rule with attribute selector for -moz-option-selected to the ua.css style sheet.
Modifed nsView::SetVFlags to do a bitwise or instead of bitwise and to set flags.
Modified nsView::HandleEvent to compare mVFlags with NS_VIEW_FLAG_DONT_CHECK_CHILDREN
1999-03-02 22:43:26 +00:00
joki%netscape.com 0baca6512f Adding new tab handling and focus support. 1999-03-02 19:19:24 +00:00
cls%seawood.org 0bbc0ba3a1 Fixed problem with ondblclick being released w/o being allocated. Appeared to be a copy-n-paste oversight. 1999-03-02 10:20:52 +00:00
waterson%netscape.com b29d87820d Added code to spy on the xul:open attribute; we now force content construction when a node is opened and release the children when it is closed. 1999-03-02 07:34:32 +00:00
rjc%netscape.com f8b4395e6d ChildAt(0) can return NULL, so check for it! 1999-03-02 04:07:10 +00:00
pollmann%netscape.com 8f30448ae5 Cleanup: Use the GetPrimary Frame in nsGenericHTMLElement. Enable fetching selectedIndex before frame creation (using DefaultSelected instead of Selected) Bug #3340 1999-03-02 03:31:17 +00:00
pollmann%netscape.com 00a111b13e Enable GetSelected for options inside of option groups. (Fix GetPrimaryFrame) 1999-03-02 03:26:29 +00:00
pollmann%netscape.com 4a3e05e302 Cleanup: return NS_NOINTERFACE not NS_OK if getting the primary frame fails. 1999-03-02 03:22:45 +00:00
nisheeth%netscape.com 937b4d59c2 We no longer call RegisterDTD() on nsParser when initiating parsing of XML
documents.
1999-03-02 02:58:25 +00:00
vidur%netscape.com cb48e4047a Fixed MAP elements to conform to HTML 4.0. Hooked up attribute changes for MAP, AREA and ANCHOR elements. Added RECONSTRUCT_ALL as a style hint for attribute changes. Modified nsCSSFrameConstructor's ReconstructFrame to only reconstruct the document element hierarchy. 1999-03-01 16:57:35 +00:00
rods%netscape.com 99447f229a Change it to do a QueryInterface, is this right? 1999-03-01 15:27:55 +00:00
mcafee%netscape.com bf8ad89b24 Backing out my last change, breaks Win32 & Mac. 1999-03-01 10:57:20 +00:00
mcafee%netscape.com 4ebcbb455e Adding do_QueryInterface() wrapper for nsCOMPtr/Solaris. 1999-03-01 10:32:14 +00:00
jfrancis%netscape.com c37eac4581 made iterators bidirectional; lots of bug fixes; finished subtree iterator impl. 1999-03-01 08:17:18 +00:00
nisheeth%netscape.com 8d35655233 - Add expat to the windows build only...
- Changed nsXMLDocument such that expat gets used for XML parsing if
  EXPAT is #define'd
1999-02-27 08:02:15 +00:00
peterl%netscape.com 8c7771ba8f fixed active link rule support 1999-02-27 07:18:21 +00:00
peterl%netscape.com ee60b04ab0 added support for dynamic pseudo classes
added support for child & sibling selectors
1999-02-27 07:17:52 +00:00
peterl%netscape.com 75a76e322e added child & sibling selector support 1999-02-27 07:16:57 +00:00
peterl%netscape.com 8e0f3b58c4 added child & sibling selectors 1999-02-27 07:15:59 +00:00
peterl%netscape.com 006004dd56 added content state changed 1999-02-27 07:15:09 +00:00
peterl%netscape.com 0864f69c78 added CSS3 pseudo classes 1999-02-27 07:14:33 +00:00
peterl%netscape.com 65be83c9dd added CSS3 UI pseudo classes 1999-02-27 07:14:13 +00:00
peterl%netscape.com 6ded9b5abe set document before adding attributes 1999-02-27 07:13:48 +00:00
peterl%netscape.com 3f8df31e5d switched state change notifications to use ContentStateChanged 1999-02-27 07:12:38 +00:00
peterl%netscape.com 716fdea6b7 added CalcStyleDifference 1999-02-27 07:11:42 +00:00
peterl%netscape.com ba5f08e24c added content state changed
removed ua sheet from dump style
1999-02-27 07:11:04 +00:00
peterl%netscape.com 46c784a7db added == operator for style sides 1999-02-27 07:09:40 +00:00
hyatt%netscape.com 70a4c0ce9d Modified HTML content's QueryInterface macro to supported nsIStyledContent. 1999-02-27 01:36:41 +00:00
hyatt%netscape.com 375ee1d8f5 Changed GetID, HasClass, and GetClasses so that they are invoked on styledContent
instead of htmlContent.
1999-02-27 01:35:51 +00:00
hyatt%netscape.com e29262df04 Changed GetInlineStyleRule so that it is invoked on styledContent instead
of htmlContent.
1999-02-27 01:35:25 +00:00
hyatt%netscape.com 06368ef067 Changed GetContentStyleRule so that it is invoked on styledContent instead
of htmlContent.
1999-02-27 01:34:55 +00:00
hyatt%netscape.com 927493e52a Removing the CLASS, ID, and STYLE-specific methods. They are now in
nsIStyledContent (from which nsIHTMLContent now derives).
1999-02-27 01:32:49 +00:00
hyatt%netscape.com 271401155d The nsIStyledContent interface. Removes CLASS, ID, and STYLE support (as well
as the ability to supply style hints) from nsIHTMLContent.
1999-02-27 01:31:01 +00:00
kipp%netscape.com 960bc34221 fixed up operator new usage 1999-02-26 20:02:06 +00:00
kipp%netscape.com 760dc4af42 Fixed remaining issues with operator new/delete 1999-02-26 19:26:29 +00:00
kipp%netscape.com 2eee855f3b Support entities (bug #3112) 1999-02-26 17:13:51 +00:00
kipp%netscape.com a757e2efbe Cleaned up operator new and delete 1999-02-26 17:13:10 +00:00
kipp%netscape.com cc779556f7 Removed dependency on static constructors 1999-02-26 17:12:16 +00:00
kipp%netscape.com 8e83b73c68 Fixed up operator new and delete 1999-02-26 17:09:35 +00:00
kipp%netscape.com 63f4abfd18 Implement operator delete properly; removed dependency on static constructor 1999-02-26 17:03:18 +00:00
waterson%netscape.com c1fa9721d0 Bug 3302. Fixed DOM calls to effect (more or less) the right change on the content model, modulo Bug 3275. This was causing asserts to fire whenever you called SetAttribute(). 1999-02-26 03:02:19 +00:00
waterson%netscape.com 7dc1429c56 Improved SplitAttribute() to return kNameSpaceID_None if it finds a tag but can't determine the namespace. 1999-02-26 02:09:48 +00:00
vidur%netscape.com b15aacfeb3 Made style reresolution propogate down to the bullet frames for list items. Added list related attribute tests. 1999-02-25 19:14:35 +00:00
waterson%netscape.com ab8c628386 Improved tag matching so that it doesn't assume XUL namespace. Added nsIXMLContent methods in anticipation of someday getting real namespace scoping right. See http://bugzilla.mozilla.org/show_bug.cgi?id=3275 for more info. 1999-02-25 17:15:57 +00:00
hyatt%netscape.com 15eef1e48f Fixes to getElementsByTagName to avoid returning nodes that aren't elements. 1999-02-25 02:58:11 +00:00
vidur%netscape.com 6803ad7f1b XML books test case (not part of the build so don't shoot me). 1999-02-25 02:26:53 +00:00
troy%netscape.com 47cbdb1e9d Added frame type atoms for several table frame classes 1999-02-24 05:54:31 +00:00
troy%netscape.com eb48a80e30 Added nsLayoutAtoms::textFrame 1999-02-24 05:33:40 +00:00
troy%netscape.com 03c5c1f520 Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
not references
1999-02-24 04:48:08 +00:00
waterson%netscape.com bc0bd2e68a Fixed some refcounting bugs with atoms. 1999-02-24 04:46:47 +00:00
kipp%netscape.com 08258b786c Fixed crash bug where unitialized index would sometimes crash; also increment index in loop so that it terminates 1999-02-24 04:34:54 +00:00
troy%netscape.com da0991df28 Added CreateContinuingFrame() function to frame construction code 1999-02-24 04:03:50 +00:00
hyatt%netscape.com 790a8f48ef Fixing the case of the ID atom (it should have been lower case). 1999-02-24 02:58:47 +00:00
hyatt%netscape.com 9f0be779bd Fixing the multiple observer crash. 1999-02-24 02:18:35 +00:00
waterson%netscape.com c60c67adc4 Made sure to add a named reference to the event handlers. a=sar%netscape.com for checkin during closed tree. 1999-02-24 00:01:26 +00:00
kipp%netscape.com bb34e891d8 Latest snapshot using linux version of the tools 1999-02-23 19:38:50 +00:00
vidur%netscape.com 93609d0604 Added nsIStyleSheetLinkingElement interface and implemented it for LINK and STYLE elements. Got attribute modifications for lists and list items working (including correct renumbering of lists when attribute values change). 1999-02-23 19:18:12 +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
ftang%netscape.com 02b8de88ba add S/GetLineBreaker to nsIDocument.h. Reviewed by kipp and waterson 1999-02-23 03:31:26 +00:00
hyatt%netscape.com 3ec6d9980a Touched the files auto-generatedb y the IDL. Also implemented getElementByAttribute
for documents and for elements.
1999-02-23 02:40:51 +00:00
mjudge%netscape.com 642c6f7d87 Fixing nsCOMPtr misusage. 1999-02-22 19:06:48 +00:00
hyatt%netscape.com a1739b9b8a Implementing event handlers on XUL nodes. 1999-02-20 01:59:45 +00:00
evaughan%netscape.com 91eb54570b Added a new XUL TitledButtonFrame 1999-02-19 18:23:02 +00:00
scc%netscape.com b8df1ed8b0 updated for nsCOMPtr; owners should check my changes to see if they agree with my choices for |do_QueryInterface| vs |dont_QueryInterface| 1999-02-19 02:56:00 +00:00
mcafee%netscape.com 65b910addc Solaris needs newline at end of file. 1999-02-19 02:43:26 +00:00
mcafee%netscape.com 024d71b7d8 Fixing return types and swtich to proper PR_TRUE/PR_FALSE types. r=akkana@netscape.com 1999-02-19 02:32:58 +00:00
mcafee%netscape.com 8f769f292e Fixing return types and swtich to proper PR_TRUE/PR_FALSE types. r=akkana@netscape.com 1999-02-19 02:03:23 +00:00
mcafee%netscape.com 42b7604d15 Solaris: mIsDone is a PRBool, that means use PR_FALSE or PR_TRUE. 1999-02-19 01:41:03 +00:00
troy%netscape.com b236facd7f Added pseudo style for 'page' element 1999-02-19 00:53:09 +00:00
scc%netscape.com 5f8d7aa381 updated for nsCOMPtr (no implicit construction from raw pointers) owners should check that they agree with my choices for |dont_QueryInterface|, |do_QueryInterface| and |dont_AddRef| 1999-02-18 23:55:10 +00:00
kmcclusk%netscape.com 8dcf8365b9 changed pseudo styles file-button, file-text to -moz-file-button -moz-file-text in ua.css
Adjusted nsHTMLAtoms to match.
1999-02-18 22:36:59 +00:00
kipp%netscape.com 94912a8da7 Renamed bullet pseudo style 1999-02-18 22:20:19 +00:00
kmcclusk%netscape.com 0006f5de38 Fixed call to ProbePseudoStyleContext in nsButtonControlFrame so it will compile
when NS_GFX_RENDER_FORM_ELEMENTS is defined.
Added checks to nsFileControlFrame::Reflow to make sure the pseudo styles actually
could be loaded. If they can't be loaded it uses the file upload elements style.
Changed file-buttonstyle to file-button and file-textstyle to file-text in ua.css
1999-02-18 22:07:23 +00:00
hyatt%netscape.com d724898a78 Improvements to the broadcasting mechanism so that HTML nodes can properly
observe XUL broadcasters.
1999-02-18 21:45:06 +00:00
cyeh%netscape.com af4818f5e3 Remove mozilla/layout/config and use mozilla/config instead. 1999-02-18 18:16:21 +00:00
hyatt%netscape.com 4ee9124f11 Improvements to the document getElementByID method. 1999-02-18 05:03:20 +00:00
kipp%netscape.com 2b027db79b updated hash generator 1999-02-18 03:29:24 +00:00
kipp%netscape.com 674d43c0b3 Fixed up alignment mappings 1999-02-18 03:28:55 +00:00
kipp%netscape.com eeca19df62 Removed usage of GetAutoMarginSize 1999-02-18 03:24:58 +00:00
vidur%netscape.com 0b6657a837 Backed out bogus update to test 1999-02-18 00:19:12 +00:00
vidur%netscape.com 5ed7dde231 Supported XML namespace decls as attributes of HTML content embedded in XML 1999-02-18 00:18:50 +00:00
kmcclusk%netscape.com 9d22e42a58 Added pseudo styles for file input element buttons and text fields to control their
appearance during printing.
Now returns value of file upload element in nsHTMLInputElement::GetValue.
Added :file-textstyle and :file-buttonstyle pseudo style's to ua.css.
Modified nsButtonControlFrame::PaintButton to accept a rectangle describing the
position and size of the button to paint.
Modified nsFileControlFrame::Paint to resolve :file-buttonstyle and :file-textstyle to
paint the file upload's button and text field using settings in ua.css
Added nsFileControlFrame::HasWidget utility method.
Added nsFormControlHelper::GetInputElementValue to get the current value of an input element
from the DOM.
Modified nsTextControlFrame::GetProperty to use nsFormControlHelper::GetInputElementValue
Modified nsTextControlFrame::PaintTextControl to accept a rectangle describing the position
and size of the text control to paint.
Modified nsTextControl::PaintTextControlBackground to include a rectangle describing the
position and size of the text control background to paint.
1999-02-18 00:13:39 +00:00
vidur%netscape.com 8ac544b55c Implemented the correct content model for the TITLE element and allowed for dynamic change. 1999-02-17 23:56:55 +00:00