Граф коммитов

701 Коммитов

Автор SHA1 Сообщение Дата
brade%netscape.com ee332541d8 cleanup of editor code, bug=209548, r=jfrancis, sr=blizzard 2003-07-28 13:13:50 +00:00
jaggernaut%netscape.com 4e7c966d11 Bug 213601: Switch some users of NS_NewAtom over to do_GetAtom. r=bzbarsky, sr=dbaron 2003-07-24 04:53:13 +00:00
brade%netscape.com d36b4b2d9b editor cleanup; r=jfrancis, sr=blizzard, bug=209548 2003-07-18 14:12:51 +00:00
brade%netscape.com 3b47d61cef fix bug found when reading source, replace ending space to match intent and version 1; r=jfrancis, sr=blizzard, bug=209548 2003-07-18 14:09:34 +00:00
brade%netscape.com ec16552a3a use Truncate instead of SetLength(0); r=cmanske, sr=bz, bug=209548 2003-07-18 02:27:19 +00:00
bryner%brianryner.com bde4b5494e Fixing --enable-plaintext-editor-only bustage (bug 209548). Patch by brade, r/sr=me. 2003-07-16 22:19:59 +00:00
brade%netscape.com 6bedaabb65 editor cleanup of NodeIsType; r=kin, sr=darin, bug=209548 2003-07-15 13:47:15 +00:00
jaggernaut%netscape.com 817298ce0b Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky 2003-07-14 07:37:39 +00:00
brade%netscape.com 673b9351fd editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548 2003-07-08 20:35:09 +00:00
brade%netscape.com 9371323b42 editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548 2003-07-08 20:22:56 +00:00
bryner%netscape.com dfd3c1dd7a Fix some issues related to focus changes in onfocus and onblur handlers:
- Abort firing blur events on the document and/or window if one of the blur handlers focuses something else.  This ensures that the caret doesn't get confused about whether it should be active.
  - Release any mouse or key grab when the view manager sees a deactivate event; this fixes event targeting when a mousedown handler opens a modal dialog.
  - Make sure the editor element is actually focused before activating the caret. Just receiving a focus event isn't good enough, since a focus change does not cancel propagation of the original event.

Bug 53579, r=jkeiser, sr=roc.
2003-07-01 22:46:55 +00:00
brade%netscape.com 920f7b4f36 NS_IMPL macro cleanup; r=timeless; sr=kin; bug=209548 2003-06-27 14:19:40 +00:00
kin%netscape.com 655f4dff39 jst@netscape.com's fix for tree blocker bug 210641 (Crash using Japanese IME)
mozilla/editor/libeditor/html/nsHTMLEditor.cpp
  mozilla/editor/libeditor/text/nsPlaintextEditor.cpp

    - Fixed INTERFACE_MAP macros so that they call through to the class we inherit from.

r=brade@netscape.com  sr=kin@netscape.com
2003-06-25 19:21:59 +00:00
glazman%netscape.com 0da80aab17 Support for Absolute Positioning, Snap to Grid, and Inline Table Editing in Composer
r=brade, sr=jst
2003-06-25 08:50:48 +00:00
alecf%flett.org b7fa256d74 fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
2003-06-17 16:40:34 +00:00
caillon%returnzero.com 2df173e9c8 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
brade%netscape.com 97e32dcb83 remove unused params; r=akkana, sr=kin, bienvenu, bug=208967 2003-06-12 14:51:37 +00:00
timeless%mozdev.org dad022fd58 Bug 199989 Remove gNoisy code from libeditor.
r=brade sr=alecf
2003-05-23 21:43:10 +00:00
dwitte%stanford.edu 270d3909ca bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00
jkeiser%netscape.com d484da106e Fix drag and drop to/from textarea and input (bug 194802), r=bryner@netscape.com, sr=jst@netscape.com, a=sspitzer@netscape.com 2003-05-21 00:42:32 +00:00
kaie%netscape.com a3443be3ff b=169213 hitting backspace deletes HR above, fix confusing caret placement around <hr> lines
r=jfrancis sr=sfraser a=sspitzer
2003-05-14 13:20:09 +00:00
brade%netscape.com 0f98e1c43e api change to include event (similar to paste/drop hook); r=cmanske, sr=sfraser, a=asa bug=203365 2003-05-09 18:30:02 +00:00
brade%netscape.com 8795f96966 cleanup transferable hooks in editor; defer selection manipulation in plain text; ensure hooks are properly positioned (bug 203062) r=kaie, kin; sr=smfr 2003-04-25 21:05:32 +00:00
sfraser%netscape.com 352be220ed Fix bug 196704: implement commands to get the selected text, and insert text, to allow for embedders (like Camino) to use them, e.g. for the Mac OS X services menu. Also fix image copy. r=brade, sr=kin. 2003-04-22 18:11:12 +00:00
brade%netscape.com 87edb79af7 editor changes for drag/drop/copy/paste hooks (bug 197121) r=jfrancis, sr=smfr 2003-04-17 13:18:51 +00:00
kin%netscape.com e665d2543f Fixes for bug 192569 (allow foreign transactions to be added to the queue)
mozilla/editor/idl/nsIEditor.idl
mozilla/editor/libeditor/base/nsEditor.cpp
mozilla/editor/libeditor/base/PlaceholderTxn.cpp
mozilla/editor/libeditor/html/nsHTMLCSSUtils.cpp
mozilla/editor/libeditor/html/nsHTMLEditor.cpp
mozilla/editor/libeditor/text/nsTextEditRules.cpp

  - Renamed nsIEditor::Do() to nsIEditor::DoTransaction() so that it
    can be called from JavaScript.

  - Cleaned up nsEditor::Begin/EndUpdateViewBatch() so that
    nothing happens outside the check of mUpdateCount.

  - Modified PlaceholderTxn.cpp so that it checks to see
    if a merged transaction implements nsPIEditorTransaction
    before attempting to cast it to (EditorTxn*).

