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

378 Коммитов

Автор SHA1 Сообщение Дата
simon%softel.co.il cdb026e920 Fix for bug 75034: Selection highlight on some Bidi pages was displayed in the opposite position to the actual selection. r=kin@netscape.com, sr=attinasi 2001-10-24 11:12:31 +00:00
pinkerton%netscape.com 4d06bf2721 adding a couple of prefs to make word selection better on mac. doesn't eat whitespace to next word and stops at punctuation. r=mjudge/sr=sfraser. bug# 98546 2001-10-19 14:10:22 +00:00
dbaron%fas.harvard.edu 34fc404be7 Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc 2001-10-16 03:53:44 +00:00
bernd.mielke%snafu.de 2c3c5c1767 bug 103443 replace the return rv?rv:NS_ERROR_FAILURE; with a more correct version
r=dbaron sr=attinasi
2001-10-13 09:27:46 +00:00
dbaron%fas.harvard.edu cd77d3b7fb Fix 'text-decoration: blink' and the blink element. Patch from Chase Tingley <tingley@sundell.net>. r=dbaron sr=hyatt b=89065 2001-10-11 00:15:09 +00:00
mkaply%us.ibm.com 4d73c071ec #81664
r=simon@softel.co.il, sr=attinasi for nsTextFrame, sr=blizzard for nsBidiPresUtils
Cleanup of bidi reordering code
2001-10-01 03:43:42 +00:00
waterson%netscape.com b9d88180d2 Bug 58384, 86279. Be sure to trim letter spacing as well as word spacing in TrimTrailingWhiteSpace(). Also, explicitly add letter spacing where appropriate, instead of including it in word spacing. r=shanjian, sr=attinasi. 2001-09-28 22:39:10 +00:00
gerv%gerv.net f385eb981a Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
rbs%maths.uq.edu.au 0c4973fd22 bug 99010 - font changes. r=attinasi@netscape.com, sr=waterson@netscape.com 2001-09-27 18:34:30 +00:00
karnaze%netscape.com a77cb3b548 bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov. 2001-09-19 12:35:19 +00:00
dbaron%fas.harvard.edu 716f9f4695 Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797 2001-08-21 01:48:11 +00:00
jgaunt%netscape.com 00f903a8da fix for bug 94768
r=smfr,leaf
sr=hyatt
2001-08-17 03:13:07 +00:00
dbaron%fas.harvard.edu ebdab2c90b Clean up if-else cascade by condensing into one big logical expression. Based on patch by Ulrich Drepper <drepper@cygnus.com>. r=jag sr=waterson b=89791 2001-08-01 03:09:59 +00:00
dbaron%fas.harvard.edu bf82abfd11 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
shanjian%netscape.com ec73120e14 #77394 incorrect handling of empty text nodes
r=waterson, sr=attinasi
2001-07-09 20:47:58 +00:00
jaggernaut%netscape.com 03ab87e4a1 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
dcone%netscape.com 4f971a4ec3 bug=24406. Fix printing of blank text fields.. selection criteria was wrong. r=r=kmcclusk@netscape.com sr=attinasi 2001-06-29 05:32:56 +00:00
ftang%netscape.com 9b37060aaa fix bug 84031. r=simon@softel.co.il sr=kin a=blizzard
fix GetBidiProperty
2001-06-21 12:35:48 +00:00
mjudge%netscape.com fe3aafe2a4 82993,52868,79511,82101 a=asa sr=kin. bugs that cross files. stopped generated content entrys into frames with caret and mouse navigation. and table cell navigation. 2001-06-20 04:48:10 +00:00
loadrunner%betak.net 548abc84f0 bug 85487, M091 crash at line breaker [@ nsJISx4501LineBreaker::Next],
r=ftang, sr=waterson, a=asa
2001-06-19 22:57:50 +00:00
yokoyama%netscape.com 40ab60c51b bug 72415:
allocate more word buffer in case of failure of ComputeWordFragmentWidth()
check in for shanjian@netscape.com
r=waterson, sr=attinasi a=blizzard
2001-06-13 21:48:43 +00:00
shanjian%netscape.com 8245c4c8bf #19265 [TEXT] Word-wrap improperly breaks before space following last word [INLINE]
r = waterson
r/sr=attinasi a=asa
2001-06-05 02:40:27 +00:00
hyatt%netscape.com 2bf7260d28 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
kin%netscape.com fa1cd7d600 Fix for bug #82566 (hang in nsTextFrame::GetPosition in BIDI code)
Fix for bug #81078 (UMR: nsTextFrame::GetPosition() when selecting text.)
Subtract mContentOffset from the index returned by the ip[] array, and
make sure this index is <= textLength.
r=mjudge  sr=sfraser  a=blizzard@mozilla.org
2001-05-25 13:20:38 +00:00
waterson%netscape.com f8746b7ba7 Bug 73291. Handle case where paint arrives before reflow for modified content. r=karnaze, sr=attinasi, a=asa 2001-05-24 18:40:45 +00:00
mkaply%us.ibm.com cb69c77296 #81078
r=simon@softel.co.il, sr=sfraser, a=blizzard
Fix UMR and bounds checking
2001-05-23 22:05:30 +00:00
ftang%netscape.com d2db8e0ed2 temp fix 75026 r/sr=sfraser. add stop-bleeding code for bidi code to reduce crash
Buy more time for simon@softel.co.il to produce the real fix.
2001-05-21 22:38:26 +00:00
evaughan%netscape.com 453d1d1d71 Fix for bug #80902
-r jeff@tcbnetworks.com -sr waterson

