Commit Graph

595 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
f81481e074 Hold a strong ref to the node we plan to remove, since we want to use it after
removing it from the tree.  Bug 221494, r+sr=jst
2003-11-05 17:54:46 +00:00
peter%propagandism.org
e9bdf0c636 Fix for bug 126765 (Change NormalizeAttrString to GetAttrWithName). Original fix by Daniel Bratell and sicking, r=sicking, sr=jst. 2003-10-30 13:47:29 +00:00
bryner%brianryner.com
605cc06382 deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst. 2003-10-22 06:09:48 +00:00
varga%nixcorp.com
199cf9bc76 Changing my email address. 2003-10-21 15:35:57 +00:00
neil%parkwaycc.co.uk
a4ef7ac4a5 Bug 161452 Tree content and builder views may need to recheck empty status after children are removed based on patch by kyle yuan r=varga sr=bryner 2003-10-10 08:39:35 +00:00
neil%parkwaycc.co.uk
c06f3e743b Bug 221288 XUL tree builder abuses tree batching r=jan sr=alecf 2003-10-07 15:49:50 +00:00
bzbarsky%mit.edu
a972a3e501 Make presshell batch processing of style changes (using BeginUpdate/EndUpdate
notifications).  Bug 200931, r=peterv, sr=jst
2003-10-02 21:29:40 +00:00
bzbarsky%mit.edu
fff80d5874 Fix crash in XUL sort service -- unsigned ints are never less than 0... Bug
220516, r+sr=dbaron
2003-09-28 06:05:08 +00:00
jst%mozilla.jstenback.com
5037b2a4a2 Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org. 2003-09-27 04:18:26 +00:00
cls%seawood.org
1b51ba858c Set MODULE in makefiles at the top of a heirarchy so that module-deps lists are more precise and builds will have the proper order if some subdirs contain other modules. 2003-08-16 00:42:35 +00:00
timeless%mozdev.org
3d2cd91336 Bug 211290 PRBool nsTemplateMatchRefSet::Add doesn't check the return value of PL_DHashTableInit
r=dbaron sr=bz
2003-08-05 11:45:02 +00:00
timeless%mozdev.org
219eb03947 Bug 211286 void nsContentSupportMap::Init doesn't check the return value of PL_DHashTableInit
r=dbaron sr=bz
2003-08-05 11:41:14 +00:00
timeless%mozdev.org
8ea554ebaa Bug 211285 void nsRuleNetwork::Init doesn't check the return value of PL_DHashTableInit
r=dbaron sr=bz
2003-08-05 11:40:44 +00:00
bzbarsky%mit.edu
e2dae4d2f9 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:17:26 +00:00
varga%utcru.sk
fbd78f9fd1 Fix for bug 152209. unnecessary distinction between "content" and "treeitem" template conditions
r=neil, sr=bienvenu
2003-07-20 10:35:41 +00:00
chanial%noos.fr
316f244de3 bug 210196 Fix use of bookmarks root / top root as a target and correct caller of CanDropBeforeAfter
r=varga, sr=jag
2003-07-17 11:08:07 +00:00
jaggernaut%netscape.com
817298ce0b Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky 2003-07-14 07:37:39 +00:00
dbaron%dbaron.org
d85698fd40 Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky 2003-07-11 21:16:12 +00:00
varga%netscape.com
8334a1dd99 Fix for bug 202393. Add DOM class info for nsIXULTreeBuilder.
r=pike, sr=peterv
2003-07-08 21:10:52 +00:00
varga%netscape.com
3cd2cbee70 Fix for bug 145309. [turbo] On exit after unloading accts we are again loading accts because we are rebuilding tree
r=varga, sr=jag, patch by waterson
2003-07-08 13:56:58 +00:00
neil%parkwaycc.co.uk
44cffa15b1 Bug 209911 XUL tree blob sort ignores sort direction r=varga sr=jag 2003-06-25 08:46:31 +00:00
jst%netscape.com
947ba67a9d Fixing one more part of bug 209699. Replace NS_Convert* with Copy/Append*. r=dwitte@stanford.edu, sr=alecf@flett.org. 2003-06-21 00:26:28 +00:00
caillon%returnzero.com
4cc64cee34 Bug 209852. Remove |dont_QueryInterface|.
r=dbaron, sr=jag
2003-06-21 00:15:41 +00:00
brendan%mozilla.org
555de8f52e Use NS_REINTERPRET_CAST, not NS_STATIC_CAST, to go from void* native context type to opaque-here-without-jscntxt.h JSContext * (fixes HPUX build). 2003-06-20 01:47:31 +00:00
brendan%mozilla.org
e66f3155de Don't include private and unnecessary js header files. 2003-06-19 23:13:59 +00:00
caillon%returnzero.com
2df173e9c8 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
seawood%netscape.com
97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
varga%netscape.com
61a6cd0fb0 Fixing OS/2 bustage. 2003-05-23 13:04:24 +00:00
varga%netscape.com
717feaab4a Landing bookmarks changes.
Bug 205378 - Meta bug for changes in bookmarks sorting code
r=jag, sr=sspitzer, a=sspitzer,asa

