Commit Graph

1103 Commits

Author SHA1 Message Date
bryner%brianryner.com
605cc06382 deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst. 2003-10-22 06:09:48 +00:00
bzbarsky%mit.edu
c9a9ee88ce removing extra semicolon 2003-10-21 19:37:48 +00:00
bzbarsky%mit.edu
46de74faf0 Make sure to include the border and padding in the frame size even in the
"0 width" case.  Bug 222990, r+sr=roc
2003-10-21 16:27:48 +00:00
kairo%kairo.at
7b21e2d4eb bug 154927 - automate localeVersion updates based on milestone.txt - we'll now create all those files during compile time from .in files, r=leaf, sr=bz 2003-10-18 17:54:07 +00:00
dbaron%dbaron.org
3de4dc91e0 Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky 2003-10-13 21:51:02 +00:00
dbaron%dbaron.org
5cce92dc2a Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky 2003-10-01 22:53:56 +00:00
bryner%brianryner.com
b74d8438f9 Updating my email address 2003-09-29 06:04:02 +00:00
bmlk%gmx.de
3d7310292f fieldset frames should report overflow area, bug 96506 r/sr=dbaron 2003-09-27 14:53:17 +00:00
jst%mozilla.jstenback.com
5037b2a4a2 Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org. 2003-09-27 04:18:26 +00:00
uid502
d0615f9350 Bug 217201. Make nsTextControlFrame::InitEditor() happen outside of reflow, to prevent content notification flushes and reentrancy. r+rs=dbaron 2003-09-19 15:20:00 +00:00
dbaron%dbaron.org
c49da48965 Change our implementation of 'overflow: hidden' to be more compatible with other browsers, as CSS 2.1 now allows. b=69355 r+sr=bzbarsky 2003-09-16 22:09:18 +00:00
bsmedberg%covad.net
0568e675fc Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt 2003-09-13 17:55:56 +00:00
bryner%brianryner.com
9d11b3c424 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 22:37:27 +00:00
roc+%cs.cmu.edu
ec0c023645 Bug 212753. Make sure mouse capture is released when combobox popup is hidden. r+sr=bryner,a=mkaply 2003-09-02 15:21:13 +00:00
darin%meer.net
009c1b35fc fixes bug 175896 "crash when selecting data overflowing vertically in a textarea having the overflow = hidden property [@ nsSelection::GetFrameForNodeOffset ]" r+sr+a=dbaron 2003-08-20 20:15:34 +00:00
roc+%cs.cmu.edu
46638c553d Bug 207637. Don't fire onchange for MouseUp events where we didn't see a mousedown. r+sr=dbaron,a=asa 2003-08-12 16:00:20 +00:00
kairo%kairo.at
5cbc82d1b5 bug 214207 - update localeVersion for 1.5b - rs=blizzard, a=asa 2003-08-11 11:31:24 +00:00
dbaron%dbaron.org
476143ae1a 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 2003-08-07 00:00:13 +00:00
bzbarsky%mit.edu
e2e733b5de DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:25:13 +00:00
bzbarsky%mit.edu
b0d068ccde 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
2003-07-25 23:03:39 +00:00
jaggernaut%netscape.com
95899387f6 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron 2003-07-25 19:06:59 +00:00
brade%netscape.com
e6dbb06ce4 patch from mjudge to maintainselection; r/sr=dbaron, bug=56401 2003-07-21 19:51:34 +00:00
jaggernaut%netscape.com
817298ce0b Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky 2003-07-14 07:37:39 +00:00
dbaron%dbaron.org
d85698fd40 Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky 2003-07-11 21:16:12 +00:00
aaronl%netscape.com
5c5a6660ec 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 2003-07-09 06:36:33 +00:00
bzbarsky%mit.edu
b2ba25b6fd Move to the double-'::' notation for various pseudo-elements.
Bug 211657, r+sr=dbaron
2003-07-07 21:57:01 +00:00
bzbarsky%mit.edu
b3003f362c Move to the double-'::' notation for -moz-tree-* pseudo-elements in SeaMonkey.
Bug 211657, r+sr=dbaron
2003-07-07 21:22:24 +00:00
roc+%cs.cmu.edu
9bd83767f7 Fixing build bustage 2003-07-04 13:36:03 +00:00
roc+%cs.cmu.edu
0b15c3893e Ongoing deCOMtamination. r+sr=dbaron 2003-07-04 12:50:32 +00:00
bzbarsky%mit.edu
fbca1ac9e1 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.
2003-07-02 06:40:09 +00:00
roc+%cs.cmu.edu
5d55c4535e Ongoing deCOMtamination. r+sr=dbaron 2003-06-30 10:46:59 +00:00
rbs%maths.uq.edu.au
a3601b3e47 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 2003-06-25 01:14:25 +00:00
jst%netscape.com
898a232581 Fixing part of bug 209699. Eliminate bad usage of NS_ConvertU*. r=caillon@aillon.org, sr=alecf@flett.org 2003-06-24 01:46:50 +00:00
dbaron%dbaron.org
e1e798d3f8 Remove |aPresContext| and |aPresShell| parameters from |nsIFrameManager| methods. b=208190 r+sr=bzbarsky 2003-06-19 23:52:58 +00:00
dbaron%dbaron.org
4afcaa0e69 DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc 2003-06-19 23:44:01 +00:00
alecf%flett.org
b7fa256d74 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
2003-06-17 16:40:34 +00:00
caillon%returnzero.com
2df173e9c8 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
2003-06-13 20:10:01 +00:00
alecf%flett.org
2751c6b097 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
2003-06-11 18:16:03 +00:00
jkeiser%netscape.com
2e29273c63 Remove unused variables, r+sr=sfraser@netscape.com 2003-06-06 01:11:57 +00:00
kairo%kairo.at
0b93c73eee bug 207642 - update localeVersion for 1.5a - r=rchen, sr=blizzard 2003-06-04 11:11:19 +00:00
jkeiser%netscape.com
ea020d3190 Remove the no-forward-declared-nsCOMPtr hack (bug 107291), r=bugmail@sicking.cc, sr=dbaron@dbaron.org 2003-06-03 03:56:14 +00:00
dwitte%stanford.edu
270d3909ca 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.
2003-05-23 21:34:47 +00:00
jkeiser%netscape.com
9ee03c08e4 Fix crash printing fixed-position float elements (bug 200347), r=kin@netscape.com, sr=dbaron@dbaron.org, a=asa 2003-05-22 20:56:35 +00:00
roc+%cs.cmu.edu
f5b886b9cd 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 2003-05-22 01:46:13 +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
roc+%cs.cmu.edu
ade40a3ae3 Bug 204531. Remove bogus RTL listbox reflow hack. Fix border computation for desired size of combobox dropdowns. 2003-05-15 01:42:53 +00:00
roc+%cs.cmu.edu
f4a1c61d8c 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 2003-05-04 19:00:21 +00:00
kairo%kairo.at
b6009f1e51 bug 202312 - localeVersion update for 1.4b, r=rchen, sr=blizzard 2003-04-17 18:43:57 +00:00
bzbarsky%mit.edu
0b85b42edc 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.
2003-04-12 16:06:54 +00:00
bryner%netscape.com
3a3ec0cbd5 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.
2003-04-11 00:56:27 +00:00
sfraser%netscape.com
abe53e192f 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.
2003-04-10 18:44:03 +00:00
roc+%cs.cmu.edu
3936b4c393 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 2003-04-08 20:50:57 +00:00
kyle.yuan%sun.com
0f97378c68 Bug 198542 missing #ifndef/#endif directives in nsITextControlFrame.h
r=jkeiser, sr=henry.jia
2003-04-02 08:34:33 +00:00
timeless%mozdev.org
697618b07d Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
bzbarsky%mit.edu
83e46b1a49 Fix some spelling errors in comments. Bug 106386, patch by Nicholas Bebout
<nb@ipnode.info>, r=doron, sr=dmose
2003-03-19 04:35:08 +00:00
jst%netscape.com
0b5cb41238 Fixing bug 192837. Freezing the rest of the DOM HTML interfaces. r=fabian@imajes.info, sr=peterv@netscape.com 2003-03-14 07:00:53 +00:00
jkeiser%netscape.com
9dfc1961ec Make .selectedIndex = -1 clear select (bug 195773), r=peterv@netscape.com, sr=jst@netscape.com 2003-03-14 06:18:20 +00:00
bryner%netscape.com
f3a28e9f42 Implement Aqua form controls when building with the Cocoa toolkit (bug 188254). r=pinkerton, sr=sfraser. 2003-03-12 04:57:33 +00:00
roc+%cs.cmu.edu
210e29411b Bug 183905. Allow horizontal scrolling with mouse sticks. Patch by Dainis_Jonitis, r+sr=roc+moz 2003-03-12 03:22:11 +00:00
kairo%kairo.at
661116311f bug 194924 - localeVersion update for 1.4a, r=rchen, sr=blizzard 2003-02-27 00:05:44 +00:00
roc+%cs.cmu.edu
67a197918a Bug 191938. 'Dont print backgrounds' by setting background to white. also clean up unused params and make background-attachment:fixed work in printing/printpreview. r+sr=bzbarsky 2003-02-23 02:49:22 +00:00
roc+%cs.cmu.edu
96b5516d32 Bug 157445. Be more aggressive about making visibility:hidden elements have visible views. r+sr=bzbarsky 2003-02-23 02:22:14 +00:00
kyle.yuan%sun.com
d2a4744e14 Bug 188199 incremental search in <select> fails if item starts with repeats of a letter
r=jkeiser, sr=henry.jia
2003-02-23 01:19:17 +00:00
bzbarsky%mit.edu
4b6af0e39f Make shrink-wrap reflow for buttons correctly reflow the kids a second time at
the constrained shrink-wrap width.  Bug 26650 and dependencies, patch by
arunan_bala@hotmail.com (Arunan Bala), r=jkeiser, sr=bzbarsky
2003-02-22 19:48:29 +00:00
bryner%netscape.com
a933850866 Use .get() when calling GetStyleData with a nsRefPtr<nsStyleContext> parameter, fixing nebiros bustage. 2003-02-22 04:27:23 +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
bzbarsky%mit.edu
0757c0a5b1 Make sure all caller have to pass in the "ignore 'print backgrounds'
preference" boolean.  Make block/inline _not_ ignore that pref.  Bug 191574,
r+sr=dbaron, a=asa
2003-02-01 23:54:32 +00:00
kin%netscape.com
539c56b91f Fix for bug 190382 (selectionEnd off by one when user selects text via CMD/CTRL-A)
- Prevent DOMPointToOffset() from counting a br as a newline, if it is the last child of the anonymous div.

