Commit Graph
37 Commits
Author SHA1 Message Date
Ehsan Akhgari 478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu 0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Michael Wu 8d598fd0bb Bug 671185 - Incorrect return of NS_ERROR_* codes in functions returning PRBool, r=mak,ehsan,taras,biesi,pike,khuey,dholbert,josh,bjacob,bsmith 2011-07-25 21:57:58 -07:00
Ehsan Akhgari 7c53d66ada Bug 582553 - Part 2: Fix nsSelectionState::IsCollapsed as well; r,a=roc 2010-08-05 22:13:07 -04:00
Ehsan Akhgari 05883c1a2c Bug 582553 - nsSelectionState::IsEqual ignores error return from CompareBoundaryPoints; r,a=roc 2010-08-05 22:13:07 -04:00
Ehsan Akhgari 7deafadf8b Bug 575187 - Warning for NS_ENSURE_TRUE failure spammed on every charater typed/deleted in any text field; r=roc 2010-06-29 14:14:54 -04:00
Ehsan Akhgari a9f6e4b1f0 Bug 575187 - Warning for NS_ENSURE_TRUE failure spammed on every charater typed/deleted in any text field; r=roc 2010-06-28 19:15:27 -04:00
Ehsan Akhgari f32700d4f7 Bug 572618 - Make debugging the editor easier - Part 2: Replace all if(!foo) return NS_ERROR_bar checks with NS_ENSURE_TRUE(foo, NS_ERROR_bar); r=roc 2010-06-17 15:41:16 -04:00
Ehsan Akhgari d4ce369fca Bug 572618 - Make debugging the editor easier - Part 1: Replace all if(NS_FAILED) checks with NS_ENSURE_SUCCESS; r=roc 2010-06-17 15:27:24 -04:00
9c6403eb02 Bug 494691 nsSelectionState::DoTraverse warning: unused variable ‘item’ (shadowed by another of the same name)
r+sr=neil
2009-06-27 18:42:51 -07:00
Arpad Borsos 5ce3dc3e14 Back out b8e531a6c961 (Bug 474369), it really did cause the windows dhtml regression 2009-06-16 14:38:51 +02:00
Arpad Borsos 7f489509c6 Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron 2009-05-07 17:15:26 +02:00
Arpad Borsos 796d7b412b Back out bug 474369, suspected of causing dhtml and tp3 regression 2009-06-12 23:20:55 +02:00
Arpad Borsos 7381940430 Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron 2009-05-07 17:15:26 +02:00
L. David Baron d39fc3e216 Implement cycle collection for transaction manager and editor transactions. (Bug 488799) r+sr=peterv 2009-05-08 21:59:25 -07:00
Arpad Borsos 62f2db8651 Bug 474369 - get rid of nsVoidArray, editor part; r=neil 2009-04-22 10:43:15 +02:00
[email protected] 21af79fe88 Bug 106386 Correct misspellings in source code
patch by [email protected] r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
[email protected] c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
[email protected] 8b2fac2edd editor cleanup; r=jfrancis, sr=blizzard, bug=209548 2003-07-18 14:12:51 +00:00
[email protected] 2368dd952f editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548
CVS ----------------------------------------------------------------------
2003-07-08 20:18:18 +00:00
[email protected] 95d8855d3c code cleanup; r=timeless, sr=kin, bug=209548 2003-06-30 19:10:53 +00:00
[email protected] 63b55df60d 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.

[email protected]  [email protected]
2003-02-27 14:53:03 +00:00
[email protected] 1506a225b8 Fixing bug 161166. Freezing more DOM interfaces. [email protected], [email protected] 2003-01-14 23:05:52 +00:00
[email protected] 898775b74c 179384 Merging blocks via forward delete sends selection to front of document
correcting snafu from prior landing.
2002-12-22 07:48:32 +00:00
[email protected] 40d0a8e481 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
[email protected] 656094dba8 fix for 178264: nsRangeUpdater bugs and enhancements. precursor to 143338 landing. r=brade; sr=kin 2002-11-10 15:11:08 +00:00
[email protected] b2942eb8aa more 136944: fixing typos in original patch. r=Aleksey Nogin, sr=kin. Thanks to Aleksey Nogin for catching these. 2002-04-19 07:43:19 +00:00
[email protected] cf563bb98c fixing 136944: crash typing in editor. r=fm sr=kin 2002-04-13 23:54:59 +00:00
[email protected] d968ba44aa 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
[email protected] 33e3e06f9e Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson
2001-12-21 01:10:07 +00:00
[email protected] ab970adf0f Bug 106509: SaveSelection() doesn't delete entries from range correctly;
the test was backwards and never executed.  r=jfrancis, sr=kin
2001-11-01 15:44:26 +00:00
[email protected] 598067cb73 License changes, take 2. Bug 98089. mozilla/editor/. 2001-09-25 22:53:13 +00:00
[email protected] 30a09f1d88 Oops. 2001-09-20 00:02:59 +00:00
[email protected] 3c364a083d bug #98089: ripped new license 2001-09-19 20:09:47 +00:00
[email protected] f4b01e0f9b hey, I misspelled "i"! That's gotta be a record of some kind. 2001-05-14 09:38:03 +00:00
[email protected] 7c3a9c132f fixing bad loop index 2001-05-14 07:19:01 +00:00
[email protected] 40b684d9f7 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