Commit Graph

7734 Commits

Author SHA1 Message Date
akkana%netscape.com
149fc29880 145196: a warning fix from burpmaster@truffula.net and another one from me 2003-03-25 19:51:06 +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
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
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
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
bryner%netscape.com
e1391344c6 Move editor's key event listener, xbl commands, and typeahead find into the system event group. This allows event listeners in content to reliably cancel key events. Bug 54035, r=jkeiser and aaronl, sr=hyatt and kin. 2003-03-24 04:00:58 +00:00
jfrancis%netscape.com
d65a91cf65 fix for 187955: improvements to html fragment sink and paste code. Fixes problems seen with "Create table From Selection" and also with CF_HTML paste.
r=brade; sr=kin
2003-03-23 20:45:47 +00:00
dbaron%dbaron.org
f7a4afe32b Make mkaply's bustage fix a little safer. 2003-03-22 18:34:57 +00:00
mkaply%us.ibm.com
47fa9fd754 Ports bustage - someone please correct me if I have done something horribly wrong 2003-03-22 14:31:19 +00:00
bzbarsky%mit.edu
a76184952a This warning was never supposed to get checked in... 2003-03-22 07:57:44 +00:00
jst%netscape.com
00db1bb01f Fixing silly placement of '||'. No code change. 2003-03-22 03:24:57 +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
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
heikki%netscape.com
7546a28ccf Bug 139276, implement synchronous document.load(), r=jst, sr=darin. 2003-03-21 19:22:52 +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
be937c3d3c augh! how did I miss these files?!
more for bug 195262
2003-03-21 06:52:12 +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
bzbarsky%mit.edu
9d9dd599e9 Load images even if we're not associated with any document, for now, so that
drag/drop and copy/paste of images work.  Bug 198428, r=timeless, sr=jst
2003-03-21 01:31:43 +00:00
bzbarsky%mit.edu
de9e5df295 Fix crash when viewing standalone images if images are blocked in mailnews.
Bug 198301, r=jkeiser, sr=jst
2003-03-20 02:03:13 +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
bzbarsky%mit.edu
56b2f64be1 rv is no longer used... (bug 83774) 2003-03-19 06:11:59 +00:00
bzbarsky%mit.edu
38989d3add Trying to make Tp go down. Switch back to the old way of doing load events. 2003-03-19 05:38:33 +00:00
bzbarsky%mit.edu
d776b1c008 Fix OS/2 bustage. Bug 83774. 2003-03-19 04:13:37 +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
heikki%netscape.com
74aeae05a2 Bug 198127, change cursor when on expander, r+sr=bzbarsky. 2003-03-19 01:22:01 +00:00
bzbarsky%mit.edu
13dcd19c90 More build system stuff for bug 83774. r=pavlov, sr=jst 2003-03-19 01:17:07 +00:00
bzbarsky%mit.edu
d9626bd65a Build system changes for bug 83774. Enables the new code, but doesn't use it
yet.  r=pavlov, sr=jst
2003-03-19 01:16:16 +00:00
bzbarsky%mit.edu
6f9799a38d Error defs for bug 83774. r=pavlov, sr=jst 2003-03-19 01:11:23 +00:00
bzbarsky%mit.edu
e274d4eb2d New files for bug 83774. r=pavlov, sr=jst 2003-03-19 01:08:22 +00:00
bryner%netscape.com
edb3b94597 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-19 00:44:17 +00:00
heikki%netscape.com
87762f8831 Bug 197966, minus sign did not change to plus when unexpanded, patch from sicking, r=jkeiser, sr=bzbarsky. 2003-03-19 00:32:46 +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
mkaply%us.ibm.com
b306dde0df #198036
r=blizzard, sr=kin 
Uninitialized variable
2003-03-18 22:18:10 +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
brade%netscape.com
a61e8c4ffa use member command manager; r/sr=dbaron; bug 197583 2003-03-18 14:47:17 +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
8c4fcee132 Fix regression bug 197823 -- scrolling state restoration broken during history
navigation if URL includes anchor name.  Remove unnecessary and deleterious
flush. r+sr=dbaron
2003-03-18 04:09:24 +00:00
bzbarsky%mit.edu
bd5dec2fa1 AddDoctypeDecl should not enforce "doctype" being uppercase. Bug 197331, patch
by bugzilla@jellycan.com (Brodie Thiesfield), r=harishd, sr=jst
2003-03-17 23:24:27 +00:00
bzbarsky%mit.edu
bdbb61ee9e IsJavascript should handle leading spaces. Bug 197345, patch by
bugzilla@jellycan.com (Brodie Thiesfield), r=brade, sr=bzbarsky
2003-03-17 23:18:57 +00:00
sspitzer%netscape.com
06be46ccb3 a (knock on wood) safe fix for (at least) two bugs:
#195011, Dismissing Junk Mail Log dialog crashes Mozilla [@ nsEventListenerManager::HandleEvent]
#137191, Infinite recursion near nsEventStateManager::TabIntoDocument

