Aryeh Gregor
a270270fe3
Bug 1003808 part 3 - Clean up nsRangeStore; r=ehsan
2014-04-28 18:34:05 +03:00
Aryeh Gregor
780bdf4c9b
Bug 950386 - Move mozilla::Selection to mozilla::dom::Selection; r=ehsan
2014-04-10 19:09:40 +03:00
Ms2ger
8a2ff3f63f
Bug 890833 - Cleanup nsEditor::MoveNode; r=ehsan
2013-07-10 12:03:38 +02:00
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
688a8caad5
Bug 776323 part 2 - Clean up nsSelectionState::SaveSelection; r=ehsan
2012-07-23 13:27:22 +03:00
Aryeh Gregor
52e1b71cd6
Bug 776323 part 1 - Fix crash due to silly logic error in nsSelectionState::SaveSelection; r=ehsan
2012-07-23 13:27:22 +03:00
Aryeh Gregor
dde10d9130
Bug 772807 - Clean up editor/ includes with include-what-you-use; r=ehsan
2012-07-13 09:33:42 +03:00
Aryeh Gregor
8f686980ed
Bug 771994 - Make nsRangeStore refcounted; r=ehsan
2012-07-13 09:31:15 +03:00
Luqman Aden
cecabe4d0b
Bug 770814 - Make nsEditor::GetNodeLocation return already_AddRefed<nsIDOMNode> instead of having it as an out param; r=ehsan
2012-07-08 20:45:12 -04:00
Aryeh Gregor
b24ebc320a
Bug 769967 part 2 - Clean up nsEditor::GetNodeLocation; r=ehsan
2012-07-02 15:07:57 +03:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Ms2ger
f97dbc4ba1
Bug 717370 - Cleanup range-using and nearby code in editor; r=smaug+ehsan
2012-01-15 09:13:12 +01:00
David Zbarsky
e38d101da0
Bug 682611 - Part 2: Remove nsIRange; r=smaug
2012-01-10 15:19:54 +01:00
Ehsan Akhgari
92064e6d3f
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
d2b70213ac
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Michael Wu
b34f351453
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
3a56ed1279
Bug 582553 - Part 2: Fix nsSelectionState::IsCollapsed as well; r,a=roc
2010-08-05 22:13:07 -04:00
Ehsan Akhgari
c3c89c0ab8
Bug 582553 - nsSelectionState::IsEqual ignores error return from CompareBoundaryPoints; r,a=roc
2010-08-05 22:13:07 -04:00
Ehsan Akhgari
14ee2c56e6
Bug 575187 - Warning for NS_ENSURE_TRUE failure spammed on every charater typed/deleted in any text field; r=roc
...
--HG--
extra : rebase_source : b045bf78c06d1daab4e61d09a7152f955fae7445
2010-06-29 14:14:54 -04:00
Ehsan Akhgari
31ffd7b6db
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
af303aaed5
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
f2cdabf2ec
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
timeless@mozdev.org
1965a4e0b1
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
9c8455122d
Back out b8e531a6c961 (Bug 474369), it really did cause the windows dhtml regression
...
--HG--
extra : rebase_source : 568114bcfc5a7710d9e2c2fe5e234fa190bebba1
2009-06-16 14:38:51 +02:00
Arpad Borsos
21896afffc
Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron
2009-05-07 17:15:26 +02:00
Arpad Borsos
118ee75268
Back out bug 474369, suspected of causing dhtml and tp3 regression
2009-06-12 23:20:55 +02:00
Arpad Borsos
990fceee6e
Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron
...
--HG--
extra : rebase_source : 2f40cba97555521222512c7cd793c2a2adcca333
2009-05-07 17:15:26 +02:00
L. David Baron
a312877e17
Implement cycle collection for transaction manager and editor transactions. (Bug 488799) r+sr=peterv
2009-05-08 21:59:25 -07:00
Arpad Borsos
650695050a
Bug 474369 - get rid of nsVoidArray, editor part; r=neil
2009-04-22 10:43:15 +02:00
timeless%mozdev.org
9b0852aaf7
Bug 106386 Correct misspellings in source code
...
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
gerv%gerv.net
31625ba2b1
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:21:17 +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
44a2105094
editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548
...
CVS ----------------------------------------------------------------------
2003-07-08 20:18:18 +00:00
brade%netscape.com
ed3d11ddae
code cleanup; r=timeless, sr=kin, bug=209548
2003-06-30 19:10:53 +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
jst%netscape.com
53dbf78a7a
Fixing bug 161166. Freezing more DOM interfaces. r=harishd@netscape.com, sr=peterv@netscape.com
2003-01-14 23:05:52 +00:00
jfrancis%netscape.com
4735e23c71
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
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
jfrancis%netscape.com
12635e7ebd
fix for 178264: nsRangeUpdater bugs and enhancements. precursor to 143338 landing. r=brade; sr=kin
2002-11-10 15:11:08 +00:00
jfrancis%netscape.com
a04491dcd9
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
jfrancis%netscape.com
98f0f3ed8b
fixing 136944: crash typing in editor. r=fm sr=kin
2002-04-13 23:54:59 +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
rjesup%wgate.com
2e680f1b17
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
rjesup%wgate.com
f5db58443e
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
gerv%gerv.net
eecb4c06ee
License changes, take 2. Bug 98089. mozilla/editor/.
2001-09-25 22:53:13 +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
jfrancis%netscape.com
7b2553b398
hey, I misspelled "i"! That's gotta be a record of some kind.
2001-05-14 09:38:03 +00:00
jfrancis%netscape.com
000f221fc3
fixing bad loop index
2001-05-14 07:19:01 +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