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

1735 Коммитов

Автор SHA1 Сообщение Дата
Taras Glek ba02fffe86 bug 455536: s/NS_ERROR_FAILURE/NS_ERROR_OOM/ outparamdelled nsNodeInfoManager::GetNodeInfo r+sr=jsr 2008-09-25 15:46:52 -07:00
Boris Zbarsky 328c7cdf4b Bug 455451. Don't notify from inside frame construction. r+sr=jst 2008-09-25 16:35:46 -04:00
Zack Weinberg 473726ed0c Bug 456792 - Two more API cleanups for nsCSSRendering; patch 1; r+sr=roc 2008-09-25 17:53:27 +02:00
Zack Weinberg 97bef90839 Bug 456152 - slight API cleanup for nsCSSRendering::PaintBackground; r+sr=roc 2008-09-24 06:07:22 +02:00
Arpad Borsos 18b833c041 Bug 452797 - Clean up unused variables in layout/; v6; r+sr=roc 2008-09-20 15:42:03 +02:00
Robert O'Callahan 775dd33c74 Bug 450930. Fire a DOM event when painting so that content and chrome can track what's being repainted. r=smaug,sr=dbaron 2008-09-18 21:47:21 +12:00
Arpad Borsos 87878e68eb Bug 454766 - Add suggested parentheses to layout/; r+sr=roc; (with nits by sgautherie) 2008-09-15 17:40:25 +02:00
Taras Glek 74132a5585 bug 450777:deCOMtaminate nsNodeInfoManager::GetNodeInfo r+sr=jst 2008-09-12 15:32:18 -07:00
Robert Kaiser b3901a31af bug 451601 - kill MOZILLA_LOCALE_VERSION, main mozilla-central patch to kill xpfe-style chrome versions, r=ted sr=Neil 2008-09-11 01:08:57 +02:00
Ted Mielczarek ff7706a544 bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg 2008-09-09 13:59:11 -04:00
Taras Glek cfb7b89b10 bug 454292:prbool fixes for layout r+sr=dbaron 2008-09-09 10:07:26 -07:00
timeless@mozdev.org 2cf6a7ee79 Backed out changeset 54215f2cbc66
to fix Bug 454186
SM crashes when try to download file [@ nsString::ToInteger - nsTreeBodyFrame::PaintProgressMeter]
2008-09-08 16:00:32 +02:00
Arpad Borsos 95c1e86113 Bug 452797 - Clean up unused variables in layout/; r+sr=roc 2008-09-06 20:38:31 +02:00
Robert O'Callahan c04d96c610 Bug 376662. Convert nsIFrame::GetOffsetTo to not use views. We need to ensure that for popups and scrollframes, views and frames are kept in sync at *all* times. Also fixes bugs in tests for NS_FRAME_NO_MOVE_FRAME. r+sr=bzbarsky 2008-09-06 20:52:56 +12:00
Robert O'Callahan 8d8390a5b5 Backing out changeset 1bdd5da49865 (for bug 376662) due to regression bug 453661 2008-09-05 15:40:06 +12:00
Robert O'Callahan 82aa805186 Bug 376662. Make nsIFrame::GetOffsetTo not explicitly use views. r+sr=bzbarsky 2008-09-04 09:35:52 +12:00
Robert O'Callahan 519c75bf87 Bug 331088. Handle file-control frame being torn down while the dialog is up. r=smaug,sr=mats 2008-08-15 22:21:31 +12:00
Boris Zbarsky ced05f04cb Bug 210094. Make min-height and max-height work on fieldset. r+sr=dbaron 2008-08-08 01:18:00 -04:00
Zack Weinberg 300f48fbd4 Bug 446498 – use new border rendering for focus rectangles, and strip dead code. r+sr=vlad 2008-08-06 12:33:18 +02:00
Mats Palmgren 8bbc56fcbc Bug 446663. Make sure that if the user is typing in a text input its text input listener will get the events (so that undo/redo work and oninput is fired). 2008-07-31 17:36:21 -07:00
Mats Palmgren 8534784f1c Bug 446663. Make sure that if the user is typing in a text input its text input listener will get the events (so that undo/redo work and oninput is fired). 2008-07-31 17:34:11 -07:00
Zack Weinberg a1072e86a3 Delete nsLayoutUtils::GetAbsoluteCoord(); fold logic into callers and simplify. (Bug 437335) r+sr=dbaron 2008-07-17 16:37:12 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E) 7d3343e0fa Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 23:30:25 -07:00
L. David Baron 86c186dbd8 Backed out changeset 9b0b2391485c due to linker errors related to nsStyleStructInlines.h not being included enough. 2008-07-16 22:59:14 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E) 269c2d355a Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 22:18:38 -07:00
John Daniels b006229ae6 Bug 419532 – deCOMtaminate nsICaret. r+sr=roc 2008-07-16 12:52:01 +02:00
neil@parkwaycc.co.uk 64491786fd Bug 444466 – Crash [@ nsTextControlFrame::PreDestroy()], r+sr=bz 2008-07-12 11:26:40 +02:00
Mats Palmgren 86d4cc0003 Use the post-reflow GetUsedMargin() value when placing the legend. b=433700 r+sr=dbaron 2008-07-09 17:42:44 +02:00
vladimir@pobox.com ea318bc762 b=431081; native selection box frame missing in fx3 - vista content only; r+sr=roc,a=beltzner 2008-04-28 20:55:07 -07:00
jst@mozilla.org 4b69a276d4 Landing fix for bug 419716. Make us consistently deal how we're pass param tags to object tags when parsing XHTML. Patch by mrbkap@gmail.com and bent.mozilla@gmail.com, r+sr=jonas@sicking.cc, a=beltzner 2008-04-17 15:30:51 -07:00
dbaron@dbaron.org 4589e85ab3 Backout bug 157546 (making the delete key delete by clusters) to fix blockers bug 419217 and bug 419406. Instead of removing the added test, mark now-failing tests as todo. a=damons 2008-04-14 18:04:18 -07:00
roc+@cs.cmu.edu 0a70ba3e53 Bug 425253. Propagate reflow-depth tracking through XUL box layout. r+sr=dbaron,a=damon 2008-04-09 21:39:41 -07:00
reed@reedloden.com 3ada7e2c40 Bug 420499 - "Caret browsing mode wrongly engaged" (Mochitest) [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r+sr=roc a=blocking1.9+] 2008-04-08 11:52:48 -07:00
timeless@mozdev.org b0e4df4591 Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-04-06 05:28:34 -07:00
mats.palmgren@bredband.net 747c16c7c6 Disconnect the frame selection object from the pres shell earlier. b=421083 r+sr=roc a1.9=beltzner 2008-04-02 19:42:20 -07:00
masayuki@d-toybox.com 2a69e80bd1 Bug 424989 Cannot use reconversion of IMEs from system menu at the focus being on textarea r+sr=roc, b1.9=jonas 2008-03-29 12:38:05 -07:00
jruderman@hmc.edu 8c070d91b8 Adding crashtest 2008-03-26 21:27:43 -07:00
timeless@mozdev.org 7f880e43ef reverting, wrong patch, missing AMBIGUOUS 2008-03-19 14:55:22 -07:00
timeless@mozdev.org 022712406a Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-03-19 14:19:35 -07:00
bzbarsky@mit.edu 0526293212 Don't use fieldset pref widths as min widths, since pref widths can be unconstrained. Incidentally makes it possible for text to legends to wrap if the page wants it to. Bug 404123 and bug 354502, r+sr=dbaron, a=beltzner. 2008-03-14 13:48:23 -07:00
dbaron@dbaron.org fe0cb896ea Give radio buttons and checkboxes a useful baseline, and switch checkboxes from text-bottom to baseline alignment (to match radios). b=402940 r+sr=bzbarsky a=blocking1.9+ 2008-03-07 09:57:34 -08:00
dbaron@dbaron.org 0d8b560733 Fix the weird Get* API on nsStyleSides in favor of returning structs by value, to avoid further occurrences of bug 420069. b=420069 r+sr=roc a=beltzner 2008-03-05 16:05:26 -08:00
roc+@cs.cmu.edu 20504d8ff0 Bug 405952. Add scrollbar width to pref and min widths for overflow:scroll elements but for no other overflow values. r+sr=bzbarsky,dbaron,dholbert, a=beltzner 2008-02-28 12:37:06 -08:00
masayuki@d-toybox.com 1c98c2e245 Bug 418470 Go to line in View Source broken (NS_ERROR_UNEXPECTED at nsISelectionController.scrollSelectionIntoView) (retry) r+sr=roc, a1.9b4=beltzner 2008-02-28 07:28:37 -08:00
masayuki@d-toybox.com 076b8bba8e backing out the previous patch, becaused qm-centos5-01 dep unit test is orange 2008-02-28 05:59:25 -08:00
masayuki@d-toybox.com 600836e7ed Bug 418470 Go to line in View Source broken (NS_ERROR_UNEXPECTED at nsISelectionController.scrollSelectionIntoView) r+sr=roc, a1.9b4=beltzner 2008-02-28 03:01:56 -08:00
roc+@cs.cmu.edu 709741beff Bug 157546. 'Delete' key should delete entire cluster. patch by Theppitak Karoonboonyanan, r+sr=roc,a=schrep 2008-02-21 18:24:04 -08:00
reed@reedloden.com 36a557fc04 Back out patch from Theppitak Karoonboonyanan in bug 157546 due to test failures. 2008-02-20 03:10:16 -08:00
reed@reedloden.com 61f93061b0 Bug 157546 - "[CTL-Thai] IM: <delete> key should delete WHOLE Thai "display cell"" [p=thep@linux.thai.net (Theppitak Karoonboonyanan) r+sr=roc a1.9=schrep] 2008-02-20 02:19:31 -08:00
jag@tty.nl 05cdb6aefe Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -08:00
reed@reedloden.com 2eddcd6e28 Back out Theppitak Karoonboonyanan's patch from bug 157546 due to a regression (bug 417745). 2008-02-15 12:20:55 -08:00
reed@reedloden.com 636da4197c Bug 157546 - "[CTL-Thai] IM: <delete> key should delete WHOLE Thai "display cell"" [p=thep@linux.thai.net (Theppitak Karoonboonyanan) r+sr=roc a1.9=beltzner] 2008-02-14 21:30:34 -08:00
Olli.Pettay@helsinki.fi 065cc2d962 Bug 411212, cannot prevent file-picker from showing on <INPUT TYPE=FILE>, r+sr=roc+bzbarsky, a=mtschrep 2008-01-10 13:55:38 -08:00
reed@reedloden.com 4438253756 Bug 409587 - "input[type="file"] cropped when narrow width specified" [p=kinetik@flim.org (Matthew Gregan) r+sr=roc a1.9=beltzner] 2008-01-07 14:18:06 -08:00
jruderman@hmc.edu a3a9a27d42 Add crashtest. 2008-01-06 15:55:24 -08:00
jruderman@hmc.edu e3e6daec9d Add a crashtest 2008-01-05 22:42:00 -08:00
jruderman@hmc.edu 7623693bdb Add a crashtest (plus another crashtest I apparently forgot to check in before). 2008-01-05 22:10:06 -08:00
bzbarsky@mit.edu dc7ecebfee Make image controls splittable just like regular images. Bug 409659, r+sr=roc, a=dsicore 2008-01-04 22:44:38 -08:00
neil@parkwaycc.co.uk b22e83627e Make XUL elements really native anonymous b=410119 r=smaug sr+a=sicking 2008-01-04 03:24:41 -08:00
roc+@cs.cmu.edu f8b25558e4 Bug 407889. Reduce dynamic memory allocations during event handling by having nested invocations of HitTest share a single buffer for reordering display items; this buffer is an nsAutoTArray so it's mostly stack-allocated. r+sr=mats 2008-01-03 18:08:29 -08:00
reed@reedloden.com 58044dcad7 Bug 406407 - "Accelerators for textEdit should not be affected by keyboard group/level" [p=lolkaantimat@gmail.com (Evgeniy Ivanov) r+sr=roc a1.9=stuart] 2007-12-29 12:43:27 -08:00
jruderman@hmc.edu a4f1249a90 Add crashtests 2007-12-23 17:51:54 -08:00
dholbert@cs.stanford.edu 749290b928 Bug 408772: Replace nscoord_MAX-unsafe arithmetic with safe call to NSCoordSaturatingSubtract, in nsComboboxControlFrame::GetIntrinsicWidth. r+sr=bzbarsky a=mtschrep 2007-12-18 11:26:35 -08:00
jruderman@hmc.edu 92a6869573 Add crashtest 2007-12-17 23:19:21 -08:00
jruderman@hmc.edu 7776306efe Add crashtest 2007-12-17 16:35:42 -08:00
jruderman@hmc.edu 4e01cf307d Add crashtests 2007-12-16 17:23:03 -08:00
jruderman@hmc.edu 52ddf37f76 When you stare into the crashtest, the crashtest also stares back into you. 2007-12-16 17:20:41 -08:00
jruderman@hmc.edu ab6324c078 Add a crashtest 2007-12-16 17:16:39 -08:00
jruderman@hmc.edu 1ec381ac10 Add crashtest 2007-12-16 17:13:30 -08:00
jruderman@hmc.edu d55e3fc736 Old MacDonald had a farm, EIEIO. And on that farm he had some crashtests, EIEIO. With an mlk here and an assert there, here a crash, there a hang, everywhere a big bang. Old MacDonald had a farm, EIEIO. 2007-12-16 17:10:36 -08:00
jruderman@hmc.edu 9721d132c9 Add crashtest 2007-12-16 16:52:49 -08:00
jruderman@hmc.edu 3d0e339d2d Add crashtest 2007-12-16 14:10:22 -08:00
jruderman@hmc.edu 87a923acb3 Add two crashtests 2007-12-16 14:08:46 -08:00
jruderman@hmc.edu f1e1824f10 Crashtest! 2007-12-15 20:55:06 -08:00
jruderman@hmc.edu 040eb53289 Add crashtests 2007-12-15 15:45:02 -08:00
reed@reedloden.com 27a55e7707 Back out patch from bug 406047, as it is causing orange on Linux and Tp regression on Mac. 2007-12-14 00:55:08 -08:00
reed@reedloden.com 71fe589716 Bug 406407 - "Accelerators for textEdit should not be affected by keyboard group/level" [p=lolkaantimat@gmail.com (Evgeniy Ivanov) r+sr=roc a1.9=stuart] 2007-12-13 23:20:32 -08:00
roc+@cs.cmu.edu 0b1d5ef941 Bug 407015. Dropdown listboxes should not propagate computed height from the scrollframe to its scrolled content. r+sr=dbaron 2007-12-06 16:10:31 -08:00
enndeakin@sympatico.ca e45f5c2aab Bug 401627, better way of handling click to close menu so that it doesn't reopen the menu again, r+sr=roc 2007-12-03 08:33:42 -08:00
bzbarsky@mit.edu 55cae0276c Landing part of bug 363858 that somehow got misplaced. pending r=dbaron 2007-12-02 23:38:48 -08:00
bzbarsky@mit.edu 365fb40b8c Don't do arithmetic with unconstrained widths when reflowing comboboxes. Bug 363858, r+sr=dbaron 2007-12-02 22:41:38 -08:00
roc+@cs.cmu.edu f6a0bf6aa0 Bug 405305. Fix z-ordering of legend background so it's in the block-backgrounds layer. r+sr=mats 2007-12-01 00:32:51 -08:00
reed@reedloden.com 5847c7c368 Bug 363696 - "Crash [@ nsHTMLReflowState::ComputeContainingBlockRectangle] with file upload control in xul" [p=kinetik@flim.org (Matthew Gregan) r=bzbarsky sr=roc a=blocking1.9+] 2007-11-26 19:35:50 -08:00
reed@reedloden.com 9f32f05195 Bug 373623 - "Unicode … should be used instead of three separate dots: ..." (browser locales) [p=hendrik.maryns@uni-tuebingen.de (Hendrik Maryns) r=mconnor a1.9=beltzner] 2007-11-26 18:44:44 -08:00
Olli.Pettay@helsinki.fi a0a74f16e7 Bug 368760, r=mats, sr=roc, a=blocking1.9+ 2007-11-22 12:47:33 -08:00
aaronleventhal@moonset.net f98359daf4 Bug 385070. Accessible subtrees for anonymous content need to be shut down. Patch by Evan Yan. r=aaronlev, r+sr=roc for layout part, a=dsicor 2007-11-20 12:39:36 -08:00
Evan.Yan@Sun.COM b93b199daf back out patch of bug 385070 which broke accessible tree, to make nightly build safe 2007-11-16 01:12:58 -08:00
aaronleventhal@moonset.net f80f334157 Bug 385070. Nodes in anonymous content trees that are hidden not being shut down. Patch by Evan Yan. r=aaronlev, r+sr=roc, a=mconnor 2007-11-15 17:38:33 -08:00
reed@reedloden.com 04dfd4f2cf Bug 402198 - Use async version of Invalidate() to avoid flushing pending notifications [p=mats.palmgren@bredband.net (Mats Palmgren) r+sr=roc a1.9=schrep] 2007-11-13 08:44:48 -08:00
mats.palmgren@bredband.net a641627d36 Backing out relevant part of bug 402198 to see if it fixes Orange on Windows Tinderbox... 2007-11-09 20:23:26 -08:00
mats.palmgren@bredband.net e33b99bebb Use async version of Invalidate() to avoid flushing pending notifications. Also, document this aspect of the Invalidate() API. b=402198 r+sr=roc a=mtschrep 2007-11-09 16:51:02 -08:00
reed@reedloden.com 2c03a2b214 Bug 336153 - Fix fieldset content-block sizing when a specified height is given [p=roc r+sr=bzbarsky a=blocking1.9+] 2007-11-07 20:04:32 -08:00
neil@parkwaycc.co.uk 67f7e866a9 Bug 399968 Back out some parts from bug 258875 that have no effect r+sr+a=roc 2007-10-19 01:51:27 -07:00
roc+@cs.cmu.edu 2763f9f7df Backing out fix for bug 345339 because of test failures 2007-10-09 20:39:16 -07:00
roc+@cs.cmu.edu 24f20d0cd0 Bug 345339. Stop using a generic hashtable to store element session history state in nsPresState. patch by Karthik Sarma, r+sr=roc,a=sicking 2007-10-09 19:15:23 -07:00
Olli.Pettay@helsinki.fi 7a162df868 Bug 388558, 'change' event isn't dispatched if user selects input field value from the autocomplete list, r=jst, sr=sicking, a=mconnor 2007-10-02 09:56:07 -07:00
aaronleventhal@moonset.net c773b68f7e bug 397644. File control not exposed correctly to a11y apis. r+sr+a=roc 2007-09-27 18:09:14 -07:00
roc+@cs.cmu.edu 4f984e3fae Bug 392629. Be a bit more clever about invalidating listboxes and combobox dropdowns when the focus ring moves. r+sr=bzbarsky 2007-09-27 16:06:31 -07:00
joshmoz@gmail.com a91716eeae extra measure of security for password textfields on Mac OS X. b=394107 r=smorgan sr=roc 2007-09-27 09:01:32 -07:00
bzbarsky@mit.edu ee74eef160 Only update the select command for focused text inputs. Bug 394792, r=roc, sr=neil, a=roc 2007-09-14 15:33:40 -07:00
bzbarsky@mit.edu 93b33bcffa When selectedIndex is set, make sure to display the corresponding text in the display area. Bug 330554, r+sr=mats, a=dbaron 2007-08-21 20:25:42 -07:00
bzbarsky@mit.edu ddcdc2b80d Make maxlength not affect initial values or scripted sets. Bug 345267, r+sr=mats, a=dbaron 2007-08-21 20:22:21 -07:00
bzbarsky@mit.edu 4a0892e86f Make auto-height abs-pos textfields with top and bottom offsets both set use their intrinsic height, per spec. Bug 385870, r+sr+a=dbaron 2007-08-21 20:07:25 -07:00
bzbarsky@mit.edu e51e8403e6 Make sure to process style updates before reflow, and both before painting. Bug 375436, r+sr=roc, a=dbaron 2007-08-21 19:57:06 -07:00
bzbarsky@mit.edu 34769343d2 When a file has already been selected, correctly prefill the filepicker with that file. Bug 374013, r+sr=sicking, a=dbaron 2007-08-14 11:42:10 -07:00
enndeakin@sympatico.ca 5340e19698 Bug 390420, select dropdowns appearing in the wrong place in some cases, r+bz,a=dbaron 2007-08-10 05:42:06 -07:00
bzbarsky@mit.edu 77efa38741 Account for the padding on our anonymous div when sizing. Bug 388086, r+sr+a=dbaron 2007-08-02 15:06:00 -07:00
bzbarsky@mit.edu f96769770e Don't optimize away necessary reflows. Bug 388374, r+sr+a=dbaron 2007-08-02 15:02:25 -07:00
bzbarsky@mit.edu 9c59e9e4cc Introduce a setter for nsHTMLReflowState::mComputedHeight so that we're sure to
update the resize flags properly.  Bug 388084, r+sr+a=dbaron
2007-08-02 11:08:05 -07:00
roc+@cs.cmu.edu a28eeaaafd Bug 379349. Add support for 'overflow containers' --- special frame continuations that do not map any content of their own, but serve only as containers for laying out children that overflowed their parents' content height. patch by fantasai, r+sr=eli,roc 2007-07-25 21:03:29 -07:00
bzbarsky@mit.edu bea1e960d8 Avoid doing some work when initializing textfields. Bug 221150, patch by
peterv and a little bit me, r=me, sr=roc
2007-07-24 17:11:22 -07:00
Olli.Pettay@helsinki.fi 076594c97a Bug 355367, textbox onchange doesn't fire if user tabs out and value changed in onkeydown, r=jst, sr=sicking 2007-07-20 16:19:19 -07:00
bzbarsky@mit.edu b66e0608e5 Update the visual look of a file input when privileged script sets its value.
Bug 387978, r+sr=sicking
2007-07-13 21:46:09 -07:00
peterv@propagandism.org f7ff5666a6 Fix for bug 386496 (Clicking on link in designMode document does follow that link now). r/sr=bz. 2007-07-11 06:05:05 -07:00
mrbkap@gmail.com cf72287e8c Backing out this change to see if it fixes the test failures. 2007-07-09 16:05:44 -07:00
mrbkap@gmail.com bc4b050f93 Attempt to re-enable async reflow and painting in editor. bug 174823, r+sr=roc 2007-07-09 14:55:18 -07:00
jwalden@mit.edu 6d7584839a Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
bzbarsky@mit.edu 4786dc1f42 Fix bug 387154 -- rendering of narrow buttons (for which we need to scoot the
text over to the left) regressed.  r+sr=dbaron
2007-07-06 17:48:29 -07:00
mats.palmgren@bredband.net 42a227c78a Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst 2007-07-03 19:15:31 -07:00
bzbarsky@mit.edu e7710fdc6c Fix parent style context warnings by being consistent about parent contexts.
Bug 380116, r+sr=dbaron
2007-06-15 22:11:20 -07:00
aaronleventhal@moonset.net 2d4c33954a Fixing bustage 2007-06-14 06:47:23 -07:00
aaronleventhal@moonset.net 9987549b99 Bug 384265. No accessible focus events fired during incremental find in an HTML <select>. r=mats, sr=neil 2007-06-14 06:18:16 -07:00
joshmoz@gmail.com d6015ce03e don't let comboboxes render their labels over the native combobox button on Mac OS X. b=382043 r/sr=roc 2007-05-28 22:31:04 -07:00
joshmoz@gmail.com 37c5a30cdd clean up unused methods and virualized methods in nsButtonFrameRenderer. Patch by Rob Arnold. b=315347 r/sr=roc 2007-05-23 13:32:56 -07:00
joshmoz@gmail.com d12acf85cf don't add scrollbar width to getPrefWidth in nsComboboxControlFrame if the themed widget has set the internal button width to 0. b=381669 r/sr=roc 2007-05-23 12:16:27 -07:00
joshmoz@gmail.com f5147def1c Don't paint the background for the text frame in comboboxes if the combobox is themed. b=381268 r/sr=roc 2007-05-22 12:42:01 -07:00
joshmoz@gmail.com 79ffe0b1d1 don't put a dropmarker in comboboxes if nsITheme says not to. b=370282 r/sr=roc 2007-05-17 20:04:04 -07:00
mats.palmgren@bredband.net fa393167a2 Protect against frame destruction during event handling and document when that can occur. b=378670 r+sr=bzbarsky 2007-05-17 04:12:30 -07:00
Olli.Pettay@helsinki.fi 7817abfbca Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:11:38 -07:00
Olli.Pettay@helsinki.fi 40178e46a3 backout Bug 363089 2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi e1fb8b073b Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst 2007-05-11 04:15:11 -07:00
bzbarsky@mit.edu 1b5f6b30b6 Change the FrameNeedsReflow API to pass the dirty flags to be added directly tothe method, instead of setting them before calling the method. That way we canavoid reflowing the ancestor of a reflow root which is not itself dirty but hasdirty children. This also makes it harder to set dirty bits inconsistentlywith the FrameNeedsReflow call. Bug 378784, r+sr=dbaron, pending rbs' reviewon the mathml parts. 2007-05-06 12:16:51 -07:00
bzbarsky@mit.edu b2ab6a6008 Fixing build bustage 2007-05-04 23:37:05 -07:00
bzbarsky@mit.edu bf4922535e Don't cut off the right-hand side of empty comboboxes. Bug 364510, r+sr=dbaron 2007-05-04 23:20:10 -07:00
bzbarsky@mit.edu 9cd2a580d0 Make computed style handle "normal" for line-height by computing an actualnumeric height. Bug 371041, r+sr=dbaron 2007-05-04 22:30:10 -07:00
dbaron@dbaron.org ace3611ec9 Add support for -moz-intrinsic, -moz-min-intrinsic, -moz-shrink-wrap, and -moz-fill for width, min-width, and max-width. b=311415 r+sr=bzbarsky 2007-05-03 16:11:00 -07:00
bzbarsky@mit.edu 086c2eb0c0 Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(0) to using this API. Bug 378780. API introduction part by me,r+sr=jst. Mass-changes done by taras using squash, r+sr=me 2007-05-01 15:24:20 -07:00
bzbarsky@mit.edu 9beffcc014 Make assertion reflect reality better. Bug 357044, r+sr=roc 2007-04-25 18:17:05 -07:00
benjamin@smedbergs.us baab01ada6 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00
sharparrow1@yahoo.com f1300f32f7 Bug 378129: Consistently pass the right frame to InvalidateInternal. r+sr=roc. 2007-04-20 16:51:12 -07:00
bzbarsky@mit.edu eeaa1a101b Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc. 2007-03-30 14:11:41 -07:00
joshmoz@gmail.com ed5252f114 remove app-specific code from tier-9 code. add a pref to handle native popup windows on Mac OS X instead. b=323062 r=smorgan sr=bsmedberg 2007-03-30 12:51:51 -07:00
Olli.Pettay@helsinki.fi a1dca72a56 375196, r+sr=roc 2007-03-25 22:38:22 -07:00
hg@mozilla.com 05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
dbaron%dbaron.org 405d600298 When drawing images, track full source and dest regions (unclipped) or use floats, to avoid rounding problems with advanced image resizing algorithms. b=371434 r=vlad r+sr=roc 2007-03-20 00:58:20 +00:00
bugzilla%standard8.demon.co.uk 6272626282 Bug 373240 Uppercase the VK_* bits for consistency with the rest of the codebase (Dv1, layout) p=Serge Gautherie <sgautherie.bz@free.fr>,r/sr=dbaron 2007-03-19 20:00:12 +00:00
Olli.Pettay%helsinki.fi 1f2499afdc Bug 373586 , r+sr=roc 2007-03-19 10:23:29 +00:00
Olli.Pettay%helsinki.fi c9355efc94 Backout bug 373586 2007-03-19 08:13:01 +00:00
Olli.Pettay%helsinki.fi de33e16799 Bug 373586 , r+sr=roc 2007-03-19 06:30:41 +00:00
sharparrow1%yahoo.com edd46f382e Bug 373381: Rendering of radios/checkboxes with auto width has regressed. r+sr=roc. 2007-03-14 02:47:05 +00:00
bzbarsky%mit.edu 7bf5f8b7a1 Make the display frame resize correctly when the <select>'s width changes. Bug
370422, r+sr=dbaron
2007-02-28 03:04:38 +00:00
dbaron%dbaron.org 9d7f938b99 Clean up IsFrameOfType methods to call their base class IsFrameOfType methods reliably. b=341326 r+sr=roc 2007-02-24 18:33:33 +00:00
mats.palmgren%bredband.net ca7914d49f Make nsFileControlFrame, nsIsIndexFrame and nsLegendFrame QI to kBlockFrameCID. b=370933 r+sr=bzbarsky 2007-02-24 04:42:53 +00:00
sharparrow1%yahoo.com 4862938c93 Bug 370379: Create views less frequently. Stops creating views for -moz-hidden-unscrollable, opacity, fixed backgrounds, and scrollbars, plus removes some unneeded methods from views and view managers. r+sr=roc. 2007-02-24 00:23:42 +00:00
bzbarsky%mit.edu 997dd25704 deCOMtaminate SetBounds(), GetChildBox(), GetNextBox(), GetParentBox(),
GetVAlign(), GetHAlign().  Remove GetInset().  Bug 243370, patch by Andreas
Lange <anlan@lange.cx>, r+sr=roc
2007-02-22 18:05:14 +00:00
asqueella%gmail.com d3c60663af fix 370967 - crash when focusing the input of an <isindex> and then reloading the document
(move the (mInputContent)->RemoveEventListenerByIID call from the destructor to Destroy() so that it actually gets called.)
r+sr=roc
2007-02-20 20:25:14 +00:00
bzbarsky%mit.edu ad75d79f05 Make blocks whose ancestors are not blocks have the NS_BLOCK_MARGIN_ROOT and
NS_BLOCK_SPACE_MGR bits as necessary.  Bug 354600, r+sr=roc
2007-02-18 23:53:25 +00:00
asqueella%gmail.com 284a5ea424 bug 257868 - remove the nsIPresShell::SetAnonymousContentFor() API, make the frames store strong refs to the anonymous content instead. Decomtaminate nsIAnonymousContentCreator.
r+sr=roc
2007-02-18 17:34:09 +00:00
asqueella%gmail.com e70812ddff bug 370371 - remove nsIImageControlFrame, have the frame set the last clicked point as a property on its mContent instead.
r+sr=roc
2007-02-18 16:49:54 +00:00
martijn.martijn%gmail.com c4b0d07d4c Bug 336147 � Changing innerHTML for input type=button causes miss-rendering, patch by Ryan Jones, r+sr=roc 2007-02-17 14:14:08 +00:00
joshmoz%gmail.com ad35697de6 extend nsITheme to support native focus drawing. b=370549 r=dbaron sr=roc 2007-02-16 01:53:43 +00:00
sharparrow1%yahoo.com db47d007bc Bug 370303: Cleanup in layout/forms. r+sr=roc. 2007-02-15 10:58:31 +00:00
smontagu%smontagu.org 2932d47653 Remove obsolete state bit NS_BLOCK_SHRINK_WRAP. Bug 369243, r=bz, sr=dbaron 2007-02-15 05:07:57 +00:00
joshmoz%gmail.com 12ad810794 cleanup. r+sr=dbaron 2007-02-14 21:00:15 +00:00
sharparrow1%yahoo.com fc5994f67d Bug 370185: clean up view header includes (trivial). rs=bzbarsky. 2007-02-12 19:31:59 +00:00
sharparrow1%yahoo.com 76a64e5c22 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
Olli.Pettay%helsinki.fi b3361bf8f9 Bug 243370, deCOMtaminate parts of nsIFrame that come from nsIBox, part 2, p=anlan@lange.cx, r+sr=roc 2007-01-31 16:02:42 +00:00
bzbarsky%mit.edu 4fcbe6d913 Remove some no longer needed code. Bug 368273, r+sr=dbaron 2007-01-30 05:52:27 +00:00
cvshook%sicking.cc a39ff30284 Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128 2007-01-30 00:06:41 +00:00
bzbarsky%mit.edu baec9bd166 Make mComputedWidth private, with a getter/setter, and make the setter update
the resize flags.  Bug 367442, r+sr=dbaron
2007-01-26 00:05:12 +00:00
dbaron%dbaron.org f6245f0ed9 Change the bulk of ascent (baseline) computation to happen on a virtual method on nsIFrame, and remove the redundant descent member from nsHTMLReflowMetrics, primarily to support having both first-line and last-line baselines. b=367332 r+sr=roc 2007-01-23 04:06:56 +00:00
bzbarsky%mit.edu c563021eab Remove some redundant (but not quite identical, hence asserting) logic. Bug
367587, r+sr=roc
2007-01-22 04:29:35 +00:00
bzbarsky%mit.edu 7a61f6f940 Don't do XUL collapsing stuff with HTML text inputs or HTML scrollframes. Bug
335628, r+sr=roc
2007-01-22 04:27:31 +00:00
bzbarsky%mit.edu 3ef8c518f2 Fix painting of focus outline for empty <select>s. Bug 362995, r+sr=roc 2007-01-17 23:17:30 +00:00
bzbarsky%mit.edu 3f669c3420 Fix the width computations for the dropdown to actually account for the border
and padding.  Bug 365837, r+sr=dbaron
2007-01-11 17:59:41 +00:00
bzbarsky%mit.edu a5fc5ca803 Notify correctly about legend frames being added -- need to mark all our
ancestors as having a dirty child, not just the immediate ancestor.  Bug
366537, r+sr=dbaron
2007-01-11 17:56:25 +00:00
bzbarsky%mit.edu 5bb5b8f623 deCOMtaminate nsIFrame::GetMinSize/GetPrefSize/GetMaxSize. Bug 243370, patch
by Andreas Lange <anlan@lange.cx>, r+sr=roc
2007-01-08 02:57:59 +00:00
mats.palmgren%bredband.net 3737d80b97 OnChange is sometimes triggered for scripted changes. b=265047 r+sr=jst 2007-01-05 16:31:07 +00:00
jwatt%jwatt.org bbb6339dc9 Fixing bug 334587. Unify event handling for links and fix various XLink bugs. r=olli.pettay@gmail.com, r=dbaron@mozilla.com, sr=bugmail@sicking.cc 2007-01-04 10:53:59 +00:00
timeless%mozdev.org 4e651390ef Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
dbaron%dbaron.org 2084e073f8 Eliminate nsStyleBorderPadding and add margin/padding/content rect APIs to nsIFrame. b=332922 r+sr=roc 2006-12-20 01:23:45 +00:00
bzbarsky%mit.edu 3688023262 Remove the consumers of GetScrollBarDimensions so that we can work on removing
the API too.  Bug 364301, r+sr=roc
2006-12-19 15:08:34 +00:00
dbaron%dbaron.org d5af630c22 Better API for used padding/border/margin: remove deprecated Calc*For on nsStyleStructs and add GetUsed* to nsIFrame. b=332922 r+sr=roc 2006-12-13 23:04:57 +00:00
uriber%gmail.com 3faa594f22 Use the containing block's direction (LTR/RTL) instead of this frame's direction when deciding on default alignment of the frame. bug=328181 r+sr=dbaron 2006-12-13 16:16:25 +00:00
roc+%cs.cmu.edu 6c862f2172 Bug 344894. Process mContentFrame before mLegendFrame in nsFieldSetFrame::BuildDisplayList, because mContentFrame might have out-of-flow frames whose placeholders are in mLegendFrame and we always need to visit out-of-flow frames before their placeholders while building display lists. r+sr=dbaron 2006-12-10 21:53:53 +00:00
dbaron%dbaron.org 31f1898810 Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213. 2006-12-08 05:38:33 +00:00
mats.palmgren%bredband.net df6357f4ed Make sure text input onchange handler is called before onblur. b=357684 r=Olli.Pettay sr=bzbarsky 2006-11-28 13:08:23 +00:00
bzbarsky%mit.edu b856b2c477 Back out bug 354600 to fix regressions. 2006-11-19 20:23:56 +00:00
Olli.Pettay%helsinki.fi 8b6f4c022e Consolidate NS_MOUSE_***_UP/DOWN/CLICK/DBLCLICK events, r=jst,roc,josh,sergei_d,emaijala,mkaply 2006-11-16 21:35:39 +00:00
bzbarsky%mit.edu cbcaad14b4 Make block frames that are not kids of blocks automatically have space managers
(and margin roots, except in the columns case) so we don't have to play
whack-a-framestate-flag.  Bug 354600, r+sr=roc
2006-11-16 17:51:53 +00:00
bzbarsky%mit.edu f0ebd23c1e Additional tweak to the patch for bug 355931 -- fix QI too. 2006-11-13 22:20:39 +00:00
bzbarsky%mit.edu c4e415d4a7 Don't use frames to implement interfaces, dammit. Just don't! Bug 355931, r+sr=roc 2006-11-13 22:05:25 +00:00
masayuki%d-toybox.com d0d3a21ea2 Bug 359496 focus outline on combobox <select>s is always drawn in black r+sr=dbaron 2006-11-04 17:28:39 +00:00
bzbarsky%mit.edu 1adfb9e915 Fix combobox outlines. Bug 328340, r+sr=dbaron 2006-11-03 00:22:31 +00:00
bzbarsky%mit.edu 618c586548 When setting the textfield value via the filepicker, tell it that it's not
focused so that onchange will fire as it should.  Bug 355362, r+sr=jst
2006-10-15 15:39:35 +00:00
Olli.Pettay%helsinki.fi e570a5020d Bug 328907, Remove selectHas(No)Groups events, r+sr=sicking 2006-10-03 20:16:51 +00:00
mats.palmgren%bredband.net c9b7b60dce Make sure we fire onchange also after selectedIndex was set to -1 through DOM. Thanks to Pablo Greco for helping fix this. b=317078 r+sr=roc 2006-09-30 05:07:49 +00:00
bzbarsky%mit.edu feea3a45cc Reinstate reflow count painting when it's needed. Bug 352851, r+sr=roc 2006-09-19 04:26:20 +00:00
bzbarsky%mit.edu b7a3c71cc9 Remove the business about not knowing our collapsed state at first. We do know
it, and we're collapsed.  Bug 352394, r=mats, sr=roc
2006-09-14 00:54:44 +00:00
sayrer%gmail.com 9395f31ee3 bug 348669. Remove inappropriate nsCRT::free usage. r=timeless, sr=dbaron 2006-09-08 04:35:17 +00:00