Commit Graph
888 Commits
Author SHA1 Message Date
[email protected] 19118e1ca9 bug 167040
CTL: caret does not move to next/prev line on text area
[email protected],sr=scc
(CTL is not part of default build)
2002-09-11 01:52:34 +00:00
[email protected] 46ce738546 166917. Clean up xpcom SDK includes. [email protected], [email protected], [email protected] 2002-09-07 17:13:19 +00:00
[email protected] aa5e4b8b34 Fixes up the timer interface. b157136, [email protected], [email protected], [email protected] 2002-09-07 05:38:16 +00:00
[email protected] e7b961efe8 Overshooting when measuring the text caused things to go out-of-sync and to hang, b=142206, r=shanjian, sr=dbaron, a=asa 2002-09-05 01:58:55 +00:00
[email protected] ced6d6d0d5 #161328 CJK string is not breakable before joined frames
This patch include 3 changes:
 1) check the breaking possibility  in between for 2 connection pieces.
 2) Make word breakable after the second word, priviously it only applies to western.
 3) always call RevertSpacesToNBSP before call line breaker. This is necessary because the
    change in 1.
r=boris zbarsky, sr=rbs
2002-08-23 21:43:42 +00:00
[email protected] e095803f12 Back out my previous change because it cause regression 162670. 2002-08-14 19:18:27 +00:00
[email protected] 6493b28e8e #161328, CJK string is not breakable before joined frames
CJK character is marked as breakable after first word.
For joined piece, check if it is breakable in between.

r=rbs, sr=boris zbarsky
2002-08-13 23:50:42 +00:00
[email protected] 9ee8763c19 Bug 158754 - rest of checkin (correct code formatting this time) 2002-08-10 08:22:52 +00:00
[email protected] 9d3a8c6114 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
[email protected] 8c03ccf4ea GetWidth optimizations for Unix. Bug 36146. Authors [email protected], [email protected]; r=shanjian,smontagu; sr=rbs, darin 2002-08-09 00:13:11 +00:00
[email protected] ff3285badf #159065, comment-only change
r=jkeiser/sicking, sr=bz/jst, a=asa
2002-07-29 23:44:18 +00:00
[email protected] 0fba8bb002 bug 154741 - use macros instead of NS_FRAME_COMPLETE, a=asa, sr=kin, r=alexsavulov. 2002-07-15 14:46:01 +00:00
[email protected] bcbec04527 #152056 Uninitialized memory read in nsTextFrame::GetPosition
relocate a line to prevent i from reaching contentLength.
r=mjudge, sr=dveditz
2002-07-03 03:47:53 +00:00
[email protected] d4e758e8d8 bug 154924 - use NS_FRAME_COMPLETE rather than macro as it was before bug 145305 was checked in. sr=kin 2002-07-03 01:44:51 +00:00
[email protected] 65acc13603 Remove unexpected space inserted between Chinese and Japanese characters as a result of unfolding lines. These scripts don't use space as a word boundary. b=135323 r=shanjian sr=waterson 2002-07-01 20:43:16 +00:00
[email protected] d7ebbb7e37 Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson 2002-06-25 21:16:17 +00:00
[email protected] 3a446147ec 113613 r=blythe sr=kin patch to fix end of line key moving caret outside of the style block. if we see a BR tag when searching for valid selection point keep backing up if possible. 2002-06-13 00:06:49 +00:00
[email protected] 6b42e0c8e9 Do Arabic shaping earlier before measuring the text so that it gets laid out correctly. Bugs 117041, 138097. r=ftang, sr=waterson 2002-06-11 21:00:20 +00:00
[email protected] 9ddb5cd3b5 bug 115473 r=pavlov sr=brendan
Remove timer priorities
2002-06-11 20:47:04 +00:00
[email protected] 7ce5d8ded3 bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov. 2002-05-28 22:50:43 +00:00
[email protected] 8ee8e6e790 #142562 problem with <td align=right or align=center
We are observing langGroup in some place while ignor it in others. This patch
make all font metrics call consistent. nsIRenderingContext API is change to
make things neat.
r=rbs, sr=waterson
2002-05-24 20:11:14 +00:00
[email protected] 78ccba6821 Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. [email protected], [email protected] 2002-05-23 00:00:34 +00:00
[email protected] c1862b3bb4 Added yet another defense to make Mozilla really robust when font resources run out, the patch makes font metrics to be fail safe or at least very hard to break -- to the point that failure means that the system is barely working (testing showed that Mozilla stayed alive while other applications were dying). Per request of super-reviewer & driver, also removed wallpaper null-checks sprinkled in the past for the problem. b=136248, r=shanjian, sr=attinasi 2002-05-02 22:24:59 +00:00
[email protected] fb1caee715 Make selecting parts of a line in align:justify work right on
Mac/Linux.  Bug 58704, r=akkana, sr=kin
2002-04-29 22:03:41 +00:00
[email protected] 372dee098c Use binary search from nsTextFrame to find the length of the header/footer strings
Bug 139384  r=dcone sr=attinasi
2002-04-26 11:30:33 +00:00
[email protected] 62adeef31b Bug 128855. Be sure to grow |spacing| array in the case of small caps. Patch provided by Andrew Schultz <[email protected]>, r=attinasi, sr=waterson, a=asa. 2002-04-07 17:37:30 +00:00
[email protected] f341647e39 Bug 129560 - Selection doesn't display on stretchy MathML characters. This is the part of the patch that makes text frames retain an appropriate width during selection (to avoid the caret to undershot when crossing stretchy characters), r=dbaron, sr=attinasi, a=asa 2002-04-04 02:15:57 +00:00
[email protected] 98617fee48 #128394 Cursor position widely off from actual text when selection is made.
Taking langGroup into consideration when selecting font for text selection, it
should be consistent with the way of rendering text.

