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

75191 Коммитов

Автор SHA1 Сообщение Дата
pinkerton%netscape.com f59a2a1d62 build new interface r=saari/sr=sfraser. 2001-01-22 21:43:49 +00:00
dbragg%netscape.com 58c0adb4c9 Adding nsIProcess to windows build. a=dougt sr=brendan 2001-01-22 21:42:20 +00:00
pinkerton%netscape.com da7623ef64 new api for embedding. r=saari/sr=sfraser. 2001-01-22 21:41:53 +00:00
amasri%netscape.com ba56db7510 Added comments as workaround for mozilla bug #64199, r=naving 2001-01-22 21:41:48 +00:00
dbragg%netscape.com 6192e3ee0b Added CR to end of file for certain unix platforms.(originally checked in from windows as part of fix for 62167 2001-01-22 21:40:33 +00:00
ccarlen%netscape.com 53538c57f9 Fixing bustage to XPCOM_STANDALONE build caused by my check in for bug 64501. sr=jband 2001-01-22 20:59:37 +00:00
ssu%netscape.com 05b2b1fa99 fixing tree redness 2001-01-22 20:53:31 +00:00
blakeross%telocity.com 25233a6df6 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 1519d3233f 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 46510f022a 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 cc051fd854 #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 50ca9caba1 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 6c1bd19571 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 4f9b6eec85 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 a7c1fce665 add option for db prefix 2001-01-22 20:14:05 +00:00
sspitzer%netscape.com 7c636344eb "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 ab92e34584 dbprefix option added 2001-01-22 19:51:41 +00:00
wtc%netscape.com 2fbc053a03 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 3c996440d5 not part of build, namespace handling changed, synching mozilla parts, r=peterv 2001-01-22 15:53:06 +00:00
axel%pike.org 617c36688c not part of build, I hope that's all of WildCardExpr.cpp 2001-01-22 15:03:12 +00:00
axel%pike.org dccf024d41 not part of build, removing unused file WildCardExpr.cpp 2001-01-22 14:21:21 +00:00
axel%pike.org f61c4064f2 not part of build, bring build in synch with Keith's changes 2001-01-22 14:12:16 +00:00
axel%pike.org 50133ad64e not part of build, forgot idl file in last checkin. 2001-01-22 12:33:50 +00:00
ben%netscape.com 530f85f222 New bookmarks window stuff, not yet part of build. 2001-01-22 10:36:40 +00:00
kvisco%ziplink.net 95defc7d0e Not part of regular build. Added attribute axis test. 2001-01-22 09:56:42 +00:00
kvisco%ziplink.net 2c7f7f8c08 Not part of regular build. Improved namespace handling. 2001-01-22 09:39:55 +00:00
kvisco%ziplink.net 036a84a4f2 Not part of regular build. NamedMap now handles TxObject instead of MITREObject 2001-01-22 09:38:29 +00:00
kvisco%ziplink.net e2841a1ec1 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 c73b1b1ecb Not part of regular build. Added getNameSpace method. 2001-01-22 09:32:40 +00:00
pinkerton%netscape.com 49e3f84426 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 1e3892e7f9 Fixing cut n' paste error, not part of the build yet. 2001-01-22 08:17:06 +00:00
cls%seawood.org 1b341a9a7b 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 9f342086e4 Only run win32 nspr autoconf if configure* has changed. r=bryner 2001-01-22 07:38:23 +00:00
cls%seawood.org 1427fbef29 Add -l (nolockfiles) option for bassackwards OS's without flock(). 2001-01-22 07:36:25 +00:00
pavlov%netscape.com 72a95af082 some documentation changes 2001-01-22 07:32:41 +00:00
pavlov%netscape.com dade9d2e16 container work 2001-01-22 06:43:44 +00:00
jst%netscape.com a6c968fabc Removing unused variable. 2001-01-22 06:38:19 +00:00
cls%seawood.org d74d44c2f2 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 1ed948da56 added nsIImageContainer and nsIImageFrame and removed nsIImage2 2001-01-22 06:22:13 +00:00
cls%seawood.org f16869f798 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 91813cfb2b Make ::GetPixelDepth() know about rgb16 2001-01-22 05:10:15 +00:00
jst%netscape.com 29bebd7ce2 Interface cleanup, not part of the build yet. 2001-01-22 04:34:24 +00:00
cls%seawood.org 8c9709d36a 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 eaa61c3538 Interface cleanup, not part of the build yet. 2001-01-22 04:15:37 +00:00
jst%netscape.com 17b7e23727 Interface cleanup, not part of the build yet. 2001-01-22 04:09:29 +00:00
hewitt%netscape.com aca04ca013 52381 - DOM selectorText implementation, r=attinasi/jst, sr=waterson 2001-01-22 04:03:48 +00:00
jst%netscape.com 226b53dba0 Interface cleanup, not part of the build yet. 2001-01-22 04:01:04 +00:00
jst%netscape.com 02c7101aaa Interface cleanup, not part of the build yet. 2001-01-22 02:54:07 +00:00
jst%netscape.com 1c381a113d Interface cleanup, not part of the build yet. 2001-01-22 02:36:07 +00:00
jst%netscape.com d2f2fcf0fc Renaming files to make the mac happier, not part of the build yet. 2001-01-22 01:59:47 +00:00