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

1651 Коммитов

Автор SHA1 Сообщение Дата
jst%netscape.com a9aac3ab1c Backing out parts of an experiment that was accidentally checked in yesterday, fixes blocker bug 90363. r=pollmann@netscape.com 2001-07-12 03:13:28 +00:00
jst%netscape.com 1f13e89980 Attempting to fix mac bustage... 2001-07-11 10:03:04 +00:00
jst%netscape.com a9992e70df Fixing compiler warning. 2001-07-11 09:13:05 +00:00
jst%netscape.com 22d7f72715 Fixing bug 83433, exposing DOM constructors and prototypes to JS. r/sr=rpotts@netcape.com, vidur@netscape.com, dbradley@netscape.com 2001-07-11 09:09:30 +00:00
jst%netscape.com c19602b0ae Fixing bug 88933, oriblems with setting event handlers on select elements from JS. r=hidday@geocities.com, sr=brendan@mozilla.org 2001-07-10 07:31:31 +00:00
rpotts%netscape.com f845312346 bug #65777. This fixes a regressoion caused by the last patch - which broke javascript bookmarklets 2001-07-06 19:40:23 +00:00
cls%seawood.org 654b132df3 Updating .cvsignore files.
Bug #84824 r=jag
2001-07-06 02:36:37 +00:00
jst%netscape.com 1b353f633a Fixing bug 86147. Adding code that does security checks on access to getter and setter functions for properties of DOM objects in JS. Also fixing a JS engine bug that caused problems with the real fix for this bug, the JS engine bug was that a jsid was passed as a jsval to the checkAccess() class hook. r=mstolts@netscape.com, sr=brendan@mozilla.org 2001-07-04 09:44:57 +00:00
jaggernaut%netscape.com 03ab87e4a1 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
jgaunt%netscape.com 96a2e5ce18 bug #86517 Landing of Accessible_052901_Branch4 sr=waterson
r= lots, see bug
2001-06-30 00:25:09 +00:00
rpotts%netscape.com 55530daee4 bug #65777 (r=jst, sr=vidur). Reworked javascript: protocol so script execution is synchronous inside of AsyncOpen() 2001-06-29 00:40:45 +00:00
jst%netscape.com f9dbf2a2cb Fixing bug 87961. Fixing problems with accessing items in DOM 'array' objects. r/sr=brenda@mozilla.org, vidur@netscape.com 2001-06-28 04:26:29 +00:00
dbaron%fas.harvard.edu 717872da6f Fix leak from complicated ownership cycle by releasing |mChromeEventHandler| in |CleanUp| and |SetDocShell|. b=87466 r=saari sr=hyatt 2001-06-26 21:29:08 +00:00
locka%iol.ie c56de18ca3 Added missing interface to NS_IMPL_ISUPPORTS macro. sr=jst@netscape.com b=86641 2001-06-25 22:00:11 +00:00
jst%netscape.com 00551d6020 Fixing bug 74816. Adding a pref check to window.dump() that lets us control the output from dump() with a pref in release builds, the default for release builds is disable output, and in debug builds the output is always enabled. The boolean pref that controls this is 'browser.dom.window.dump.enabled'. r=pollmann@netscape.com, sr=ben@netscape.com, a=drivers@mozilla.org (blizzard@mozilla.org) 2001-06-22 10:54:23 +00:00
jst%netscape.com a8b4f2a6d7 Fixing bug 80496, making window.scrollTo() correctly scroll to the end of the document if a huge number is passed in as the coordinages to scroll to, the fix is to convert integers that don't fit into 32 bits after a pixel to twips conversion. Also fixing a crash in embedding apps if their docshell tree owners don't deal with passing null out parameters to GetPosition(). r=dbradley@netscape.com, bryner@netscape.com, sr=vidur@netscape.com, a=drivers@mozilla.org (asa) 2001-06-22 00:48:50 +00:00
waterson%netscape.com 0877b1a573 Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs. 2001-06-20 20:21:49 +00:00
dbaron%fas.harvard.edu 688519fb0c Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa 2001-06-20 03:27:48 +00:00
blakeross%telocity.com b826b7a4d4 Add command() method to nsIDOMXULElement, fixes bug 56137 and some other accessibility bugs (83614). r=kerz sr=ben a=asa 2001-06-20 02:02:57 +00:00
danm%netscape.com ed9f54c409 URL loading security check moved from WindowWatcher to GlobalWindow. base URL calculation also reset to preferentially use the caller's context over the parent window's. bug 59748 r=hyatt,jst a=asa 2001-06-20 01:25:09 +00:00
bzbarsky%mit.edu 5cfa2c2066 Add classinfo to nsGenericHTMLCollection, fixing bug 85560 and bug
83107.  r=peterv, sr=jst, a=dbaron
2001-06-19 23:38:39 +00:00
cls%seawood.org 80f526179f Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
2001-06-18 22:10:38 +00:00
jst%netscape.com 281148f640 Fixing crasher bug 86313, patch by _basic@yahoo.com and myself, r=pollmann, sr=me, a=drivers@mozilla.org 2001-06-18 07:37:11 +00:00
heikki%netscape.com b0b3de93e4 Bug 83557, make xmlextras work in embedding. XMLHttpRequest is more like a DOM class now, events are fired and executed on the proper context, and a lot of JS specific code was removed. Patch by jst, r=heikki, sr=vidur, a=asa@mozilla.org. 2001-06-11 22:16:10 +00:00
dougt%netscape.com 9174af6517 Fixes bug 83401. r=gagan, darin, sr=vidur, a=blizzard. Add port blacklisting to necko 2001-06-06 00:10:09 +00:00
jband%netscape.com 2d66e95044 fix bug 83367 - add deferred Release of natives of wrappednatives to avoid nesting into js_AllocGCThing during JS gc sr=jst r=dbradley a=drivers 2001-06-05 01:00:48 +00:00
jband%netscape.com 852c423229 fix part of bug 82034 by failing rather than crashing if the applet is null. Fix from jst. sr=jband r=beard a=drivers 2001-06-05 00:41:28 +00:00
jst%netscape.com bd7afc9b79 Fixing crasher bug 73331. When cleaning up incorrect content in the HTML content sink we ended up creating frames for content that was about to be taken out of the document shortly after only to be inserted into the document again at a different place, this caused frame construction to happen for the new content that was about to be moved. So we created frames for no good reason and the frames we created got distroyed immediately after they've been created. The frame construction left old frames around that held on to anonymous content that was partly torn down and didn't have a valid document pointer, this caused a crash later on in the style resolution code. r=harishd@netscape.com, sr=vidur@netscape.com, a=drivers@mozilla.org (blizzard@mozilla.org). 2001-05-30 02:25:52 +00:00
saari%netscape.com 924f1d986d fixing 826710 blocker. r=me,sr=hyatt,a=mcafee Make sure we null out the focused element after the focus is supressed, and after the container is torn down. Also, make sure we don't do unnecessary command updating when focus is suppressed 2001-05-29 23:22:11 +00:00
jst%netscape.com 6f6a761215 Making these interfaces compile w/o changes to domstubs.idl, not part of the build. 2001-05-28 01:46:11 +00:00
jst%netscape.com e142c7f794 Checking in Jonas Sicking's (sicking@bigfoot.com) DOM Level 2 traversal interfaces, see bug 82625 for more details, not part of the build. 2001-05-26 10:04:05 +00:00
jst%netscape.com e168e4d5d2 Fixing bug 81928 which caused errors in JS executed in XUL files to be silently ignored. The problem was that nsJSContext::GetGlobalObject() was relying on the global object in a context to be a XPConnect wrapped object, but this was not the case when XUL files loaded prototype scripts. r=brendan@mozilla.org, sr=jband@netscape.com, a=blizzard@mozilla.org. 2001-05-26 07:44:19 +00:00
joki%netscape.com 9fe4266b04 Fix for 80996, prevent attempted access to freed event listeners by throwing out old ELM when loading new page. sr:jst, r:nisheeth 2001-05-23 06:33:28 +00:00
jst%netscape.com 3d3533bbb7 Backing out dbaron's last change for bug 42321 which prevented mozilla from running the JS GC when going from page to page, this caused bugscape blocker bug 5073. r/sr=vidur&rpotts 2001-05-23 00:15:54 +00:00
rods%netscape.com ade2376885 adding pane/frameset/frame/iframe navigation
Bug 24423 r=joki,saari a=hyatt
2001-05-22 23:52:17 +00:00
jst%netscape.com ac97242416 Checking in vidur@netscape.com's fix for regression bug 82051, this fixes a common crash on opening/closing windows and or loading webpages, this is a completely safe fix. r=peterv@netscape.com, sr=jst@netscape.com 2001-05-22 10:48:22 +00:00
jst%netscape.com 44f261ac24 Checking in fix for xpcdom regression bug 81915. Adding resolve hook to the HTML document helper, r=peterv@netscape.com, sr=scc@mozilla.org 2001-05-21 12:37:38 +00:00
dbaron%fas.harvard.edu 3ff25e7956 Fix gcc 2.7.2.3 crash on startup (orange on speedracer and worms tinderboxes). gcc 2.7.2.3 doesn't seem to follow the rule in C++ 12.2, clause 5, on the lifetime of temporaries bound to references. 2001-05-19 16:05:10 +00:00
jst%netscape.com f72e19a2c3 scc checking in from jst's account. bug #75220: sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances. 2001-05-19 11:27:30 +00:00
jst%netscape.com 781a32fd99 Random whitespace cleanup. 2001-05-19 09:14:19 +00:00
jst%netscape.com 4fc694060b Fixing problem with setting oldstyle 'replaceable' properties from JS that was exposed by the recent JS engine resolver fixes. I had simply forgotten to set *objp to tell XPConnect that something was resolved in the ::NewResolve() call. r=pollmann@netscape.com, sr=jband@netscape.com 2001-05-19 09:13:32 +00:00
vidur%netscape.com a25c92dfb8 Continuing fix for bug 18843. Added onload and onerror events for loaded scripts. Node scriptable helper now uses the owner document for adding a refernce when a property is added. This addresses the case of unparented nodes as well. r=nisheeth, sr=jst 2001-05-19 01:21:43 +00:00
mstoltz%netscape.com edf3f8a6e9 Re-checking-in my fix for 47905, which was backed out last night because of a bug in some other code that was checked in along with it. This checkin was not causing the crasher and is unchanged. See earlier checkin comment - in short, this adds same-origin to XMLHttpRequest and cleans up some function calls in caps, removes some unnecessary parameters. r=vidur, sr=jst. 2001-05-19 00:33:51 +00:00
dbaron%fas.harvard.edu 166bcf24a6 Don't run JS GC when creating a new window. b=42321 r,sr = jst,brendan 2001-05-18 23:11:53 +00:00
blizzard%redhat.com e1e5c32a99 Back out mstoltz because of blocker bug #81629. Original bugs were 47905 79775. 2001-05-18 17:41:23 +00:00
jst%netscape.com 15015f5a3e Checking in fix for bug 81308 which caused JS errors in XUL prototype scripts to not be shown on the console, patch by sfraser@netscape.com, sr=sfraser@netscape.com, jst@netscape.com, r=pollmann@netscape.com 2001-05-18 07:25:56 +00:00
mstoltz%netscape.com 201736a175 Bug 47905 - adding security check for XMLHttpRequest.open.
Added nsIScriptSecurityManager::CheckConnect for this purpose.
Also cleaned up the security check API by removing some unnecessary
parameters. r=vidur@netscape.com, sr=jst@netscape.com