mozilla/editor/ui/composer/content/EditorCommandsDebug.js
mozilla/editor/ui/composer/content/editorOverlay.xul
mozilla/editor/ui/composer/locale/en-US/editorOverlay.dtd

  - Added debug menu items to test execution of foreign transactions
    via the txnmgr and editor.

r=jfrancis@netscape.com  sr=sfraser@netscape.com
2003-04-04 20:50:25 +00:00
jaggernaut%netscape.com 1d19525bc6 Bug 200638: fix drag copy modifier key on Mac OS X. r=Neil, sr=peterv 2003-04-04 12:48:23 +00:00
sfraser%netscape.com 28c61bb42b Remove nsIIndpendentSelection, moving its one method onto nsISelectionPrivate. Bug 192827. r/sr=kin. 2003-04-04 01:45:06 +00:00
bryner%netscape.com c5358b6362 Oops, removing ^M characters. Fixing IRIX bustage. 2003-04-02 04:52:53 +00:00
bryner%netscape.com d72672f317 Fix ctrl+enter in the mail compose window by getting rid of editor's key listeners in the client event pass entirely (everything now happens in the system event pass). r=brade, sr=sfraser. 2003-04-02 03:31:18 +00:00
kin%netscape.com 37bbcaa643 Fix for bug 199133: mfc embed drag&drop doesn't work within same editor
Make DragOver() consume the drag event so that the default browser drag listener that is present during embedding, isn't triggered.

r=brade@netscape.com sr=dbaron@dbaron.org
2003-03-25 15:38:17 +00:00
timeless%mozdev.org 697618b07d Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
bryner%netscape.com e1391344c6 Move editor's key event listener, xbl commands, and typeahead find into the system event group. This allows event listeners in content to reliably cancel key events. Bug 54035, r=jkeiser and aaronl, sr=hyatt and kin. 2003-03-24 04:00:58 +00:00
jfrancis%netscape.com 58201a353d fixes for:
178304 - deleting only char in text node places caret in previous block
174867 - caret in wrong place after delete-to-end in list
181898 - select into mailcite, type: inserted text is in cite
r=brade; sr=kin
2003-03-23 20:22:15 +00:00
dougt%netscape.com 0d2808c511 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
brade%netscape.com a7e4f475f7 allow only compatible trasferable flavors (bug 196728, r=smfr, sr=kin) 2003-03-11 19:02:18 +00:00
sfraser%netscape.com e1fbf0bdbe Fix for bug 74404 -- show caret drag feedback. r=brade, sr=kin 2003-02-27 23:20:15 +00:00
sfraser%netscape.com 511b311820 Fix bug 74404: show caret drag feedback. r=brade, sr=kin 2003-02-27 23:09:51 +00:00
kin%netscape.com 3833230211 Fix for bug 191762 (dragged image doesn't land where it's dropped)
editor/libeditor/base/nsSelectionState.cpp

  - Reworked the logic in SelAdjJoinNodes() to avoid adding aOldLeftNodeLength twice to the calculated offset when the start/end node is the parent.

editor/libeditor/html/nsHTMLDataTransfer.cpp
editor/libeditor/text/nsPlaintextDataTransfer.cpp

  - Modified the InsertFromDrop() to use an nsAutoTrackDOMPoint, instead of relying on range gravity, to calculate the correct insert position after deleting the current selection.

r=jfrancis@netscape.com  sr=sfraser@netscape.com
2003-02-27 14:53:03 +00:00
neil%parkwaycc.co.uk f2567d8f8b Bug 87321 Shift+Tab has duplicate behavior (event handled twice in message compose) r=brade sr=sspitzer a=asa 2003-02-04 12:12:55 +00:00
timeless%mozdev.org 865dd1bf56 Bug 186643 del key at the end of the urlbar asserts
r=jfrancis sr=bz
2003-01-19 00:46:56 +00:00
cbiesinger%web.de 3a031bcf35 89203 r+sr=roc+moz missed a file when I did the IBMBIDI removal from editor 2003-01-18 14:42:02 +00:00
cbiesinger%web.de e3e8585471 remove ifdefs for IBMBIDI from editor, bug 89203 r+sr=roc 2003-01-17 11:11:10 +00:00
bryner%netscape.com 7f0488eb18 Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky. 2003-01-09 06:49:07 +00:00
dbaron%dbaron.org cb9bcc2e25 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 19:51:43 +00:00
jfrancis%netscape.com 18d72537a9 editor fixes for:
180034 editor should respect the select_all style
183836 New list item should not reset inline styles
179384 Merging blocks via forward delete sends selection to front of document
98434 IME does not work correctly at the last characters in the text field  (patch courtesy of Shotaro Kamio)

