Commit Graph

14913 Commits

Author SHA1 Message Date
bryner%netscape.com
84fa8d1c64 On second thought, let's not unsuppress painting early for pages with object/embed/applet elements. Instead, go back to calling Show() on the document viewer, but suppress the focus controller while doing so. Bug 199927, r=peterl, sr=bzbarsky. 2003-04-02 21:26:29 +00:00
kaie%netscape.com
db88d9b75b b=192320 Cannot down arrow in file
r=mjudge sr=kin
2003-04-02 12:05:43 +00:00
locka%iol.ie
e2df34009e Remove references to webshell and make HTML document more tolerant when supplied with a null docshell. b=191023 r=heikki@netscape.com sr=jst@netscape.com 2003-04-02 11:18:00 +00:00
kyle.yuan%sun.com
0f97378c68 Bug 198542 missing #ifndef/#endif directives in nsITextControlFrame.h
r=jkeiser, sr=henry.jia
2003-04-02 08:34:33 +00:00
seawood%netscape.com
2ea48d15fd Use 'mount -' to get cygdrive mountpoint rather than assuming /cygdrive.
Bug #158920 r=bryner
2003-04-02 06:22:59 +00:00
henry.jia%sun.com
a873e7e743 Patch for bug 35296: SetCaretEnabled() takes too long
Patch by Leon.Zhang@sun.com
r=sfraser, sr=kin
2003-04-02 05:48:09 +00:00
alecf%netscape.com
c8aef61acf fix for bug 199170, convert layout to use nsStaticAtom. sr=dbaron 2003-04-02 04:51:07 +00:00
bryner%netscape.com
fe29432f2a Fix loss of focus caused by not going through PresShell::UnsuppressPainting (bug 199927). Also cleaned up event listener registration in this file quite a bit. r=peterl, sr=bzbarsky. 2003-04-02 03:35:58 +00:00
bzbarsky%mit.edu
ce3a0d97fb "Backing" changes back in since tree has reopened. 2003-04-02 03:19:50 +00:00
bzbarsky%mit.edu
429e0e4ded Backing all this out, since tree is closed. 2003-04-02 02:02:10 +00:00
bzbarsky%mit.edu
7de4451d8e Make the IconLoad hold a ref to the image listener. Fixes race to a crash.
Bug 199021, r=pavlov, sr=dbaron
2003-04-02 01:35:20 +00:00
aaronl%netscape.com
8457bb1d7e Bug 199060. Move most accessibility code out of widget. Merge MSAA-specific and XP accessibility object hierarchies into one tree of objects. Paves way for XP accessibility caching, more stability, and it's just better. r=kyle, sr=alecf 2003-04-01 20:02:51 +00:00
seawood%netscape.com
4957953e70 Obsoleting xp_str.h:
* Move XP_IS_ macros into nsCRT.h & rename them to NS_IS_
* Make local XP_IS_ macros use the nsCRT ones
* Remove NOT_NULL defines
Bug #199920 r=alecf sr=bryner
2003-04-01 19:38:12 +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
bryner%netscape.com
7a6238b0d4 Don't leak nsBoxToBlockAdaptors (bug 177807). r=varga, sr=dbaron. 2003-03-26 06:52:20 +00:00
sicking%bigfoot.com
fb42cf1bd8 fix build bustage due to gkconxsldoc_s no longer existing after landing of bug 185797 2003-03-26 02:21:17 +00:00
sicking%bigfoot.com
d3b6d8390a Compiled XSLT stylesheets. Improves speed, implements forwards-compatible-parsing and handling of unknown extension-elements. Also fixes some random edgecasebugs such as recursive merged named-attribute-sets and empty strings in copy-of.
Patch mainly by sicking, but large parts also by Pike and peterv.