- Fixed 3 compiler warnings in DOMPointToOffset().

r=jkeiser@netscape.com  sr=sfraser@netscape.com  a=asa@mozilla.org
2003-01-27 15:25:38 +00:00
bryner%netscape.com
277d4c5fdc fix frame name for nsTextControlFrame (debug-only code). r/sr/a=roc. 2003-01-25 01:47:20 +00:00
kin%netscape.com
1b4b682929 Fix for bug 188440 (textfields clobber selection when they should not.)
mozilla/layout/html/forms/src/nsTextControlFrame.cpp
  mozilla/layout/html/forms/src/nsTextControlFrame.h

Revert back to using a private method (SelectAllContents()) which implements a select all of the text widget contents by manually creating a range and adding it to the selection. This avoids triggering the autocomplete selection listener, which listens for a selection reason of SELECTALL_REASON. This change should be undone once the autocomplete listener is modified to distinguish between a programatic select all and one generated by a user gesture.

r=brade  sr=sfraser@netscape.com
2003-01-21 15:17:32 +00:00
dbaron%dbaron.org
6345aa5b6c Make the area frame containing the options of a select always have NS_BLOCK_SPACE_MGR so that outside floats don't mess up the inside of a select. b=48237 r+sr=bzbarsky 2003-01-19 20:02:38 +00:00
neil%parkwaycc.co.uk
aa05374d8e Fix regression to bug 150759 caused by bug 147148 r=jkeiser sr=sfraser 2003-01-10 09:24:30 +00:00
dbaron%dbaron.org
849440045e Fix sizing regression for selects with optgroups. b=188426 r+sr=bzbarsky 2003-01-10 00:30:50 +00:00
dbaron%dbaron.org
57124d8115 Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky 2003-01-09 14:26:32 +00:00
bryner%netscape.com
7f0488eb18 Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky. 2003-01-09 06:49:07 +00:00
kin%netscape.com
872ded6605 Fix for bug #88049: Support .selectionStart & friends for textareas
Patch by petejc@optonline.net and kin@netscape.com

  mozilla/content/html/content/src/nsHTMLInputElement.cpp
  mozilla/content/html/content/src/nsHTMLTextAreaElement.cpp
  mozilla/dom/public/idl/html/nsIDOMNSHTMLTextAreaElement.idl
  mozilla/layout/html/forms/src/nsTextControlFrame.cpp
  mozilla/layout/html/forms/src/nsTextControlFrame.h

