bmlk%gmx.de
64e4c7b1b5
dont clip composite borders, bug 197086 r/sr=roc+moz
...
git-svn-id: svn://10.0.0.236/trunk@140137 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 10:17:25 +00:00
roc+%cs.cmu.edu
6f0e8cad25
Bug 113232. Make 'background:transparent' work on top-level XUL windows. r=pavlov,kmcclusk,bzbarsky,sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@140132 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 04:57:22 +00:00
peterlubczynski%netscape.com
48cef544f1
Creating nsMediaDocument/nsPluginDocument to make full-page
...
plugins scriptable, bug 90256 r=jkeiser sr=jst
git-svn-id: svn://10.0.0.236/trunk@140032 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 03:20:23 +00:00
alecf%netscape.com
2a83f1b2d9
backout my static atom patch for now until I figure out the performance loss! :(
...
bug 195262
git-svn-id: svn://10.0.0.236/trunk@139962 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 20:13:08 +00:00
alecf%netscape.com
59c2bfe187
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.
git-svn-id: svn://10.0.0.236/trunk@139909 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 06:26:32 +00:00
dbaron%dbaron.org
36264b0339
Make nsSpaceManager::ClearRegions reset mLowestTop as well. b=198485 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@139896 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 03:11:47 +00:00
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
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
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
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
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
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
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
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
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
jkeiser%netscape.com
719fca7fb1
Fix ISINDEX crash (bug 191974), r=aaronl@netscape.com, sr=dbaron@dbaron.org
...
git-svn-id: svn://10.0.0.236/trunk@139259 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-11 06:53:49 +00:00
aaronl%netscape.com
60b1c05bf1
Bug 194968. Use content id properly to expose whether window is content vs. UI. r/sr=roc+moz
...
git-svn-id: svn://10.0.0.236/trunk@139051 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 23:07:00 +00:00
dbaron%dbaron.org
089db98924
Implement garbage collection of the rule tree to fix some cases of memory growth and to allow us to move towards style rule immutability. b=117316 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@139035 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 19:14:17 +00:00
dbaron%dbaron.org
3b86a016bb
Handle inline style changes by creating new style rules to wrap the modified nsCSSDeclarations, thus moving towards style rule immutability and away from property-based change hints. Patch from Boris Zbarsky <bzbarsky@mit.edu>. r=dbaron sr=roc b=171830
...
git-svn-id: svn://10.0.0.236/trunk@139034 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 19:07:22 +00:00
jkeiser%netscape.com
0e2cef239f
Remove unneeded include nsWidgetsCID.h (bug 189813), patch by luke_harless@attglobal.net, r=jkeiser@netscape.com, sr=sfraser@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@139000 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 00:59:43 +00:00
paper%animecity.nu
fd2e96c27b
Bug 194108 Don't PaintBackgroundColor when tiled image is opaque and fully covering. r=caillon sr=roc+moz
...
git-svn-id: svn://10.0.0.236/trunk@138993 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 23:34:48 +00:00
peterv%netscape.com
c96c6fa64f
Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv.
...
git-svn-id: svn://10.0.0.236/trunk@138957 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 15:08:41 +00:00
sfraser%netscape.com
2636d9a8d0
Fix bug 74404: show caret drag feedback. r=brade, sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@138640 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 23:09:51 +00:00
jst%netscape.com
43d9987e62
Fixing bug 182700. Make 'Copy Image Location' work for <input type=image> elements. r=timeless@myrealbox.com, sr=peterv@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@138575 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 01:38:20 +00:00
bzbarsky%mit.edu
617629aaf0
Eliminate libpr0n's use of prescontexts as unique keys; use documents instead
...
and do not hold a ref to them. Bug 190475, r=pavlov, sr=jst
git-svn-id: svn://10.0.0.236/trunk@138515 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-26 05:51:32 +00:00
sfraser%netscape.com
43ee0b7326
Make static data const in nsBidiUtils.cpp. Bug 74803. r=dbaron, sr=alecf.
...
git-svn-id: svn://10.0.0.236/trunk@138489 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-26 00:54:14 +00:00
kin%netscape.com
971daa7047
Fix for regression bug 194774 (cursor appears to "jump" to beginning of line after hitting backspace)
...
Checking in this work around for leon.zhang@sun.com . Comment out the code that sets mCachedOffsetValid to PR_TRUE. This effectively disables the fix for bug 35296.
r=brade@netscape.com sr=sfraser@netscape.com a=leaf@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@138462 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-25 18:10:35 +00:00
smontagu%netscape.com
1a3bb57385
Remove nsITextFrame. Bug 188618, r/sr=roc+moz.
...
git-svn-id: svn://10.0.0.236/trunk@138398 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-25 00:44:04 +00:00
henry.jia%sun.com
b3d98d49ff
Bug 35296: SetCaretEnabled() takes too long
...
Patch by Leon.Zhang@sun.com , r/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@138325 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-24 10:26:20 +00:00
bryner%netscape.com
194ae549df
Keep a reference to the style context for the lifetime of AttributeChanged(), so it's not deleted out from under us when the frame is destroyed. Fixes crasher bug 194584. r/sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@138308 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 23:02:26 +00:00
dbaron%dbaron.org
dc1497f24d
Make ProbePseudoStyleFor return null whenever :before and :after aren't displayed so that we don't try to reframe constantly in certain cases, preventing link clicking from working. b=188525 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@138300 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 17:28:25 +00:00
dbaron%dbaron.org
896d468ce7
Replace the broken (since it can return destroyed data) ResolveStyleContextAndGetStyleData with GetXBLBindingURL. b=193847 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@138299 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 17:20:15 +00:00
timeless%mozdev.org
5ad8e7ac41
Bug 126484 Occurences of uninitialized variables being used before being set (in Bidi files)
...
patch by mozilla-bugs@nogin.org r=smontagu sr=bz
git-svn-id: svn://10.0.0.236/trunk@138289 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 11:10:28 +00:00
timeless%mozdev.org
071ea39d1a
Bug 193824 Remove unused globals from nsDocumentViewer.cpp
...
r=smontagu sr=alecf
git-svn-id: svn://10.0.0.236/trunk@138286 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 07:03:09 +00:00
bzbarsky%mit.edu
b8de299d37
Make CSSStyleSheetImpl::Clone properly set various weak refs on the clone
...
(parent sheet, parent rule, owning node, document). Bug 167415, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@138277 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 04:44:41 +00:00
bryner%netscape.com
1cdbcbdfb1
Fix some potentially uninitialized variables caused by my StyleContext checkin (bug 114713).
...
git-svn-id: svn://10.0.0.236/trunk@138265 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 04:03:49 +00:00
roc+%cs.cmu.edu
ad79d0e7da
Bug 191938. 'Dont print backgrounds' by setting background to white. also clean up unused params and make background-attachment:fixed work in printing/printpreview. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@138258 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 02:49:22 +00:00
roc+%cs.cmu.edu
6963c1c429
Bug 157445. Be more aggressive about making visibility:hidden elements have visible views. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@138256 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 02:22:14 +00:00
roc+%cs.cmu.edu
20d65dce1c
Bug 186754. Make sure scrolled elements honor the content hierarchy for z-index. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@138255 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 02:03:43 +00:00
roc+%cs.cmu.edu
4a676c1821
Bug 189723. Fix valgrind warning on uninitialized value when GetPenMode isn't implemented. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@138238 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 22:27:45 +00:00
bryner%netscape.com
e72ed51d75
Fix leaks introduced from bug 114713 (bug 194468). r/sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@138237 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 22:21:20 +00:00
roc+%cs.cmu.edu
830bdf5a00
Bug 180921. Make nsDocumentViewer::Show call nsDocumentViewer::MakeWindow instead of duplicating code. Fixes a bug where subdoc view linkage was added to MakeWindow but not Show. r=jkeiser,sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@138234 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 21:48:39 +00:00
roc+%cs.cmu.edu
a8c4342e53
Bug 192469. Reparent views for blocks-in-inlines regardless of why we created the view. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@138233 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 21:37:55 +00:00
dbaron%dbaron.org
ecbfd3050c
Make CtlStyleWatch |#ifdef MOZ_PERF_METRICS|. b=191831 r+sr=roc+moz
...
git-svn-id: svn://10.0.0.236/trunk@138218 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 19:26:30 +00:00
dbaron%dbaron.org
22283f6fd1
Replace nsIStyleSheet::AttributeAffectsStyle with nsIStyleRuleProcessor::HasAttributeDependentStyle. Strengthen the attribute optimization and apply it to HTML as well. b=163556 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@138196 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 16:10:53 +00:00
dbaron%dbaron.org
18e9b2801c
Reduce code size of atom lists by storing a table of strings and pointers to fill in. b=181383 r=alecf sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@138195 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 15:58:07 +00:00
dbaron%dbaron.org
864ea24cc7
Fix crash from over-releasing from bryner's changes yesterday. b=114713
...
git-svn-id: svn://10.0.0.236/trunk@138194 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 15:54:04 +00:00