114 Commits

Author SHA1 Message Date
uriber%gmail.com
3db5a70f41 Do away with geometry in nsFrameList::GetPrev[Next]VisualFor() and nsLineIterator::CheckLineOrder(). Instead use new helper methods in nsBidiPresUtils for determining visual order of the top level of frames in a line. bug=303884 r=smontagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@192220 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-12 09:49:48 +00:00
uriber%gmail.com
776e2d47ef Reparent views when splitting inline ancestors. bug=329762 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@191981 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-08 18:12:07 +00:00
uriber%gmail.com
725bb30f45 Change RemoveBidiContinuation() to convert bidi continuations into in-flows instead of actually remove them, in attempt to impreove performance. bug=319930 r=smontagu sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@191966 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-08 09:02:42 +00:00
uriber%gmail.com
9abc8fa432 Bug 299065: Bidi resolution needs to split inlines in addition to text frames. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@190744 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 21:33:47 +00:00
bmlk%gmx.de
96b4e23583 don't allocate nsDirectionalFrame on heap, bug 315321 patch by Marc Liddell r=roc sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@185646 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-03 15:44:43 +00:00
roc+%cs.cmu.edu
c4e0410c6e Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
git-svn-id: svn://10.0.0.236/trunk@184129 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 02:38:33 +00:00
smontagu%smontagu.org
78b654a4ba Move the workaround for Windows displaying right-to-left presentation forms as left-to-right into Windows-specific code. Bug 204272, r+sr=rbs, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@175045 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-23 08:03:24 +00:00
bzbarsky%mit.edu
2bea98552c Remove prescontext args for some nsIFrame methods
(Append/Insert/Remove/ReplaceFrames) and for some methods in table land.  Patch
by Vidar Braut Haarr <bugmail@q1n.org>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@168894 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 01:58:25 +00:00
smontagu%smontagu.org
a3c18ef60c Right-to-left text is sometimes reversed when changing text size. Bug 248447, patch by Lina Kemmel <lkemmel@il.ibm.com>, r=me, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@168299 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 13:37:28 +00:00
bugzilla%arlen.demon.co.uk
fecf3858a6 Bug 162081 Wrong letter is underlined as accesskey / mnemonic when widget direction is RTL
p=mozilla-bugzilla@future.shiny.co.il r/sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@164598 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-29 12:28:19 +00:00
roc+%cs.cmu.edu
ab88d1e1ac Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
git-svn-id: svn://10.0.0.236/trunk@162269 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 02:28:03 +00:00
bryner%brianryner.com
ff2bc0b69e Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@161182 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-24 18:50:29 +00:00
bryner%brianryner.com
2ac3245dec Backing out 253888 again due to Tp regression plus another problem I noticed (frame properties not getting destroyed on frame destruction)
git-svn-id: svn://10.0.0.236/trunk@161116 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-22 07:10:50 +00:00
bryner%brianryner.com
0501b2872a Second try at landing support for content node properties (bug 253888). r=jst, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@161115 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-22 04:58:44 +00:00
bryner%brianryner.com
03c6a8279c Backing out bug 253888 until I can figure out how to fix the crash
git-svn-id: svn://10.0.0.236/trunk@161097 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-21 06:27:54 +00:00
bryner%brianryner.com
e49f4fa38e Refactor the frame property code and use it for supporting properties on dom elements. Bug 253888, r=jst, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@161096 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-21 05:09:50 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
bryner%brianryner.com
b17b3249f7 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@160067 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 19:41:39 +00:00
smontagu%smontagu.org
b680f38310 Display subruns in a right-to-left text run in the correct order in XUL text. Bug 248029, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@158839 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-07 06:49:10 +00:00
smontagu%smontagu.org
d1a1c12261 DeCOMtaminate nsIFrame Set/GetProperty and merge Set/GetBidiProperty with it. Bug 117751, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@157214 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-01 06:20:16 +00:00
smontagu%smontagu.org
f91e2604fc Update bidi data tables to Unicode 4.0.1 and add surrogate handling. Bug 240943, r=jshin, sr=rbs.
git-svn-id: svn://10.0.0.236/trunk@156524 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-18 11:01:49 +00:00
jst%mozilla.jstenback.com
b91a41077c Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@156106 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-07 20:55:17 +00:00
gerv%gerv.net
2ac510b678 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
darin%meer.net
af98e4f306 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@153357 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-28 22:34:07 +00:00
bryner%brianryner.com
d956db112f Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153111 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-23 21:29:06 +00:00
bryner%brianryner.com
3191a1feaa Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153018 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 17:49:01 +00:00
roc+%cs.cmu.edu
35c266025d Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@151077 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 14:20:53 +00:00
bryner%brianryner.com
b5347dd60c Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@150598 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-21 05:36:36 +00:00
uid502
e56ed2443c Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@148665 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-31 20:19:18 +00:00
smontagu%netscape.com
bc91960dc6 Use a hashtable instead of searching an array, to make RemoveBidiContinuation() not be O(n^2). Bug 212827, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@145159 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 18:33:50 +00:00
roc+%cs.cmu.edu
2b6198e9be Ongoing deCOMtamination. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144375 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-02 10:30:00 +00:00
dbaron%dbaron.org
69da9d4a19 Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:42:21 +00:00
smontagu%netscape.com
b6e3d92246 Don't do numeric substitution in Arabic text by default. Bug 181711, r+sr=rbs, a=asa.
git-svn-id: svn://10.0.0.236/trunk@142219 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-08 18:38:19 +00:00
peterv%netscape.com
c96c6fa64f Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@138957 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 15:08:41 +00:00
smontagu%netscape.com
1a3bb57385 Remove nsITextFrame. Bug 188618, r/sr=roc+moz.
git-svn-id: svn://10.0.0.236/trunk@138398 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-25 00:44:04 +00:00
timeless%mozdev.org
5ad8e7ac41 Bug 126484 Occurences of uninitialized variables being used before being set (in Bidi files)
patch by mozilla-bugs@nogin.org r=smontagu sr=bz


