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

843 Коммитов

Автор SHA1 Сообщение Дата
waterson%netscape.com 1d630564b4 Bug 17955. Don't unnecessarily add script event listeners to temporary nodes used for overlay hookup. r=hyatt, a=chofmann 1999-11-04 19:43:43 +00:00
waterson%netscape.com 1604985632 Bug 17847. Fix 'commandupdater' hookup for master document. r=hyatt, a=chofmann 1999-11-04 18:37:58 +00:00
beard%netscape.com ba1a567cb2 bug #17847, fix clobbering of mSlots->mAttributes in GetAttributes(). r=waterson, a=chofmann 1999-11-04 02:56:54 +00:00
hyatt%netscape.com 0eea38f731 Partial fix for 17848. Part 1 of 2. 2nd part will be checked in by hangas. r=hangas, a=brendan 1999-11-04 01:59:04 +00:00
waterson%netscape.com 52ce5fde68 Bug 17024. Fix mClassList leak; add bloaty stats for nsClassList. r=hyatt a=chofmann 1999-11-04 01:50:47 +00:00
waterson%netscape.com 6cb382251f Bug 15146. Don't eagerly create a <xul:menu>'s contents. r=hyatt a=brendan 1999-11-04 01:49:34 +00:00
joki%netscape.com d5c05ea133 Changes to DOM events to accomodate the new breakdown of events into mouse and key events. This fixes a couple of bug, though the main one is 13406. Involves changes to multiple DOM generated file as well as fixing up usage of DOM event api usage in editor, rdf, and xul. r:vidur 1999-11-03 07:11:45 +00:00
waterson%netscape.com a68d61b330 Bug 13252. Build content for current template before recursing to build content for children. r=alecf. 1999-11-03 06:59:49 +00:00
cls%seawood.org 14ef08310e Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
alecf%netscape.com b0da944f95 fix for #12703 - don't hold onto XULElements after they have been removed from the tree - don't bother checking mDocument because it will be null when the content has been removed from the document
r=hyatt
1999-11-02 23:30:33 +00:00
warren%netscape.com 2a827fc8c2 Made nsIUnicharStreamLoader be scriptable and deal with an xpcom observer instead of a proc pointer and void*. Part of bug#11159. r=nisheeth,kipp,pierre 1999-11-02 06:49:44 +00:00
waterson%netscape.com 6552d7ba4d remove CTOR and DTOR counters, because the descendant classes will all
account for this space. r=warren
1999-11-02 06:21:07 +00:00
warren%netscape.com 21c3c164cd Fix for bad refcount tracing. r=buster,nisheeth 1999-11-02 05:37:04 +00:00
waterson%netscape.com cc4295c551 Fix manky nsCOMPtr asserts. 1999-11-02 02:02:27 +00:00
pinkerton%netscape.com 5beb600570 fix for bug 17381 where leaving the frame before a drag gesture was began caused the event target to be set incorrectly. (r=saari). 1999-11-02 01:34:16 +00:00
waterson%netscape.com 981af88aa4 Bug 15146. Brutal sharing, Phase III. Turn on protoype, script, and style sheet caching. r=hyatt 1999-11-02 01:14:07 +00:00
brendan%mozilla.org fe51b61664 (13163, r=alecf, scc, waterson, others; names available on request)
- Fix most of bug 13163 (see TODO for rest).  This entails adding a version-string argument to nsIScriptContext::EvaluateString and passing it around lots of places in content sinks. 

- Fix leaks and confusion about mSecurityManager and mNameSpaceManager in nsJSEnvironment.cpp.  These still need to move from nsJSContext to nsGlobalWindow or thereabouts, jband and vidur are looking at that. 

- Added comments and expanded tabs in nsJSEnvironment.cpp, esp. to EvaluateString.  Also changed various nsresult vars to be named rv.  Also restored brace/style conformity to nsJSProtocolHandler.cpp. 

- Factored CompileFunction from AddScriptEventListener to pave the way for brutal sharing of compiled JS event handlers via JS_CloneFunctionObject. 

- Lots of nsCOMPtr uses added.  I'm using one for mNameSpaceManager.  Hold mSecurityManager as a service explicitly, on the other hand (awaiting scc's fix to allow comptrs for services), and release in nsJSContext's dtor (fixing a leak).  These two managers should be moved to the window object -- TODO item below. 

