6412 Commits

Author SHA1 Message Date
bryner%netscape.com
f8019ea98c Fixing windows bustage.
git-svn-id: svn://10.0.0.236/trunk@117008 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 23:28:48 +00:00
rods%netscape.com
ea7e576f56 This disallows printing or print preview to work if the document is busy.
Meaning it might be still loading or unloading.
Bug 131174 r=dcone a=attinasi a=dbaron


git-svn-id: svn://10.0.0.236/trunk@117003 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:42 +00:00
darin%netscape.com
8defbf5d26 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
git-svn-id: svn://10.0.0.236/trunk@117002 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:33 +00:00
bryner%netscape.com
8763a125c1 Bug 130778 - fixing Txul regression from changing 'menuactive' attribute to :-moz-menuactive pseudoclass. Get the menuactive state from the frame instead of the content node so that we don't have to call through xpconnect and js. r=dbaron, sr=hyatt, a=asa.
git-svn-id: svn://10.0.0.236/trunk@117001 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:48:24 +00:00
peterv%netscape.com
2ccc2317a7 Bug 123899 (document.body.innerHTML is broken). Don't notify the document twice about content modification from script. r=Fabian, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@116973 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 13:22:27 +00:00
rods%netscape.com
29613d1e34 Besides turning on the pref, I needed to move the initialization code for
getting the values from the default printer from the DocumentViewer down into
the PrintOptions service. We want it done only the very first time when the PrintSettings is created.
Bug 131852 r=dcone sr=attinasi a=scc


git-svn-id: svn://10.0.0.236/trunk@116971 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 12:43:13 +00:00
aaronl%netscape.com
2e4f95d6b4 Bug 131089, bug 131238, and bug 131918. Fixes regressions caused from 'browse with caret' checkins in bug 66597. a) bug 131089 - crash in ResetBrowseWithCaret(), r=bryner, sr=alecf, a=scc. b) bug 131238 - assertions caused by SetCaretContentVisible, r=bryner, sr=alecf, a=scc. c) bug 131918 - infinite loop in MoveFocusToCaret(), r=jgaunt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@116962 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 06:42:26 +00:00
bryner%netscape.com
e5936f4360 Bug 52815 - get rid of third tab stop inside <input type=file>. Patch from pete.zha@sun.com, r=bryner, sr=attinasi, a=asa.
git-svn-id: svn://10.0.0.236/trunk@116951 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 04:50:15 +00:00
badami%netscape.com
da14c60c9d forget datas - If no basehref is specified in head but one is in the body use the one in the body.
bug 121481 r=harishd sr=jst a=asa patch=tmutreja@netscape.com


git-svn-id: svn://10.0.0.236/trunk@116949 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 04:43:23 +00:00
bzbarsky%mit.edu
7b5174cb18 |foo.style.cssText = "";| should work (need to take old hint into
account).  Bug 131905, r=caillon, sr=jst, a=scc.


git-svn-id: svn://10.0.0.236/trunk@116901 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 22:38:08 +00:00
peterv%netscape.com
ffaa8b66af Fix for bug 126463 (Occurances of uninitialized variables being used before being set (in extensions/transformiix).) r=sicking, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@116857 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 14:14:27 +00:00
hidday%geocities.com
2785da72ed Fixing bug 26528 "cloneNode() doesn't copy event handlers".
r=brendan@mozilla.org sr=jst@netscape.com a=asa@mozilla.org
This patch causes event handlers set as attributes on an element
to be registered as event handlers on the cloned element as well.
This patch also fixes bug 71937 "value of cloned input
type=button is not displayed correctly".


git-svn-id: svn://10.0.0.236/trunk@116855 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 13:46:33 +00:00
alecf%netscape.com
f4ad21ae3a a further nsString api reduction: remove the last case-insensitive PRUnichar*-to-PRUnichar* comparisons, moving to new API, and remove old methods from nsString. r=dougt, sr=jag a=scc
git-svn-id: svn://10.0.0.236/trunk@116842 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 06:46:56 +00:00
timeless%mac.com
69ae314807 Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa


git-svn-id: svn://10.0.0.236/trunk@116832 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 04:30:17 +00:00
dbaron%fas.harvard.edu
ad5fa0f47d Fix HPUX bustage. (It's right, as always. I can't static_cast to an incomplete class.)
git-svn-id: svn://10.0.0.236/trunk@116827 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 03:09:02 +00:00
dbaron%fas.harvard.edu
96cc2d6737 Don't make the optimization of not calling the parent context's GetStyleData when there are 'em' or similar units for the 'font-size' property, where those units imply inheritance. b=131454 r=bzbarsky sr=hyatt a=asa
git-svn-id: svn://10.0.0.236/trunk@116821 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 01:32:16 +00:00
dbaron%fas.harvard.edu
7ceb8d5e74 Fix performance problem on pages with large numbers of repeated style attributes or differing presentational HTML attributes by changing the way nsRuleNode decides whether to store children in a hashtable or linked list: decide based on the child count rather than whether the node is the root. Convert hashtable child storage from nsHashtable to PLDHashTable. b=129187 sr=brendan r=hyatt a=asa
git-svn-id: svn://10.0.0.236/trunk@116820 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 01:29:20 +00:00
hyatt%netscape.com
486816899e Landng boomar groups. 119599 r ben sr jag a asa
git-svn-id: svn://10.0.0.236/trunk@116815 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 00:45:04 +00:00
bzbarsky%mit.edu
121c744834 Make RemoveProperty notify the doc. Bug 131397, r=dbaron, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@116810 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 00:09:15 +00:00
kin%netscape.com
41160969a2 Fix for bug #120366 (Crash in nsRange::CopyContents())
mozilla/content/base/src/nsRange.cpp
    mozilla/content/base/src/nsRange.h

      - Rewrote DeleteContents() and CloneContents() to use the content
        subtree iterator.
      - Added RangeSubtreeIterator class, CloneParentsBetween() and
        CollapseRangeAfterDelete().
      - Removed CopyContents() and CloneSibsAndParents().

r=jfrancis@netscape.com  sr=sfraser@netscape.com  a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@116793 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-18 14:38:11 +00:00
bzbarsky%mit.edu
92d735e650 Speed up edge case in RemoveProperty. Bug 131614, r=caillon, sr=jst,
a=dbaron


git-svn-id: svn://10.0.0.236/trunk@116781 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-18 05:08:23 +00:00
karnaze%netscape.com
009e7ede52 bug 24000 - implement page-break-before/after:always using new nsPageBreakFrame. Tables handle page breaks internally. a=asa, sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@116758 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-17 21:35:08 +00:00
axel%pike.org
309271b05c bug 129247, fixing XSLT namespace from WD to the real one, r=peterv, sr=jaggernaut, a=asa
git-svn-id: svn://10.0.0.236/trunk@116747 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-17 13:01:34 +00:00
bzbarsky%mit.edu
e998568382 "More computed style property implementations". Bug 129843, patch by
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=attinasi, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@116723 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 17:04:35 +00:00
dbaron%fas.harvard.edu
a397ea7022 Remove unused (or used only if one of the magic enviroment variables ENABLE_STRICT or MOZ_VALIDATE_HTML was set) parser-related code, mostly associated with the strict DTD. b=130439 r=harishd sr=jst a=shaver
git-svn-id: svn://10.0.0.236/trunk@116720 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 15:34:43 +00:00
dbaron%fas.harvard.edu
0076b3d38d Improve performance of SelectorMatches using nsIContent::HasAttr, which was added a few months ago. r=bzbarsky sr=attinasi a=asa b=128739
git-svn-id: svn://10.0.0.236/trunk@116716 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 15:24:08 +00:00
rods%netscape.com
1c65a526ab Removing uwanted debug staments to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@116712 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 14:08:39 +00:00
rods%netscape.com
fd4d2132df 1) Removes most all the unneeded data from nsPrintOptions service. All data should be in the PrintSettings.
2) Removed unneeded methods from PrintOptions
3) PrintOption can now read and write (most) all the data in a PrintSettings object. The items not saved are those used during the printing process and it wouldn't make any sense to save them.
4) Adds a prefs for turning on and off the automatic saving of PrintSettings. If this is turned on it is almost the same as using the global PS.
5) On Linux it turns on the saving of PS prefs and turns on the global PS. Meaning it will always use a single Global PS object.
6) The PrintSettings can be initialized from a generic non-printer specific set of prefs. Then if a printer name is available in the PS then it tries
to initialize itself from the printer specific prefs. This enables to define "back stop" prefs for picking up first. Then the printer specific prefs can override those settings. For example, we may define in prefs that the default paper size 8.5x11, then if if the "save PS prefs" is turned on, for a given printer it might save 8.5x16 as the size.
7) A "flags" arg has been added so you can indicate which prefs you want read or written.
Bug 128142 r=dcone sr=attinasi a=shaver