Fix for bug #80505

-r aaronl, jgaunt -sr brendan
2001-05-17 23:52:32 +00:00
ftang%netscape.com 36ab05611e fix bug 80552 r=ftang r/sr=jst
check in for simon@softel.co.il
change BidiEnable to GetBidiEnable
2001-05-16 13:40:08 +00:00
ftang%netscape.com 3fc561d8e2 fix UMR in GetPosition for bug 81078
check in for simon@softel.co.il
r/sr=kin@netscape.com, ftang@netscape.com
check array boundary before accessing the content array
2001-05-16 13:36:36 +00:00
ftang%netscape.com d897428761 fix bug 80793.
check bidi frame before we call next sibling
check in for simon@softel.co.il
r/sr=kin
2001-05-16 13:17:40 +00:00
ftang%netscape.com fa9a6ddaaa fix bug 80166. check in for simon@softe.co.il
r=ftang sr=blizzard
2001-05-15 12:07:30 +00:00
evaughan%netscape.com a8792fc3db Landing accessibility
-r aarol, jgaunt

-sr brendan
2001-05-11 21:11:38 +00:00
mjudge%netscape.com 126c85114b 62971 sr= hyatt r=kin/waterson fix for changing how we find the line given an event point
this will now do a binary search muuuch faster worst case than before
2001-05-11 08:04:29 +00:00
dcone%netscape.com 352fe42dcd bug 79477 r=kmmclusk sr=attinasi 2001-05-10 14:19:58 +00:00
pierre%netscape.com 4da58efd40 30971 cursor: auto does not work. r=attinasi 2001-05-02 11:03:03 +00:00
evaughan%netscape.com 0211de1fe7 Accessibility work. bug #12952
-r aaronl -sr brendan
2001-04-17 23:06:38 +00:00
erik%netscape.com 860634c7ac bug 74946; author=simon@softel.co.il; r=erik; sr=attinasi; diffs from IBM
bidi project (e.g. Arabic, Hebrew)
2001-04-11 23:32:21 +00:00
evaughan%netscape.com 2d2a0054e2 XP part of accessibility landing
-r vidur, rods -sr hyatt
2001-04-01 01:01:33 +00:00
mjudge%netscape.com 6880aec2e1 66793 r= cmanske sr = attinasi 2001-03-27 23:02:21 +00:00
kmcclusk%netscape.com 780320e154 Added 1 pixel to the invalidate rect to compensate for twips to pixel rounding error. bug=63951; sr=karnaze@netscape.com; r=attinasi@netscape.com 2001-03-23 14:36:28 +00:00
shanjian%netscape.com c2285de199 #36863 CSS: small-caps/uppercase: � should become SS
r = erik, sr = erik
2001-03-22 01:27:13 +00:00
rods%netscape.com fe6f8fcf66 Display frame reflow counts (turned via config file define)
Bug 71514 r=kmclusk sr=attinasi
2001-03-13 01:47:22 +00:00
buster%netscape.com f169aa57f5 bug 47549 (Floaters cause entire page to redraw as content is appended (block paint perf))
r=kmcclusk@netscape.com
sr=waterson@netscape.com
2001-02-12 07:06:49 +00:00
rods%netscape.com 9c6f7ccade This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson
2001-01-27 14:09:34 +00:00
rods%netscape.com c81b2c3b26 removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
mkaply%us.ibm.com e99a242b69 #50998
r=rods, a/sr=buster
OS/2 has support for GetAveCharWidth so enable it
2001-01-02 23:26:25 +00:00
dbaron%fas.harvard.edu 2eea32ae2b Fix incorrect usage of nsCOMPtr where nsCOMPtr::operator& was used instead of getter_AddRefs. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com 2000-12-09 04:21:51 +00:00
warren%netscape.com 4189314fdb Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com 6e35f97e31 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
buster%netscape.com a01385386a bug 56704 (Crash selecting text)
r=erik
a=waterson
2000-10-27 14:16:36 +00:00
pierre%netscape.com d34fb4c7fe bug 1046: letter-spacing should apply on space characters too. r=erik+buster, a=michaell. 2000-10-09 08:39:29 +00:00
erik%netscape.com e71fae1997 bug 4238; r/a=ftang,buster,waterson; added language specific transforms so
that we can do things like U+005C -> U+00A5 (backslash -> yen sign for ja)
2000-09-20 23:00:32 +00:00
mjudge%netscape.com a2fa9edcb5 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
rayw%netscape.com 6cc70ebd6c Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
anthonyd%netscape.com 52f1883f5b fix for bug 48624 (hidden selection issues with plain text widgets)
fix for bug 45662 (updating range impl to dom spec)
fix for some edge case selection issues invloving multiple windows, no bug #
but saari knows about this.
r: sfraser, jfrancis, mjudge, saari
a: beppe
2000-08-24 03:54:30 +00:00
kin%netscape.com d2fe1d3643 Partial fix for bug #45152: Typed text does not render in TextAreas with a horizontal scrollbar
Made Reflow() invalidate the correct region during an incremental or dirty reflow.
r=waterson@netscape.com
2000-08-16 23:12:19 +00:00
attinasi%netscape.com d68febe351 Text with 'whitespace:nowrap' no longer uses special Win32-only text measurement code becasue it didn't work. b=42832 r=waterson 2000-08-10 23:03:11 +00:00
mjudge%netscape.com 35e3f5dd84 29570 37393 42794 mac os fix for selecting out of frame bounds. 2000-08-09 22:33:03 +00:00
sfraser%netscape.com a19bcfbde3 Fix for bug 25161 -- allow editor to handle pages with forms by implementing user-select and user-input for form controls. r=rods, pierre, mjudge. 2000-08-08 23:38:00 +00:00
pierre%netscape.com 56a71da7fa 42864 ('user-select:none' should make children non-selectable) 2000-08-05 04:41:33 +00:00
shanjian%netscape.com ac57fa14ec #14588 Ctrl+right arrow skips over nbsp (nbsp should be word break)
r = ftang a=ftang
changes made in word break and word jump.
2000-08-03 23:03:08 +00:00
anthonyd%netscape.com 1915b0505d nsPresContext.cpp : added to comment to presContext::GetLookAndFeel to inform others that
that method has been depricated.
nsTextFrame.cpp : changed an assert to a warning, didnt need to be an assert.
r: mjudge@netscape.com
2000-08-03 22:30:47 +00:00
waterson%netscape.com b4bb4efade Bug 46693. Check to see if we CanContinueTextRun() while walking over the frames to FindNextText(). This revives the logic that I nuked when fixing 19051, and keeps you from trying to walk over <br> or other frames to erroneously continue a text run. r=akkana. 2000-07-28 22:29:28 +00:00
waterson%netscape.com 7acb9494c4 Bug 19051. Remove code that computed and maintained nsTextRun. Instead, compute 'next text' when required by crawling the frame tree in nsLineLayout::FindNextText(). r=roc+moz@cs.cmu.edu 2000-07-27 05:16:08 +00:00
mjudge%netscape.com a2d557d597 46209 one of the last beta 2 blockers. adding ability to frames to tell if part of them is visible. idl change to allow nsISelectionController to give CheckVisibility. PresShell actually has the code for nsGfxTextControlFrame to call. 2000-07-26 11:31:12 +00:00
shanjian%netscape.com a73dc1c256 #42422
Fix the crash, contentLen should not be extended futher than the
text fragment's length.
2000-07-10 22:32:54 +00:00
mjudge%netscape.com 4870a516ec bug = 34896. Fixing ender lite startup problem with caret. checking for inOffset<0. we checked for >mContentLength but not <0. r=churchil. 2000-06-01 01:00:15 +00:00
pavlov%netscape.com 0c75802384 changes all usages of NS_NewTimer to CreateInstance 2000-05-17 02:49:35 +00:00
akkana%netscape.com 69f29f5564 Partial work on 16311, 32807, 16352: code reorganization/cleanup of word/line/paragraph selection. 2000-05-16 22:48:28 +00:00
shanjian%netscape.com e9bc9c14bb #7601
r = ftang
Fixed non-ascii forward wordjump problem.
2000-05-16 19:51:09 +00:00
mjudge%netscape.com 8318464852 fixing warnings and some redundant code 2000-05-13 20:47:42 +00:00
mjudge%netscape.com 9aeb1a54f5 changing use of nsXIFConverter to nsIXifConverter 2000-05-13 08:10:25 +00:00
mjudge%netscape.com a89f9e3c80 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
attinasi%netscape.com c5e69880a6 Tiny fix to avoid divide-by-zero when the AveCharWidth is 0. b=37577 r=dcone 2000-05-09 21:20:38 +00:00
mjudge%netscape.com 9a80281cc8 adjusting how we get nsIFrameSelection. maybe we can QI from SelectionController 2000-05-08 03:59:53 +00:00
erik%netscape.com 87183532c2 bug 26237; added support for HTML LANG attribute -- it now uses the fonts
specified by the user for elements with the LANG attribute when the font
is a CSS generic (e.g. serif); r=pierre
2000-05-05 21:04:36 +00:00
anthonyd%netscape.com 9ef9e4b400 r: mjudge
table bacgrounds now sleected properly with disabled selection
(grey selection)
2000-04-30 18:56:26 +00:00
mjudge%netscape.com 6e453761da change to move selection interfaces to nsISelectionController and away from nsIPresShell or nsIDocument 2000-04-28 06:21:31 +00:00
mjudge%netscape.com 48f046e6b3 ender lite checkin. 2000-04-27 07:37:12 +00:00
anthonyd%netscape.com 385e322eb2 r: mjudge
bug fix for 34397, broken IME selection
2000-04-26 03:54:21 +00:00
anthonyd%netscape.com 4e1530698a r=mjudge. Removing redundant call to SetColor for ::RenderString. all places have allready set the color before calling this method. this removal should be a no-op. Selection color now should look correct 2000-04-21 21:38:08 +00:00
rods%netscape.com 9d45d84767 Add ifdef'ed Performance Reflow Counting code 2000-04-21 14:59:47 +00:00
anthonyd%netscape.com 05840e5f32 drawing selection as tri-state. on-off-disabled. hardcoded disable color to grey right now. r=mjudge 2000-04-20 23:11:41 +00:00
buster%netscape.com 2fd6bc2c33 bug 588 (text justification) for Robert O'Callahan <roc+moz@cs.cmu.edu>
r=buster

