Commit Graph

2422 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
5998b290c6 Fix bug 28570, leak of nsXULPrototypeDocument and nsJSContext (and things they owned). r=waterson@netscape.com 2000-03-16 01:11:02 +00:00
beard%netscape.com
4fc51fbd02 uncovered leak exposes a crasher, this fixes it. r=waterson 2000-03-15 23:58:01 +00:00
rjc%netscape.com
df47fab4ca When processing IE Favorites (on Windows), handle eof correctly. 2000-03-15 09:08:45 +00:00
ftang%netscape.com
b84d6f192d change type from char to PRUnichar so the problem tracking code in 28424 won't be to noisy. 2000-03-15 05:19:29 +00:00
hyatt%netscape.com
d0c662c931 handling disabled case for checkboxes and radios. 2000-03-13 13:05:46 +00:00
rickg%netscape.com
59808e15af removed calls to deprecated string methods 2000-03-12 11:18:18 +00:00
rickg%netscape.com
5dc7d01987 removed calls to deprecated nsString methods 2000-03-12 11:06:57 +00:00
rickg%netscape.com
ffe78e83e5 removed calls to deprecated string methods 2000-03-12 09:14:14 +00:00
hyatt%netscape.com
f1f3c62f2b new xul widgets 2000-03-11 10:31:34 +00:00
norris%netscape.com
060e388a6b Files:
caps/idl/nsICertificatePrincipal.idl
	caps/idl/nsIPrincipal.idl
	caps/src/nsBasePrincipal.cpp
Implement the ability to manipulate multiple capabilties simultaneously.
r=mstoltz@netscape.com

Files:
	caps/src/nsCodebasePrincipal.cpp
Codebase equality should be based upon origin, not full path.
r=mstoltz@netscape.com

Files:
	caps/src/nsScriptSecurityManager.cpp
Change URI checking to deny based upon scheme rather than allow based upon
scheme for greater flexibility.
r=mstoltz@netscape.com

Files:
	dom/public/nsDOMPropEnums.h
	dom/public/nsDOMPropNames.h
	dom/src/base/nsGlobalWindow.cpp
	modules/libpref/src/init/all.js
Fix bug 20469 Seeing JS functions and global variables from arbitrary host
r=vidur@netscape.com

Files:
	dom/src/base/nsJSUtils.cpp
	dom/src/base/nsJSUtils.h
	dom/src/base/nsJSEnvironment.cpp
	dom/tools/JSStubGen.cpp
	layout/base/src/nsDocument.cpp
	layout/html/content/src/nsGenericHTMLElement.cpp
Improve performance by removing NS_WITH_SERVICE call for every DOM access.
Propagate XPCOM failure codes out properly.
r=vidur@netscape.com

Files:
	layout/html/document/src/nsFrameFrame.cpp
