1821 Commits

Author SHA1 Message Date
uid502
8080dd532b Bug 217201. Make nsTextControlFrame::InitEditor() happen outside of reflow, to prevent content notification flushes and reentrancy. r+rs=dbaron
git-svn-id: svn://10.0.0.236/trunk@147060 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-19 15:20:00 +00:00
dbaron%dbaron.org
c997dd0ad0 Change our implementation of 'overflow: hidden' to be more compatible with other browsers, as CSS 2.1 now allows. b=69355 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@146973 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-16 22:09:18 +00:00
bsmedberg%covad.net
1b71e7ac3e Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt
git-svn-id: svn://10.0.0.236/trunk@146844 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 17:55:56 +00:00
bryner%brianryner.com
dbbc84bf94 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146620 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 22:37:27 +00:00
roc+%cs.cmu.edu
d6f51ea339 Bug 212753. Make sure mouse capture is released when combobox popup is hidden. r+sr=bryner,a=mkaply
git-svn-id: svn://10.0.0.236/trunk@146514 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-02 15:21:13 +00:00
darin%meer.net
0d0959dea5 fixes bug 175896 "crash when selecting data overflowing vertically in a textarea having the overflow = hidden property [@ nsSelection::GetFrameForNodeOffset ]" r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@146240 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-20 20:15:34 +00:00
roc+%cs.cmu.edu
5dc0998c4e Bug 207637. Don't fire onchange for MouseUp events where we didn't see a mousedown. r+sr=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@145922 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-12 16:00:20 +00:00
kairo%kairo.at
ecab08be9b bug 214207 - update localeVersion for 1.5b - rs=blizzard, a=asa
git-svn-id: svn://10.0.0.236/trunk@145864 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-11 11:31:24 +00:00
dbaron%dbaron.org
9c8f3a09cc Remove workaround for timer bug, since the timer bug is fixed and the workaround now causes a crash. b=215250 r+sr=brendan a=asa
git-svn-id: svn://10.0.0.236/trunk@145680 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-07 00:00:13 +00:00
bzbarsky%mit.edu
82c14d79dd DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@145289 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:25:13 +00:00
bzbarsky%mit.edu
156ccb08f9 Bump skinVersion up to 1.5, since older skins are likely to get broken by the
change to no longer support single-':' pseudo-elements.  Bug 211657, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@145214 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-25 23:03:39 +00:00
jaggernaut%netscape.com
df747d0621 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@145205 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-25 19:06:59 +00:00
brade%netscape.com
a6ecc06d75 patch from mjudge to maintainselection; r/sr=dbaron, bug=56401
git-svn-id: svn://10.0.0.236/trunk@145030 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-21 19:51:34 +00:00
jaggernaut%netscape.com
36ab3d76a9 Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144817 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-14 07:37:39 +00:00
jaggernaut%netscape.com
95a2235bee Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@144804 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-13 22:29:00 +00:00
dbaron%dbaron.org
593f58592d Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144735 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 21:16:12 +00:00
aaronl%netscape.com
42c64b76d5 Bug 211846. alt+down not working consistently for dropdowns. Also fixes bug 110801 and bug 205942, dropdown from alt+down not showing in the right place. r=jkieser, sr=bz
git-svn-id: svn://10.0.0.236/trunk@144635 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-09 06:36:33 +00:00
bzbarsky%mit.edu
4f63a75a74 Move to the double-'::' notation for various pseudo-elements.
Bug 211657, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@144534 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-07 21:57:01 +00:00
bzbarsky%mit.edu
562c0c2d09 Move to the double-'::' notation for -moz-tree-* pseudo-elements in SeaMonkey.
Bug 211657, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@144530 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-07 21:22:24 +00:00
roc+%cs.cmu.edu
fe484e9b29 Fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@144466 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-04 13:36:03 +00:00
roc+%cs.cmu.edu
ca3b83ccdf Ongoing deCOMtamination. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144465 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-04 12:50:32 +00:00
bzbarsky%mit.edu
9fc6f73d46 Rmove declarations of functions that are no longer implemented. This should
have been checked in as part of bug 167236.  At this point, it's just dead code
removal.


git-svn-id: svn://10.0.0.236/trunk@144373 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-02 06:40:09 +00:00
rbs%maths.uq.edu.au
a6c97c6fb0 Helper patch for bug 15364. Expose an API to allow scripts to show the caret even in selections (a la Emacs). Users can also set the pref ui.caretVisibleWithSelection to 1, which gives a nice combination with caret browsing (hit F7). r=sfraser, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144128 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-25 01:14:25 +00:00
jst%netscape.com
b1880963d6 Fixing part of bug 209699. Eliminate bad usage of NS_ConvertU*. r=caillon@aillon.org, sr=alecf@flett.org
git-svn-id: svn://10.0.0.236/trunk@144080 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-24 01:46:50 +00:00
dbaron%dbaron.org
80187c571f Remove |aPresContext| and |aPresShell| parameters from |nsIFrameManager| methods. b=208190 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@143961 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:52:58 +00:00
dbaron%dbaron.org
519cf3b3d3 DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@143960 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:44:01 +00:00
alecf%flett.org
71e5d724e5 fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org


git-svn-id: svn://10.0.0.236/trunk@143800 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 16:40:34 +00:00
caillon%returnzero.com
0a6d1ae509 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
alecf%flett.org
1c89787dc0 fix for bug 206379:
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser


