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

93109 Коммитов

Автор SHA1 Сообщение Дата
dbaron%fas.harvard.edu 27faa27186 Bugs 84947 and 111450: fix BeOS bustage for new print dialog for Unix, OS/2, and BeOS by porting the changes to BeOS. Checking in for Roland.Mainz@informatik.med.uni-giessen.de 2001-11-24 02:38:58 +00:00
bzbarsky%mit.edu edfb3b268f Use <> for system headers, not "". This should help prevent Sun WSU2
compiler bustage.  Bug 111574, patch from Roland Mainz
(<Roland.Mainz@informatik.med.uni-giessen.de>), r=bzbarsky, sr=bienvenu
2001-11-23 22:36:54 +00:00
nboyd%atg.com 6a01600cc8 JavaAdapter serialization contribution from Kemal Bayram. 2001-11-23 20:40:08 +00:00
nboyd%atg.com b52f96cd91 Hi, Norris!
In our browser we need to support scripts that use as an identifier name future reserved keywords such as interface. The scripts are rather old and perfectly legal under previous revisions of EcmaScript which does not included the list of almost every Java keyword to the future reserve.

To support this I added an option to query Context.hasFeature for FEATURE_RESERVED_KEYWORD_AS_IDENTIFIER:

    /**
     * if hasFeature(RESERVED_KEYWORD_AS_IDENTIFIER) returns true,
     * treat future reserved keyword (see  Ecma-262, section 7.5.3) as ordinary
     * identifiers but warn about this usage
     */
    public static final int FEATURE_RESERVED_KEYWORD_AS_IDENTIFIER = 3;

The corresponding code in TokenStream checks for it and issues just a warning when this feature is enabled.

I also think that it would be better not to return RESERVED as a token from TokenStream.getToken but report the specific syntax error immediately because it is very unclear from the error message:

js> x.interface = 1
js: "<stdin>", line 1: uncaught JavaScript exception: SyntaxError: missing name after . operator (<stdin>; line 1)
js: x.interface = 1
js: ..........^

what exactly went wrong. I can send a patch later for that.

Regards, Igor
2001-11-23 20:38:50 +00:00
bienvenu%netscape.com 1f8bc6ba3b fix tinderbox bustage on solaris, patch from roland mainz, r=bzbarsky, sr=bienvenu 111574 2001-11-23 19:17:05 +00:00
jake%acutex.net d1e7efe0e9 More win32 build goodness 2001-11-23 17:44:39 +00:00
mikep%oeone.com db0ecbec02 Changes made for windows makefiles. 2001-11-23 17:09:39 +00:00
ian%hixie.ch c07181231b Changing 'will soon be available as an open source resource' to 'is available as an open source resource' 2001-11-23 16:50:57 +00:00
dougt%netscape.com acd340cc5e fixing comment in idl. bug 111518 2001-11-23 15:11:37 +00:00
rbs%maths.uq.edu.au aace76c6bd re-disable this problematic memory-pressure observer as it causes device contexts to hang around until shutdown. bug 109974. Need more investigation. In the meantime, the font cache retains the ability to compact itself when font handles are running out 2001-11-23 10:31:30 +00:00
dbaron%fas.harvard.edu 223a3191ba Split ConstructFrameByTag into ConstructTextFrame and ConstructHTMLFrame to make it easier to reorganize frame construction by tag and by display type. b=109788 r=hyatt rs=waterson 2001-11-23 04:52:24 +00:00
nboyd%atg.com 1ce9a8feb9 Update for new failures. 2001-11-23 01:20:56 +00:00
ian%hixie.ch 002b60fd9c work in progress: a component that provides a way for users and admins to edit user preferences, settings, contact details, password, etc. 2001-11-23 00:16:44 +00:00
jband%netscape.com b6b7bfd723 trivial patch to avoid string assertions when entry is empty rs=jband 2001-11-22 23:32:49 +00:00
jband%netscape.com ee23501c42 trivial patch to make what is supposed to be a warning really a warning instead of an assert. rs=jband 2001-11-22 23:26:34 +00:00
dbaron%fas.harvard.edu 203e472d8f Set DYLD_LIBRARY_PATH for Mac OS X (Darwin). b=110918 r=seawood 2001-11-22 23:22:59 +00:00
dbaron%fas.harvard.edu 28f8916d31 Changing |#ifdef DEBUG_dbaron| to |#ifdef DEBUG_dbaron_off| so I don't see these assertions anymore. 2001-11-22 23:19:33 +00:00
dbaron%fas.harvard.edu 8a2e15d8ec Fix leak of popup frames (that fans out into leaking entire XUL documents) by creating nsIAnonymousContentCreator anonymous content for the doc element frame before creating frames for the real content children, which should only affect popupsets. b=109671 r=ben sr=hyatt 2001-11-22 21:44:34 +00:00
dbaron%fas.harvard.edu aa26bb26ef Fix leak of style contexts from vertical splitters. b=108642 r=hewitt sr=bienvenu 2001-11-22 21:41:47 +00:00
ian%hixie.ch d84431bbb0 changing the argument names from the cosesEditorXYZ form to the cosesEditor.x.y.z form. This will make them more consistent with how things work elsewhere in PLIF. 2001-11-22 20:15:45 +00:00
jfrancis%netscape.com fec94c5f02 fixes for --- 45888: center followed by heading 2: text doesn't take on heading 2 102754: Lists with Headings applied do not create new list items when return entered 9835: Indent button behaves differently if <li> contains two <br> r=fm; sr=kin 2001-11-22 19:35:11 +00:00
bernd.mielke%snafu.de e3b400c2cf bug 99923 react correctly on style change reflows targetted at higher frames
r=karnaze sr=attinasi
2001-11-22 19:34:59 +00:00
mikep%oeone.com 98f0f033a8 Updating files for windows builds and adding windows makefiles. 2001-11-22 19:22:04 +00:00
jake%acutex.net 018e848f1e Add Windows makefile for calendar. 2001-11-22 19:15:20 +00:00
dinglis%qnx.com 0b9a9f0c5c -not part of build-
clean up splash screen
removed PHIG env requirement.
2001-11-22 18:45:00 +00:00
nboyd%atg.com 4ef25a301c Hi,
I'm working on a project which uses rhino. I wanted to have finer
control over class generation and saving so I've done some patching
and clean up on the current rhino tip.

