5490 Commits

Author SHA1 Message Date
norris%netscape.com
4a9c49c3ea 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.


git-svn-id: svn://10.0.0.236/trunk@56044 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 17:20:31 +00:00
mjudge%netscape.com
ed4df3718e oops forgot to remove 2ND! line from makefile
git-svn-id: svn://10.0.0.236/trunk@56037 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 05:22:07 +00:00
mjudge%netscape.com
4704ff3a85 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.
git-svn-id: svn://10.0.0.236/trunk@56028 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 03:54:52 +00:00
pollmann%netscape.com
a31c8c8d4c Bug 11762: Create a webshell for an iframe even if size is 0x0. r=evaughan a=chofmann
git-svn-id: svn://10.0.0.236/trunk@56002 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 00:09:10 +00:00
vidur%netscape.com
021a42b33f Fix for bugs 20737. Named layers are no longer reflected into the document namespace. Also 9787. document.clear implemented. a=chofmann, r=pollmann.
git-svn-id: svn://10.0.0.236/trunk@55999 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 23:34:17 +00:00
vidur%netscape.com
dc826a1336 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.
git-svn-id: svn://10.0.0.236/trunk@55997 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 23:11:19 +00:00
selmer%netscape.com
1798c5367a bug 18001 assertion & crash on treeTest1.xul. r=hyatt a=chofmann
git-svn-id: svn://10.0.0.236/trunk@55992 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 22:30:41 +00:00
rods%netscape.com
6cc1f48662 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


git-svn-id: svn://10.0.0.236/trunk@55991 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 22:22:00 +00:00
rods%netscape.com
99432f125e temprary fix for combobox dropdowns that jump all around.
r=beard a=chofmann bug 19416


git-svn-id: svn://10.0.0.236/trunk@55990 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 22:21:58 +00:00
rods%netscape.com
e9acb7b9f2 mVisible not being used correctly nneded to check against NS_STYLE_VISIBILITY_VISIBLE
bug 19300,20250 r=kmcclusk a=chofmann


git-svn-id: svn://10.0.0.236/trunk@55986 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 20:27:20 +00:00
rods%netscape.com
50b5546c15 stripping out all the whitespace for form data submission
commented changing the visible directly
bug 21276, r=pollmann a=chofmann


git-svn-id: svn://10.0.0.236/trunk@55982 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 14:16:09 +00:00
karnaze%netscape.com
b46ebb9cae fix windows bustage.
git-svn-id: svn://10.0.0.236/trunk@55957 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 01:02:11 +00:00
alecf%netscape.com
485df3bbf4 fix some bustage on stricter compilers
(just syntactic residue)


git-svn-id: svn://10.0.0.236/trunk@55954 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 00:27:33 +00:00
alecf%netscape.com
81585a34d8 fix unix bustage once and for all
git-svn-id: svn://10.0.0.236/trunk@55953 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 00:24:33 +00:00
alecf%netscape.com
2472063f36 argh, back that out, it makes it even worse
git-svn-id: svn://10.0.0.236/trunk@55952 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 00:14:56 +00:00
alecf%netscape.com
6a98427539 fix unix bustage
git-svn-id: svn://10.0.0.236/trunk@55951 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 00:01:55 +00:00
mscott%netscape.com
713ec6e9e3 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


git-svn-id: svn://10.0.0.236/trunk@55950 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 23:36:17 +00:00
karnaze%netscape.com
6ffe908f39 incremental cell map, columns. Bugs 12122, 21544. r=troy,hyatt a=hofmann
git-svn-id: svn://10.0.0.236/trunk@55939 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 22:56:31 +00:00
pollmann%netscape.com
b78c738e4a 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
git-svn-id: svn://10.0.0.236/trunk@55936 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 22:45:06 +00:00
ftang%netscape.com
17cbeb77e7 fix bug 21234 r=buster reset the hint charset source after access it from the meta charset reload
git-svn-id: svn://10.0.0.236/trunk@55930 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 21:00:47 +00:00
alecf%netscape.com
b45d74d4d2 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


git-svn-id: svn://10.0.0.236/trunk@55895 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-11 02:08:07 +00:00
akkana%netscape.com
ef0b5871a1 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


git-svn-id: svn://10.0.0.236/trunk@55890 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-11 01:28:07 +00:00
mjudge%netscape.com
78a1c7b0e7 massive changes a=jar.hoffman, r=akkana
git-svn-id: svn://10.0.0.236/trunk@55878 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-11 00:02:08 +00:00
rods%netscape.com
6a13d9018d not using scaled pixels to twips
b=21293 r=dcone


