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

11009 Коммитов

Автор SHA1 Сообщение Дата
jst%netscape.com 2ab3b02548 Fixing bug 63943. Accessing .offsetXXX properties on elements must call FlushPendingNotifications() on the document and not only on the pres shell to make sure the sink flushes all its content so that frames exists for all elements. r=heikki@netscape.com, sr=rpotts@netscape.com 2001-01-09 01:26:05 +00:00
jst%netscape.com 34ec509fb4 Code cleanup, no bug. Make the implementations of methods whose return type is declared as NS_IMETHOD return NS_IMETHODIMP and not just nsresult. r=heikki@netscape.com 2001-01-09 00:03:42 +00:00
jst%netscape.com e664f14e29 Trivial code cleanup that removes the need for a kungFoDeathGrip. r=heikki@netscape.com 2001-01-08 23:43:56 +00:00
peterlubczynski%netscape.com 64d442f3ca removing dup of export of public nsIPrintContext.h 2001-01-08 23:02:14 +00:00
dcone%netscape.com a748902b2d Took out a duplicate line. 2001-01-08 23:00:46 +00:00
jst%netscape.com 20bffa53a7 Trivial code cleanup, no bug. Removing unused variable and using nsCOMPtr in stead of doing manual addref/release. r=harishd@netscape.com 2001-01-08 22:16:52 +00:00
peterlubczynski%netscape.com 568b1175ec export of public nsIPrintContext.h 2001-01-08 21:59:18 +00:00
dcone%netscape.com 83086f4e2c export nsIPrintContext.h 2001-01-08 21:53:41 +00:00
waterson%netscape.com e321d2f068 Bug 57026. Do not reparent views whenever we 'MoveChildrenTo()', because this breaks SplitToContainingBlock(): no views will have been created in this case! Instead, alter ConstructInline() to move views. r=karnaze, sr=buster. 2001-01-08 21:10:44 +00:00
disttsc%bart.nl 75dd673c80 Fix Mac bustage 2001-01-08 21:04:51 +00:00
disttsc%bart.nl 8a7cb5c5de Add newline to end of file 2001-01-08 21:02:13 +00:00
akkana%netscape.com d3089c475e 33088: restructure editor output routines. r=kin,buster,adamlock sr=sfraser 2001-01-08 21:01:29 +00:00
disttsc%bart.nl c6407781bc Fix linux/unix bustage 2001-01-08 21:00:25 +00:00
dcone%netscape.com e60df0c1c0 Added nsIPrintContext interface.
Added this so you can now tell if your laying out to a printer.
r=attinasi sr=buster
2001-01-08 20:26:05 +00:00
karnaze%netscape.com 88393f3bfd new regression tests, not affecting the build. 2001-01-08 19:04:29 +00:00
rods%netscape.com e6efaf8e39 changed add ref to from NS_ADDREF to NS_IF_ADDREF
Bug 63329, r=kmcclusk sr=buster
2001-01-08 14:06:34 +00:00
pierre%netscape.com b8588fe2ca Not part of the build. Momentarily check in the StyleContext metrics before doing deeper changes. 2001-01-08 00:24:41 +00:00
cls%seawood.org 48080011e3 Backing out anthonyd's previous checkin as it is causing text boxes to not work anywhere on at least beos, linux & win32.
Bug #62796
2001-01-07 15:11:50 +00:00
anthonyd%netscape.com 81ef2c37ad bug fix for 62796 - various range fixes, including a crasher in Range::deleteContents()
sr=kin@netscape.com
r=jst@netscape.com
2001-01-07 04:52:23 +00:00
jst%netscape.com d0880a733e Fixing bug 64513. Adding missing version number to a contract id. r=blakeross@telocity.com 2001-01-07 03:06:19 +00:00
bryner%uiuc.edu 7d0ac898af Bug 49273 - always set the hover state on content when we get a MOUSE_ENTER event. This prevents problems with some window managers that send MOUSE_LEAVE and MOUSE_ENTER events before ButtonPress events. r=saari, sr=blizzard. 2001-01-06 05:58:47 +00:00
jst%netscape.com d370359e69 Fixing regression introduced in my huge checkin a few weeks ago, backing out the change I made while doing some code cleanup/reorg 2001-01-05 23:26:05 +00:00
blakeross%telocity.com 554f310066 Fix 54963: mousewheel text sizing not bounded, and lower upper bound (to 2000%). patch by Jonas Sicking (sicking@bigfoot.com). r=bryner,blake a=ben 2001-01-05 23:06:09 +00:00
heikki%netscape.com 8705bdcd9d Bug 45420, createCDATASection should check for input ']]>' and some null pointer checks. Removed a bogus comment. Original patch from Taras Tielkes, needed to modify a little because we are now using nsAReadableStrings. r=jst, a=vidur. 2001-01-05 00:35:20 +00:00
bryner%uiuc.edu fc1f9d078b Bug 62763 - null check to prevent crash when mousewheel scrolling a textarea with style overflow:hidden. r=sspitzer, sr=tor. 2001-01-04 22:24:07 +00:00
rods%netscape.com c81b2c3b26 removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
rods%netscape.com 8947222653 When focus is removed and the the CBX is dropped down it rolls it up
r=kmcclusk, sr=buster Bug 64079
2001-01-04 12:22:29 +00:00
heikki%netscape.com 48c2612011 Bug 63560, XML content sink was not adding script element contents to the content model. Includes also minor optimizations and fixes 2 compiler warnings. r=harishd, a=vidur. 2001-01-04 00:30:11 +00:00
cmanske%netscape.com 724a594ae2 Fixed selecting multiple rows, columns. Bug 64093, r=mjudge, sr=kin,sfraser 2001-01-04 00:24:39 +00:00
akkana%netscape.com afbb09f715 56072: fix ctrl-left/right bindings on Unix. r=timeless,jag.anthonyd; a=kin 2001-01-04 00:01:34 +00:00
attinasi%netscape.com 37534f2aac Removed the bogus file-extension-as-image-type text from the title. b=47891 r=dcone sr=buster 2001-01-03 23:37:28 +00:00
attinasi%netscape.com 2e8ea38265 <input type=image> now shows focus. b=2504 r=rods sr=buster 2001-01-03 23:34:54 +00:00
bryner%uiuc.edu 6862b07fb9 Removing dead .toc files. Not part of build. a=sfraser. 2001-01-03 01:32:06 +00:00
karnaze%netscape.com 9f241091c7 bug 63785 - removed the patch from bug 33784. 2001-01-02 23:42:23 +00:00
mkaply%us.ibm.com e99a242b69 #50998
r=rods, a/sr=buster
OS/2 has support for GetAveCharWidth so enable it
2001-01-02 23:26:25 +00:00
attinasi%netscape.com b0f3327e7f Fixed leak in StyleContextCache: destructor was not cleaning up hash table entries. r=dbaron sr=buster b=63627 2001-01-02 23:13:49 +00:00
jst%netscape.com c362958cf3 Fixing bug 57534. document.open() is defined to not return anything in the DOM spec but for backwards compatibility it needs to return the document itself. r=blakeross@telocity.com, sr=brendan@mozilla.org 2001-01-01 20:54:38 +00:00
timeless%mac.com 555ad2b14a fix for bug 63475 Code Cleanup. Based on style flaws noticed in bug 61287
r=bryner, sr=brendan@mozilla.org.
2001-01-01 03:58:07 +00:00
dbaron%fas.harvard.edu 9bf75b01b1 Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com 2000-12-30 19:25:23 +00:00
dbaron%fas.harvard.edu 9430a92e06 Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com 2000-12-30 19:22:22 +00:00
dbaron%fas.harvard.edu e445666fe8 Add testcase for bug 63785 to block regression tests. Not part of build. 2000-12-30 15:46:29 +00:00
blakeross%telocity.com 2532c59179 Fix 41077: show caret during selection on Windows. r=rcassin@supernova.org sr=sfraser 2000-12-28 03:27:23 +00:00
heikki%netscape.com 61f81ef412 Bug 45627 and bug 45552. XMLSerializer to deal better with empty elements, special characters, elements from the HTML namespace and namespaces in general, and processing instructions. Removed a lot of duplicate code in XML Extras component, and made several small optimizations with nsCOMPtr initializations. r=vidur, a=jst. 2000-12-27 23:48:10 +00:00
sspitzer%netscape.com d88e082489 I have no desire to hear hyatt moo. r=bryner 2000-12-27 22:37:09 +00:00
blakeross%telocity.com 5883645a6f Fix 63721: removing extraneous code from nsHTMLButtonElement.cpp. It's Dead Code Removal week, so I'm just doing my part. r=jst sr=alecf 2000-12-27 08:41:29 +00:00
anthonyd%netscape.com 395ac65d31 fix for bug#58028 - Range CompareBoundaryPoints returning incorrect values
r=jst,kin
a=kin
2000-12-27 00:37:01 +00:00
anthonyd%netscape.com 68cf2c5e11 fix for bug#59577 - hang during keyboard navigation
r=kin
sr=buster
2000-12-27 00:22:25 +00:00
jst%netscape.com 71dde5c2c0 Removing unnecessary include files and forward declarations. 2000-12-26 01:21:25 +00:00
jst%netscape.com 7b3d01e9db Removing unused CID and doing some whitespace cleanup. 2000-12-26 01:01:41 +00:00
jst%netscape.com d0fd187bfa Removing dead code and unused member variables from nsHTMLDocument, r=timeless@mac.com. Oh, and wrap nsHTMLDocument::MatchLayers() in #ifdef NS_IMPLEMENT_DOCUMENT_LAYERS 2000-12-26 00:39:42 +00:00
blakeross%telocity.com 30253c1564 Fix 38416: entire textarea should have edit cursor. patch proposed by neil@parkwaycc.co.uk. r=blake sr=sfraser 2000-12-24 09:03:31 +00:00
jst%netscape.com 6727dcb7c0 Fixing a change I overlooked in my last big checkin that caused a crash in some cases where forms were accessed from JS. r=jag 2000-12-24 01:52:05 +00:00
jst%netscape.com e600425247 More mac bustage fixes... 2000-12-23 13:32:28 +00:00
jst%netscape.com 2d9b923669 One more attempt at fixing the mac redness. 2000-12-23 12:57:59 +00:00
jst%netscape.com bc0f424999 Fixing nsINameSpace leak introduced in my last checkin. 2000-12-23 12:14:41 +00:00
jst%netscape.com 9444e2ce66 Attempting to fix mac bustage. 2000-12-23 11:59:05 +00:00
jst%netscape.com de2ab2b085 removed files: mozilla/layout/xml/content/src/nsGenericXMLElement.cpp 2000-12-23 11:12:01 +00:00
jst%netscape.com 9e2b7ade05 Redoing the way code is shared between different element classes in mozilla, in stead of having an inner object (mInner) and forwarding function calls to the inner object the elements now inherit from what used to be the inner object. Previously nsIJSScriptObject and nsIContent (and related interfaces) were implemented on all leaf classes (~60 classes) and all the methods in those interfaces were forwarded to the inner object, now all those methods are inherited in stead. This saves us ~3600 methods in the layout library (and 160k of code on linux) and cleans the code up considerably. r=pollmann@netscape.com, harishd@netscape.com sr=vidur@netscape.com. 2000-12-23 10:56:31 +00:00
koehler%mythrium.com 7771e3b6b1 Bug 59528 - BeOS: images are drawn outside of its bounding box - r=cls 2000-12-22 23:19:04 +00:00
mkaply%us.ibm.com 9c3cffb4f5 OS/2 TB breakage
PR_CALLBACK
2000-12-22 02:39:03 +00:00
attinasi%netscape.com 0cf90f1779 Turning the Style Context FastCache back on. a=hyatt@netscape, reviewed previously by pierre@netscape.com 2000-12-21 23:34:44 +00:00
karnaze%netscape.com 32634b4d46 bug 42443 - consider over specified col spans when allocating array, sr=buster 2000-12-21 23:06:44 +00:00
karnaze%netscape.com 334923b410 bug 43204 - zero out padding for row/col group, ro/col, sr=buster 2000-12-21 23:05:15 +00:00
karnaze%netscape.com 003761d59a bug 40721 - improved TallestCellGotShorter(), sr=buster, r=rods 2000-12-21 23:03:42 +00:00
karnaze%netscape.com b59726b27d bug 33784 - added simple rule for "td div p", sr=buster, r=attinasi 2000-12-21 22:50:02 +00:00
attinasi%netscape.com 97216875d7 Fixes regression due to Style Data sharing: forcing shared contexts to be unique now when they have to be reresolved. b=63118 r=karnaze@netscape.com a=buster@netscape.com 2000-12-21 22:16:38 +00:00
pinkerton%netscape.com 5396c43148 rollup menu when we get a tab. r=saari, a=hyatt. bug #56381. 2000-12-21 20:40:14 +00:00
rods%netscape.com 44ea7c2a67 When clicking away from the dropdown, it wasn't resetting itself correctly.
If only the mouse was being used for selection, then it needs to reset itself to the state before dropping down
if arrow keys had been used then it needs to keep that selection
The combobox chaches the current selection, so when arrow keys are used it has the correct selection
when the mouse is used it holds the old selection. So therefore, we can compare against it
to determine what to do.
Bug 63247
r=waqar sr=hyatt
2000-12-20 23:25:40 +00:00
cmanske%netscape.com e4e8f945c9 Reinstating table selection work for bug 57863 and fixed textfield.value bug 63376. r=kin, sr=sfraser 2000-12-20 22:13:54 +00:00
leaf%mozilla.org 1b004f4d02 backing out regression-causing changes to reopen tree 2000-12-20 18:09:53 +00:00
rods%netscape.com 7dc59420b7 53259 - min-width and max-width not supported on form control
53457 - multiple items can be selected in select size=1 or in single select listbox
50376 - Cannot select with DOM option on dynamically created SELECT element
62442 - Incorrect extended selection behavior in listboxes

