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

1136 Коммитов

Автор SHA1 Сообщение Дата
nisheeth%netscape.com fa1d77063b 1) Added support for loading an XML document "out of band" from script and manipulating it via dom interfaces.
2) Fixed compile errors in XSL glue code that happened after the recent nsString landing by scc.
3) Added a check for a null URI before de-referencing it in nsCodeBasePrincipal.cpp.
2000-05-01 06:58:53 +00:00
jst%netscape.com 956a193562 Hooking up window.getSelection() to return a selection object. 2000-04-28 14:02:29 +00:00
hyatt%netscape.com 774fb00011 Fix crash on dynamic skin switch. 2000-04-28 06:17:47 +00:00
scc%netscape.com 259a746cfb making string conversions explicit 2000-04-27 20:29:56 +00:00
brendan%mozilla.org f2203f5ca6 Add TraceMalloc* native methods; allow multiple log files per site file. 2000-04-27 04:02:22 +00:00
jst%netscape.com 3d960393a0 Trying to fix build bustage. 2000-04-26 14:43:10 +00:00
jst%netscape.com 468a70d967 Removing files that must be in another directory. 2000-04-26 14:11:07 +00:00
jst%netscape.com ee1f821853 Landing DOM Level 2 CSS and Views interfaces and implementation. 2000-04-26 14:05:36 +00:00
jst%netscape.com 3625709458 Landing DOM Level 2 CSS and Views interfaces and implementation. 2000-04-26 13:58:56 +00:00
brade%netscape.com 3a4f05ea65 add/remove files for jst (+dom/src/base/nsJSAbstractView.cpp, +dom/src/coreDOM/nsJSDocumentStyle.cpp, +dom/src/coreDOM/nsJSDocumentView.cpp, +dom/src/coreDOM/nsJSMediaList.cpp, +dom/src/coreDOM/nsJSStyleSheetList.cpp, +dom/src/css/nsJSCSSRuleList.cpp, -dom/src/coreDOM/nsJSStyleSheetCollection.cpp, -dom/src/css/nsJSCSSStyleRuleCollection.cpp) 2000-04-26 13:57:45 +00:00
jst%netscape.com 922ccbe1ad Adding headers for new DOM Level 2 interfaces to the build, not used yet. 2000-04-26 12:30:42 +00:00
jst%netscape.com 994b21c647 Adding new files to the makefiles, not part of the normal build. 2000-04-26 12:17:05 +00:00
jst%netscape.com 52e7c296f0 Checking in DOM JS glue code for new DOM Level 2 interfaces, not part of the build yet. 2000-04-26 01:00:40 +00:00
jst%netscape.com 0b240f10f7 Checking in DOM JS glue code for new DOM Level 2 interfaces, not part of the build yet. 2000-04-26 00:55:05 +00:00
jst%netscape.com c98751cf14 Adding new DOM Level 2 interfaces, not part of the build yet. 2000-04-26 00:43:24 +00:00
jst%netscape.com f6c98ef45f Adding new DOM Level 2 interfaces, not part of the build yet. 2000-04-26 00:38:08 +00:00
jst%netscape.com 15f654e7ea Adding new DOM Level 2 CSS interfaces CSSRuleList and CSSCharsetRule, not part of the build yet. 2000-04-26 00:32:52 +00:00
jst%netscape.com 262a6ef3fe Adding new DOM Level 2 CSS interfaces MediaList and StyleSheetList, not part of the build yet. 2000-04-26 00:27:59 +00:00
scc%netscape.com 99535de185 making string conversions explicit 2000-04-25 08:10:43 +00:00
tbogard%aol.net 35a28493d6 Instead of getting the interface off the treeowner, do a GetInterface off the docShell to get a prompter. 2000-04-24 05:00:34 +00:00
joki%netscape.com 3851e31b9f fixes for 5995, 7304, 10573, 22832, and 9668.
Changes to event handling to deal with reentrant events, cursor fixes, and return value fixes.
2000-04-24 04:41:27 +00:00
cls%seawood.org 33edc21c9c General cleanup of the shared library rules.
Quick fix for bug #36844.
Since people kept forgetting to wrap SHARED_LIBRARY_LIBS inside MKSHLIB_FORCE_ALL & MKSHLIB_UNFORCE_ALL pairs, we now handle it in rules.mk.  Same goes for making $(SHARED_LIBRARY) dependent upon $(SHARED_LIBRARY_LIBS).
2000-04-23 17:48:04 +00:00
ftang%netscape.com 9bbe9a03ae change the dump code to dump in UTF8 so we can reduce unnecessary assertion when we turn on nsString
data corruption code
2000-04-21 21:46:36 +00:00
jst%netscape.com 62495e6102 Regenerating the DOM JS glue now that idlc knows about the new nsString API's, also updated nsGlobalWindow.cpp to use the new API. 2000-04-21 21:36:26 +00:00
jst%netscape.com ac84f92a46 Teaching idlc about the new nsString API. 2000-04-21 21:29:19 +00:00
danm%netscape.com 0fa27c4638 allowed windows with position specified to also specify size. deuglified some braces. couldn't help myself. bug 36219 2000-04-21 21:28:25 +00:00
pinkerton%netscape.com 2b1e668eb5 Moving Screen API away from individual attributes for performance reasons (stage 1). Fixes bugs on win32 with xul popups where taskbar is not at bottom of screen. 2000-04-21 06:55:13 +00:00
warren%netscape.com 8929701aaa Bug 34217. Making js protocol not clear window when it returns no result. 2000-04-21 05:18:15 +00:00
scc%netscape.com e246b96586 making string conversions explicit 2000-04-21 02:35:42 +00:00
jst%netscape.com 9967398bf2 Updating the DOM interface CSSStyleDeclaration to DOM Level 2. 2000-04-20 13:50:56 +00:00
brade%netscape.com 9369bcd1db add nsJSCSSValue.cpp for jst 2000-04-20 13:48:39 +00:00
jst%netscape.com b059fa0e79 Adding CSSValue interface, not part of the build yet. 2000-04-20 11:07:16 +00:00
pinkerton%netscape.com e85106dba6 Adding top and left to screen object because they're not always at 0,0 and
availTop and availLeft aren't good enough for all cases.
2000-04-20 02:00:55 +00:00
pinkerton%netscape.com f6035639b0 Adding top and left to screen object. 2000-04-20 01:59:24 +00:00
pinkerton%netscape.com 8e5c88d19c Adding top and left because they are not always at 0,0. 2000-04-20 01:58:36 +00:00
pinkerton%netscape.com 2718e4f048 Adding screen.top and screen.left 2000-04-20 01:57:16 +00:00
jst%netscape.com 1fdafb43e4 Updating the DOM interfaces HTMLFormElement and HTMLOptionElement to DOM Level 2. 2000-04-18 23:00:58 +00:00
jst%netscape.com 304122a1dc Updating the HTMLObjectElement interface to DOM Level 2. 2000-04-18 22:57:42 +00:00
jst%netscape.com eb15553b5b Fixing bug #25359, accessing mimetypes by name wasn't implemented, now it is. r=av@netscape.com 2000-04-18 22:08:05 +00:00
jst%netscape.com c899913a24 Adding DOM Level 2 interface definitions for AbstractView and DocumentView, not part of the build. 2000-04-18 17:07:52 +00:00
scc%netscape.com 7e868737a5 making string conversions explicit 2000-04-17 14:30:23 +00:00
scc%netscape.com 767ae4861e making string conversions explicit 2000-04-15 19:03:12 +00:00
mccabe%netscape.com b5188c5d2d Fix logic to fall through to stderr-printing code. 2000-04-15 03:40:48 +00:00
jband%netscape.com 8867cad436 fixing bustage 2000-04-15 02:50:22 +00:00
mccabe%netscape.com 4537a69b81 Modify nsIScriptGlobalObjectOwner::ReportScriptError to take an nsIScriptError interface, rather than separate message, file, line arguments.
Fix implementations and their callers, and restore error printing to stderr even when the error is successfully logged to the console service, to make life easier for people who go to the trouble to invoke Mozilla with -console.
2000-04-15 01:56:47 +00:00
mjudge%netscape.com 5c6387af01 new reason for notification 2000-04-14 23:03:57 +00:00
mjudge%netscape.com f932d997b6 adding reason to notification 2000-04-14 23:03:16 +00:00
mjudge%netscape.com 6a50a5a300 new spi addition for reason for notification 2000-04-14 23:02:51 +00:00
mjudge%netscape.com df3d3cc91d added new parameters to notification 2000-04-14 11:28:55 +00:00
mjudge%netscape.com 80323a423b added new parameters to NotifySelectionlisteners 2000-04-14 11:27:59 +00:00
mjudge%netscape.com 3274a82934 new api more details on notification 2000-04-14 11:27:22 +00:00
warren%netscape.com 54312c70fb Fixed refcounting bug 35794. 2000-04-14 07:18:36 +00:00
norris%netscape.com a3caa18f07 Fix
28390, 28866, 34364
r=brendan@mozilla.org
35701
r=jst@netscape.com
2000-04-14 03:14:53 +00:00
jst%netscape.com 2c4d540f7a Update the DOM interface to DOM Level 2, only stubs so far. 2000-04-13 21:21:02 +00:00
danm%netscape.com 9e945b79cc hook up new 'centerscreen' chrome flag 2000-04-13 20:32:30 +00:00
sfraser%netscape.com 48fa415a04 Adding methods to NSHTMLInputElement to allow control of the selection from JS. 2000-04-13 05:02:35 +00:00
ducarroz%netscape.com 5fe7f03696 Remove the old autocomplete widget which is now replaced by the XBL one (xpfe/components/autocomplete). R=alecf. 2000-04-13 04:50:39 +00:00
hyatt%netscape.com 2ffbbf0cf2 Fixing an XBL event handling bug and a menu shortcut bug. r=brendan, a=leaf 2000-04-06 22:32:36 +00:00
jst%netscape.com 3f6e5927d9 Eliminating the last traces of NS_COMFALSE from the DOM code, fixes M15 bug #11594. 2000-04-05 02:40:08 +00:00
mkaply%us.ibm.com 25c83939ad # 34082
r= jst@netscape.com
OS/2 Visual Age build - Adding PR_CALLBACK to some functoins for linkage
2000-04-05 02:37:25 +00:00
jst%netscape.com aebdfd63a7 Updating the DOM Attr interface to match the DOM Level 2 spec. r=waterson@netscape.com 2000-04-03 13:40:04 +00:00
scc%netscape.com 6f4c241bfa making string conversions explicit 2000-04-03 09:03:21 +00:00
jst%netscape.com 09556dd1c8 Updating the interfaces Document and HTMLDocument to comply with DOM Level 2, only stubs for new methods for now. 2000-04-02 17:46:30 +00:00
jst%netscape.com eb690d2418 Updating HTMLFrameElement and HTMLIFrameElement to comply with the Level 2 DOM, this adds a 'contentDocument' attribute to those two interfaces that can be used to access the document contained in the frame. 2000-04-02 14:04:19 +00:00
jst%netscape.com 8e8ba24a17 Reorder member initialzers to fix fompiler wirknings. 2000-04-02 13:54:45 +00:00
jst%netscape.com c968fa9368 Fixing compiler warnings and possible UMR's. 2000-04-02 13:50:36 +00:00
scc%netscape.com 356987ae60 making string conversions explicit 2000-04-02 08:22:56 +00:00
jim_nance%yahoo.com ab2828200c Fixed possible uninitialized return value
r=jst@netscape.com
2000-04-02 00:53:21 +00:00
danm%netscape.com 7d23ccadb6 implement alwaysRaised,alwaysLowered,z-lock window.open feature flags 2000-04-01 22:17:48 +00:00
jst%netscape.com 5fdb266f31 Updating the DOM Node interface to match the DOM Level 2 interface, only stub implemetations so far. 2000-04-01 13:31:23 +00:00
jband%netscape.com 4722fad978 hold an extra ref on mContext while we are calling GC. a=leaf to checkin while tree is closed 2000-04-01 00:33:10 +00:00
tbogard%aol.net 8ee0467cc0 Changed nsPIDOMWindow::GetXPConnectObject to GetObjectProperty and the same change to Set. 2000-03-31 09:26:02 +00:00
tbogard%aol.net 33ac9cc8c7 When height or width are specified in window.open we now properly apply it to the content area and not to the outer window's size. Fixes #32663. 2000-03-31 07:34:32 +00:00
tbogard%aol.net ab5349aaa4 Removed the nsIDOMWindow::GetXPConnectObject, AddXPConnectObject, and RemoveXPConnectObject methods. This feature can be done through properties or through nsPIDOMWindow::GetXPConnectObject. 2000-03-31 06:59:30 +00:00
tbogard%aol.net 57839a9724 Removed GetDocShell from nsPIDOMWindow as it can be retrieved using nsIScriptGlobalObject. Added SetXPConnectObject and GetXPConnectObject which hooks up or retrieves an xpconnect object to a property on the dom window. Removed some old XXXEMBEDDING comments as they were wrong. The old methods on nsIDOMWindow for adding and getting an object now call through to the property code. Those methods will soon be removed. 2000-03-31 03:33:49 +00:00
jst%netscape.com 70f4a36661 Add null ptr checks to avoid crashing, this fixes #30372. r=av@netscape.com 2000-03-31 00:31:44 +00:00
tbogard%aol.net 5bfd3cc997 nsIDocShell::LoadURI now takes a nsIDocShellLoadInfo parameter to do fancier loads which include replacing current history slots and passing in a referrer. In the future more things may be set on the nsIDocShellLoadInfo interface. This allows us to not have to add a new parameter for every new type of load info that might be needed in different loads. 2000-03-30 22:38:32 +00:00
tbogard%aol.net 2790f05dff Don't get the referrer spec when the referrer is null. 2000-03-30 08:07:18 +00:00
pavlov%netscape.com a2e73edc91 fix build bustage 2000-03-30 05:23:20 +00:00
tbogard%aol.net 698dde3fae Changed CheckURL to return a nsIURI for the referrer instead of a nsString. SetURL now calls nsIDocShell to do it's load instead of nsIWebShell. 2000-03-30 04:55:38 +00:00
jim_nance%yahoo.com 005e33f06e Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com
2000-03-30 03:21:26 +00:00
alecf%netscape.com a96d4c6225 add local nsIPref.h dependancy to remove global one 2000-03-29 09:48:41 +00:00
tbogard%aol.net e6b357e9ef Make sure to dump the xpConnectObjectHash when we load a new document. Use the new docShell API for loading a URI rather than the old nsIWebShell code. Since this takes a uri, this also allows us to avoid creating and destructing a uri/ a character spec. We can now just pass the URI to be loaded. 2000-03-29 06:16:16 +00:00
warren%netscape.com d60b12b153 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
hyatt%netscape.com 01ea60d7ee Enhancements to nsIScriptcontext. r=brendan@mozilla.org 2000-03-29 01:18:21 +00:00
akkana%netscape.com 3bd08fc59c 9266: Disable JS in the editor (and allow for disabling it anywhere). r=brendan,jband,norris,sfraser 2000-03-28 00:15:56 +00:00
scc%netscape.com 2fb0ab107e small changes to clients of string converting APIs 2000-03-26 09:07:50 +00:00
norris%netscape.com c7afcfb732 Fix
32088 Circumventing Same Origin security policy using javascript: URLs
        32040 about: can't be link