- Hold JSRuntimeService along with JSRuntime for live of nsJSEnvironment, fix for shaver. 

- Fix window.setTimeout etc. so the filename and line number of the timeout expr is propagated.  This meant factoring nsJSUtils.cpp code. 

- Fix all content sinks to use the same, and up-to-date JavaScript version parsing (whether for script type or for old language attribute); also fix SplitMimeType clones to strip whitespace. 

- With waterson, fix bug in brutal-sharing version of XUL content sink: script src= should not evaluate the inline content of its tag.
1999-10-31 00:43:30 +00:00
troy%netscape.com effb3aefb7 Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
1999-10-30 02:52:11 +00:00
waterson%netscape.com 389d9233e7 Pull script object and event listener list out of slots and into delegate to avoid faulting a heavyweight element. Fix EnsureSlots() to _not_ do a bunch of extra work that is already being done when we create an element from its prototype. Use nsCOMPtr's in nsXULAttributes to avoid leak of nsIStyleRule. r=hyatt 1999-10-29 22:09:20 +00:00
waterson%netscape.com 05904342f7 Fix SizeOf() operation. 1999-10-29 03:07:38 +00:00
waterson%netscape.com 59a9169ad9 Bug 15146. Brutal content model sharing, Phase II. XUL content sink now constructs prototype documents; 'real' content model constructed from walking prototype. Landed XUL_SHARING_19991027_BRANCH (derived from XUL_SHARING_19991022_BRANCH). See branch comments for details. r=hyatt. 1999-10-29 01:21:15 +00:00
pepper%netscape.com eb9c85f96d Added a newline to the end of file so that AIX and HP compilers are happy.
r=mgleeson
1999-10-28 22:17:43 +00:00
hyatt%netscape.com deace1a2e2 making the chrome registry work with dynamic overlays r=pavlov 1999-10-27 02:21:05 +00:00
dp%netscape.com 94d79e100e bug#16742 Fixing delete on nsISupports. Thanks for patch from <heikki@citec.fi> Plus using IMPL_ and DECL_ macros and removing operating on refcnt directly. r=dp 1999-10-24 04:41:17 +00:00
waterson%netscape.com a20e5bc21b Bug 15146. Factor nsXULElement's members into prototype and optional 'slots' for heavyweight elements. r=hyatt. 1999-10-20 18:55:32 +00:00
tbogard%aol.net 7c498dda21 Removed the last of gimpy's warnings. r=gimpy. 1999-10-19 08:03:11 +00:00
waterson%netscape.com 3900f1915d Obsolete. 1999-10-19 03:05:25 +00:00
waterson%netscape.com 3a7da7d02f Move nsXULElement declaration into the header file. 1999-10-18 23:05:35 +00:00
waterson%netscape.com a306c3e8d7 Remove nsRDFElement.cpp 1999-10-18 22:08:39 +00:00
waterson%netscape.com b668580ada Rename nsRDFElement to nsXULElement; rename nsXULElement to nsXULAggregateElement. 1999-10-18 22:08:15 +00:00
warren%netscape.com 2dceb727af Took out redundant MOZ_COUNT_CTOR/DTOR calls. 1999-10-18 19:21:53 +00:00
warren%netscape.com edf3235d43 Took out redundant MOZ_COUNT_CTOR/DTOR calls. 1999-10-18 19:06:21 +00:00
peterl%netscape.com c94fbefb6e Made style rules work against nsIMutableStyleContext
r=troy
1999-10-16 04:06:04 +00:00
peterl%netscape.com 527516876e Added namespace ID to the AttributeChanged notification
Part of the fix for Bug 15153
r=troy
1999-10-15 23:17:53 +00:00
tbogard%aol.net c8335260db Adding support for retrieving the EditorShell from editor element. r=hyatt 1999-10-15 21:21:10 +00:00
tbogard%aol.net 0900c2bee6 Adding support for retrieving the EditorShell from editor element. r=hyatt 1999-10-15 21:07:27 +00:00
waterson%netscape.com 583670b716 Darnit. Didn't mean to FORCE_PR_LOG. Removing that #define. 1999-10-15 20:55:54 +00:00
waterson%netscape.com 47b4f27357 Bug 9764. Fix HTML templates to ensure that attribute adding is namespace-agnostic. Add local variable for isUnique so that BuildContentFromTemplate will work if resource- and non-resource elements are siblings in a template. Add logging capability for debug. r=rjc. 1999-10-15 20:47:19 +00:00
rjc%netscape.com 63f18c6cb3 Fix leak in nsXULSortService (found by Boehm GC). Also, remove CTOR_COUNT stuff. Review: waterson@netscape.com 1999-10-15 06:27:02 +00:00
waterson%netscape.com 8457e8ceee Unclutter stuff by using nsCOMPtr in the nsElementMap::ContentListItem. Add leakenmacros to ContentListItem. Fix a leak in the the internal enumerator routine. Comment the internal enumerator routine since it's kinda funky. Add 'tag name' to the log messages. 1999-10-15 04:45:43 +00:00
bienvenu%netscape.com 97a4d06a76 fix memory leak of nsIURI in Set and GetAttribute r=waterson 1999-10-15 02:59:37 +00:00
ftang%netscape.com bd9000ea54 landing keyEvent_19991004_BRANCH
bugs # see the log of the check in into branch
author/reviewer:
mozilla/layout/base/src/nsRangeList.cpp brade/mjudge
mozilla/layout/html/forms/src/nsGfxTextControlFrame.cpp brade/ftang
mozilla/layout/events/src/nsDOMEvent.cpp brade/joki
mozilla/layout/events/src/nsEventStateManager.cpp brade/joki
mozilla/widget/public/nsGUIEvent.h akkana/ftang
mozilla/widget/src/windows/nsWindow.cpp ftang/mjudge
mozilla/widget/src/windows/nsWindow.h ftang/mjudge
mozilla/widget/src/mac/nsTextAreaWidget.cpp brade/ftang
mozilla/widget/src/mac/nsMacEventHandler.cpp brade/simon
mozilla/widget/src/xpwidgets/nsKeyBindMgr.cpp brade/ftang
mozilla/widget/src/gtk/nsGtkEventHandler.cpp akkana/?
mozilla/widget/src/gtk/nsWidget.cpp erik/ftang
mozilla/layout/xul/base/src/nsTreeCellFrame.cpp brade/ftang
mozilla/editor/base/nsEditorEventListeners.cpp brade/akkana
mozilla/editor/base/nsHTMLEditor.cpp brade/akkana
mozilla/rdf/content/src/nsXULKeyListener.cpp ftang/saari
fix the master bug- 15693
fix at least, but not limited to, the following bugs
10158,11956,6053,9333,10901,14348,6449,11845,13016,14410,15657,15307,15842,13856
1999-10-14 18:27:01 +00:00
hyatt%netscape.com b2564031fe Landing re-architected command dispatcher. r=hangas(XUL/JS), saari(C++) 1999-10-14 10:58:25 +00:00
waterson%netscape.com fa01dc07d1 Add check-for-null-pointer to FireOnSelectHandler() to avoid crashing in the case where a select handler fires on an 'orphaned' node with no document. This can happen if a document is being destroyed and random scripts and events are still filtering through the system. 1999-10-13 08:02:02 +00:00
waterson%netscape.com a793e85d4b Add PR_LOG() calls to aid debugging. 1999-10-13 08:00:45 +00:00
waterson%netscape.com 24bc946a88 Fix 'commandupdater' nodes; make sure that they are hooked up correctly from the XUL content sink; factor code to appropriately deal with being called from two places. r=hyatt. 1999-10-13 00:43:46 +00:00
waterson%netscape.com ab20f5e245 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur 1999-10-12 02:10:08 +00:00
waterson%netscape.com 776523083a Misc cleanup, r=hyatt 1999-10-08 07:26:39 +00:00
waterson%netscape.com 181da7c5c9 Add elements to element map by 'ref', as well. 1999-10-08 07:26:14 +00:00
waterson%netscape.com cf46eeb0d6 Bug 15687. Make sure to test whether CreateTemplateBuilder() succeeded before dereferencing the builder we get back. r=rjc 1999-10-07 23:07:00 +00:00
waterson%netscape.com d9be66d476 Bug 15683. Hack to get the tree open. Don't SetParent(nsnull), <option> elements do funky stuff when the <option> is inside a <xul:template>. r=kmcclusk 1999-10-07 19:32:39 +00:00
waterson%netscape.com aeb760ef42 Bug 13910. Make sure to update element map for XUL (as well as HTML) elements when changing 'id' or 'ref' attributes. 1999-10-07 10:09:17 +00:00
waterson%netscape.com 77c0ea78ed Bug 13910. Make sure to add elements to the map by 'ref' attribute, as well. 1999-10-07 10:08:14 +00:00
rjc%netscape.com 3fc9b096de Add in CTOR/DTOR stuff for leak detection. Review: hyatt@netscape.com 1999-10-07 01:51:30 +00:00
vidur%netscape.com 5886af2ed2 Added document.width/document.height to nsIDOMNSDocument. Bug 961. R: troy 1999-10-06 20:33:58 +00:00
mgleeson1%netscape.com 4bab7f6ed0 r=waterson enums used in structs must be public members for HPUX 1999-10-06 18:56:03 +00:00
waterson%netscape.com c2e1281888 Fix incorrect use of CBufDescriptor that was causing persistence to flake. 1999-10-06 06:42:27 +00:00
waterson%netscape.com c68f1d3348 Suppress assertions with context menus for now. 1999-10-06 06:40:06 +00:00
waterson%netscape.com 90a7941440 Fix dumb leak. 1999-10-06 01:02:11 +00:00
kipp%netscape.com 2738c38f7f Support SizeOf methods 1999-10-05 23:47:46 +00:00
waterson%netscape.com 24d0a86133 Fix crasher when loading XUL in viewer and no localstore is present. 1999-10-05 22:22:40 +00:00
waterson%netscape.com 119e47a761 Bug 15301. Remove RDF graph from XUL content model construction. Landed XUL_19991005_BRANCH; see branch comments for detailed checkin information. r=shaver,hyatt. 1999-10-05 21:13:55 +00:00
norris%netscape.com 9c950a3a20 Fix 15458 "onLoadHandler does not work"
Reviewed by mstoltz.
1999-10-05 04:08:14 +00:00
rjc%netscape.com 5fea9b5df9 Fix bug # 15222: The composite datasource has a few operations which are somewhat "expensive". Have these behaviors on by default, but expose a method on the composite datasources so that they can be selectively turned off [for Mail/News, for example] if the capability is not needed/used (such as negative assertions). Review: waterson@netscape.com. Additional Mail/News Testing: putterman@netscape.com 1999-10-01 04:07:55 +00:00
waterson%netscape.com 3f8b996770 Fuck. These went in onto the tip and were supposed to be on the branch. Backing out. 1999-10-01 03:04:08 +00:00
waterson%netscape.com 5fe7965076 Initial checkin on XUL_19990930_BRANCH, the RDF-ectomy. Single XUL documents hobbling along. 1999-10-01 03:01:22 +00:00
waterson%netscape.com 031302a480 Bug 13908. Add code to hook up 'forward observer declarations'. r=hyatt. 1999-09-30 02:32:34 +00:00
saari%netscape.com 05078b007e Helping to fix M10 bug 14464 a: chofmann r: akkana Tested on Mac, Win, and Linux. 14464 requires other checkins to be fully fixed. 1999-09-29 00:49:11 +00:00
waterson%netscape.com 7cf756f47e Bug 14911. Revert sloppy checkin. The 'DocumentWillBeDestroyed' stuff was never meant to get checked in. It piggy-backed onto another bug fix; I wasn't careful. 1999-09-25 16:29:22 +00:00
waterson%netscape.com 1ffd4337ba Fix mac build bustage. 1999-09-24 20:39:26 +00:00
waterson%netscape.com 0f1bc3914b Bug 14754. Support '.database' attribute on HTML elements. Fix ref='...' support for HTML templates. r=rjc, a=chofmann 1999-09-24 19:49:15 +00:00
waterson%netscape.com 5636df21fa Bug 14752. Support '.database' attribute on HTML elements. Fix ref='...' support for HTML templates. r=rjc, a=chofmann 1999-09-24 19:49:12 +00:00
saari%netscape.com 113c961c8f A better fix for blocker #14464. Reviewed by Hyatt w. permission from leaf/choffman 1999-09-23 02:31:37 +00:00
law%netscape.com be924c200c Fixes for context menus; a=hyatt (I just pressed the keys he told me to :-) 1999-09-22 06:27:28 +00:00
waterson%netscape.com 75faa6e467 Make sure <keyset> tags are only hooked up when in the XUL namespace. Add an assertion if HTML element creation fails. 1999-09-22 01:22:42 +00:00
waterson%netscape.com fae395b32c Bug 14273. We weren't recursively creating 'container' contents for HTML elements. Fixed that. 1999-09-22 00:54:05 +00:00
saari%netscape.com 6df67e6af3 Changing broadcaster to use onbroadcast instead of oncommand. Adding the "braodcast" "commandupdate" and "input" events. Changed all xul observes nodes to use onbroadcast instead of onchange. 1999-09-21 23:02:35 +00:00
rpotts%netscape.com 83ade485d7 The document LoadGroup is now a nsWeakPtr... 1999-09-21 06:44:56 +00:00
waterson%netscape.com 4312c7deef Fix bugs with computing containment. 1999-09-21 05:57:47 +00:00
waterson%netscape.com 1f55ef82a2 Ok, so hyatt has a better way to do his frame hack. whatever. 1999-09-20 07:33:25 +00:00
waterson%netscape.com 04ab0fb6a4 Increase utility of 'cannot load datasource' message; special-case skip 'rdf:null'. 1999-09-19 22:51:15 +00:00
waterson%netscape.com 3a0a7fb408 Comment out 'element already in map' warning for now. 1999-09-19 22:42:55 +00:00
waterson%netscape.com 84b3af503f Fix GetContentSink() to addref pointer on the way out thru XPCOM boundary. Hyatt: that's 20 XPCOM Hail Mary's for you. 1999-09-19 19:58:04 +00:00
rpotts%netscape.com dd7e4f99f6 Changed GetDocumentLoadGroup(...) to be XPCom complient. THis helps prevent leaks when using nsCOMPtrs. 1999-09-18 06:34:24 +00:00
slamm%netscape.com 46a00d3389 Fix build warnings (rename 'tm' to 'value). 1999-09-18 02:15:00 +00:00
waterson%netscape.com c35f0fdac7 Bug 12649. Add support for 'parent' on <rule> tags. 1999-09-17 20:15:29 +00:00
waterson%netscape.com 0b2f0dfe51 Bug 13790. Okay, let's try that again, this time without the frills. 1999-09-17 04:29:53 +00:00
waterson%netscape.com ca364c4a84 Fix nsCOMPtr sloppiness. 1999-09-17 04:13:19 +00:00
waterson%netscape.com 18082a7be6 Back out changes that will cause bustage on some compilers. 1999-09-17 04:12:08 +00:00
waterson%netscape.com 2e319c75dd Bug 13970. Implement 'commandupdater=' attribute to hook up command udpater nodes to the XUL document's command dispatcher. Make API modifications to support command filtering. Some improvements to XUL document to factor out iteration code. 1999-09-17 04:01:46 +00:00
waterson%netscape.com 439dc1a5fe Whack out a bunch of dead code; add automatic 'id' attributes on html:frame and html:iframe tags (in preparation for some context menu magic by hyatt). 1999-09-16 04:19:46 +00:00
briano%netscape.com e879c25e61 General cleanup. 1999-09-15 23:36:43 +00:00
waterson%netscape.com ba1c80cb84 Fix HTML-rooted templates. 1999-09-15 20:08:37 +00:00
waterson%netscape.com 9871711569 Use nsCOMPtr for the controller. 1999-09-15 20:06:32 +00:00
slamm%netscape.com 500604046f Fix build warnings. 1999-09-15 18:14:02 +00:00
harishd%netscape.com f929f5b42a CreateXIF() and ToXIF() should return nsresult. 1999-09-15 17:57:55 +00:00
hyatt%netscape.com 83740bbcf6 Fixing minor bug in command dispatcher. 1999-09-15 02:12:50 +00:00
waterson%netscape.com cca84203b0 Bug 13121. Deal with XUL documents that are created _before_ local store is available (e.g., because they come up before a profile has been selected). 1999-09-14 22:36:55 +00:00
waterson%netscape.com 5d44397356 Partial fix for bug 13768. Be sure to set eChildrenMustBeRebuilt flag _before_ appending child to content model; appending child to content model will cause layout to recur and possibly build up more content. 1999-09-14 22:34:05 +00:00
waterson%netscape.com 1ffd2a18f0 Strip some dead code. Re-enable sorting. 1999-09-14 02:07:46 +00:00
waterson%netscape.com 9eeb923bc3 Add some commentary. 1999-09-14 02:01:33 +00:00
waterson%netscape.com b4a0edce0f Fix comma at end of enumerator list. 1999-09-13 22:07:25 +00:00
waterson%netscape.com 18159223f1 Performance improvements. Make use of CBufDescriptor's where appropriate; replace attribute-based lazy bookkeeping with a private interface (non-XUL content can't be lazy, _anyway_). 1999-09-13 22:06:17 +00:00
warren%netscape.com fec02a32a9 Removed caps dependency from necko. Used nsCOMPtr for nsInputStreamChannel. 1999-09-11 18:45:36 +00:00
saari%netscape.com 4c5156cb71 Reworking of keybinding code for better efficiency, and fixed a few bugs too 1999-09-10 23:13:19 +00:00
hyatt%netscape.com 6eb6140c5f Popup work. 1999-09-10 08:49:32 +00:00
pinkerton%netscape.com 1ced9c9c7a correctly set target of dragenter/exit events. 1999-09-09 06:26:58 +00:00
rjc%netscape.com d95498c492 Add check for NS_RDF_NO_VALUE. 1999-09-09 00:58:08 +00:00
waterson%netscape.com b7838942d9 Fix hidden form element which I whacked out while being a bit over-zealous. 1999-09-08 08:28:14 +00:00
hyatt%netscape.com d0684b97b9 Fixing an error in the handleDomEvent function. 1999-09-08 08:06:28 +00:00
waterson%netscape.com 8b4c7b3b9d Remove SearchForNodeByID(). It's not necessary anymore now that all XUL content is build up-front. 1999-09-08 07:23:45 +00:00
waterson%netscape.com 52c3b2eed4 Gut the XUL builder. Build all XUL content up front. Remove 'id' attributes on anonymous nodes (except inside <template>s), remove 'lazycontent' attributes, 'xulcontentsgenerated' attributes. 1999-09-08 07:23:05 +00:00
rjc%netscape.com f2fbe41f4d Cache sort resource requests. 1999-09-08 03:04:45 +00:00
rjc%netscape.com 97371bc9eb Cache sort resources. 1999-09-07 07:27:49 +00:00
waterson%netscape.com 10c7210fc8 Replace nsRDFContentUtils with nsXULContentUtils, which can be acquired as a service. This allows it to keep cached member variables to other frequently-accessed services. 1999-09-07 02:51:13 +00:00
waterson%netscape.com 20bb759eb1 Re-write GetTextForNode() to be a bit more efficient; broke out data format. Bug 13137, fix broken use of CBufDescriptor. Add CBufDescriptors where appropriate. 1999-09-07 02:47:56 +00:00
waterson%netscape.com a4826d1767 Add nsXULContentUtils, eventually to replace nsRDFContentUtils. Not yet in the build though. 1999-09-06 22:25:45 +00:00
waterson%netscape.com 95326a887c Add nsIXULContentUtils. 1999-09-06 22:24:21 +00:00
waterson%netscape.com 52918f3ff4 Move APIs to create 'anonymous' resources into the RDF service. Fix stuff that was using it. 1999-09-06 19:35:41 +00:00
beard%netscape.com 38f9ba39de Temporary hack fix to keep native widgets working. 1999-09-05 17:21:33 +00:00
bruce%cybersight.com 75c1745097 Use nsAllocator for char* data. 1999-09-04 13:59:52 +00:00
saari%netscape.com e2336532d9 Adding support for full keyboard to XUL keybinds 1999-09-04 01:25:55 +00:00
dougt%netscape.com dd5c903d9e Changes nsIAtom iterface to return a shared (non-allocated) wstring when
GetUnicode() is called.  (thanks waterson, jband)

