Commit Graph

75245 Commits

Author SHA1 Message Date
blakeross%telocity.com
a3fe5e9a95 Fix 66135: use option, not command, for moving to and selecting previous/next word on mac. r=timeless sr=sfraser 2001-01-22 20:34:04 +00:00
blakeross%telocity.com
3f4c7704f0 Fix 33115: attempt to shave milliseconds off of startup time by removing obsolete/unused prefs. more to come. r=timeless,sspitzer sr=bienvenu 2001-01-22 20:30:26 +00:00
nboyd%atg.com
e737c6d867 Subject:
Re: Small usage simplification for Rhino
       Date:
            Mon, 22 Jan 2001 20:32:12 +0100
      From:
            Igor Bukanov <igor@icesoft.no>
        To:
            Norris Boyd <nboyd@atg.com>
 References:
            1 , 2




Norris Boyd wrote:

> Sounds like a good change to reduce codesize. I'll take the patches for the
> changes.
>
> Thanks,
> Norris

I made this patch, the files in the attachment were produced via:
diff -bB javascript.orig javascript -c > patch_context
and
diff -bB javascript.orig javascript > patch_std

run from org/mozilla directory.

This patch reduces uncopressed Rhino jar by 3K.

>
> Igor Bukanov wrote:
>
>
>> Hi, Noris!
>>
>> To shorten/cleanup usage of getMessage and reportRuntimeError methods
>> from org/mozilla/javascript/Context.java I suggest to add few utility
>> methods like
>>
>>      static String getMessage0(String messageId) {
>>          return getMessage(messageId, null);
>>      }
>>
>>      static String getMessage1(String messageId, Object arg1) {
>>          Object[] arguments = {arg1};
>>          return getMessage(messageId, arguments);
>>      }
>>
>>      static String getMessage2(String messageId, Object arg1, Object arg2) {
>>          Object[] arguments = {arg1, arg2};
>>          return getMessage(messageId, arguments);
>>      }
>>
>>      static String getMessage3
>>          (String messageId, Object arg1, Object arg2, Object arg3) {
>>          Object[] arguments = {arg1, arg2, arg3};
>>          return getMessage(messageId, arguments);
>>      }
>>
>> and
>>
>>      static EvaluatorException reportRuntimeError0(String messageId) {
>>          return reportRuntimeError(getMessage0(messageId));
>>      }
>>
>>      static EvaluatorException reportRuntimeError1
>>          (String messageId, Object arg1)
>>      {
>>          return reportRuntimeError(getMessage1(messageId, arg1));
>>      }
>>
>>      static EvaluatorException reportRuntimeError2
>>          (String messageId, Object arg1, Object arg2)
>>      {
>>          return reportRuntimeError(getMessage2(messageId, arg1, arg2));
>>      }
>>
>>      static EvaluatorException reportRuntimeError3
>>          (String messageId, Object arg1, Object arg2, Object arg3)
>>      {
>>          return reportRuntimeError(getMessage3(messageId, arg1, arg2,
>> arg3));
>>      }
>>
>> This allows to write, for example, instead of
>>
>>               Object[] args = { Integer.toString(base) };
>>               throw Context.reportRuntimeError(getMessage
>>                                                ("msg.bad.radix", args));
>> simply
>>               throw Context.reportRuntimeError1(
>>                   "msg.bad.radix", Integer.toString(base));
>>
>> which is not only easy to read but also generates less code.
>>
>> I attach my patch to Context.java to implement this plus a patch to
>> ScriptRuntime.java that utilizes the additions. The patches are in
>> standard and context versions.
>>
>> If you think that this make sense to incorporate, I can send a patch
>> that utilizes this everywhere.
>>
>>   ------------------------------------------------------------------------
>>                                  Name: patch.context.Context.java
>>    patch.context.Context.java    Type: Plain Text (text/plain)
>>                              Encoding: base64
>>
>>                              Name: patch.std.Context.java
>>    patch.std.Context.java    Type: Plain Text (text/plain)
>>                          Encoding: base64
>>
>>                                        Name: patch.context.ScriptRuntime.java
>>    patch.context.ScriptRuntime.java    Type: Plain Text (text/plain)
>>                                    Encoding: base64
>>
>>                                    Name: patch.std.ScriptRuntime.java
>>    patch.std.ScriptRuntime.java    Type: Plain Text (text/plain)
>>                                Encoding: base64
>>
>>               Name: all.zip
>>    all.zip    Type: Zip Compressed Data (application/x-zip-compressed)
>>           Encoding: base64
2001-01-22 20:28:34 +00:00
shanjian%netscape.com
02192bd867 #62690 need to handle double click in language add dialog box
r = nhotta
sr = ben
2001-01-22 20:28:17 +00:00
bienvenu%netscape.com
97fe7b64cf fix news not to open a new connection for ever post r=sspitzer, sr=mscott 65975 2001-01-22 20:24:12 +00:00
axel%pike.org
3e370d98c8 not part of build, code by peterv, r=me. Getting xhtml output right. little fix for translate(), comment cleanup 2001-01-22 20:23:50 +00:00
ssu%netscape.com
579692e16b fixing bug 59105 - chrome install hangs when target is not an install file. sr=mscott, r=dveditz. 2001-01-22 20:15:49 +00:00
mcgreer%netscape.com
deab71f885 add option for db prefix 2001-01-22 20:14:05 +00:00
sspitzer%netscape.com
feff593697 "Edit | Properties" -> "Edit | Properties..."
patch from hwaara@chello.se
r=sspitzer, r=jglick, sr=bienvenu
2001-01-22 20:05:51 +00:00
mcgreer%netscape.com
655cf6e4ed dbprefix option added 2001-01-22 19:51:41 +00:00
wtc%netscape.com
cb0969a8ae Bugzilla bug #65918: do not build shared libraries on OSF1 with the -all
linker option.  The temporary workaround in two makefiles were removed.
Modified Files:
	coreconf/OSF1.mk nss/lib/ckfw/builtins/Makefile
	nss/lib/fortcrypt/swfort/pkcs11/Makefile