git-svn-id: svn://10.0.0.236/trunk@116711 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 13:08:45 +00:00
alecf%netscape.com
2e88d16be4 fix for bug 101887 - make transformiix no longer depend on appshell by removing an unneeded #include and CID declaration
patch=jonsmirl@mediaone.net
sr=alecf
r=peterv
a=asa


git-svn-id: svn://10.0.0.236/trunk@116702 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 05:34:49 +00:00
rginda%netscape.com
1a75e8fba1 Bug 131241, "missing null check in nsHTMLInputElement.cpp"
r=jkeiser, sr=jst, a=asa
null check mDocument in ::Select()


git-svn-id: svn://10.0.0.236/trunk@116690 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 03:28:23 +00:00
heikki%netscape.com
82bf6a58a6 Bug 110544, improving comment parsing by avioding string copies and other trickery. r=harishd, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@116687 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 03:03:45 +00:00
rods%netscape.com
40889d01ed Backing out changes - just as well, I forgot to but the bug # and r/sr/a anyway
git-svn-id: svn://10.0.0.236/trunk@116643 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 14:49:09 +00:00
rods%netscape.com
58cfbb8ad2 1) Removes most all the unneeded data from nsPrintOptions service. All data
should be in the PrintSettings.
2) Removed unneeded methods from PrintOptions
3) PrintOption can now read and write (most) all the data in a PrintSettings
   object. The items not saved are those used during the printing process and
   it wouldn't make any sense to save them.
4) Adds a prefs for turning on and off the automatic saving of PrintSettings.
   If this is turned on it is almost the same as using the global PS.
5) On Linux it turns on the saving of PS prefs and turns on the global PS.
   Meaning it will always use a single Global PS object.
6) The PrintSettings can be initialized from a generic non-printer specific
   set of prefs. Then if a printer name is available in the PS then it tries
   to initialize itself from the printer specific prefs. This enables to define
   "back stop" prefs for picking up first. Then the printer specific prefs
   can override those settings.
   For example, we may define in prefs that the default paper size 8.5x11,
   then if if the "save PS prefs" is turned on, for a given printer it might
   save 8.5x16 as the size.
7) A "flags" arg has been added so you can indicate which prefs you want read
   or written.