r=rbs, sr=attinasi, a=asa, adt
2002-04-03 23:26:58 +00:00
[email protected] 1bf7c5e5f2 fix bug 130441 and 122584
support surrogate in text-align: jutify , selection and cusor movement
r=shanjian/smontagu sr=kin a=asa
2002-03-27 03:28:34 +00:00
[email protected] 9595cbfcad Speed up text measurement inside <pre> (major win for view source). Bug
98118, r=shanjian, sr=roc+moz, a=asa
2002-03-05 23:23:09 +00:00
[email protected] 5a63ba5b43 Safety checks, in case the normalFont cannot be realized (due to system font exhaustion). b=117736 r=rbs sr=shaver a=asa 2002-02-26 00:13:49 +00:00
[email protected] 0b18ff0721 Converting bidi utilities to non-XPCOM interfaces. Bug 120818; r=mkaply, nhotta; sr=attinasi 2002-02-19 20:41:32 +00:00
[email protected] fab462f84d Initialize variables - regression/left-over from bug 96870 that caused me to spent cycles chasing a non-existent bug elsewhere, carrying forward r=rods, sr=attinasi 2002-02-19 07:30:58 +00:00
[email protected] 9938bc4eee b=96870 r=rods sr=attinasi Fixed printing so backgrounds can be turned on and off. 2002-02-15 14:48:12 +00:00
[email protected] ae3cdd2c1e Bug 125601�ABS()-->PR_ABS() && PR_ABS()-cleanup
patch by [email protected] r=timeless sr=sfraser
2002-02-15 01:01:06 +00:00
[email protected] 5139dae37b eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan 2002-02-05 01:41:13 +00:00
[email protected] bff663ff77 remove memcpy function from nsCRT, eliminate 2 new nsCRT::memcpy callers
and fix up alighment problems from previous patch, bug 118135, sr=brenda r=dp
2002-01-26 00:04:45 +00:00
[email protected] 74f7d6a45d Fixing bug 120899. Changing the NS_WARN_IF_FALSE() macro so that it can't be mis-used in optimized builds. This change makes the macro not usable in expressions that are supposed to be evaluated in release code since the macro now expands to nothing in non-debug builds. Also eliminate NS_VALIDATE which is equally mis-usable. [email protected], [email protected] 2002-01-24 09:20:51 +00:00
[email protected] 58647d21d0 89503 "font-size:0 ignored". When the font size is 0, set the x-height, ascent and descent to 0 in the TextReflowData. r=rbs/sr=attinasi 2002-01-14 13:21:55 +00:00
[email protected] 73e0bc3ed7 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
[email protected] 7b21915f33 Bug 84380 Need a component that generates thai presentation forms
patch by [email protected] r=cls, r=pradhat, sr=attinasi
2002-01-10 02:32:43 +00:00
[email protected] 1d12d8ad8f #110243 trailing whitespaece removed twice
r=rbs sr=attinasi
2001-12-20 02:25:55 +00:00
[email protected] 43e0fb6684 OS/2 bustage 2001-12-18 06:15:46 +00:00
[email protected] fe566cee71 bs=7868 r=saari Adding in new api to bake on trunk before going to branch. this adds nsISelectionDisplay to nsISelectionController. SetDisplayFlags are how we now set if you want images selected or not 2001-12-18 01:29:49 +00:00
[email protected] 0467433db5 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
[email protected] a8fee1cf01 #114826
r=mkaply, a=asa for drivers
OS/2 only - back out OS/2 specific fix to fix regression
I'm checking this in now so I can make our automatic daily build on OS/2
2001-12-12 23:14:55 +00:00
[email protected] 3c367a5d13 bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov 2001-12-07 14:51:12 +00:00
[email protected] 3d143ed804 Null checks for non-reproducable crash: b=108105 ... 2001-12-07 00:03:48 +00:00
[email protected] 1f0dc89776 #107905
r=mkaply, sr=attinasi
OS/2 only - don't shortcut font computations for fixed with fonts
2001-11-30 22:47:57 +00:00
[email protected] 23e8c87dfd Fix for bug 111264: nsTextFrame::SetSelected() calls Invalidate() with empty rect.
Prevent SetSelected() from generating invalidate warnings by
preventing calls to Invalidate with an empty rect.

[email protected]  [email protected]
2001-11-29 22:54:15 +00:00