bug 18545 ([FLOAT] Problem Centering <TABLE> with <DIV> tag)
r=troy

bugs 18827, 19579, 22327 24782, 26512, 30124, 31849, 32846 (floater behavior wrong)
The primary change here is to determine if a block is impacted by a floater, and if so
mark the block's lines dirty when appropriate.
r=troy

no bug number.  performance work.  reduced the size of some reflow data structures by
collapsing multiple fields into a single bit field.
r=troy
2000-04-17 14:40:46 +00:00
scc%netscape.com c38395df69 making string conversions explicit 2000-04-15 21:18:29 +00:00
troy%netscape.com d479cc7944 b=35749 Fixed Purify warning 2000-04-13 20:55:40 +00:00
troy%netscape.com d2b46f5318 b=35312 Made sure we don't mesure in chunks if letter spacing is
specified
2000-04-13 20:43:48 +00:00
dveditz%netscape.com d35fe7956c get VC5 Mozilla build back off the floor, a=granrose 2000-04-12 22:48:54 +00:00
troy%netscape.com d0d788c9a7 b=35603, r=jinjin@pacbell.net Fix for blocker (crash when selecting
text)
2000-04-12 22:22:58 +00:00
troy%netscape.com e2f7012f8d Fix for build bustage 2000-04-12 15:42:55 +00:00
troy%netscape.com 92f939d9c5 Added support for measuring text runs in ascii, and changed text transformer
to leave the text as ascii if possible
2000-04-12 14:54:43 +00:00
ftang%netscape.com 6b5c4a72b4 mjudge at ftangs machine. last fix to stop crashing. still problem with event from external IME window not getting to ESM 2000-04-10 21:35:52 +00:00
ftang%netscape.com 9c687cb413 mjudge checkin in from ftangs machine. fixing japanese lockup. this will not fix the strange loss of the commit event to the ESM however. that was making thisproblem obvious. 2000-04-10 21:02:25 +00:00
mjudge%netscape.com e6906ce661 a=leaf r=ftang. I will be more carefull with ime when doing selection.. I will be more carefull with ime... 2000-04-08 00:17:14 +00:00
mjudge%netscape.com ef48f556c8 a=leaf. r=sfraser. fixing ime lockup. stupid mistake on my part 2000-04-07 19:32:46 +00:00
troy%netscape.com a65319e532 Eliminated buffering that the text frame was doing when measuring
text in runs and changed the text transformer code to do the buffering
instead. It was already copying the transformed text into its internal
buffer anyway, so this saves the extra copy
2000-04-04 14:14:47 +00:00
pierre%netscape.com b13a185a85 Use the system colors to paint the text selection (and added NS_DONT_CHANGE_COLOR to support the Mac selection scheme where colored text keeps its colors when selected). 2000-04-04 09:07:41 +00:00
scc%netscape.com 953490ff20 making string conversions explicit 2000-04-03 11:39:09 +00:00
mjudge%netscape.com 4f1817faa3 selecting generated content works now. subtree iterator and all. incredible... added new private method to nsTextFrame to factor out some things on getting correct offsets from generated frames. its a no-op almost for non generated frames 2000-04-02 05:05:31 +00:00