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

137 Коммитов

Автор SHA1 Сообщение Дата
Ed Morley aba3a8f5ef Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE 2012-09-27 16:34:46 +01:00
Matt Woodrow 4d096475d2 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-08-29 17:38:58 +12: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 d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Ehsan Akhgari cf18ee9122 Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:24:55 -04:00
Matt Woodrow 31125260ee Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-06-30 15:06:11 +12:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +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
Mats Palmgren e757474795 Bug 312156 - Implement CSS3 text-overflow. r=roc 2011-06-22 20:11:48 +02:00
Ms2ger f32c8d1912 Bug 657160 - Remove NS_NewCaret; r=ehsan,roc 2011-05-15 12:17:09 +02:00
Jan Küchler c510bc3046 Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
Timothy Nikkel 5c6cbb6e6a Bug 607857. If caret is in a frame that needs reflow we can wrongly position the caret rect. r=roc a=blocking-final 2010-11-24 19:35:01 -06:00
Ehsan Akhgari ef3e455b43 Bug 593211 - Part 2: Back out bug 581585 r,a=roc
--HG--
extra : rebase_source : f368d3214a458bd642055c46ded2955bdec2a28b
2010-09-08 20:15:24 -04:00
Ehsan Akhgari 9b8f299714 Bug 581585 - Cache the frame for caret; r=roc approval2.0=dbaron
--HG--
extra : rebase_source : 3043705ce2689532c40d6e0f1b023b55174e8a88
2010-07-26 20:05:14 -04:00
Masayuki Nakano f88647e545 Bug 554822 Caret should refer the actual text color instead of the value of CSS color property r=roc 2010-04-01 11:35:48 +09:00
Masayuki Nakano 37b847f135 Bug 554822 backout the previous patch 2010-04-01 02:31:06 +09:00
Masayuki Nakano f1448bab60 Bug 554822 Caret should refer the actual text color instead of the value of CSS color property r=roc 2010-04-01 02:12:43 +09:00
Mats Palmgren 355d7fd5b3 Bug 544852, part 4: Add nsCaret::GetGeometryForFrame. r=roc 2010-03-14 23:56:26 +01:00
Mats Palmgren a445269db2 Bug 544852, part 3: Merge UpdateHookRect into UpdateCaretRects. r=roc 2010-03-14 23:54:11 +01:00
Mats Palmgren 06c0d583e4 Bug 544852, part 2: Use nsCaret::GetGeometry. r=roc 2010-03-14 23:52:45 +01:00
Mats Palmgren e5f8b2f7e8 Bug 544852, part 1: Remove nsCaret::GetCaretCoordinates. r=roc 2010-03-14 23:52:07 +01:00
Mats Palmgren ac3489add8 Bug 544852, part 0: Remove unused code. r=roc 2010-03-14 23:50:36 +01:00
Robert O'Callahan bf02bb9929 Bug 526394. Part 24: Create sane nsCaret::GetGeometry API to obsolete nsCaret::GetCaretCoordinates. r=mats 2010-01-12 10:45:16 +13:00
Mats Palmgren 032dc23c67 Flag nsCaret::mPendingDraw if the on-cycle draw was suppressed; update the caret when the pres shell tells us that painting is unsuppressed. b=520720 r=roc 2009-10-16 12:55:32 +02:00
Simon Montagu 890194181a Make display of the directional hook on the caret dependent on the bidi.browser.ui pref. Bug 418513, r=uriber, sr=roc (for core) r=mano, gavin.sharp (for browser) 2008-12-14 01:05:39 -08:00
Masayuki Nakano d504a8c50f Bug 449955 – Remove #ifdef of nsCaret.cpp for IME r+sr=roc 2008-08-13 10:55:39 +09:00
John Daniels b006229ae6 Bug 419532 – deCOMtaminate nsICaret. r+sr=roc 2008-07-16 12:52:01 +02:00
Michael Ventnor c6a1fd787c Bug 118308, NS_THEME_TEXTFIELD_CARET implementation (GTK), r+sr=roc 2008-06-23 11:50:52 +03:00
roc+@cs.cmu.edu 9fe63cd0b9 Bug 335359. Make the caret thicker when it's at a Kanji character. r+sr=mrbkap,a=damon 2008-04-22 20:13:55 -07:00
roc+@cs.cmu.edu 6eb1cd4a0c Bug 420987. The caret size should be specified in CSS pixels and it should be rounded like borders --- rounding down to the nearest device pixel, but not down to zero. r+sr=mrbkap,a=schrep 2008-04-14 14:09:23 -07:00
reed@reedloden.com e0e0118cf9 Bug 420499 - "Caret browsing mode wrongly engaged" [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r+sr=roc a=blocking1.9+] 2008-04-01 01:35:11 -07:00
reed@reedloden.com 0ac3599db4 Bug 394473 - "caret/cursor in View Source is invisible since 20070628 {not rendered, seen, can't, cannot, shown, displayed}" [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r=peterv r+sr=roc a1.9=beltzner] 2008-02-26 17:49:46 -08:00
Olli.Pettay@helsinki.fi a0a74f16e7 Bug 368760, r=mats, sr=roc, a=blocking1.9+ 2007-11-22 12:47:33 -08:00
peterv@propagandism.org f7dd41f11e Fix for bug 387380 (No visible caret when caret browsing). r=smaug, sr=jst, a=dbaron. 2007-08-10 06:19:13 -07:00
sharparrow1%yahoo.com 76a64e5c22 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
uriber%gmail.com 8982c70f78 Moved mCaretBidiLevel and its accessors from nsPresShell to nsFrameSelection. Also added sBidiKeyboard as a static service to nsContentUtils. bug=346891 r+sr=roc 2006-08-08 05:14:52 +00:00
mrbkap%gmail.com 695809a291 Update the caret position after reflows to avoid turds. bug 334649, r+sr=roc 2006-04-28 04:33:41 +00:00
roc+%cs.cmu.edu 4667a9b409 Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc 2006-04-26 01:57:22 +00:00
mrbkap%gmail.com 8cde2f4313 Make the caret paint in the same color as the foreground so it's not always painted black. bug 334635, r+sr=roc 2006-04-21 19:13:58 +00:00
mrbkap%gmail.com e27b36efcc Draw the caret in the normal path of frame painting instead of doing it directly to the current view. bug 287813, r+sr=roc 2006-04-17 23:16:46 +00:00
dbaron%dbaron.org 5dcd0b1309 One-line descriptions of files, partly because they show up in LXR. 2006-03-30 05:56:38 +00:00
smontagu%smontagu.org d999b33cff Bug 305798: Bidi: After deleting last character of reverse-direction text, arrow keys move caret incorrectly. Patch by Uri Bernstein <uriber@gmail.com, r=smontagu, sr=roc 2005-11-16 09:37:01 +00:00
aaronleventhal%moonset.net fd97041e21 Bug 193316. Caret not visible in readonly fields (HTML or XUL). r=mrbkap, sr=smfr 2005-10-04 03:14:03 +00:00
mats.palmgren%bredband.net f048b80534 Caret drawn at incorrect position after typing a single LTR character in a blank RTL input field (or vice versa) while caret is visible. b=307533 r=uriber sr=bzbarsky 2005-09-10 11:14:48 +00:00
mats.palmgren%bredband.net b3f31d48d4 Don't use a Frame pointer to remember where we last painted the caret, instead use Content+offset+hint. b=296464 r=mrbkap sr=roc a=cbeard 2005-08-11 03:44:16 +00:00
bryner%brianryner.com f575a675b2 Remove nsIAutoCopy and fold the functionality into nsSelection.cpp (bug 231343). r+sr=roc. 2005-01-31 23:47:26 +00:00
aaronleventhal%moonset.net cd89107e7e Fixing bustage 2004-10-13 02:24:38 +00:00
aaronleventhal%moonset.net ca0cd1c767 Bug 261054. Make caret consistently the same width throughout Gecko/Mozilla. Configurable through ui.caretWidth. r=glazou, sr=rbs 2004-10-13 01:12:14 +00:00
gerv%gerv.net 708b56cff4 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
leon.zhang%sun.com 526c0515e9 Bug 199412: optimize nsTypedSelection::ScrollIntoView r/sr=sfraser 2003-04-20 01:03:40 +00:00
leon.zhang%sun.com c5e44e7d6e Patch for bug 35296:SetCaretEnabled() takes too long
r/sr=sfraser
2003-04-13 08:38:57 +00:00
henry.jia%sun.com a873e7e743 Patch for bug 35296: SetCaretEnabled() takes too long
Patch by Leon.Zhang@sun.com
r=sfraser, sr=kin
2003-04-02 05:48:09 +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
henry.jia%sun.com 1dd5b9dab2 Bug 35296: SetCaretEnabled() takes too long
Patch by Leon.Zhang@sun.com, r/sr=sfraser
2003-02-24 10:26:20 +00:00
aaronl%netscape.com 076b6d3c59 Bug 166791. Invisible insertion point after tabbing to text field when typeaheadfind is active. r=mjudge, sr=alecf 2002-09-26 00:07:53 +00:00
mjudge%netscape.com a07cba5734 4302 r=jfrancis sr=kin. pageup/down bug with navigation. 2002-08-26 20:55:30 +00:00
aaronl%netscape.com fac59ec279 Bug 158754. Allow type ahead find to change selection color, and show caret with selection. r=akkana, sr=jst 2002-08-10 08:15:30 +00:00
blakeross%telocity.com c9b9689e26 Use more efficient command structure, refactor commands, broadcasters and keys, remove unused attributes, do some other optimization (72923). Landing navigator part only; this should help new window opening and some other areas. r=ben sr=hyatt 2001-04-05 19:53:13 +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
brade%netscape.com 635157c89d method rename; r=kin; sr=sfraser 2001-02-05 15:43:10 +00:00
blakeross%telocity.com 7f14eed94b Fix 41077: show caret during selection on Windows. r=rcassin@supernova.org sr=sfraser 2000-12-28 03:27:23 +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
sfraser%netscape.com 323042d90a Fix 51747 -- caret not drawing at the end of a line. Fix offset of clip. r=kin 2000-09-07 20:21:22 +00:00
sfraser%netscape.com 5543105886 Fix bugs 45881 and 46850 -- general caret cruft. Ensure that caret is clipped to the scrolling view, and fix things so that the caret is properly hidden on scrolling. r=beard 2000-09-07 05:26:25 +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
mjudge%netscape.com 85534a4446 added new caret api implementation from new nsicaret api. EraseCaret. erase the caret without messing with visibility. forces a refresh of state to mDrawn=0; r=hyatt, bug = 34896 2000-06-09 04:22:20 +00:00
mjudge%netscape.com 66a4d02495 bug = 34896, r= hyatt. changing caret apis. this will demand that when a caret changes focus a call to setDOMSelection must be called to tell the caret what selection to listen to. 2000-06-01 02:37:40 +00:00
pavlov%netscape.com 803190ad4b changes all usages of NS_NewTimer to CreateInstance 2000-05-17 02:49:35 +00:00
mjudge%netscape.com 55912eddb8 changing way we access caret. use the selection controller whenever possible. because it will make the caret do the right thing even when we have multiple selections accessing same caret. 2000-05-11 04:25:43 +00:00
mjudge%netscape.com 24e9fbcab6 stealing new bit for frames with their own selection. changing caret to be able to handle multiple selected areas. if the bit doesnt work out i will back it out. 2000-05-04 08:35:42 +00:00
mjudge%netscape.com 2c0953e1be ender lite checkin. 2000-04-27 07:37:12 +00:00
mjudge%netscape.com 533234a976 fixing selection speed. only copying to clipboard on mouse up 2000-04-14 23:00:30 +00:00
mjudge%netscape.com 181b0aaa7e touch alot. changing api for notify selection listeners to add document and seleciton pointers to the api. 2000-04-14 11:21:19 +00:00
cmanske%netscape.com 2824049212 Added support for table selection and removed nsIDOMSelectionListener code no longer needed. r=mjudge 2000-03-16 23:45:39 +00:00
mjudge%netscape.com b32999a1de big checkin. fixing problems blocking Cmanske (also a reviewer). Checking in preliminary for gen content.(nothing damaged yet) lots of bug numbers not going to look them up, the tree just opened. 2000-02-10 04:35:51 +00:00
ftang%netscape.com 982fa55c82 partial fix for bug 15533 (size part). 1. change the return value from nsPiont to nsRect. Change widget code to reflect the change. In Gtk, change XIM FontSet based on the rect height. r=cata a=chofmann 1999-12-22 07:56:40 +00:00
dmose%mozilla.org 5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
sfraser%netscape.com fc828f0845 Super duper new caret 1999-09-14 23:41:19 +00:00
sfraser%netscape.com eeb1dfbdf1 Removal of nsCaretProperties 1999-07-14 22:18:29 +00:00
sfraser%netscape.com 00c170c1f2 Implement nsCaret::GetWindowRelativeCoordinates for IME 1999-05-18 22:24:55 +00:00
sfraser%netscape.com d74adaa259 WIP to get caret position in window coordinates for IME 1999-04-27 21:59:18 +00:00
sfraser%netscape.com 1e9a850124 Caret changes to enable the caret to erase itself, and fix a bunch of caret problems. 1999-04-01 23:57:35 +00:00
sfraser%netscape.com 092b04689b Fix the caret so that it draws on Windows (and UNIX, hopefully), and turn on the #define so that the caret gets created in the pres shell. It gets shown in editor mode. 1999-03-02 04:26:49 +00:00
sfraser%netscape.com f250d738cb Part of the great nsCOMPtr carpool. Approved by those in power. 1999-02-17 02:08:01 +00:00
sfraser%netscape.com ac19a57cb6 Added RefreshMethod, and tweaked code for the UNIX no-blinking case. 1999-02-13 04:47:45 +00:00
sfraser%netscape.com 393be748cb First Checked In. 1999-02-11 23:49:08 +00:00