Re-implemented selectionStart, selectionEnd, setSelectionRange() and various

utility methods in nsTextControlFrame to support multi-line text widgets.


r=jkeiser@netscape.com  sr=sfraser@netscape.com
2003-01-09 06:06:17 +00:00
dbaron%dbaron.org
14c5b6b776 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 21:19:10 +00:00
kairo%kairo.at
a6f4446e42 change all localeVersion strings, as well as brand.dtd/region.dtd to 1.3b; bug 185698, r=tao, sr=blizzard 2003-01-03 19:57:47 +00:00
jkeiser%netscape.com
dd17c242ec Make input type=file work with display: none (bug 152844), r=sicking@bigfoot.com, sr=jst@netscape.com 2002-12-20 05:40:37 +00:00
jkeiser%netscape.com
d7d9298ab3 Make shift+click work the first time you click in a select (bug 167142), r=peterl@netscape.com, sr=sfraser@netscape.com 2002-12-20 05:32:27 +00:00
jkeiser%netscape.com
cb84e04c70 Make GetType() return int instead of nsresult (bug 167762), r=peterl@netscape.com, sr=kin@netscape.com 2002-12-18 23:38:09 +00:00
nhotta%netscape.com
dc755ed5d9 Adding a new interface to retrieve phonetic of input text,
bug 175937, r=brade, sr=kin.
2002-12-17 23:38:04 +00:00
jkeiser%netscape.com
a1d3c960e5 Make empty dropdowns handle key events (bug 147148), r=peterl@netscape.com, sr=sfraser@netscape.com 2002-12-17 00:56:01 +00:00
jkeiser%netscape.com
2de2d24266 Crasher on changing input type with JS (bug 175670), patch by Rick.Ju@sun.com, r=jkeiser@netscape.com, sr=bzbarsky@mit.edu 2002-12-16 23:49:16 +00:00
dbaron%fas.harvard.edu
34a1e37f7e Correctly implement text-decoration in standards mode by drawing the underline on the element with the text-decoration property set. Refactor painting code a bit to avoid code duplication. Patch by Esben Mose Hansen <esben@oek.dk>, with paint refactoring and some other changes by dbaron. r=dbaron sr=bzbarsky b=1777 2002-12-11 04:00:18 +00:00
kyle.yuan%sun.com
f1ebcab55a Bug 159947 no way to multiselect using keyboard in list box
r=akkana, sr=bryner
Use charCode instead of keyCode to check whether a key typing is SPACE
2002-12-11 03:24:27 +00:00
jkeiser%netscape.com
8fa46fbfe6 Oog. Green and open not enough. jkeiser back self out, keep drivers from hitting with big rock. 2002-12-09 06:15:33 +00:00
jkeiser%netscape.com
0c54ecf4c2 fix behavior (and crasher) when changing type during event handler (bug 175670), patch by Rick.Ju@sun.com, r=jkeiser@netscape.com, sr=bzbarsky@mit.edu 2002-12-09 05:56:58 +00:00
karnaze%netscape.com
c7726efa2b bug 180805 - Added GetAdjustedParentFrame to handle fieldsets. Moved inner/outer table logic there. Added fieldset logic to IsValidSibling. sr=bzbarsky, r=jkeiser. 2002-12-03 16:02:42 +00:00
peterv%netscape.com
2cd27f702a Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
jkeiser%netscape.com
7b5c99d547 Make textareas and inputs restore again (bug 179330), r=bryner@netscape.com, sr=kin@netscape.com 2002-11-20 23:19:45 +00:00
bzbarsky%mit.edu
ab75327f3e Make nsILinkHandler take uris instead of strings. Bug 176904, r=darin, sr=jst 2002-11-20 00:44:26 +00:00
dbaron%fas.harvard.edu
1e89d16d17 Remove static nsCOMPtr from nsTextControlFrame. b=179228 r=jkeiser sr=bzbarsky 2002-11-19 15:21:57 +00:00
bzbarsky%mit.edu
c6541482b9 <button> should be a containing block. Bug 180301, r=jkeiser, sr=dbaron 2002-11-19 03:39:44 +00:00
dbaron%fas.harvard.edu
f6b1702067 Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz 2002-11-17 15:37:56 +00:00
bzbarsky%mit.edu
ed078e5c87 Fix regression in rendering buttons that people manually size to less
than desired size.  Bug 180085, r=jkeiser, sr=roc+moz
2002-11-16 19:32:49 +00:00
bzbarsky%mit.edu
b11bfa8941 Fix regression bug 179896; need to use the cached ascent in this case
too.  r=jkeiser, sr=roc+moz
2002-11-13 22:34:09 +00:00
bzbarsky%mit.edu
3d0e77ae73 Not sure why this didn't get properly checked in with the rest... Bug
167236, r=jkeiser, sr=roc+moz, moa=rods
2002-11-13 07:50:34 +00:00
cmanske%netscape.com
722881b278 Command Controller refactoring and cleanup, mostly by mjudge with help by cmanske, b=170353, r=brade, sr=sfraser. EditingSession cleanup and new commands in \editor, b=174439, r=mjudge, sr=sfraser 2002-11-12 23:03:27 +00:00
bzbarsky%mit.edu
d33d3708fe Align text inputs, buttons, comboboxes to baseline with respect to the
text around them (bug 167236).  Fix width sizing issues for <input
type="button/reset/submit"> (bugs 79927, 36364).  Fix nonuniform heights
of form controls (bug 70251).  Patch is on bug 167236, r=jkeiser,
sr=roc+moz, moa=rods
2002-11-12 19:17:51 +00:00