kmcclusk%netscape.com
31beeacc3d
Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
...
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com
git-svn-id: svn://10.0.0.236/trunk@60242 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 15:48:01 +00:00
valeski%netscape.com
0305c31ba1
25557, 26083. r=morse. We now capture cookies from HTTP-EQUIV and we also handle HTTP-EQUIV refresh headers that include single/double quotes
...
git-svn-id: svn://10.0.0.236/trunk@59790 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 22:50:39 +00:00
valeski%netscape.com
8abecb4b3e
r=warren. nsIUnicharStreamLoader is dead. Now we have a generic byte stream loader that can be used for any sort of data.
...
git-svn-id: svn://10.0.0.236/trunk@59559 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 23:04:47 +00:00
akkana%netscape.com
3d478016f0
24635: Don't convert entities in title differently from the rest of the document. Fix suggested by rickg, r=me
...
git-svn-id: svn://10.0.0.236/trunk@59550 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:47:24 +00:00
pp%ludusdesign.com
a2927ce43e
Converting ::GetIID() into NS_GET_IID(). Bug #20232 . r=scc, r=mozbot
...
git-svn-id: svn://10.0.0.236/trunk@59537 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:24:56 +00:00
vidur%netscape.com
1fc69f769b
Partial performance fix for bug 25509. Restrict the size of text nodes (the max is settable via a pref-content.maxtextrun). r=nisheeth
...
git-svn-id: svn://10.0.0.236/trunk@59310 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:39:19 +00:00
vidur%netscape.com
825e97e024
Fix for bugs 20485 and 24600. We no longer flush immediately in the content sink when we hit a script element. Instead the sink is a document observer and listens for BeginUpdate/EndUpdate notifications when evaluating a script and flushes only if necessary. Added BeginUpdate/EndUpdate notifications to nsIDocument and layout content (note that it's still necessary for XUL content). r=nisheeth,pollmann
...
git-svn-id: svn://10.0.0.236/trunk@59117 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:43:12 +00:00
norris%netscape.com
0dd1063455
Fix 23227 Document object vulnerability
...
r=mstoltz
git-svn-id: svn://10.0.0.236/trunk@58789 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 15:33:57 +00:00
norris%netscape.com
153ee04b50
Fix
...
23643 Reading email messages using <META REFRESH>
23729 Executing functions in "chrome:" protocol - #3 - META REFRES
23730 Executing functions in "chrome:" protocol - #4 - HTTP redire
24217 Access to functions in chrome: protocol using IFRAME
24865 Parsing local non-HTML files #2 using META REFRESH
r=gagan
git-svn-id: svn://10.0.0.236/trunk@58561 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 04:42:01 +00:00
nisheeth%netscape.com
26ad5f5255
Work done by Vidur and me. Added a FlushPendingNotifications() method to the document. This method flushes the pending content notifications from the content sink and the pending reflow notifications from the pres shell. This code is turned off for now so that it can be tested more thoroughly by Vidur and me.
...
git-svn-id: svn://10.0.0.236/trunk@58465 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 06:43:15 +00:00
michael.lowe%bigfoot.com
6856aa06f0
Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@58358 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-21 21:56:09 +00:00
hyatt%netscape.com
bb4cf88bdc
Adding an interface for the creation of elements. Converting the HTML
...
element factory so that it implements this generic interface. r=waterson
git-svn-id: svn://10.0.0.236/trunk@58213 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 03:10:06 +00:00
nisheeth%netscape.com
7bb9a0c5e5
r=pollmann. Fix for bug 22237.
...
git-svn-id: svn://10.0.0.236/trunk@57870 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 01:41:22 +00:00
pollmann%netscape.com
836ef6cf4d
Bug 18478: Allow base tag in body to work for image maps (Fix courtesy bissiri@eecs.umich.edu) r=self, harishd
...
git-svn-id: svn://10.0.0.236/trunk@57374 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 07:21:24 +00:00
pierre%netscape.com
1de0179819
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).
...
git-svn-id: svn://10.0.0.236/trunk@57196 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 10:09:00 +00:00
vidur%netscape.com
4a4cce66b8
Fix for bug 21682. BASE tag was ignored in the fragment content sink. Added HTML element creation method that takes an ID. r=pollmann
...
git-svn-id: svn://10.0.0.236/trunk@57035 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 23:36:45 +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
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
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
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
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
rickg%netscape.com
cf7c17f944
WIP on fixing <noscript> bug for real -- post dogfood. r=syd
...
git-svn-id: svn://10.0.0.236/trunk@55561 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 07:25:56 +00:00
vidur%netscape.com
4662ada89f
For bug 17325. Added timer-based notifications that can be enabled on a pref. R=nisheeth.
...
git-svn-id: svn://10.0.0.236/trunk@55252 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 01:27:46 +00:00
tbogard%aol.net
067920c238
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.
git-svn-id: svn://10.0.0.236/trunk@55175 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 09:24:22 +00:00
warren%netscape.com
51881fbcea
Landing no_neckoutil2_branch. Bug #11159 . Removes neckoutil_s.lib from build which helps beos and openvms.
...
git-svn-id: svn://10.0.0.236/trunk@54722 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:50:42 +00:00
valeski%netscape.com
8271d7284a
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).
...
git-svn-id: svn://10.0.0.236/trunk@54626 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 23:02:14 +00:00
rickg%netscape.com
d5114737fd
landing update for harishd r=rickg
...
git-svn-id: svn://10.0.0.236/trunk@54128 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-22 06:16:25 +00:00
rods%netscape.com
9454f93684
added bool parm to DoneAddingContent content sink sets it to false r=dcone bug 18241
...
git-svn-id: svn://10.0.0.236/trunk@54000 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 15:41:30 +00:00
buster%netscape.com
1e648d27d6
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
git-svn-id: svn://10.0.0.236/trunk@53979 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 07:35:27 +00:00
harishd%netscape.com
9262567bff
Fix for bug 18328
...
r=vidur
git-svn-id: svn://10.0.0.236/trunk@53965 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 04:02:23 +00:00
warren%netscape.com
d8627fe912
Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott
...
git-svn-id: svn://10.0.0.236/trunk@53761 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 08:14:52 +00:00
norris%netscape.com
331cf153db
* 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
git-svn-id: svn://10.0.0.236/trunk@53631 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 05:07:31 +00:00
vidur%netscape.com
8244e5ee1a
Fix for bug 18040. Removed spurious UMR. Added macro for turning off incremental notification. R=buster, pollmann.
...
git-svn-id: svn://10.0.0.236/trunk@53299 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 02:07:54 +00:00
rods%netscape.com
f999911691
notifies the select content when all the children content is there
...
r=vidur, bug 17965
git-svn-id: svn://10.0.0.236/trunk@53259 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 22:15:02 +00:00
jdunn%netscape.com
68a5a4a034
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
git-svn-id: svn://10.0.0.236/trunk@53239 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 21:35:34 +00:00
nisheeth%netscape.com
2bfa653735
a=sdagley. Move over to new timing macros...
...
git-svn-id: svn://10.0.0.236/trunk@53064 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 03:41:09 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
norris%netscape.com
2323d5792a
Fix
...
10194 Possible security vulnerability in "chrome:" protocol - acce
14979 "chrome" protocol allows accessing arbitrary files on the lo
r=vidur
git-svn-id: svn://10.0.0.236/trunk@52615 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:44:27 +00:00
warren%netscape.com
1d1448afe5
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
...
git-svn-id: svn://10.0.0.236/trunk@52529 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 06:49:44 +00:00
brendan%mozilla.org
f980be0221
(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.
git-svn-id: svn://10.0.0.236/trunk@52347 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-31 00:43:30 +00:00
vidur%netscape.com
a595e9b30a
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
...
git-svn-id: svn://10.0.0.236/trunk@52232 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-29 19:07:24 +00:00
vidur%netscape.com
48577bac14
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.
...
git-svn-id: svn://10.0.0.236/trunk@51971 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 14:03:15 +00:00
vidur%netscape.com
252d9255a6
Switched HTML content sink to be more incremental in content creation. Fixes bugs 11141, 854, et. al. R=kipp
...
git-svn-id: svn://10.0.0.236/trunk@51848 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 14:55:51 +00:00
troy%netscape.com
bd46e7911f
Changed SetView/GetView to take an additional argument which is the
...
pres context
git-svn-id: svn://10.0.0.236/trunk@51822 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 04:44:41 +00:00
nisheeth%netscape.com
b7fab4e31c
Changes should not affect the build. Renaming the RAPTOR_PERF_METRICS ifdef to MOZ_PERF_METRICS.
...
git-svn-id: svn://10.0.0.236/trunk@51196 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 22:27:20 +00:00
nisheeth%netscape.com
d65bc1efa0
We now use the new RAPTOR_STOPWATCH_DEBUGTRACE macro to annotate all manipulations of the timers.
...
git-svn-id: svn://10.0.0.236/trunk@50372 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 23:42:56 +00:00
kipp%netscape.com
e18af2d0ee
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
...
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:19 +00:00
norris%netscape.com
cedec739aa
Fix another portion of 13192 Mozilla is "oversecured" and does not allow access to documents in the same domain
...
Reviewed by vidur.
git-svn-id: svn://10.0.0.236/trunk@50021 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 21:13:37 +00:00