really the same issue:  guard against tabbing into a sub document, popping back out, and tabbing back in recursively.

r=aaronl, sr=bryner.
2003-03-17 23:08:36 +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
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
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
bryner%netscape.com
348f569486 fix some more crashes related to bug 196337. r=blake, sr=hewitt. 2003-03-17 03:57:51 +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
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
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
45a2292829 Fix operator precedence error in previous patch (which I reviewed, eek!). b=197277 2003-03-16 01:13:23 +00:00
dbaron%dbaron.org
156161466a Fix operator precedence error in previous patch (which I reviewed, eek!). b=197277 2003-03-16 01:12:32 +00:00
dbaron%dbaron.org
4861ed4f67 Fix operator precedence error in previous patch (which I reviewed, eek!). b=197277 2003-03-16 01:03:20 +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
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
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
bzbarsky%mit.edu
83e88b0845 The time for this line hath not yet come. Fix build bustage. 2003-03-14 02:29:55 +00:00
bzbarsky%mit.edu
caefc412a3 Make :target work for history loads too. Bug 197277, r+sr=dbaron 2003-03-14 01:16:31 +00:00
rginda%netscape.com
2b3526ff2e bug 170585, Scriptable streams are broken; r=darinf, sr=dougt
update to readdata caller
2003-03-13 21:24:37 +00:00
heikki%netscape.com
7e49ea37d5 Bug 185873, remove bad CSS rule that made us print only the first page of a pretty printed XML document, r=sicking, sr=dbaron. 2003-03-13 19:54:17 +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
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
32997b4aa1 fixing ports bustage 2003-03-12 05:03:35 +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
jaggernaut%netscape.com
c19fc0a9be Bug 94424: Search/filters UI text field doesn't accept click-right paste. The underlying cause was that mousedown on a menuitem in the textbox's context menu shifted focus from the textbox into the first focusable container of the textbox. We're fixing this by not letting the focusable frame search code look outside popup frames. r=bryner, sr=hyatt 2003-03-12 04:19:53 +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
bryner%netscape.com
7b37e841b7 Make prototype bindings be refcounted again. This ensures that the
prototype binding will still be alive even if the XBLDocumentInfo has
been deleted, as can happen when the XUL cache is flushed (since it
holds the only reference to the docinfo in that case). Fixes crashers
196446, 196333, 196477, 196736. r=jkeiser, sr=jag.
2003-03-12 00:42:52 +00:00
hpradhan%hotpop.com
25d06549f1 bug 196662 : remove some obsolete code in nsHTMLFragmentContentSink r=harishd sr=jst 2003-03-11 04:38:07 +00:00
jkeiser%netscape.com
e3e103fbb4 Collapse redundant table attr code (bug 191414), r=bernd, sr=bzbarsky 2003-03-10 19:01:25 +00:00
roc+%cs.cmu.edu
84b91a597c Bug 195883. %-values are not valid for '-moz-opacity'. 2003-03-08 03:08:25 +00:00
aaronl%netscape.com
84551c90d5 Bug 170921, bug 174163, bug 172329. Image selection occuring when image buttons, linked images or image map areas focused. r=mjudge, sr=bryner 2003-03-08 01:09:26 +00:00
heikki%netscape.com
dadc4b1160 Bug 191327, make internalSubset not include delimiting brackets (was not defined in DOM 2 but is now defined in DOM 3 drafts). Also fix bug 191482, external entity definitions should be included in internal subset. r=harishd, jst, sr=peterv. 2003-03-07 23:40:51 +00:00
cls%seawood.org
d1079607df XP code changes required for mingw landing.
Add NS_STDCALL macros for functions that require stdcall declarations.
Add NS_STDCALL_FUNCPROTO macro for stdcall function prototype typedefs.
Bug #134113 r=dougt sr=dbaron
2003-03-07 06:07:56 +00:00
bryner%netscape.com
a88046b75c fixing bustage 2003-03-07 01:05:54 +00:00
bryner%netscape.com
9d7d571cab Remove nsIXBLPrototypeBinding (part of bug 194834). r=jkeiser, sr=alecf. 2003-03-06 23:59:18 +00:00
aaronl%netscape.com
20117a7edc Bug 194968. Use content id properly to expose whether window is content vs. UI. r/sr=roc+moz 2003-03-06 23:07:00 +00:00
pavlov%netscape.com
1985e0cb61 checking in fix for bug 196130 2003-03-06 23:03:49 +00:00
suresh%netscape.com
90c01febac bug 185692 - enable prefetching of '?' URLs in the context of rel=prefetch. r-dougt, sr-darin 2003-03-06 21:37:09 +00:00
dbaron%dbaron.org
10878a0640 Remove unused variable (fix warning). b=171830 2003-03-06 21:01:52 +00:00
dbaron%dbaron.org
2c149384ef Fix for bustage on older gcc. b=117316 2003-03-06 20:16:35 +00:00
alecf%netscape.com
5b7536c806 fix for bug 191416 - clean up nsIUnicharInputStream to make it more like nsIInputStream:
- hide Fill() (or remove it where not necessary)
- add ReadSegments() so that we can do reads without copying
- remove the extra offset parameter to Read()
r=dougt, sr=darin
2003-03-06 19:54:51 +00:00
dbaron%dbaron.org
42cb723529 Fix dynamic style changes resulting from change to href attribute on HTML links. b=194972 r+sr=bzbarsky 2003-03-06 19:19:55 +00:00
dbaron%dbaron.org
c3fb353790 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 2003-03-06 19:14:17 +00:00
dbaron%dbaron.org
636a18962f 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 2003-03-06 19:07:22 +00:00
aaronl%netscape.com
52677ea55f Bug 192454. Window is focused again if onclick='window.open' and href = '#foo'. r=bryner, sr=jst 2003-03-06 18:42:49 +00:00
jkeiser%netscape.com
5822d98fd0 Fix XBL retargeting for xul elements (bug 194429), r=saari@netscape.com, sr=bryner@netscape.com 2003-03-06 01:01:28 +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
sicking%bigfoot.com
5cb0c35587 Bug 195886: Adjust the prettyprint code to the fact that we don't target events at textnodes any more.
r/sr=bz
2003-03-05 12:17:55 +00:00
kyle.yuan%sun.com
d78658f31b Bug 194980 Accessible state change events no longer fired for checkboxes and radios
r=aaronl, sr=henry.jia
rewrite nsHTMLInputElement::FireEventForAccessibility() function
2003-03-05 03:20:17 +00:00
timeless%mozdev.org
51b1da374a Bug 133711 Unreachable statement (duplicate return) in nsXULAttribute and nsSVGAttributes (Bugs found via linting....)
patch by riceman+bmo@mail.rit.edu r=timeless sr=bz
2003-03-05 02:35:27 +00:00
mkaply%us.ibm.com
9cfde9a89b #192355
r=mstoltz, sr=heikki
Add security for accessing clipboard via Javascript
2003-03-04 13:56:36 +00:00
sicking%bigfoot.com
9ed65880ca Bug 184159: Make scripts with for- and event-attributes not lock up the xml-contentsink.
r=peterv sr=jst
2003-03-04 12:12:48 +00:00
bryner%netscape.com
c8a63c954b Fix leak of mExplicitOriginalTarget from nsDOMEvent (bug 195602). Convert
nsDOMEvent to use nsCOMPtrs for its various targets.  r=jkeiser, sr=kin.
2003-03-04 01:51:16 +00:00
alecf%netscape.com
8c233de9f3 fix bug 190729 - remove some dead code from xbl
sr=jag, r=bryner
2003-03-04 01:04:27 +00:00
sfraser%netscape.com
9a6ff99344 Remove a bogus DEBUG_smfr block. r/sr=bryner 2003-03-01 00:56:23 +00:00
sfraser%netscape.com
395413772f Fix bug 195160: remove static NS_DEFINE_IID from header files. r=cls, sr=alecf. 2003-02-28 05:47:36 +00:00
bryner%netscape.com
2866ee7fbe Remove nsIXBLPrototypeHandler (part of bug 194834). r=jkeiser, sr=sfraser. 2003-02-28 01:04:45 +00:00
jkeiser%netscape.com
1732a11043 Make click+hold right-click menu work again on Mac (bug 193799), r=bryner/saari, sr=jst 2003-02-27 22:59:08 +00:00
jst%netscape.com
1f6f27bce8 Fixing bug 182700. Make 'Copy Image Location' work for <input type=image> elements. r=timeless@myrealbox.com, sr=peterv@netscape.com 2003-02-27 01:38:20 +00:00
kyle.yuan%sun.com
023d19a536 Bug 193629 accesskey can take effect on a disabled XUL widget
r=aaronl, sr=jag
check "disabled" attribute in the Click() handler
2003-02-27 01:14:07 +00:00
jst%netscape.com
a50db86562 Silly whitespace changes, no code changes. 2003-02-27 01:03:57 +00:00
jst%netscape.com
819f27dd06 Fixing bug 191579. Make <script for='window' event='onload'> execute as inline script like it used to. r=bzbarsky@mit.edu, sr=peterv@netscape.com 2003-02-27 00:49:36 +00:00
ere%atp.fi
0658c7676a Bug 193929: HTML sanitizer ("simple html") should allow attached images
r=ducarroz, sr=jst
2003-02-26 13:47:36 +00:00
sicking%bigfoot.com
1460eccf7c Bug 182177: fix comments in nsIXSLTProcessor.idl
r=Pike sr=peterv
2003-02-26 11:13:54 +00:00
bzbarsky%mit.edu
792d30905e 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
2003-02-26 05:51:32 +00:00
sfraser%netscape.com
73b113a4b0 Declare kCSSRawProperties and kCSSRawKeywords as 'extern' so that tests code can link with the .a, and get them. 2003-02-26 03:34:15 +00:00
sfraser%netscape.com
21b4f6bc05 Make static data const in nsBidiUtils.cpp. Bug 74803. r=dbaron, sr=alecf. 2003-02-26 00:54:14 +00:00
sfraser%netscape.com
a972085056 Bug 74803: fix the data in various static name tables to be const, and fix nsStaticNameTable to accept const data. r=dbaron, sr=alecf. 2003-02-26 00:52:07 +00:00
cbiesinger%web.de
9405eda256 190020 r=timeless sr=alecf GetResource should take AUTF8String 2003-02-25 19:02:00 +00:00
jkeiser%netscape.com
88ca4030aa Fix mouseover topcrasher (bug 194493), r=saari@netscape.com, sr=bryner@netscape.com 2003-02-25 06:01:12 +00:00
heikki%netscape.com
e37c900518 Bug 165606, document.load throws wrong error code when security settings prevent load, r=mstoltz, sr=peterv. 2003-02-24 23:08:45 +00:00
neil%parkwaycc.co.uk
be90785b1a Bug 102133 Implement phase="target" in XBL r=hyatt sr=jag 2003-02-24 15:41:41 +00:00
bzbarsky%mit.edu
6a0073db73 Sync up observer notifications between nsDocument and nsXULDocument. Bug
192130, r=dbaron, sr=jst
2003-02-23 18:49:45 +00:00
dbaron%dbaron.org
e341c5f706 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 2003-02-23 17:28:25 +00:00
timeless%mozdev.org
5d62c94573 Bug 126484 Occurences of uninitialized variables being used before being set (in Bidi files)
patch by mozilla-bugs@nogin.org r=smontagu sr=bz
2003-02-23 11:10:28 +00:00
timeless%mozdev.org
c6fb3f4dda Bug 193824 Remove unused globals from nsDocumentViewer.cpp
r=smontagu sr=alecf
2003-02-23 07:03:09 +00:00
dbaron%dbaron.org
09cb4b87a2 Fix bustage. b=167415 2003-02-23 05:36:40 +00:00
bzbarsky%mit.edu
a47e2fa451 Make CSSStyleSheetImpl::Clone properly set various weak refs on the clone
(parent sheet, parent rule, owning node, document).  Bug 167415, r+sr=dbaron
2003-02-23 04:44:41 +00:00
roc+%cs.cmu.edu
67a197918a 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 2003-02-23 02:49:22 +00:00
roc+%cs.cmu.edu
1c6c3011c3 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 2003-02-22 21:48:39 +00:00
ere%atp.fi
c25f85828c Bug 194266: Removed extraneous Truncate() calls.
r=smontagu, sr=jst
2003-02-22 20:05:00 +00:00
bzbarsky%mit.edu
494a5203ff Removing nsIDocumentContainer -- it's unused and not planning to be used. Bug
193543, r=sicking, sr=jst
2003-02-22 19:54:11 +00:00
dbaron%dbaron.org
06191c7c53 Attempt to fix Mac CFM bustage. b=181383 2003-02-22 19:46:21 +00:00
bzbarsky%mit.edu
9c70577820 Make the parser recycling list in the loader a class static. Bug 190658,
r=sicking, sr=peterv
2003-02-22 19:36:32 +00:00
dbaron%dbaron.org
2a5b76db35 Fix bugs with removal of certain properties. b=182294 r+sr=bzbarsky 2003-02-22 19:23:46 +00:00
dbaron%dbaron.org
031931bbfe Make our ignoring of properties for :first-line and :first-letter a lot closer to the spec (although still buggy). b=103189 r+sr=bzbarsky 2003-02-22 19:20:16 +00:00
dbaron%dbaron.org
a5105c6ec7 Fix dynamic change bugs by making HTMLColorRule immutable. b=99850 r+sr=bzbarsky 2003-02-22 19:15:46 +00:00
bzbarsky%mit.edu
651bd3b256 make dispatchEvent work even if the eventTarget is not in the document tree.
Bug 191960, r=bryner, sr=jst
2003-02-22 19:12:21 +00:00
dbaron%dbaron.org
d733f493e4 Fix Windows bustage. (Why doesn't gcc enforce correct const-ness?) 2003-02-22 17:51:47 +00:00
cbiesinger%web.de
5c60c82c78 191027 r=bzbarsky sr=dbaron nsXULContentUtils::Init() returning nonsense 2003-02-22 16:40:20 +00:00
dbaron%dbaron.org
4b4f8625f1 Replace nsIStyleSheet::AttributeAffectsStyle with nsIStyleRuleProcessor::HasAttributeDependentStyle. Strengthen the attribute optimization and apply it to HTML as well. b=163556 r+sr=bzbarsky 2003-02-22 16:10:53 +00:00
dbaron%dbaron.org
ea93b55cc8 Reduce code size of atom lists by storing a table of strings and pointers to fill in. b=181383 r=alecf sr=sfraser 2003-02-22 15:58:07 +00:00
dbaron%dbaron.org
6dd68f3c64 Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
kyle.yuan%sun.com
5e7e210f4c Bug 171329 Label does not work if the input is nested inside something else
r=aaronl, sr=bzbarsky
do a depth-first traversal to look for the first form control element
2003-02-22 13:01:03 +00:00
bryner%netscape.com
6a7db38d94 Attempting to fix os/2 and worms bustage. Add a protected default ctor to nsStyleContext. This should never be called since we never instantiate an nsDerivedSafe. r=bbaetz. 2003-02-22 10:13:34 +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
jkeiser%netscape.com
bd4cc85eeb Make text drag work again (bug 193568), r=bryner@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org 2003-02-22 08:10:46 +00:00
bryner%netscape.com
f5ac1d8202 mac cfm bustage 2003-02-22 04:17:16 +00:00
bryner%netscape.com
a2faedffba Make nsStyleContext also return nsrefcnt from AddRef and Release, fixing gcc 2.95 bustage. 2003-02-22 04:05:05 +00:00
bryner%netscape.com
e43f5a49fd Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron. 2003-02-22 00:32:13 +00:00
jkeiser%netscape.com
178bbf710d Fix crasher (bug 186132), r=saari@netscape.com, sr=bryner@netscape.com, a=asa@mozilla.org 2003-02-20 07:59:14 +00:00
brade%netscape.com
09b5018061 fix typo in cmd_selectAll (r=akkana, sr=smfr, a=Asa) bug 193763 2003-02-19 13:55:29 +00:00
jshin%mailaps.org
d5bbaf34de bug 163998: URL-unescape the image URL for rendering in the title bar
(r=nhotta,jst, sr=darin, a=asa)
2003-02-19 11:14:35 +00:00
varga%netscape.com
355fead37f Fix for bug 191215. Graphic in attachment(.jpg) fails to display on double click -bld 2003011509 does.
r=jag sr=sspitzer a=dbaron
2003-02-18 00:18:44 +00:00
bzbarsky%mit.edu
78eed0300d Fix double-delete on error return. Bug 188729 stuff, r=sicking, sr=peterv, a=dbaron 2003-02-17 14:52:46 +00:00
sicking%bigfoot.com
3ea21f2ffc Bug 169036: Fix potential crasher by adding a nullcheck.
r=jrgm sr=jst a=dbaron
2003-02-16 18:08:37 +00:00
jkeiser%netscape.com
29f5cb3226 Make mousey events targeted properly at textnodes (bug 185889, bug 103055), fix client-side image maps (bug 110072), r=saari@netscape.com, sr=bryner@netscape.com, a=dbaron@dbaron.org 2003-02-14 21:43:06 +00:00
sicking%bigfoot.com
dcc6361443 Bug 174713: Make XPath on HTML documents behave consistently and HTML-ish. This makes the XPath-functions name() and local-name() return upper-case names and makes nametests case-insensitive.
r=peterv sr=jst a=asa
2003-02-14 00:59:40 +00:00
bzbarsky%mit.edu
3d685b697d Dynamic changes to border-collapse should produce the right hint. Bug 191794,
r=bernd, sr=dbaron, a=asa
2003-02-13 19:06:18 +00:00
dbaron%dbaron.org
2ce5068759 Backing out half of previous changes, since they're not necessary to fix the crash and I think they cause problems. 2003-02-07 03:21:27 +00:00
dbaron%dbaron.org
e6b505fb3d Make observer notification in nsDocument and nsXULDocument happen in the same order (that of nsXULDocument), and make nsXULDocument more resistant to observer removal during notification in an attempt to fix crashes. b=192130 Patch from Boris Zbarsky <bzbarsky@mit.edu>. r=dbaron sr=jst a=asa 2003-02-07 03:15:41 +00:00
dbaron%dbaron.org
f91907b731 Allow new windows to open when we've fallen back to the default theme because of an upgrade by allowing stylesheet loads to fail. b=144027 r=ben sr=dveditz a=asa 2003-02-05 02:07:51 +00:00
bzbarsky%mit.edu
4e17c8c0d3 Try to more gracefully handle unexpected destruction of stylesheet linking
nodes.  Bug 185808 (just fixes the crash, not the real problem).  r=sicking,
sr=jst, a=dbaron
2003-02-04 04:45:58 +00:00
bzbarsky%mit.edu
982224a610 Fix crash bug 191588. r=sicking, sr=jst, a=dbaron 2003-02-04 04:19:05 +00:00
bryner%netscape.com
fad0bef4a6 protect against the to-be-focused content going away during tabbing (bug 171210). r=jkeiser, sr=jst, a=asa. 2003-02-01 00:05:46 +00:00
bzbarsky%mit.edu
593090f503 Relanding 189384 since it seems Not Guilty. Still r=sicking/sr=jst/a=asa 2003-01-31 23:21:22 +00:00
bzbarsky%mit.edu
0ec80cf1ba Backing out 189384 to see whether this caused the Tp jump. 2003-01-31 14:28:50 +00:00
bzbarsky%mit.edu
0a5dfa0dba Make getElementsByTagName(NS) in XUL use content lists (perf, etc). Bug
189384, r=sicking, sr=jst, a=asa
2003-01-31 06:28:14 +00:00
bzbarsky%mit.edu
98ad5a7317 Fix typo leading to infinite recursion crash. Bug 191229, r=timeless/caillon,
sr=jst, a=asa
2003-01-30 02:38:48 +00:00
jst%netscape.com
0f4f8b0090 Fixing regression bug 179918. HTML script elements with either a 'for' or 'event' attribute wouldn't execute, they were treated as event handler scripts, even if only one of the attributes were present. r=bugmail@sicking.cc, sr=bzbarsky@mit.edu, a=asa@mozilla.org 2003-01-28 22:35:12 +00:00
mkaply%us.ibm.com
b5ee129d4b #189355
r=brade, sr=smfr, a=asa
Midas - Support <XX> format for setting block type, NOT Heading X (see bug for details)
2003-01-25 21:49:53 +00:00
bzbarsky%mit.edu
7d5bb00be6 Fix "maxlength" attr regression. bug 190425, r=jkeiser, sr=jst, a=asa 2003-01-25 04:50:24 +00:00
bryner%netscape.com
7964f152e5 Removing files that are no longer part of the build. a=roc. 2003-01-23 08:15:52 +00:00
blizzard%redhat.com
a999059dd4 Bug #190079. Crasher. Check length of string before calling |Last| on it. r=jkeiser,sr=scc,a=roc 2003-01-23 04:12:58 +00:00
paper%animecity.nu
a275d707af Fix for blocker Bug 190124 & Bug 190121. r=jkeiser, sr=blizzard, a=roc+moz. Send Pixel Units to GetPixelValue, not GetIntValue 2003-01-22 22:33:27 +00:00
rbs%maths.uq.edu.au
f84022a21f Add a comment following b=123049, r+sr=bzbarsky 2003-01-22 07:56:13 +00:00
jst%netscape.com
9111ec7a30 Fixing bug 180552. Make document.body.client* work even if the body element's overflow is set to hidden. r=caillon@returnzero.com, sr=peterv@netscape.com 2003-01-22 06:25:24 +00:00
pkw%us.ibm.com
dc7050147a Bug 189859 - Checkin for Bug 173388 broke 64-bit builds on AIX.
r=harishd@netscape.com, sr=jst@netscape.com
2003-01-22 04:29:43 +00:00
peterv%netscape.com
c1e3bc0d5e Fix for bug 186538 (Touching the ownerElement of an attribute through XPath generates a security error.). r=sicking, sr=jst. 2003-01-22 03:25:51 +00:00
brade%netscape.com
7edf2f9cab handle new commands (useCSS, hiliteColor, readonly); add boolean command handlin
g; bugs 184718 and 184719 (r=mkaply, sr=smfr)
2003-01-22 01:04:51 +00:00
jkeiser%netscape.com
b1acff9243 Fix merge problem with bug 159757, r=bugmail@sicking.cc, sr=bzbarsky@mit.edu 2003-01-22 00:12:55 +00:00
aaronl%netscape.com
ec704b5a30 Bug 185270. Make Insert/shift+insert open link in new tab (foreground/background, depending on whether shift is pressed). r=caillon, sr=jag 2003-01-21 23:04:02 +00:00
jkeiser%netscape.com
b7baf2214d Stop firing mouse events at textnodes, fix tooltips not going away onmouseout (bug 185889, bug 185965), r=bryner@netscape.com, sr=jst@netscape.com 2003-01-21 21:26:45 +00:00
jkeiser%netscape.com
d73be72429 Move HTMLValue parsing methods to HTMLValue (bug 159757), r=bugmail@sicking.cc, sr=jst@netscape.com 2003-01-21 21:24:16 +00:00
dbaron%dbaron.org
03366794e8 Fix crash (and refix other crashes in a cleaner way) by making UndisplayedMap own references to content nodes, just like frames do. b=161304 r+sr=bzbarsky 2003-01-21 00:47:14 +00:00
seawood%netscape.com
a8ec9ce3d0 Fixing Forte static build bustage.
Thanks to Roland Mainz <Roland.Mainz@informatik.med.uni-giessen.de> for the patch.
r=cls sr=dmose
2003-01-20 11:57:47 +00:00
rbs%maths.uq.edu.au
e54e375728 In certain dynamic updates, frames scheduled to be reprocessed could be destroyed in a ripple effect. Since this was a root problem, the patch fixes the crasher bugs 123049, 133219 154797 187671 187890, r=bzbarsky, sr=dbaron 2003-01-20 01:07:03 +00:00
bernd.mielke%snafu.de
7d20b41954 limit the number of rowspans to value that can be handled by the cellmap bug 141818 r=karnaze sr=roc+moz 2003-01-19 15:15:22 +00:00
caillon%returnzero.com
b58b743a90 Output 'background-position' values in the correct order (X before Y)
bug 189629, r+sr=dbaron
2003-01-19 03:44:52 +00:00
caillon%returnzero.com
0ab3beee78 189533, background-position has low accuracy. Specifically, it was not allowing fractional percentages.
r+sr=dbaron
2003-01-19 02:36:04 +00:00
heikki%netscape.com
874b6550df Bug 1882, get ref from usemap even when it contains full URL. r+sr=roc+moz. 2003-01-19 01:08:05 +00:00
dbaron%dbaron.org
faa9a5b9f9 Reduce duplication of code between handling of top/right/bottom/left margin, border, and padding. b=189537 r+sr=bzbarsky 2003-01-18 15:58:49 +00:00
varga%netscape.com
73eda33c59 Adding a file I forgot to add.
Bug 73322. Pref based, automatic image resizing.
2003-01-18 11:04:40 +00:00
varga%netscape.com
874f920e11 Landing pref based, automatic image resizing.
Disabled by default.
r=jst, sr=jag
2003-01-18 10:17:58 +00:00
darin%netscape.com
685a7af468 modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa 2003-01-18 02:15:14 +00:00
dbaron%dbaron.org
973f5e4a90 Fix inheritance of 'border-color' when the value inherited came from 'color' (the default). b=189402 r+sr=bzbarsky 2003-01-17 23:41:20 +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
cbiesinger%web.de
b7a5577747 remove ifdef IBMBIDI in content/, r+sr=roc+moz, bug 89203 2003-01-17 12:09:23 +00:00