First big change is getting rid of local variables for border and padding and use the ones in the reflow state
Changed "IsInDropDownMode() == PR_TRUE && mComboboxFrame" to "IsInDropDownMode() == PR_TRUE"
Fix for regression from changing of how key events work (no bug assigned), this fix enabled the user to hit 'f' or 'F' and get to the first item that start with 'f' or 'F'
r=kmcclusk sr=buster
2000-12-20 15:15:28 +00:00
rods%netscape.com b554f7fdda 53259 - min-width and max-width not supported on form control
59035 - type of a BUTTON should default to submit when type isn't specified
r=kmcclusk sr=buster
2000-12-20 15:12:06 +00:00
rods%netscape.com ca5b944c63 53259 - min-width and max-width not supported on form control
r=kmcclusk sr=buster
2000-12-20 15:09:55 +00:00
rods%netscape.com 90dad7e393 53259 - min-width and max-width not supported on form control
58220 - Select boxes rendering weird when using CSS to small value
r=kmclusk, sr=buster
2000-12-20 15:09:00 +00:00
hyatt%netscape.com 3239785a27 make empty trees with rows=n size properly. a=ben 2000-12-20 07:47:55 +00:00
hyatt%netscape.com 8cbc25f19b fix 61471, a=ben 2000-12-20 07:25:19 +00:00
cmanske%netscape.com c2ee5bda7e Change param in GetDataForTableSelection from PRInt16 to PRInt32 (fixing build bustage) 2000-12-20 03:25:30 +00:00
cmanske%netscape.com 8a2fc88228 Change param in GetDataForTableSelection from PRInt16 to PRInt32 (fixing build bustage) 2000-12-20 03:23:32 +00:00
cmanske%netscape.com 4612fb38be Convert IDL defines from short to long so enums are PRInt32 on all platforms (fixing build bustage) 2000-12-20 03:15:16 +00:00
cmanske%netscape.com 6cc3434009 Trying to fix speedracer build bustage 2000-12-20 02:56:17 +00:00
cmanske%netscape.com 9814f5ffc1 Changed param from PRUint32 to PRInt16 for implementor of nsFrameSelection::HandleTableSelection (part of table selection work, bug 57863) r=jfrancis, sr=kin 2000-12-20 01:38:20 +00:00
cmanske%netscape.com 045d81f56a Changed param from PRUint32 to PRInt16 in nsFrame::GetDataForTableSelection; enums for param moved from .h file to .idl file. Part of table selection work, b=57863, r=jfrancis, sr=kin 2000-12-20 01:36:55 +00:00
cmanske%netscape.com cdfc880f41 Table selection work (part of b=57863): Moved param for GetTableSelectionDate from .h to .idl, requiring change from PRUint32 to PRInt16 for all users. Table Cell ranges are now added in document order (location in table) when selecting multiple cells. Refactored table selection methods and fixed leaks. r=mjudge, sr=kin 2000-12-20 01:36:41 +00:00
karnaze%netscape.com 56ff78acc5 new regression test not affecting the build. 2000-12-20 00:45:05 +00:00
karnaze%netscape.com 06e3bf7ab1 new regression tests not affecting the build. 2000-12-19 23:06:23 +00:00
karnaze%netscape.com 5550404d5b fix mac bustage 2000-12-19 21:16:41 +00:00
karnaze%netscape.com 968a35634b bugs 47163, 60807 and others, sr=buster
simplified BasicTableLayoutStrategy's CalculateTotals and CanAllocate
better calculation of proportional cols
calculation of adjusted widths due to colspans honors the fixed and pct widths of cols being spanned
2000-12-19 20:29:46 +00:00
karnaze%netscape.com 86b7ac2555 new regression test, not affecting the build. 2000-12-19 02:16:44 +00:00
rods%netscape.com 9b0fb27e9a Removed unneded setting of index to kNothingSelected when an disabled option is selected
r=blake, sr=buster Bug 57580
2000-12-18 21:36:01 +00:00
jst%netscape.com aad156274a Fix a refcounting screwup I caused in my last checkin. r=pavlov 2000-12-16 23:38:56 +00:00
dbaron%fas.harvard.edu e1135922c9 Make destructors that exist only for MOZ_COUNT_DTOR be #ifdef NS_BUILD_REFCNT_LOGGING instead of #ifdef DEBUG so the leak stats on optimized builds are correct. r=waterson@netscape.com sr=brendan@mozilla.org b=62421 2000-12-16 18:56:06 +00:00
blakeross%telocity.com 0daa3168a2 Fixing a typo (refrlow -> reflow). r=attinasi sr=alecf 2000-12-15 23:48:55 +00:00
attinasi%netscape.com dad1495c6a Turned on Style Context Data Sharing. b=39618, r=pierre, sr=hyatt 2000-12-15 06:09:50 +00:00
jst%netscape.com d2ee134807 Fixing bug 62160, accessing ins or del elements from JS didn't work and caused a crash in the JS GC later on. sr=scc@mozilla.org, r=ben@netscape.com 2000-12-15 05:48:19 +00:00
attinasi%netscape.com ea601a2acd Fixed bad path in URI. Not part of build. 2000-12-15 00:48:39 +00:00
karnaze%netscape.com e50f77a950 added delays to regression file lists, not affecting the build. 2000-12-15 00:09:31 +00:00
jst%netscape.com 21f9b3d8a4 Adding protection for the casae where there's no root element in a document, bug 58477. r=blakeross@telocity.com, sr=scc@mozilla.org 2000-12-14 22:37:22 +00:00
buster%netscape.com 2a61173475 regression test additions and improvements.
no source code changed, not part of build, so no reviewer
2000-12-14 22:05:52 +00:00
attinasi%netscape.com 6dd2b0e2ff <abbr> and <acronym> elements with title attributes are now styled with dotted underlines and get a help cursor by default. b=56702 r=rods sr=buster 2000-12-14 18:34:05 +00:00
rods%netscape.com 7d5971c5ac The changes to the select are to bring it back inline with what the rules were before they were optimized
The checkbox changes are to give it margins in standard mode and themake the vertical-align bottom so it is positioned correctly on the line.
Bug 62445, Bug 62350 r=kmcclusk, sr=buster
2000-12-14 15:18:45 +00:00