The CloneResource() has been back ported from Firebird, originally
implemented by Pierre Chanial.
2003-05-23 12:03:40 +00:00
varga%netscape.com
03791fb613 Fix for bug 160140. sort in xul treecol does not use locale sensitive sorting.
r=neil, sr=jag
2003-04-23 06:01:50 +00:00
alecf%netscape.com
bff73e5ad2 fix for bug 199503 - consolidate layout atoms into the main layout atom lists
sr=bryner, r=jag
2003-04-02 23:02:40 +00:00
jst%netscape.com
b4cc5d4695 Fixing bug 124412. Making nsXULDocument inherit nsXMLDocument to avoid the need to duplicate a large amount of code in nsXULDocument. Also removing nsMarkupDocument and nsIDOMEventCapturer that are no longer needed. Changing the inheritance of nsIDOMXULDocument to avoid ~60 or so forwarding methods, and doing a *lot* of code cleanup. r=bugmail@sicking.cc, sr=peterv@netscape.com 2003-03-26 07:41:30 +00:00
alecf%netscape.com
8c50d0242a landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
sr=darin, r=dbaron
2003-03-25 18:55:59 +00:00
varga%netscape.com
a8670013de Landing bookmarks branch. Everything except mozilla/xpfe
Bug 196756 - Meta bug for major architectural changes in bookmarks code
r=jag, sr=bryner
2003-03-25 04:44:31 +00:00
alecf%netscape.com
b6584a77fb backout my static atom patch for now until I figure out the performance loss! :(
bug 195262
2003-03-21 20:13:08 +00:00
alecf%netscape.com
ecf24a2b78 fix for bug 195262:
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin

this is an experimental landing - if there are performance issues, I will back it out.
2003-03-21 06:26:32 +00:00
varga%netscape.com
794924246b Fix for bug 196485. Remove duplicate tokenizing method.
r=jag, sr=bryner
- nsTreeUtils::TokenizeProperties is the method used by both tree view implementations
2003-03-17 09:40:13 +00:00
varga%netscape.com
38a22efa6b Fix for bug 139290. Interaction between windows leads to doubled bookmarks.
r=bryner, sr=jag
- cache the open state of container instead of quering the data source every time
2003-03-16 11:29:02 +00:00
peterv%netscape.com
bc210f1afe Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv. 2003-03-05 15:08:41 +00:00
cbiesinger%web.de
9405eda256 190020 r=timeless sr=alecf GetResource should take AUTF8String 2003-02-25 19:02:00 +00:00
cbiesinger%web.de
5c60c82c78 191027 r=bzbarsky sr=dbaron nsXULContentUtils::Init() returning nonsense 2003-02-22 16:40:20 +00:00
varga%netscape.com
f31e17521a Fix for bug 192175. in trees, in a treecol with persist="sortActive" doesn't work in appropiate manner
r=varga, sr=jag, patch by afatecha@idea.com.py
2003-02-22 09:16:04 +00:00
neil%parkwaycc.co.uk
4837a0fde9 Bug 176370 folder pane performance regression r=varga sr=bienvenu 2003-01-17 14:13:47 +00:00
dbaron%dbaron.org
098bd15103 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 19:35:36 +00:00
alecf%netscape.com
eb68c35cd9 just fix a comment to reference the right variable
comment only, no reviewers
2003-01-07 23:12:37 +00:00
seawood%netscape.com
67ec8e4d79 Removing dos-newlines.
Fixing IRIX tinderbox bustage.
2003-01-06 21:43:09 +00:00
varga%netscape.com
47b8a34f6a Wallpaper fix for bug 84187.
r=waterson,sr=jag
original patch by waterson
2003-01-06 20:36:50 +00:00
peterv%netscape.com
d96051a4a2 Fix for bug 183999 (Modernize content). r=caillon, sr=bz. 2002-12-11 14:24:49 +00:00
peterv%netscape.com
2cd27f702a Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
sicking%bigfoot.com
b615fa9010 Bug 181808: Use macros to declare and implement nsIDocumentObserver
r=caillon sr=bz
2002-11-25 08:33:30 +00:00
timeless%mozdev.org
7a96034a49 Bug 180893 nsXULTemplateBuilder::Retract wastes cycles in an XXX writeme loop
r=varga sr=bz
2002-11-20 06:15:54 +00:00
varga%netscape.com
6a8aae7f71 Fix for bug 162542. Quick Search bar for Bookmarks Manager
r=timeless, sr=jag
2002-11-06 12:07:38 +00:00
varga%netscape.com
806c8a51d3 Fix for bug 134824. Column Sorting in the Download Manager has no effect.
r=neil, sr=jag, a=asa
2002-10-22 19:49:29 +00:00
seawood%netscape.com
57e08a3f3a Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00
hyatt%netscape.com
20a66be47e Fix for 172545, give datasources the ability to specify icons for XUL trees, r=varga, sr=jag 2002-10-04 08:26:36 +00:00
blakeross%telocity.com
693921e302 171460 - add parsetype attribute. r=hyatt sr=hewitt 2002-09-29 21:08:27 +00:00
dougt%netscape.com
68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
roc+%cs.cmu.edu
cb32a0f906 Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin 2002-08-24 14:41:28 +00:00
bryner%netscape.com
025fb3a058 Get rid of gcc3's numerous warnings about using <new.h> instead of <new> by creating a new #define, NEW_H, which should be used instead of <new.h> or <new>. This is so we can continue to support a couple of braindead compilers that don't accept <new>. Bug 155852, r=cls. 2002-08-19 03:50:27 +00:00
seawood%netscape.com
322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
seawood%netscape.com
301b1a4ca8 Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner

_IMPL_NS_VIEW

Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls
2002-08-07 06:08:00 +00:00
waterson%netscape.com
9e904c1573 Bug 132905. Wallpaper to avoid crash when we can't find a match. r=rjc, sr=alecf. 2002-07-03 16:59:29 +00:00
seawood%netscape.com
03ace271f0 Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
varga%utcru.sk
6671a0756a Fix for bug 127842 - Reload the Bookmark and History tab context menu in
sidebar crashes mozilla
r=bryner, sr=shaver
2002-06-21 12:18:48 +00:00
jst%netscape.com
262f28f900 Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com 2002-05-20 22:47:02 +00:00
varga%utcru.sk
0cc2ec0655 Fix for bug 142404 - nsXULTreeBuilder::Drop should enable drop if canDropBeforeAfter is true
r=varga, sr=hewitt
2002-05-15 19:51:08 +00:00
waterson%netscape.com
bb36eb4d2b Bug 132905. Tweak CreateTemplatecontents slightly to help isolate a topcrash. r=rjc, sr=alecf 2002-05-08 18:50:41 +00:00
alecf%netscape.com
9348ce8ac8 fix bug 139633 - as a part of freezing nsAString, move Left/Right/Mid back into nsString, and fix consumers to start using Substring()
r=jag, sr=darin
2002-04-29 20:29:54 +00:00
dbaron%fas.harvard.edu
07103ecbea Fix up and enable hierarchical :hover and remove the hacks that made :hover work for anchors without it. Pass mask rather than pseudo-class to ContentStatesChanged notifications. Optimize event state changes in the style system by passing state mask to HasStateDependentStyle and using it in HasStateDependentStyle implementations. b=5693 r=bryner, joki sr=hyatt 2002-04-11 03:49:30 +00:00
jdunn%netscape.com
ec18a46eda fixing 64bit'ism found on AIX
r=Roland.Mainz@informatik.med.uni-giessen.de
sr=brendan@mozilla.org
a=roc@mozilla.org
# 133801
2002-04-01 20:54:30 +00:00
hewitt%netscape.com
0bd9ddf1cf fixing btek bustage 2002-03-29 03:49:56 +00:00
hewitt%netscape.com
d38a0937d9 bugs 110156, 110155
Removing support for <outliner> tags
Removing <tree> layout code and moving <tree> tags to outliner layout
Convert all usage of <outliner> to tree tags
Convert all usage of <tree> tags to new <tree> syntax or <listbox>
r=cmanske,varga sr=hyatt,sspitzer a=asa

Also includes fixes by Jan Varga (varga@utcruk.sk) for bugs 132020, 133451, 131393, 115894, and 129327
2002-03-29 02:46:01 +00:00
dbaron%fas.harvard.edu
a4acc9eb7b Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 22:46:13 +00:00
alecf%netscape.com
451df7d6c3 a further nsString api reduction: remove the last case-insensitive PRUnichar*-to-PRUnichar* comparisons, moving to new API, and remove old methods from nsString. r=dougt, sr=jag a=scc 2002-03-19 06:46:56 +00:00
timeless%mac.com
dec943eb10 Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa
2002-03-19 04:30:17 +00:00
ben%netscape.com
830cc28946 Fix for 128815 - numerous bookmarks improvements, including fixes for bugs: 77411, 114142, 126748, 128571.
- update outliner builder to expose "Sort" method publicly.
r=blake, sr=hyatt, a=asa
2002-03-12 22:45:05 +00:00
bryner%netscape.com
d2229cbf68 - Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.

Bug 128947, r=dbaron, sr=jst, a=asa.
2002-03-07 03:34:29 +00:00
darin%netscape.com
f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
alecf%netscape.com
66e767c7b8 one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
r=timeless sr=jag
2002-02-19 22:49:12 +00:00
naving%netscape.com
318fcea948 116329 one small change to patch by tingley@sundell.net r=rjc sr=waterson. Made it so that XULSortService
can grok for nsIRDFBlob
2002-01-30 22:37:17 +00:00
mkaply%us.ibm.com
443ef94c0c OS/2 and AIX bustage 2002-01-25 03:09:23 +00:00
waterson%netscape.com
8817ed1a1b Bug 121712. Fix inverted logic from bz's string cleanup. r=tingley@sundell.net 2002-01-24 23:58:26 +00:00
waterson%netscape.com
97ae9866cc Bug 116328. Add nsIRDFBlob sorting to rdfliner. r=varga@utcru.sk, sr=hyatt. 2002-01-24 23:03:01 +00:00
waterson%netscape.com
c824244342 Bug 86755. Get rid of nsIRDFContentModelBuilder interface, move methods to nsIXULTemplateBuilder; rename |SetRootContent| to |init|. nsXULOutlinerBuilder now implements |init|, allowing us to initialize it with a database, so that we don't have to wait around until frames get created. r=varga@utcru.sc, sr=hyatt 2002-01-24 21:30:22 +00:00
bzbarsky%mit.edu
ca547b257b Change users of Length() to IsEmpty() where the code really cares about
the latter in content/.  Bug 100649, r=jag, sr=jst
2002-01-24 02:03:19 +00:00
waterson%netscape.com
f0a50aae87 rjc was right. Third time's the charm. 2002-01-17 04:43:17 +00:00
waterson%netscape.com
c7d27d8e70 Man, I'm a moron. Let's test the fix this time. 2002-01-17 02:00:23 +00:00
waterson%netscape.com
2bf97bfd36 Fix mailnews smoketest bustage on boxset. 2002-01-17 01:49:08 +00:00
waterson%netscape.com
8d9edf6eee Bug 119504, 96748. Fix off-by-one error when computing right-edge of insertion sort. Fix problem with asynchronous insertion doesn't take into account open folders preceding the insertion point. r=varga@utcru.sk, sr=hyatt, a=blizzard. 2002-01-16 23:45:42 +00:00
varga%utcru.sk
ff7ad62083 Fixes for:
94653  - can't right align text in outliner cell
95730  - White block displays/artifacts in the highlight area after Move/Drag mail to folder.
112238 - [RFE] Outliner widget should support line-through
116855 - Modify outliner builder syntax to match outliner content model
118093 - Make -moz-image-region work in the outliner
118113 - Too little space between pref category tree and pref page
118154 - Category now has a column picker
118647 - Memory leak of 52 bytes from 1 block allocated in nsOutlinerBodyFrame::CheckVerticalOverflow
118660 - left arrow no longer moves to parent category
119751 - Branches are open by default and then closed after launch.

- outermost <outlinerchildren> has "-moz-box-flex: 1" by default
  and it actaully replaced <outlinerbody>
- all event handlers moved on <outliner>
- content builder, outliner builder and content view use <outliner> as root
  element
- nsIBoxObject has a new attribute "element"
- all CSS rules outlinerbody:foo replaced with outlinerchildren:foo
- drop feedback is now skinable

r=waterson for the changes in mozilla/content
r=sspitzer on the mailnews parts
r=blake on the bookmarks/history
r=bryner on the OutlinerBodyFrame and OutlinerContentView changes

sr=hyatt,hewitt
2002-01-16 03:01:28 +00:00
naving%netscape.com
b585c69648 119504 backing out the fix for bug 119504 could break other cases. 2002-01-15 04:18:12 +00:00
naving%netscape.com
11c39d25a6 119504 r=varga sr=waterson. fix insertion sort so the outliner inserts new element in the correct position 2002-01-14 19:49:05 +00:00
waterson%netscape.com
0c07a14c41 Bug 118863. Fix several incorrect uses of IsElementContainedBy when IsElementInBuilder is required. Fixes problems with nested templates. r=rjc, sr=hyatt. 2002-01-11 03:00:53 +00:00
waterson%netscape.com
2fb48000db Bug 96108. Clean up some debug-only fallout. 2002-01-10 23:08:54 +00:00
brade%netscape.com
bf3502dbe2 remove unused static kRDFInMemoryDataSourceCID for gain of 16 bytes (bug 117927; r/sr=jst,darin) 2002-01-10 14:15:51 +00:00
brade%netscape.com
2da2869ad2 remove unused statics kDataTimeFormatIID and kTextNodeCID for gain of 32 bytes (bug 117927; r/sr=jst,darin) 2002-01-10 14:15:18 +00:00
tingley%sundell.net
91f5477965 bug 118680: make the XULSortService look for |sortStaticsLast| on the
correct (root) element.  r=rjc, sr=waterson
2002-01-09 02:53:14 +00:00
varga%utcru.sk
6673fe6131 80834 - [outliner scrollbar] if inbox has less than one page of messages, it will come up with a box where the scroll bar is
80548 - outliner scroll bar "disappears" in 3 stages

111101 - No scrollbox / slider / thumb in thread pane scrollbar

116269 - white scrollbars briefly show up in folder pane

116432 - Sometimes the twisty won't update after a click

116855 - Modify outliner builder syntax to match outliner content model
r=waterson, sspitzer, blake
sr=hyatt

99715 - convert category tree to use outliner
r=hixie
sr=blake
2002-01-03 22:58:23 +00:00
bryner%netscape.com
2a1819d615 Bug 116499 - convert nsIOutlinerView::GetCellText to return an nsAString, so we can avoid copying strings. r=blake, sr=jag. 2001-12-29 22:05:16 +00:00
timeless%mac.com
61a97fd94a Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00