Fix 27387 Circumventing Same Origin security policy using setAttribute
r=vidur@netscape.com
2000-03-11 06:32:42 +00:00
pavlov%netscape.com
ce094b4cfc changes to let us build on MacOS X 2000-03-11 03:08:04 +00:00
tbogard%aol.net
c881cb9260 Use the docShell APIs instead of the webShell ones where possible. 2000-03-11 00:22:48 +00:00
waterson%netscape.com
775fd4e50b Bug 30887. Check mDocument before dereferencing to update style rule. Happens when setting 'style' attribute on an element that is not in the doc tree. r=hyatt, a=jar. 2000-03-08 06:05:45 +00:00
tbogard%aol.net
d90b8bcda9 When the channel is cancelled, don't ignore it, actually cancel and don't sent OnStartRequests if one hasn't been sent yet. If an OnStop is pending, send a OnStopRequest with cancelled in it. bug #30625. r=jud, waterson a=jevering 2000-03-08 03:54:07 +00:00
waterson%netscape.com
7b0457913d Bug 27222. Add a parser observer, so we're always guaranteed to be notified when an overlay completes (even if the overlay wasn't there). Keeps us from 'hanging' when an overlay file is missing. r=harishd, a=jevering 2000-03-07 02:33:44 +00:00
warren%netscape.com
c0497e31be Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
tbogard%aol.net
ada2eb3f19 Adding support to get to the nsIWebBrowser from the browser element. Fix for 27161. r=pavlov a=jevering 2000-03-04 07:59:14 +00:00
tbogard%aol.net
168ad6720e Adding support to get to the nsIDocShell from the iframe element. Fix for 27161. r=pavlov a=jevering 2000-03-04 07:58:56 +00:00
waterson%netscape.com
1c955c9ed2 Bug 29148. Put OnStartLoad() on an event, as well as OnStopLoad(). Avoids re-entrancy where re-entrancy should never be. r=rjc, a=jar. 2000-03-03 23:17:10 +00:00
waterson%netscape.com
f119fe3159 Bug 29148. Initialize out-params to sane values before returning an error. There are lots of places that don't check return codes on these methods. r=rjc, a=jar. 2000-03-03 23:15:34 +00:00
waterson%netscape.com
3a38a69faa Bug 29148. Don't abort in the case where an invalid stylesheet reference has somehow made it into the prototype document, but the stylesheet was never put into the cache (an empty CSS file will cause this to happen). Instead, just keep on truckin'. r=rjc, a=jar 2000-03-03 23:14:09 +00:00
cls%seawood.org
09c37a19ec Fix for compilers that can't deal with the extra ; that results in an "incorrectly terminated declaration" (namely Sun's Workshop 5.0 & AIX's xlC) 2000-03-02 15:27:09 +00:00
scc%netscape.com
d1724d8b93 Added new radiogroup files to the project on behalf of hyatt (since camelot is down) r=hyatt, a=jar 2000-03-02 10:07:10 +00:00
hyatt%netscape.com
d6796e3c65 XUL RadioGroup element, not used in XUL. r=ben, a=jar 2000-03-02 10:00:09 +00:00
waterson%netscape.com
bcc180b908 Bug 25364. Use nsCOMPtr where appropriate; make sure to getter_AddRefs() when calling GetShellAt(). r=travis, hyatt a=jar. 2000-03-01 07:27:31 +00:00
hyatt%netscape.com
b87c565b99 Fix for bug #29410. r=vidur, a=rickg 2000-03-01 01:43:34 +00:00
pollmann%netscape.com
3328c4a8ea Bug 28670: Move XUL scrollbar removal to nsCSSFrameConstructor r=travis a=rickg 2000-02-29 06:51:05 +00:00
jdunn%netscape.com
dd4717cd8d adding newline 2000-02-28 20:50:38 +00:00
rjc%netscape.com
14065c7824 Fix PDT+ bug # 6770: be able to get filenames from the file system in the platform native charset. Patch from m_kato@ga2.so-net.ne.jp Review: ftang, dougt, and myself. Approval: jar 2000-02-26 02:19:34 +00:00
pinkerton%netscape.com
4e3e72a47c saari at pink's machine again, another generated file 2000-02-26 02:03:04 +00:00
pinkerton%netscape.com
bd834b5c7f saari checking in on pink's machine, fixing build, adding generated DOM idl file 2000-02-26 01:48:04 +00:00
rjc%netscape.com
df001914ec Part of fix for bug # 25876: bookmarks drag&drop behavior modification. Approval: jevering Review: waterson 2000-02-26 01:26:02 +00:00
saari%netscape.com
7e48b21ecd fix for 28467, a=jar, r=hyatt 2000-02-26 00:59:41 +00:00
saari%netscape.com
dbaa79f38a Fix PDT+ 28467, windows jumping z-order to front on load. r=hyatt a=jar 2000-02-26 00:58:12 +00:00
jdunn%netscape.com
70d3a43f78 checkin newlines for hpux
r= pepper@netscape.com
2000-02-25 23:45:53 +00:00
waterson%netscape.com
c1897bf17d Bug 28632. Check container to see if contents have -ever- been built before 'rebuilding'. If no content has been built yet, then trying to rebuild causes bizarre things to happen (like, two of everything). r=rjc,putterman. a=jar 2000-02-25 23:08:43 +00:00
hyatt%netscape.com
5ff8c68587 XUL Property APIs, b=26109, r=ben 2000-02-25 08:37:49 +00:00
hyatt%netscape.com
f91f06ca13 added files: mozilla/rdf/content/src/nsJSXULMenuListElement.cpp, mozilla/rdf/content/src/nsJSXULTitledButtonElement.cpp, mozilla/rdf/content/src/nsJSXULCheckboxElement.cpp, mozilla/rdf/content/src/nsJSXULRadioElement.cpp, mozilla/rdf/content/src/nsXULMenuListElement.cpp, mozilla/rdf/content/src/nsXULTitledButtonElement.cpp, mozilla/rdf/content/src/nsXULCheckboxElement.cpp, mozilla/rdf/content/src/nsXULRadioElement.cpp 2000-02-25 08:36:48 +00:00
bryner%uiuc.edu
6985354db4 Adding a new flag to the Win32 build system. Set DISABLE_TESTS=1 to skip
building in the tests directories.  Should not affect the build at all if
you do not have this environment variable.  r=leaf.
2000-02-25 04:12:40 +00:00
law%netscape.com
e52299f99b Fix from Chris Waterson to suppress bogus assertion failure when adding overlays to personal toolbar; this is a prerequisite to other changes for bug #11871; r=waterson@netscape.com, a=jevering@netscape.com 2000-02-25 02:28:45 +00:00
bienvenu%netscape.com
89181e6adc fix handling of uri's with 8 bit characters, a=phil r=waterson 24692 2000-02-23 20:51:36 +00:00
waterson%netscape.com
887eabb12d Bug 28473. Make style resolution cheaper when 'width' and 'height' attributes are changed on a <window>. r=hyatt, a=jevering. 2000-02-22 06:09:41 +00:00
danm%netscape.com
698eb199f8 stop up small but profuse leak on NT; probably a runtime lib bug. r=waterson a=jevering 2000-02-22 04:13:24 +00:00
pollmann%netscape.com
239cf4050e Bug 14827: Naughty XUL documents no longer steal scrollbars r=harishd a=rickg 2000-02-19 02:41:48 +00:00
waterson%netscape.com
85010931c6 Bugs 27271, 27947. Re-order menu creation so that RDF-generated menus are created simultaneously with XUL content. Use style rather than content tree crawling to avoid over-eager creation of menu content. r=hyatt,danm a=jevering. 2000-02-19 00:56:13 +00:00
akkana%netscape.com
6334f4c02d Fix tree blocker 28396. Suggested by hyatt, r=me, a=granrose 2000-02-18 19:43:06 +00:00
hyatt%netscape.com
88b9a0adac Popup fixes. r=saari 2000-02-18 09:38:59 +00:00
saari%netscape.com
0add201695 Fix for PDT+ bug 23085, Pressing enter in open web location dialog doesn't work if dialog is opened from keybinding but does work if opened from menu. Changed XUL keybinding executing to prevent reentrant execution of bindings. This dialog didn't work because it was modal and in the middle of waiting for the inital xulkey+L binding to finish when you hit enter, so we smacked our reentrancy guard and didn't execute the enter key binding. r = hyatt 2000-02-18 08:40:32 +00:00
waterson%netscape.com
0b9f6cb34b Bug 27925. Check document's principal before loading RDF datasources; if principal == system principal, let it do whatever it wants, otherwise check each datasource's URL to ensure that it comes from the same origin as the document. Prevents, for example, untrusted XUL content from loading bookmarks. r=norris, a=chofmann 2000-02-17 21:05:52 +00:00
waterson%netscape.com
725a6b2b3d Revert fix for 26947, 27271 due to bad interaction with the 'find' datasource that causes crash-on-exit. a=chofmann. 2000-02-16 22:44:15 +00:00
waterson%netscape.com
21c4ae46b3 Bugs 27947, 27271. Re-order content-model-to-layout notification to avoid an incremental reflow. This ensures that 1) all menus will be completely created before they are displayed, and 2) the 'oncreate' handler runs after RDF content has been generated. r=hyatt 2000-02-16 07:36:35 +00:00
joki%netscape.com
c564b74577 Fixes for bug 9544, 9552, 9558, 9561, and 13309. event handler 4x compat. and capture/bubble fixes. r:pollmann 2000-02-16 06:59:07 +00:00
mkaply%us.ibm.com
a5a271e8e6 # 25555
r= watterson@netscape.com
OS/2 changes for Mozilla
2000-02-15 15:25:57 +00:00
hyatt%netscape.com
d87c5f540d Checking in an API and implementation for the enumeration of the user's search path,
as well as for the enumeration of all installed objects in the chrome registry.
2000-02-15 10:05:29 +00:00
hyatt%netscape.com
d277b0cfef Checking in the modified nsIChromeEntry object, which will be the
workhorse of the new chrome search path.
2000-02-15 09:56:00 +00:00
sspitzer%netscape.com
505b02bd76 case sensitivity problem. r=sfraser 2000-02-15 09:42:41 +00:00
sfraser%netscape.com
3a99973849 Add nsControllerCommandManager.cpp to build, as part of work for bug 18395. r=hyatt, pinkerton 2000-02-15 08:51:31 +00:00
sfraser%netscape.com
92e0c2ac71 First Checked In. 2000-02-15 08:42:25 +00:00
sfraser%netscape.com
3a4f4a0f9f Add nsIControllerCommand.idl. r=pinkerton 2000-02-15 08:41:38 +00:00
sfraser%netscape.com
6d4df147fc Add nsIControllerCommand.idl to build. WIP for bug 18395. r=pinkerton, hyatt 2000-02-15 08:40:52 +00:00
pinkerton%netscape.com
30921af68e now that mac correctly converts control-click to a right-click, we no longer need the #ifdef for mac when launching a context menu. r=saari. 2000-02-15 07:15:00 +00:00
waterson%netscape.com
8ce00f5245 Bug 25303. Remember container into which content was inserted and the index of first insertion, rather than the first element that was inserted. With the latter approach, we were sending incorrect ContentAppended notifications to layout when the insertion sort would move the position of the 'first' inserted element. r=rjc@netscape.com. 2000-02-15 07:08:45 +00:00
saari%netscape.com
93e6429500 Fix for mac bustage 2000-02-15 06:06:53 +00:00
tbogard%aol.net
388bc2b3e6 Added some commented out code to illustrate how we might potentially obtain the held docShell object from the htmlinnerframe. 2000-02-15 05:19:43 +00:00
putterman%netscape.com
d1428bcbdb Speed up sorting. r=rjc. Bug 26131. 2000-02-15 05:05:29 +00:00
saari%netscape.com
539dc8d145 Adding files for Travis 2000-02-15 04:58:55 +00:00
tbogard%aol.net
e90f418de4 Support for the new interfaces on the browserElement and iframeElement. r=hyatt 2000-02-15 04:47:33 +00:00
tbogard%aol.net
8770fa62be Adding the new interface definitions for BrowserElement and IFrameElement. r=hyatt 2000-02-15 04:28:20 +00:00
tbogard%aol.net
0904e12722 New files for defining the BrowserElement and IFrameElement interfaces. r=hyatt 2000-02-15 04:25:53 +00:00
hyatt%netscape.com
ce49a1bab9 Fixing bad bug in key listener... would have made typing slow in Editor. 2000-02-15 01:33:36 +00:00
hyatt%netscape.com
6882634a8f Fix for bug #23387. 2000-02-13 22:57:52 +00:00
dp%netscape.com
8494b2f6e0 bug# 13732 Removing brprof from the build. r=akkanna 2000-02-12 18:50:36 +00:00
hyatt%netscape.com
546064e2fc Addendum to 20764 2000-02-12 10:47:33 +00:00
hyatt%netscape.com
5b1a23bf63 Fix for bug #20764. 2000-02-12 10:08:52 +00:00
saari%netscape.com
5ee75e51de Fixing delete key regression. r=hyatt 2000-02-12 05:52:24 +00:00
akkana%netscape.com
7a994dd6db 27431 -- avoid slew of printfs complaining about GetCharCode from KeyDown, and speed up xul key bindings. r=brade 2000-02-11 22:11:39 +00:00
hangas%netscape.com
e3be9f19a1 Checking in for saari, fix for key bindings with no xulkey="true" (bug 26484). r=hangas 2000-02-11 01:21:35 +00:00
hyatt%netscape.com
59c456d260 Fix for bug #25675. More focus memory framework being checked in for the
command dispatcher as well.
2000-02-11 00:59:32 +00:00
kmcclusk%netscape.com
cd6f5d237b 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
2000-02-09 15:48:01 +00:00
hyatt%netscape.com
96132f8ef9 Giving the XUL key listener a spanking. 2000-02-09 09:35:30 +00:00
hyatt%netscape.com
8ac3ffd335 Fixing command dispatcher horkage. r=saari 2000-02-09 03:14:03 +00:00
dp%netscape.com
3c5ef57426 Fixing build bustage. 2000-02-09 02:43:48 +00:00
hyatt%netscape.com
6dd01225a8 Command dispatcher fix for PDT+ focus issues on Linux. r=saari 2000-02-09 01:32:42 +00:00
tbogard%aol.net
840c8350e1 GlobalWindow now calls up nsIDocShellTreeOwner rather than nsIBrowserWindow. GlobalWindow has mostly been re-organized as well as cleaned up to provide this new functionality. DocShellTreeOwners got implementations filled in and many bugs fixed. nsIScriptGlobalObject now talks in terms of docShells instead of webShells. Fixed a number of cases where people were walking through content viewers etc to get to a presShell and changed them to simply ask for the presShell from the docShell. GlobalWindow now deals completely in terms of docShells. r=vidur 2000-02-08 13:40:10 +00:00
joki%netscape.com
3480787577 Adding getPreventDefault method to events and fixing its propagation through content. r:hyatt 2000-02-08 02:05:57 +00:00
scc%netscape.com
73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
waterson%netscape.com
d4305ba238 Tweak MOZ_COUNT_[CTOR|DTOR] macros. 2000-02-06 02:56:06 +00:00
waterson%netscape.com
617c766449 Bug 26129. Replace timer with a PLEvent. GTK timers (in this specific case) seem to be confused when a modal event queue has been pushed. By using a PLEvent, we get the same effect, but are able to grab the outermost queue to ensure that our callback to fire OnEndDocumentLoad gets kicked. r=mscott 2000-02-06 01:30:16 +00:00
alecf%netscape.com
1cb5e2dedd when form elements are generated via a template, set the form to the XUL Doc's hidden form so that the element behaves correctly.
r=waterson
2000-02-05 01:03:39 +00:00
warren%netscape.com
dcfe43430c Fixed indentation. 2000-02-04 12:18:27 +00:00
warren%netscape.com
7879538143 fixed typo 2000-02-04 12:17:39 +00:00
warren%netscape.com
591856a337 Implemented GetOwner/SetOwner. r=mscott 2000-02-04 08:55:05 +00:00
alecf%netscape.com
a59485a7ad hook up this object to the globalobjectowner so that we can report errors
r=waterson
2000-02-04 01:42:05 +00:00
waterson%netscape.com
65ae380cbe Bug 25333. Implement nsIScriptGlobalObjectOwner so we can report compilation errors. r=scc 2000-02-03 08:51:49 +00:00
waterson%netscape.com
3ecb7666ea Bug 26304. Make sure the nsXULSortService updates does 'deep' SetDocument() calls when twiddling content nodes: regressed with fixes for 20677 and 23905. r=scc,rjc. 2000-02-03 07:57:51 +00:00
waterson%netscape.com
b0ab68c1e3 Bug 20677, 23905, attempt number 2. This time, in the DOM methods, we make sure to do a 'deep' set on mDocument *before* calling to their nsIContent brethren. This ensures that any code in layout that wants to access the document gets the right value. r=scc 2000-02-03 07:55:34 +00:00
pp%ludusdesign.com
63dc886c6b Removed hand-made QueryInterface that wasn't used for a long time.
r=pinkerton@netscape.com
2000-02-03 01:25:38 +00:00
brade%netscape.com
67968bcb5e fix access paths for move to CW5 (bug #25949) 2000-02-02 23:21:51 +00:00
valeski%netscape.com
a567c875bb r=warren. nsIUnicharStreamLoader is dead. Now we have a generic byte stream loader that can be used for any sort of data. 2000-02-02 23:04:47 +00:00
brade%netscape.com
27ca515c4c fix access paths for move to CW5 (bug #25949) 2000-02-02 22:45:39 +00:00