scc%netscape.com
b5432ec86e
making string conversions explicit
...
git-svn-id: svn://10.0.0.236/trunk@66103 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 21:18:29 +00:00
troy%netscape.com
56f855481d
b=35749 Fixed Purify warning
...
git-svn-id: svn://10.0.0.236/trunk@65864 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:55:40 +00:00
troy%netscape.com
1b1acabdc3
b=35312 Made sure we don't mesure in chunks if letter spacing is
...
specified
git-svn-id: svn://10.0.0.236/trunk@65862 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:43:48 +00:00
dveditz%netscape.com
1f18235a56
get VC5 Mozilla build back off the floor, a=granrose
...
git-svn-id: svn://10.0.0.236/trunk@65733 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 22:48:54 +00:00
troy%netscape.com
b6151e0baf
b=35603, r=jinjin@pacbell.net Fix for blocker (crash when selecting
...
text)
git-svn-id: svn://10.0.0.236/trunk@65730 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 22:22:58 +00:00
troy%netscape.com
7f8c86cbc4
Fix for build bustage
...
git-svn-id: svn://10.0.0.236/trunk@65723 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 15:42:55 +00:00
troy%netscape.com
b382c442f3
Added support for measuring text runs in ascii, and changed text transformer
...
to leave the text as ascii if possible
git-svn-id: svn://10.0.0.236/trunk@65721 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 14:54:43 +00:00
ftang%netscape.com
38e332d0be
mjudge at ftangs machine. last fix to stop crashing. still problem with event from external IME window not getting to ESM
...
git-svn-id: svn://10.0.0.236/trunk@65566 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 21:35:52 +00:00
ftang%netscape.com
349c2130a1
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.
...
git-svn-id: svn://10.0.0.236/trunk@65563 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 21:02:25 +00:00
mjudge%netscape.com
5d8cfb2393
a=leaf r=ftang. I will be more carefull with ime when doing selection.. I will be more carefull with ime...
...
git-svn-id: svn://10.0.0.236/trunk@65516 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-08 00:17:14 +00:00
mjudge%netscape.com
4d25156406
a=leaf. r=sfraser. fixing ime lockup. stupid mistake on my part
...
git-svn-id: svn://10.0.0.236/trunk@65502 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 19:32:46 +00:00
troy%netscape.com
06a1e3a6e3
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
git-svn-id: svn://10.0.0.236/trunk@65191 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 14:14:47 +00:00
pierre%netscape.com
c774e17424
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).
...
git-svn-id: svn://10.0.0.236/trunk@65176 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 09:07:41 +00:00
scc%netscape.com
2255fe399e
making string conversions explicit
...
git-svn-id: svn://10.0.0.236/trunk@65030 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 11:39:09 +00:00
mjudge%netscape.com
2fd774249a
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
...
git-svn-id: svn://10.0.0.236/trunk@64921 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 05:05:31 +00:00
cls%seawood.org
47bd6dc3cc
Please use PR_TRUE & PR_FALSE. Not all C++ compilers support the keywords true & false.
...
git-svn-id: svn://10.0.0.236/trunk@64763 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 11:09:28 +00:00
mjudge%netscape.com
d50c11711c
changed alot here having to do with get position. made it much faster for non-slow frames. (slow=char spacing ect) also removed some code to make the ::GetWidth call factored out so I can reuse it. selection now has a DrawSelectionIterator that spits out the next series of chars and their color ect when drawing selection. this allows us to combine many different types of selection. This also means that XOR is not used here any more. we will hook up selection colors to style shortly in the next week.
...
git-svn-id: svn://10.0.0.236/trunk@64723 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:26:07 +00:00
troy%netscape.com
b3c08e51a2
Fix for divide by zero I accidently introduced
...
git-svn-id: svn://10.0.0.236/trunk@64700 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 05:40:35 +00:00
troy%netscape.com
f8ad64e11a
Fix non Win32 compiler bustage
...
git-svn-id: svn://10.0.0.236/trunk@64699 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 05:10:36 +00:00
troy%netscape.com
531ec45b9f
Changed text measurement code to use the new rendering context function
...
that measures chunks or words. Because that function is only implemented
on Win32 the code is #ifdef _WIN32
git-svn-id: svn://10.0.0.236/trunk@64698 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 04:27:43 +00:00
jim_nance%yahoo.com
b1ccfbf2cb
Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
...
days for module owners to comment on. r=troy@netscape.com
git-svn-id: svn://10.0.0.236/trunk@64566 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 03:21:26 +00:00
sfraser%netscape.com
69716a5420
Fixes to nsTextFrame so that every text frame no longer AddRefs the blink timer, and tidyup of blink timer code. r=troy
...
git-svn-id: svn://10.0.0.236/trunk@64076 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 00:49:58 +00:00
troy%netscape.com
2307fb399c
Fixed problem with previous checkin. Made sure "mColumn" is set
...
correctly
git-svn-id: svn://10.0.0.236/trunk@63992 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 05:04:15 +00:00
troy%netscape.com
e694a6731e
No change in functionality. I factored out the loop that measures text into
...
member function MeasureIndividualWords()
git-svn-id: svn://10.0.0.236/trunk@63902 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 22:58:43 +00:00
mjudge%netscape.com
1f90046a7a
this should have NOT used ABS. if negative there is NO ROUNDING ERROR! ;)r=akkana
...
git-svn-id: svn://10.0.0.236/trunk@63684 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:10:37 +00:00
pierre%netscape.com
a1a9778a54
32252 "Small Caps font too small". Changed the ratio for small-caps from 0.7 to 0.8 (same as MacIE5).
...
git-svn-id: svn://10.0.0.236/trunk@63425 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-19 07:47:23 +00:00
pierre%netscape.com
c84deb6d8c
Fix 32199 (visibility:collapse is not being interpreted as hidden on block and inline level elements) and parts of 21701 (misuse of style attr mVisible).
...
In the following files, replacing disp->mVisible with disp->IsVisible() is a BUG FIX: nsBlockFrame, nsBulletFrame, nsHRFrame, nsHTMLContainerFrame, nsImageFrame, nsTextFrame.
In all the other files, replacing disp->mVisible with disp->IsVisible() or disp->IsVisibleOrCollapsed() is merely a SYNTACTICAL CHANGE. The respective owners will later review the use of IsVisibleOrCollapsed() and in some cases replace it with IsVisible(). See bug 21701.
git-svn-id: svn://10.0.0.236/trunk@63284 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 10:15:13 +00:00
troy%netscape.com
e36f8a9042
b=30391 r=troy@netscape.com Patch from rbs@maths.uq.edu.au to add parens when
...
necessary to PR_ABS macro
git-svn-id: svn://10.0.0.236/trunk@62655 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 16:50:52 +00:00
buster%netscape.com
f8a979601a
bug 26840 r=mjudge
...
git-svn-id: svn://10.0.0.236/trunk@60678 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 01:54:20 +00:00
nisheeth%netscape.com
740297e197
r=Troy. We were specifying the incorrect child as a reflow dirty target in some cases.
...
git-svn-id: svn://10.0.0.236/trunk@60460 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 07:11:43 +00:00
mjudge%netscape.com
9d16b27f7a
fix for memory leak bug 24332
...
git-svn-id: svn://10.0.0.236/trunk@60306 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 07:55:34 +00:00
mjudge%netscape.com
41735e6bdd
fix for bug 18528. fixing tabs controls in selection guessing.
...
git-svn-id: svn://10.0.0.236/trunk@60305 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 07:48:17 +00:00
ftang%netscape.com
a128731cb0
r=nhotta, fix 24451. Change the IME hightlight code so
...
it won't draw out the clip boundary. It now draw by different color
instead of different hight.
git-svn-id: svn://10.0.0.236/trunk@59565 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 23:39:25 +00:00
pp%ludusdesign.com
a2927ce43e
Converting ::GetIID() into NS_GET_IID(). Bug #20232 . r=scc, r=mozbot
...
git-svn-id: svn://10.0.0.236/trunk@59537 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:24:56 +00:00
troy%netscape.com
60471abd92
b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
...
child list and changed ReparentFrameView() to check it.
git-svn-id: svn://10.0.0.236/trunk@58373 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 01:16:50 +00:00
michael.lowe%bigfoot.com
6856aa06f0
Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@58358 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-21 21:56:09 +00:00
nisheeth%netscape.com
990dc941ec
r=troy. Changed block, inline, and text frames to call the parent's ReflowDirtyChild() method instead of generating reflow commands.
...
git-svn-id: svn://10.0.0.236/trunk@58221 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 03:58:05 +00:00
rbs%maths.uq.edu.au
9276d563b5
[MATHML] Change of the character coordinate system of the bounding metrics
...
git-svn-id: svn://10.0.0.236/trunk@58000 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 07:34:24 +00:00
mjudge%netscape.com
a21138136b
small changes for 22752 ctrl left and right. r=cmanske
...
git-svn-id: svn://10.0.0.236/trunk@57564 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 21:39:36 +00:00
mjudge%netscape.com
070645421e
bug 15982 r=cmanske. needed more places to add checks for style turning off normal selection.
...
git-svn-id: svn://10.0.0.236/trunk@57411 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 19:44:59 +00:00
mjudge%netscape.com
0502df8149
r= kin. fix for another parameter. fixing m13 bug with multiple selection.
...
git-svn-id: svn://10.0.0.236/trunk@57131 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 00:31:32 +00:00
rbs%maths.uq.edu.au
e163b12e62
[MATHML] Added code to enable Reflow() to return, if requested, the bounding metrics needed for precise MathML placements. This is a WIP approved by Troy.
...
git-svn-id: svn://10.0.0.236/trunk@57105 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 14:33:11 +00:00
sspitzer%netscape.com
d2f6e369ba
initialize some variables, fix a comment, fix a FMM
...
git-svn-id: svn://10.0.0.236/trunk@56321 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 00:41:38 +00:00
rginda%netscape.com
1d5ae86d11
Adding check for null document. Prevents crash described in bug 20677.
...
r=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@55596 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 22:04:52 +00:00
hyatt%netscape.com
7e24c61109
Implementing a generalized recycler and arena for all layout frames. Hoping to improve
...
bug #9489 . Should also definitely fix bug #15916 . r=troy
git-svn-id: svn://10.0.0.236/trunk@55321 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 23:49:50 +00:00
ftang%netscape.com
fd45ea4f85
fix bug 18398. Make sure the startOffset and textWidth get reset in the while loop
...
git-svn-id: svn://10.0.0.236/trunk@54777 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 22:16:12 +00:00
tbogard%aol.net
ae5a81e394
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
...
git-svn-id: svn://10.0.0.236/trunk@54392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:41 +00:00
mjudge%netscape.com
4c7a925272
Fixing mac issue with selection dragging not working when above or below single line text. aka URL. mac has a different preference now. this may be done with look and feel object later. hyatt,cmanske(19191)
...
git-svn-id: svn://10.0.0.236/trunk@54354 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 01:10:22 +00:00
mjudge%netscape.com
43a63010d1
small fixes for BR frames getting correct offset. also one case of textframe not returning proper location (simply a missed change of a regressed call in PeekOffset) nsCaret was also too stringent on the limitation of text frames as the only frames to get the caret position. these were reviewed by a few people and i just dont remember. r=simon,cmanske,akkana and hyatt?
...
git-svn-id: svn://10.0.0.236/trunk@54299 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 20:30:21 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00