1692 Commits

Author SHA1 Message Date
dbaron%dbaron.org
85ad756fdf Slightly better fix for crashes. b=96108 r=neil sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@162785 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-25 06:22:48 +00:00
mats.palmgren%bredband.net
6060caa0c2 Use SafeObjectAt() when array is potentially empty. b=260771 b=261120 r=bzbarsky sr=dbaron a=asa
git-svn-id: svn://10.0.0.236/trunk@162756 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-24 20:23:16 +00:00
jshin%mailaps.org
2b60749067 bug 16940: need an XP API to disable input methods for password fields (r/sr : various people : see bugzilla), patch by Masayuki Nakano <masayuki@d-toybox.com>
git-svn-id: svn://10.0.0.236/trunk@162153 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-12 05:00:57 +00:00
smontagu%smontagu.org
e23a460903 Backout last checkin because of build bustage
git-svn-id: svn://10.0.0.236/trunk@162140 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-11 07:48:29 +00:00
smontagu%smontagu.org
eab0baf7ca Bug 16940, XP API to disable input methods for password fields. Patch by Masayuki Nakano, masayuki@d-toybox.com; see bug for reviewers.
git-svn-id: svn://10.0.0.236/trunk@162139 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-11 07:13:12 +00:00
dbaron%dbaron.org
a4ca9058c6 Separate concept of stylesheet URI into base URI (for resolving relative links) and sheet URI (for everything else), since they can differ for style elements (and inline style and style set from script, but that's for the next patch). Some other things (relating to external stylesheets, where it doesn't make a difference) that probably should use the sheet URL are left as the base URL for now because I didn't want to change too much at once. b=255538 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162059 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 06:45:59 +00:00
neil%parkwaycc.co.uk
e844261cbb Bug 255914 Fix editor not to try to create elements with empty tag names r=brade sr=peterv
git-svn-id: svn://10.0.0.236/trunk@161252 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-25 17:03:33 +00:00
bryner%brianryner.com
2dbfb983b1 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@161072 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-20 20:34:37 +00:00
peterv%propagandism.org
b68b476d99 Fix for bug 244392 (Removing lines form a Bullet list using the [ back arrow ] or [Delete] keys results in <> and </> tags embedded in code when in Normal Mode). r=brade, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@160993 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-19 12:45:47 +00:00
peterv%propagandism.org
0615d7809e Fix for bug 252589 (Textbox attribute "multiline" seems broken). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@160434 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-06 11:56:46 +00:00
bryner%brianryner.com
736c955c54 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@160208 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-02 04:52:55 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
dbaron%dbaron.org
59572fab24 Move things that aren't author stylesheets out of nsDocument's mStyleSheets array to simplify stylesheet management code. Add a level of the cascade for style attributes and ensure that there's only one rule processor per level of the cascade, and simplify the logic of nsCSSRuleProcessor creation. b=252578 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@159965 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-28 07:08:41 +00:00
neil%parkwaycc.co.uk
7f0a5f976a Bug 251686 Old body not deleted when switching out of HTML source mode r=glazou sr=dmose
git-svn-id: svn://10.0.0.236/trunk@159570 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-21 09:57:49 +00:00
pkw%us.ibm.com
835dff0998 Bug 243931 - GTK2 build on AIX: Caret misplaced when inserting RTL input into LTR text.
Patch contributed by Lina Kemmel <lkemmel@il.ibm.com>.
r=smontagu@smontagu.org, sr=roc@ocallahan.org


git-svn-id: svn://10.0.0.236/trunk@159536 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-20 15:53:35 +00:00
neil%parkwaycc.co.uk
b0c26e7e67 Make RebuildDocumentFromSource smarter to fix regression caused by previous patch to bug 192557 r=brade sr=mscott a=sspitzer
git-svn-id: svn://10.0.0.236/trunk@158878 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-07 22:34:20 +00:00
mkaply%us.ibm.com
84e8d39c71 #206716
r=mkaply, sr=kin
Patch from glazou - don't use the lowercased CSS value if the value is case sensitive


git-svn-id: svn://10.0.0.236/trunk@158542 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-28 12:43:49 +00:00
peterv%propagandism.org
0a98e68e54 Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@158468 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-25 12:26:02 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
smontagu%smontagu.org
d1a1c12261 DeCOMtaminate nsIFrame Set/GetProperty and merge Set/GetBidiProperty with it. Bug 117751, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@157214 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-01 06:20:16 +00:00
smontagu%smontagu.org
5bfc1c11d8 Test for kOpInsertIMEText as well as kOpInsertText for platforms where right-to-left text is inserted by IME. Bug 243931, patch by Lina Kemmel lkemmel@il.ibm.com, r=smontagu, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@157163 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-31 12:15:21 +00:00
louie.zhao%sun.com
46a42fdc0f bug 243809 M17rc2 mozilla crash at [@ nsHTMLEditor::CheckSelectionStateForAnonymousButtons]
r = daniel
sr= jst


