943 Commits

Author SHA1 Message Date
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
jaggernaut%netscape.com
56ae52c17a Bug 73353: clean up the REQUIRES lines in Makefiles.
git-svn-id: svn://10.0.0.236/trunk@99764 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-23 22:36:12 +00:00
pollmann%netscape.com
3feecfdd6d Bug 90392: Don't submit forms multiple times when dismissing the 'insecure form submit' warning dialog by pressing Enter. This balances XUL's handling of firing for Enter on KEY_PRESS and firing for space bar on KEY_UP by doing the same for HTML form controls. r=jag@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@99749 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-23 10:24:37 +00:00
waterson%netscape.com
849017d319 Fix both!
git-svn-id: svn://10.0.0.236/trunk@99502 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 20:17:09 +00:00
waterson%netscape.com
f7d5c1bbc4 Add a .get() to fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@99501 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 20:16:37 +00:00
waterson%netscape.com
d92d640402 Bug 89184. Use nsXPIDLCString instead of uninitialized bare |char*|. r=dbaron, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@99494 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 19:34:14 +00:00
jst%netscape.com
21ce7f8ced Removing use of obsolete macros for defining lists of interfaces used by the DOM classinfo code. r=pollmann@netscape.com, rs=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@99476 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 07:48:12 +00:00
waterson%netscape.com
b8c2932759 Bug 91149. Be sure to call |MapAlignAttributesInto()| to make us notice the |align| attribute. r=karnaze, sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@99469 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 04:51:56 +00:00
pavlov%netscape.com
cec3a7eb41 part of bug 78690. r=bryner sr=jst
git-svn-id: svn://10.0.0.236/trunk@99366 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-17 01:14:40 +00:00
dbaron%fas.harvard.edu
9359000a40 Header include dependency cleanup. b=64023 r=jag rs=brendan
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
jst%netscape.com
7bc2777d1a Fixing bug 83433, exposing DOM constructors and prototypes to JS. r/sr=rpotts@netcape.com, vidur@netscape.com, dbradley@netscape.com
git-svn-id: svn://10.0.0.236/trunk@99063 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-11 09:09:30 +00:00
bernd.mielke%snafu.de
31154d10f6 Empty table width attributes are now treated as no width specified. bug 75250
r=karnaze sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@99058 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-11 05:35:18 +00:00
bratell%lysator.liu.se
5df2e0ae6e Bug 84194 - make color parsing a little faster by using knowledge that numerical color values often start with a '#' and by using iterators instead of old nsString API:s. r=harishd sr=jst
git-svn-id: svn://10.0.0.236/trunk@98807 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-06 14:11:09 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
jst%netscape.com
99a0cead34 Fixing bug 81290. The element.offsetXXX properties contained incorrect values when the element is positioned, or a child of a positioned element, this made these properties kinda useless since we were nowhere close to IE wrt the values of these properties. r=pollmann@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@98316 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 22:44:20 +00:00
nhotta%netscape.com
0c3c57c24d In nsHTMLUtils.cpp changed to create UTF-8 URI instead of a document charset,
in mailnews changed ASCII conversion to UTF-8, bug 87202, r=ftang, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@98311 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 22:21:50 +00:00
dbaron%fas.harvard.edu
ee486fee11 Fix BiDi regression from style system landing by correcting implementation of 'unicode-bidi' to be a non-inherited property, correctly mapping attributes to it, splitting text frames with both strong RTL and LTR characters, and stripping BiDi control characters. Code by me and lkemmel@il.ibm.com r=simon@softel.co.il sr=hyatt b=83958
git-svn-id: svn://10.0.0.236/trunk@98239 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 03:15:58 +00:00
rpotts%netscape.com
1022a6475a bug #68955 (r=vidur, sr=jst, a=choffman) This patch prevents the short-circuit optimization of the image src attribute
git-svn-id: svn://10.0.0.236/trunk@97854 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-25 06:18:42 +00:00
blakeross%telocity.com
5301220295 Keypress event bubbles up to alerts, meaning alerts were dismissed without the user's consent (68846). r=kerz sr=ben a=asa
git-svn-id: svn://10.0.0.236/trunk@97569 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 06:20:27 +00:00
dbaron%fas.harvard.edu
88810ef1eb Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa
git-svn-id: svn://10.0.0.236/trunk@97540 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 03:27:48 +00:00
brade%netscape.com
cc246fdeea don't escape characters in JS attributes; bug #68167
git-svn-id: svn://10.0.0.236/trunk@97489 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 23:51:29 +00:00
bzbarsky%mit.edu
98d2d685c2 Add classinfo to nsGenericHTMLCollection, fixing bug 85560 and bug
83107.  r=peterv, sr=jst, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@97487 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 23:38:39 +00:00
cls%seawood.org
88aedd461b Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf


git-svn-id: svn://10.0.0.236/trunk@97363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 22:10:38 +00:00
peterv%netscape.com
45ec0e7f80 Fix for bug 38761 (Dynamically changing 'href' attribute of <link> doesn't work). r=heikki, sr=jst, a=blizzard.
git-svn-id: svn://10.0.0.236/trunk@97340 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 20:19:31 +00:00
nhotta%netscape.com
a0f93b502d If the javascript URI contains non ASCII then encode it to \uXXXX instead of applying charset conversion,
bug 51355, r=ftang, sr=jst, a=asa.


git-svn-id: svn://10.0.0.236/trunk@97335 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 20:01:36 +00:00
peterv%netscape.com
dde779814c Fix for bug 83612 (Correct/cleanup style loading code in content). r=heikki, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@97145 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-14 12:33:38 +00:00
peterv%netscape.com
09a73fac30 Fix for bug 84564 (Content-Style-Type no longer working). r=dbaron, sr=attinasi, a=asa.
git-svn-id: svn://10.0.0.236/trunk@97067 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-13 18:15:03 +00:00
rods%netscape.com
36b13cb2ba Major rework of how items are added, removed and selected (while being added and removed) with script
Now all the changes are performed, but no reflows are issued until the timer fires, which would be
after the script is done executing. The selection that take place during the script execution are
also cached and done afterward.
Bug 53165 r=pollmann sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@96675 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-08 02:34:09 +00:00
hyatt%netscape.com
cb0d9324ec Straggler for 78695.
git-svn-id: svn://10.0.0.236/trunk@96159 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-01 01:38:35 +00:00
hyatt%netscape.com
b7b1cb3691 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
git-svn-id: svn://10.0.0.236/trunk@96136 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 22:19:43 +00:00
pollmann%netscape.com
161f586d22 Bug 77834: Fix problem where form control state is being restored to the wrong form control or not restored at all when going back and forth through session history. The problem was that the hash key we used was the content ID, which was not consistent from page load to page load. The fix was to key instead by index of form in document / index of control in form, with logic to fall back to content ID if we are unable to do this. r=nisheeth@netscape.com, sr=jst@netscape.com, a=drivers@mozilla.org (blizzard@mozilla.org)
git-svn-id: svn://10.0.0.236/trunk@96057 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-30 11:26:21 +00:00
valeski%netscape.com
8b114fc235 r=jband, sr=vidur, a=blizzard. 82536. adding null check and graceful failing if null. it's valid for the stack to pop null JSContexts
git-svn-id: svn://10.0.0.236/trunk@95912 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 14:58:33 +00:00
valeski%netscape.com
e2736d6096 sr=vidur/shaver@mozilla.org on the content policy callsite and implementation mods (81260). Update of the nsIContentPolicy interface to provide more generic context, a nsIURI instead of a URI wstring, and a nsIDOMWindow for window level context. Existing Callsites have been updated to reflect the new changes, and nsIDOMWindows are now passed into the new API.
git-svn-id: svn://10.0.0.236/trunk@95620 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 22:40:10 +00:00
peterv%netscape.com
f6e0006b97 Fix typo.
git-svn-id: svn://10.0.0.236/trunk@95591 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 09:47:03 +00:00
pavlov%netscape.com
bb6baf7dcd fixing bug 65708 r=bryner sr=jst
git-svn-id: svn://10.0.0.236/trunk@95584 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 06:14:37 +00:00
jst%netscape.com
8e4e3c75fc Fixing bug 81115 that causes the identity of event receivers and event targets to be incorrect in the case where the target/reveiver is an nsGenericElement or a nsGenericDOMDataNode. The problem was the those classes use the event listener manager as a tearoff but QI'ing that tearoff to nsISupports returns the event listener manager and not the element/node, this causes XPConnect to create different wrappers for the same element/node when the event listener tearoff is wrapped in stead of directly wrapping the element/node. This causes problems with event.target in JS, among other things. The solution for this problem was to create a separate tearoff that works correctly and leave the event listener manager alone since it can not be used as a tearoff in all cases. r=pollmann@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@95514 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 07:02:50 +00:00
peterv%netscape.com
f74c7ea12a Fix for bug 7515 (load stylesheets inserted dynamically through the DOM). r=heikki, harishd. sr=jst.
git-svn-id: svn://10.0.0.236/trunk@95505 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 02:59:15 +00:00
vidur%netscape.com
1da03054fb Continuing fix for bug 18843. Added onload and onerror events for loaded scripts. r=nisheeth, sr=jst
git-svn-id: svn://10.0.0.236/trunk@95490 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 01:21:57 +00:00
jst%netscape.com
840888ef95 Checking in support for onload handlers for frame and iframe elements, and fixing .ownerDocument of orphan elements, fixes bug 60173, and also fixes part of bug 27382. r=pollmann@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@95479 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 00:17:01 +00:00
vidur%netscape.com
51d5bb6a4a Fix for bug 18843. Dynamically added SCRIPT elements are now processed through a per-document script loader. Script execution that originally occured in the content sinks is now done by the script loader. r=heikki sr=jst
git-svn-id: svn://10.0.0.236/trunk@95228 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 05:54:16 +00:00
nhotta%netscape.com
0260567b89 Changed to use NS_ConvertUTF8toUCS2 for nsHTMLAnchorElement::GetHref, bug 81090, r=ftang, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@95157 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 23:47:35 +00:00
ftang%netscape.com
4cc3945877 fix bug 80552 r=ftang r/sr=jst
check in for simon@softel.co.il
change BidiEnable to GetBidiEnable


git-svn-id: svn://10.0.0.236/trunk@95132 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 13:40:08 +00:00
jst%netscape.com
4f022036c9 Use XPConnect to get the private nsISupports pointer from a JSObject, and fix nsIDOM3Node fu introduced by the XPCDOM landing, r=glazman@netscape.com, rs=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@94870 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-14 09:16:27 +00:00
joki%netscape.com
08667ef7c1 Fix for 78987, modify Init*Event signatures to meet standards. sr:hyatt, r:jst
git-svn-id: svn://10.0.0.236/trunk@94840 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-14 01:54:11 +00:00
jst%netscape.com
ad0223ffa7 Removing unused code and code that was #if 0'ed out on the XPCDOM branch and left in when the branch landed. No code changes.
git-svn-id: svn://10.0.0.236/trunk@94816 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-13 10:33:33 +00:00
darin%netscape.com
6b6871f17a fixes linux bustage r=evaughan
git-svn-id: svn://10.0.0.236/trunk@94692 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 22:30:02 +00:00
evaughan%netscape.com
eab27303ef Landing accessibility
-r aarol, jgaunt

-sr brendan


git-svn-id: svn://10.0.0.236/trunk@94685 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 21:11:38 +00:00
jst%netscape.com
9d299d36ce Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@94238 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 16:46:42 +00:00
brade%netscape.com
4b75d4886b bug #79148; new line after image, map, area; r=akkana, sr=kin
git-svn-id: svn://10.0.0.236/trunk@94126 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-07 14:46:00 +00:00
joki%netscape.com
adddd8bbc9 Fixes for
69328 fix removeAttribute to remove event listeners.  sr:jst, r:saari
68568 add simulated click to keypress activation of links for 4x compat and access.  sr:jst, r:saari
77251 fix rest of createEvent strings to use plural form.  sr:hyatt, r:jst
77595 fix imagemap tabbing by setting correct tabIndex for no tabindex images.  sr:jst, r:saari


git-svn-id: svn://10.0.0.236/trunk@93893 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-04 05:34:58 +00:00