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

7690 Коммитов

Автор SHA1 Сообщение Дата
rods%netscape.com 74b2e185aa Fixed the edge case where the select may have zero
options or one optionwith no lable and no content and it sizes out to be zero
high also fixed twhere visibility was being check incorrectly
r=kmcclusk
1999-12-22 20:03:03 +00:00
rods%netscape.com a10fd6a960 fixed visibility check error
r=kmcclusk bug=21701
1999-12-22 19:54:21 +00:00
rods%netscape.com c3679c3727 turned off some rods debug output and fixed visibility check error
r=kmcclusk bug=21701
1999-12-22 19:52:56 +00:00
rods%netscape.com c37936155f changed clipping in Paint to be intersect instead of replace
r=kmcclusk
1999-12-22 19:50:47 +00:00
rods%netscape.com 7c47447ac9 Fixed the edge case where the select may have zero options or one option
with no lable and no content and it sizes out to be zero high
also fixed twhere visibility wasbeing check incorrectly
r=kmcclusk
1999-12-22 19:49:36 +00:00
rods%netscape.com b3fcb59f48 Added experimental ifdef;ed but turned for reducing the number of resize reflows,
basically we ignore them and pass back our most recently reflowed size
r=karnaze bug=22063
1999-12-22 19:46:28 +00:00
rods%netscape.com 6e3b6e81b4 addjusted fonts in several of the form controls. most now inherit
tightened up some of the rules for the select
r=buster,hangus,kmcclusk bug 19426,17303,17114
1999-12-22 19:43:30 +00:00
pierre%netscape.com 0aaa5d3390 16381 "Need to be able to specify -moz-border-radius for each corner". Made changes in the following files in order to store the radius as a nsCSSRect and support 4 new -moz-border-radius properties (topLeft, topRight, bottomRight, bottomLeft): nsCSSDeclaration.cpp nsCSSParser.cpp nsCSSPropList.h nsCSSStyleRule.cpp nsICSSDeclaration.h nsIStyleContext.h nsStyleContext.cpp nsCSSRendering.cpp The (small) changes in nsCSSRendering.cpp are temporary. It's just to reflect the changes made elsewhere in the style context. The code that actually draws the RoundRect with a different radius for each corner will be implemented later today. 1999-12-22 11:30:22 +00:00
pierre%netscape.com a725da285d 16381 "Need to be able to specify -moz-border-radius for each corner". Made changes in the following files in order to store the radius as a nsCSSRect and support 4 new -moz-border-radius properties (topLeft, topRight, bottomRight, bottomLeft): nsCSSDeclaration.cpp nsCSSParser.cpp nsCSSPropList.h nsCSSStyleRule.cpp nsICSSDeclaration.h nsIStyleContext.h nsStyleContext.cpp nsCSSRendering.cpp 1999-12-22 11:27:10 +00:00
ftang%netscape.com 1986cf104e partial fix for bug 15533 (size part). 1. change the return value from nsPiont to nsRect. Change widget code to reflect the change. In Gtk, change XIM FontSet based on the rect height. r=cata a=chofmann 1999-12-22 07:56:40 +00:00
pierre%netscape.com 58b4c59a41 Added the CSS2 printing extensions to the style system (page breaks, page size...). They are not used by Layout yet. 1999-12-22 05:00:47 +00:00
briano%netscape.com a02916e73e Fix for build breakage on NetBSD/arm. 1999-12-22 03:54:58 +00:00
waterson%netscape.com dc9bf80e34 Fix misuse of nsCOMPtr that was leaking style contexts from the progress meter frame. r=pinkerton, a=sdagley 1999-12-22 01:59:01 +00:00
pinkerton%netscape.com a37e2eaebe forgot to call the inherited base class QI when i rewrote the qi impls. xpmenus work again. a=sdagley. 1999-12-22 01:57:29 +00:00
vidur%netscape.com bd28458c92 Fix for bug 21122. Don't capitalize the value of the type attribute of list elements for cases in which the case is significant. Fix for bug 20677. Temporary fix that ensures that SetDocument calls percolate down the entire subtree. a=dagley r=nisheeth 1999-12-22 01:55:38 +00:00
vidur%netscape.com ca30edfe8f Fix for bug 9779. Element::normalize() now combines more than 2 nodes. Fix for bug 20677. Temporary fix that ensures that SetDocument calls percolate down the entire subtree. a=dagley r=nisheeth 1999-12-22 01:54:04 +00:00
vidur%netscape.com 1c0c61c381 Fix for bug 17726. Text.splitText now creates the correct type of node. Added nsITextContent::CloneContent to enable cloning without copying of the text. a=dagley r=nisheeth 1999-12-22 01:51:58 +00:00
vidur%netscape.com 996381c8eb Fix for bug 18840. Radio button groups are now reflected as collections in a form's namespace. Added nsIDOMHTMLFormControlList interface and special handling for namedItem method that return a jsval. a=dagley r=pollmann 1999-12-22 01:48:47 +00:00
waterson%netscape.com fdcc8bcf32 Bug 22305. Fix accounting for style sheets and rule processors; r=buster, a=sdagley 1999-12-22 01:41:42 +00:00
sspitzer%netscape.com 5afbc93e4c initialize some variables, fix a comment, fix a FMM 1999-12-22 00:41:38 +00:00
pinkerton%netscape.com f9b10b788d 2nd fix for bustage, i hope. 1999-12-21 20:15:48 +00:00
pinkerton%netscape.com 9cfe366ead fix for bustage, i hope. 1999-12-21 19:56:15 +00:00
hyatt%netscape.com 563b3b509d Patch that gets tabbing back into text fields. r=waterson 1999-12-21 19:35:13 +00:00
pinkerton%netscape.com c1fd7f7797 remove hand-rolled QI and using scc's macros. Also removing static IID's where necessary. r=hyatt,scc a=sdagley. 1999-12-21 19:28:15 +00:00
saari%netscape.com 8c44b2b1a8 Simple check for null fix for a crasher that some people are seeing quite a lot today. It is reflected in bug 22024. R= waterson, a= chofmann 1999-12-21 01:12:40 +00:00
karnaze%netscape.com fab6f1bda6 new regression tests 1999-12-19 18:55:07 +00:00
jband%netscape.com 9ea2a63599 added files: mozilla/layout/base/src/nsLayoutUtils.cpp 1999-12-18 20:30:17 +00:00
jband%netscape.com 7d0cb0f4bb Landing big set of DOM and XPConnect changes:
DOM: getting rid of JS_GetContextPrivate wherever possible. Use static parent
links where we can. When we do need to find this info about the caller
we call a function that knows how to get that info rather than inline calls
to JS_GetContextPrivate. This is all required for calling DOM objects on
non-DOM JSContexts as we do via xpconnect.

