heikki%netscape.com
e1c2bcdb80
Bug 182323, implemented XPointer spec, we now support the framework, shorthand syntax, element, fixptr, xpath1 and xmlns schemes, and provide a proprietary API from scripts, r=sicking, sr=peterv.
...
git-svn-id: svn://10.0.0.236/trunk@139800 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 23:45:42 +00:00
dbaron%dbaron.org
ba985f2ca8
Correct fix for OS/2 bustage (and make it apply to all platforms), since the OS/2 compiler is correct according to C++ 11.8, clause 1, which says "The members of a nested class have no special access to members of an enclosing class...". b=83774
...
git-svn-id: svn://10.0.0.236/trunk@139772 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 15:37:58 +00:00
mkaply%us.ibm.com
ac0756b181
OS/2 bustage - yes our compiler sucks, but on a brighter note, it will be gone very soon and we can remove every XP_OS2_VACPP in the code
...
git-svn-id: svn://10.0.0.236/trunk@139767 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 14:51:53 +00:00
bzbarsky%mit.edu
4fc824c491
Try to fix OS/2 bustage yet again..
...
git-svn-id: svn://10.0.0.236/trunk@139759 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 08:34:47 +00:00
bzbarsky%mit.edu
247c66a53a
Another attempt to fix OS/2 bustage.
...
git-svn-id: svn://10.0.0.236/trunk@139756 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 07:10:57 +00:00
bzbarsky%mit.edu
41e28a24f2
Don't invalidate and such if no initial reflow yet. Bug 83774, r=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@139754 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 06:51:46 +00:00
bzbarsky%mit.edu
7b319b420a
More OS/2 bustage... bug 83774
...
git-svn-id: svn://10.0.0.236/trunk@139750 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 06:15:38 +00:00
bzbarsky%mit.edu
cb5f836162
Fix some spelling errors in comments. Bug 106386, patch by Nicholas Bebout
...
<nb@ipnode.info>, r=doron, sr=dmose
git-svn-id: svn://10.0.0.236/trunk@139745 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 04:35:08 +00:00
bzbarsky%mit.edu
2fbc7d38bb
Landing bug 83774 -- move image loading for <img>, <object>, <embed>, <input
...
type="image"> into the content nodes and out of nsImageFrame. r=pavlov, sr=jst
git-svn-id: svn://10.0.0.236/trunk@139743 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 03:47:09 +00:00
bryner%netscape.com
b351e785ca
Fix stuck tabbing through imagemaps (bug 124789) by tracking the focused frame separately from the focused content node in this case. r=jkeiser, sr=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@139721 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-18 23:41:44 +00:00
bzbarsky%mit.edu
e13b131d86
Fix crash on having a <xul:listbox> in a plain XML document. Bug 197234,
...
r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@139696 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-18 21:18:26 +00:00
bzbarsky%mit.edu
ea0d50568b
s/floorf/floor/. Fixes solaris/AIX/whatever bustage
...
git-svn-id: svn://10.0.0.236/trunk@139659 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-18 08:29:00 +00:00
bzbarsky%mit.edu
4f9a4db54e
Add math.h too
...
git-svn-id: svn://10.0.0.236/trunk@139656 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-18 06:48:04 +00:00
bzbarsky%mit.edu
6a018426c4
Fix build bustage -- looks like not all platforms have round(). r=timeless
...
git-svn-id: svn://10.0.0.236/trunk@139655 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-18 06:45:57 +00:00
bzbarsky%mit.edu
61cb208768
Bug 160550 -- implement -moz-hsl() (CSS3 hsl() colors). Implement the parsing end of
...
-moz-rgba() and -moz-hsla(); the GFX end is bug 147017. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@139650 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-18 05:43:12 +00:00
bzbarsky%mit.edu
4ca70c77f0
Don't parse "string" values for text-align till we actually support them in
...
layout... Bug 197771, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@139649 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-18 05:25:37 +00:00
bzbarsky%mit.edu
a0fe9c437e
Random CSS parser cleanup -- nsCOMPtr, nsCOMArray, remove unused methods, etc.
...
Bug 197512, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@139648 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-18 05:21:30 +00:00
bzbarsky%mit.edu
6c1ec16a83
Make imgRequestProxy hold a weak ref to its listener, to prevent reference
...
cycles. Bug 196797, r=pavlov, sr=jst
git-svn-id: svn://10.0.0.236/trunk@139608 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-17 16:09:02 +00:00
varga%netscape.com
ff33012336
Fix for bug 196490. Remove property caching in tree content view.
...
r=jag, sr=bryner
- also changed properties.Length() to !properties.IsEmpty() per jag
git-svn-id: svn://10.0.0.236/trunk@139603 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-17 09:47:48 +00:00
bzbarsky%mit.edu
05bc13b022
Make scrollDelay settable; make height/width attrs work on standards-mode
...
pages. Bug 197461, r=doron, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@139598 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-17 06:58:17 +00:00
bzbarsky%mit.edu
d5678f9f7d
Make the CSS parser not throw on attempts to parse lengths with unknown units
...
(bug 197212). Also fixes a few build warnings and finally removes
NS_CSS_PARSER_DROP_DECLARATION (bug 88423). r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@139592 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-17 03:58:06 +00:00
bzbarsky%mit.edu
56379f8173
Avoid possible double-delete of CSS declaration. Bug 196271, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@139590 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-17 03:46:17 +00:00
bzbarsky%mit.edu
f0eaf3702e
Make all CSSStyleSheets have a useful mDocument so that they can pass change
...
notifications properly. Parent sheets are responsible for keeping their kids'
mDocument pointers up-to-date. Bug 194543, r=dbaron, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@139589 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-17 03:44:02 +00:00
varga%netscape.com
ef2945de71
Fix for bug 117954. Auto-close springloaded folders except the destination
...
folder.
r=bryner, sr=dmose
- added a value array to store indexes of rows, currently only used for auto
closing of spring loaded folders
- added several tree related settings to nsILookAndFeel service
- made all timers use this service
git-svn-id: svn://10.0.0.236/trunk@139581 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-16 23:26:31 +00:00
dougt%netscape.com
4e91efe850
When I landed, i added back some of the extern's removed by bug 195153. doh! Fixing this problem.
...
git-svn-id: svn://10.0.0.236/trunk@139578 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-16 21:40:27 +00:00
dbaron%dbaron.org
b3e12f2c54
No more experiments. Back to plain old macros. r+sr=roc b=196603
...
git-svn-id: svn://10.0.0.236/trunk@139555 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-16 04:51:56 +00:00
dbaron%dbaron.org
a1632181db
Well, the OS/2 compiler does not like the cool way of doing this, so on to the ugly way... b=197277
...
git-svn-id: svn://10.0.0.236/trunk@139549 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-16 01:34:48 +00:00
dbaron%dbaron.org
0893714573
Ensure that CalcStyleDifference populates the new context with all of the structs present on the old context to ensure that the PeekStyleData optimization is valid. Avoid copy-and-pasted code. b=196603 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@139542 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-16 00:20:21 +00:00
dbaron%dbaron.org
2d30530b49
Oops! nsStyleSVG never had a GetStyleStructID method. b=196603
...
git-svn-id: svn://10.0.0.236/trunk@139534 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 21:54:49 +00:00
bzbarsky%mit.edu
b72b8b5208
Fix a few inefficient callers of getElementsByTagName. Bug 191589,
...
r=neil@parkwaycc.co.uk , sr=jst
git-svn-id: svn://10.0.0.236/trunk@139521 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 16:30:09 +00:00
dougt%netscape.com
fed2927b2c
Create a new xpcom obsolete library (and component library).
...
Moved nsFileSpec and related classes into this obsolete library.
Moved nsRegistry and related libreg functionality into the obsolete library.
Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.
Combined the following DLLs (source -> dest)
uriloader -> docshell
shistory -> docshell
jsurl -> jsdom
gkview -> gklayout
Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer
Modifed the xpt_link tool so that you can specify a only include cid list that can mask CIDs that you are not interested in.
Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).
Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService
Bug 194240, r/sr = darin, alec.
git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +00:00
bmlk%gmx.de
e951e7cc70
require the presence of the inner table frame for reflow bug 189751 r=jkeiser sr=roc+moz
...
git-svn-id: svn://10.0.0.236/trunk@139445 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 10:31:55 +00:00
jst%netscape.com
47743d5ece
Fixing bug 192837. Freezing the rest of the DOM HTML interfaces. r=fabian@imajes.info, sr=peterv@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@139440 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 07:00:53 +00:00
jkeiser%netscape.com
3c83a5a70f
Make .selectedIndex = -1 clear select (bug 195773), r=peterv@netscape.com, sr=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@139437 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 06:18:20 +00:00
mkaply%us.ibm.com
72af02be10
OS/2 only - oops - don't modify XUL buttons in here
...
git-svn-id: svn://10.0.0.236/trunk@139414 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 01:50:41 +00:00
bzbarsky%mit.edu
3bd333c19e
Remove some style-data-clearing functions that no one uses and that don't do
...
the right thing anyway. Bug 169989, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@139391 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-13 18:58:54 +00:00
dbaron%dbaron.org
e8efd80e8f
Make HTMLDocumentColorRule immutable. b=196795 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@139385 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-13 15:30:32 +00:00
dbaron%dbaron.org
efc8215ab8
Ensure that GetStyleData never returns null, even in out-of-memory, by storing a backup set of style structs to return in case of failure. b=154751 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@139384 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-13 15:29:36 +00:00
bzbarsky%mit.edu
1c14eb6841
Fix bug 197090; foo.style.background="" would throw instead of just doing
...
nothing. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@139352 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-12 21:54:50 +00:00
jkeiser%netscape.com
8013d6e11a
Make ismap images not overwrite the query part of the URL (bug 185169), r+sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@139346 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-12 21:22:21 +00:00
varga%netscape.com
a2b31506b0
Fix for bug 192885. Expose the single selection method of nsTreeSelection.
...
r=neil, sr=jag
git-svn-id: svn://10.0.0.236/trunk@139324 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-12 09:00:28 +00:00
bryner%netscape.com
650a08b24e
Don't need to stabilize mRefCnt to 1 in nsStyleContext dtor (bug 196956). r/sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@139319 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-12 05:19:43 +00:00
bryner%netscape.com
a40b1536d0
Implement Aqua form controls when building with the Cocoa toolkit (bug 188254). r=pinkerton, sr=sfraser.
...
git-svn-id: svn://10.0.0.236/trunk@139317 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-12 04:57:33 +00:00
roc+%cs.cmu.edu
071d5592f4
Bug 183905. Allow horizontal scrolling with mouse sticks. Patch by Dainis_Jonitis, r+sr=roc+moz
...
git-svn-id: svn://10.0.0.236/trunk@139310 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-12 03:22:11 +00:00
dbaron%dbaron.org
e56dd03c63
Add testcase for bug 177331.
...
git-svn-id: svn://10.0.0.236/trunk@139300 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-12 00:07:40 +00:00
dbaron%dbaron.org
28c762385d
Remember the lowest floater top for CSS2 9.5.1 rule 5 (a float cannot be higher than earlier floats) on the space manager rather than the block reflow state so that it works across blocks sharing the same space manager. Save and restore it in the space manager's PushState and PopState to fix incremental reflow bug (177331). b=196919 r+sr=roc+moz Change PRIntn to PRInt32. b=115153 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@139299 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-11 23:56:49 +00:00
dbaron%dbaron.org
882151906f
Add testcase for bug 196919.
...
git-svn-id: svn://10.0.0.236/trunk@139294 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-11 23:22:47 +00:00
varga%netscape.com
5feb26c692
Adding an assertion for bug 154952.
...
r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@139279 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-11 15:27:25 +00:00
bmlk%gmx.de
f08a661ed7
clip the border at the dirty rectangle, bug 86249 r+sr=roc+moz
...
git-svn-id: svn://10.0.0.236/trunk@139278 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-11 15:15:08 +00:00
bmlk%gmx.de
1274fb2bbb
compiler warning fix, bug 167659, orig. patch by caillon, r=jkeiser, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@139277 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-11 13:33:19 +00:00