r=jfrancis,brade,cmanske   sr=kin
2002-12-22 01:51:14 +00:00
dbaron%fas.harvard.edu de5585e5e7 Remove unused parser-related code. b=130439 r=harishd sr=jst 2002-11-28 19:43:51 +00:00
caillon%returnzero.com 82090ec342 Bug 181442 - Convert editor's pref usage to the new pref APIs.
r=brade sr=kin
2002-11-23 01:26:58 +00:00
brade%netscape.com b57b38a037 Cut when no selection should just return NS_OK (not error which causes JS to throw an error); bug 178725, r=akkana, sr=kin 2002-11-13 21:21:28 +00:00
cmanske%netscape.com 09f188f039 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 2002-11-12 23:30:29 +00:00
bzbarsky%mit.edu fe11056d5d Clean up some array stuff in editor; switch to nsCOMArray in a bunch of
places.  Bug 175564, r=jfrancis, sr=kin
2002-11-12 19:40:11 +00:00
bryner%netscape.com 8beac694e3 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. 2002-11-09 00:25:25 +00:00
bryner%netscape.com be89105ec4 Bug 104371 - shiftKey not set correctly for keypress events, breaking shift+space binding. r=brade, bzbarsky, sr=hyatt. 2002-11-07 03:34:13 +00:00
akkana%netscape.com 2ce455f6d4 176355: Warning fix, remove unused var. r=dmose, sr=bz, a=dbaron 2002-10-24 03:45:23 +00:00
blizzard%redhat.com f360f72c84 Backout unapproved checkin for bug #104371. 2002-10-23 15:18:13 +00:00
hyatt%netscape.com cec3e61e53 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
2002-10-23 03:15:42 +00:00
akkana%netscape.com 0b194fc333 174987: Don't skip the last pass through the loop (was deleting signatures). r=brade sr=kin a=asa 2002-10-18 19:25:32 +00:00
akkana%netscape.com 753fba95f6 161143: Add new method InsertTextWithQuotes, and call it from Rewrap. r=brade,jfrancis sr=sspitzer 2002-10-08 20:24:23 +00:00
brade%netscape.com f7d5f35b4a remove unused CIDs (r=mjudge/sr=kin/bug 121648) 2002-10-07 14:21:34 +00:00
cmanske%netscape.com 1010f8aeed Progress on removing editorShell from Composer: fixed controller and command problems and mimetype and 'documentEditable' to editor interfaces, b=169029, r=brade, sr=dveditz 2002-09-18 19:42:38 +00:00
glazman%netscape.com e03e047dcf 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
2002-09-17 12:04:59 +00:00
jfrancis%netscape.com 8f022d1476 fix for 125161: forward delete in text widget should not delete trailing blank line r=glazman sr=kin 2002-09-13 13:26:14 +00:00
dougt%netscape.com 68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
dougt%netscape.com f2a00efc93 Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426 2002-09-03 23:36:13 +00:00
alecf%netscape.com dc6d6e3736 bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
r=dougt, sr=darin
2002-08-26 21:20:34 +00:00
mjudge%netscape.com a07cba5734 4302 r=jfrancis sr=kin. pageup/down bug with navigation. 2002-08-26 20:55:30 +00:00
jfrancis%netscape.com e047d51485 fix for 159392: Composer add <br> to end everytime it opens a file.
r=brade; sr=kin
2002-08-23 17:57:51 +00:00
seawood%netscape.com 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
brade%netscape.com 6850ca9285 call preventdefault for keypresses we insert (r=akkana, sr=sfraser) bug 158672 (and others) 2002-08-07 14:45:08 +00:00
akkana%netscape.com 7029acc398 Bug 137253: don't break long words (like urls) during rewrap. r=brade, sr=kin 2002-08-06 23:54:19 +00:00
alecf%netscape.com f7ad4265ef bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag
2002-08-06 00:53:19 +00:00
akkana%netscape.com 6a90f201a3 145727: use nsString.FindChar, clean up conflicting string usages. Patch from skamio@netscape.net (Shotaro Kamio), r=akkana, sr=alecf 2002-06-14 22:10:56 +00:00
kin%netscape.com 2cc8934aad 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
2002-06-13 20:35:12 +00:00
jfrancis%netscape.com 6118727dff bug 83378: plaintext mail reply editong problem in quotes 2002-06-12 14:12:32 +00:00
alecf%netscape.com bcf192e308 fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes) 2002-06-06 20:28:14 +00:00
dougt%netscape.com c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
jaggernaut%netscape.com 7e4e14d8c5 Backing out joki's checkin for bug 124990 (at his request) since this breaks some stuff on linux. 2002-04-20 01:48:32 +00:00
joki%netscape.com bdfd051dfb 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.
2002-04-19 02:52:01 +00:00
akkana%netscape.com fdc4ae63df 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.
2002-04-16 23:11:33 +00:00
jfrancis%netscape.com 3232e07c19 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 2002-04-06 19:07:47 +00:00
akkana%netscape.com e52d759ee5 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
2002-03-26 22:09:47 +00:00
akkana%netscape.com 36234b8d88 131277: change signature of outputToString to return the string. r=jfrancis sr=sfraser a=asa 2002-03-25 22:39:19 +00:00
dbaron%fas.harvard.edu 0ba01241e6 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 22:08:20 +00:00
alecf%netscape.com 6e402296f7 fix for blocker - intialize originalStart 2002-03-19 19:52:45 +00:00
alecf%netscape.com 451df7d6c3 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 2002-03-19 06:46:56 +00:00
dbaron%fas.harvard.edu 0b816e3591 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 2002-03-16 15:34:43 +00:00
glazman%netscape.com 72b1c305b0 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
2002-03-15 15:33:29 +00:00
jfrancis%netscape.com e1284b0683 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 2002-03-11 14:28:37 +00:00
ftang%netscape.com 17c4bdc982 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
  {
2002-03-07 14:34:35 +00:00
bzbarsky%mit.edu 97aad157b6 Relanding the Compare --> Equals conversion. a=mcafee 2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu 98afc5ee0f Testing performance impact of backout of what's left of the patch from
bug 115289.  See bug 123947 for details. a=mcafee
2002-02-09 20:46:05 +00:00
alecf%netscape.com fe8bbbd587 dependency update 2002-02-06 22:19:07 +00:00
bzbarsky%mit.edu 40d60f39ec Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag
2002-02-05 02:03:07 +00:00
akkana%netscape.com 2865243e84 121046: fix a rewrap hang. r=adu@sparc.spb.su sr=kin 2002-02-01 21:29:16 +00:00
alecf%netscape.com 28b3772942 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
2002-01-30 06:04:29 +00:00
glazman%netscape.com fd4d0fd0da remove CSSisms from nsEditor; b=121092, r=brade, sr=kin 2002-01-25 10:16:52 +00:00
akkana%netscape.com f021d7bd98 112139: fix infinite loop in rewrap. r=brade sr=sfraser 2002-01-15 22:43:42 +00:00
brade%netscape.com f2c8087638 remove DEAD_CODE (bug 115115) 2002-01-14 20:35:08 +00:00
brade%netscape.com 3d8cad8a25 remove DEAD_CODE (bug 115115); remove unused static (bug 117927) 2002-01-14 20:34:15 +00:00
glazman%netscape.com 68488c9353 CSS in Composer, step 1 ; b=77705, r=jfrancis, r=cmanske, sr=kin 2002-01-09 13:51:37 +00:00
brade%netscape.com 10313daf8c remove 5 static CID/IID since they are unused (bug 117927; r=glazou, rs=shaver) 2002-01-03 15:47:27 +00:00
brade%netscape.com d79d0e0a15 remove kCDataFlavorCID and kContentIteratorCID since they are unused (bug 117927; r=glazou, rs=shaver) 2002-01-03 15:37:49 +00:00
mjudge%netscape.com d7c892374e wrong name for module name. needed webbrwsr not webBrowser_core 2001-12-18 02:06:04 +00:00
mjudge%netscape.com 2ecc969e5b bs=7868 r=saari Adding in new api to bake on trunk before going to branch. this adds nsISelectionDisplay to nsISelectionController. SetDisplayFlags are how we now set if you want images selected or not 2001-12-18 01:29:49 +00:00
brade%netscape.com d6ef260d9a more NS_LITERAL_STRING cleanup (bug 26384; r=cmanske, sr=alecf) 2001-12-17 15:23:51 +00:00
jaggernaut%netscape.com e44e7d9ec8 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst 2001-12-17 07:14:49 +00:00
jaggernaut%netscape.com ee12112b29 Remove timer from REQUIRES, the makefile.win edition 2001-12-16 18:08:20 +00:00
cmanske%netscape.com b6728d8c63 Support changing list bullet/number style for selected list items. b=92278 r=jfrancis,brade sr=kin 2001-12-12 03:57:32 +00:00
brade%netscape.com 480ebb8df1 don't blindly eat modified tab events (except shift and no modifier); bug 99602 (r=cmanske; sr=kin) 2001-12-11 23:07:55 +00:00
kin%netscape.com 15cb4447cd Fix for bug 114339: Mozilla fails to paste correctly into password fields
Modified WillInsertText() to call EchoInsertionToPWBuff() after
the code that filters newlines based on the editor.singleLine.pasteNewlines
pref.

r=brade@netscape.com  sr=sfraser@netscape.com
2001-12-11 07:21:10 +00:00
brade%netscape.com 3508890dd3 NS_LITERAL_STRING cleanup (bug 26384; r=akk, sr=kin) 2001-12-07 15:28:47 +00:00
akkana%netscape.com bb484aad10 Trivial warning fix 2001-12-06 22:04:40 +00:00
jst%netscape.com d9e3afb71d Fixing bug 110798. Freezing the interfaces nsIDOMEvent, nsIDOMEventListener, nsIDOMEventTarget and nsIDOMDocumentEvent. r=harishd@netscape.com, sr=jband@netscape.com 2001-12-06 06:57:03 +00:00
leaf%mozilla.org 8310ba80d7 remove cppsrcs defines from makefile.win files, bug 102459, sr=cls r=dbaron 2001-12-05 03:43:29 +00:00
yokoyama%netscape.com 958286d3fd Bug 109265
checking in for skamio@netscape.net
Disabling IME for Readonly attribute of <INPUT>
/r=yokoyama; /sr=kin
2001-11-30 21:48:31 +00:00
brade%netscape.com f44f5df260 #include cleanup (bug #112008, r=akkana, sr=sfraser) 2001-11-29 10:06:21 +00:00
jkeiser%iname.com 84506ffd3e Fix for bug 109754 (crash on dhtmlcentral.com). r=kin@netscape.com, sr=jst@netscape.com 2001-11-28 03:22:30 +00:00
seawood%netscape.com 7733357d51 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
timeless%mac.com 060425ec59 Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt
2001-11-19 06:45:00 +00:00
brade%netscape.com e75eb5eee7 ForceCompositionEnd when focus is lost (Blur); bug #81356; patch from Masaki Katakai (katakai@japan.sun.com); r=brade/ftang; sr=sfraser 2001-11-16 15:04:17 +00:00
alecf%netscape.com d49a4ba867 win32 REQUIRES cleanup 2001-11-15 03:49:13 +00:00
akkana%netscape.com fa6a218016 104195: fix some problems with rewrap. r=brade sr=kin 2001-11-15 00:04:26 +00:00
bzbarsky%mit.edu f2ee8260a0 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
kin%netscape.com b5b14245e1 Fix for bug 106383: regression: new composer doc behaves as if empty
mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
  mozilla/editor/libeditor/html/nsHTMLEditRules.cpp
  mozilla/editor/libeditor/html/nsHTMLEditRules.h
  mozilla/editor/libeditor/html/nsHTMLEditor.h
  mozilla/editor/libeditor/text/nsTextEditRules.h

    - Added nsHTMLEditRules::WillLoadHTML() which removes any mBogusNode.
    - Modified nsHTMLEditor::LoadHTML() to call Will/DidDoAction().
    - Changed all references of kOpHTMLLoad to kOpLoadHTML to match
      function name, and added kLoadHTML.

r=jfrancis.netscape.com  sr=sfraser.netscape.com  a=asa@mozilla.org
2001-11-09 15:16:03 +00:00
dbaron%fas.harvard.edu 8cd8d91750 Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052 2001-11-07 06:24:10 +00:00
brade%netscape.com 46f0483fc5 nsIFile->nsIURI in nsIDiskDocument shows missing #include; now added (bug #104883) 2001-11-01 15:22:10 +00:00
jaggernaut%netscape.com 729180f6cd Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-10-27 11:28:06 +00:00
kin%netscape.com 901e5fba22 Fix for bug #104692: Edit field line break didn't updated
Modified WillInsertText() so that it adds a mozbr if
the last char in the plaintext string is a newline,
and we are inserting at the end of the doc. This gives
the blank line people expect to see.

r=jfrancis@netscape.com  sr=sfraser@netscape.com
2001-10-26 14:22:31 +00:00
timeless%mac.com c4eeb91d14 Bugzilla Bug 106839 amTargettedCorrectly should be isTargetedCorrectly
r=bbaetz,glazou sr=brendan
2001-10-26 10:54:15 +00:00
bernd.mielke%snafu.de 5dea5d5737 bug 103443 - remove the return rv?rv: NS_ERROR_FAILURE pattern from the editor files.
the editor/base remain untouched r=cmanske sr=kin
2001-10-17 14:33:50 +00:00
jaggernaut%netscape.com c39b98b2a4 Clean up REQUIRES lines. 2001-10-07 10:35:41 +00:00
akkana%netscape.com b4403064d7 Fix OBJDIR build bustage associated with 66345 editor reorg checkin 2001-10-05 01:57:05 +00:00
akkana%netscape.com 16959e1343 66345: Flipping the switch on the editor reorg.
Remove unused directories which should not have been created.
  r=cmanske,jfrancis,brade sr=sfraser,kin a=dbaron
2001-10-05 01:23:23 +00:00
akkana%netscape.com ba56bdc789 66345: windows makefiles for editor reorganization.
Not yet part of the build (until the switch is flipped).
  r=cmanske, sr=sfraser,kin, a=dbaron + leaf,loan.
2001-10-04 23:12:09 +00:00
akkana%netscape.com 4d776da5c7 66345: Update the Makefiles to make REQUIRES work. Not yet part of the build. 2001-10-03 00:54:12 +00:00
roc+%cs.cmu.edu 2093b9d1d6 Bug 56696. Let ctrl-enter escape from multiline editors. r=brade, sr=blizzard 2001-10-01 02:11:19 +00:00
mkaply%us.ibm.com 72816bd6d4 #79798
r=ftang, sr=kin@netscape.com
Cursor is an ambigous term - use caret to refer to the text caret in Bidi functions
2001-09-30 20:35:55 +00:00
jaggernaut%netscape.com ca6197295f Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
gerv%gerv.net eecb4c06ee License changes, take 2. Bug 98089. mozilla/editor/. 2001-09-25 22:53:13 +00:00
akkana%netscape.com 32dedbc104 Unix/Win makefiles for 66345. r=cmanske, sr=sfraser. Not yet part of the build 2001-09-25 00:45:54 +00:00
gerv%gerv.net 1856815ff1 Oops. 2001-09-20 00:02:59 +00:00
scc%mozilla.org 102170b2a0 bug #98089: ripped new license 2001-09-19 20:09:47 +00:00
jaggernaut%netscape.com dc40187223 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
jaggernaut%netscape.com 25856c9451 Bug 73353: move gfx from module layout to module gfx and fix up REQUIRES lines. r=cls 2001-09-14 05:37:29 +00:00
jaggernaut%netscape.com 30ace44624 Clean up REQUIRES lines, put content in its own module instead of in layout's, r=cls. 2001-09-12 12:48:23 +00:00
jaggernaut%netscape.com 3b3680c17e Bug 98153: Remove SubsumeStr. r=dbaron, sr=scc 2001-09-05 10:46:45 +00:00
bryner%netscape.com a6247d9aa1 Bug 47551 -- removing obsolete nsIFileSpecWithUI and nsIFileWidget. r=pavlov, sr=ben. 2001-09-04 22:56:38 +00:00
jfrancis%netscape.com bcab0f9dbc fixes:
bug 83918 - Not able to start a list (number or bullets) when using Bold style
bug 62347 - Selecting "Body Text" doesn't change style if in <pre> text that has <br>
bug 86476 - ubercaret appears on multi-line text block
bug 87882 - pasting text from one bullet to another yields extra bullet
---------------
r=sfraser; sr=kin
2001-08-22 05:32:44 +00:00
jaggernaut%netscape.com e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
dbaron%fas.harvard.edu b4ea38686f Remove |#ifdef|s around |#include|s since they're a recipe for build bustage (see the portability guidelines). b=91237 r=jag sr=waterson 2001-07-25 05:16:32 +00:00
dbaron%fas.harvard.edu aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
anthonyd%netscape.com f88d5c6fa3 bug fix for 81288 - &nbsp removed from source when changing views
r=kin@netscape.com
sr=sfraser@netscape.com
2001-07-14 00:50:21 +00:00
kin%netscape.com 907212d677 Fixes from kin@netscape.com and brade@netscape.com
for bug #86450: pasting plaintext into text area loses significant whitespace

    content/base/src/nsDocumentEncoder.cpp
        - Look for -moz-pre-wrap in the correct attribute ("style").

    editor/base/nsHTMLDataTransfer.cpp
    editor/base/nsPlaintextDataTransfer.cpp
        - Set the correct mime-type on the encoder and transfer data.
        - Pass correct init flags to encoder.

    layout/base/src/nsCopySupport.cpp
    layout/base/src/nsCopySupport.h:
        - Added IsPlainTextContext() method.
        - Modified HTMLCopy() to pass correct init flags and
          mime-type to the encoder during plaintext copy.

r=kin@netscape.com,brade@netscape.com sr=sfraser@netscape.com
2001-07-13 13:38:10 +00:00
akkana%netscape.com a05d3e3c8e 78727,86998: Fix a hang with rewrap introduced by the string API conversion. r=sspitzer, sr=sfraser 2001-07-10 00:40:11 +00:00
jaggernaut%netscape.com 5a6317b8a5 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
waterson%netscape.com b74d6e1c8b Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs. 2001-06-20 20:21:49 +00:00
mjudge%netscape.com 618d0012eb bad ifdef. left this out of previous checkin for middle mouse paste 2001-06-20 05:18:12 +00:00
cls%seawood.org bf5fb48486 Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
2001-06-18 22:10:38 +00:00
jfrancis%netscape.com ce1e99c63d fix for 67847: forward delete can make caret go to start of doc. r=kin; sr=sfraser; a=asa 2001-06-12 22:21:12 +00:00
yokoyama%netscape.com b95d9c0083 Bug 63029: Japanese input in text area in forms confuses subsequent input
The fix is to
- maintain the index of PasswordBuf at the start of IME
- maintain the old IME text
- remove the old IME text from PasswordBuf
/r=jfrancis, /sr=kin, /a=blizzard
2001-06-06 01:21:05 +00:00
ftang%netscape.com 4dde2c3cec fix 83448. author=simon@softel.co.il
r=ftang sr=kin a=asa
2001-06-04 22:22:36 +00:00
mkaply%us.ibm.com c2673ba006 #79954
r=anthonyd, sr=sfraser
Enable middle button paste on OS/2 by using kGlobalClipboard
2001-05-22 14:11:17 +00:00
mkaply%us.ibm.com 18a8225acf #80550
r=jfrancis, sr=sfraser, r=leaf for build changes
Putting back Bidi selection code that was removed by 65557
2001-05-21 23:57:55 +00:00
jst%netscape.com 77aeecc056 scc checking in from jst's account. bug #75220: sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances. 2001-05-19 11:27:30 +00:00
ftang%netscape.com 5938ccae19 fix bug 80552 r=ftang r/sr=jst
check in for simon@softel.co.il
change BidiEnable to GetBidiEnable
2001-05-16 13:40:08 +00:00
kin%netscape.com 729a670d51 Fix for bug #75305: Doing Undo and Redo crashes browser
Added nsAutoUpdateViewBatch class, and use it in
nsPlaintexteditor::Undo()/Redo().

    editor/base/nsEditorUtils.h
    editor/base/nsPlaintextEditor.cpp

r=jfrancis@netscape.com   sr=sfraser@netscape.com
2001-05-11 13:59:11 +00:00
brade%netscape.com c6f551d382 fix rewrap problems by only outputing lf linebreak (checkin for Akkana); bug #54090 2001-05-09 13:05:05 +00:00
brade%netscape.com 4c15f893db add debug insertion to detect unexpected linefeeds (checkin for Akkana); bug #54090 2001-05-09 13:01:48 +00:00
jst%netscape.com ea706038cf Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com. 2001-05-08 17:42:36 +00:00
jfrancis%netscape.com 68326016b3 bug 76888: plaintext editor deletion can move/lose whitesapce. r=sfraser; sr=kin 2001-04-26 20:14:26 +00:00
pinkerton%netscape.com 39db36c9ab wow i biffed that last checkin 2001-04-26 19:48:40 +00:00
pinkerton%netscape.com 6cc46bce58 use GetCurrentSession() instead of QI to get drag session from service. r=pchen/sr=sfraser. bug# 77380 2001-04-26 19:05:08 +00:00
shanjian%netscape.com 819a855d2b #59405 IME candidate window position is not correct in text field on New card and To field
r = sfraser sr=kin a=blizzard
Handle the difference of cursor coordinate required by different platform.
nsICaret.h
nsCaret.cpp
nsEditor.cpp
nsPlaintextEditor.cpp
nsHTMLEditor.cpp
2001-04-19 22:46:29 +00:00
mjudge%netscape.com 0d69ddce33 forgot 1 change sr=scc r=anthonyd 76442 2001-04-18 06:26:19 +00:00
mjudge%netscape.com d5b4c5e196 76442 sr= scc r= anthonyd. last minute fixes to editor to not do stupid copies and instead to use new case insensitive string compares. 2001-04-18 06:17:05 +00:00
shanjian%netscape.com 0ee5ec3e5a #59405 IME candidate window position is not correct in text field on New card and To field
r = kin, sr = sfraser
change the type of coordinate return for windows and unix
2001-04-13 22:27:18 +00:00
mjudge%netscape.com 0d5b00ec9a 66318 r= kin, sr=kin tested by ducarozz ,phil chofmann approved..changing APIS to be idl so we can use in embedding land... lots of string changes too to nsAStrings 2001-04-07 00:45:26 +00:00
akkana%netscape.com e7ab6b7638 66345: New unix/win makefiles for new editor directories,
anticipating the move of files from editor/base.
  Not built yet, needs Mac project.  r=jfrancis, sr=kin/sfraser
2001-04-05 23:51:30 +00:00
akkana%netscape.com 097e2cd077 66345: Factoring necessary for editor reorganization. sr=kin/sfraser, r=jfrancis 2001-04-05 23:48:01 +00:00
akkana%netscape.com 838b5416b8 New files necessary for phase 1 of editor reorganization checkin.
r=jfrancis, sr=kin,sfraser
2001-04-05 23:34:08 +00:00
scc%mozilla.org 70de2e4a46 landing string branch; see bug #73786 2001-04-02 19:40:52 +00:00
erik%netscape.com c5bd1e8ade bug 71314; author=simon@softel.co.il; r=mjudge,anthonyd; sr=erik; changes
from IBM bidi project (Arabic, Hebrew, etc); some in ifdef for now
2001-03-21 01:16:22 +00:00
Peter.VanderBeken%pandora.be 47d931e2cd Renaming NS_PARSER_IID to NS_PARSER_CID, because it *is* a CID. r=jag, sr=jst. 2001-03-10 21:02:12 +00:00
brade%netscape.com 347aad29a1 stop propagation on drop over non-editable fields (unfortunately we have to additionally catch it in the drop since someone else might have accepted the drag for us); sr=kin 2001-03-02 14:11:55 +00:00
blakeross%telocity.com 38794d139f UIEvent button property is incorrect according to the DOM2 spec. Changing values to 0, 1, 2 (left, middle, right mouse buttons respectively) from 1, 2, 3. |event.which| continues to use the old values for backwards compatibility. This affects future xbl, js, and c++ event button checks so please see the newsgroups for more info (60703). r=timeless sr=jst 2001-03-02 03:07:53 +00:00
blakeross%telocity.com 2d55400a1d Making editor's |dont_AddRef| usages easier on the eyes (56033). r=timeless sr=scc 2001-02-26 00:28:58 +00:00
blakeross%telocity.com ee47e675f3 Make tab and shift+tab move to the next and previous (focusable) elements for textfields (2083, 47282). r=brade sr=sfraser 2001-02-16 03:40:15 +00:00
brade%netscape.com 5ee3ad85eb preventdefault on drag&drop over non-editable fields 2001-02-07 13:42:24 +00:00
anthonyd%netscape.com e177704f0e landing jfrancis fix for 67109 - Drag and drop to and from textfields is broken
sr=kin
r=anthonyd
2001-02-07 02:50:05 +00:00
brade%netscape.com 075f53d3d8 caret method renamed to GetCaretCoordinates; r=kin; sr=sfraser 2001-02-05 15:44:38 +00:00
dbaron%fas.harvard.edu fb225b8763 Convert correct usage of |nsCOMPtr<T>::operator&| to use |address_of| since the operator& will soon become private. b=59414 r=disttsc@bart.nl 2001-02-04 19:39:56 +00:00
akkana%netscape.com 19a79462ba 66718: fix a signed/unsigned problem. r=cmanske, sr=kin 2001-01-31 22:55:15 +00:00
blakeross%telocity.com 7643d2d739 Fix 66500 (plaintext editor case): paste is disabled for readonly textfields. r=timeless sr=sfraser 2001-01-31 02:50:16 +00:00
jfrancis%netscape.com fb60392b41 bug 66290: embedding work: refactor editor to allow smaller plaintext only library. Embedding clients may be interested inthis library if they want to embed a browser but not composer/mail-compose. Reduces library footprint for plaintext-only library by over 50% on all three platforms. r=fm; sr=kin 2001-01-28 20:13:07 +00:00
akkana%netscape.com 9bb492fd88 64665: don't hardwire wrap width to 72. Also fix some warnings. r=jfrancis, sr=kin 2001-01-25 23:12:16 +00:00
anthonyd%netscape.com 101cc14924 fix for bug #59003 fix for keybindings
sr=kin@netscape.com
r=akkana@netscape.com
2001-01-09 23:22:56 +00:00
akkana%netscape.com d53a276b40 33088: restructure editor output routines. r=kin,buster,adamlock sr=sfraser 2001-01-08 21:01:29 +00:00
dbaron%fas.harvard.edu fa7d014c05 Convert correct usage of |nsCOMPtr<T>::operator&| to use |address_of| since the operator& will soon become private. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com 2000-12-09 04:46:08 +00:00
akkana%netscape.com d20c260cc6 Split plaintext methods off into nsIPlaintextEditor API. sr=sfraser, r=jfrancis 2000-11-17 00:25:31 +00:00
warren%netscape.com cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com 9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
jst%netscape.com 6ea631e28c Checking in for bug 50742, this change removes the use of XIF in mozilla and replaces the XIF converter with a HTML (and XML) serializer.
Contextual information added to HTML copy and intelligence added to HTML paste in the editor (fixes bugs 47014, 50568 and 46554, and partly (at least) fixes bug 53188).

Code written by vidur, jfrancis, jst, akkana. Tested by jfrancis, akkana, vidur, jst, kin. Reviwed (and super reviewed) by waterson, vidur, kin, jfrancis, jst
2000-10-07 10:57:30 +00:00
mjudge%netscape.com 9f6d3e1303 r=sfrasier a=pdt+ fixing plain text mail 33654 see kin@netscape.com 2000-09-22 00:43:44 +00:00
joki%netscape.com aa0f12ff69 Partially fix bug 28323 by changing the text field editor keypress listener to not add characters into the text field if the user has cancelled the event. r:jst 2000-09-15 06:09:26 +00:00
akkana%netscape.com 46cd04d95d Fixing solaris build bustage: substring workaround suggested by scc 2000-09-14 21:27:59 +00:00
akkana%netscape.com 18342dbd80 51799: Smarter quote rewrapping, taking into account multiple quote levels, and RFC2646-style citations. r=cmanske 2000-09-14 19:55:40 +00:00
mjudge%netscape.com e2be918716 small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575 2000-09-14 11:45:01 +00:00
jfrancis%netscape.com 86f482d466 fixes for 45608, 51398, 51591; r=cmanske 2000-09-14 05:59:19 +00:00
rayw%netscape.com 0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
akkana%netscape.com 99628b2337 52035, 52171: Fix some recent regressions in key bindings. r=hyatt,jfrancis 2000-09-12 02:01:12 +00:00
cmanske%netscape.com 0ea8fba700 Composer bugs: Drag and drop problems (47399, r=anthonyd), workaround for bad dragNdrop event (50703, r=nisheeth) 2000-09-05 23:26:48 +00:00
akkana%netscape.com 31d9c7fbca 50311, 51088: fix a hang/crash in Rewrap. r=scc 2000-09-01 22:27:26 +00:00
akkana%netscape.com 783035aa7e 50935: make multiline paste into single line text control switchable. r=mjudge 2000-09-01 21:12:43 +00:00
pinkerton%netscape.com 4f3a971cb3 don't bubble the onDragOver event when we decide that the drop is allowable. This prevents it from being reset by someone else higher up the chain. r=anthonyd. bug# 47428. 2000-08-30 01:18:11 +00:00
akkana%netscape.com d9d40942bd 23485: make it possible for urlbar to go to urls spanning multiple lines. r=jfrancis 2000-08-28 22:15:03 +00:00
jfrancis%netscape.com 0202119f78 fixes bugs 46782,50161,48643,49266,49265,46395; groundwork for bugs 47931,49952; r=fm 2000-08-26 04:03:50 +00:00
anthonyd%netscape.com 112b262913 fix for bug 48624 (hidden selection issues with plain text widgets)
fix for bug 45662 (updating range impl to dom spec)
fix for some edge case selection issues invloving multiple windows, no bug #
but saari knows about this.
r: sfraser, jfrancis, mjudge, saari
a: beppe
2000-08-24 03:54:30 +00:00
akkana%netscape.com 7eccb199f7 Correct an error in a comment 2000-08-21 23:54:59 +00:00
anthonyd%netscape.com 9132d3b807 bug fix for 47399
dropping a drag session onto the originating selection
should do nothing.
r: mjudge, jfrancis
2000-08-10 01:01:18 +00:00
bratell%lysator.liu.se f30a2447a8 Fix for bug 46306, html-to-plaintext replies have > on blank lines. The fix was to strip ending new lines in the citer. r=akkana, a=waterson. 2000-08-07 06:05:27 +00:00
shanjian%netscape.com de23b7e7a9 #14022 IME98 Reconversion does not work in HTML Editor
r = jfrancis
a = ftang
fix proposed by m_kato@ga2.so-net.ne.jp

New events are added to support reconversion. As a result, many files
are affected. They are:
editor:
  nsEditor.h nsEditor.cpp nsEditorEventListeners.cpp nsEditorEventListeners.h
  nsHTMLEditor.h nsHTMLEditor.cpp nsIEditorIMESupport.h
dom and layout:
  nsIPrivateCompositionEvent.h nsDOMEvent.h nsDOMEvnet.cpp nsEventListenerManager.cpp
  nsIDOMCompositionListener.h
widget:
  nsGUIEvent.h nsWindow.h nsWindow.cpp
2000-08-04 21:43:29 +00:00
anthonyd%netscape.com 940be572c5 bug fixes:
39529 - caret width not correct for single/muti line textfields, which relied on:
46445 -  nsLookAndFeel needs to be a service.
r: mjudge@netscape.com, kin@netscape.com
a:beppe
2000-07-28 22:12:45 +00:00
brade%netscape.com 7ff1ae3049 clean up the code; remove unnecessary code/functions; don't handle delete/fwd delete keypresses if there is a modifier key pressed; bug #41078; r=kin 2000-07-27 21:39:48 +00:00
anthonyd%netscape.com 706f605d27 fix for regression, bug#45477
cant insert hrules, images, etc...
r=brade, a=granrose
2000-07-14 18:38:24 +00:00
mjudge%netscape.com aea4ff3323 anthonyd: r=mjudge bug 39919 letting DOM level 2 stuff work for the editor. eliminating createelementNS and using the factory instead. 2000-07-13 23:15:41 +00:00
jfrancis%netscape.com 56d058dd39 bug fixes: 41744 - editor shouldnt be quite as loosy goosy about html 4.0 as CnavDTD is; 41746 - editor ui state (paragraph format feedback) wrong if a <br> is embedded inside the current block; 41971 - using alignment inside table cells gives unexpected results. 2000-06-29 09:23:41 +00:00
cmanske%netscape.com 7193e676db Implement switching betweeen TH and TD elements for table editing. b=20973, r=jfrancis, akkana 2000-06-22 05:39:54 +00:00
brade%netscape.com 45f6fbf78e call PreventDefault for key events which we want to "consume" (bug #42510); r=smfr 2000-06-20 14:23:43 +00:00
ducarroz%netscape.com 748743bb73 Fix for bug 38716 & bug 38715. Do not kill the dragdrop event when is not a flavor supported by the editfield. R=brade 2000-06-20 01:01:49 +00:00
rbs%maths.uq.edu.au 26742e611c Change invalid REC-html40 to correct XHTML namespace. b:7834. a:ekrock@netscape.com 2000-06-15 09:54:41 +00:00
mjudge%netscape.com 6f0c30e104 regressions from 34986 ender-lite. listeners now block percolation of events. until we have better fix. r=saari, akkana 2000-06-14 02:58:34 +00:00
akkana%netscape.com 09592145c3 42306: Change middle-mouse paste from MouseDown to MouseClick,
and prevent it bubbling up to where navigator.js will handle it.
r=saari,mjudge; a=beppe
2000-06-13 23:19:48 +00:00
mjudge%netscape.com 4d8ea6168b cleaning up 34896 ender-lite with saari's review. 2000-06-09 21:13:03 +00:00
brade%netscape.com fa8e2b58fc drag within editor implemented; r=kin; a=beppe; bug#6255 2000-06-08 14:47:29 +00:00
mjudge%netscape.com 9703a755f8 bug=34896 changing use of CreateElement to CreateElementNS. this was necessary outside of ender-lite also. good change. r=jfrancis a=beppe 2000-06-07 01:18:12 +00:00
kin%netscape.com 82849412ce Fix for bug #36935: [i18n] Textwidget doesn't scroll when non-7-bit-ascii chars
Made ScrollSelectionIntoView() a static function and called it from HandleText().
    editor/base/nsEditorEventListeners.cpp
    editor/base/nsEditorEventListeners.h

r=jfrancis@netscape.com  a=beppe@netscape.com
2000-05-31 03:18:05 +00:00
jfrancis%netscape.com f8789832b8 fixes: 14753, 29843, 39864, 40141, 40139, 36679, 39542, 34729, 34855, 37216, 39292, 26447 r=sfraser,cmanske,fm; a=beppe 2000-05-24 23:00:24 +00:00
rods%netscape.com 0516e9165c DD&D now checks for readonly and disabled
b 38773
2000-05-16 21:57:06 +00:00
brade%netscape.com 9e0f23802d enable drop of more types 2000-05-16 14:53:43 +00:00
mjudge%netscape.com e1ad6bd23a changes to add hidden attribute on selection. also to make setcaret go through the selection controller 2000-05-11 04:22:32 +00:00
cmanske%netscape.com 0aa739ecd5 Lots of editor feature work: bugs 26286, 34519, 28498, 36998, 37089, 14342. r=sfraser 2000-05-09 23:03:41 +00:00
jfrancis%netscape.com bd8b43e4c5 fix for 30759, plaintext paste as quotation creates ubercaret 2000-05-08 07:50:57 +00:00
jfrancis%netscape.com 307b8fbcc5 fixed bug where undo could cause extra break nodes; fixed bug 37845: plaintext gets clutered with empty text nodes; fixed bug where toolbar style feedback was wrong after typing a return. 2000-05-07 01:33:42 +00:00
jfrancis%netscape.com eb2ab3d2ee rest of fix for bug 30763 2000-05-05 21:57:58 +00:00
mjudge%netscape.com ebafd36182 massive change to prepare for ender-lite. should be a no-op for current implementation 2000-05-04 08:33:48 +00:00
akkana%netscape.com afedd3f559 Fix warnings 2000-05-03 23:42:25 +00:00
dprice%netscape.com 4feedc9725 fixing 37980, r=mjudge 2000-05-03 03:11:23 +00:00
jfrancis%netscape.com 509b944592 partial fix for bug 30763 2000-05-03 01:34:34 +00:00
anthonyd%netscape.com ad6918e77a r: mjudge
disabled selection (grey selection) excludes input fields now.
2000-04-30 18:55:13 +00:00
mjudge%netscape.com 67a72ebc1e massive change to stop the editor fromknowing about nsIPresShell or nsIDocument 2000-04-28 06:20:36 +00:00