git-svn-id: svn://10.0.0.236/trunk@143589 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 18:16:03 +00:00
seawood%netscape.com
06e1507b0c Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
git-svn-id: svn://10.0.0.236/trunk@143527 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 21:18:27 +00:00
jkeiser%netscape.com
6353249b1a Remove unused variables, r+sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@143376 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-06 01:11:57 +00:00
kairo%kairo.at
a3d1679464 bug 207642 - update localeVersion for 1.5a - r=rchen, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@143284 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-04 11:11:19 +00:00
jkeiser%netscape.com
e6d72c0cbb Remove the no-forward-declared-nsCOMPtr hack (bug 107291), r=bugmail@sicking.cc, sr=dbaron@dbaron.org
git-svn-id: svn://10.0.0.236/trunk@143222 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-03 03:56:14 +00:00
dwitte%stanford.edu
dc7e857400 bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.


git-svn-id: svn://10.0.0.236/trunk@142828 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:34:47 +00:00
jkeiser%netscape.com
d214c656a8 Fix crash printing fixed-position float elements (bug 200347), r=kin@netscape.com, sr=dbaron@dbaron.org, a=asa
git-svn-id: svn://10.0.0.236/trunk@142762 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-22 20:56:35 +00:00
roc+%cs.cmu.edu
dad14022d0 Bug 202681. Do not recreate frames during reflow via -moz-binding change for lazy scrollbars. Instead of lazy scrollbars, completely remove the anonymous scrollbar element for scrollbars which are disabled by CSS. r+sr=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@142738 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-22 01:46:13 +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
roc+%cs.cmu.edu
128348933b Bug 204531. Remove bogus RTL listbox reflow hack. Fix border computation for desired size of combobox dropdowns.
git-svn-id: svn://10.0.0.236/trunk@142482 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 01:42:53 +00:00
roc+%cs.cmu.edu
58361a0999 Bug 201797. Do an extra reflow of the scrollframe if we adjusted the width or height after reflowing it the first time. Also, don't include border/padding when calculating the visible width in the unconstrained case
git-svn-id: svn://10.0.0.236/trunk@142108 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-04 19:00:21 +00:00
kairo%kairo.at
81cde04677 bug 202312 - localeVersion update for 1.4b, r=rchen, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@141326 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 18:43:57 +00:00
jshin%mailaps.org
b32399e610 bug 198598 Update the window title bar and doc. charset for nsMediaDocument
so that save/save as works correctly for non-8859-1 string. rename
ImageDocument.properties to MediaDocument.properties and move to
content/html/document/src. (r=cbiesinger for an earlier patch, sr=bzbarsky)


git-svn-id: svn://10.0.0.236/trunk@141073 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-13 00:40:26 +00:00
bzbarsky%mit.edu
fe8997ff0a Fix crash when composer and comboboxes interact. The real fix is in
nsComboboxControlFrame; the nsBlockFrame changes are just cleanup the fix
enables. Bug 197942, r=jkeiser, sr=dbaron.


git-svn-id: svn://10.0.0.236/trunk@141067 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-12 16:06:54 +00:00
bryner%netscape.com
0c66a2052e Make --disable-xul work (bug 69995). We build enough XUL to support
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree.  r=bzbarsky, sr=alecf.


git-svn-id: svn://10.0.0.236/trunk@141016 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-11 00:56:27 +00:00
sfraser%netscape.com
4a0df27c9c Fix bug 201257 -- clean up use of nsIControllerCommandManager by editor:
Renaming nsIControllerCommandManager to nsIControllerCommandTable to reduce confusion.
Moving the immutability flag from the nsBaseCommandController to the nsControllerCommandTable.
Renaming the 'refcon' on nsIControllerContext to 'context', and giving nsIControllerContext an Init() method that optionally takes a command table.
Fixing the editor and composer module code to create pre-filled nsIControllerCommandTables as services, and the controller constructors to create singleton command tables with do_GetService.
r=brade, sr=alecf.


git-svn-id: svn://10.0.0.236/trunk@140988 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 18:44:03 +00:00
roc+%cs.cmu.edu
d4ac9a5795 Bug 126263. Whack comboboxes/listboxes to use Gfx scrollbars. Also, make scrollbars attach their XBL content only when they become visible, to avoid pageload hit. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@140858 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:50:57 +00:00
kyle.yuan%sun.com
58f9e0a842 Bug 198542 missing #ifndef/#endif directives in nsITextControlFrame.h
r=jkeiser, sr=henry.jia


git-svn-id: svn://10.0.0.236/trunk@140579 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 08:34:33 +00:00
timeless%mozdev.org
0e5f07166f Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose


git-svn-id: svn://10.0.0.236/trunk@140130 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 04:15:34 +00:00
bzbarsky%mit.edu
cb5f836162 Fix some spelling errors in comments. Bug 106386, patch by Nicholas Bebout
<nb@ipnode.info>, r=doron, sr=dmose


git-svn-id: svn://10.0.0.236/trunk@139745 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 04:35:08 +00:00
jst%netscape.com
47743d5ece Fixing bug 192837. Freezing the rest of the DOM HTML interfaces. r=fabian@imajes.info, sr=peterv@netscape.com
git-svn-id: svn://10.0.0.236/trunk@139440 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 07:00:53 +00:00
jkeiser%netscape.com
3c83a5a70f Make .selectedIndex = -1 clear select (bug 195773), r=peterv@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@139437 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 06:18:20 +00:00