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
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
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
bruce%cybersight.com
4921b1d83b
Use nsAllocator for char* data.
1999-09-04 13:59:52 +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
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
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
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
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
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
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
hyatt%netscape.com
de2f28c95a
Fixes to enable the command dispatcher to properly instantiate.
1999-08-27 07:54:06 +00:00
rjc%netscape.com
2528124539
Add nsIXULSortService
1999-08-27 06:54:08 +00:00
rjc%netscape.com
9be4830f5d
Add nsIXULSortService.idl
1999-08-27 06:52:34 +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
hyatt%netscape.com
0c1ba81710
Adding more to the tree's idl.
1999-08-21 20:23:56 +00:00
hyatt%netscape.com
7e7ed03bb4
Checking in changes that teach the tree element how to have its own
...
array of selected items and cells.
1999-08-21 19:53:39 +00:00
hyatt%netscape.com
2896ff9442
Fixing broadcasters. The hookup wasn't happening correctly.
1999-08-21 19:30:53 +00:00
hyatt%netscape.com
9bd7a20027
The bustage is mine. Fixing it now.
1999-08-21 10:05:02 +00:00
hyatt%netscape.com
0a4a95a2ea
Fixing up the broadcaster stuff.
1999-08-21 09:13:14 +00:00
hyatt%netscape.com
7fcea47026
A complete rewrite of the broadcaster/observer system. Much improved.
1999-08-21 09:08:12 +00:00
dougt%netscape.com
32a9a77110
xpild-ing nsIAtom. Now nsIAtom is xpcom compliant.
1999-08-21 07:07:00 +00:00
hyatt%netscape.com
d819a08a33
Renaming onaction to oncommand.
1999-08-20 22:58:32 +00:00
waterson%netscape.com
7d7045cbd4
Resurrect delegation of XULTreeElement interface to an aggregate object.
1999-08-18 05:45:40 +00:00
waterson%netscape.com
e796040451
Add verbage.
1999-08-18 04:25:24 +00:00
waterson%netscape.com
8c885f534e
Re-added to support tree selection. Not yet in the build.
1999-08-18 03:21:26 +00:00
rjc%netscape.com
5ed11f9b0d
Fix bug # 10352: date sorting.
1999-08-11 06:24:56 +00:00
jband%netscape.com
167d0af817
fix for bug 11510
1999-08-10 05:11:47 +00:00
joki%netscape.com
11585608e8
Adding new onselect event. Also slight modification to ender text widget focus behavior
1999-08-07 23:18:35 +00:00
cls%seawood.org
3f1dcd11dc
Various fixes to let the tree compile with gcc 2.95:
...
String constants are now (const char *)s and must be explicitly cast to (char *).
operator new is expected to be empty or throw an expection instead of returning null. (ifdef'd for gcc 2.95+)
Stricter checks on register clobbering in embedded asm. (at least I think that's what it is)
Expects the main function to return int, not something similiar to it like PRInt32.
Still requires a tweak to remove -mno-486 from NSPR's *.mk files.
1999-08-07 06:01:31 +00:00
waterson%netscape.com
43c0b70372
Fix build warning.
1999-08-06 20:34:55 +00:00
waterson%netscape.com
5e0dfa201e
Fix --pedantic bustage.
1999-08-06 18:36:50 +00:00
waterson%netscape.com
b51825bc1d
Bug 8159. Fix circularity between content model builder and composite datas source (via 'observer' which now refcounts). Destruction of a XULDocumentImpl now forces builder to do out-of-band release on composite datasource.
1999-08-06 17:59:05 +00:00
waterson%netscape.com
0a6a7275b1
Bug 9474. Use NodeList script object, _not_ HTMLCollection. Gutted code that was aggregating HTMLCollection.
1999-08-04 05:45:09 +00:00
waterson%netscape.com
0035d5bbb3
Fix silent failure from JS on firstChild. Clean up other baby-eating methods.
1999-08-04 02:26:26 +00:00
rjc%netscape.com
3b08048ac8
Persist attributes via the content model only.
1999-08-01 03:24:18 +00:00
waterson%netscape.com
a0ea173e2f
Bugs 10640, 10689. Fix assertions when opening a folder. Crude performance improvement for asynchronously generated content in tree controls.
1999-07-31 00:03:45 +00:00
rjc%netscape.com
931e33f799
Hook up persistent (via the localstore).
1999-07-30 23:42:41 +00:00
waterson%netscape.com
a5d129b99b
Bug 10617. Get folder performance back. We now _do not_ tell layout about individual content that gets appended during CreateContainerContents(), and instead wait until we've constructed all child nodes to do a ContentChanged() notification.
1999-07-28 05:21:22 +00:00
waterson%netscape.com
d9a7613550
Implement RemoveWidgetItem(). Whoops.
1999-07-28 02:53:49 +00:00
putterman%netscape.com
5638dcc255
GetResource first looks at ref. checkin for waterson.
1999-07-27 23:02:13 +00:00
waterson%netscape.com
952e4e3de7
Fix --pedantic bustage.
1999-07-27 18:04:55 +00:00
waterson%netscape.com
91a8ac09e7
Land TEMPLATE_19990726_BRANCH; RDF C++ content model builder exorcism.
1999-07-27 17:20:28 +00:00
waterson%netscape.com
b30b439a4c
Re-add. Wasn't meant to be deleted yet.
1999-07-27 03:03:25 +00:00
waterson%netscape.com
3e44429c51
Native builder exorcism. Long live templates.
1999-07-27 02:40:40 +00:00
hyatt%netscape.com
8e2cd2600e
Adding the menu events to the event map.
1999-07-26 09:18:57 +00:00
hyatt%netscape.com
52037238fa
Fixing the problem where a blank space appears at the top of every XUL file.
1999-07-25 04:38:57 +00:00
waterson%netscape.com
d1e0dbad12
Fix computation of empty containers.
1999-07-22 05:11:52 +00:00
rjc%netscape.com
0d632627c1
Set empty="false" attribute even if container is closed.
1999-07-22 00:49:50 +00:00
putterman%netscape.com
60f0c0a65e
Messenger Copy/Move menus now show menuitems instead of all menus.
1999-07-22 00:26:00 +00:00
rjc%netscape.com
ce1364e264
Now update "empty" attribute as children count changes.
1999-07-21 23:10:07 +00:00
rjc%netscape.com
1ed51dd105
Ensure that we have a value.
1999-07-21 23:02:35 +00:00
troy%netscape.com
36264ba5ab
Change to StartLayout(): moved call to EnableRefresh() to before the InitialReflow()
...
call to work around a bug in the compositor
1999-07-21 04:47:15 +00:00
bienvenu%netscape.com
5ade5dfee3
checkin jefft's fix mailnews startup crash
1999-07-20 17:32:43 +00:00
rjc%netscape.com
c8406785e0
Work harder at getting the REAL parent container when determining if the parent container is a RDF_Seq during a natural order sort.
1999-07-20 09:04:24 +00:00
warren%netscape.com
bf8423a769
Changed around load group insertion/removal to happen on mozilla thread.
1999-07-20 08:46:33 +00:00
rjc%netscape.com
0708ffd2ac
Only support sorting on RDF Seqs if container is actually a RDF_Seq itself.
1999-07-20 05:20:32 +00:00
rjc%netscape.com
e236e64c7d
Fix for bug #9899 : set "empty" attribute on containers if they appear to be empty.
1999-07-20 04:21:24 +00:00
rjc%netscape.com
395b5ec7a8
Oops... PR_FALSE instead of just FALSE.
1999-07-20 03:14:34 +00:00
rjc%netscape.com
cbda70fa34
Add support for sorting RDF_Seqs when in natural order sort mode.
1999-07-20 03:13:15 +00:00
joki%netscape.com
d752334449
Updating DOM event apis and changing behavior to properly respect capturing, bubbling, and cancellation methods.
1999-07-19 19:54:34 +00:00
waterson%netscape.com
e55647074b
Bug 6873. Performance improvements to the generic builder. The template builder now instantiates template content 'lazily' when the frame system asks for it.
1999-07-19 19:18:10 +00:00
rickg%netscape.com
23b232d248
switch to faster string search API
1999-07-19 03:29:56 +00:00
rjc%netscape.com
c62018929a
Fix a warning by tossing out some old debugging code.
1999-07-18 08:25:24 +00:00
mjudge%netscape.com
c0b1525970
massive checkin for selection. adjusting nsIDOMSelection api and nsIFrameSelection. many "small" changes. this is not as bad as it looks. layout will not be affected other than "getter" calls for selection. and all consumers of selection should be in good shape.
1999-07-18 02:27:19 +00:00
peterl%netscape.com
3a3725dcca
clean up some string usage
1999-07-18 00:01:21 +00:00
rjc%netscape.com
ba2f8f9be7
Use application locale when sorting with collation service; fix for bug #9968 .
1999-07-17 21:36:17 +00:00
warren%netscape.com
84bd74a4fd
Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome).
1999-07-16 11:14:36 +00:00
hyatt%netscape.com
1146e0fe11
Initializing a member variable to nsnull.
1999-07-16 08:26:42 +00:00
hyatt%netscape.com
592408790f
Continuing XUL overlay work.
1999-07-16 07:10:20 +00:00
waterson%netscape.com
e858075361
Performance tweaks to SetAttribute(): minimize string compares by using atoms to set up event listeners; silly fixes to broadcaster push code.
1999-07-16 04:05:53 +00:00
waterson%netscape.com
159456c774
Don't set up the composite datasource and XUL builder until immediately before we start to layout the document; this avoids a bunch of useless OnAssert()'s getting propogated and dropped.
1999-07-16 04:03:52 +00:00
rjc%netscape.com
5cea898d16
Add check for null.
1999-07-15 09:20:54 +00:00
waterson%netscape.com
fb0dd58baf
Bug 8514. Add support s.t. 'ref=' changes will re-root a tree control (or other RDF-generated content).
1999-07-15 01:22:59 +00:00
rjc%netscape.com
7cfab409c1
Use GetTextForNode() more, as well as use GetValueConst().
1999-07-14 21:13:13 +00:00
waterson%netscape.com
a475eefcf3
Bug 8318. Don't include rdf:local-store in the generic builder until we have all of the persistence issues sorted out.
1999-07-12 18:24:26 +00:00
waterson%netscape.com
99a3ebae55
Bug 8854. Fix CloseWidgetItem() to play nice with mixture of XUL and RDF content.
1999-07-09 20:41:41 +00:00
hyatt%netscape.com
e710d64d06
Fixing redraw problems on initial show of window.
1999-07-07 22:34:10 +00:00
waterson%netscape.com
a3fd49276e
Bug 7722. PR_LOG instead of assert when an attempt is made to create element with a bogus namespace.
1999-07-07 06:52:21 +00:00
rjc%netscape.com
62c5b9e788
Small insertion fix.
1999-07-07 06:34:18 +00:00
rjc%netscape.com
2224f3cb34
Now able to sort by dateLiterals and intLiterals too. <Whee>
1999-07-07 05:32:07 +00:00
waterson%netscape.com
dd1a7d4110
Fix compiler warnings.
1999-07-07 04:26:24 +00:00
waterson%netscape.com
25d4abb1e7
Remove XUL_TEMPLATES and XUL_TEMPLATE_ASSERTIONS #ifdefs. Add FALLBACK_BUILDERS #ifdef that (when removed) will turn off the C++ builders for constructing content.
1999-07-07 01:31:00 +00:00
peterl%netscape.com
39583487e8
fixed css quirk support in XUL
...
removed dead code
1999-07-07 01:17:21 +00:00
peterl%netscape.com
c1cc052229
sync to styled content api change
1999-07-07 01:16:56 +00:00
hyatt%netscape.com
5101e52906
Trying to fix build bustage.
1999-07-06 18:53:41 +00:00
hyatt%netscape.com
29aef8ae97
Will do intrinsic sizing when the window is really small (doesn't have to be
...
0, since Linux barfs on that).
1999-07-05 16:54:14 +00:00
hyatt%netscape.com
73b08a974d
Checking in support for intrinsic sizing of chrome.
1999-07-04 04:09:54 +00:00
waterson%netscape.com
62530d62af
Implement OnChange() on the Generic and XUL builders.
1999-07-03 02:41:13 +00:00
hyatt%netscape.com
a14d2e671e
Making sure the default scrolling behavior for a webshell in XUL is
...
OVERFLOW_HIDDEN always. Scrolling behavior set on the box itself
can be used to enable scrolling.
1999-07-02 05:29:18 +00:00
hyatt%netscape.com
fa48a0b102
Fixing StartLayout so that it asserts and leaves the function if no root
...
content is available.
1999-07-01 07:34:19 +00:00
pinkerton%netscape.com
cd99200170
don't include nsHTMLAtoms.h since it's bad, and not needed anyway.
1999-07-01 06:47:31 +00:00
pinkerton%netscape.com
f57e5480a5
don't show tooltip when node is disabled, use both the global and local coordinates when showing a tooltip so alignment will work. added some debug stuff to track down why mac isn't doing screen coords correctly.
1999-07-01 06:27:42 +00:00
rjc%netscape.com
bc9d03d879
Use a binary insertion sort. (Note: there is a conditional near the top of the file that can turn off the binary insertion sort and revert back to the older, slower code, in case of any weird bugs I haven't caught.) For the moment, its turned ON as I haven't seen any problems with it.
1999-07-01 01:55:09 +00:00
waterson%netscape.com
2bc96a3bce
Bug 9098. Remove NS_PRECONDITION, as this can happen normally as part of teardown.
1999-07-01 01:21:14 +00:00
pinkerton%netscape.com
2fb58822af
go back to using static define instead of GetIID for one part of QI because of win32 compiler. i hate it, but until i can talk to scc....
1999-07-01 00:54:46 +00:00
pinkerton%netscape.com
358bcc130a
Changing CreatePopup to return the popup. Adding a bunch of stuff for tooltips to the popup code. Fixing some bugs in webshell with loading malformed popups. Renamed "popup" to "popupElement" in the document and added "tooltipElement" as well.
1999-07-01 00:07:41 +00:00
nisheeth%netscape.com
6e140506a0
Adding the architecture for an external transformation engine to hook into Raptor's layout process. One way this architecture can be used is for doing XSL transforms using a 3rd party component that implements the XSL processor. More details will be posted in mozilla.layout.
...
Currently enabled on windows only. Set MOZ_XSL to 1 in your environment and build mozilla/layout.
1999-06-28 14:12:07 +00:00
warren%netscape.com
fbd6d1dc57
Necko ifdefs for layout and rdf.
1999-06-26 06:36:26 +00:00
rjc%netscape.com
b71e65cc64
Only set natural order attribute on the containment element.
1999-06-25 09:32:43 +00:00
rjc%netscape.com
990539b30a
Unset sortActive and sortDirection attributes if "natural order" is being used.
1999-06-25 09:19:29 +00:00
rjc%netscape.com
d61393dde8
Get sorting working with new tree structure. Basically, just look for treechildren instead of treebody when walking down from the root of the tree.
1999-06-25 06:47:28 +00:00
warren%netscape.com
32d4f24430
Changed URLGroup to LoadGroup
1999-06-25 02:31:51 +00:00
warren%netscape.com
4001aade80
Renamed nsIURLGroup to nsILoadGroup in preparation for necko.
1999-06-25 02:17:37 +00:00
waterson%netscape.com
b6f0320775
Fix use of nsString with nsAutoString where appropriate.
1999-06-24 21:19:02 +00:00
waterson%netscape.com
4b1f9242e4
Land RDF_19990617_BRANCH. Add Change() and Move() methods to nsIRDFDataSource; add OnChange() and OnMove() methods to nsIRDFObserver. Factor nsIRDFDatasource::Init() and ::Flush() into nsIRDFRemoteDataSource. Change ownership model s.t. a datasource reference counts its observers.
1999-06-24 00:22:58 +00:00
hyatt%netscape.com
fc69b0751c
Fix for 8735.
1999-06-23 07:21:11 +00:00