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

565 Коммитов

Автор SHA1 Сообщение Дата
caillon%returnzero.com 58177694ed 182954 - Convert content to use nsIPrefService, nsIPrefBranch, and friends.
r=sicking sr=peterv
2002-12-10 23:44:03 +00:00
timeless%mozdev.org bea53cd3c6 Bug 183309 Mozilla crashes on startup. - Trunk [@ nsBindingManager::GetXBLDocumentInfo]
patch by nallen@acm.org r=brendan sr=alecf a=asa
2002-12-05 21:25:23 +00:00
bzbarsky%mit.edu c815579255 Make the CSSLoader correctly order stylesheets as they are dynamically added
and removed via the DOM.  Clean up the nsIDocument stylesheet accessors.  Clean
up nsIDocumentObserver stylesheet stuff a bit.  Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off.  Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking,  sr=peterv.
2002-12-03 05:48:14 +00:00
alecf%netscape.com b700a500d1 stupid mac / linux compilers were accepting "const const" - but the mac does not.
fixing bustage
2002-12-03 02:24:50 +00:00
sicking%bigfoot.com 583cd72c24 Bug 169124: Make the XSLT contentsink create generic xml-elements for all elements to get around limitations with xhtml elements. Also do some cleaning in the XML contentsink.
r=harishd sr=peterv
2002-12-02 23:24:57 +00:00
alecf%netscape.com 177f12f225 oops, forgot to add that my last checkin was bug 177545 2002-12-02 22:32:04 +00:00
alecf%netscape.com 28fbb1af13 switch nsBindingManager over to pldhash and nsDoubleHashtable - this greatly reduces the number of allocations from XBL, the single worst consumer of nsHashtable!
sr=brendan, r=hyatt
2002-12-02 22:30:26 +00:00
peterv%netscape.com 23b10864c8 Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
sicking%bigfoot.com f04a4ebeb7 Bug 181808: Use macros to declare and implement nsIDocumentObserver
r=caillon sr=bz
2002-11-25 08:33:30 +00:00
bryner%netscape.com ec90778ef2 Bug 104371 - shiftKey not set correctly for keypress events, breaking shift+space binding. r=brade, bzbarsky, sr=hyatt. 2002-11-07 03:34:13 +00:00
sicking%bigfoot.com afcc08f642 Bug 64945: XML prettyprinting final stage. Implements document.removeBinding and drops the prettyprint binding when the document is modified. Also turn on prettyprinting by default.
r=jkeiser,hyatt,bz sr=rpotts a=asa
2002-10-22 05:28:36 +00:00
seawood%netscape.com d1bef3cbe0 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
heikki%netscape.com b0e0f669e8 Bug 172372, when loading XML as data, we need to disable scripts and styles. r=sicking, sr=bzbarsky, a=asa. 2002-10-11 00:38:29 +00:00
sicking%bigfoot.com 8ad1aece33 bug 64945 stage two.
Prettyprint without modifying the DOM by using an XBL binding. Use viewsource.css for styling. Also refactor a real sync-load service and make transformiix and XBL use it.