git-svn-id: svn://10.0.0.236/trunk@116641 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 13:55:54 +00:00
rbs%maths.uq.edu.au
84d6bd5d71 perf bug 124570 - configure mathml.css as a catalog stylesheet that is loaded on demand rather than at startup, r=harishd, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@116637 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 09:45:31 +00:00
bryner%netscape.com
83c1061fc3 Fixing crash regression bug 131032. r=jkeiser, sr=ben, a=asa.
git-svn-id: svn://10.0.0.236/trunk@116620 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 04:02:19 +00:00
aaronl%netscape.com
a46f33f685 Accidentally contiminated last checkins to htmlBindings.xml with other work. Putting Accel+Shift+K back in where it was
git-svn-id: svn://10.0.0.236/trunk@116529 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 06:12:56 +00:00
aaronl%netscape.com
bcc62445c1 Bug 129916. Support Accel+Shift+Z for redo on all platforms. r=brade, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@116528 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 06:03:58 +00:00
aaronl%netscape.com
190fcd569a Bug 57263. Support the Undo key on Sun keyboards. r=akkana, sr=sfraser, a=asa
git-svn-id: svn://10.0.0.236/trunk@116527 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 05:58:31 +00:00
aaronl%netscape.com
efae1147f2 Bug 129916. Support Accel+Shift+Z for redo on all platforms. r=brade, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@116526 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 05:54:09 +00:00
badami%netscape.com
a873d62951 Fix waring during compile
bug 62188 sr=jst a=asa patch=ayn2@cornell.edu


git-svn-id: svn://10.0.0.236/trunk@116525 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 05:51:12 +00:00
jfrancis%netscape.com
687502ad16 fix for 130245: range gravity not following spec;
r=glazman; sr=kin; a=asa


git-svn-id: svn://10.0.0.236/trunk@116514 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 01:07:09 +00:00
hwaara%chello.se
c5115797b2 #129746, don't emit a oncommand event on a <menulist/> element if it (or any attached <label/>) is triggered by an accesskey -- just focus it.
r=blake, sr=hewitt, a=asa


git-svn-id: svn://10.0.0.236/trunk@116503 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 23:55:25 +00:00
bryner%netscape.com
22fc00b640 Hook up the :checked CSS pseudoclass for input elements and use that instead of the _moz-input-checked attribute. Bug 128947, r=jkeiser, sr=ben, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@116476 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 10:12:33 +00:00
badami%netscape.com
750d1eda15 plain text copy is bad
bug 125732 r=akkana sr=jst a=asa patch=tmutreja@netscape.com


git-svn-id: svn://10.0.0.236/trunk@116471 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 06:26:33 +00:00
badami%netscape.com
06c3c54a95 nsXMLContentSerializer::AppendTextData() causes assertion in nsDependentString::Rebind()
bug 119335 r=akkana sr=jst a=asa patch=tmutreja@netscape.com


git-svn-id: svn://10.0.0.236/trunk@116470 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 06:20:15 +00:00
badami%netscape.com
b2aab151e4 [serializer]Composer breaks lines at inappropriate positions
bug 85184 r=akkana sr=jst a=asa patch=tmutreja@netscape.com


git-svn-id: svn://10.0.0.236/trunk@116469 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 06:14:57 +00:00
jkeiser%netscape.com
9ed7ccc48f Prevent double submission of forms (bug 72906). r=darin@netscape.com, r=alexsavulov@netscape.com, sr=alecf@netscape.com, a=asa
git-svn-id: svn://10.0.0.236/trunk@116468 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 06:08:56 +00:00
bzbarsky%mit.edu
92cd4ef616 XBL expects computed -moz-binding to not have "url()" and to be empty
string for no binding.  Bug 128428 redux, patch by
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=shaver,
a=brendan


git-svn-id: svn://10.0.0.236/trunk@116460 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 02:33:09 +00:00
mkaply%us.ibm.com
cf3819903f OS/2 bustage - no semicolon here
git-svn-id: svn://10.0.0.236/trunk@116455 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 01:48:04 +00:00
ben%netscape.com
1ea2299618 Fix for 128815 - numerous bookmarks improvements, including fixes for bugs: 77411, 114142, 126748, 128571.
- update outliner builder to expose "Sort" method publicly.
r=blake, sr=hyatt, a=asa


git-svn-id: svn://10.0.0.236/trunk@116440 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 22:45:05 +00:00