Bug 79775 - Forward button broken in main mail window. Making
WindowWatcher not call GetSubjectPrincipal if the URL to be loaded is
chrome, since the calling principal is superfluous in this case.
No one has been able to find the root cause of this problem, but
this checkin works around it, which is the best we can do for now.
r=ducarroz@netscape.com, sr=jst@netscape.com
2001-05-18 06:56:29 +00:00
javi%netscape.com e6dd55f7fe Fix for Bug 80841 r=mcgreer@netscape.com sr=jst@netscape.com
Make sure an entropy collector is generated and feed data from every
  100th mouse to the entropy collector.
2001-05-18 00:02:52 +00:00
jst%netscape.com c78ecb96b0 Checking in fix for xpcdom regression bug 81265, the call to initialize liveconnect per context was dropped in the xpcdom landing, fix by beard@netscape.com (plus some additional cleanup by me), r=pollmann@netscape.com, sr=jst@netscape.com 2001-05-17 09:01:03 +00:00
cls%seawood.org dbb137975a Updating intermodule dependencies. Should fix senna tb bustage. 2001-05-17 06:22:23 +00:00
jst%netscape.com 969db0be6e Removing GetNewListenerManager() from nsIDOMEventReceiver since it's not needed any more, no real code changes. r=pollmann@netscape.com, rs=vidur@netscape.com 2001-05-17 06:04:04 +00:00
bstell%netscape.com 2f602505ab bug 79608, r=ftang, sr=vidur
for the embedding API: add get/set charset (GI'able from GlobalWIndow)
2001-05-17 02:15:27 +00:00
axel%pike.org 4bfafe2c62 moving nsOutlinerSelection from nsISecurityCheckedComponent to class info, r=mstoltz, sr=jst, bug 80907 2001-05-16 08:13:12 +00:00
radha%netscape.com c935d1fd66 Fix for bug # 72197 javascript urls cause problems with history r= rpotts sr=blizzard 2001-05-15 22:26:19 +00:00
jst%netscape.com 400acf4b77 Fixing the remaining part (xpcdom regression) of bug 61984, r=harishd@netscape.com, sr=vidur@netscape.com 2001-05-15 20:58:58 +00:00
jst%netscape.com 14a64ef556 Fixing the remaining part (xpcdom regression) of bug 61984, r=harishd@netscape.com, sr=vidur@netscape.com 2001-05-15 20:58:31 +00:00
peterv%netscape.com 9a92abfadc Add DOM ClassInfo for Transformiix classes. r=Pike, sr=jst. 2001-05-15 20:35:23 +00:00
jst%netscape.com 9e3e2750cd Checking in Boris Zbarsky's (bzbarsky@mit.edu) fix for bug 79818, making more CSSRules implement DOM interfaces. r=bryner, sr=jst 2001-05-15 08:26:13 +00:00
anthonyd%netscape.com a36f27f107 comments for the nsIDOMRange.idl, JUST comments, nothing to see here. 2001-05-15 06:09:47 +00:00
jst%netscape.com 0c050c2477 Wrap debug fprintf inside #ifdef DEBUG, bug #78629, patch by cls@seawood.org, sr=me. 2001-05-14 09:56:10 +00:00
jst%netscape.com 84ba689efe Use JS_ValueToECMAInt32() in stead of JS_ValueToInt32() to avoid errors when trying to convert random strings to numbers. r=rginda@netscape.com, sr=jband@netscape.com 2001-05-14 08:54:17 +00:00
joki%netscape.com 0b4ddfe2f8 Fix for 78987, modify Init*Event signatures to meet standards. sr:hyatt, r:jst 2001-05-14 01:54:11 +00:00
jst%netscape.com 7df19a4a99 Making items in CSSRuleList's accessable from JS using the array syntax (i.e. rulelist[n]). r=peterv@netscape.com, rs=vidur@netscape.com 2001-05-13 22:16:45 +00:00
jst%netscape.com 26a951693c Removing unecessary #includes 2001-05-13 09:52:35 +00:00
jst%netscape.com 1db327b2fe Making document.write and document.writeln callable with no arguments, this is needed for backwards compatibility. This is a regression from the XPCDOM landing. r=bryner, sr=hyatt. 2001-05-13 00:27:58 +00:00
jst%netscape.com 478c78fc7a Fixing xpcdom regression bug 79737 that caused problems on bugzilla. HTMLFormElement's resolve hook wasn't implemented so form controls in a form weren't shadowing DOM properties on form elements. Also fixing problem with select[n] = new Object(). r=pollmann@netscape.com, sr=jband@netscape.com 2001-05-12 05:26:07 +00:00
blakeross%telocity.com 906e02d98a Making selection dnd work again (second part of 79793). r=ben sr=jst 2001-05-12 05:16:57 +00:00
darin%netscape.com c18fe7ef56 Http branch landing: changes to other files (bug 76866) r=gagan,sr=dougt,a=chofmann 2001-05-11 21:05:08 +00:00
jst%netscape.com 9249579a8d Checking in fix from jband@netscape.com that enumerates all interfaces w/o loading xpt files on statup unless they contain DOM interfaces (that start with 'nsIDOM'). sr=jst@netscape.com 2001-05-11 05:24:12 +00:00
jst%netscape.com 04fec7a776 Removing nsIJSScriptObject from the build. sr=vidur@netscape.com 2001-05-11 05:19:46 +00:00
jst%netscape.com 596b846fd1 Making document.styleSheets appear as a JS array, trivial regression from the xpcdom landing. r=pollmann@netscape.com 2001-05-11 04:45:15 +00:00
mkaply%us.ibm.com 66837db2ef senna REQUIRES bustage - jsconsole 2001-05-11 03:42:43 +00:00
danm%netscape.com a5da395605 making Deactivate() stop making the window visible, which occasionally caused reactivation problems and bug 78364, among others. r=hyatt,pinkerton 2001-05-11 03:18:01 +00:00
pinkerton%netscape.com 00fa03a78a separating jsconsole into its own component. r=damn/sr=hyatt bug# 73127 2001-05-11 01:52:11 +00:00
mstoltz%netscape.com d0f2b845b9 Fixes for bugs 79796, 77203, and 54060. r=jband@netscape.com,
sr=brendan@mozilla.org
2001-05-11 00:43:27 +00:00
jst%netscape.com c5abd95658 Fixing screwup with old 'replaceable' properties and window.location in the xpcdom landing, r=pavlov@netscape.com, sr/rs=jband@netscape.com 2001-05-10 09:45:46 +00:00
jst%netscape.com eb1c1d4c66 Fixing muerte (BSD/OS 4.2) bustage. 2001-05-09 01:39:02 +00:00
dbaron%fas.harvard.edu 7c3e08095c Fix AIX bustage by removing |const| from signature of |Prompt| that isn't in the XPIDL-generated interface (although it shouldn't really matter). sr=jst 2001-05-08 22:43:25 +00:00
jst%netscape.com 6b5b1c70ae Replacing uuid since the last one mozbot gave me was already used, I can not believe this! 2001-05-08 21:33:42 +00:00
peterv%netscape.com bc536c429c Another mac bustage fix (remove nsJSDOMEventListener.cpp). 2001-05-08 20:35:28 +00:00
dbaron%fas.harvard.edu 8fe9e7700e Fix gcc 2.7.2.3 bustage with enum values from different anonymous enums. r=shaver 2001-05-08 19:43:47 +00:00
dbaron%fas.harvard.edu cc2ff76a60 Add newline at end of file to fix HP bustage. 2001-05-08 19:28:46 +00:00
dbaron%fas.harvard.edu 1326c82680 Fix MOZ_TRACK_MODULE_DEPS (senna tinderbox) bustage by adding new header file dependencies from XPCDOM landing to REQUIRES. 2001-05-08 19:19:03 +00:00
jst%netscape.com 621060c4fd Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com. 2001-05-08 17:42:36 +00:00
leaf%mozilla.org aeafd0d638 merging for jst. 2001-05-08 17:14:15 +00:00
jst%netscape.com 4efe5ca336 Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com. 2001-05-08 17:02:10 +00:00
jst%netscape.com fca8ad1b44 Adding makefile, not part of the build yet. 2001-05-08 12:34:29 +00:00
cls%seawood.org 8fe86ff395 Let the use of PR_Log() be controlled by a toplevel build option. All places that set FORCE_PR_LOG to force logging on need to wrap that #define FORCE_PR_LOG in a MOZ_LOGGING ifdef.
It's on by default. Set
--disable-logging (unix)
NO_LOGGING=1 (win32)
moz_logging = 0  (mac)
to turn it off globally.

