Commit Graph

711 Commits

Author SHA1 Message Date
waterson%netscape.com
dce22b1ef1 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
f7a23e30ca Changed GetDocumentLoadGroup(...) to be XPCom complient. THis helps prevent leaks when using nsCOMPtrs. 1999-09-18 06:34:24 +00:00
slamm%netscape.com
35951bb528 Fix build warnings (rename 'tm' to 'value). 1999-09-18 02:15:00 +00:00
waterson%netscape.com
9ed3206e50 Bug 12649. Add support for 'parent' on <rule> tags. 1999-09-17 20:15:29 +00:00
waterson%netscape.com
d7bc730b0d Bug 13790. Okay, let's try that again, this time without the frills. 1999-09-17 04:29:53 +00:00
waterson%netscape.com
fe8d3ee23e Fix nsCOMPtr sloppiness. 1999-09-17 04:13:19 +00:00
waterson%netscape.com
6d9438412e Back out changes that will cause bustage on some compilers. 1999-09-17 04:12:08 +00:00
waterson%netscape.com
bd4a3e6792 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
3d51db0087 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
49a9c60d81 General cleanup. 1999-09-15 23:36:43 +00:00
waterson%netscape.com
9fe5928235 Fix HTML-rooted templates. 1999-09-15 20:08:37 +00:00
waterson%netscape.com
2927803d32 Use nsCOMPtr for the controller. 1999-09-15 20:06:32 +00:00
slamm%netscape.com
52e797192b Fix build warnings. 1999-09-15 18:14:02 +00:00
harishd%netscape.com
999afb72ec CreateXIF() and ToXIF() should return nsresult. 1999-09-15 17:57:55 +00:00
hyatt%netscape.com
664a5ace95 Fixing minor bug in command dispatcher. 1999-09-15 02:12:50 +00:00
waterson%netscape.com
57e13eb1a7 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
3a2015c4e4 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
8b8a1c6f93 Strip some dead code. Re-enable sorting. 1999-09-14 02:07:46 +00:00
waterson%netscape.com
dc3011656b Add some commentary. 1999-09-14 02:01:33 +00:00
waterson%netscape.com
360dad7171 Fix comma at end of enumerator list. 1999-09-13 22:07:25 +00:00
waterson%netscape.com
06ea3cca41 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
d3eb73be23 Removed caps dependency from necko. Used nsCOMPtr for nsInputStreamChannel. 1999-09-11 18:45:36 +00:00
saari%netscape.com
bceef857df Reworking of keybinding code for better efficiency, and fixed a few bugs too 1999-09-10 23:13:19 +00:00
hyatt%netscape.com
2412623576 Popup work. 1999-09-10 08:49:32 +00:00
pinkerton%netscape.com
e5d030d873 correctly set target of dragenter/exit events. 1999-09-09 06:26:58 +00:00
rjc%netscape.com
37e13748c5 Add check for NS_RDF_NO_VALUE. 1999-09-09 00:58:08 +00:00
waterson%netscape.com
ffbf1363d9 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
17d71e1b13 Fixing an error in the handleDomEvent function. 1999-09-08 08:06:28 +00:00
waterson%netscape.com
43eca09bd8 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
1d0ece4718 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
ba85e5af78 Cache sort resource requests. 1999-09-08 03:04:45 +00:00
rjc%netscape.com
293b334687 Cache sort resources. 1999-09-07 07:27:49 +00:00
waterson%netscape.com
49ac7e179a 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
5eecd7bc1a 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
e75207446c Add nsXULContentUtils, eventually to replace nsRDFContentUtils. Not yet in the build though. 1999-09-06 22:25:45 +00:00
waterson%netscape.com
22bff65eea Add nsIXULContentUtils. 1999-09-06 22:24:21 +00:00
waterson%netscape.com
22f68c9558 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
21a954a42e Temporary hack fix to keep native widgets working. 1999-09-05 17:21:33 +00:00
bruce%cybersight.com
4921b1d83b Use nsAllocator for char* data. 1999-09-04 13:59:52 +00:00
saari%netscape.com
5feefa7589 Adding support for full keyboard to XUL keybinds 1999-09-04 01:25:55 +00:00
dougt%netscape.com
028f11d2bf 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
ff4f3a9ad4 Stomach ill XUL that uses namespaces without declaring them. 1999-09-03 16:52:34 +00:00
waterson%netscape.com
68981b46fa 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
7a6584f998 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
6e82604958 Add another routine for munging a namespace/attribute pair to a resource. 1999-09-03 08:56:56 +00:00
bruce%cybersight.com
f67b510aa5 Use nsCRT::free() instead of delete[] for char* data. 1999-09-03 07:53:26 +00:00
waterson%netscape.com
2239643aca Persistence, again. 1999-09-03 07:02:25 +00:00
waterson%netscape.com
a996d7fb19 Centralize the place from whence we whack namespace/attribute pairs into RDF properties. 1999-09-03 07:01:07 +00:00
hyatt%netscape.com
5c7402981c 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
bdda0f539f hookup the drag listener attributes. 1999-09-02 23:19:56 +00:00
waterson%netscape.com
fea6bb1b19 Changed ParseNumericValue's declaration to match its definition. 1999-09-02 21:37:30 +00:00
waterson%netscape.com
c82d0aba3a 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
07fe48827b 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
2d4a0bffa0 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
cc0fb78f13 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
721ee62325 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
e31f9fb786 Use bigger buffers to avoid spilling to the heap during string manipulation. 1999-09-02 21:29:46 +00:00
cls%seawood.org
7c07dc5b09 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
8a00f5b25e Fix for build bustage. 1999-09-02 02:09:21 +00:00
hyatt%netscape.com
c7a01f28f9 Adding support for proportional widths to tree columns. 1999-09-02 01:13:27 +00:00
putterman%netscape.com
702944dcc2 speedup building content. checkin for waterson. 1999-09-01 04:58:36 +00:00
cyeh%netscape.com
34cd2ddae1 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:13:14 +00:00
waterson%netscape.com
0d9a1c076b Don't add the RDF:instanceOf attribute to everything, dummy. 1999-09-01 00:50:33 +00:00
joki%netscape.com
155255be20 Adding new flag to the security check calls out of the DOM generated JS files. 1999-08-31 14:23:55 +00:00
nisheeth%netscape.com
a3d25a6149 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
c1ca0ebd36 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
b2df6c619b First Checked In. 1999-08-30 13:39:06 +00:00
rjc%netscape.com
58afb3537f Try again. 1999-08-30 10:28:37 +00:00
rjc%netscape.com
230b63671a Small fix. 1999-08-30 10:26:55 +00:00
rjc%netscape.com
658964332a Cleanup a bit, and fix bug # 11516. 1999-08-30 10:05:40 +00:00
waterson%netscape.com
c4bed8ca91 Clean up compiler warnings. 1999-08-30 03:18:06 +00:00
waterson%netscape.com
6e2ab0076d 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. 1999-08-30 02:45:54 +00:00
norris%netscape.com
d8507f844e * clean up nsScriptSecurityManager
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments
1999-08-29 21:58:42 +00:00
saari%netscape.com
810779a514 Fixing xul keybinding issues 1999-08-27 20:59:21 +00:00
hyatt%netscape.com
de2f28c95a Fixes to enable the command dispatcher to properly instantiate. 1999-08-27 07:54:06 +00:00
rjc%netscape.com
10489e5a86 Just forward reference. Don't know how it ever compiled with it. 1999-08-27 07:05:17 +00:00
rjc%netscape.com
9aaa789317 Now generating nsIXULSortService.h via IDL so removing this old/obsolete header file. 1999-08-27 07:02:01 +00:00
rjc%netscape.com
ac60dd64be Now generating nsIXULSortService via IDL. 1999-08-27 07:00:39 +00:00
rjc%netscape.com
2528124539 Add nsIXULSortService 1999-08-27 06:54:08 +00:00
waterson%netscape.com
c4e7dd07c2 Bug 12270. XUL builder was ok. Fixed generic builder to do the right thing. 1999-08-26 04:29:15 +00:00
waterson%netscape.com
7b7f065d98 Bug 12470. Check for null pointer in SetParent(); occurs during teardown. 1999-08-26 04:28:47 +00:00
waterson%netscape.com
43b89f11ed Bug 12254. Fix templates that are built inside of or use nested HTML. 1999-08-25 07:56:52 +00:00
ramiro%netscape.com
f2b29e5760 NS_RELEASE -> NS_IF_RELEASE. 1999-08-25 04:04:51 +00:00
hyatt%netscape.com
49d00452b7 Changing focus tracker to be the command dispatcher. 1999-08-25 01:49:24 +00:00
harishd%netscape.com
8ef5e0bd42 Commenting out a pre-condition in EndLoad() method.
Approved by waterson.
1999-08-24 18:37:05 +00:00
sfraser%netscape.com
df04fe1c2d Make sure that mAttributeList is initialized to null. 1999-08-24 00:59:30 +00:00
hyatt%netscape.com
29b55c601b Fixing the focusable content method so that only trees (and not tree cells)
are focusable.
1999-08-24 00:43:03 +00:00
jdunn%netscape.com
83156768b1 HP requires a newline at the end of the file 1999-08-24 00:33:18 +00:00
hyatt%netscape.com
cf77b893a6 Implemented element-level capturing in the XUL DOM. 1999-08-23 07:26:57 +00:00
hyatt%netscape.com
64403860de Tweaking capturing. Still doesn't work for elements though. 1999-08-23 05:32:55 +00:00
hyatt%netscape.com
d5efaf0261 Teaching the RDF element about the concept of being focusable. 1999-08-23 05:20:14 +00:00
hyatt%netscape.com
b77644e753 Fix for several bugs (12299, 12289, 12295). 1999-08-23 01:13:29 +00:00
hyatt%netscape.com
97025b35ec Mmmm-hmmm. 1999-08-22 08:11:27 +00:00
hyatt%netscape.com
27156d3fe7 Making sure the onselect handler gets fired. 1999-08-22 08:01:13 +00:00
hyatt%netscape.com
576659f909 More selection work. 1999-08-22 06:53:01 +00:00
hyatt%netscape.com
46340eebe5 Checking in the selection implementation (with more functions added). 1999-08-22 06:31:00 +00:00
hyatt%netscape.com
b8cf1c5a5d Implemented all of the tree widget selection APIs but ranged selection (which will
be fun and nasty).
1999-08-22 06:17:16 +00:00
hyatt%netscape.com
850b37e110 Defining the selection API for the tree widget. Stubbed all of the functions.
Now I just have to implement them all.
1999-08-22 06:01:52 +00:00
hyatt%netscape.com
739aa6fc11 Tweaking comments. 1999-08-21 20:42:17 +00:00
hyatt%netscape.com
91a63df44f Stubbing out the selection implementation. Need to fill in the empty if
statements next.
1999-08-21 20:39:29 +00:00