dbaron%fas.harvard.edu
ec61a6b0ab
Remove unused parser-related code. b=130439 r=harishd sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@134577 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-28 19:43:51 +00:00
caillon%returnzero.com
9641b989dd
Bug 181442 - Convert editor's pref usage to the new pref APIs.
...
r=brade sr=kin
git-svn-id: svn://10.0.0.236/trunk@134351 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-23 01:26:58 +00:00
brade%netscape.com
e9a66badb0
Cut when no selection should just return NS_OK (not error which causes JS to throw an error); bug 178725, r=akkana, sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@133767 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 21:21:28 +00:00
cmanske%netscape.com
6d236babea
Command Controller refactoring and cleanup, mostly by mjudge with help by cmanske, b=170353, r=brade, sr=sfraser. EditingSession cleanup and new commands in \editor, b=174439, r=mjudge, sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@133708 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 23:30:29 +00:00
bzbarsky%mit.edu
04bc7e2dbf
Clean up some array stuff in editor; switch to nsCOMArray in a bunch of
...
places. Bug 175564, r=jfrancis, sr=kin
git-svn-id: svn://10.0.0.236/trunk@133685 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 19:40:11 +00:00
bryner%netscape.com
b345c67a0c
Add a second pass of event processing for system events, using DOM3 event group functionality. Bug 124990. Patch by joki, r=saari and bryner, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@133439 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-09 00:25:25 +00:00
bryner%netscape.com
da718f1470
Bug 104371 - shiftKey not set correctly for keypress events, breaking shift+space binding. r=brade, bzbarsky, sr=hyatt.
...
git-svn-id: svn://10.0.0.236/trunk@133250 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 03:34:13 +00:00
akkana%netscape.com
5072c474cc
176355: Warning fix, remove unused var. r=dmose, sr=bz, a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@132437 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-24 03:45:23 +00:00
blizzard%redhat.com
6dc418b1ea
Backout unapproved checkin for bug #104371 .
...
git-svn-id: svn://10.0.0.236/trunk@132403 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-23 15:18:13 +00:00
hyatt%netscape.com
3dbbc65466
Fix for 104371, SHIFT not being set correctly in the DOM, i.e., the SHIFT+space
...
keybinding didn't work. r=blizzard,brade sr=blake
git-svn-id: svn://10.0.0.236/trunk@132393 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-23 03:15:42 +00:00
akkana%netscape.com
494d7f6a08
174987: Don't skip the last pass through the loop (was deleting signatures). r=brade sr=kin a=asa
...
git-svn-id: svn://10.0.0.236/trunk@132250 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-18 19:25:32 +00:00
akkana%netscape.com
1cd9257122
161143: Add new method InsertTextWithQuotes, and call it from Rewrap. r=brade,jfrancis sr=sspitzer
...
git-svn-id: svn://10.0.0.236/trunk@131455 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 20:24:23 +00:00
brade%netscape.com
6f4e5503ee
remove unused CIDs (r=mjudge/sr=kin/bug 121648)
...
git-svn-id: svn://10.0.0.236/trunk@131304 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-07 14:21:34 +00:00
cmanske%netscape.com
7b1780cf51
Progress on removing editorShell from Composer: fixed controller and command problems and mimetype and 'documentEditable' to editor interfaces, b=169029, r=brade, sr=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@129937 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-18 19:42:38 +00:00
glazman%netscape.com
2f30b4784e
fixes several bugs at once:
...
could not revert to HTML attributes default value,
VALIGN attribute on table elements was not CSSized,
page colors of new documents were not CSSized,
bad design in |nsEditor::CloneAttributes()|,
new image width/height/border attributes were not CSSized,
error in EdTableProps.js
b=167712, b=167716, r=brade, r=jfrancis, sr=kin
git-svn-id: svn://10.0.0.236/trunk@129785 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-17 12:04:59 +00:00
jfrancis%netscape.com
8510bd9c34
fix for 125161: forward delete in text widget should not delete trailing blank line
...
r=glazman
sr=kin
git-svn-id: svn://10.0.0.236/trunk@129521 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 13:26:14 +00:00
dougt%netscape.com
e289284076
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
...
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
dougt%netscape.com
1ebc6538fb
Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426
...
git-svn-id: svn://10.0.0.236/trunk@128770 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 23:36:13 +00:00
alecf%netscape.com
e3b2da9c83
bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
...
r=dougt, sr=darin
git-svn-id: svn://10.0.0.236/trunk@128163 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 21:20:34 +00:00
mjudge%netscape.com
2f5c006a1d
4302 r=jfrancis sr=kin. pageup/down bug with navigation.
...
git-svn-id: svn://10.0.0.236/trunk@128157 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 20:55:30 +00:00
jfrancis%netscape.com
c5067db88b
fix for 159392: Composer add <br> to end everytime it opens a file.
...
r=brade; sr=kin
git-svn-id: svn://10.0.0.236/trunk@127961 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-23 17:57:51 +00:00
seawood%netscape.com
0b3ff474f3
Removing old nmake build makefiles. Bug #158528 r=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
brade%netscape.com
b812450ad0
call preventdefault for keypresses we insert (r=akkana, sr=sfraser) bug 158672 (and others)
...
git-svn-id: svn://10.0.0.236/trunk@126673 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 14:45:08 +00:00
akkana%netscape.com
8ffd323745
Bug 137253: don't break long words (like urls) during rewrap. r=brade, sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@126553 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 23:54:19 +00:00
alecf%netscape.com
573e11653f
bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
...
nsISupportsString -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag
git-svn-id: svn://10.0.0.236/trunk@126389 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 00:53:19 +00:00
akkana%netscape.com
8c220f972c
145727: use nsString.FindChar, clean up conflicting string usages. Patch from skamio@netscape.net (Shotaro Kamio), r=akkana, sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@123355 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 22:10:56 +00:00
kin%netscape.com
fa152a3def
Partial fix for bug 141900 (Text entry fields in forms excruciatingly slow.)
...
mozilla/content/base/public/nsISelectionController.idl
mozilla/content/base/src/nsSelection.cpp
mozilla/editor/composer/src/nsEditorShell.cpp
mozilla/editor/idl/nsIPlaintextEditor.idl
mozilla/editor/libeditor/base/nsEditor.cpp
mozilla/editor/libeditor/base/nsEditor.h
mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
mozilla/editor/libeditor/html/nsHTMLEditor.cpp
mozilla/editor/libeditor/text/nsEditorEventListeners.cpp
mozilla/editor/libeditor/text/nsPlaintextDataTransfer.cpp
mozilla/editor/libeditor/text/nsPlaintextEditor.cpp
mozilla/editor/txtsvc/src/nsTextServicesDocument.cpp
mozilla/editor/ui/dialogs/content/EdTableProps.js
mozilla/embedding/components/find/src/nsWebBrowserFind.cpp
mozilla/extensions/xmlterm/base/mozXMLTermSession.cpp
mozilla/layout/base/public/nsIFrameSelection.h
mozilla/layout/html/base/src/nsPresShell.cpp
mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp
mozilla/mailnews/compose/src/nsMsgCompose.cpp
mozilla/xpfe/browser/resources/content/viewPartialSource.js
- Added aIsSynchronous arg to the ScrollSelectionIntoView()
method of nsISelectionController and nsIFrameSelection.
Updated all callers to pass new arg.
- Modified selection to post a plevent to call which does the
call to ScrollIntoView() in the async ScrollIntoView() case.
- Edits in text widgets now use asynchronous reflow, paint,
and scroll processing full time.
- Removed redundant ScrollSelectionIntoView() calls in the
editor event listeners.
- Editor IME code now forced to flush reflows and paints before
getting caret coordinates.
r=jfrancis@netscape.com sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@123236 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 20:35:12 +00:00
jfrancis%netscape.com
97060bb3df
bug 83378: plaintext mail reply editong problem in quotes
...
git-svn-id: svn://10.0.0.236/trunk@123153 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 14:12:32 +00:00
alecf%netscape.com
6ebda75c34
fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes)
...
git-svn-id: svn://10.0.0.236/trunk@122820 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-06 20:28:14 +00:00
dougt%netscape.com
d6cc711878
Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
...
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
jaggernaut%netscape.com
fe68e4711d
Backing out joki's checkin for bug 124990 (at his request) since this breaks some stuff on linux.
...
git-svn-id: svn://10.0.0.236/trunk@119450 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 01:48:32 +00:00
joki%netscape.com
568563a1cc
Fix for bug 124990, Add additional processing loop for DOM event listeners to allow browser level handlers to be fired after content based listeners. r:saari, sr:jst
...
Browser based listeners can now registers themselves using the AddGroupedEventListener and passing the system event group (which can be gotten via the nsIDOMEventReceiver interface). These listeners will now fire after all content based listeners have processed.
In this initial version of the checkin most browser listeners are still left in the original content group for stability purposes.
git-svn-id: svn://10.0.0.236/trunk@119346 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 02:52:01 +00:00
akkana%netscape.com
a8c06c892e
134439: Make plaintext compose wrap to window width instead of output
...
width, and don't wrap quotes in <pre> or <span>, to work around various
editor bugs. Detect quoted blocks at output time, and continue our
existing behavior of not wrapping quoted text. r=jfrancis,bratell, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@119175 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 23:11:33 +00:00
jfrancis%netscape.com
f81c6987d5
fixes for bugs:
...
90759: spaces not working in IME editting
132133: deleting last char on line can place caret incorrectly
132837: inline style and making new list items dont play nice
103867: nsSelectionState logic error
r=glazman; sr=kin; a=asa; adt=jamie; i'd also like to thank my mom, and my producer, who was there for me during detox, and of course everyone inthe academy, you are all so beautiful
git-svn-id: svn://10.0.0.236/trunk@118389 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-06 19:07:47 +00:00
akkana%netscape.com
b760118b74
121898: Make rewrap more consistent in wrapping long lines vs. short lines,
...
and fix a problem where blank lines would replicate. r=cmanske sr=kin a=asa
git-svn-id: svn://10.0.0.236/trunk@117511 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 22:09:47 +00:00
akkana%netscape.com
e752937005
131277: change signature of outputToString to return the string. r=jfrancis sr=sfraser a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117419 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-25 22:39:19 +00:00
dbaron%fas.harvard.edu
359ad57ca1
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@117343 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:08:20 +00:00
alecf%netscape.com
2b25d38de6
fix for blocker - intialize originalStart
...
git-svn-id: svn://10.0.0.236/trunk@116872 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 19:52:45 +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
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
glazman%netscape.com
b231f8945d
It was impossible to set the background color of a table thru TableOrCell Background Color menu item.
...
b=127723, r=jfrancis, r=cmanske, sr=kin, a=asa
git-svn-id: svn://10.0.0.236/trunk@116645 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 15:33:29 +00:00
jfrancis%netscape.com
a06d58321d
fixes 92124: RightArrow then Backspace causes Caret to go to previous line. r=jfrancis; sr=kin; a=roc+moz; submitted by Shotaro Kamio, skamio@netscape.net
...
git-svn-id: svn://10.0.0.236/trunk@116324 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-11 14:28:37 +00:00
ftang%netscape.com
3fc8df7cf5
fix bug 90583. r=mjudge/jfrancis sr=kin a=asa
...
fix chinese ime candidate window position problem.
we need the nsAutoPlaceHolderBatch destroctor called before hitting
GetCaretCoordinates so the states in Frame system sync with content
therefore, we put the nsAutoPlaceHolderBatch into a inner block
{
git-svn-id: svn://10.0.0.236/trunk@116055 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 14:34:35 +00:00
bzbarsky%mit.edu
f68919f405
Relanding the Compare --> Equals conversion. a=mcafee
...
git-svn-id: svn://10.0.0.236/trunk@114163 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
ffecf7f104
Testing performance impact of backout of what's left of the patch from
...
bug 115289. See bug 123947 for details. a=mcafee
git-svn-id: svn://10.0.0.236/trunk@114152 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 20:46:05 +00:00
alecf%netscape.com
8fac3559db
dependency update
...
git-svn-id: svn://10.0.0.236/trunk@113833 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 22:19:07 +00:00
bzbarsky%mit.edu
2fd80b82c9
Convert Compare() to Equals() where possible now that we can do
...
case-insensitive Equals(). Bug 115289, r=alecf, sr=jag
git-svn-id: svn://10.0.0.236/trunk@113665 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 02:03:07 +00:00
akkana%netscape.com
efa43449be
121046: fix a rewrap hang. r=adu@sparc.spb.su sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@113443 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 21:29:16 +00:00
alecf%netscape.com
4331ed65d3
First part of fix for bug 107575 - remove nsString::FindChar because there is already an nsAString::FindChar, and remove the "ignore case" option in RFindChar
...
r=dougt, sr=jag
git-svn-id: svn://10.0.0.236/trunk@113200 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 06:04:29 +00:00
glazman%netscape.com
2a28453859
remove CSSisms from nsEditor; b=121092, r=brade, sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@112852 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 10:16:52 +00:00