Commit Graph

2162 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
c699b9d44d Bug 198987. Fix regression by making pageXScroll and pageYScroll return 0 and succeed even when there's no scrolling view. r+sr=bzbarsky 2003-04-18 13:52:49 +00:00
jst%netscape.com
690a8cef27 Fixing bug 201132. Always use the JSPrincipals from the target object when compiling event handlers, never use the principals of the global object in which the event handler is compiled. Also make sure we never use the principals that are precompiled into cloned Functions, always get the principal from the Function's scope in such cases. r=mstoltz@netscape.com (and heikki@netscape.com), sr=brendan@mozilla.org 2003-04-17 20:21:00 +00:00
seawood%netscape.com
fd2883713e Implement mozcomps static build variant.
Remove unnecessary EXPORT_LIBRARY settings.
Bug #201602 r=bryner
2003-04-17 19:19:42 +00:00
brade%netscape.com
795af22455 command for drag/drop/copy/paste hooks (bug 197121) r=smfr sr=jst 2003-04-17 13:21:19 +00:00
danm%netscape.com
4d9279dc54 use new popupblocked domevent. bug 199705 r=jaggernaut,jst 2003-04-16 00:00:55 +00:00
danm%netscape.com
c8a9092ebc new popupblocked domevent. bug 199705 r=jaggernaut,jst 2003-04-16 00:00:46 +00:00
danm%netscape.com
2d8fc2dad9 new popupblocked domevent. bug 199705 r=jaggernaut,jst 2003-04-15 23:34:08 +00:00
sfraser%netscape.com
d5e2e8f4ac Fix regressions from bug 201560: forward/back reversal on key presses, and an annoying assertion. r=dbradley/brade, sr=peterv. 2003-04-15 19:55:10 +00:00
roc+%cs.cmu.edu
de942543e3 Bug 198987. Prevent smooth scrolling rounding small partial increments down to 0. Add scrollMaxX/scrollMaxY properties to JS window object so mailnews can use a more robust way to detect when the message is scrolled to the bottom of its window. r=bzbarsky,sr=jst 2003-04-15 13:40:46 +00:00
sfraser%netscape.com
28fca3442e Fix for bug 201822 -- recursion crash when using backspace key to go Back. patch by bryner, r=pavlov, sr=me. a=jj for checkin. 2003-04-14 16:10:47 +00:00
varga%netscape.com
cc78e0c6cd Backing out fix for bug 201132 to fix smoketest blocker 201889.
sr=peterv
2003-04-14 12:30:19 +00:00
jst%netscape.com
c2949137a8 Fixing bug 201132. Always use the JSPrincipals from the target object when compiling event handlers, never use the principals of the global object in which the event handler is compiled. r=mstoltz@netscape.com (and heikki@netscape.com), sr=brendan@mozilla.org 2003-04-13 04:05:29 +00:00
sfraser%netscape.com
430da523f7 Fix method types to keep Windows happy (__stdcall crap) 2003-04-12 04:22:16 +00:00
sfraser%netscape.com
2ce89db51a Fix bug 201560: reimplement the DOM window controller using shared controller code, and a singleton nsIControllerCommandTable. This reduces the number of string compares when updating commands, and is cleaner. Include some string cleanup in SetCursor() to reduce codesize. r=brade/jkeiser, sr=jst. 2003-04-12 03:08:23 +00:00
bryner%netscape.com
3a3ec0cbd5 Make --disable-xul work (bug 69995). We build enough XUL to support
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree.  r=bzbarsky, sr=alecf.
2003-04-11 00:56:27 +00:00
jst%netscape.com
4918397165 Fixing bug 200038. Fixing bogus assertion triggerd in venkman. r=heikki@netscape.com, sr=peterv@netscape.com 2003-04-09 04:40:20 +00:00
bzbarsky%mit.edu
f742557433 Use const statics for greater good. Bug 201251, r=jst, sr=alecf 2003-04-09 00:52:48 +00:00
jst%netscape.com
37596c703c Fixing bug 199465. Make the DOM shutdown code flush the XUL cache to ensure that everything is unrooted before the final JS GC is run. r=dbradley@netscape.com, sr=brendan@mozilla.org 2003-04-02 21:24:50 +00:00
jst%netscape.com
b4cc5d4695 Fixing bug 124412. Making nsXULDocument inherit nsXMLDocument to avoid the need to duplicate a large amount of code in nsXULDocument. Also removing nsMarkupDocument and nsIDOMEventCapturer that are no longer needed. Changing the inheritance of nsIDOMXULDocument to avoid ~60 or so forwarding methods, and doing a *lot* of code cleanup. r=bugmail@sicking.cc, sr=peterv@netscape.com 2003-03-26 07:41:30 +00:00
shliang%netscape.com
6fb1258807 195924, 195921, 195928 - popup blocking changes to use whitelisting only and provide info dlg when popup first encountered. r=danm, sr=jag. 2003-03-26 02:03:13 +00:00
alecf%netscape.com
8c50d0242a landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
sr=darin, r=dbaron
2003-03-25 18:55:59 +00:00
seawood%netscape.com
d056fe18d0 Resurrect --disable-oji
Bug #197924 r=peterl sr=alecf
2003-03-25 06:54:52 +00:00
jst%netscape.com
320062efa6 Fixing bug 199033. Taking out code that was needed for full-page plugins when they didn't have a document associated with them, that was recently fixed, so now this code is no longer needed. r=peterlubczynski@netscape.com, sr=bzbarsky@mit.edu 2003-03-25 00:17:27 +00:00
jst%netscape.com
df96f79656 Fixing regression bug 198433. option.text not settable any more. r=fabian@imajes.info, sr=bzbarsky@mit.edu 2003-03-21 21:27:17 +00:00
alecf%netscape.com
b6584a77fb backout my static atom patch for now until I figure out the performance loss! :(
bug 195262
2003-03-21 20:13:08 +00:00
heikki%netscape.com
7546a28ccf Bug 139276, implement synchronous document.load(), r=jst, sr=darin. 2003-03-21 19:22:52 +00:00
alecf%netscape.com
ecf24a2b78 fix for bug 195262:
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin

this is an experimental landing - if there are performance issues, I will back it out.
2003-03-21 06:26:32 +00:00
heikki%netscape.com
0ee437d7ac Bug 182323, implemented XPointer spec, we now support the framework, shorthand syntax, element, fixptr, xpath1 and xmlns schemes, and provide a proprietary API from scripts, r=sicking, sr=peterv. 2003-03-19 23:45:42 +00:00
jst%netscape.com
295fae128d Fixing typo in comment. 2003-03-18 23:23:49 +00:00
jst%netscape.com
a5e7d80b2c Removing unused variables. 2003-03-18 23:23:32 +00:00
dougt%netscape.com
0d2808c511 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
jst%netscape.com
493648b372 Um, forgot these changes in my last checkin. 2003-03-14 07:38:26 +00:00
jst%netscape.com
0b5cb41238 Fixing bug 192837. Freezing the rest of the DOM HTML interfaces. r=fabian@imajes.info, sr=peterv@netscape.com 2003-03-14 07:00:53 +00:00
jst%netscape.com
8cd096d01e Fixing bug 156871. Making history.go() work like history.go(0). r=bugmail@sicking.cc, sr=peterv@netscape.com 2003-03-13 07:12:11 +00:00
roc+%cs.cmu.edu
210e29411b Bug 183905. Allow horizontal scrolling with mouse sticks. Patch by Dainis_Jonitis, r+sr=roc+moz 2003-03-12 03:22:11 +00:00
jst%netscape.com
0ded6db4d9 Fixing bug 196895. Don't assume aIsUndefined is non-null. Patch by dbradley@netscape.com, r=jst@netscape.com, sr=alecf@netscape.com 2003-03-11 22:24:02 +00:00
hpradhan%hotpop.com
59fa9e599d bug 196404 : setting document.location.href while showing about:blank broken r=radha sr=dbaron 2003-03-11 04:31:44 +00:00
radha%netscape.com
c3cbae6131 Fix for bug #162128. Find a usable base uri for urls loaded through javascript.
r=jst sr=darin.
2003-03-05 22:23:47 +00:00
jst%netscape.com
0e4c40e508 Fixing bug 125318. Making window.self replaceable. r=fabian@imajes.info, sr=peterv@netscape.com 2003-02-27 00:54:49 +00:00
peterlubczynski%netscape.com
d1b6c0d64d Fixing the DOM navigator.mimeType array to be able to test for installed helper applications, bug 58811, patch by bzbarsky@mit.edu r=peter, sr=jst 2003-02-26 23:54:55 +00:00
mstoltz%netscape.com
ce91c3fdca Bug 163549 - Remove History.goURI(). Patch by mstoltz & jst. r=alecf/mstoltz. sr=heikki. 2003-02-25 01:40:18 +00:00
danm%netscape.com
f2d773dbfd suppress processing of blur events with filepicker showing. bug 68454 r=bryner,kmcclusk,jst 2003-02-24 20:15:59 +00:00
dbaron%dbaron.org
e59e36a0ee Replace the broken (since it can return destroyed data) ResolveStyleContextAndGetStyleData with GetXBLBindingURL. b=193847 r+sr=bzbarsky 2003-02-23 17:20:15 +00:00
jkeiser%netscape.com
bd4cc85eeb Make text drag work again (bug 193568), r=bryner@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org 2003-02-22 08:10:46 +00:00
jst%netscape.com
1eb16f6978 Whitespace changes, no 3-space indentation here\! 2003-02-18 05:41:48 +00:00
jst%netscape.com
11dd5320d2 Fixing part of bug 192837. Freezing most remaining DOM HTML interfaces and also nsIDOMStyleSheetList. r=harishd@netscape.com, sr=peterv@netscape.com, a=asa@mozilla.org 2003-02-18 00:20:16 +00:00
jst%netscape.com
1a0c20c6bb Fixing bug 193710. Fix crash in the DOM event handling code where it was passing a bad stack pointer to the JS engine. r=peterv@netscape.com, sr=brendan@mozilla.org, a=dbaron@dbaron.org 2003-02-17 22:38:55 +00:00
jst%netscape.com
c735423014 Fixing bug 189494. Making window.frames replaceable. r=fabian@guisset.org, sr=peterv@netscape.com, a=asa@mozilla.org 2003-02-14 01:59:52 +00:00
jst%netscape.com
a6d625072c Fixing regression bug 191916. Making classes of eTypeExternalConstructor constructable again, we can't use the DOMJSClass_Construct() hook directly from a JS function, it must be used only as a construct hook on instances of the JS class nsDOMClassInfo::sDOMJSClass. r=bugmail@sicking.cc, sr=peterv@netscape.com, a=asa@mozilla.org 2003-02-06 00:38:22 +00:00
nisheeth%netscape.com
cc8dffbfcc Fix for bug 191377. r=peterv, sr=heikki, a=asa. window.open("") was not opening a blank window. This was a regression from the fix to bug 174628. 2003-02-01 00:39:31 +00:00
nisheeth%netscape.com
861f7bc62c Backout last checkin because it did not have any log message. 2003-02-01 00:35:45 +00:00
nisheeth%netscape.com
bbfad7145e *** empty log message *** 2003-02-01 00:24:14 +00:00
peterv%netscape.com
5afb6de03a Fix for bug 91557 (constructor property of DOM Object instances return incorrect constructor). r=sicking, sr=jst, a=asa. 2003-01-31 12:10:13 +00:00
nisheeth%netscape.com
510bd13eac Fix for bug 174628. r=darin, sr=jst, a=asa. Only escape non-ASCII characters in url passed to nsGlobalWindow::InternalLoad(). 2003-01-27 22:02:44 +00:00
peterv%netscape.com
cf33cabd99 Backing out part of fix for bug 91557 to fix smoketest blocker 190064. 2003-01-22 15:39:44 +00:00
peterv%netscape.com
f88e30a75d Fix for bug 91557 (constructor property of DOM Object instances return incorrect constructor). sr=jst, sr=brendan. 2003-01-22 03:22:35 +00:00
timeless%mozdev.org
cfdbf03787 Bug 189736 Move early return failure cases to the beginning of nsDOMClassInfo::Init()
r=sicking sr=jst
2003-01-22 03:18:41 +00:00
varga%netscape.com
ad976ff996 Fix possible binary compatibility issues introduced by fix for bug 73322.
sr=bz
2003-01-18 17:55:27 +00:00
varga%netscape.com
874f920e11 Landing pref based, automatic image resizing.
Disabled by default.
r=jst, sr=jag
2003-01-18 10:17:58 +00:00
darin%netscape.com
685a7af468 modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa 2003-01-18 02:15:14 +00:00
peterv%netscape.com
1ee3336d5a Fix for bug 188500 (Some DOM classes do not resolve). r=sicking, sr=jst. 2003-01-17 15:16:33 +00:00
caillon%returnzero.com
8d9098a65a Bug 14777 - Give inline background image painting a rhyme and reason to how it works. Implement CSS3 proposal (-moz-)background-inline-policy.
r+sr=roc+moz
2003-01-17 09:33:52 +00:00
mkaply%us.ibm.com
8e455da2c0 No bug - OS/2 only - add #ifdef so OS/2 returns OS/2 for platform 2003-01-15 23:10:56 +00:00
dougt%netscape.com
6508e0713e move nsTraceMalloc out of XPCOM. Factory out stackwalking code into new files. 189221 r=chak, 186585 r=blythe sr=dbaron. Most of this patch was contributed by seawood. 2003-01-15 20:40:06 +00:00
jst%netscape.com
53dbf78a7a Fixing bug 161166. Freezing more DOM interfaces. r=harishd@netscape.com, sr=peterv@netscape.com 2003-01-14 23:05:52 +00:00
bryner%netscape.com
ad197350de fixing win32 bustage 2003-01-09 07:50:15 +00:00
bryner%netscape.com
7f0488eb18 Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky. 2003-01-09 06:49:07 +00:00
kin%netscape.com
872ded6605 Fix for bug #88049: Support .selectionStart & friends for textareas
Patch by petejc@optonline.net and kin@netscape.com

  mozilla/content/html/content/src/nsHTMLInputElement.cpp
  mozilla/content/html/content/src/nsHTMLTextAreaElement.cpp
  mozilla/dom/public/idl/html/nsIDOMNSHTMLTextAreaElement.idl
  mozilla/layout/html/forms/src/nsTextControlFrame.cpp
  mozilla/layout/html/forms/src/nsTextControlFrame.h

Re-implemented selectionStart, selectionEnd, setSelectionRange() and various

utility methods in nsTextControlFrame to support multi-line text widgets.


r=jkeiser@netscape.com  sr=sfraser@netscape.com
2003-01-09 06:06:17 +00:00
dbaron%dbaron.org
098bd15103 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 19:35:36 +00:00
jst%netscape.com
50771e7d42 Fixing bug 158370. Newly created windows not fully usable in JS when running in some embedded apps. r=harishd@netscape.com, sr=peterv@netscape.com 2003-01-06 22:37:54 +00:00
hpradhan%hotpop.com
a0f7e77d37 bug 186509 r=caillon sr=jst 2003-01-05 06:34:53 +00:00
seawood%netscape.com
d5efcdfb6d Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
caillon%returnzero.com
dfad9c362b Removing unused decl. r=timeless. I forgot to remove this with my fix for 175197, and it wasn't removed per my review comment to 183234. 2002-12-24 21:40:41 +00:00
aaronl%netscape.com
600e0c73e6 Bug 183234. Checking in patch for jst. Crash in nsDOMWindowController when F7 key pressed. r=aaronl, sr=peterv 2002-12-20 08:00:08 +00:00
peterv%netscape.com
74352f1e02 Fix for bug 180709 (Update Mozilla to the DOM Level 2 HTML PR). r=sicking, sr=jst. 2002-12-17 13:29:39 +00:00
jst%netscape.com
e2f8a3ab91 Fixing bug 183604. Making the DOM code reuse the timer for interval timeouts in stead of creating a new timeout every time. r=caillon@returnzero.com, sr=peterv@netscape.com 2002-12-12 22:37:07 +00:00
caillon%returnzero.com
4fc0180afb Bug 179269 - New page opens which should display tabular data. Error message in new page instead of data.
Fix contributed by Harshal <keeda@hotpop.com>
r=caillon sr=jst
2002-12-12 15:48:30 +00:00
jst%netscape.com
f729673363 Fixing bug 184209. Don't access timeout's past the point where they are released in a situation when the release might have deleted the timeout. r=dbradley@netscape.com, sr=rpotts@netscpae.com 2002-12-11 00:03:34 +00:00
caillon%returnzero.com
02dff0ba15 Bug 177328: Update compareTreePosition to compareDocumentPosition as per the latest DOM3 Core WD: http://www.w3.org/TR/2002/WD-DOM-Level-3-Core-20021022/core.html#Node3-compareDocumentPosition
r=bzbarsky sr=jst
2002-12-04 05:18:39 +00:00
mstoltz%netscape.com
16beb8a149 adding an include to fix bustage 2002-12-04 02:51:47 +00:00
mstoltz%netscape.com
b37c501c58 Bug 32571 - add disabling pref and JS console message to window.close security check. r=heikki, sr=jst. 2002-12-04 01:55:56 +00:00
caillon%returnzero.com
b7fdd3b2a7 178291 - using window.fullScreen causes scripts to stop.
r=mstoltz sr=jst
2002-12-03 06:08:08 +00:00
jst%netscape.com
dfc3a21a75 Renaming member variables in nsTimeoutImpl from 'foo' to 'mFoo'. rs=brendan@mozilla.org 2002-11-28 01:35:45 +00:00
jst%netscape.com
aa20bdfceb Fixing bug 178810. Original idea for the fix proposed by keeda@hotpop.com, complete fix written by me. Fix reference counting goofup that is triggerd by timeouts that run while a timeout is executing (due to a bug that lets timeouts fire while modal windows are open). r=peterv@netscape.com, sr=brendan@mozilla.org 2002-11-28 01:04:18 +00:00
caillon%returnzero.com
67da011039 175197 - Caching the window's prefs so we don't need to constantly re-fetch the service, move the calls to use the new prefs API in the process.
r/sr=sicking,jst,alecf
2002-11-25 23:21:25 +00:00
sicking%bigfoot.com
8d87d5e285 Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
jst%netscape.com
447d7e11ca Checking in keeda@hotpop.com's fix for bug 179461. Partially implement IE's select.options.add() method. No support for the optional second argument yet. r=caillon@returnzero.com, sr=jst@netscape.com 2002-11-20 22:36:36 +00:00
bryner%netscape.com
f8464e5fff Fixing mac build bustage. 2002-11-09 01:49:31 +00:00
bryner%netscape.com
8beac694e3 Add a second pass of event processing for system events, using DOM3 event group functionality. Bug 124990. Patch by joki, r=saari and bryner, sr=jst. 2002-11-09 00:25:25 +00:00
rpotts%netscape.com
edd519ef65 bug #174404 (sr=jst). forgot to check this file in with the rest of the patch... 2002-11-09 00:15:42 +00:00
brade%netscape.com
cf20089514 extend the api for Midas functionality (bug 177700, r=akkana, sr=jst) 2002-11-07 15:38:35 +00:00
blakeross%telocity.com
de604cfe77 170705 - accessing "navigator.cookieEnabled" produces "uncaught exception." r=hyatt sr=bryner 2002-11-06 20:53:52 +00:00
caillon%returnzero.com
53f34d33c0 177526 - Don't block calls to window.open() that don't actually pop open new windows.
r=jkeiser sr=bzbarsky
2002-11-06 20:48:58 +00:00
bryner%netscape.com
9b996ca00d Fix fullscreen mode on Linux to use the fullscreen hint, rather than manually sizing the window (bug 176640). Move the existing implementation of fullscreen mode from nsGlobalWindow to nsBaseWidget, so that it can be overridden in the gtk widget implementation. r=blizzard, sr=hewitt. 2002-11-06 09:35:13 +00:00
bzbarsky%mit.edu
e5fafcae33 Use the right contractid for the pref service. Bug 178062, r=brendan,
sr=alecf
2002-11-06 03:14:47 +00:00
dveditz%netscape.com
27878120f5 Don't fire popup blocked event if we decide to open the content in an existing named window (bug 174765 refinement)
r=danm, sr=jag, a=roc
2002-11-01 05:20:07 +00:00
caillon%returnzero.com
ed9ed0c560 Prevent access to compareTreePosition and friends from script.
bug 176135
r/sr=bzbarsky,jst a=roc+moz
2002-10-30 04:51:37 +00:00
dveditz%netscape.com
54a4cd8e0d Backend changes to support popup blocking whitelists. No Mozilla UI yet but used by Phoenix. bug 174765 r=danm,sr=jag,a=brendan 2002-10-25 02:31:12 +00:00
mstoltz%netscape.com
c66a28d655 Bug 32571 - Don't allow scripts from content to close windows with a null opener.
r=heikki, sr=jst, a=dbaron.
2002-10-25 01:08:29 +00:00
seawood%netscape.com
57e08a3f3a Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00