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

7669 Коммитов

Автор SHA1 Сообщение Дата
pinkerton%netscape.com 61925ac5df fix for bustage, i hope. 1999-12-21 19:56:15 +00:00
hyatt%netscape.com 221920403a Patch that gets tabbing back into text fields. r=waterson 1999-12-21 19:35:13 +00:00
pinkerton%netscape.com 2275305f2f 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 3586adc047 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 c7a8abb087 new regression tests 1999-12-19 18:55:07 +00:00
jband%netscape.com 37ddc48959 added files: mozilla/layout/base/src/nsLayoutUtils.cpp 1999-12-18 20:30:17 +00:00
jband%netscape.com ef9c82db1e 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 d3e0848c19 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 22cbc2c1bb 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 46a1cd6fb2 new regression test not in the build 1999-12-17 13:33:26 +00:00
buster%netscape.com 8ec5958afa 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 67b6e72f15 bug 21918 typo in calling InsertRowGroups, r=sdagley,syd 1999-12-17 06:52:37 +00:00
alecf%netscape.com 251b1f466b 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 ab9aa71baa fix a memory leak involving the global context 1999-12-17 00:46:11 +00:00
mjudge%netscape.com fbbf78681f 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 c9543cdc78 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 74f7b8e000 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 23e53aa589 bug 21143/21765, collapsed rows/cols not displayng when expanded. 1999-12-16 06:29:50 +00:00
pollmann%netscape.com f2a52e7f9b 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 1949a7d733 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 00ea148d35 small change Hyatt discovered and forgot to checkin. r=hyatt 1999-12-16 01:45:22 +00:00
saari%netscape.com 36e0fe385b 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 859a2e695c Fix for bug #21703. r=karnaze, a=chofmann 1999-12-16 00:37:03 +00:00
saari%netscape.com 720f6babe8 Fix for PDT+ bug 21536. r=hyatt 1999-12-16 00:34:43 +00:00
saari%netscape.com a622c90955 Fix for PDT+ bugs 21602 and 21648. r=joki 1999-12-15 22:04:43 +00:00
alecf%netscape.com 3b12db1071 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 8ecaa7e0ce 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 1748e117b2 oops forgot to remove 2ND! line from makefile 1999-12-15 05:22:07 +00:00
sfraser%netscape.com 87335a95b5 Remove nsEditorController.cpp for mjudge. 1999-12-15 04:07:39 +00:00
mjudge%netscape.com a2b920ea2f new idl for line up/down scrolling 1999-12-15 03:56:32 +00:00
mjudge%netscape.com 7831406607 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 90f941f8fe 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 6c2e3c9d43 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 ae00920358 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 1ad5cd8dd9 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 f05a2f0ff4 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 a1674a5a49 bug 18001 assertion & crash on treeTest1.xul. r=hyatt a=chofmann 1999-12-14 22:30:41 +00:00
rods%netscape.com 9da2c4a788 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 4cf3515a9b 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 f6731636bf 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 d9a272f088 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 b3353b150d 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 1b8d669e9f 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 4447892c87 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 a8e711517b fix windows bustage. 1999-12-14 01:02:11 +00:00
alecf%netscape.com dea62547ae fix some bustage on stricter compilers
(just syntactic residue)
1999-12-14 00:27:33 +00:00
alecf%netscape.com ab78f88559 fix unix bustage once and for all 1999-12-14 00:24:33 +00:00
alecf%netscape.com d24ec6790d argh, back that out, it makes it even worse 1999-12-14 00:14:56 +00:00
alecf%netscape.com 3a301aa43c fix unix bustage 1999-12-14 00:01:55 +00:00
mscott%netscape.com b636321801 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 78f4e42f7e 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 2eb4655c2e incremental cell map, columns. Bugs 12122, 21544. r=troy,hyatt a=hofmann 1999-12-13 22:56:31 +00:00
pollmann%netscape.com 5c697ae32f 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 2a8449664a 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 8c979cd0bb Fix for the crash in SendFocusBlur. 1999-12-11 05:42:18 +00:00
alecf%netscape.com 5e5afc5a18 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 71391a88a6 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 6c9c6146d8 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 b51f84b3de massive changes a=jar.hoffman, r=akkana 1999-12-11 00:02:08 +00:00
rods%netscape.com 14a871afc2 not using scaled pixels to twips
b=21293 r=dcone
1999-12-10 23:59:27 +00:00
sfraser%netscape.com 0a90ef3b34 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 c802915a2e 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 49246b50d7 [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 97d27d7b0c [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 4a572d1738 [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 c6923d3679 [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 6eb5aeb46b new regression test 1999-12-10 12:45:36 +00:00
warren%netscape.com 7d4fa072a5 Fix for leak/bloat stats going negative. a=jar 1999-12-10 04:27:52 +00:00
vidur%netscape.com 81f434990e 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 61aacc4648 new regression tests 1999-12-10 02:29:27 +00:00
pinkerton%netscape.com 7d81a6f553 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 bcf74f0c56 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 b887310bfb 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 6fbec1d0f1 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 bfb7487d47 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 adc741f32c fix 21337, set modifier keys for generated events. r:brendan a:brendan 1999-12-09 21:02:09 +00:00
buster%netscape.com dbc3d6a9e9 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 90dcdc1539 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 da80c1d2de unintentionally commited. Backing out 1999-12-08 23:05:14 +00:00
rickg%netscape.com 471d34af10 fixed bug 21146; r=buster; a=chofmann. 1999-12-08 22:54:08 +00:00
hyatt%netscape.com 9f336df5c0 Fix for caret problems in Ender text fields. r=saari 1999-12-08 20:55:45 +00:00
hyatt%netscape.com 5b5d567b93 Fix for the two crashers: 21180 and 21163, r=saari 1999-12-08 20:18:16 +00:00
hyatt%netscape.com 928c3b667f Implementing support for popupanchor and popupalign. 1999-12-08 11:30:47 +00:00
hyatt%netscape.com e2f2336d35 Fix for 21139, r=waterson 1999-12-08 09:01:06 +00:00
alecf%netscape.com 7f87432c02 fix for #18420 - scrolling screws up when selection changes
fix oncontentinserted and oncontentremoved so that mTopFrame is set correctly, and don't be over-zealous about destroying frames.
r=hyatt (well, really written mostly by hyatt and digested by me)
1999-12-08 07:20:25 +00:00
hyatt%netscape.com 244bfeaee8 Massive rewrite of the focus/blur architecture. Things should behave better
now. r=saari
1999-12-08 04:54:29 +00:00
hyatt%netscape.com b3b2e6305b Making menu titles work again. Making menu accelerators work again. r=saari 1999-12-08 04:52:42 +00:00
troy%netscape.com c0644e2987 Changed to respect 'z-index' of 'auto' and call SetViewAutoZIndex() 1999-12-08 04:49:20 +00:00
vidur%netscape.com 68f79c1ca8 Fix for bug 17857. Relative URLs for script-based setting of the SRC attribute now does resolution relative to the calling context. R=nisheeth. 1999-12-08 03:52:01 +00:00
vidur%netscape.com 978b7586dd Fix for bug 18877. DemoteContainer in the content sink no longer unconditionally does notificaions. Also turned on timer-based notifications by default (bug 17325). R=troy 1999-12-08 03:47:05 +00:00
pollmann%netscape.com 18a8f9f113 Bug 19062: Fix crash when forms are absolutely positioned by giving them a space manager r=Troy 1999-12-08 02:07:03 +00:00
troy%netscape.com 63a9d6b36f Removed code from PrepareChildIncrementalReflow() that was marking all lines
dirty if max-element-size was requested.
1999-12-08 02:05:51 +00:00
akkana%netscape.com ede359f291 20603: In an HTML document, the body node should always be part of the
selection, because output needs to get style nodes on the body. r=sfraser
1999-12-08 02:05:16 +00:00
evaughan%netscape.com b3a920c51b Fixed that nasty bug that caused fonts to change when clicking in the URL bar. -r jevering 1999-12-08 01:56:28 +00:00
pinkerton%netscape.com e5a1d5da15 fix spellings and build warnings (bug #15571). r=gimpy. 1999-12-08 00:12:15 +00:00
rods%netscape.com 83b5ade6c9 Fixing the updating of the frame for when the label changes (i.e. via script)
sends back a reflow hint. It also checks to see if the primary frame is a combobox
and asks it to refresh its display
r=kmcclusk bug 19373 (PDT+)
1999-12-08 00:10:34 +00:00
rods%netscape.com 525477239f Always passing back that the frames are there, this still isn't right and needs to be
reworked again. But this will able some XUL selects to work that otherwise would be
broken and I haven't found it to cause any problems with a lot of testing. I have
regressed to this situation in the past and it worked OK.
r=kmcclusk, bug=none but hangas (or self) would have filed one by end of day.
1999-12-08 00:08:41 +00:00
troy%netscape.com 4860bec449 Removed an assert that is no longer applicable 1999-12-07 23:43:07 +00:00
troy%netscape.com d36f7cea02 b=16456. Removed some debug assertion code that was incorrect and caused
us to hit asserts when printing
1999-12-07 23:41:48 +00:00
erik%netscape.com bd0bf11aae bug 8801; adding new font prefs implementation; r=ftang 1999-12-07 23:27:52 +00:00