Bug #53226 r=sspitzer,leaf,sfraser
2001-05-05 10:18:53 +00:00
kandrot%netscape.com d5bd552195 Check in for Ron Guilmette. r=shaver, sr=waterson. For intl r=nhotta. Changes for NS_IMPL_NSGETMODULE. bug #46775. 2001-05-05 05:33:37 +00:00
scc%mozilla.org e40df0d961 bug #75504; sr=jband. simple fixes correcting where people inappropriately applied |getter_AddRefs| 2001-05-03 10:09:59 +00:00
edburns%acm.org 91ff2909f5 r=sr=jst
bug=http://bugzilla.mozilla.org/show_bug.cgi?id=78224
This fix modifies NavigatorImpl::JavaEnabled() so that it consults
the nsIJVMManager to see if java is enabled, rather than consulting
the plugin sub-system to see if the there is a plugin for the
java mime-type.

M nsGlobalWindow.cpp
2001-05-02 22:04:10 +00:00
hyatt%netscape.com 23b0c38927 Fix for 76495. r=danm, sr=rpotts 2001-05-01 22:54:11 +00:00
jst%netscape.com 577a7877fc Adding new interface file, not part of the build. 2001-04-29 21:43:17 +00:00
cls%seawood.org 25c6dc1c7e Set EXPORT_LIBRARY=1 in all pertinent Makefile.ins. Allows us to build the final link list as we traverse the tree. Bug #46775 2001-04-28 19:48:12 +00:00
arik%netscape.com 4dd69fe7eb moved SizeToContent from nsIDOMWindowInternal to nsIDOMWindow and updated existing code. Fixes bug 69922, r=dr, sr=brendan, a=blizzard. 2001-04-28 02:42:23 +00:00
arik%netscape.com f43f27c30b moved SizeToContent from nsIDOMWindowInternal to nsIDOMWindow and updated existing code. fixes bug 69922, r=dr, sr=brendan, a=blizzard 2001-04-28 02:39:07 +00:00
hyatt%netscape.com 31a850a277 Fix for 77002. reviewers=jst,waterson,hixie,shaver,brendan,pavlov 2001-04-25 19:52:49 +00:00
heikki%netscape.com 9b41a83193 Bug 76641, back out baseURI property in the Node interface to fix binary compatibility. baseURI property is implemented in a different way on the DOM conversion branch, so baseURI will get back when the branch lands. This fix by jst, r=heikki, sr=brendan, a=chofmann. 2001-04-24 00:04:11 +00:00
pinkerton%netscape.com 7d58f3471c use openDialog instead of open to get around security manager when opening console. r=rginda/a=asa, bug 59748 2001-04-23 22:35:53 +00:00
dr%netscape.com 39003ffb2a 64313 (Implement cmd_copyLink, cmd_copyImageLocation, cmd_copyImageContents). Implement the commands, hook them up in the navigator and mailnews frontends, provide hooks for embedding. r=hyatt, sr=waterson 2001-04-18 06:06:31 +00:00