git-svn-id: svn://10.0.0.236/trunk@138289 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 11:10:28 +00:00
bryner%netscape.com
c44337949a Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
smontagu%netscape.com
7468b73fb4 Extend Bidi processing to elements with position: relative. Bug 168455, r=dbaron, sr=kin
git-svn-id: svn://10.0.0.236/trunk@129827 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-17 22:08:51 +00:00
smontagu%netscape.com
b1d789fcb1 Fix regression with form controls on visual bidi pages. Bug 142233, r=jkeiser, sr=kin
git-svn-id: svn://10.0.0.236/trunk@124915 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-10 00:52:17 +00:00
smontagu%netscape.com
cc4e2832ab Do Arabic shaping earlier before measuring the text so that it gets laid out correctly. Bugs 117041, 138097. r=ftang, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@123073 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 21:00:20 +00:00
smontagu%netscape.com
8e6b566ead Fix for memory leak. Bug 145153, r=mkaply, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@122097 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 22:03:19 +00:00
smontagu%netscape.com
1842f89e61 ArabicShaping() shouldn't assume that the input and output is in visual order. Bug 137871. r=ftang, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@119653 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 00:26:49 +00:00
smontagu%netscape.com
7376d9fd95 Correct handling of zero-width joiners and non-joiners. Bug 110497. r=ftang, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@119648 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 23:50:17 +00:00
smontagu%netscape.com
c0b0bc0ee7 Move HandleNumbers() from nsBidiPresUtils to nsBidiUtils. Bug 137857. r=ftang, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@119644 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 23:29:18 +00:00
smontagu%netscape.com
5aa7fbae23 Prevent crash caused by trigger-happy deletion of frames during Bidi resolution. Bug 95228, r=lkemmel@il.ibm.com, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@119567 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 22:55:19 +00:00
smontagu%netscape.com
d0afe74092 Converting bidi utilities to non-XPCOM interfaces. Bug 120818; r=mkaply, nhotta; sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114942 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 20:41:32 +00:00
smontagu%netscape.com
ae087f9b4c Fix for freeze in JS console. bug 123380. r=mkaply, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@113975 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:53:59 +00:00
cathleen%netscape.com
dd8ebc5bd1 eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113183 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 02:55:57 +00:00
cathleen%netscape.com
ea31156ed0 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
git-svn-id: svn://10.0.0.236/trunk@112013 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 03:18:55 +00:00
mkaply%us.ibm.com
b6110d2c3c #36163
r=mkaply, r/sr=attinasi
Don't show Bidi control characters in the browser


git-svn-id: svn://10.0.0.236/trunk@108059 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 14:21:52 +00:00