The biggest change I've made is the replacement of ClassOutput with
ClassRepository that has the single method:

    public boolean storeClass(String className, byte[] classBytes,
                           boolean isTopLevel) throws IOException;

This interface allows any arbitary storage method, such as a
Hashtable/Map. In addition it also allows you to specify whether a
class should be loaded, via returning true or false.  You can still use
ClassOutput as I've coded an internal wrapper.

With this interface it has also been possible to strip out the file
saving code from Codegen and OptClassNameHelper.  The file
saving code is now an inner class FileClassRepository in Context. As
a consequence of this  I've stripped out some methods from ClassNameHelper.
The resulting code is much more cleaner then before hand and everything
still works as per usual.

Other small additions are:
  o  Annonymous functions are now named class$1 instead of class1
  o  get/setClassName added to ClassNameHelper exposed in Context.

My final thoughts are, since all methods in ClassNameHelper except reset()
are now exposed whould n't it be much more "cleaner" to simply to some
how work around to eliminate reset() and provide getClassNameHelper()
via Context?  You could then remove the numerous ClassNameHelper shadow
methods from Context.

Likewise, FileClassRepository could be made a public class very easily
and combined with the above result in a dozen or so less public methods in
Context.

Anyway, the changes can be found on http://www.cins.co.uk/rhino.zip

Hope it is of use to some

