hyatt%netscape.com
56b9ebc4b3
Adding an interface for the creation of elements. Converting the HTML
...
element factory so that it implements this generic interface. r=waterson
2000-01-19 03:10:06 +00:00
vidur%netscape.com
0b9bbcbe32
Missed necessary cleanup in last checkin. r=pollmann
2000-01-19 01:34:07 +00:00
vidur%netscape.com
0cf3025a31
Fix for bugs 9213 and 17415. Fixed a ton of leaks in table content code and fixed thead, tfoot access and manipulation via DOM. r=pollmann
2000-01-19 01:29:04 +00:00
vidur%netscape.com
9679502c54
Fix for bug 9378. document.layers now returns undefined, not null. r=pollmann
2000-01-18 23:35:47 +00:00
pollmann%netscape.com
b6ee2c935e
Bug 20315: Adding comment r=buster
2000-01-18 02:40:45 +00:00
tor%cs.brown.edu
64b8a4ed6f
build bustage fix for older C++ compilers; false -> PR_FALSE; r=cls
2000-01-16 17:06:08 +00:00
brade%netscape.com
86c0a41f57
initialize all fields of mouseEvent; r=joki
2000-01-15 17:22:09 +00:00
pollmann%netscape.com
71013738a9
Bug 14419 (1 of 4): Fix typo!
2000-01-15 02:21:51 +00:00
vidur%netscape.com
e6ad550a8a
Fix for bug 23020. Relative URLs used in image.src and location.href should be resolved taking into account the base document URL of the calling context. R=pollmann
2000-01-15 02:02:27 +00:00
pollmann%netscape.com
f29f50a8b8
Bug 14419 (1 of 4): Make option text read/write (implementation) r=harishd
2000-01-15 01:42:56 +00:00
pollmann%netscape.com
c5d216006b
Fix warning r=harishd
2000-01-15 01:41:27 +00:00
nisheeth%netscape.com
d99ef26184
r=pollmann. Fix for bug 22237.
2000-01-15 01:41:22 +00:00
sspitzer%netscape.com
920287de74
backing out andreas and warren
2000-01-14 22:01:56 +00:00
hyatt%netscape.com
e37730de69
Partial fix for 18604. r=pav
2000-01-14 09:57:31 +00:00
hyatt%netscape.com
489fa24f63
Fixes for bugs 17460 and 21656. r=travis
2000-01-14 09:28:54 +00:00
warren%netscape.com
d6a205f1ec
Changes from andreas.otte@primus-online.de for numerous URL parsing bugs. r=warren
2000-01-14 08:50:03 +00:00
jdunn%netscape.com
a5a22f8218
Fix somemore of slamm's warnings
...
r= rods@netscape.com
2000-01-13 23:19:20 +00:00
karnaze%netscape.com
369b89f5d0
bugs 19061, 9879 - each top level row group gets its own cell map; CellData reduced to 4 bytes.
2000-01-13 05:29:38 +00:00
rods%netscape.com
a27e248f0e
the call to Init was in the wrong place
...
b 23697 r=dcone
2000-01-12 16:02:12 +00:00
pierre%netscape.com
738d946dcd
17303 "Text input fields in chrome should use sans serif font". Clear the NS_STYLE_FONT_USE_FIXED flag when setting a font different from -moz-fixed. r=rods (rods checked in the other part of that fix in nsHTMLFontElement.cpp)
2000-01-12 00:19:14 +00:00
rods%netscape.com
7f30314d7a
click events for checkbox and radiobuttons now handled via content (DOM0
...
instead of the frame
b=23592 r=kmcclusk
2000-01-11 20:33:36 +00:00
pollmann%netscape.com
3e5b01c755
Bug 18478: Allow base tag in body to work for image maps (Fix courtesy bissiri@eecs.umich.edu) r=self, harishd
2000-01-11 07:21:24 +00:00
hyatt%netscape.com
3d186ddce8
adding behavior property to CSS. r=brendan
2000-01-11 03:40:41 +00:00
akkana%netscape.com
2f7c6f4ace
Use if instead of switch, to eliminate warnings. r=slamm
2000-01-11 02:24:29 +00:00
pierre%netscape.com
a1bab88cc8
12825 "Need new 'overflow' values to control scrollbar visibility". Added -moz-scrollbars-none, -moz-scrollbars-horizontal and -moz-scrollbars-vertical.
2000-01-10 03:23:44 +00:00
pierre%netscape.com
2bcaf700dd
Bug 23236: In quirks mode, accept 'xxyyzz' colors even without '#' prefix
2000-01-08 10:11:10 +00:00
pierre%netscape.com
3e61f6f55d
Bug 18817 "autodetection of content-type used": in strict mode, requires the mime type to be specified if the style sheet doesn't have a '.css' extension (otherwise the style sheet is ignored).
2000-01-08 10:09:00 +00:00
akkana%netscape.com
5aab717839
Fix a huge slew of warnings. r=pavlov
2000-01-08 01:20:58 +00:00
pollmann%netscape.com
01c12990cb
Bug 17613: Allow 0 margins on frames per HTML4 errata. Fix courtesy of VYV03354@nifty.ne.jp r=self and harishd
2000-01-07 05:54:23 +00:00
pollmann%netscape.com
2f27c49438
Bug 12599: Accept string as integer attribute to prevent assert, fix courtesy rickg r=self and harishd
2000-01-07 05:44:42 +00:00
pollmann%netscape.com
21be882f53
Bug 21768: always release mForm in SetForm to prevent leak. r=harishd
2000-01-07 05:41:51 +00:00
vidur%netscape.com
b8b760ba16
Fix for bug 23206. The property getter/setter for char and charoff attributes were not mapping to the correct attribute values. r=pollmann
2000-01-07 00:19:41 +00:00
vidur%netscape.com
bc3cf76724
Fix for bug 23074. Implemented image.complete. r=pollmann
2000-01-06 23:41:14 +00:00
vidur%netscape.com
0627177b1b
Fix for bug 21682. BASE tag was ignored in the fragment content sink. Added HTML element creation method that takes an ID. r=pollmann
2000-01-06 23:36:45 +00:00
vidur%netscape.com
79e63f922f
Fix for bug 23066. Added getter/setter for image.lowsrc for compatibility - the DOM defines image.lowSrc (note the case difference). r=pollmann
2000-01-06 01:10:06 +00:00
jfrancis%netscape.com
a6e2697990
fixing unix horkage
2000-01-04 04:03:28 +00:00
vidur%netscape.com
f487ac76f3
Fix for bug 22709. image.width/height goes to frame if it isn't in an attribute - compatibility with Level 0. r=harishd
2000-01-04 03:06:13 +00:00
sspitzer%netscape.com
60861b03c5
bulletproofing fix for crash reported in #22811
1999-12-29 19:28:06 +00:00
sspitzer%netscape.com
42d79cbbb3
fix for pierre's warnings. r=bienvenu
1999-12-23 18:35:35 +00:00
vidur%netscape.com
beab8d39b8
Removing warnings. a=don r=waqar
1999-12-22 22:47:15 +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
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
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
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
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
mscott%netscape.com
1fec7316ef
fix a memory leak involving the global context
1999-12-17 00:46:11 +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
saari%netscape.com
adb74c199d
Fix for PDT+ bug 21536. r=hyatt
1999-12-16 00:34:43 +00:00
mjudge%netscape.com
39d5616293
oops forgot to remove 2ND! line from makefile
1999-12-15 05:22:07 +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
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
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
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
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
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
rickg%netscape.com
4308b04de5
fixed bug 21146; r=buster; a=chofmann.
1999-12-08 22:54:08 +00:00
vidur%netscape.com
1eb3d4e793
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
810848c78d
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
akkana%netscape.com
b5d1582420
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
rods%netscape.com
13cecc3177
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
rickg%netscape.com
78c5d8cb44
WIP on fixing <noscript> bug for real -- post dogfood. r=syd
1999-12-07 07:25:56 +00:00
joki%netscape.com
805ffa761a
Fix bug 14836, keep disabled control from responding to events. r:pollmann@netscape.com
1999-12-04 02:22:21 +00:00
vidur%netscape.com
7261da2144
For bug 17325. Added timer-based notifications that can be enabled on a pref. R=nisheeth.
1999-12-04 01:27:46 +00:00
vidur%netscape.com
1c8159ed5e
For bug 17325: Added nsICSSLoaderObserver as a way to see when style sheets complete loading. r=pierre.
1999-12-04 01:27:14 +00:00
tbogard%aol.net
648ace3e23
1.) WebShell no longer implements nsIScriptContextOwner.
...
2.) WebShell now implements the new nsIScriptGlobalObjectOwner.
3.) WebShell supports GetInterface to nsIScriptGlobalObject.
4.) Documents no longer carry around a reference to nsIScriptContextOwner. Instead they hold on to a nsIScriptGlobalObject. nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject(). Same change to the set methods.
1999-12-03 09:24:22 +00:00
drapeau%eng.sun.com
f0789172d2
Fix for bug 18899 ('Make "--enable-oji" as part of the default Mozilla
...
Build'). Modified files that conditionally compiled in support for
OJI, replacing with code that looks for OJI as an XPCOM service, and
failing gracefully if the OJI XPCOM service is not found. The four
files modified by this fix are the only active ones; other modules
that conditionally compile in support for OJI appear to be dead code.
r=drapeau@eng.sun.com . Fix contributed by Jayashri Visvanathan
(visvan@eng.sun.com ).
1999-12-03 00:26:09 +00:00
sfraser%netscape.com
3cbb52af45
Part of fix for bug 16813 -- line termination problems with forms. r=pollman, rickg.
1999-12-01 23:05:58 +00:00
buster%netscape.com
97c5a5fb1e
bug 2253. added controller to html text input
...
r = kmcclusk
1999-12-01 15:12:49 +00:00
waterson%netscape.com
272d842840
Bug 9489. Use nsAutoVoidArray for collecting classes to avoid excessive heap use.
1999-12-01 03:27:25 +00:00
warren%netscape.com
a265a32348
Landing no_neckoutil2_branch. Bug #11159 . Removes neckoutil_s.lib from build which helps beos and openvms.
1999-11-30 04:50:42 +00:00
waterson%netscape.com
9d7fd822f9
Add focus pseudo-class atoms. r=hyatt
1999-11-30 00:54:45 +00:00
valeski%netscape.com
765e77e708
r=travis. 20135. we were clipping the rightmost digit of the seconds field in a refresh header attribute (thus losing a factor of 10 in refresh timer timeout).
1999-11-29 23:02:14 +00:00
brendan%mozilla.org
6fd322ea4b
Fix refcnt underflow bug, defend against null myObj (r=vidur@netscape.com).
1999-11-29 20:44:36 +00:00
warren%netscape.com
4ab4ee4d4e
Eliminated the libs build pass.
1999-11-28 03:05:01 +00:00
tbogard%aol.net
78a1aecb74
nsHTMLDocument now uses the nsIBaseWindow interface off the WebShell object to do positioning stuff instead of nsIWebShell interface.
1999-11-27 03:11:10 +00:00
shaver%netscape.com
506027739d
Repair missing newlines at end of files, and remove lines of the form
...
#endif foo
both of which upset HPUX's compiler quite a bit.
Patch from Andrew Taylor <Andrew.Taylor@cal.montage.ca>.
1999-11-26 05:33:35 +00:00
vidur%netscape.com
c49c6f4ec1
Fixes for 19650 and 15133. Added nsHTMLDocument::Resolve(). Script event handler compilation is deferred till when the event handler is first invoked. Atoms used for event name comparisions instead of strings. R=joki
1999-11-25 00:05:21 +00:00
tbogard%aol.net
a0640b60c4
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
1999-11-24 06:03:41 +00:00
tbogard%aol.net
d2e8fb3305
Enabled nsHTMLFrameElement and nsHTMLIFrameElement to implement the nsIChromeEventHandler interface. r=hyatt
1999-11-23 09:42:49 +00:00
pierre%netscape.com
aa0d959a1e
8862 "listStyleImage not directly updated". Changing the className causes recreation of frames for the element. Suggested although not formally reviewed by vidur.
1999-11-23 01:08:44 +00:00
pierre%netscape.com
632ed6e972
12737: removed the 'moz-fixed' NavQuirk
1999-11-23 01:07:26 +00:00
sfraser%netscape.com
a84d04a846
Include stdio.h using system paths, not user paths. r=syd,akk, shaver. no bug (so bite me)
1999-11-22 23:46:30 +00:00
rickg%netscape.com
6b913476ab
landing update for harishd r=rickg
1999-11-22 06:16:25 +00:00
rods%netscape.com
8042f0e4e7
added boolean in DoneAddingContent method
1999-11-19 16:09:32 +00:00
rods%netscape.com
a6d34255f9
added bool parm to DoneAddingContent content sink sets it to false r=dcone bug 18241
1999-11-19 15:41:30 +00:00
buster%netscape.com
99d18b9c63
fixed a typo that compiles on win32 but not on linux
1999-11-19 08:30:02 +00:00
buster%netscape.com
5e269fcf05
moved content-specific data and methods from nsIWebShell to appropriate content viewer interface
...
no bug number, this is for webshell redesign work
r=rickg, travis
1999-11-19 07:35:27 +00:00
buster%netscape.com
81dcb1e335
DOM extension for exposing text areas to XUL
...
bug 12022, r=rickg, vidur
1999-11-19 07:24:15 +00:00
harishd%netscape.com
3bf1765e27
Fix for bug 18328
...
r=vidur
1999-11-19 04:02:23 +00:00
warren%netscape.com
aaf83521f5
Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott
1999-11-17 08:14:52 +00:00
vidur%netscape.com
e729e21e96
fix for bug 18693. Event handler default actions shouldn't be done in the capture phase. R=joki.
1999-11-17 01:01:12 +00:00
vidur%netscape.com
28e617d26f
Fix for bug 10173. Attributes that are enumerated values are returned with the first letter upper-cased. R=troy
1999-11-16 23:09:31 +00:00
norris%netscape.com
411aade911
* Fix 12124 [DOGFOOD] Reading user's preferences
...
* Implement site-specific security policies (bug 858)
r=mstoltz
* Use Recycle rather than delete[] to clean up Purify logs
r=law
1999-11-16 05:07:31 +00:00
tbogard%aol.net
50379d48b1
Changed places where containers were set to use nsISupports instead of nsIContentViewerContainer. r=dp
1999-11-15 22:17:54 +00:00
rods%netscape.com
65d5fbbdfb
It will now mask out any focus events that may be generated because of native windows
...
r=buster, bug 17196
1999-11-15 15:13:12 +00:00
rods%netscape.com
4c5e8f064c
Should always return true, the caching of the "true" value is most important. Failing on getting the
...
preshell or frames should not be passed back.
r=self, bug 18784
1999-11-14 00:35:35 +00:00
rods%netscape.com
f25c5cb072
Added notification to the select in CreateElemenet to tell it it is complete.
...
r=vidur(sort iof, we talked about this change on friday) bug 18784
1999-11-14 00:34:15 +00:00
vidur%netscape.com
68a2e39215
Fix for bug 18040. Removed spurious UMR. Added macro for turning off incremental notification. R=buster, pollmann.
1999-11-12 02:07:54 +00:00
vidur%netscape.com
d75bc3b151
Fix for bug 18186. document.lastModified now returns the correct value for FileChannels as well. R=pollmann.
1999-11-12 02:06:54 +00:00
vidur%netscape.com
d563684b31
Fix for bug 13948. We now correctly store and retrieve an OL element with type=1. R=pollmann.
1999-11-12 02:06:09 +00:00
rods%netscape.com
6f6e5b8b6b
notifies the select content when all the children content is there
...
r=vidur, bug 17965
1999-11-11 22:15:02 +00:00
rods%netscape.com
bf86cfed5e
Added method "DoneAddingContent" to notify the select that all the chiild are there
...
it also caches this state so it can be asked whether they have been added
Added method: IsDoneAddingContent(PRBool * aIsDone)
r=vidur, bug 17965
1999-11-11 22:13:20 +00:00
rods%netscape.com
a5f4858ce7
Added method "DoneAddingContent" to notify the select that all the chiild are there
...
r=vidur, bug 17965
1999-11-11 22:13:17 +00:00
jdunn%netscape.com
8dc361fd80
removing ';' from the end of the macros, since the macro in nsTimer.h
...
already handles the trailing ';'.
NOTE: trying to compile a ';' fails on AIX
1999-11-11 21:35:34 +00:00
nisheeth%netscape.com
6a7c8adf6c
a=sdagley. Move over to new timing macros...
1999-11-10 03:41:09 +00:00
sspitzer%netscape.com
e3a6b820eb
fix warning.
1999-11-10 00:09:32 +00:00
dmose%mozilla.org
42fc94a6ec
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
norris%netscape.com
209ec05bae
Fix
...
10194 Possible security vulnerability in "chrome:" protocol - acce
14979 "chrome" protocol allows accessing arbitrary files on the lo
r=vidur
1999-11-02 23:44:27 +00:00
pollmann%netscape.com
f4891ec6b4
Bug 7554: HTML Labels now pass JS events to form element the label is for
...
r=harishd
1999-11-02 23:38:17 +00:00
cls%seawood.org
14ef08310e
Removed unused NECKO ifdefs.
...
a=leaf
1999-11-02 23:34:03 +00:00
warren%netscape.com
2a827fc8c2
Made nsIUnicharStreamLoader be scriptable and deal with an xpcom observer instead of a proc pointer and void*. Part of bug#11159. r=nisheeth,kipp,pierre
1999-11-02 06:49:44 +00:00
kipp%netscape.com
c4289ca79d
Added address information to the dump content diagnostic code
1999-11-01 15:38:05 +00:00
brendan%mozilla.org
fe51b61664
(13163, r=alecf, scc, waterson, others; names available on request)
...
- Fix most of bug 13163 (see TODO for rest). This entails adding a version-string argument to nsIScriptContext::EvaluateString and passing it around lots of places in content sinks.
- Fix leaks and confusion about mSecurityManager and mNameSpaceManager in nsJSEnvironment.cpp. These still need to move from nsJSContext to nsGlobalWindow or thereabouts, jband and vidur are looking at that.
- Added comments and expanded tabs in nsJSEnvironment.cpp, esp. to EvaluateString. Also changed various nsresult vars to be named rv. Also restored brace/style conformity to nsJSProtocolHandler.cpp.
- Factored CompileFunction from AddScriptEventListener to pave the way for brutal sharing of compiled JS event handlers via JS_CloneFunctionObject.
- Lots of nsCOMPtr uses added. I'm using one for mNameSpaceManager. Hold mSecurityManager as a service explicitly, on the other hand (awaiting scc's fix to allow comptrs for services), and release in nsJSContext's dtor (fixing a leak). These two managers should be moved to the window object -- TODO item below.
- Hold JSRuntimeService along with JSRuntime for live of nsJSEnvironment, fix for shaver.
- Fix window.setTimeout etc. so the filename and line number of the timeout expr is propagated. This meant factoring nsJSUtils.cpp code.
- Fix all content sinks to use the same, and up-to-date JavaScript version parsing (whether for script type or for old language attribute); also fix SplitMimeType clones to strip whitespace.
- With waterson, fix bug in brutal-sharing version of XUL content sink: script src= should not evaluate the inline content of its tag.
1999-10-31 00:43:30 +00:00
beard%netscape.com
b7336b7219
MLK: fixed nsICSSDeclaration leak, bug=15380, r=kipp
1999-10-30 20:17:40 +00:00
buster%netscape.com
c1b8a96276
added DOM notification up to frame system for text control value changes
...
part of bug 14727
r=rods
1999-10-30 16:30:33 +00:00
buster%netscape.com
072fe15daf
added pseudo-style for single line text controls. bug 14727
1999-10-30 16:29:32 +00:00
vidur%netscape.com
fa9b6af7f8
Fix for double frame creation for scripts that document.write content that causes sink context creation. Fix that allows the last children of a body to be flushed. R=harishd
1999-10-29 19:07:24 +00:00
braddr%puremagic.com
d92727dc68
Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE in anticipation of nixing NS_COMFALSE in the near future.
...
r=scc
1999-10-28 03:16:48 +00:00
braddr%puremagic.com
b49b3dbdce
Ooops.. tree closed, better back these out for now. Sorry.
1999-10-27 21:01:37 +00:00
braddr%puremagic.com
b2ea5b4c45
Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE
...
in anticipation of nixing NS_COMFALSE in the near future.
r=scc (please contact him should there be any build issues)
1999-10-27 20:24:21 +00:00
vidur%netscape.com
200fbfdedd
Update mNumFlushed counts when we do a synchronous notification (in scripts, for example). This is so that a call to FlushTags while we're executing a script sees the context stack in an updated state. Fixes bug 14042. R=joki.
1999-10-27 14:03:15 +00:00
norris%netscape.com
b019c6ed88
Fix 16836 "Security error accessing DOM elements inside an IFrame"
...
r=vidur@netscape.com
Also, bug 16536 "Security disallows opening resource URL" no longer occurs after this fix.
1999-10-26 22:45:32 +00:00
vidur%netscape.com
6b60c967e8
Replaced delete operator calls with Recycle(). R=joki
1999-10-26 14:56:41 +00:00
vidur%netscape.com
318a3694ea
Switched HTML content sink to be more incremental in content creation. Fixes bugs 11141, 854, et. al. R=kipp
1999-10-26 14:55:51 +00:00
troy%netscape.com
a47e8db44b
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
kmcclusk%netscape.com
55f521c7df
First time checked in. Used to provide data during form submission. bug 17060. r=karnaze@netscape.com
1999-10-25 21:59:39 +00:00
rickg%netscape.com
cb13f11556
fixed infinite-loop bug 17045 by conditioning control loop. r=buster
1999-10-23 03:06:19 +00:00
nisheeth%netscape.com
f485a1ad04
Changes should not affect the build. Renaming the RAPTOR_PERF_METRICS ifdef to MOZ_PERF_METRICS.
1999-10-19 22:27:20 +00:00
pollmann%netscape.com
08340e215a
Bug 16725: Enable align attribute for iframe; r=harishd
1999-10-19 19:01:49 +00:00
pierre%netscape.com
c070ed6434
Fix #12737 "-moz-fixed should be compat mode only". Overwrites the fixed font family with the normal font family in navQuirks mode only. r=pollmann.
1999-10-19 00:31:45 +00:00
rods%netscape.com
64684fc9a3
Links will now scroll into view when they get focus and anchors now respond
...
to the .focus call from script. r=kmcclusk, Bug #15198
1999-10-18 21:49:38 +00:00
rods%netscape.com
5c139a65a1
Move code to handle focus event into the correct switch statement
...
r=kmcclusk, bug 7133
1999-10-18 21:47:31 +00:00
peterl%netscape.com
1634c730fd
Added new style data accessors.
...
Added nsIMutableStyleContext interface.
Made style rules work against nsIMutableStyleContext
r=troy
1999-10-16 04:05:59 +00:00
kipp%netscape.com
ad778d6889
r=troy; revised nsITextContent api to simplify it and the consumers; this is done as prep work for bug 9101
1999-10-15 23:36:07 +00:00
kipp%netscape.com
df637716d1
Wiped out another warning
1999-10-15 23:29:21 +00:00
peterl%netscape.com
dd4552d22a
Changed reported namespace of attributes from HTML to None.
...
r=vidur
Also added namespace ID to the AttributeChanged method
Part of the fix for Bug 15153
r=troy
1999-10-15 23:15:17 +00:00
buster%netscape.com
a43629a285
bug 11803 Need new event for text value changing
...
r=hyatt@netscape.com
not dogfood approved, but the fix has been sitting in my tree for 2 weeks
1999-10-15 13:37:06 +00:00
buster%netscape.com
cd84903c09
bug 11803 Need new event for text value changing
...
r=hyatt@netscape.com
not dogfood, but the fix has been sitting in my tree for 2 weeks
1999-10-15 13:36:23 +00:00
rods%netscape.com
f83fa03f9d
Fixed focus processing, this new code is very close to version 1.54 but more robust,
...
this fixes bug #7133 . It has been compiled and tested on Win, Mac, and Linux.
r=buster,dcone
1999-10-15 13:20:32 +00:00
pepper%netscape.com
4655f53a5f
Changed friend declaration to make HP compilers happy.
...
aCC requires a decl of friend class ClassName instead of friend ClassName.
r=peterl@netscape.com ,mgleeson@netscape.com
1999-10-14 23:31:07 +00:00
karnaze%netscape.com
17bd205286
cells with width=0 become auto, added comments
1999-10-14 04:01:26 +00:00
peterl%netscape.com
e9c78ceb0d
moved style rule cascading logic into a stand-alone rule processor
...
the rule processor can now cascade rules from multiple style sheets
fix for bug 12401 & 12106
r=pierre
1999-10-14 00:59:21 +00:00
peterl%netscape.com
f479d5d074
factored out parsing of style attribute
...
deferred parsing of style attribute until content
is connected to a document
Fix for bug 14986
r=vidur
1999-10-14 00:57:37 +00:00
karnaze%netscape.com
a97d9c7bca
added comments
1999-10-13 14:36:28 +00:00