Commit Graph
65 Commits
Author SHA1 Message Date
Jeff Walden ae46876880 Bug 847480 - Blindly convert all existing mozilla::Abs users to mozilla::DeprecatedAbs. Individualized conversions to the reformed mozilla::Abs will continue until mozilla::DeprecatedAbs is unused, at which point it will be removed. r=Ms2ger 2013-03-05 15:43:30 -08:00
Jeff Walden 8be01906e2 Bug 835542 - Implement mozilla::Abs. r=Ms2ger 2013-02-15 19:55:36 -08:00
Mats Palmgren 7532b4e736 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Mats Palmgren 18a9006d8e Bug 817574 - Replace NS_ABS with std::abs. r=roc 2012-12-04 13:33:33 +01:00
Ehsan Akhgari 92719c116c Bug 791907 - Remove prtypes.h #includes in editor/; r=jrmuizel 2012-09-17 22:58:51 -04:00
Ehsan Akhgari 243c878d26 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 8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor 318c755d1f Bug 772807 - Clean up editor/ includes with include-what-you-use; r=ehsan 2012-07-13 09:33:42 +03:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ms2ger 606df6e7a8 Bug 738771 - Outparamdel nsEditor::GetDocument(); r=ehsan 2012-03-24 09:19:14 +01:00
Ms2ger f0bb61850b Bug 721460 - Don't use GetIsCSSEnabled internally; r=ehsan 2012-02-01 11:54:22 +01:00
Ms2ger 553391cf46 Bug 684821 - Remove nsIDOMNSHTMLElement; r=peterv 2011-10-29 22:03:55 +02:00
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
Masayuki Nakano cb1d445f5e Bug 669028 part.9 editor should use mozilla::LookAndFeel rather than nsILookAndFeel r=ehsan 2011-09-09 11:27:12 +09:00
Jonas Sicking 89733c1da1 Bug 663461 Part 1: Remove Add/RemoveEventListenerByIID from editor. r=smaug 2011-06-27 16:34:54 -07:00
Jonas Sicking 423de3eccb Bug 658714 Part 6: Fixups after search'n'replace s/nsPIDOMEventTarget/nsIDOMEventTarget/. r=smaug 2011-06-23 19:18:01 -07:00
Jonas Sicking 9e55f5c437 Bug 658714 Part 5: Search'n'replace nsPIDOMEventTarget to nsIDOMEventTarget. r=smaug 2011-06-23 19:18:00 -07:00
Masayuki Nakano 354cc7faf5 Bug 664437 editor should use mozilla::Preferences r=ehsan 2011-06-17 09:59:29 +09:00
Dominic Fandrey 532ec73933 Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Ms2ger 6e37e0981c Bug 657210 - Outparamdel nsEditor::GetPresShell; r=ehsan 2011-05-22 14:43:13 +02:00
Ehsan Akhgari 66819365ab Bug 407127 - Part 1: Refactor the editor so that it only touches mPresShellWeak in GetPresShell, to make removing it easier; r=roc 2011-03-11 00:40:30 -05:00
Ehsan Akhgari ea32707944 Bug 572618 - Make debugging the editor easier - Part 3: multiline version of part 2; r=roc 2010-06-17 16:40:48 -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
L. David Baron 14d15ea3e2 Stop null-checking the pres shell so that we get to the UnbindFromTree call in nsHTMLEditor::DeleteRefToAnonymousNode. (Bug 563980) r=ehsan 2010-05-05 18:20:43 -07:00
L. David Baron 1bf0778b3d Backout temporary debugging code for bug 563980 (changesets 76e0ed39f6ad and 4498b6800a49). 2010-05-05 18:20:43 -07:00
L. David Baron bebafb621c Add additional debugging code for bug 563980. 2010-05-05 15:02:31 -07:00
Craig Topper 076bc13756 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Masayuki Nakano 352495f292 Bug 545602 Unify the event listeners for editor r=smaug 2010-03-06 13:01:28 +09:00
Jae-Seong Lee-Russo eceaa14e22 Bug 530296 - Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX in /editor. r=peterv 2010-02-11 09:34:37 +01:00
Chris Pearce 9d35f4f8ff Bug 431086 - nsHTMLObjectResizer refactor. 2009-04-14 15:05:34 +12:00
1803b57da8 Fix for bug 417533 (Resizing linked images fails in contentEditable elements). r/sr=jst, a=damon. 2008-04-23 04:53:29 -07:00
278718a41f Remove the anonymous content for resizers properly. b=420439 r+sr=peterv a1.9+=damons 2008-04-13 13:22:31 -07:00
b80b7d72ad Bug 364719 - "Resizers of images are positioned wrongly when page is scrolled" [[email protected] (Mathieu Fenniak) / [email protected] (Chris Pearce [cpearce]) r=peterv r+sr=roc a=blocking1.9+] 2008-01-21 23:39:06 -08:00
78ee378330 Bug 377575 - Table resize information tooltip location is misplaced, patch by Mathieu Fenniak <[email protected]>, r=glazou, sr=jst, a1.9=dbaron 2007-08-25 22:53:38 -07:00
151135384e Bug 336160 - Crash when releasing mouse while dragging absolute positioned element in designMode [@ nsHTMLEditor::MouseUp], r=glazman, sr=peterv 2007-06-14 01:22:47 -07:00
70e37b2ff0 Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:11:38 -07:00
0f958609c2 backout Bug 363089 2007-05-11 06:34:05 -07:00
833e8c64f1 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst 2007-05-11 04:15:11 -07:00
[email protected] 04a7b43a5a Bug 363960 � Crash when clicking on the image inside a designMode-enabled IFRAME [@ nsHTMLEditor::SetShadowPosition], r+sr=jst 2007-01-10 22:44:29 +00:00
[email protected] 3026c9a3ad Bug 338129, r=glazman, sr=neil 2006-06-15 07:31:01 +00:00
[email protected] 3434d072e9 Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. [email protected], [email protected] 2005-11-28 23:56:44 +00:00
[email protected] e0f2b0fa7e Cleanup in preparation for the actual fix for bug 283897. [email protected], [email protected] 2005-03-24 19:00:01 +00:00
[email protected] ca100921ee Remove nsIAutoCopy and fold the functionality into nsSelection.cpp (bug 231343). r+sr=roc. 2005-01-31 23:47:26 +00:00
[email protected] 6cde4639f0 Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
[email protected] d9edea9d71 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
[email protected] 6b0210f601 Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
[email protected] a476814222 Relanding, since backing out did not fix orange. Bug 232691. 2004-05-22 20:02:43 +00:00
[email protected] 870007c547 Backing out to attempt to fix Mac orange. Bug 232691 2004-05-22 19:26:52 +00:00