5069 Commits

Author SHA1 Message Date
timeless%mac.com
bb6fa05909 Bugzilla Bug 77080 Show application/x-javascript in browser window instead of trying to download
fix by bzbarsky@mit.edu, r=harishd, sr=jst


git-svn-id: svn://10.0.0.236/trunk@93852 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 22:28:44 +00:00
arik%netscape.com
450802208f moving from using 32 to using nsIDOMKeyEvent::DOM_VK_SPACE to make the code more clear as per brendan's suggestion.
git-svn-id: svn://10.0.0.236/trunk@93851 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 22:26:06 +00:00
jdunn%netscape.com
0a56c48c58 Fixing tinderbox bustage
fixing per pierre's suggested patch on the n.p.m.b
r=pierre@netscape.com,jdunn@netscape.com


git-svn-id: svn://10.0.0.236/trunk@93825 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 20:37:06 +00:00
mkaply%us.ibm.com
b450a2a271 OS/2 TB break - forgot a false
git-svn-id: svn://10.0.0.236/trunk@93814 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 18:05:27 +00:00
mkaply%us.ibm.com
34ee7334f5 OS/2 TB break - need to change true to PR_TRUE and false to PR_FALSE
git-svn-id: svn://10.0.0.236/trunk@93805 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 16:09:42 +00:00
pierre%netscape.com
b09cf8f855 Changed 2 stray |bool|s to |PRBool| to make OS/2 happy. Thanks to dbaron.
git-svn-id: svn://10.0.0.236/trunk@93802 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 15:40:05 +00:00
pierre%netscape.com
287fc1dc9e 43457: change the mutable style context APIs, disable style context sharing, implement style data sharing. r=waterson.
git-svn-id: svn://10.0.0.236/trunk@93798 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 13:20:48 +00:00
scc%mozilla.org
4930a07480 bug #75504; sr=jband. simple fixes correcting where people inappropriately applied |getter_AddRefs|
git-svn-id: svn://10.0.0.236/trunk@93787 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 10:09:59 +00:00
pierre%netscape.com
0583c197e4 78541 Typos in nsCSSStyleRule.cpp. Fix by sfraser, r=valeski.
git-svn-id: svn://10.0.0.236/trunk@93779 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 07:39:57 +00:00
rbs%maths.uq.edu.au
98832e918a Low hanging optimization: save some cycles by avoiding to copy strings. b=77659 r=waterson
git-svn-id: svn://10.0.0.236/trunk@93775 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 05:37:09 +00:00
heikki%netscape.com
d518fc19d5 Bug 78455, regression with link target. My attempt to override GetbaseTarget was foiled by extraneous 'const'. r=harishd, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@93684 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 22:31:02 +00:00
pierre%netscape.com
c4fd4ad4a4 74773 UMR in AccumulateCRC(). r=attinasi
git-svn-id: svn://10.0.0.236/trunk@93638 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 10:55:08 +00:00
pierre%netscape.com
4fa48bceff 62304 [CASCADE] Can't style form controls. r=attinasi, a=hyatt, sr=the man formerly known as buster.
git-svn-id: svn://10.0.0.236/trunk@93637 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 10:45:07 +00:00
pierre%netscape.com
dd850a3666 14448 'border' property not resetting 'border-color' to initial value. tested=dbaron/hixie
git-svn-id: svn://10.0.0.236/trunk@93636 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 10:31:31 +00:00
pierre%netscape.com
e2a4fe266a 63502 Content-Style-Type don't ignore parameters. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@93634 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 10:24:57 +00:00
pierre%netscape.com
ea7430e62c 66190 External style sheet with unrecognized charset is ignored / 63502 Content-Style-Type don't ignore parameters. r=attinasi/glazman
git-svn-id: svn://10.0.0.236/trunk@93633 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 10:24:33 +00:00
rbs%maths.uq.edu.au
4585cb0bec Fix bug 76567 (load viewsource.css on demand rather than at startup). Patch mostly by bzbarsky@mit.edu r=harishd,brendan sr=jst
git-svn-id: svn://10.0.0.236/trunk@93619 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 04:53:38 +00:00
arik%netscape.com
4e1c070df2 checking in the rest of the code that was accidentally not included. sorry all.
git-svn-id: svn://10.0.0.236/trunk@93612 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 02:59:17 +00:00
hyatt%netscape.com
851b0c945b Fix for 76495. r=danm, sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@93571 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-01 22:54:11 +00:00
hyatt%netscape.com
6e7aecd636 Fix for 76495. r=danm, sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@93570 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-01 22:50:16 +00:00
heikki%netscape.com
7788ebd4ed Bugs 67887, 67893, 67882, 68185, 73160, 77923. Added support for XHTML base href and target attributes, meta http-equiv and link href. Fixed the blank page bug when xml-stylesheet PI did not contain href attribute. Fixed getElementById() to not match XHTML name attribute. This fix also includes some minor cleanup. r=nisheeth, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@93488 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-30 23:35:09 +00:00
bryner%uiuc.edu
0773bef446 Bug 76920 - fire a mouseout event before doing a mousewheel scroll to avoid stuck tooltips. r=blake, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@93458 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-30 08:11:03 +00:00
cls%seawood.org
cfeb5eff5b Set EXPORT_LIBRARY=1 in all pertinent Makefile.ins. Allows us to build the final link list as we traverse the tree. Bug #46775
git-svn-id: svn://10.0.0.236/trunk@93397 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-28 19:48:12 +00:00
jfrancis%netscape.com
736e16164c adding NSIRangeUtil implementation and interface to content so that folks outside of layout will have some way to compare dom points to ranges or other points. Groundwork for 65557, among others. r=fm; sr=kin
git-svn-id: svn://10.0.0.236/trunk@93388 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-28 12:02:14 +00:00
hyatt%netscape.com
a65e8644da Fix for 75024. r=danm, sr=ben
git-svn-id: svn://10.0.0.236/trunk@93380 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-28 05:50:46 +00:00
dbaron%fas.harvard.edu
81d8f8c076 Fix OS/2 bustage. |nsISupportsArrayEnumFunc| should not have |PR_CALLBACK|.
git-svn-id: svn://10.0.0.236/trunk@93378 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-28 04:30:42 +00:00
arik%netscape.com
2e12a447a4 moved the spacebar handling code from js to c++ so that spacebar works for embedding apps. fixed bug 71760, r=brendan, sr=hyatt, a=blizzard.
git-svn-id: svn://10.0.0.236/trunk@93356 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-28 02:32:14 +00:00
dbaron%fas.harvard.edu
6af2d87084 Fix unneeded construction of |nsAutoString|s in |SelectorMatches| by pulling one out of a loop and rewriting matching of ^= and $= CSS3 selectors to remove the other. b=77063 r=glazman@netscape.com sr=attinasi@netscape.com
Fix O(N^2) cascading by replacing insertion into one large |nsISupportsArray| with appending into a hashtable (hashed by weight) of |nsISupportsArray| and then combining those arrays into the larger array.  b=77066  r=attinasi@netscape.com  sr=waterson@netscape.com
Reduce construction of |SelectorMatchesData| by retaining (so they can be used for matching other selectors) any new ones constructed in |SelectorMatchesTree| until the one originally passed to |SelectorMatchesTree| is destroyed.  b=77090  r=attinasi@netscape.com  sr=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@93351 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-28 02:16:16 +00:00
valeski%netscape.com
8deb3b45a4 mozilla diffs r=tao, sr=alecf, commercial diffs r=syd, sr=syd/shaver. lower-casing JS calls to createBundle. removing un-used nsILocale param from nsIStringBundle::CreateBundle(). 76332
git-svn-id: svn://10.0.0.236/trunk@93306 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 21:30:24 +00:00
blakeross%telocity.com
6445877620 Reset the content state after dropping so dragged nodes don't remain :active (48857). r=saari sr=ben
git-svn-id: svn://10.0.0.236/trunk@93304 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 21:23:02 +00:00
sfraser%netscape.com
05d0dfeb30 Fix for 76758, 63241 and 68307. Make Find search through all frames, bring the Find dialog up from JS, and make a docShell enumerator. r=adamlock, sr=kin
git-svn-id: svn://10.0.0.236/trunk@93298 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 21:11:03 +00:00
rpotts%netscape.com
e8ce898932 fix for bugs #55867, 63529, 26295, 63247 (r=darin, valeski)
git-svn-id: svn://10.0.0.236/trunk@93297 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 21:05:52 +00:00
sfraser%netscape.com
c696d9a508 Backing out valeski
git-svn-id: svn://10.0.0.236/trunk@93248 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 05:53:22 +00:00
valeski%netscape.com
4aea038db2 mozilla tree r=tao, sr=alecf. commercial tree r=syd, sr=syd/shaver. lowercasing the first char in JS method calls to createBundle. removing the dead locale parameter in the CreateBundle() method call. 76332
git-svn-id: svn://10.0.0.236/trunk@93239 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 04:16:22 +00:00
darin%netscape.com
cbdc9480c4 Fixes bug 77269 "ibench test performance regression" r=gordon, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@93217 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 02:26:32 +00:00
brade%netscape.com
7776548305 remove selectAll (moved to the global file); r=akkana, sr=kin (bug#74643)
git-svn-id: svn://10.0.0.236/trunk@93174 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-26 19:41:12 +00:00
brade%netscape.com
40b5a7e151 put selectAll back in the global file; r=akkana, sr=kin (bug#74643)
git-svn-id: svn://10.0.0.236/trunk@93172 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-26 19:40:14 +00:00
heikki%netscape.com
466eb9093d Bugs 65848 and 75031, support for application/xml and application/xhtml+xml mime types. This also fixes almost all of content to use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2. r=harishd, valeski (mime types), sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@93171 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-26 19:33:12 +00:00
pinkerton%netscape.com
9c28e35d15 kill click-hold timer when shutting down esm. don't start click-hold timer if a <menubutton> or if content has a |popup| tag. Fixes dual-menus on bookmarks button. r=pchen/sr=hyatt. bug# 75842.
git-svn-id: svn://10.0.0.236/trunk@93170 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-26 19:12:31 +00:00
shaver%mozilla.org
f54bc44c8c 77540: reduce default mMaxTextRun from 8192 to 8191, to greatly improve page load performance. r=harish, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@93144 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-26 14:37:31 +00:00
hyatt%netscape.com
c51a96b825 Fix for 77002. reviewers=jst,waterson,hixie,shaver,brendan,pavlov
git-svn-id: svn://10.0.0.236/trunk@93083 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-25 19:52:49 +00:00
dbaron%fas.harvard.edu
072bb12eba Fix regression caused by fix for bug 67478 that caused the default canvas background to be propagated (via HTMLDocumentColorRule) to the backgrounds of elements within tables when both HTML and BODY had transparent backgrounds and we were in quirks mode. b=70831 r=attinasi@netscape.com sr=roc+moz@cs.cmu.edu a=chofmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@93053 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-25 02:55:03 +00:00
dr%netscape.com
12c40e3a0c fix for 70224 (need nsIWebBrowserChromeFocus for embedding). r=danm, sr=hyatt, a=asa
git-svn-id: svn://10.0.0.236/trunk@93048 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-25 02:04:56 +00:00
pollmann%netscape.com
d202acaec6 Bug 77227: Check if javascript is enabled every page load instead of caching the pref value in the DocShell (Remove bit of dead code I missed)
git-svn-id: svn://10.0.0.236/trunk@93039 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 23:59:45 +00:00
pollmann%netscape.com
aa4cf79dbe Bug 77227: Check if javascript is enabled every page load instead of caching the pref value in the DocShell, r=harishd@netscape.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@93037 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 23:25:09 +00:00
saari%netscape.com
5dd408c9f9 76450, fix for initial focus problems on pages with a text field that gets focused on load like google. r=pinkerton, sr=hyatt, a=drivers
git-svn-id: svn://10.0.0.236/trunk@93031 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 22:52:03 +00:00
pollmann%netscape.com
08a46cbae9 Bug 74639: Preserve frame state through form demotion, don't store uninitialized frame state, r=nisheeth@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@92993 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 08:43:08 +00:00
pollmann%netscape.com
673558e402 Bug 76684: Fix crash on recursive submit event processing, r=rods@netscape.com, sr=brendan@mozilla.org, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@92989 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 05:18:10 +00:00
heikki%netscape.com
75dc2e58dc Bug 76641, back out baseURI property in the Node interface to fix binary compatibility. baseURI property is implemented in a different way on the DOM conversion branch, so baseURI will get back when the branch lands. This fix by jst, r=heikki, sr=brendan, a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@92962 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 00:04:11 +00:00
attinasi%netscape.com
9833e5b433 Image dimensions now show up in title with or without IMG2. b=57549 r=pavlov sr=waterson a=blizzard
git-svn-id: svn://10.0.0.236/trunk@92961 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-23 23:46:50 +00:00