Commit Graph

718 Commits

Author SHA1 Message Date
waterson%netscape.com
cd70a9dc8f 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_).
git-svn-id: svn://10.0.0.236/trunk@47179 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 22:06:17 +00:00
warren%netscape.com
d54498ba38 Removed caps dependency from necko. Used nsCOMPtr for nsInputStreamChannel.
git-svn-id: svn://10.0.0.236/trunk@46961 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 18:45:36 +00:00
hyatt%netscape.com
d553d5c9ef Popup work.
git-svn-id: svn://10.0.0.236/trunk@46744 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 08:49:32 +00:00
pinkerton%netscape.com
a6da1bb2ad correctly set target of dragenter/exit events.
git-svn-id: svn://10.0.0.236/trunk@46532 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 06:26:58 +00:00
rjc%netscape.com
94ad1ded97 Add check for NS_RDF_NO_VALUE.
git-svn-id: svn://10.0.0.236/trunk@46473 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 00:58:08 +00:00
hyatt%netscape.com
62f7cfdd85 Fixing an error in the handleDomEvent function.
git-svn-id: svn://10.0.0.236/trunk@46332 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 08:06:28 +00:00
waterson%netscape.com
d456312d2c Remove SearchForNodeByID(). It's not necessary anymore now that all XUL content is build up-front.
git-svn-id: svn://10.0.0.236/trunk@46330 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 07:23:45 +00:00
rjc%netscape.com
69381689e8 Cache sort resource requests.
git-svn-id: svn://10.0.0.236/trunk@46279 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 03:04:45 +00:00
rjc%netscape.com
0333ac20ae Cache sort resources.
git-svn-id: svn://10.0.0.236/trunk@46165 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 07:27:49 +00:00
waterson%netscape.com
90f23fe150 Replace nsRDFContentUtils with nsXULContentUtils, which can be acquired as a service. This allows it to keep cached member variables to other frequently-accessed services.
git-svn-id: svn://10.0.0.236/trunk@46150 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 02:51:13 +00:00
waterson%netscape.com
0526c2e65b Re-write GetTextForNode() to be a bit more efficient; broke out data format. Bug 13137, fix broken use of CBufDescriptor. Add CBufDescriptors where appropriate.
git-svn-id: svn://10.0.0.236/trunk@46149 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 02:47:56 +00:00
waterson%netscape.com
1fe8a98f1e Add nsXULContentUtils, eventually to replace nsRDFContentUtils. Not yet in the build though.
git-svn-id: svn://10.0.0.236/trunk@46137 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 22:25:45 +00:00
bruce%cybersight.com
7bc6267a19 Use nsAllocator for char* data.
git-svn-id: svn://10.0.0.236/trunk@46006 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-04 13:59:52 +00:00
dougt%netscape.com
baeab23036 Changes nsIAtom iterface to return a shared (non-allocated) wstring when
GetUnicode() is called.  (thanks waterson, jband)

Also fixing 12237.  (thanks jband).