r=jkeiser sr=darin
2002-10-09 07:03:15 +00:00
varga%netscape.com a8368390cd Putting XUL prototype elements on a diet. Bug 26429.
r=ben, sr=brendan
2002-09-25 09:56:09 +00:00
aaronl%netscape.com c17732f0f1 Bug 167921 - allow web pages to use preventDefault so that typeaheadfind doesn't interfere with them. r=kyle, sr=brendan. Also fixes bug 165315 - typeaheadfind shouldn't hardcode kbd shortcuts, bug 77704 - add accelerator for find prev (also added menu item). Also fixes bug 167783 - ctrl+g for typeaheadfind after repeating characters. Also fixes bug 168408 - backspace after bad character typed should do the right thing, but don't add bad characters to buffer. Also fixes bug 71832 - add F3 for find next (also shift+F3). Bug 157669 - Alt+D to select location bar (IE keyboard compatibility), r=sgehani, sr=hewitt 2002-09-24 22:46:50 +00:00
rpotts%netscape.com 6777c1f117 bug #145579 (r=darin, sr=jst) send the correct referrer for images... 2002-09-17 18:59:41 +00:00
dougt%netscape.com c5e8f896cd 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
sicking%bigfoot.com 7aaa7b5df0 Bug 64945: XML Prettyprinting stage 1
r=peterv sr=jst
2002-09-04 06:57:25 +00:00
brade%netscape.com 5f1f445ea9 fix pageup/pagedown keybinding for browser (bug 165255) 2002-08-29 13:01:57 +00:00
brade%netscape.com f7030aafe7 check in patches for 4302 that were overlooked when landing fix for bug 4302 (shift keybindings for pageup/pagedown) 2002-08-28 13:36:44 +00:00
brade%netscape.com de347e5e23 check in patch which was overlooked when checking in fix for bug 4302 2002-08-28 13:32:48 +00:00
brade%netscape.com 553bc3c98d missing piece from checkin for bug 4302 2002-08-28 13:26:37 +00:00
roc+%cs.cmu.edu c0c4d81870 Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin 2002-08-24 14:41:28 +00:00
jst%netscape.com c9ed445f65 Fixing bug 156364. Laying the groundwork for associating more info with elements in the DOM, and moving event listener managers and range lists out of nsGenericElement slots. This change cuts down on the size of nsGenericElement. r=sicking@bigfoot.com, sr=rpotts@netscape.com 2002-08-13 00:50:50 +00:00
gerv%gerv.net ee117885c5 Bug 154765 - Cleaning up Contributors references after relicensing. Patch by riceman+bmo@mail.rit.edu; r=gerv, auto-sr=brendan. 2002-08-10 08:39:43 +00:00
seawood%netscape.com 8ae6c40f5d Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
seawood%netscape.com fdafe18afe Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner

_IMPL_NS_VIEW

Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls
2002-08-07 06:08:00 +00:00
dbaron%fas.harvard.edu 4cbdf016bc Propagate |aNotify| parameter through XBL to attribute changes of XBL-inherited attributes. b=156547 sr=hyatt r=bryner 2002-08-06 13:39:22 +00:00
dbaron%fas.harvard.edu 5034fc364c Make XBL report XML parse errors. b=156714 r=caillon sr=ben 2002-08-06 12:55:44 +00:00
alecf%netscape.com ab7922b195 fix for bug 157572 - remove nsIAtom references from strings, and thus expicitly #include nsIAtom.h for consumers who are expecting it.
r=dmose, sr=jag, a=asa
2002-07-25 18:31:10 +00:00
alecf%netscape.com eb04da966b more prep for bug 119923 - use chrome registry ContractID rather than CID, so that we can drop in a new embedding-only chrome registry
r=bnesse, sr=dveditz, a=asa
2002-07-23 23:30:04 +00:00
mjudge%netscape.com 543b9c1e7e r=akkana sr=sfrasier 125146 a=asa This patch will make the embedding API's a better friend to all. It eliminates the use of multibyte strings in command names and also allows for simple command to not require the nsICommandParams interface to be filled. 2002-07-15 22:04:13 +00:00
jst%netscape.com 355b872216 Fixing security bug 134315. Make sure we clear the JS scope in cases where it's needed. r=mstoltz@netscape.com, sr=brendan@mozilla.org 2002-07-09 02:49:58 +00:00
bryner%netscape.com 122b978d08 Fix all of the warnings about member initializer ordering in constructors (bug 156135). r=timeless, sr=jag. 2002-07-08 07:56:50 +00:00
seawood%netscape.com 8f6f1756ce Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
dbaron%fas.harvard.edu 2bf216c9e2 Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner 2002-06-26 03:38:55 +00:00
jst%netscape.com b652c32c59 Fixing bug 150824. Don't crash if initialization of an XBL JS class fails. r=dbradley@netscape.com, sr=alecf@netscape.com 2002-06-21 20:55:17 +00:00
peterv%netscape.com a3b6173304 Remove unnecessary includes. 2002-06-20 14:35:17 +00:00
caillon%returnzero.com 536baefbb0 Bug 149474, Implement preventdefault="true" on XBL handlers, so that bindings are able to prevent the default action even if JavaScript is disabled. r=bryner sr=jag 2002-06-19 00:43:46 +00:00
alecf%netscape.com f0263ddf07 fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes) 2002-06-06 20:28:14 +00:00
dbaron%fas.harvard.edu 8ef74b74f0 Null-check mBindingTable to avoid crash with some themes. b=143835 r=brendan sr=waterson 2002-05-17 02:33:03 +00:00
dougt%netscape.com e96df2ad1b Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
sicking%bigfoot.com f6cf1c00e9 Bug 119317. Drop support for non-namespaced "inherits" xbl-attribute and move over the last uses of the old syntax.
r=Hixie sr=hyatt
2002-05-03 17:51:44 +00:00
ben%netscape.com 7cc75b902e [Chrome FastLoad]
Implement XUL Prototype Document and Prototype Element serialization/deserialization scheme for FastLoad of chrome documents.
r=brendan, sr=hyatt
2002-05-03 03:04:34 +00:00
dbaron%fas.harvard.edu 22f523a65f Remove ClearUndisplayedContentMap hack from ReconstructStyleData (expanded for bug 118014; see bug 136728). Fix multiple content inserted notifications from XBL (the real cause of bug 118014) by checking the undisplayed content map in addition to the primary frame map. Fix FrameManager::GetUndisplayedContent to work correctly, and remove code in nsCSSFrameConstructor::AttributeChanged that was working around its brokenness. b=136704 sr=waterson r=attinasi 2002-05-01 00:36:50 +00:00
bryner%netscape.com 1e3a8301f8 Removing old XBL form control images. Not part of the build. 2002-04-26 21:12:19 +00:00
seawood%netscape.com ce9e9903a5 Add 'make install' target to build. It's "MRE-friendly". (See http://www.mozilla.org/projects/embedding/MRE.html for details.)
Changes:
* Added EXTRA_COMPONENTS variable to build.  Use it to automagically install files into the components dir.
* Added SYSINSTALL variable.  Use it install files onto the system.
* Move mozilla-config generation from configure to makefiles
* mozilla-config will now generate paths based upon the MRE-based directory layout.
* Generate mozilla script from template

