3375 Commits

Author SHA1 Message Date
jkeiser%netscape.com
37c56f56dd Fix onclick=form.submit(); onsubmit=return false to submit again (bug 192170), r=alexsavulov@netscape.com, sr=bzbarsky@mit.edu, a=asa
git-svn-id: svn://10.0.0.236/trunk@140389 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-27 15:59:31 +00:00
jkeiser%netscape.com
d352b5f09b Allow raw ParseIntValue to work with negative values (bug 198677), r=smontagu@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@140387 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-27 15:38:12 +00:00
jst%netscape.com
08e9d026e0 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
git-svn-id: svn://10.0.0.236/trunk@140344 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-26 07:41:30 +00:00
dbaron%dbaron.org
cb66990dc5 Fix leak of mValue. b=199184 r=jkeiser sr=jst
git-svn-id: svn://10.0.0.236/trunk@140296 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 23:59:26 +00:00
alecf%netscape.com
f24ccb3da0 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


git-svn-id: svn://10.0.0.236/trunk@140260 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 18:55:59 +00:00
jfrancis%netscape.com
0965f05259 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


git-svn-id: svn://10.0.0.236/trunk@140108 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-23 20:45:47 +00:00
dbaron%dbaron.org
127b75c575 Make mkaply's bustage fix a little safer.
git-svn-id: svn://10.0.0.236/trunk@140078 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 18:34:57 +00:00
mkaply%us.ibm.com
71c5b15ad9 Ports bustage - someone please correct me if I have done something horribly wrong
git-svn-id: svn://10.0.0.236/trunk@140059 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 14:31:19 +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
peterlubczynski%netscape.com
b713e3e0ca Creating nsMediaDocument/nsPluginDocument to make full-page
plugins scriptable, bug 90256 r=jkeiser sr=jst


git-svn-id: svn://10.0.0.236/trunk@140019 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 02:22:03 +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
aa145295c7 argh fix darwin bustage.. :(
git-svn-id: svn://10.0.0.236/trunk@139936 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 16:06:20 +00:00
alecf%netscape.com
3fa5a6e1da just one theory on the Ts slowdown, before I back myself out completely
git-svn-id: svn://10.0.0.236/trunk@139925 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 13:31:34 +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
bzbarsky%mit.edu
181e2a398a Fix crash when viewing standalone images if images are blocked in mailnews.
Bug 198301, r=jkeiser, sr=jst


git-svn-id: svn://10.0.0.236/trunk@139811 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-20 02:03:13 +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
mkaply%us.ibm.com
d854af2a64 #198036
r=blizzard, sr=kin 
Uninitialized variable


git-svn-id: svn://10.0.0.236/trunk@139702 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-18 22:18:10 +00:00
brade%netscape.com
3777665ab9 use member command manager; r/sr=dbaron; bug 197583
git-svn-id: svn://10.0.0.236/trunk@139671 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-18 14:47:17 +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
5861678ec0 Fix regression bug 197823 -- scrolling state restoration broken during history
navigation if URL includes anchor name.  Remove unnecessary and deleterious
flush. r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@139643 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-18 04:09:24 +00:00
bzbarsky%mit.edu
2a85f35d5f AddDoctypeDecl should not enforce "doctype" being uppercase. Bug 197331, patch
by bugzilla@jellycan.com (Brodie Thiesfield), r=harishd, sr=jst


git-svn-id: svn://10.0.0.236/trunk@139626 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-17 23:24:27 +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
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
dbaron%dbaron.org
c4b30dddae Fix operator precedence error in previous patch (which I reviewed, eek!). b=197277
git-svn-id: svn://10.0.0.236/trunk@139545 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-16 01:03:20 +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 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.


git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +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
bzbarsky%mit.edu
16b3162eea Make :target work for history loads too. Bug 197277, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@139410 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 01:16:31 +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
hpradhan%hotpop.com
c1418b7281 bug 196662 : remove some obsolete code in nsHTMLFragmentContentSink r=harishd sr=jst
git-svn-id: svn://10.0.0.236/trunk@139256 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-11 04:38:07 +00:00
jkeiser%netscape.com
07eee61844 Collapse redundant table attr code (bug 191414), r=bernd, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@139208 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-10 19:01:25 +00:00
roc+%cs.cmu.edu
220a586522 Bug 195883. %-values are not valid for '-moz-opacity'.
git-svn-id: svn://10.0.0.236/trunk@139134 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-08 03:08:25 +00:00
pavlov%netscape.com
6da1f6876e checking in fix for bug 196130
git-svn-id: svn://10.0.0.236/trunk@139050 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 23:03:49 +00:00
suresh%netscape.com
388e154175 bug 185692 - enable prefetching of '?' URLs in the context of rel=prefetch. r-dougt, sr-darin
git-svn-id: svn://10.0.0.236/trunk@139044 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 21:37:09 +00:00
alecf%netscape.com
326b7425d7 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


git-svn-id: svn://10.0.0.236/trunk@139039 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 19:54:51 +00:00
dbaron%dbaron.org
de7999bf43 Fix dynamic style changes resulting from change to href attribute on HTML links. b=194972 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@139036 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 19:19:55 +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
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
kyle.yuan%sun.com
03f9a54864 Bug 194980 Accessible state change events no longer fired for checkboxes and radios
r=aaronl, sr=henry.jia
rewrite nsHTMLInputElement::FireEventForAccessibility() function


git-svn-id: svn://10.0.0.236/trunk@138913 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 03:20:17 +00:00
mkaply%us.ibm.com
e3cecc6586 #192355
r=mstoltz, sr=heikki
Add security for accessing clipboard via Javascript


git-svn-id: svn://10.0.0.236/trunk@138859 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-04 13:56:36 +00:00
sicking%bigfoot.com
5ed56f29ad Bug 184159: Make scripts with for- and event-attributes not lock up the xml-contentsink.
r=peterv sr=jst


git-svn-id: svn://10.0.0.236/trunk@138858 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-04 12:12:48 +00:00