94049 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
859b0ce867 Backing out most of my checkin for bug 109788. b=111710
git-svn-id: svn://10.0.0.236/trunk@108863 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-24 23:28:45 +00:00
bstell%netscape.com
bd7758a217 bug 111251, checkin for adam@gimp.org,
very minor inefficiency in nsFontMetricsGTK.cpp
r=bstell@netscape.com, sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@108861 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-24 22:13:18 +00:00
bbaetz%cs.mcgill.ca
ca87a319db Bug 110976 - libart's art_render doesn't fill certain paths correctly.
Patch by james.turner@crocodile-clips.com, not part of build.


git-svn-id: svn://10.0.0.236/trunk@108859 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-24 19:50:23 +00:00
bienvenu%netscape.com
9fd9013d30 fix umr in nsDBFolderInfo.cpp, rs=sspitzer 111382
git-svn-id: svn://10.0.0.236/trunk@108858 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-24 16:41:38 +00:00
varga%utcru.sk
dc4faa61c1 Fix for 109478. Add view, contentView and builderView properties to the outliner binding. r=hewitt sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@108855 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-24 12:33:07 +00:00
bernd.mielke%snafu.de
6530a23cbc adding table regression testcase not part of the build
git-svn-id: svn://10.0.0.236/trunk@108853 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-24 08:02:49 +00:00
dbaron%fas.harvard.edu
e2dee5c690 Fixing BeOS bustage. b=84947, 111450
git-svn-id: svn://10.0.0.236/trunk@108852 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-24 07:17:31 +00:00
dbaron%fas.harvard.edu
786d386ab3 Fixing BeOS bustage. b=84947, 111450
git-svn-id: svn://10.0.0.236/trunk@108851 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-24 05:40:31 +00:00
roc+%cs.cmu.edu
fce7355cf6 My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out.
git-svn-id: svn://10.0.0.236/trunk@108850 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-24 05:37:25 +00:00
dbaron%fas.harvard.edu
5f0d0b5180 Fixing BeOS bustage. b=84947, 111450
git-svn-id: svn://10.0.0.236/trunk@108849 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-24 04:09:47 +00:00
dbaron%fas.harvard.edu
72afaea567 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
git-svn-id: svn://10.0.0.236/trunk@108848 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-24 02:38:58 +00:00
bzbarsky%mit.edu
d0c7beb38b 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


git-svn-id: svn://10.0.0.236/trunk@108847 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-23 22:36:54 +00:00
nboyd%atg.com
b79fb11b45 JavaAdapter serialization contribution from Kemal Bayram.
git-svn-id: svn://10.0.0.236/trunk@108846 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-23 20:40:08 +00:00
nboyd%atg.com
a66c0d63c1 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


git-svn-id: svn://10.0.0.236/trunk@108845 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-23 20:38:50 +00:00
bienvenu%netscape.com
4d23237673 fix tinderbox bustage on solaris, patch from roland mainz, r=bzbarsky, sr=bienvenu 111574
git-svn-id: svn://10.0.0.236/trunk@108844 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-23 19:17:05 +00:00
jake%acutex.net
4c0546033c More win32 build goodness
git-svn-id: svn://10.0.0.236/trunk@108842 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-23 17:44:39 +00:00
mikep%oeone.com
358c639e5a Changes made for windows makefiles.
git-svn-id: svn://10.0.0.236/trunk@108840 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-23 17:09:39 +00:00
ian%hixie.ch
69e9874b10 Changing 'will soon be available as an open source resource' to 'is available as an open source resource'
git-svn-id: svn://10.0.0.236/trunk@108839 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-23 16:50:57 +00:00
dougt%netscape.com
6c0300195e fixing comment in idl. bug 111518
git-svn-id: svn://10.0.0.236/trunk@108837 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-23 15:11:37 +00:00
rbs%maths.uq.edu.au
0f01c7b8cd 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
git-svn-id: svn://10.0.0.236/trunk@108833 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-23 10:31:30 +00:00
dbaron%fas.harvard.edu
fcad73a0e2 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
git-svn-id: svn://10.0.0.236/trunk@108831 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-23 04:52:24 +00:00
nboyd%atg.com
5cebd79ae6 Update for new failures.
git-svn-id: svn://10.0.0.236/trunk@108830 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-23 01:20:56 +00:00
ian%hixie.ch
6c5b533a17 work in progress: a component that provides a way for users and admins to edit user preferences, settings, contact details, password, etc.
git-svn-id: svn://10.0.0.236/trunk@108829 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-23 00:16:44 +00:00
jband%netscape.com
26f6f3a656 trivial patch to avoid string assertions when entry is empty rs=jband
git-svn-id: svn://10.0.0.236/trunk@108828 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 23:32:49 +00:00
jband%netscape.com
2f06cb4e7d trivial patch to make what is supposed to be a warning really a warning instead of an assert. rs=jband
git-svn-id: svn://10.0.0.236/trunk@108827 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 23:26:34 +00:00
dbaron%fas.harvard.edu
3a151b5003 Set DYLD_LIBRARY_PATH for Mac OS X (Darwin). b=110918 r=seawood
git-svn-id: svn://10.0.0.236/trunk@108826 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 23:22:59 +00:00
dbaron%fas.harvard.edu
4a9a7c847f Changing |#ifdef DEBUG_dbaron| to |#ifdef DEBUG_dbaron_off| so I don't see these assertions anymore.
git-svn-id: svn://10.0.0.236/trunk@108825 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 23:19:33 +00:00
dbaron%fas.harvard.edu
f7ef596567 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
git-svn-id: svn://10.0.0.236/trunk@108822 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 21:44:34 +00:00
dbaron%fas.harvard.edu
f276a3b1e1 Fix leak of style contexts from vertical splitters. b=108642 r=hewitt sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@108821 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 21:41:47 +00:00
ian%hixie.ch
bb6b01bb43 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.
git-svn-id: svn://10.0.0.236/trunk@108819 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 20:15:45 +00:00
jfrancis%netscape.com
763808d87d 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


