dbaron%fas.harvard.edu
b447eec349
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117348 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:56:05 +00:00
dbaron%fas.harvard.edu
8f2c550aff
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117347 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:46:13 +00:00
dbaron%fas.harvard.edu
32a61a0295
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117346 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:31:50 +00:00
dbaron%fas.harvard.edu
4d91361814
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117345 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:26:36 +00:00
rods%netscape.com
f03ac4f0df
Add event listeners to "prevent" ContextMenu, Key, Mouse and MouseMotion events from being processed.
...
Bug 128449 r=dcone sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@117330 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 18:07:51 +00:00
rods%netscape.com
31e57bdbd6
The original patch worked fine for regular documents but didn't work for mail
...
because of the ordering of nsIWebProgressListeners. Even tho the doc WAS
finished loading the notification goes to mail first abd then it print and then
check to see if it is busy and it comes back that it is.
So instead I have to use two booleans to monitor if the document was asked to
be destroyed while it was preparing to print. This typically happens when the
user click on a click and it takes a while and then they decide to print. So
while the Print Dialog is up the document gets unloaded and when it returned
back everything is gone.
So when the flow of control returns back from the Print Dialog it checks to see
if it "should" have been destroyed, and if so, it then aborts printing, cleans
and displays a message if the pressed "OK". If they pressed cancel then it
doesn't print the message.
Bug 131174 r=dcone sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@117317 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 16:48:58 +00:00
cbiesinger%web.de
cf03b9b3e2
bug 104906 r=pavlov sr=tor a=asa
...
imgRequest::SniffMimeType and nsUnknownDecoder::SniffForImageMimeType should be one function
git-svn-id: svn://10.0.0.236/trunk@117305 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 13:21:33 +00:00
andreas.otte%debitel.net
6151a1f374
fix bug 94096 [Content-Base Header should not be supported] remove
...
support for header that was only part of a draft for http 1.1,
r=harishd, sr=jst, a=scc
git-svn-id: svn://10.0.0.236/trunk@117220 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 21:24:48 +00:00
caillon%returnzero.com
c56a306976
Bug 119807, Computed color values should support getRGBColorValue(). r=bzbarsky, sr=jst, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117209 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 20:18:42 +00:00
cmanske%netscape.com
0f10a83af9
Allow table cell selection w/o extra keypress in Composer, b=98558, r=mjudge, sr=dveditz, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117184 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 15:26:18 +00:00
cmanske%netscape.com
0b6789dd9e
Allow table cell selection w/o extra keypress in Composer, b=98558, r=mjudge, sr=dveditz, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117183 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 15:25:08 +00:00
dcone%netscape.com
d24bc6a44f
118890 r=rods sr=attinasi a=asa. Fixed printing in print preview
...
git-svn-id: svn://10.0.0.236/trunk@117179 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 14:49:29 +00:00
badami%netscape.com
87461cbd6a
crash on double-click of word in textfield after form submission
...
Protect against invalid arguments getting passed into AppendText of PlainTextSerializer.
bug 125037 r=bratell sr=jst a=scc patch=tmutreja@netscape.com
git-svn-id: svn://10.0.0.236/trunk@117164 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 08:50:35 +00:00
dp%netscape.com
682459c176
bug 131249 Using arena for RuleHash r=dbaron@fas.harvard.edu,
...
sr=sfraser, a=asa
git-svn-id: svn://10.0.0.236/trunk@117158 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 06:28:16 +00:00
rods%netscape.com
4cb6b26267
Backing out changes for Bug 131174
...
git-svn-id: svn://10.0.0.236/trunk@117134 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 00:42:48 +00:00
jfrancis%netscape.com
7897ddf7d9
fix for 98622: <big>/<small> not copied if partially selected
...
r=glazman; sr=kin; a=asa
git-svn-id: svn://10.0.0.236/trunk@117108 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 23:31:26 +00:00
bryner%netscape.com
71a03d2a1d
Backing out my checkin from earlier (bug 130778), it seems to be the culprit for the Tp increase.
...
git-svn-id: svn://10.0.0.236/trunk@117039 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 07:33:51 +00:00
aaronl%netscape.com
a16131a858
Bug 130447 - Clicking on some named anchors goes to top of document. r=saari, sr=hewitt, a=asa. Bug 132154 - can no longer tab thru image maps areas . r=bryner, sr=hewitt, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117026 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 02:37:48 +00:00
darin%netscape.com
1d30a10d00
fixes SVG bustage, b=128508
...
git-svn-id: svn://10.0.0.236/trunk@117021 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 01:43:51 +00:00
darin%netscape.com
4c808c428c
fixes SVG bustage
...
git-svn-id: svn://10.0.0.236/trunk@117018 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 01:10:18 +00:00
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