git-svn-id: svn://10.0.0.236/trunk@45945 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 22:21:29 +00:00
waterson%netscape.com
90e70306f5 Put the local store _first_, so that any persisted changes are picked up before default content.
git-svn-id: svn://10.0.0.236/trunk@45862 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 08:57:42 +00:00
bruce%cybersight.com
0e7571f80a Use nsCRT::free() instead of delete[] for char* data.
git-svn-id: svn://10.0.0.236/trunk@45851 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 07:53:26 +00:00
waterson%netscape.com
1d9324b48d Persistence, again.
git-svn-id: svn://10.0.0.236/trunk@45846 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 07:02:25 +00:00
hyatt%netscape.com
c9773075c4 Changing reflow hint for the width attribute of tree cols so that we can get a reflow on a resize.
git-svn-id: svn://10.0.0.236/trunk@45816 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 03:25:11 +00:00
pinkerton%netscape.com
d19ca59d3c hookup the drag listener attributes.
git-svn-id: svn://10.0.0.236/trunk@45782 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 23:19:56 +00:00
waterson%netscape.com
b3b0ff1b2a Changed ParseNumericValue's declaration to match its definition.
git-svn-id: svn://10.0.0.236/trunk@45752 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 21:37:30 +00:00
waterson%netscape.com
0233aa07f0 Fix bug that was causing insertion sort to _never_ run. Also, fix code that was looking for ID attribute during RDF:Seq detection.
git-svn-id: svn://10.0.0.236/trunk@45748 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 21:34:57 +00:00
waterson%netscape.com
da9ce4b322 Use nsAutoString() to avoid heap allocation during automatic coercion of 'const char*' to nsStrings.
git-svn-id: svn://10.0.0.236/trunk@45747 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 21:34:17 +00:00
waterson%netscape.com
41f54b7c88 Replace calls to nsRDFContentUtils::MakeElementURI() with MakeElementResource(), which is what we wanted anyway. Tweak SplitProperty to use GetValueConst().
git-svn-id: svn://10.0.0.236/trunk@45746 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 21:33:53 +00:00
waterson%netscape.com
fadcadea15 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.
git-svn-id: svn://10.0.0.236/trunk@45744 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 21:32:23 +00:00
waterson%netscape.com
639cffe609 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 :-/.
git-svn-id: svn://10.0.0.236/trunk@45743 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 21:31:22 +00:00
cls%seawood.org
cb1074c095 Fix for gcc2.95 bustage. ANSI C++ forbids declaration of function with no type.
git-svn-id: svn://10.0.0.236/trunk@45732 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 21:06:34 +00:00
hyatt%netscape.com
4bdc62dd9f Fix for build bustage.
git-svn-id: svn://10.0.0.236/trunk@45623 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 02:09:21 +00:00
hyatt%netscape.com
b3c543fda4 Adding support for proportional widths to tree columns.
git-svn-id: svn://10.0.0.236/trunk@45606 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 01:13:27 +00:00
putterman%netscape.com
2ccc4893e0 speedup building content. checkin for waterson.
git-svn-id: svn://10.0.0.236/trunk@45440 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 04:58:36 +00:00
nisheeth%netscape.com
9a418f414b 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.
git-svn-id: svn://10.0.0.236/trunk@45321 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 10:06:17 +00:00
waterson%netscape.com
c6f830f3c1 Bug 12811. Fix frame system notifications s.t. as _few_ as possible get forwarded through to layout. Temporarily remove timer hacks from tree widget.
git-svn-id: svn://10.0.0.236/trunk@45312 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 06:40:41 +00:00
rjc%netscape.com
69b50f0cc4 Try again.
git-svn-id: svn://10.0.0.236/trunk@45145 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 10:28:37 +00:00
rjc%netscape.com
4f2965aa1d Small fix.
git-svn-id: svn://10.0.0.236/trunk@45144 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 10:26:55 +00:00
rjc%netscape.com
f48f77a6f5 Cleanup a bit, and fix bug # 11516.
git-svn-id: svn://10.0.0.236/trunk@45143 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 10:05:40 +00:00
waterson%netscape.com
2e2b5b3f71 Clean up compiler warnings.
git-svn-id: svn://10.0.0.236/trunk@45123 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 03:18:06 +00:00
waterson%netscape.com
83f0108fa0 Content model whackage. Remove all code that tried to keep the graph in sync with DOM changes. Regenerate JS from newer idlc compiler. Fix bug 12177. Fix miscellaneous breakage with templates.
git-svn-id: svn://10.0.0.236/trunk@45115 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 02:45:54 +00:00
norris%netscape.com
3a6d863c13 * clean up nsScriptSecurityManager
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments


git-svn-id: svn://10.0.0.236/trunk@45080 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 21:58:42 +00:00
hyatt%netscape.com
d74368e809 Fixes to enable the command dispatcher to properly instantiate.
git-svn-id: svn://10.0.0.236/trunk@44784 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 07:54:06 +00:00
rjc%netscape.com
deee6090e7 Add nsIXULSortService
git-svn-id: svn://10.0.0.236/trunk@44774 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 06:54:08 +00:00
rjc%netscape.com
c2b1a1ecf2 Add nsIXULSortService.idl
git-svn-id: svn://10.0.0.236/trunk@44773 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 06:52:34 +00:00
waterson%netscape.com
b3698a0c27 Bug 12270. XUL builder was ok. Fixed generic builder to do the right thing.
git-svn-id: svn://10.0.0.236/trunk@44640 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 04:29:15 +00:00
waterson%netscape.com
8aa306ab56 Bug 12470. Check for null pointer in SetParent(); occurs during teardown.
git-svn-id: svn://10.0.0.236/trunk@44639 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 04:28:47 +00:00
waterson%netscape.com
4038ca7196 Bug 12254. Fix templates that are built inside of or use nested HTML.
git-svn-id: svn://10.0.0.236/trunk@44472 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 07:56:52 +00:00
ramiro%netscape.com
700876c56f NS_RELEASE -> NS_IF_RELEASE.
git-svn-id: svn://10.0.0.236/trunk@44449 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 04:04:51 +00:00
hyatt%netscape.com
d6707c1e0b Changing focus tracker to be the command dispatcher.
git-svn-id: svn://10.0.0.236/trunk@44429 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 01:49:24 +00:00
harishd%netscape.com
912f0bc457 Commenting out a pre-condition in EndLoad() method.
Approved by waterson.


git-svn-id: svn://10.0.0.236/trunk@44312 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 18:37:05 +00:00
sfraser%netscape.com
abe9dd4f5d Make sure that mAttributeList is initialized to null.
git-svn-id: svn://10.0.0.236/trunk@44210 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 00:59:30 +00:00
hyatt%netscape.com
d3d2d0ed27 Fixing the focusable content method so that only trees (and not tree cells)
are focusable.


git-svn-id: svn://10.0.0.236/trunk@44195 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 00:43:03 +00:00
jdunn%netscape.com
d659b31764 HP requires a newline at the end of the file
git-svn-id: svn://10.0.0.236/trunk@44181 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 00:33:18 +00:00
hyatt%netscape.com
d9c84e2373 Implemented element-level capturing in the XUL DOM.
git-svn-id: svn://10.0.0.236/trunk@44125 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 07:26:57 +00:00