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

130 Коммитов

Автор SHA1 Сообщение Дата
cvshook%sicking.cc 3a9a287253 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst 2006-07-19 04:36:36 +00:00
roc+%cs.cmu.edu 1621ac24bd Bug 237085. Move string subdivision code to gfx so we can efficiently make it metrics-dependent. r=smontagu,sr=rbs 2006-06-26 22:18:23 +00:00
dveditz%cruzio.com 506140bd0c Bug 284219: add EnsureStringLength() helper function to nsReadableUtils.h to
simplify OOM checks when growing an nsAString. r/sr=darin
2006-06-22 19:07:30 +00:00
uriber%gmail.com ab53025882 Bug 328168: Horizontal paddings, borders and margins on multi-frame bidi inlines appear in the wrong places. Patch by Haamed Gheibi <gheibi@gmail.com>. r=roc+uriber, sr=roc. 2006-06-15 08:16:23 +00:00
roc+%cs.cmu.edu dffcabfea0 Bug 338251. Create safe wrappers for gfx text functions and use them. r=smontagu,sr=rbs 2006-06-09 03:29:32 +00:00
uriber%gmail.com 6e1f1e3dfc Allow searching a line for a frame starting from a given point, to improve performance of forward-moving searches. Used in bidi resolution. bug=339935, r+sr=roc 2006-06-08 08:41:51 +00:00
uriber%gmail.com 587b8172c5 Bug 339699: Reduce number of calls to nsLineBox::Contains from nsBidiPresUtils::Resolve. r+sr=bzbarsky 2006-05-31 10:21:34 +00:00
uriber%gmail.com e44c4e92b0 Set NS_FRAME_IS_BIDI on skipped fluid continuations. bug=333433 r=smontagu sr=bzbarsky 2006-04-10 17:05:01 +00:00
roc+%cs.cmu.edu a7f03736a9 Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc 2006-04-10 00:16:29 +00:00
roc+%cs.cmu.edu 0a10a79f62 Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc 2006-03-26 21:30:36 +00:00
uriber%gmail.com 7d6d83cbd0 Mark lines for which bidi continuations were created or removed dirty, instead of marking everything dirty when continuations removed. bug=330373 r=roc sr=bzbarsky 2006-03-15 20:52:02 +00:00
pavlov%pavlov.net 131e8794e2 backing out roc's patch for bug 328926 due to crash running tests on vc8 machines. 2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu 557b089a47 Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc 2006-03-15 03:14:02 +00:00
uriber%gmail.com 0f22e434f2 In EnsureBidiContinuation, leave fluid continuations alone, and only re-use non-fluid continuations as bidi continuations. bug=329878 r=smontagu sr=bzbarsky 2006-03-12 22:09:28 +00:00
uriber%gmail.com 4e6f48134e Set bidi attributes on frames being converted to in-flows in nsBidiPresUtils::RemoveBidiContinuation(). bug=330269 r=smontagu sr=bzbarsky 2006-03-12 21:58:47 +00:00
uriber%gmail.com 8f61b4a3b6 Attempt to fix WINNT bustage from previous check-in 2006-03-12 10:18:17 +00:00
uriber%gmail.com 1003ca6dd4 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 2006-03-12 09:49:48 +00:00
uriber%gmail.com 9c92bb8ecc Reparent views when splitting inline ancestors. bug=329762 r+sr=bzbarsky 2006-03-08 18:12:07 +00:00
uriber%gmail.com 01ef33157a 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 2006-03-08 09:02:42 +00:00
uriber%gmail.com c7032d59bb Bug 299065: Bidi resolution needs to split inlines in addition to text frames. r+sr=dbaron 2006-02-21 21:33:47 +00:00
bmlk%gmx.de 4bb63a9880 don't allocate nsDirectionalFrame on heap, bug 315321 patch by Marc Liddell r=roc sr=dbaron 2005-12-03 15:44:43 +00:00
roc+%cs.cmu.edu 520b30a7f7 Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell 2005-11-04 02:38:33 +00:00
smontagu%smontagu.org 104736b6e2 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 2005-06-23 08:03:24 +00:00
bzbarsky%mit.edu 54d585f2af 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
2005-02-07 01:58:25 +00:00
smontagu%smontagu.org 516f51c581 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. 2005-01-25 13:37:28 +00:00
bugzilla%arlen.demon.co.uk e88339585d Bug 162081 Wrong letter is underlined as accesskey / mnemonic when widget direction is RTL
p=mozilla-bugzilla@future.shiny.co.il r/sr=bzbarsky
2004-10-29 12:28:19 +00:00
roc+%cs.cmu.edu 44a2fd5b52 Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine 2004-09-14 02:28:03 +00:00
bryner%brianryner.com b88692c5a1 Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-24 18:50:29 +00:00
bryner%brianryner.com 0c08074b27 Backing out 253888 again due to Tp regression plus another problem I noticed (frame properties not getting destroyed on frame destruction) 2004-08-22 07:10:50 +00:00
bryner%brianryner.com d86c91ac3a Second try at landing support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-22 04:58:44 +00:00
bryner%brianryner.com 8c24cc7e63 Backing out bug 253888 until I can figure out how to fix the crash 2004-08-21 06:27:54 +00:00
bryner%brianryner.com 11d98b36e5 Refactor the frame property code and use it for supporting properties on dom elements. Bug 253888, r=jst, sr=dbaron. 2004-08-21 05:09:50 +00:00
bryner%brianryner.com 5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
bryner%brianryner.com 0fd21c3872 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc. 2004-07-29 19:41:39 +00:00
smontagu%smontagu.org 308ac70131 Display subruns in a right-to-left text run in the correct order in XUL text. Bug 248029, r+sr=roc 2004-07-07 06:49:10 +00:00
smontagu%smontagu.org 82d48e1672 DeCOMtaminate nsIFrame Set/GetProperty and merge Set/GetBidiProperty with it. Bug 117751, r+sr=roc 2004-06-01 06:20:16 +00:00
smontagu%smontagu.org 781e83e333 Update bidi data tables to Unicode 4.0.1 and add surrogate handling. Bug 240943, r=jshin, sr=rbs. 2004-05-18 11:01:49 +00:00
jst%mozilla.jstenback.com 99e02e5aa3 Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com 2004-05-07 20:55:17 +00:00
gerv%gerv.net 708b56cff4 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
darin%meer.net c380c59f65 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin 2004-02-28 22:34:07 +00:00
bryner%brianryner.com 225298a99e Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc. 2004-02-23 21:29:06 +00:00
bryner%brianryner.com 5f7a8b383e Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc. 2004-02-20 17:49:01 +00:00
roc+%cs.cmu.edu e7f165c614 Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz 2004-01-09 14:20:53 +00:00
bryner%brianryner.com dfe3513814 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. 2003-12-21 05:36:36 +00:00
uid502 d81619b4fa Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
smontagu%netscape.com 573892c784 Use a hashtable instead of searching an array, to make RemoveBidiContinuation() not be O(n^2). Bug 212827, r+sr=bzbarsky. 2003-07-24 18:33:50 +00:00
roc+%cs.cmu.edu e324543a75 Ongoing deCOMtamination. r+sr=dbaron 2003-07-02 10:30:00 +00:00
dbaron%dbaron.org 75ff60c62f 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 2003-05-15 03:42:21 +00:00
smontagu%netscape.com 1d28d1dc0e Don't do numeric substitution in Arabic text by default. Bug 181711, r+sr=rbs, a=asa. 2003-05-08 18:38:19 +00:00
peterv%netscape.com bc210f1afe Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv. 2003-03-05 15:08:41 +00:00
smontagu%netscape.com 743ba45c35 Remove nsITextFrame. Bug 188618, r/sr=roc+moz. 2003-02-25 00:44:04 +00:00
timeless%mozdev.org 5d62c94573 Bug 126484 Occurences of uninitialized variables being used before being set (in Bidi files)
patch by mozilla-bugs@nogin.org r=smontagu sr=bz
2003-02-23 11:10:28 +00:00
bryner%netscape.com e43f5a49fd 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. 2003-02-22 00:32:13 +00:00
smontagu%netscape.com ca360a4c38 Extend Bidi processing to elements with position: relative. Bug 168455, r=dbaron, sr=kin 2002-09-17 22:08:51 +00:00
smontagu%netscape.com d63551e2ff Fix regression with form controls on visual bidi pages. Bug 142233, r=jkeiser, sr=kin 2002-07-10 00:52:17 +00:00
smontagu%netscape.com 66051e90f8 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
smontagu%netscape.com a46e2b6d10 Fix for memory leak. Bug 145153, r=mkaply, sr=waterson 2002-05-23 22:03:19 +00:00
smontagu%netscape.com 7606504aac ArabicShaping() shouldn't assume that the input and output is in visual order. Bug 137871. r=ftang, sr=attinasi 2002-04-24 00:26:49 +00:00
smontagu%netscape.com c5331b9f14 Correct handling of zero-width joiners and non-joiners. Bug 110497. r=ftang, sr=attinasi 2002-04-23 23:50:17 +00:00
smontagu%netscape.com 40d6505f73 Move HandleNumbers() from nsBidiPresUtils to nsBidiUtils. Bug 137857. r=ftang, sr=attinasi 2002-04-23 23:29:18 +00:00
smontagu%netscape.com a3b1208204 Prevent crash caused by trigger-happy deletion of frames during Bidi resolution. Bug 95228, r=lkemmel@il.ibm.com, sr=waterson 2002-04-22 22:55:19 +00:00
smontagu%netscape.com 37ebf6848d Converting bidi utilities to non-XPCOM interfaces. Bug 120818; r=mkaply, nhotta; sr=attinasi 2002-02-19 20:41:32 +00:00
smontagu%netscape.com 6da44488e2 Fix for freeze in JS console. bug 123380. r=mkaply, sr=attinasi 2002-02-08 01:53:59 +00:00
cathleen%netscape.com 8605704b12 eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson 2002-01-30 02:55:57 +00:00
cathleen%netscape.com 92d4fbf218 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
mkaply%us.ibm.com 3f591b0d95 #36163
r=mkaply, r/sr=attinasi
Don't show Bidi control characters in the browser
2001-11-14 14:21:52 +00:00
smontagu%netscape.com ad90f8900c Fix for bug 81773: Bidi XUL text (e.g. bookmarks, tab titles) was flipping to and fro on systems without native Bidi support. r=mkaply, r/sr=hyatt, sr=attinasi 2001-11-12 20:51:48 +00:00
dbaron%fas.harvard.edu 02f3a2d769 Fix member initializer re-ordered warnings by re-ordering member initializers. r=jag rs=waterson b=105974 2001-10-25 03:21:53 +00:00
mkaply%us.ibm.com 6dabd5cfda #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
gerv%gerv.net 4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
rjesup%wgate.com 6f3e4115eb Bug 94243: VoidArray usage patch. a=asa sr=brendan r=waterson r=bienvenu
r=pierre r=jband/dbradley  Also fixes some whitespace issues.
2001-08-27 06:15:54 +00:00
jaggernaut%netscape.com 5a6317b8a5 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
dbaron%fas.harvard.edu f7dfb32406 Fix BiDi regression from style system landing by correcting implementation of 'unicode-bidi' to be a non-inherited property, correctly mapping attributes to it, splitting text frames with both strong RTL and LTR characters, and stripping BiDi control characters. Code by me and lkemmel@il.ibm.com r=simon@softel.co.il sr=hyatt b=83958 2001-06-29 03:15:58 +00:00
ftang%netscape.com 3e782eb254 fix bug 84031. r=simon@softel.co.il sr=kin a=blizzard
fix GetBidiProperty
2001-06-21 12:35:48 +00:00
hyatt%netscape.com b135c5b55a Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
mkaply%us.ibm.com 1b0b069451 No bug - remove printfs 2001-05-18 02:43:25 +00:00
ftang%netscape.com 70513680b1 fix 80163. check in for simon@softel.co.il
r=ftang
sr=blizzard@mozilla.org
2001-05-15 12:04:34 +00:00
ftang%netscape.com fdfd99773b fix bug 71358. Use xpcom pointer and do right thing for ref count
r/sr=hyatt
2001-05-15 11:57:22 +00:00
erik%netscape.com 3f8707c9fb 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
erik%netscape.com ce7d14c675 bug 71370; author=simon@softel.co.il; r=attinasi; sr=erik; a couple of new
files from the IBM bidi project; these are utilities for reordering in the
layout engine
2001-03-09 01:12:39 +00:00