Commit Graph

2147 Commits

Author SHA1 Message Date
hyatt%netscape.com
b5e18743bf Adding comments. 1999-11-30 11:37:17 +00:00
hyatt%netscape.com
43fcb3ac12 Adding some NS_ERRORs. r=gimpy 1999-11-30 11:35:16 +00:00
hyatt%netscape.com
b1f58dcf71 Working on code to enumerate installed skins, packages, and locales. r=gimpy 1999-11-30 11:33:44 +00:00
hyatt%netscape.com
2c2128d749 Adding idl for the chrome entry (used for enumeration of installed skins, packages and locales). r=gimpy 1999-11-30 09:37:58 +00:00
hyatt%netscape.com
074f2362e4 More skin goodness. r=gimpy 1999-11-30 09:29:43 +00:00
warren%netscape.com
2db26922a6 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
waterson%netscape.com
947d490060 Fix RemoveStyleSheet() per pierre's comments. 1999-11-30 04:33:28 +00:00
dougt%netscape.com
f66be6c30c fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
hyatt%netscape.com
7ab98f7f26 Adding RemoveStyleSheet to nsIDocument (needed for skins). r=waterson 1999-11-29 22:15:07 +00:00
waterson%netscape.com
96066ce400 Ooops. Fix 'component:' URI to have one slash, not two. 1999-11-29 21:28:46 +00:00
waterson%netscape.com
7e03717d55 Bug 20147. Make sure to correctly scope 'parent' when creating script objects. XUL document's parent is the window; XUL element's parent is the document. r=brendan 1999-11-29 20:53:40 +00:00
hyatt%netscape.com
9d73ef65cc More skin work. r=pavlov 1999-11-29 06:51:24 +00:00
tbogard%aol.net
85b5334721 nsXULDocument now uses the nsIBaseWindow interface for windowing stuff on webshell instead of nsIWebShell. This paves the way for the new docshell object to move in. 1999-11-29 06:04:15 +00:00
warren%netscape.com
96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
vidur%netscape.com
2f89fad454 Changed signature of AddScriptEventListener. Event handlers that are attributes of XUL elements are now compiled only when first invoked. R=joki 1999-11-25 00:06:10 +00:00
waterson%netscape.com
dd7c188516 More random flailing to fix gcc-2.7.2.3 1999-11-24 23:39:34 +00:00
waterson%netscape.com
1260e2100c Random flailing to fix gcc-2.7.2.3 bustage. 1999-11-24 23:19:52 +00:00
waterson%netscape.com
1eb45f5c91 Expose nsIXULDocument and nsIXULPrototypeDocument as public interfaces. Properly implement nsIXULDocument::CreateFromPrototype(). 1999-11-24 22:46:09 +00:00
waterson%netscape.com
42f49b9da2 Add methods to individually flush prototypes and style sheets. 1999-11-24 22:44:52 +00:00
waterson%netscape.com
47352eeda1 Bug 20036. Fix style sheet ordering. 1999-11-24 22:43:45 +00:00
waterson%netscape.com
0d8bcb5cc5 Add experimental support for RDF delegates. 1999-11-24 20:51:39 +00:00
akkana%netscape.com
fa4a9640bf More on 11818 (xulkey): make meta the default mac xulkey,
since platformGlobalOverlay.xul isn't loaded. r=brade
Also fix the mac and unix platformGlobalOverlay files
for when platformGlobalOverlay.xul merging gets fixed.
1999-11-24 20:44:56 +00:00
hyatt%netscape.com
b45807ee79 Closer to refresh of chrome on a skin switch. r=gimpy 1999-11-24 07:37:38 +00:00
tbogard%aol.net
af1ce8d410 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
hyatt%netscape.com
b122cc3084 blah. commenting out some stuff. r=me 1999-11-24 03:46:17 +00:00
hyatt%netscape.com
6841ac9216 Working on making windows refresh following a skin change. r=danm 1999-11-24 03:45:45 +00:00
hyatt%netscape.com
fab2ad83c9 Chrome registry skin switching implemented. r=danm 1999-11-24 01:12:35 +00:00
akkana%netscape.com
3d03085c9e 11818: Rename the special XUL key from "command" to "xulkey" so it won't
confuse people into thinking it has something to do with the Mac command key.
This means changing all the XUL keybinding files from command= to xulkey=.
r=brade.
1999-11-23 23:24:57 +00:00
waterson%netscape.com
29ae06a0cd Bug 19968. Just 'throw' if we can't create an RDF container on the thing. 1999-11-23 22:59:02 +00:00
waterson%netscape.com
6a66ff51fc Don't need to AddRef the resource before putting into an nsISupportsArray. 1999-11-23 22:36:50 +00:00
waterson%netscape.com
bbcae3b602 Fix leak of kRDF_nextVal; make construction/initialization safe. 1999-11-23 22:30:58 +00:00
waterson%netscape.com
122687beef Balance acquisition of RDF resources by releasing them in the dtor. 1999-11-23 22:30:27 +00:00
waterson%netscape.com
8662873fc9 Fix incorrect use of nsSupportsHashTable that was causing leakage. 1999-11-23 22:02:57 +00:00
tbogard%aol.net
214c6f7a18 Enabled nsXULElement to implement the nsIChromeEventHandler interface. r=hyatt 1999-11-23 09:36:39 +00:00
rjc%netscape.com
7b8ef00a40 One less loop (figured out what was preventing this). 1999-11-23 05:37:33 +00:00
rjc%netscape.com
08110eb10f Get rid of a warning. 1999-11-23 04:47:38 +00:00
rjc%netscape.com
2cba0e8647 Get rid of another signed/unsigned warning. 1999-11-23 04:44:52 +00:00
rjc%netscape.com
8c4f250de4 Get rid of a signed/unsigned warning. 1999-11-23 04:43:01 +00:00
rjc%netscape.com
f2baa21b51 Speed up sorting by reducing the # of times we loop over the list of nodes. Now, we loop over once to build up a flat array of nodes [qsort needs a flat array] and remove them from the content model, then we sort, then we loop again to re-add the now-sorted nodes, and finally we loop to check if any of the nodes is a container with children such that we need to recursively sort on it. [Note: I tried to combine the final two loops but the tree widget didn't like that. Oh well... its still a lot better than before.] 1999-11-23 04:39:29 +00:00
rjc%netscape.com
4fceaba909 When sorting, only set found="true" attribute if not a natural order sort. 1999-11-23 02:27:03 +00:00
rjc%netscape.com
895bfe63f8 Set some sorting hints on the root of the tree (allows for faster insertion sort, due to not having to look around for treecol tags; also makes it pretty easy for drag&drop code to determine if a sort is currently being imposed.) 1999-11-23 01:51:46 +00:00
waterson%netscape.com
eb971c4df2 Bug 19421. Brendan's fixes for brutal sharing of script, plus a 'placeholder channel' that ensures we don't fire the EndDocumentLoad() before the prototype walk completes. r=brendan 1999-11-23 01:44:51 +00:00
rjc%netscape.com
12d6f261c0 Better handling of natural order calculation on RDF sequences; add support for sorting in-between separators. 1999-11-23 01:02:55 +00:00
waterson%netscape.com
6470087e43 Add nsIRDFDelegateFactory.idl to Mac build. 1999-11-22 22:35:58 +00:00
waterson%netscape.com
f257bb0507 Add nsIRDFDelegateFactory to Win32 and Unix builds. 1999-11-22 22:33:11 +00:00
waterson%netscape.com
76ad965c84 Initial revision. Not yet in the build. 1999-11-22 22:32:27 +00:00
waterson%netscape.com
e3edc4a4c6 Tweak for chrome registry: don't hard-fail if stream cannot be opened. Allows creation of new RDF/XML datasources. r=hyatt 1999-11-22 20:53:09 +00:00
rjc%netscape.com
dc4a206fff Better handling of natural order calculate on RDF sequences. Makes drag&drop work fairly well in natural order. 1999-11-20 08:46:22 +00:00
norris%netscape.com
24778bda71 Modify generated dom code to use a enum rather than a string for codesize
and efficiency.
Tighten checks on document properties and node properties. Should resolve
several bugs:
18965 document.firstChild vulnerability
19043 document.childNodes vulnerability
19044 document.lastChild vulnerability
r=mstoltz
1999-11-20 07:28:34 +00:00
waterson%netscape.com
f4acc98b16 Bug 12734. Make check for duplicate insertions debug-only. Thanks to zee@northrock.bm 1999-11-20 07:13:25 +00:00
sfraser%netscape.com
5065e2a283 Workaround for bug 19421 -- no menus on mac. This is a problem with brutal sharing of overlays that waterson needs to fix. For now, turn off brutal sharing of scripts. r=brendan, saari. 1999-11-20 06:42:24 +00:00
brendan%mozilla.org
e291840c27 Followup to my last checkin: get list-unlink vs. ResumeWalk order right (r=waterson@netscape.com) 1999-11-20 03:10:42 +00:00
rods%netscape.com
f64b7ae035 removed select initialization code r=dcone bug 18241 1999-11-19 15:42:06 +00:00
buster%netscape.com
fdbc16704a bug 12022, r=rickg 1999-11-19 08:26:56 +00:00
bienvenu%netscape.com
2d8cd89204 small performance tweak for null id xul elements r=waterson 1999-11-19 01:31:36 +00:00
waterson%netscape.com
3377b72480 Finish #ifdef-ing MOZ_THREADSAFE_RDF. Appears an unused PRLock will
assert when being destroyed?!?
1999-11-18 09:06:50 +00:00
warren%netscape.com
59ef7fadbf Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
waterson%netscape.com
3c3b7dbdca Clean up some timing printfs. 1999-11-18 05:47:51 +00:00
brendan%mozilla.org
4849241687 Brutal JS script sharing (15146, r=waterson@netscape.com). 1999-11-18 02:25:33 +00:00
warren%netscape.com
34ecf73507 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
waterson%netscape.com
3af1eee9aa Fix build bustage: disambiguate nsXULDocument::State from nsForwardReference::State by renaming to nsForwardReference::Phase. 1999-11-17 03:20:03 +00:00
waterson%netscape.com
b20b076a88 Bug 13378. Make sure that we hook up any broadcasters that arrive in overlay subtrees. r=hyatt 1999-11-17 02:45:46 +00:00
rjc%netscape.com
d4c8bb0b9c Trim out some crufty/old unused code, and speed up sorting a bit by reducing the number of string copies. Review: me 1999-11-17 02:03:46 +00:00
rjc%netscape.com
ec301fa1ec Obsolete the "rdf:ftp" datasource. 1999-11-16 08:00:19 +00:00
jdunn%netscape.com
e871be6de2 Fixing all unresolved symbols on unix. The bug has the diff's
r dp@netscape.com (ramiro helped me with it)
# 18688
1999-11-16 06:02:31 +00:00
rjc%netscape.com
f4409da8dd Fix bug # 6637: removing old, crufty FTP datasource from build. Just removing file(s) and CIDs. Review: me 1999-11-16 05:37:30 +00:00
waterson%netscape.com
6ba54713f1 Bug 10469. Remove 'natural order position' stuff. Make sure that nsXULSortService::InsertContainerNode() does the right thing when presented with an unsorted tree. r=rjc 1999-11-16 05:34:13 +00:00
norris%netscape.com
5b4b0169aa * Fix 12124 [DOGFOOD] Reading user's preferences
* Implement site-specific security policies (bug 858)
r=mstoltz
* Use Recycle rather than delete[] to clean up Purify logs
r=law
1999-11-16 05:07:31 +00:00
tbogard%aol.net
8c8bbce9a7 Changed places where containers were set to use nsISupports instead of nsIContentViewerContainer. r=dp 1999-11-15 22:17:54 +00:00
tbogard%aol.net
4fffbc4bf8 Changed interfaces to take nsISupports for the container instead of nsIContentViewerContainer. nsXULDocument was for some reason holding on to this interface (as a weak reference) but was never using it. I have therefore gotten rid of this member variable. r=dp 1999-11-15 22:14:37 +00:00
putterman%netscape.com
7a6702f1b0 Partial fix for 10208. When adding items to a container, update the empty attribute. reviewed by
waterson.
1999-11-15 20:58:39 +00:00
rods%netscape.com
1cbaf268cf added the call DoneAddingContent for the select after it has been created.
r=dcone,bug 18784,16821
1999-11-15 15:11:33 +00:00
rjc%netscape.com
10a6f091ce XUL templates can now be specified via attribute instead of a child node of the root. Also, sorting info can now be specified on the root node, so now any RDF-generated content can be sorted (not just trees). Review: me 1999-11-14 11:10:34 +00:00
warren%netscape.com
7f04320416 Added NS_NewGenericModule. Made NS_IMPL_NSGETFACTORY use it to save space. r=dp,alecf 1999-11-12 09:07:26 +00:00
sfraser%netscape.com
111f3e2494 Oh, silly me. Warren's last change was on a branch. Putting nsNeckoUtil.h back. 1999-11-11 20:47:01 +00:00
sfraser%netscape.com
b4fdd9ec8f Somehow I managed to stomp on warren's last change (renaming of nsNeckoUtil.h to nsNetUtil.h). Putting that back. 1999-11-11 20:46:03 +00:00
sfraser%netscape.com
1d8bdd81f8 Fix for 18315 -- remember which rdf files you've tried, and failed, to open, to avoid trying over and over and over again. r=pavlov. 1999-11-11 20:42:31 +00:00
saari%netscape.com
823aa762d2 Fixing keybinding. Was using an nsDOMUIEvent interface when I should have been using nsDOMKeyEvent. Something chaged recently that exposed this bug. Also inserted a few nsCOMPtrs to fix leaks. R: waterson, mostly 1999-11-11 08:48:25 +00:00
putterman%netscape.com
7a34491281 Use get() instead of == 1999-11-11 01:22:59 +00:00
rjc%netscape.com
537f64c3da Add support for secondary key sort. Convert over to using nsCOMPtrs. Review: me 1999-11-10 23:50:34 +00:00
waterson%netscape.com
1d36d9329e Bug 18102. Consolidate element map, command dispatcher, and broadcaster hookup into AddSubtreeToDocument(). Fixes over-eager hookup of broadcast listeners into unresolved overlay elements, which left a dangling pointer. r=saari, a=chofmann 1999-11-08 19:07:13 +00:00
dmose%mozilla.org
142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
waterson%netscape.com
87b8e4a574 Bug 18058. Remove 'commandDispatcher' from interface; obsolete, and leaky. r=hyatt, a=chofmann 1999-11-05 05:31:15 +00:00
waterson%netscape.com
dfd9dd6eaa Bug 18058. Remove 'commandDispatcher' from interface; obsolete. r=hyatt, a=chofmann 1999-11-05 05:30:56 +00:00
waterson%netscape.com
f9b4723956 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
2728cb5577 Bug 17847. Fix 'commandupdater' hookup for master document. r=hyatt, a=chofmann 1999-11-04 18:37:58 +00:00
beard%netscape.com
932ec344f4 bug #17847, fix clobbering of mSlots->mAttributes in GetAttributes(). r=waterson, a=chofmann 1999-11-04 02:56:54 +00:00
hyatt%netscape.com
2da1dc5d17 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
a2dfa5b9b1 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
55489d1b93 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
1675be15e0 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
d2c5bedf2e Bug 13252. Build content for current template before recursing to build content for children. r=alecf. 1999-11-03 06:59:49 +00:00
warren%netscape.com
d3b9c9c3cc Structural changes for MakeAbsolute performance. bug#10736 r=valeski 1999-11-03 05:13:44 +00:00
cls%seawood.org
bee74e223b Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
alecf%netscape.com
4033a6f681 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
332749d6fa 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
050ad45bf2 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
e78a953005 Fix for bad refcount tracing. r=buster,nisheeth 1999-11-02 05:37:04 +00:00
waterson%netscape.com
22be6e4c41 Fix manky nsCOMPtr asserts. 1999-11-02 02:02:27 +00:00
pinkerton%netscape.com
b235ede1ff 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