git-svn-id: svn://10.0.0.236/trunk@108818 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 19:35:11 +00:00
bernd.mielke%snafu.de
29ff86caf8 bug 99923 react correctly on style change reflows targetted at higher frames
r=karnaze sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@108817 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 19:34:59 +00:00
mikep%oeone.com
9208ce26b4 Updating files for windows builds and adding windows makefiles.
git-svn-id: svn://10.0.0.236/trunk@108816 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 19:22:04 +00:00
jake%acutex.net
effa3a810e Add Windows makefile for calendar.
git-svn-id: svn://10.0.0.236/trunk@108815 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 19:15:20 +00:00
dinglis%qnx.com
ca4d7fe203 -not part of build-
clean up splash screen
removed PHIG env requirement.


git-svn-id: svn://10.0.0.236/trunk@108813 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 18:45:00 +00:00
nboyd%atg.com
503987f4fb 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


git-svn-id: svn://10.0.0.236/trunk@108807 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 15:48:21 +00:00
ian%hixie.ch
90f855808b * 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.


git-svn-id: svn://10.0.0.236/trunk@108806 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 15:46:42 +00:00
justdave%syndicomm.com
fe649f9b61 Fix for bug 61634: explain what "Milestone URL" is on the editproducts page.
patch by Matthew Tuck <matty@chariot.net.au>
r= caillon, justdave


git-svn-id: svn://10.0.0.236/trunk@108805 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 15:46:27 +00:00
timeless%mac.com
38c8443ca8 Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
r=axel@pike.org sr=kin


git-svn-id: svn://10.0.0.236/trunk@108804 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 15:12:51 +00:00
kaie%netscape.com
408e7ac983 b=84947 Roland tries to fix bustage, which only occurs on Unix when XPrint is not used.
r=kaie


git-svn-id: svn://10.0.0.236/trunk@108801 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 11:13:22 +00:00
kaie%netscape.com
c2e93a3049 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


git-svn-id: svn://10.0.0.236/trunk@108800 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 10:00:44 +00:00
gerv%gerv.net
401144e72a Bug 104261 - incorrect template paths. r=myk, ddk.
git-svn-id: svn://10.0.0.236/trunk@108799 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 06:12:36 +00:00
jst%netscape.com
e3719284dd Comment change...
git-svn-id: svn://10.0.0.236/trunk@108798 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 06:12:20 +00:00
rpotts%netscape.com
19db6dc154 Removing dead, wrong, evil, dangerous code from the parser!!
git-svn-id: svn://10.0.0.236/trunk@108797 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 05:50:04 +00:00
roc+%cs.cmu.edu
5d13b4f0c5 View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@108796 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 05:26:32 +00:00
jst%netscape.com
9b6e8f4262 Adding comments per brendan@mozilla.org's request in bug 111361.
git-svn-id: svn://10.0.0.236/trunk@108794 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 04:58:09 +00:00
rpotts%netscape.com
e318b93922 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
git-svn-id: svn://10.0.0.236/trunk@108793 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 04:37:39 +00:00
bhart00%yahoo.com
cf4c7a45a1 fix for bug 102349, r=ben/sr=brendan
git-svn-id: svn://10.0.0.236/trunk@108792 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 04:03:36 +00:00
seawood%netscape.com
5bd0d8e4eb Remove use of MOZ_MAKE_ENV. Builds should use |make -j3| instead of |MAKE='make -j3' make|
git-svn-id: svn://10.0.0.236/trunk@108791 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 04:02:28 +00:00
ben%netscape.com
d9a577721b 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).


git-svn-id: svn://10.0.0.236/trunk@108790 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 03:35:32 +00:00