Kemal Bayram
2001-11-22 15:48:21 +00:00
ian%hixie.ch ee423a9430 * Created service- and serviceInstance- specific constructors so that a single module can have distinct constructors depending on how it is invoked. These constructors are called serviceInit() and serviceInstanceInit(), and both chain to the existing init() constructor (so no change are required by this).
* Changed FileStrings so that it doesn't have to be updated every time the file string format changes. The format is now one line per piece of metadata, then a blank line, then the string data. If additional metadata is added later then this will automatically support it.
* Renamed the dataSource.strings service to dataSource.strings.customised, and renamed its get() method to getCustomisedString().
* Changed the semantics of dataSource.strings.customised so that it no longer looks for a default string if it can't find a customised one (and thus removed getDefaultString).
* Abstracted the Generic output module even more. It now consists of output.generic (a service instance with its own constructor) and dataSource.strings (a pure service), the latter of which is a wrapper around dataSource.strings.customised and dataSource.strings.defaults.
* Updated Coses to work with the new dataSource.strings insterface.
* Removed the test app DataSource::ConsoleStrings and DataSource::HTTPStrings files, since they were redundant with the default output files.
* Removed all the default strings in the CosesEditor and Login components since they are pretty pointless.
* Factored out the call to dump() in the GenericOutputs module.
* Changed setString in the MySQL string data source so that it will now add a blank string (it used to delete the string if it was blank, but that meant that it was not possible to customise strings away).
* Added a piece of metadata to strings: their version number.
* Updated the customised string data source stubs to mention the version data now stored with all strings
* Added a getAllStringVersions method to the customised strings data source which returns all the string names and their version numbers.
* Made the customised strings data source check the version number of every string in its database during setupInstall to make sure that they are all up to date, version-wise. If any are out of date, the user is notified.
* Added support for the new version column to the MySQL version of the customised string data source.
* Updated the increasingly misnamed CosesEditor to support the versioned strings stuff.
* Factored out some code in the CosesEditor.
* Added version information to all default strings. All default strings are now at version 1.
* Fixed a typo in a FileStrings dump statement.
* Fixed the calls to setProgress in the MySQL user and strings data sources and in the user field factory to use the correct syntax (a parsable dotted string instead of unlocalisable plain English).
* Updated the Generic output module's documentation to match what now happens.
2001-11-22 15:46:42 +00:00
justdave%syndicomm.com 61d6d30534 Fix for bug 61634: explain what "Milestone URL" is on the editproducts page.
patch by Matthew Tuck <matty@chariot.net.au>
r= caillon, justdave
2001-11-22 15:46:27 +00:00
timeless%mac.com 8eccbe5de9 Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
r=axel@pike.org sr=kin
2001-11-22 15:12:51 +00:00
kaie%netscape.com f371182171 b=84947 Roland tries to fix bustage, which only occurs on Unix when XPrint is not used.
r=kaie
2001-11-22 11:13:22 +00:00
kaie%netscape.com 3e80341582 b=84947 New print dialog for Unix and OS/2
r=cls/rods/mkaply/pchen sr=roc+moz
Checking in for Roland.Mainz@informatik.med.uni-giessen.de
2001-11-22 10:00:44 +00:00
gerv%gerv.net 807c799353 Bug 104261 - incorrect template paths. r=myk, ddk. 2001-11-22 06:12:36 +00:00
jst%netscape.com fcb3db43a8 Comment change... 2001-11-22 06:12:20 +00:00
rpotts%netscape.com b1e18f1c1d Removing dead, wrong, evil, dangerous code from the parser!! 2001-11-22 05:50:04 +00:00
roc+%cs.cmu.edu 04ab1d58c5 View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi 2001-11-22 05:26:32 +00:00
jst%netscape.com 2407828023 Adding comments per brendan@mozilla.org's request in bug 111361. 2001-11-22 04:58:09 +00:00
rpotts%netscape.com 857328b715 bug #102737 (r=harishd@netscape.com, sr=jst@netscape.com) one more time! only emit an empty HTML document when the content type is *not* text/plain 2001-11-22 04:37:39 +00:00
bhart00%yahoo.com 319304d115 fix for bug 102349, r=ben/sr=brendan 2001-11-22 04:03:36 +00:00
seawood%netscape.com ceef95f314 Remove use of MOZ_MAKE_ENV. Builds should use |make -j3| instead of |MAKE='make -j3' make| 2001-11-22 04:02:28 +00:00
ben%netscape.com 9ea17980e5 backing out fix for 90080 as it is redundant and caused other bugs (always showing alert
when exiting prefs after viewing appearance, inability to close prefwindow sometimes
see bug 109561).
2001-11-22 03:35:32 +00:00
jst%netscape.com 06be573267 Fixing bug 111361. nsGlobalNameStruct::mDOMClassInfoID is only valid on nsGlobalNameStruct's whose mType == eTypeClassConstructor. r=bbaetz@cs.mcgill.ca, sr=jband@netscape.com 2001-11-22 03:11:58 +00:00
hewitt%netscape.com 5b22b6a9b8 97119 - Inconsistent textbox height in Pref - Advanced - Proxies, r=ben, sr=hyatt 2001-11-22 03:08:17 +00:00
bienvenu%netscape.com 4e75c9ecf2 fix hpux bustage, only define delet eoperator when debugging mem useage 2001-11-22 02:56:49 +00:00
jst%netscape.com d8ae5713fd Ahem... 2001-11-22 02:56:22 +00:00
ben%netscape.com 14f64a2dc7 31154, 50517 - consistency in terminology in profile manager dialogs.
patch by henrik gemal, sr=ben@netscape.com, r=hewitt@netscape.com
2001-11-22 02:28:34 +00:00
wtc%netscape.com 50bc7b608f Bugzilla bug 111293: the inclusion of "nssrenam.h" in this file breaks
the NSS build (on 64-bit AIX).  I am backing it out.
2001-11-22 02:27:57 +00:00
ben%netscape.com fc0c6de576 42798 - consistency in debug pref panel titles. patch from henrik gemal, sr=ben@netscape.com 2001-11-22 02:27:05 +00:00
ben%netscape.com b1c6fb5f11 77513 - remove some unnecessary text to save space.
r=hewitt, sr=ben, patch from andre dahlqvist
2001-11-22 02:26:10 +00:00
ben%netscape.com dbd51aa313 fix for 73655 - remove reference to obsolete file.
r=rginda, sr=hewitt
2001-11-22 02:00:37 +00:00
seawood%netscape.com ffafbc46a9 Add ldap to DIRS 2001-11-22 01:37:17 +00:00