2001-01-22 17:16:47 +00:00
axel%pike.org
fbdd098b71 not part of build, namespace handling changed, synching mozilla parts, r=peterv 2001-01-22 15:53:06 +00:00
axel%pike.org
4ac9ea3d65 not part of build, I hope that's all of WildCardExpr.cpp 2001-01-22 15:03:12 +00:00
axel%pike.org
a7ec2603f7 not part of build, removing unused file WildCardExpr.cpp 2001-01-22 14:21:21 +00:00
axel%pike.org
32876664a6 not part of build, bring build in synch with Keith's changes 2001-01-22 14:12:16 +00:00
axel%pike.org
a683caf7d8 not part of build, forgot idl file in last checkin. 2001-01-22 12:33:50 +00:00
ben%netscape.com
39fb3d5ec4 New bookmarks window stuff, not yet part of build. 2001-01-22 10:36:40 +00:00
kvisco%ziplink.net
6392861efd Not part of regular build. Added attribute axis test. 2001-01-22 09:56:42 +00:00
kvisco%ziplink.net
47cfd09205 Not part of regular build. Improved namespace handling. 2001-01-22 09:39:55 +00:00
kvisco%ziplink.net
0d8d5a5ee3 Not part of regular build. NamedMap now handles TxObject instead of MITREObject 2001-01-22 09:38:29 +00:00
kvisco%ziplink.net
2dd9ef3e86 Not part of regular build. Removed WildCardExpr, updated all necessary files.
Removed Token::WILD_CARD. Wild cards are handled in ElementExpr and
AttributeExpr accordingly.
2001-01-22 09:36:19 +00:00
kvisco%ziplink.net
f11de4ec67 Not part of regular build. Added getNameSpace method. 2001-01-22 09:32:40 +00:00
pinkerton%netscape.com
69e772b8e3 uninitialized event result causing havoc on mac opt builds. Setting it to something reasonable up front fixes form submission. r=timeless,a=ben. 2001-01-22 08:34:23 +00:00
jst%netscape.com
b767fb5895 Fixing cut n' paste error, not part of the build yet. 2001-01-22 08:17:06 +00:00
cls%seawood.org
39c325b9c2 Fix bug of not generating makefiles for mng. Thanks to Dmitry Kubov <Dmitry@north.cs.msu.su> for the patch 2001-01-22 07:55:01 +00:00
cls%seawood.org
806e769d34 Only run win32 nspr autoconf if configure* has changed. r=bryner 2001-01-22 07:38:23 +00:00
cls%seawood.org
1402a638a9 Add -l (nolockfiles) option for bassackwards OS's without flock(). 2001-01-22 07:36:25 +00:00
pavlov%netscape.com
06868b8c14 some documentation changes 2001-01-22 07:32:41 +00:00
pavlov%netscape.com
eb53bb443f container work 2001-01-22 06:43:44 +00:00
jst%netscape.com
6d379787a0 Removing unused variable. 2001-01-22 06:38:19 +00:00
cls%seawood.org
b06b54dd72 There is no need to invoke recursive makes for the dummy libs & install phases of nspr. Especially when it means having a dummy target in every makefile that has a dependency upon export. Instead, put the dummy target in rules.mk. 2001-01-22 06:36:06 +00:00
pavlov%netscape.com
f85fc1724b added nsIImageContainer and nsIImageFrame and removed nsIImage2 2001-01-22 06:22:13 +00:00
cls%seawood.org
66d8288f43 Implemented full copy-n-paste support for BeOS.
Thanks to Takashi Toyoshima <toyoshim@be-in.org> for the patch.
Bug #65100 r=cls
2001-01-22 05:32:30 +00:00
cls%seawood.org
cb1a4287ea Make ::GetPixelDepth() know about rgb16 2001-01-22 05:10:15 +00:00
jst%netscape.com
c8befdc9cf Interface cleanup, not part of the build yet. 2001-01-22 04:34:24 +00:00
cls%seawood.org
e4a93882a9 Add locking to prevent race conditions when building .jars.
Bug #55174 r=axel@pike.org
2001-01-22 04:20:55 +00:00
jst%netscape.com
e3aeb66f2f Interface cleanup, not part of the build yet. 2001-01-22 04:15:37 +00:00
jst%netscape.com
7927354a2b Interface cleanup, not part of the build yet. 2001-01-22 04:09:29 +00:00
hewitt%netscape.com
b061c11ad1 52381 - DOM selectorText implementation, r=attinasi/jst, sr=waterson 2001-01-22 04:03:48 +00:00
jst%netscape.com
6bcebbe36c Interface cleanup, not part of the build yet. 2001-01-22 04:01:04 +00:00
jst%netscape.com
9a35f34ac4 Interface cleanup, not part of the build yet. 2001-01-22 02:54:07 +00:00
jst%netscape.com
5d9b61129a Interface cleanup, not part of the build yet. 2001-01-22 02:36:07 +00:00
jst%netscape.com
df95c98e64 Renaming files to make the mac happier, not part of the build yet. 2001-01-22 01:59:47 +00:00
jst%netscape.com
7ef39af6f6 Renaming file to make the mac happier. Not part of the buidl yet 2001-01-22 01:53:58 +00:00
jst%netscape.com
4501a3c0f1 Removing file that's not needed. 2001-01-22 01:26:07 +00:00
cls%seawood.org
d0c6b914aa Fix for clicking on browser window not bring it to front.
Thanks to Takashi Toyoshima <toyoshim@be-in.org> for the patch.
Bug #65126 r=cls
2001-01-22 00:39:36 +00:00
bryner%uiuc.edu
ee6a60e566 Add support for building NSPR with autoconf. Define USE_NSPR_AUTOCONF to turn it on (requires additional tools). r=cls. 2001-01-22 00:32:42 +00:00
cls%seawood.org
1947067a46 Only print the FIXME:: repaint messages on debug builds as we're still not sure if it is needed. 2001-01-22 00:19:00 +00:00
cls%seawood.org
fb275c87f8 Implementing file dialogs for BeOS.
Thanks to Makoto Hamanaka <VYA04230@nifty.com> for the patch.
Bug #65423 r=cls
2001-01-22 00:00:28 +00:00
cls%seawood.org
e99a3c3a5d Initial implementation of file dialogs for BeOS.
Thanks to Makoto Hamanaka <VYA04230@nifty.com> for the new files.
Bug #65423 r=cls
2001-01-21 23:58:36 +00:00