The installation heirarchy currently looks like:
$prefix -> /bin/mozilla
           /bin/mozilla-config
           /include/mozilla-ver/*
           /lib/mozilla-ver  (mozappdir)
                            /components
                            /res
                            /defaults
                            /chrome

There is preliminary build support for MRE dirs as well though the component manager hasn't had MRE support added yet.

$prefix -> /lib/mre/mre-ver  (mredir)
                            /components
2002-04-25 02:52:44 +00:00
bryner%netscape.com 5aba5d213c Removing the old versions of the xbl form controls from the tree (bug 137483). r=pinkerton, sr=ben. 2002-04-15 22:21:28 +00:00
sicking%bigfoot.com 63491b7c1b Bug 119317: move the "inherits" attribute to the xbl namespace for most clients.
r=hixie sr=hyatt
2002-04-13 14:25:38 +00:00
alecf%netscape.com 3a34302641 argh, continuing to fix bustage 2002-04-12 03:39:11 +00:00
alecf%netscape.com e60e07296f fix for bug 119923 - split nsIChromeRegistry into 2 interfaces, one that is XUL-specific
this way we can implement an minimal chrome registry for embedding, that doesn't support all the wacky skin- and locale-switching goodness of XUL.
r=waterson, sr=hyatt
2002-04-12 01:52:27 +00:00
dbaron%fas.harvard.edu 324f543007 Fix up and enable hierarchical :hover and remove the hacks that made :hover work for anchors without it. Pass mask rather than pseudo-class to ContentStatesChanged notifications. Optimize event state changes in the style system by passing state mask to HasStateDependentStyle and using it in HasStateDependentStyle implementations. b=5693 r=bryner, joki sr=hyatt 2002-04-11 03:49:30 +00:00
aaronl%netscape.com 678e7ec0af Bug 128025. Confirm dialog for caret browsing. r=akkana, bryner, sr=hewitt, a=asa 2002-04-02 01:56:12 +00:00
jst%netscape.com 1e1abd1fe6 Checking in heikkki@netscape.com's fix for bug 93218, making the XML content sink process HTTP headers. r=harishd@netscape.com, sr=darin@netscape.com, a=dbaron@fas.harvard.edu 2002-03-27 06:19:14 +00:00
dbaron%fas.harvard.edu 0a2e157db4 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 22:46:13 +00:00
alecf%netscape.com ecdb77e394 a further nsString api reduction: remove the last case-insensitive PRUnichar*-to-PRUnichar* comparisons, moving to new API, and remove old methods from nsString. r=dougt, sr=jag a=scc 2002-03-19 06:46:56 +00:00
aaronl%netscape.com 3f90610b18 Accidentally contiminated last checkins to htmlBindings.xml with other work. Putting Accel+Shift+K back in where it was 2002-03-14 06:12:56 +00:00
aaronl%netscape.com ec9d92748c Bug 129916. Support Accel+Shift+Z for redo on all platforms. r=brade, sr=alecf, a=asa 2002-03-14 06:03:58 +00:00
aaronl%netscape.com 925dc6e39a Bug 57263. Support the Undo key on Sun keyboards. r=akkana, sr=sfraser, a=asa 2002-03-14 05:58:31 +00:00
aaronl%netscape.com cfad3e72ce Bug 129916. Support Accel+Shift+Z for redo on all platforms. r=brade, sr=alecf, a=asa 2002-03-14 05:54:09 +00:00
darin%netscape.com cfe07b944b b=99165 Freeze nsIInputStream nsIOutputStream (not yet frozen... but close)
r=dougt sr=shaver a=asa
2002-03-12 00:59:06 +00:00
aaronl%netscape.com 1bcc2ad716 Fixes bug 66597, bug 103284, bug 114440, bug 120023, bug 128741, bug 19259. Cleans up browse with caret, makes it work with XML content docs, creates keyboard toggle for it (Accel+shift+K), synchronizes focus and document selection so that users can tab navigate relative to their last find or click in text, or vice versa, makes tabbing move relative to named anchor that has been jumped to. r=bryner, sr=alecf, a=asa 2002-03-10 06:21:48 +00:00
shaver%mozilla.org 58fbb67a8b backing out unapproved, bugscape-only checkin, a=asa 2002-03-10 06:17:51 +00:00
aaronl%netscape.com 3dff3f27d4 Backing out changes to htmlBindings.xml. Wasn't supposed to check that in yet. 2002-03-10 05:25:34 +00:00
aaronl%netscape.com a6afb9026d Bugscape 12250. Dealing with keyboard conflict. r=jgaunt. sr=sfraser 2002-03-10 05:22:20 +00:00
bryner%netscape.com f3b840d0cd Adding some missing .cvsignore files. a=leaf. 2002-03-08 00:00:05 +00:00
bryner%netscape.com 3ecfc43710 Bulletproofing fix for bug 95465. Patch from John Morrison <jrgm@netscape.com>, r=bryner, sr=hyatt, a=asa. 2002-03-07 03:47:27 +00:00
bryner%netscape.com ec00895936 - Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.

Bug 128947, r=dbaron, sr=jst, a=asa.
2002-03-07 03:34:29 +00:00
darin%netscape.com 026dda9f95 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
alecf%netscape.com 30260b9c1e bug 127091 - big string cleanup, removing old APIs
- removing Assign/AppendWithConversion for single-characters
- removing unused StripChars
- removing ReplaceChar[s] for non-matching chars
- removing CompressSet
- removing nsCString::Find/FindCharInSet/RFind for unichar strings
- removing lots of EqualsWithConversion
r=dp, sr=jag
a=asa
2002-03-04 23:18:21 +00:00
bryner%netscape.com 9b8c00b300 Bug 128408 - XBL select widgets crash in embedding apps. Fixing the
select binding to load synchronously as it was intended to, and removing
usage of the outlinercols binding to ensure that the OutlinerColFrame is
constructed before the OutlinerBodyFrame.  r=varga, sr=shaver, a=roc.
2002-03-03 23:31:26 +00:00
morse%netscape.com 2bc8fd2d2b bug 107579, infrastructure for detecting 3rd-party cookies, r=darin,rpotts, sr=devitz 2002-03-02 01:49:30 +00:00
sicking%bigfoot.com acee1327e0 change the xbl-syntax <... inherits=".."> to <... xbl:inherits="..">
b=119317 r=jkeiser sr=hyatt
2002-02-20 03:21:26 +00:00
bzbarsky%mit.edu e3b541a10c Relanding the Compare --> Equals conversion. a=mcafee 2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu 45ad330784 Testing performance impact of backout of part of patch from bug 115289.
See bug 123947 for details.
2002-02-09 16:10:51 +00:00
jst%netscape.com 25c9435991 Removing a nasty shortcut that I left in when fixing bug 116834. r=rginda@netscape.com, sr=blaker@netscape.com 2002-02-09 02:48:31 +00:00
hyatt%netscape.com d9778fc06d Giving XBL a helper func for sync loads of XML docs. r=danm, sr=ben 2002-02-08 23:56:32 +00:00
sspitzer%netscape.com 87dc170b75 fix for assertions caused by checkin for #115289
remove all fancy string foo.  r=bzbarsky, sr=sfraser, a=radha
2002-02-05 20:27:10 +00:00
bzbarsky%mit.edu 580e33204e Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag
2002-02-05 02:03:07 +00:00
blakeross%telocity.com e4e7df7c6f 79047 - shift+space should scroll upwards. r=ben sr=hewitt 2002-02-04 06:15:14 +00:00
alecf%netscape.com a10a38843d more dependency updates 2002-02-02 21:29:01 +00:00
akkana%netscape.com 718b751a55 113551: add bindings for Sun copy/paste keys. r=bz, sr=kin 2002-01-31 19:59:02 +00:00
pete%alphanumerica.com 03af75aab1 b=121028, r=brendan, sr=jst
fix for crahser using old handler attribute 'type'

--pete
2002-01-26 02:20:15 +00:00
pinkerton%netscape.com 30c642c36e allow --enable-default-toolkit=cocoa in makefiles and default toolkit can now be overridden on platform that don't use X11. r=cls/sr=hyatt. bug#121496 2002-01-24 15:11:18 +00:00
bzbarsky%mit.edu f2a9512382 Change users of Length() to IsEmpty() where the code really cares about
the latter in content/.  Bug 100649, r=jag, sr=jst
2002-01-24 02:03:19 +00:00
dp%netscape.com 089654913c bug 119346 1k -> 4k buffers r=harishd,blizzard sr=waterson a=blizzard 2002-01-17 00:45:03 +00:00
timeless%mac.com 3937e6f9ab Bug 117386 Crash changing themes [@ nsXBLPrototypeResources::FlushSkinSheets]
r=dbradley sr=brendan
2002-01-16 07:18:00 +00:00
timeless%mac.com 54749f3229 Bug 117386 Crash changing themes [@ nsXBLPrototypeResources::FlushSkinSheets]
r=dbradley sr=brendan
2002-01-16 06:40:47 +00:00
timeless%mac.com d2f4891644 bustage, adding a reinterpret cast between jschar* and PRUnichar* 2002-01-15 16:30:57 +00:00
timeless%mac.com eb04181d23 Add JS Error reporter to XBL Prototype compilation, and prevent crashes when the compilation fails r=hyatt sr=brendan 2002-01-15 15:40:57 +00:00
akkana%netscape.com ff540ea9fb 105122: fix ctrl+bs/del bindings on windows. r=cmanske,sr=kin 2002-01-14 21:46:49 +00:00
dbaron%fas.harvard.edu 363f41f64d Fix potential bustage. 2002-01-14 15:05:37 +00:00
dbaron%fas.harvard.edu c5a4ffe5c3 Reduce 5K of binary code size by representing data as data rather than code. b=109963 r=jag sr=hyatt,brendan 2002-01-14 14:59:48 +00:00
cathleen%netscape.com c2d19ad82a converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
brade%netscape.com e88d0c0776 remove unused static kPrefServiceCID for gain of 16 bytes (bug 117927; r/sr=jst,darin) 2002-01-10 14:19:26 +00:00
brade%netscape.com a56f0bf296 remove unused static kParserCID for gain of 16 bytes (bug 117927; r/sr=jst,darin) 2002-01-10 14:10:08 +00:00
brade%netscape.com 3bfa021346 remove unused statics kNameSpaceManagerCID, kXMLDocumentCID and kParserCID for gain of 48 bytes (bug 117927; r/sr=jst,darin) 2002-01-10 14:09:09 +00:00
jaggernaut%netscape.com b5940cfcac Bug 119109: Accelerator keybindings are screwed up. Fixing today's wannabe blocker (simple typo in harish's ports bustage fix), r=peterv. 2002-01-10 13:34:03 +00:00
danm%netscape.com 4bc709979e update to match nsIExpatSink.idl rev 1.2. this was causing xbl content sinks to not be properly initialized and causing lots of crashes on startup. r=harishd 2002-01-09 23:32:12 +00:00