Tracker is bug 185797. r=Pike/sicking rs=peterv.
2003-03-26 01:10:14 +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
dbaron%dbaron.org
95ba6eac66 Fix incremental reflows of <br clear=all>. b=157444 r+sr=roc 2003-03-25 15:24:07 +00:00
timeless%mozdev.org
d112ea131f Bug 196735 <OBJECT src=...> should be ignored
patch by bugzilla2@farside.demon.co.uk r=peterl sr=jst
2003-03-25 07:28:54 +00:00
seawood%netscape.com
d056fe18d0 Resurrect --disable-oji
Bug #197924 r=peterl sr=alecf
2003-03-25 06:54:52 +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
kyle.yuan%sun.com
9c0b9d7fec Bug 197152 AccDoAction failed with menuitem that has command (not oncommand) attribute
r=bryner, sr=jag
move command tag support from individual frames to nsXULElement
2003-03-25 03:15:37 +00:00
darin%netscape.com
06db7d7b43 backing out roc+%cs.cmu.edu check-in for bug 113232 2003-03-25 00:07:00 +00:00
darin%netscape.com
1cc9401e27 backing seth out, for blocker fixes 2003-03-24 23:20:04 +00:00
sspitzer%netscape.com
881436c9dc fix for regression bug #198946
"repainting horribly broken"
caused by roc's checkin for bug #113232
this is roc's patch for the problem.
2003-03-24 20:41:10 +00:00
bmlk%gmx.de
1072447013 dont clip composite borders, bug 197086 r/sr=roc+moz 2003-03-24 10:17:25 +00:00
roc+%cs.cmu.edu
64131124e6 Bug 174049. Smooth scrolling. Original patch by Neil cronin. r+sr=kin 2003-03-24 05:29:45 +00:00
roc+%cs.cmu.edu
4f81dc78d1 Bug 113232. Make 'background:transparent' work on top-level XUL windows. r=pavlov,kmcclusk,bzbarsky,sr=bzbarsky 2003-03-24 04:57:22 +00:00
roc+%cs.cmu.edu
3dace14ed6 Bug 113232. Make 'background:transparent' work on top-level XUL windows. r=pavlov,kmcclusk,bzbarsky,sr=bzbarsky 2003-03-24 04:54:48 +00:00
timeless%mozdev.org
697618b07d Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
mkaply%us.ibm.com
7250cc41ca #188249
r=seawood, sr=bz
OS/2 GCC work
2003-03-23 23:56:15 +00:00
dbaron%dbaron.org
48fefb44a8 Prevent display-reflow debugging code from cluttering up the leak stats by freeing objects on module shutdown. b=198676 r=bernd sr=bzbarsky 2003-03-22 15:09:17 +00:00
bmlk%gmx.de
c9d8064022 fix build warnings from my previous checkin 2003-03-22 12:21:22 +00:00
peterlubczynski%netscape.com
b5850784ea Creating nsMediaDocument/nsPluginDocument to make full-page
plugins scriptable, bug 90256 r=jkeiser sr=jst
2003-03-22 03:20:23 +00:00
peterlubczynski%netscape.com
07b7bbfa07 Creating nsMediaDocument/nsPluginDocument to make full-page
plugins scriptable, bug 90256 r=jkeiser sr=jst
2003-03-22 02:22:03 +00:00
jaggernaut%netscape.com
19cdba6190 Bug 32157: enable titletips on cropped text in trees. Except I'm not quite doing titletips, but rather tooltips you get "for free" on cropped text in trees. Also fixing some measurement problems in nsTreeBodyFrame. r=/sr=jan,bryner,sspitzer 2003-03-22 01:43:29 +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
bmlk%gmx.de
ebf5835d15 change table cell width to content width, bug 119100 r=jkeiser sr=bzbarsky 2003-03-21 19:35:36 +00:00
bmlk%gmx.de
5fe83d7fe4 compute margin based overflow area for innertable and caption frame bug 198009 r/sr=bzbarsky 2003-03-21 19:32:09 +00:00
alecf%netscape.com
f7cd8fcae5 argh fix darwin bustage.. :( 2003-03-21 16:06:20 +00:00
alecf%netscape.com
3cb283cc78 just one theory on the Ts slowdown, before I back myself out completely 2003-03-21 13:31:34 +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
dbaron%dbaron.org
f9e45e853e Make nsSpaceManager::ClearRegions reset mLowestTop as well. b=198485 r+sr=roc 2003-03-21 03:11:47 +00:00
heikki%netscape.com
0ee437d7ac 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. 2003-03-19 23:45:42 +00:00
dbaron%dbaron.org
0f14af74c1 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 2003-03-19 15:37:58 +00:00
mkaply%us.ibm.com
ca80fd18bd 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 2003-03-19 14:51:53 +00:00
bzbarsky%mit.edu
3c4f0fdf7b Try to fix OS/2 bustage yet again.. 2003-03-19 08:34:47 +00:00
bzbarsky%mit.edu
1f0255261f Another attempt to fix OS/2 bustage. 2003-03-19 07:10:57 +00:00
bzbarsky%mit.edu
45dc9ee7b4 Don't invalidate and such if no initial reflow yet. Bug 83774, r=pavlov 2003-03-19 06:51:46 +00:00
bzbarsky%mit.edu
f1c1cca794 More OS/2 bustage... bug 83774 2003-03-19 06:15:38 +00:00
bzbarsky%mit.edu
83e46b1a49 Fix some spelling errors in comments. Bug 106386, patch by Nicholas Bebout
<nb@ipnode.info>, r=doron, sr=dmose
2003-03-19 04:35:08 +00:00
bzbarsky%mit.edu
2c56e0638e 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
2003-03-19 03:47:09 +00:00
bryner%netscape.com
f93f9b19d2 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. 2003-03-18 23:41:44 +00:00
bzbarsky%mit.edu
596066a1d9 Fix crash on having a <xul:listbox> in a plain XML document. Bug 197234,
r=sicking, sr=jst
2003-03-18 21:18:26 +00:00
bzbarsky%mit.edu
8055eacac8 s/floorf/floor/. Fixes solaris/AIX/whatever bustage 2003-03-18 08:29:00 +00:00
bzbarsky%mit.edu
1aff4d7ac8 Add math.h too 2003-03-18 06:48:04 +00:00
bzbarsky%mit.edu
4a3702559a Fix build bustage -- looks like not all platforms have round(). r=timeless 2003-03-18 06:45:57 +00:00
bzbarsky%mit.edu
4cc14b7073 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
2003-03-18 05:43:12 +00:00
bzbarsky%mit.edu
68d36409fc Don't parse "string" values for text-align till we actually support them in
layout... Bug 197771, r+sr=dbaron
2003-03-18 05:25:37 +00:00
bzbarsky%mit.edu
2884e64d50 Random CSS parser cleanup -- nsCOMPtr, nsCOMArray, remove unused methods, etc.
Bug 197512, r+sr=dbaron
2003-03-18 05:21:30 +00:00
bzbarsky%mit.edu
605874dcea Make imgRequestProxy hold a weak ref to its listener, to prevent reference
cycles.  Bug 196797, r=pavlov, sr=jst
2003-03-17 16:09:02 +00:00
varga%netscape.com
2c87c10ef6 Fix for bug 196490. Remove property caching in tree content view.
r=jag, sr=bryner
- also changed properties.Length() to !properties.IsEmpty() per jag
2003-03-17 09:47:48 +00:00
bzbarsky%mit.edu
c214ea9fc8 Make scrollDelay settable; make height/width attrs work on standards-mode
pages. Bug 197461, r=doron, sr=dbaron
2003-03-17 06:58:17 +00:00
bzbarsky%mit.edu
1b837cdd65 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
2003-03-17 03:58:06 +00:00
bzbarsky%mit.edu
c9fb653ad8 Avoid possible double-delete of CSS declaration. Bug 196271, r+sr=dbaron 2003-03-17 03:46:17 +00:00
bzbarsky%mit.edu
9161a95441 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
2003-03-17 03:44:02 +00:00
varga%netscape.com
83d128877f 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
2003-03-16 23:26:31 +00:00
dougt%netscape.com
09d3d85e3e When I landed, i added back some of the extern's removed by bug 195153. doh! Fixing this problem. 2003-03-16 21:40:27 +00:00
dbaron%dbaron.org
20ae0c288c No more experiments. Back to plain old macros. r+sr=roc b=196603 2003-03-16 04:51:56 +00:00
dbaron%dbaron.org
5966b88a27 Well, the OS/2 compiler does not like the cool way of doing this, so on to the ugly way... b=197277 2003-03-16 01:34:48 +00:00
dbaron%dbaron.org
c4811e9e52 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 2003-03-16 00:20:21 +00:00
dbaron%dbaron.org
ea3fcd2e6a Oops! nsStyleSVG never had a GetStyleStructID method. b=196603 2003-03-15 21:54:49 +00:00
bzbarsky%mit.edu
fef48cc2d0 Fix a few inefficient callers of getElementsByTagName. Bug 191589,
r=neil@parkwaycc.co.uk, sr=jst
2003-03-15 16:30:09 +00:00
dougt%netscape.com
0d2808c511 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 CID�s 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.
2003-03-15 01:04:32 +00:00
bmlk%gmx.de
9359dc9771 require the presence of the inner table frame for reflow bug 189751 r=jkeiser sr=roc+moz 2003-03-14 10:31:55 +00:00
jst%netscape.com
0b5cb41238 Fixing bug 192837. Freezing the rest of the DOM HTML interfaces. r=fabian@imajes.info, sr=peterv@netscape.com 2003-03-14 07:00:53 +00:00
jkeiser%netscape.com
9dfc1961ec Make .selectedIndex = -1 clear select (bug 195773), r=peterv@netscape.com, sr=jst@netscape.com 2003-03-14 06:18:20 +00:00
mkaply%us.ibm.com
c7f3e93917 OS/2 only - oops - don't modify XUL buttons in here 2003-03-14 01:50:41 +00:00
bzbarsky%mit.edu
b55d3bdb7f Remove some style-data-clearing functions that no one uses and that don't do
the right thing anyway.  Bug 169989, r+sr=dbaron
2003-03-13 18:58:54 +00:00
dbaron%dbaron.org
46b12ccdd6 Make HTMLDocumentColorRule immutable. b=196795 r+sr=bzbarsky 2003-03-13 15:30:32 +00:00
dbaron%dbaron.org
3069e2548c 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 2003-03-13 15:29:36 +00:00
bzbarsky%mit.edu
78169362cd Fix bug 197090; foo.style.background="" would throw instead of just doing
nothing.  r+sr=dbaron
2003-03-12 21:54:50 +00:00
jkeiser%netscape.com
b8b384ec30 Make ismap images not overwrite the query part of the URL (bug 185169), r+sr=bzbarsky@mit.edu 2003-03-12 21:22:21 +00:00
varga%netscape.com
3e057a4289 Fix for bug 192885. Expose the single selection method of nsTreeSelection.
r=neil, sr=jag
2003-03-12 09:00:28 +00:00
bryner%netscape.com
2063c40516 Don't need to stabilize mRefCnt to 1 in nsStyleContext dtor (bug 196956). r/sr=dbaron. 2003-03-12 05:19:43 +00:00
bryner%netscape.com
f3a28e9f42 Implement Aqua form controls when building with the Cocoa toolkit (bug 188254). r=pinkerton, sr=sfraser. 2003-03-12 04:57:33 +00:00
roc+%cs.cmu.edu
210e29411b Bug 183905. Allow horizontal scrolling with mouse sticks. Patch by Dainis_Jonitis, r+sr=roc+moz 2003-03-12 03:22:11 +00:00
dbaron%dbaron.org
3e2ee83b87 Add testcase for bug 177331. 2003-03-12 00:07:40 +00:00
dbaron%dbaron.org
1db55eaf76 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 2003-03-11 23:56:49 +00:00
dbaron%dbaron.org
a3616ebbd5 Add testcase for bug 196919. 2003-03-11 23:22:47 +00:00
varga%netscape.com
e5518fb814 Adding an assertion for bug 154952.
r/sr=bz
2003-03-11 15:27:25 +00:00
bmlk%gmx.de
b3aae54563 clip the border at the dirty rectangle, bug 86249 r+sr=roc+moz 2003-03-11 15:15:08 +00:00
bmlk%gmx.de
da94756a04 compiler warning fix, bug 167659, orig. patch by caillon, r=jkeiser, sr=dbaron 2003-03-11 13:33:19 +00:00
varga%netscape.com
ce16fbb0c1 Fix painting of drop feedback on Mac. Follow up from previous checkin. 2003-03-11 08:02:20 +00:00
varga%netscape.com
55fc7a1241 Fix for bug 185977. xul tree paint way too much, way too often
r=neil, sr=bryner, original patch by r.pronk@its.tudelft.nl
- refactored all painting methods to paint everything (including the background) as part of the foreground layer
- refactored painting of drop feedback to match the style in the file
2003-03-11 07:21:14 +00:00
jkeiser%netscape.com
f95c2249fa Fix ISINDEX crash (bug 191974), r=aaronl@netscape.com, sr=dbaron@dbaron.org 2003-03-11 06:53:49 +00:00
peterlubczynski%netscape.com
eccc1a5ed8 Fixing bug 131007, unpaired events cause us to remain in capture and look hung, r=jkeiser sr=bryner 2003-03-11 00:54:18 +00:00
roc+%cs.cmu.edu
acf6252812 Bug 173874. Fix tooltip positioning. patch by parish@ntlworld.com, r+sr=roc+moz 2003-03-08 03:11:51 +00:00
roc+%cs.cmu.edu
84b91a597c Bug 195883. %-values are not valid for '-moz-opacity'. 2003-03-08 03:08:25 +00:00