XPConnect: basic refactoring work to disassociate wrappers from the JSContext
that was active when the wrapper was constructed. This allows for calling into
wrapped JS objects on the right JSContext and for proper grouping of wrapped
native objects so that they can share proto objects. This also allows for
better sharing of objects and lays the foundations for threadsafety and
interface flattening.

Also, xpconnect tests are reorganized and improved.

fixes bugs: 13419, 17736, 17746, 17952, 22086

r=vidur r=mccabe r=norris r=cbegle
a=chofmann
1999-12-18 20:29:29 +00:00
hyatt%netscape.com 64b7811b77 Fixes for 3 PDT+ bugs (THAT'S RIGHT). Bugs 21895, 21832, and 21610. r=mjudge,
a=i'm leaving now for vacation, and i can't find anyone around, but i'm assuming that you
actually want them before January 3rd, so I'm checking them in.
1999-12-18 04:02:28 +00:00
tbogard%aol.net 780e191953 Fixing some places when talking to the webshell object to start talking through the new docshell interfaces. 1999-12-18 02:09:29 +00:00
karnaze%netscape.com 0bd8889d26 new regression test not in the build 1999-12-17 13:33:26 +00:00
buster%netscape.com 6b77fe4e00 fixed bugs 21612 ([dogfood] first click doesn't get through to text field)
and 18500 (Can't drag-select in text widget unless focussed first)
This fix does NOT address other focus-related problems having to do with text controls.
r=rickg
a=chofmann
platform testing support=kin,dcone,akkana (THANKS!)
1999-12-17 07:10:10 +00:00
karnaze%netscape.com b5faeaafc6 bug 21918 typo in calling InsertRowGroups, r=sdagley,syd 1999-12-17 06:52:37 +00:00
alecf%netscape.com 8dc8ab82ae fix for #21417
r=troy, a=chofmann
the editor's internal mDisplayFrame was not being removed from the frame manager's map of content->frames, so after enough scrolling in the addressing pane, reflow would try to reference a deleted frame. Fix is to remove the frame from the frame manager every time it's destroyed.
1999-12-17 03:28:50 +00:00
mscott%netscape.com 1fec7316ef fix a memory leak involving the global context 1999-12-17 00:46:11 +00:00
mjudge%netscape.com 92cc79d021 Precursor change to akkana and hyatts fix for platform dependent key-bindings. HOME and END will now implement the scroll to top and scroll to bottom for mac. Scroll and Move for pageup/pagedown and CTRL-HOME and CTRL-END on windows will not work until m13. This is ok for now and will hurry up completion of M12. r=akkana. simple fix like 10 lines really. 1999-12-16 22:48:02 +00:00
dcone%netscape.com 48235a56c9 Used the height and width of the page returned from the nsDeviceContext instead of hard coded values. r=buster 1999-12-16 15:15:23 +00:00
mccabe%netscape.com d2ef9f4de3 Fix to 21900.
#ifdef strftime formatting string "%#c" ('format to 4-digit date string, any format') to "%c" for non-Windows platform, as only Windows accepts, requires or understands that extra '#' to get a 4-digit date.

Thanks to KerryGinn@computer.org for spotting this one.  (document.lastModified came out as "%#c" on a mac.)

r=Pavlov
a=choffman.
1999-12-16 09:06:41 +00:00
karnaze%netscape.com 060cdd1438 bug 21143/21765, collapsed rows/cols not displayng when expanded. 1999-12-16 06:29:50 +00:00
pollmann%netscape.com ae49f283f3 Bug 21013: Add base url to NS_NewURI - this allows forms to be submitted to relative url's. r=pierre a=chofmann My contact info=650.520.3348 1999-12-16 02:51:47 +00:00
karnaze%netscape.com ceb109b81b removed caching of collapsed rows and cols as a likely fix for non reproducable bug 21652. a=hofmann, r=hyatt 1999-12-16 01:51:06 +00:00
karnaze%netscape.com e232b9136c small change Hyatt discovered and forgot to checkin. r=hyatt 1999-12-16 01:45:22 +00:00
saari%netscape.com 3b2622d69c Missed part of my previous checkin to stop double pastes... exporting the event stop dispatch state back out of ngGfxTextControlFrame 1999-12-16 00:43:07 +00:00
hyatt%netscape.com b1d37ddf32 Fix for bug #21703. r=karnaze, a=chofmann 1999-12-16 00:37:03 +00:00
saari%netscape.com adb74c199d Fix for PDT+ bug 21536. r=hyatt 1999-12-16 00:34:43 +00:00
saari%netscape.com 97e523f919 Fix for PDT+ bugs 21602 and 21648. r=joki 1999-12-15 22:04:43 +00:00
alecf%netscape.com 2d22a2168d fix for #20508
set parent of anonymous  to nsnull before destroying the frames, and remove the frame references from the event state mananger
r=hyatt,waterson
a=chofmann
1999-12-15 20:58:32 +00:00
norris%netscape.com c0cd71da8f Fix bug 21144 "[DOGFOOD] Executing JS functions in "chrome:" protocol (creating local directories and profiles)"
r=pollmann,a=chofmann
Basically, this just calls a method in the security manager to determine if a page loaded from the document's URI
can be allowed to open a page from the ACTION URI. This is the same check that's currently used on window.open,
for example.
1999-12-15 17:20:31 +00:00
mjudge%netscape.com 39d5616293 oops forgot to remove 2ND! line from makefile 1999-12-15 05:22:07 +00:00
sfraser%netscape.com 015c1b757a Remove nsEditorController.cpp for mjudge. 1999-12-15 04:07:39 +00:00
mjudge%netscape.com df221dba54 new idl for line up/down scrolling 1999-12-15 03:56:32 +00:00
mjudge%netscape.com cbf854d388 adding in nsISelectioncontroller idl for line up/down. fixing editor controller usage for input and textareas. changin nsGfxTextControlFrame.cpp to add editor controllers at the time we need them, not when the control is created due to the delay of the nsEditor creation. nsPresShell implements the new nsISelectionController interfaces. changed makefiles to reflect missing nsEditorController also. 1999-12-15 03:54:52 +00:00
danm%netscape.com d4c1aaf21b check for null context in SetDocument. part of fix for bug 19302. r:hyatt a:chofmann 1999-12-15 02:15:57 +00:00
pollmann%netscape.com 9c8f100f49 Bug 11762: Send initial reflow to collapsed frames and recalc size of collapsed frames on reflow. r=evaughan a=chofmann 1999-12-15 00:10:24 +00:00
pollmann%netscape.com 78ccc9c47f Bug 11762: Create a webshell for an iframe even if size is 0x0. r=evaughan a=chofmann 1999-12-15 00:09:10 +00:00
vidur%netscape.com 532f825d98 Fix for bugs 20737. Named layers are no longer reflected into the document namespace. Also 9787. document.clear implemented. a=chofmann, r=pollmann. 1999-12-14 23:34:17 +00:00
vidur%netscape.com 6553d2a649 Fix for bug 20737. Get rid of html.css entries for LAYER/ILAYER. Make sure only default (span) content is created for them. a=chofmann r=pollmann. 1999-12-14 23:11:19 +00:00
selmer%netscape.com e1f9022512 bug 18001 assertion & crash on treeTest1.xul. r=hyatt a=chofmann 1999-12-14 22:30:41 +00:00
rods%netscape.com a558bc096c temprary fix for combobox dropdowns that jump all around.
changed the way a temp nsSize was being created.
removed all the dom listener interfaces and code (they weren't being used)
r=beard,self a=chofmann bug 19416, 20957, 19300, 20250
1999-12-14 22:22:00 +00:00
rods%netscape.com ccd12d79ec temprary fix for combobox dropdowns that jump all around.
r=beard a=chofmann bug 19416
1999-12-14 22:21:58 +00:00
rods%netscape.com ea00501e57 mVisible not being used correctly nneded to check against NS_STYLE_VISIBILITY_VISIBLE
bug 19300,20250 r=kmcclusk a=chofmann
1999-12-14 20:27:20 +00:00
rods%netscape.com 1aa5067600 stripping out all the whitespace for form data submission
commented changing the visible directly
bug 21276, r=pollmann a=chofmann
1999-12-14 14:16:09 +00:00
sfraser%netscape.com ecabbbcac2 Fix for 21639 progress meter draws three times for each update, part 2 (redraw every 250ms, not 50ms), r=pinkerton, a=chofmann 1999-12-14 03:50:38 +00:00
sfraser%netscape.com 6eb518978b Fix for 21639 progress meter draws three times for each update, r=pinkerton, a=chofmann 1999-12-14 03:48:04 +00:00
danm%netscape.com 167d27faa2 deathgrip the event listener manager in HandleEvent. partial fix for bug 21397. r:hyatt a:chofmann 1999-12-14 02:29:34 +00:00
karnaze%netscape.com b62dc1bd09 fix windows bustage. 1999-12-14 01:02:11 +00:00
alecf%netscape.com 2a8e687bfc fix some bustage on stricter compilers
(just syntactic residue)
1999-12-14 00:27:33 +00:00
alecf%netscape.com 302ccff328 fix unix bustage once and for all 1999-12-14 00:24:33 +00:00
alecf%netscape.com 2080eebc50 argh, back that out, it makes it even worse 1999-12-14 00:14:56 +00:00
alecf%netscape.com 2b6eac0888 fix unix bustage 1999-12-14 00:01:55 +00:00
mscott%netscape.com fb398b1ad4 Bug #21364....our gfx text control frame's were leaking the underlying html documents. Leak was fixed using a nsCOMPtr.
r=travis,buster
a=chofmann
1999-12-13 23:36:17 +00:00
buster%netscape.com 5a2a40e740 checking in work around for crasher bug 21571. This may also fix some hard-to-reproduce crashers on joki's bug list.
see the bug report for the gory details.
r=rods
a=chofmann
1999-12-13 23:33:17 +00:00
karnaze%netscape.com ba422c3ed8 incremental cell map, columns. Bugs 12122, 21544. r=troy,hyatt a=hofmann 1999-12-13 22:56:31 +00:00
pollmann%netscape.com da90a10651 Bug 20315: Make non-iso charsets work in frameset documents. Fix 2/2: Propagate charset info from parent frames to children r=ftang a=chofmann 1999-12-13 22:45:06 +00:00
ftang%netscape.com 82c8e97721 fix bug 21234 r=buster reset the hint charset source after access it from the meta charset reload 1999-12-13 21:00:47 +00:00
hyatt%netscape.com 139c75574b Fix for the crash in SendFocusBlur. 1999-12-11 05:42:18 +00:00
alecf%netscape.com de2cc8fdad fix #18420 - deleting last item makes tree jump to top
fix was to scroll up one line during the frame destruction process.
To do this, we had to set up the content chain for the row just before the content node was deleted.
r=hyatt
a=chofmann
1999-12-11 02:08:07 +00:00
hyatt%netscape.com 75ab871d2e Fix for PDT+ bug #20493 (mail compose widget now remembers email addresses). r=travis 1999-12-11 01:43:03 +00:00
akkana%netscape.com 8797b01104 18033, 19981:
Adjust inputBindings keyset so that it can be overlaid with
  platformGlobalOverlay.xul.  Rewrite emacs keybindings in the
  unix overlay to track mjudge's latest changes. r=mjudge, a=jar
1999-12-11 01:28:07 +00:00
mjudge%netscape.com 2cf7e901e3 massive changes a=jar.hoffman, r=akkana 1999-12-11 00:02:08 +00:00
rods%netscape.com 5c145aa0f5 not using scaled pixels to twips
b=21293 r=dcone
1999-12-10 23:59:27 +00:00
sfraser%netscape.com 977fcd4464 Fix for bug 21189; first node's content was duplicated with timer-based notifications on. Fix by vidur, r=smfr, a=brendan. Also work around a problem with LL_CMP macros on compilers that don't use long long (NSPR bug 21428). 1999-12-10 22:47:39 +00:00
kin%netscape.com cd6d6bf2da Fix for bug #18622 (UMR in nsLineLayout::CanPlaceFrame)
nsLineLayout::ReflowFrame() now sets some of the psd flags before
calling aFrame->Reflow().
r=troy@netscape.com,norris@netscape.com  a=chofmann@netscape.com
1999-12-10 18:41:43 +00:00
rbs%maths.uq.edu.au c29bbe5e7e [NOT PART OF THE DEFAULT BUILD]. Changed MathML namescape to the new officially published namespace. 1999-12-10 13:29:27 +00:00
rbs%maths.uq.edu.au a9ac2dce3f [NOT PART OF THE DEFAULT BUILD]. *Changes to bring MathML in sync with layout (added aPresShell on factory routines). *Postfixed atoms with underscore to avoid conflicts with reserved names in C++ and math.h 1999-12-10 13:07:59 +00:00
rbs%maths.uq.edu.au 1231a3e001 [NOT PART OF THE DEFAULT BUILD]. *Changes to bring the MathML code in sync with layout (this will clear bugs 19398 and 20858). *Postfixed atoms with underscore. *Major revamps to launch the support of embellished operators. 1999-12-10 13:02:23 +00:00
rbs%maths.uq.edu.au 26924339a8 [NOT PART OF THE DEFAULT BUILD]. *Postfixed all atoms with underscore to avoid conflicts with predefined names in C++ and math.h. *Changed MathML namescape to the new officially published namespace. 1999-12-10 12:47:24 +00:00
karnaze%netscape.com 1ad1b42e46 new regression test 1999-12-10 12:45:36 +00:00
warren%netscape.com 26c830d785 Fix for leak/bloat stats going negative. a=jar 1999-12-10 04:27:52 +00:00
vidur%netscape.com d6fb73fd08 Fix for bug 21271. Check if the current context is the head context in HTMLContentSink::CloseHTML, even though the parser shouldn't let that happen. Fixes crash in Channels dropdown. A=jar R=pollmann. 1999-12-10 03:36:50 +00:00
karnaze%netscape.com 16388374c8 new regression tests 1999-12-10 02:29:27 +00:00
pinkerton%netscape.com a8cb60aa8b fix for page scrolling to scroll (one page - height of one line), not 80% of the page as before. bug 21348, r=evaughan,sfraser. a=brendan. 1999-12-10 02:14:35 +00:00
selmer%netscape.com 8fafa4ed0b bug 12288 shift-click (only PDT+ hack portion of fix) r=alecf a=chofmann,jar 1999-12-10 01:38:33 +00:00
saari%netscape.com b2d7a2eb2c Helping to fix 19114 by making a strong ref weak. Potential fix for 19268 by making scrollbars not steal focus. r=hyatt a=chofmann 1999-12-10 00:51:50 +00:00
erik%netscape.com 4de235c04b bug 8801; added some code to pick up font size prefs from prefs file(s);
r=ftang; a=chofmann
1999-12-09 22:44:47 +00:00
troy%netscape.com 9420612b5a b=19198, a=chofmann. Fixed RecoverStateFrom() to use the update conbined area when
invalidating. This fixes a regression introduced in version 3.308
1999-12-09 21:40:37 +00:00
joki%netscape.com 25f4443f89 fix 21337, set modifier keys for generated events. r:brendan a:brendan 1999-12-09 21:02:09 +00:00
buster%netscape.com 89287bfefe bug 21187
fixed the webshell leak in <textarea> and <input type=text|password>
the problem was the new nsWebShell::SetDocument() call was indirectly causing nsHTMLDocument to instantiate a parser
and fire off a parse.  bad circular references ensued.  The fix is to use the "aCommand" param to pass a hint
to the nsHTMLDocument, telling it there's no need to involve a parser.

in the simple case, we no longer leak webshells.  That is, if you open mozilla.exe, look at a page (whether it has a text
control on it or not), and shut down the app, no webshell is leaked.  If I browse around, sometimes we still leak a webshell
somewhere.  I haven't figured out exactly where that is yet.  A guess is history, which is in the process of being reworked
anyway.

r=mscott
a=chofmann
1999-12-09 07:18:38 +00:00
vidur%netscape.com 460a797aca Partial fix for bug 20645. Rather than just assert on error state, bail out with an error code. Real fix still due from the parser guys, but we don't crash anymore. a=chofmann r=rickg 1999-12-09 03:10:22 +00:00
rickg%netscape.com c2494324e5 unintentionally commited. Backing out 1999-12-08 23:05:14 +00:00