Also remove deprecated method
r=mstoltz
2000-03-24 22:15:37 +00:00
tbogard%aol.net a5f723338c Provided implementation for GetXPConnectObject, AddXPConnectObject and RemoveXPConnectObject. Changed RemoveXPConnectObject to only take the id since taking the pointer as well was useless. Also fixed an error in nsGlobalWindow.cpp with signed against unsigned of string lengths. 2000-03-24 00:11:48 +00:00
norris%netscape.com 07a6acc61f Fix bug 32904 Asserts at startup in nsScriptSecurityManager.cpp
r=mstoltz
2000-03-23 23:42:46 +00:00
hyatt%netscape.com 974924c12b Adding a couple of props. 2000-03-23 22:20:34 +00:00
hyatt%netscape.com 16fdea9f7b XUL <textfield> lives! 2000-03-23 22:17:37 +00:00
av%netscape.com 9445663a39 Fixing null-pointer access causing variuos crashes, bug #30372, r=jst 2000-03-23 21:42:23 +00:00
tbogard%aol.net 3eafb213dd Adding new methods to domwindow to be able to set and get at XPConnect Objects based on an ID. This allows attaching an object from JS to the window and then retrieving and calling it from C++. This is just the specification for the interfaces. The implementation is not yet fully there. 2000-03-23 04:23:26 +00:00
jst%netscape.com fb0a85bfac Update DOMImplementation, DocumentType and DOM Error codes to match the current DOM Level 2 recommendation, also make HTML documents have a DocumentType if one is given in the file. r=joki@netscape.com 2000-03-22 22:16:14 +00:00
norris%netscape.com d892204fce Fix
28387 nBookmarking javascript: URLs is dangerous
32343 Components object appears to be accessible via javascript: u
31707 Crash when logging into hotoffice.com
r=mstoltz
2000-03-21 23:16:55 +00:00
valeski%netscape.com 5412e2c42d r=jst. 30067. we now expose OSCPU, vendor and product attributes of the user agent string through the JS navigator object. 2000-03-21 22:39:54 +00:00
hyatt%netscape.com 74a69fd9f7 Fix for bug #32587. 2000-03-21 02:05:15 +00:00
jst%netscape.com 9a1181dc2e Checking in patch from jband@netscape.com that makes it possible to build on Win98 again. r=me 2000-03-20 14:12:57 +00:00
norris%netscape.com 437a7174ea Fix a number of security bugs. (I can't see the numbers at home because
they have restricted visibility.)
r=mstoltz
2000-03-18 17:48:12 +00:00