git-svn-id: svn://10.0.0.236/trunk@156822 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-24 02:55:40 +00:00
roc+%cs.cmu.edu
bdc7e5f59b Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
git-svn-id: svn://10.0.0.236/trunk@156785 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 22:15:22 +00:00
bzbarsky%mit.edu
af7c69e56c Relanding, since backing out did not fix orange. Bug 232691.
git-svn-id: svn://10.0.0.236/trunk@156781 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 20:02:43 +00:00
bzbarsky%mit.edu
3594b59c19 Backing out to attempt to fix Mac orange. Bug 232691
git-svn-id: svn://10.0.0.236/trunk@156776 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 19:26:52 +00:00
bzbarsky%mit.edu
b500ffc684 Convert users of nsC?String(), nsC?AutoString(), and NS_LITERAL_C?STRING("") to
using EmptyC?String instead.  Bug 232691, patch by Charles Fenwick
<clf03f@garnet.acns.fsu.edu>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@156769 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 17:04:53 +00:00
roc+%cs.cmu.edu
92e59ef827 Backing out 233441.
git-svn-id: svn://10.0.0.236/trunk@156464 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-17 16:29:13 +00:00
jst%mozilla.jstenback.com
b91a41077c Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@156106 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-07 20:55:17 +00:00
roc+%cs.cmu.edu
1eea5c536c Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@156019 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-06 03:17:14 +00:00
bryner%brianryner.com
b65ef5dbc6 Implement basic support for DOM level 2 UIEvents, and implement DOMActivate for HTML form control elements. Also minor usage cleanup for nsIDOMUIEvent. Bug 60212, r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@155788 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-30 23:55:16 +00:00
gerv%gerv.net
210853d71e Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155067 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:21:17 +00:00
bzbarsky%mit.edu
1c7a6361be Make nsXULElement::GetChildNodes use the same (live) node list that
nsGenericElement uses.  Bug 240633, r+sr=jst on the C++ changes, r=neil, sr=jst
on the JS changes.


git-svn-id: svn://10.0.0.236/trunk@154950 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 22:14:39 +00:00
bryner%brianryner.com
2359d2f7c4 More nsIPresContext deCOMtamination (bug 229371). r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@154743 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 00:28:44 +00:00
daniel%glazman.org
8f5feb6663 allow the editor to correctly handle DL/DT/DD, switching from DT to DD when the user presses enter and vcie-versa; b=233261, r=timeless, sr=dbaron, a=tor
git-svn-id: svn://10.0.0.236/trunk@154645 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-09 13:55:59 +00:00
brade%comcast.net
8fa2f8c45c don't dirty editor if there are no transactions and undo or redo are called (bug 237834; r=glazman, sr=kin, a=asa)
git-svn-id: svn://10.0.0.236/trunk@154303 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-26 14:20:04 +00:00
sicking%bigfoot.com
611753ba16 Bug 236620: kill nsIContent::CanContainChildren
r/sr=jst


git-svn-id: svn://10.0.0.236/trunk@153597 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-06 00:22:03 +00:00
brade%comcast.net
50abfe299f fix for bug 32768; relativize urls (if possible) on insertion; r=Neil, glazman, smfr; sr=dmose
git-svn-id: svn://10.0.0.236/trunk@153530 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-04 18:47:49 +00:00
scott%scott-macgregor.org
3c6716cbeb supplimental fix for bug #228879
git-svn-id: svn://10.0.0.236/trunk@153433 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-02 17:34:22 +00:00
scott%scott-macgregor.org
637845aac8 landing fix for bug #228879
Bogus Text when pasting from open office spread sheet or word processor to Mail Compose

working around bug http://www.openoffice.org/issues/show_bug.cgi?id=25864 in open office

r=jfrancis, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@153428 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-02 16:03:56 +00:00
darin%meer.net
af98e4f306 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@153357 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-28 22:34:07 +00:00
bryner%brianryner.com
62dee43850 deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153335 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-27 17:17:37 +00:00
darin%meer.net
55688e6410 landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
git-svn-id: svn://10.0.0.236/trunk@152905 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 02:44:03 +00:00
jshin%mailaps.org
b6c2f5af2e bug 208095: crashes when ASCII characters are entered before any characters that go through an XIM server. patch by smontagu, r=katakai, sr=sfraser, a=choffman
git-svn-id: svn://10.0.0.236/trunk@152769 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-14 00:22:15 +00:00
jst%mozilla.jstenback.com
3ca18f468e Fixing bug 206859. Don't allow drag & drop into file inputs. r=caillon@aillon.org, sr=bryner@brianryner.com, a=chofmann@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@152680 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 21:31:53 +00:00
bryner%brianryner.com
7ace3321e6 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@152647 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 04:57:07 +00:00
daniel%glazman.org
1c59909ce3 fixes annoying assertion in the editor: b=217906, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@152414 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-06 14:34:54 +00:00
jst%mozilla.jstenback.com
aa4e1c9058 Fixing debug build bustage.
git-svn-id: svn://10.0.0.236/trunk@152093 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-30 21:09:49 +00:00
jst%mozilla.jstenback.com
6629ad58f7 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@152045 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 22:04:45 +00:00
scott%scott-macgregor.org
0d92e4b579 Bug #229203 --> thunderbird needs new liness converted to commas when pasting into single cell text boxes.
This comes up when pasting address data from spreadsheet programs into the addressing widget. This pref cannot be turned on for seamonkey because it effects all single line text boxes.

r=glazman, moa=glazman
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@152018 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 16:55:01 +00:00
daniel%glazman.org
dfe8508bf4 Remove all text styles menu item and key binding both no longer working in Composer and mail composer; b=215406; r=floppymoose,sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@152015 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 14:52:43 +00:00