git-svn-id: svn://10.0.0.236/trunk@55877 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 23:59:27 +00:00
sfraser%netscape.com
a945951480 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).
git-svn-id: svn://10.0.0.236/trunk@55869 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 22:47:39 +00:00
kin%netscape.com
9b0d9085aa 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


git-svn-id: svn://10.0.0.236/trunk@55853 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 18:41:43 +00:00
rbs%maths.uq.edu.au
7db2c3e16f [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
git-svn-id: svn://10.0.0.236/trunk@55849 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 13:07:59 +00:00
karnaze%netscape.com
43ad4d5101 new regression test
git-svn-id: svn://10.0.0.236/trunk@55846 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 12:45:36 +00:00
vidur%netscape.com
7ddd31965b 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.
git-svn-id: svn://10.0.0.236/trunk@55838 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 03:36:50 +00:00
karnaze%netscape.com
4cf56cb8b9 new regression tests
git-svn-id: svn://10.0.0.236/trunk@55837 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 02:29:27 +00:00
pinkerton%netscape.com
f5f1bfbb66 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.
git-svn-id: svn://10.0.0.236/trunk@55836 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 02:14:35 +00:00
troy%netscape.com
6e46435b1d b=19198, a=chofmann. Fixed RecoverStateFrom() to use the update conbined area when
invalidating. This fixes a regression introduced in version 3.308


git-svn-id: svn://10.0.0.236/trunk@55811 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 21:40:37 +00:00
buster%netscape.com
25d1324f5d 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


git-svn-id: svn://10.0.0.236/trunk@55796 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 07:18:38 +00:00
vidur%netscape.com
2d4baee02f 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
git-svn-id: svn://10.0.0.236/trunk@55792 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 03:10:22 +00:00
rickg%netscape.com
53f36f30cd unintentionally commited. Backing out
git-svn-id: svn://10.0.0.236/trunk@55774 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 23:05:14 +00:00
rickg%netscape.com
9e042dd8f4 fixed bug 21146; r=buster; a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@55770 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 22:54:08 +00:00
alecf%netscape.com
c222ee0416 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)


git-svn-id: svn://10.0.0.236/trunk@55745 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 07:20:25 +00:00
hyatt%netscape.com
2c134c2abf Massive rewrite of the focus/blur architecture. Things should behave better
now. r=saari


git-svn-id: svn://10.0.0.236/trunk@55715 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 04:54:29 +00:00
troy%netscape.com
2ea5ceca9c Changed to respect 'z-index' of 'auto' and call SetViewAutoZIndex()
git-svn-id: svn://10.0.0.236/trunk@55713 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 04:49:20 +00:00
vidur%netscape.com
0389d17f64 Fix for bug 17857. Relative URLs for script-based setting of the SRC attribute now does resolution relative to the calling context. R=nisheeth.
git-svn-id: svn://10.0.0.236/trunk@55706 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 03:52:01 +00:00
vidur%netscape.com
f09059d2c6 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
git-svn-id: svn://10.0.0.236/trunk@55705 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 03:47:05 +00:00
pollmann%netscape.com
945d82f2db Bug 19062: Fix crash when forms are absolutely positioned by giving them a space manager r=Troy
git-svn-id: svn://10.0.0.236/trunk@55683 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 02:07:03 +00:00
troy%netscape.com
23414d53c9 Removed code from PrepareChildIncrementalReflow() that was marking all lines
dirty if max-element-size was requested.


git-svn-id: svn://10.0.0.236/trunk@55682 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 02:05:51 +00:00
akkana%netscape.com
422c14fe78 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


git-svn-id: svn://10.0.0.236/trunk@55681 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 02:05:16 +00:00
evaughan%netscape.com
791292ffa1 Fixed that nasty bug that caused fonts to change when clicking in the URL bar. -r jevering
git-svn-id: svn://10.0.0.236/trunk@55676 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 01:56:28 +00:00
rods%netscape.com
5f2a780227 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+)


git-svn-id: svn://10.0.0.236/trunk@55659 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 00:10:34 +00:00
rods%netscape.com
0e84614fdd 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.


git-svn-id: svn://10.0.0.236/trunk@55654 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 00:08:41 +00:00
troy%netscape.com
3ce26e48f9 Removed an assert that is no longer applicable
git-svn-id: svn://10.0.0.236/trunk@55648 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 23:43:07 +00:00
troy%netscape.com
aa323aac76 b=16456. Removed some debug assertion code that was incorrect and caused
us to hit asserts when printing


git-svn-id: svn://10.0.0.236/trunk@55646 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 23:41:48 +00:00
rginda%netscape.com
1d5ae86d11 Adding check for null document. Prevents crash described in bug 20677.
r=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@55596 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 22:04:52 +00:00