Also fixing 12237.  (thanks jband).
1999-09-03 22:21:29 +00:00
waterson%netscape.com e9c4cf862a Stomach ill XUL that uses namespaces without declaring them. 1999-09-03 16:52:34 +00:00
waterson%netscape.com 69522f539b Change to use xul:tag instead of rdf:type as the meta-attribute that gets an element's tag info thru the graph. This was clashing with other 'normal' uses of rdf:type, and was working because of, er, another bug which I fixed by centralizing the namespace/attribute munging code. 1999-09-03 08:59:29 +00:00
waterson%netscape.com f26391e8ba Put the local store _first_, so that any persisted changes are picked up before default content. 1999-09-03 08:57:42 +00:00
waterson%netscape.com d7955a2a3f Add another routine for munging a namespace/attribute pair to a resource. 1999-09-03 08:56:56 +00:00
bruce%cybersight.com d602e5d399 Use nsCRT::free() instead of delete[] for char* data. 1999-09-03 07:53:26 +00:00
waterson%netscape.com cdc5abdb40 Persistence, again. 1999-09-03 07:02:25 +00:00
waterson%netscape.com 4978ccb6f2 Centralize the place from whence we whack namespace/attribute pairs into RDF properties. 1999-09-03 07:01:07 +00:00
hyatt%netscape.com 875857039a Changing reflow hint for the width attribute of tree cols so that we can get a reflow on a resize. 1999-09-03 03:25:11 +00:00
pinkerton%netscape.com 0d2e26c6f6 hookup the drag listener attributes. 1999-09-02 23:19:56 +00:00
waterson%netscape.com 9ed37acff5 Changed ParseNumericValue's declaration to match its definition. 1999-09-02 21:37:30 +00:00
waterson%netscape.com 76e6f7760c Fix bug that was causing insertion sort to _never_ run. Also, fix code that was looking for ID attribute during RDF:Seq detection. 1999-09-02 21:34:57 +00:00
waterson%netscape.com 16613c3e10 Use nsAutoString() to avoid heap allocation during automatic coercion of 'const char*' to nsStrings. 1999-09-02 21:34:17 +00:00
waterson%netscape.com fb11c273f1 Replace calls to nsRDFContentUtils::MakeElementURI() with MakeElementResource(), which is what we wanted anyway. Tweak SplitProperty to use GetValueConst(). 1999-09-02 21:33:53 +00:00
waterson%netscape.com 6b9f4e070d Use nsAutoString() to avoid heap allocation during automatic coercion of 'const char*' to nsStrings; get rid of dead code that was causing a call to SplitProperty. 1999-09-02 21:32:23 +00:00
waterson%netscape.com 1e71e7d09f Get rid of silly code that was converting a nsString to a naked unicode, which required automatic coercion _back_ to an nsString, this time using a copy on the heap :-/. 1999-09-02 21:31:22 +00:00
waterson%netscape.com b0fc39b600 Use bigger buffers to avoid spilling to the heap during string manipulation. 1999-09-02 21:29:46 +00:00
cls%seawood.org d2eaec27b2 Fix for gcc2.95 bustage. ANSI C++ forbids declaration of function with no type. 1999-09-02 21:06:34 +00:00
hyatt%netscape.com fc570b8b36 Fix for build bustage. 1999-09-02 02:09:21 +00:00
hyatt%netscape.com 9746e22b3e Adding support for proportional widths to tree columns. 1999-09-02 01:13:27 +00:00
putterman%netscape.com 798a890537 speedup building content. checkin for waterson. 1999-09-01 04:58:36 +00:00
cyeh%netscape.com 26effbde96 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:13:14 +00:00
waterson%netscape.com 591fd25c66 Don't add the RDF:instanceOf attribute to everything, dummy. 1999-09-01 00:50:33 +00:00
joki%netscape.com 6397eaf9f8 Adding new flag to the security check calls out of the DOM generated JS files. 1999-08-31 14:23:54 +00:00
nisheeth%netscape.com 5c883a4105 Added Get/Set methods to content IDs. An ID is used as a key to store state information about a content object and its associated frame object. The state information is stored in a dictionary that is manipulated by the frame manager (nsIFrameManager) inside layout. An opaque pointer to this dictionary is passed to the session history as a handle associated with the current document's state. 1999-08-31 10:06:17 +00:00
waterson%netscape.com 4195d84e46 Bug 12811. Fix frame system notifications s.t. as _few_ as possible get forwarded through to layout. Temporarily remove timer hacks from tree widget. 1999-08-31 06:40:41 +00:00
sdagley%netscape.com eec65081d9 First Checked In. 1999-08-30 13:39:06 +00:00
rjc%netscape.com c664827637 Try again. 1999-08-30 10:28:37 +00:00