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

156 Коммитов

Автор SHA1 Сообщение Дата
jfrancis%netscape.com 56ac4a4d19 bug 65557 and cast of thousands: making the editor behave more intelligently wrt html whitespace rules. Improved ws handling for: insert text, insert break, join blocks, split block, delete Yet to be tackled is html copy & paste. r=fm; sr=kin 2001-05-11 12:43:22 +00:00
jfrancis%netscape.com edc5638e7c fixes for bugs: 75618 CR line breaks not recognized when inserting data in a plain 76258 IsEditable() needs to be smarter 72968 browser crashes when doing REDO after doing some cut/paste i 55224 switching from HTML Source mode to Normal causes dataloss 71355 style buttons do not work from 2nd cell onwards inside table 71362 empty tables inside (otherwise) empty list item disappears w 74655 40% of reply time in mailcompose spent converting linefeeds r=fm; sr=kin 2001-04-17 10:15:05 +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 097e2cd077 66345: Factoring necessary for editor reorganization. sr=kin/sfraser, r=jfrancis 2001-04-05 23:48:01 +00:00
jfrancis%netscape.com c4120e0590 renaming variable to match coding guidelines; r=fm; sr=kin 2001-03-09 14:19:14 +00:00
cmanske%netscape.com 5d262a924f Make setting doc title undoable (add SetDocumentTitle transaction) b=60129, add export to text file, b=51798, some interface param changes to table editing methods as part of embedding work (b=66300). r=brade, sr=sfraser 2001-02-26 22:02:58 +00:00
akkana%netscape.com 57d496adcb 25779: Add/improve alternate windows cut/copy/paste key bindings: r=brade sr=sfraser.
68747: Remove redundant code in nsHTMLEditor. sr=sfraser.
2001-02-15 21:51:25 +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 d53a276b40 33088: restructure editor output routines. r=kin,buster,adamlock sr=sfraser 2001-01-08 21:01:29 +00:00
jfrancis%netscape.com a4b7a1f805 fixes bug 62148: mac optimized build runs out of memory building nsHTMLEditor.cpp. I refactored a huge routine to be kinder to the codewarrior compiler. r=sfraser; sr=kin 2000-12-06 23:11:21 +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
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 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
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
jfrancis%netscape.com fbac81eb1c fix for bug 49889; r=fm 2000-08-30 04:33:20 +00:00
cmanske%netscape.com 5ffccc6765 nsbeta3 bug fixes: HTML source now working (50034, 41869), copy cell color after split (45279), truncate file url at '#' (48631). r=sfraser, kin 2000-08-30 02:44:08 +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
jst%netscape.com 9abec73fbe DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc 2000-08-23 17:27:06 +00:00
cmanske%netscape.com 3afb7bab79 Fixed lots of nsbeta3+ bugs: 45756, 47654, 41810,47503,48990, 48995,40204, 42740, 46953, 47646, 47696, 48693, 45899. r=sfraser,jfrancis 2000-08-23 00:29:24 +00:00
jfrancis%netscape.com 76f9c50305 groundwork for 44684: adding a "GetAlignment" call to the editor so that ui can reflect alignment of selection 2000-08-14 12:07:10 +00:00
jfrancis%netscape.com d25d7bd494 fix for 48297: ome edit operations not scroling selection into view; r=fm 2000-08-14 02:39:37 +00:00
jfrancis%netscape.com 6adf6aed3d fix for 45281, cannot insert a table caption. r=fm 2000-08-13 23:53:34 +00:00
cmanske%netscape.com a5251f332c Big UI fix checkin continued - same bugs as last checkin. r=sfraser 2000-08-10 03:43:09 +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
jfrancis%netscape.com 03d288ef63 take 2: fix for 22227 and partial fix for 46209; r=mjudge; a=beppe 2000-07-27 01:03:16 +00:00
cmanske%netscape.com 15901d9765 Finishing table editing+dialog work (b=20973, r=jfrancis), and disabling commands when in HTML Source mode (b=38875, r=sfraser) 2000-07-11 23:41:22 +00:00
cmanske%netscape.com e50d57138a Table editing work. b=20973, r=jfrancis 2000-07-01 00:37:12 +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
cmanske%netscape.com 4f01ada9bf New method for table editing (b=20973, r=jfrancis); Use nsIStyleSheet::SetEnable() for editmode stylesheets instead of removing and reloading -- necessary for bug 40767. r=sfraser 2000-06-14 04:58:29 +00:00
brade%netscape.com fa8e2b58fc drag within editor implemented; r=kin; a=beppe; bug#6255 2000-06-08 14:47:29 +00:00
jfrancis%netscape.com e93fa5fecf backend work for 41034: getting format feedback and list feedback untangled from each other. 2000-06-02 07:47:53 +00:00
mjudge%netscape.com 6a340adf28 fixing caret usages. hiding caret now is done by giving the stack destructor a caret * not a presshell 2000-06-01 02:38:13 +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
cmanske%netscape.com bf15afa2b3 Table editing: Join and Split cells (part of bug 20973) 2000-05-15 03:06:29 +00:00
cmanske%netscape.com 7237e38781 Added 'Split Cell' and fixed initialization of 'Join Cells' in table menu. Added stubs for 'Split Cell' 2000-05-04 22:32:24 +00:00
cmanske%netscape.com 3403bfda38 HTML Soure editor is working. Tweaked some dialog xul. Removed some unused stuff from EditorCommands.js 2000-05-04 14:02:03 +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
jfrancis%netscape.com f6251ee4f7 implementing list behavior spec, plus a few bug fixes 2000-05-03 00:14:28 +00:00
cmanske%netscape.com 003a94051d Set focus when page is done loading. Fixed labels for menus and toolbars. Replaced 'vertical-align' with 'valign' for box alignment. Changed strings for Edit Modes. Unload style sheets when loading a url into existing window 2000-05-02 03:24:11 +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
cmanske%netscape.com e78e6fbae6 Fixed Composer bugs 287475, 36937, 36981, 36996. More massive XUL skin conversion. 2000-04-28 05:59:16 +00:00
brade%netscape.com 7b4cdb0bf5 add methods for InsertFromDrop, PrepareTransferable, InsertFromTransferable; r=akkana 2000-04-25 14:14:48 +00:00
akkana%netscape.com b92f151eba 35814: add clipboard type to editor paste methods, and call the right type 2000-04-14 23:38:21 +00:00
jfrancis%netscape.com 0254b96365 Wrote RemoveAllInlineProperties() to deal with clearing out inline style, and also fixed a bunch of IME bugs. 2000-04-13 21:50:19 +00:00
cmanske%netscape.com a70cf9ae17 Fixed window title bug (28591), spell check done notification (28152), validate param range in dialogs (33027), converted to using nsIFilePicker in dialogs, other skinability fixes. r=mjudge,jfrancis 2000-04-04 14:51:26 +00:00
cmanske%netscape.com 9a9c1a24e8 Show/hide paragraph marks (b=22181) and cleaned up style sheet code. 3-D shading fixed for HLine props (b=26841). Toolbar button spaces (b=12514). New color picker button and other conversions to new XUL widgets in dialogs. Optimizations in table editing. r=sfraser 2000-03-31 04:18:29 +00:00
jfrancis%netscape.com af4644e7c8 making editor hip to inline style changes on collapsed selections. plus lots of removal of unused code. 2000-03-29 12:53:23 +00:00
jfrancis%netscape.com 0b23120401 improved paste performance in editor (WIP) (bug 28783) set/remove inline stlye rewrite (lots of bug #s) 2000-03-24 00:26:47 +00:00