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

81709 Коммитов

Автор SHA1 Сообщение Дата
guru%startrek.com ca76fa63ce Bug 79017: Implement ScrollWheel and tab cleanup, r=timeless [BeOS Port Only] 2001-05-07 03:30:40 +00:00
bienvenu%netscape.com 01f516cbd2 fix one cause of 65838 major leakage of nsMsgHdrs r=naving, sr=sspitzer 2001-05-07 00:03:08 +00:00
nboyd%atg.com e4bf1b6548 Fix problems noted in following mail:
Subject:
        rhino bug(s)
   Date:
        Mon, 30 Apr 2001 23:07:00 -0700
   From:
        Mike Dixon <MDixon@placeware.com>
     To:
        nboyd@atg.com




hi.  i'm a happy rhino user, and just stumbled across what looks like a
pretty basic bug in the property stuff on ScriptableObject...  (i'm running
1.5, but it looks like this code hasn't changed in CVS.)  since it looks
like you're actively developing (even though it's been a while since
1.5...) i figured you might be interested -- apologies if i missed a more
formal bug reporting process...

the symptom was that i got a "Hashtable internal error" thrown from
getSlotToSet.  reading the code, here's what i think could happen:

- create a new object (slots.length is initially 5)
- add 3 properties
- delete those 3 properties

(now count == 0, and slots[i] == REMOVED for 3 values of i)

- add 2 more properties

now assume that you're unlucky, and that these two hash to different values
than the first three; now you have 2 elements of slots[] containing real
slots, and the other three containing REMOVED.

now what happens when you try to create another slot?  getSlotToSet is only
willing to put something in a null slot[], and you haven't got one, so you
get the internal error.

writing this message encouraged me to try to write a test case to reproduce
it, and in fact it's trivial:

   js> x={}; x.a=x.b=x.c=1; delete x.a; delete x.b; delete x.c; x.d=x.e=1
   1
   js> x.whatever=1
(boom)

by the way, while reading the code i also noticed what looks like another,
less consequential bug: addSlot increments count before deciding to grow
the table, which is done with a recursive call, which will cause count to
be incremented again -- right?  as far as i can tell, setting count too big
will only cause it to grow the table a little early next time, so it
doesn't really matter, but it looks wrong.

                                                        .mike.
2001-05-06 23:56:34 +00:00
sdagley%netscape.com 1b89d8d6cf #3616 - Enable long long in Mac version of NSPR (#defines the HAVE_LONG_LONG flag). sr=sfraser Checking in to NSPR tip to keep sync with version 3.3.2.2 on the NSPRPUB_CLIENT_BRANCH tag 2001-05-06 22:55:49 +00:00
sdagley%netscape.com 12bf88e8f6 #3616 - Enable long long in Mac version of NSPR (#defines the HAVE_LONG_LONG flag). sr=sfraser 2001-05-06 22:43:07 +00:00
radha%netscape.com a0868f7527 fix for bug # 78756. shift-reload on a post result page causes repost. r=ccarlen sr=blizzard 2001-05-06 18:43:07 +00:00
pschwartau%netscape.com 1d761239c9 Minor style changes. 2001-05-06 18:07:12 +00:00
ccarlen%netscape.com ac8ff4c8ea Bug 78745 - nsIPromptService::ConfirmEx needs to be more flexible. r=valeski, sr=sfraser 2001-05-06 15:03:55 +00:00
dbaron%fas.harvard.edu cbf360b0b9 Fix clobber-only MOZ_TRACK_MODULE_DEPS bustage by changing mozucth in REQUIRES lines to helperAppDlg or removing it entirely. 2001-05-06 13:36:08 +00:00
hewitt%netscape.com 59a1da2563 78221 - modern3 update: new toolbar icons galore, r=andreww, sr=ben 2001-05-06 06:57:03 +00:00
mcafee%netscape.com 7ac25e586c Point to correct smiley.gif in modern theme, so it shows up in prefs (77285). code=walker, r=mcafee, sr=ben 2001-05-06 06:39:50 +00:00
ian%hixie.ch b8a735d31d * fixed the methodMissing() method so that it actually is possible to use it to do method dispatching;
* factored out some of the method dispatching code by adding a dispatchMethod() method to the controller;
* turned the Dispatcher class into simply a function on the base Service class and removed Dispatcher.pm;
* made it possible for services to be both services and objects and provide different services depending on which context they were called in (and used this to make the AdminCommands module actually do what it was intended to in the first place, namely, only work for CommandLine access);
* fixed it so if a service is first created by getServiceList the constructed version will actually be cached;
* made output more generic by allowing services to implement arbitrary parts of the output API, used that to make AdminCommands usable without requiring additional code to support it;
* added some documentation;
* added some dump(10) statements to help debugging;
* fixed the string datasource SQL;
* fixed the DBI database so it can handle errors;
* added tableExists API to the DBI database helper.
Thanks to myk, justdave and zach for some ideas.
2001-05-06 06:26:24 +00:00
blizzard%redhat.com 6dc6eaf9be Bug #79041. Add the ability to get the title for a page in unicode from the embedding widget. Patch from Philip Langdale <philipl@mail.utexas.edu>. r=blizzard,sr=waterson 2001-05-06 03:14:51 +00:00
dbaron%fas.harvard.edu 6daa1bdba8 Fix potential bustage pointed out by mkaply - "$(LIB_SUFFIX)" rather than ".a". b=75924 2001-05-06 02:41:20 +00:00
waterson%netscape.com be1dc4cf08 Bug 77209. Get rid of unused module instance counting in order to eliminate duplicate global symbols. r=erik, sr=shaver 2001-05-06 02:27:33 +00:00
dbaron%fas.harvard.edu 5aaba64c15 Fix creation of two copies of the archive resulting from a space after the LIBRARY_NAME line. r=cls@seawood.org b=75924 2001-05-06 01:34:50 +00:00
arik%netscape.com 48c7f5579c Added an AttributeChanged function to nsXULTreeFrame so that you can dynamically set the row count. Fixed bug 59511, r=danm, sr=hyatt. 2001-05-06 01:08:20 +00:00
waterson%netscape.com 1a8ee3a219 Bug 77942. Make font cache promote last hit to the front of the cache; only retrieve lang-atom if fonts are equal. r=dbaron, sr=hyatt 2001-05-06 00:13:50 +00:00
waterson%netscape.com 8537458995 Bug 78941. Null-check to handle view giving back a null selection. r=varga@utcru.sk, sr=hyatt 2001-05-06 00:02:27 +00:00
waterson%netscape.com 01dd4dd512 Bug 78940. Fix nsOutlinerRows::First() logic so that we get a good iterator when the rows are empty. r=varga@utcru.sk, sr=hyatt 2001-05-06 00:01:39 +00:00
bryner%uiuc.edu 794a2200b0 Checking in for cls. Bug 53226, r=leaf. 2001-05-05 23:32:03 +00:00
dbaron%fas.harvard.edu 615d2cb389 Attempt to fix AIX bustage by linking against gkgfx and gkconshared_s (ugh!). 2001-05-05 21:56:46 +00:00
ian%hixie.ch aac5db9914 Made the lack of a configuration file be non-fatal (and factored out the low level code while I was at it). We need that so that the configuration data source can actually go in and create the configuration file if it is missing; otherwise the program exits with "no configuration file! waah!" before you get to the configuration-file-creation code! 2001-05-05 19:00:06 +00:00
ian%hixie.ch 1dc1d947ea Implementing (and documenting!) PLIF::debug() as suggested by zach. a=hixie 2001-05-05 18:28:08 +00:00
nboyd%atg.com a426bf2e85 New updates from Igor. 2001-05-05 18:25:00 +00:00
dbaron%fas.harvard.edu a485ffb35a Change true and false to PR_TRUE and PR_FALSE to fix AIX and OS/2 bustage from adding inspector to --with-extensions=all. b=75924 2001-05-05 17:50:09 +00:00
pschwartau%netscape.com ff8e5de2ea More getter and setter tests. These are non-ECMA and not implemented in Rhino. 2001-05-05 17:27:12 +00:00
cmanske%netscape.com 9e11e06a04 Cleaned up spelling dictionary dialog and fix to work around empty list bug 74467. b=78460, r=mjudge, sr=kin 2001-05-05 17:25:44 +00:00
pschwartau%netscape.com ac008beb56 Initial add. 2001-05-05 17:24:07 +00:00
cmanske%netscape.com e2b3b33e6e Removed uneccessary 'dump' in Link dialog, part of fix to bug 77930 2001-05-05 17:19:18 +00:00
cmanske%netscape.com e787eec482 Detect when selected text for a link is a URI in Link dialog, b=77930, r=mjudge, sr=kin 2001-05-05 17:17:11 +00:00
dbaron%fas.harvard.edu 295bfc7751 Change CRLF line endings to LF to fix IRIX bustage from adding access-builtin to --with-extensions=all. 2001-05-05 15:34:50 +00:00
leaf%mozilla.org 4425947334 Automated update 2001-05-05 14:29:55 +00:00
dbaron%fas.harvard.edu 3d04ccd651 Add inspector and access-builtin to --with-extensions=all. r=cls@seawood.org sr=hewitt@netscape.com b=75924 2001-05-05 14:26:02 +00:00
dbaron%fas.harvard.edu e7839630d5 Fixing potential bustage in access-builtin, inspector, and transformiix (adding REQUIRES, adding newlines, etc.) so they can be added to --with-extensions=all. r=cls@seawood.org sr=hewitt@netscape.com b=75924 2001-05-05 14:20:44 +00:00
dbaron%fas.harvard.edu 18d477a03a Fix MOZ_TRACK_MODULE_DEPS (senna tinderbox) bustage by adding timer, necko, embedcomponents, and profile to REQUIRES. 2001-05-05 12:44:26 +00:00
cls%seawood.org 6f256984a9 Let the use of PR_Log() be controlled by a toplevel build option. All places that set FORCE_PR_LOG to force logging on need to wrap that #define FORCE_PR_LOG in a MOZ_LOGGING ifdef.
It's on by default. Set
--disable-logging (unix)
NO_LOGGING=1 (win32)
moz_logging = 0  (mac)
to turn it off globally.

Bug #53226 r=sspitzer,leaf,sfraser
2001-05-05 10:18:53 +00:00
cls%seawood.org 1959fd6fa7 set MOZ_NSS_AUTOCONF to use the NSS_CLIENT_BRANCH (autoconf) 2001-05-05 10:00:02 +00:00
pavlov%netscape.com 5c43e187fa removing the quotes from the module name 2001-05-05 09:58:31 +00:00
sspitzer%netscape.com b048518c1b fix for #75007. in certain cases (like posting!) we'd fail to
prompt for authentication, and just silently fail.
sr=bienvenu
2001-05-05 08:58:31 +00:00
mscott%netscape.com 63d72bdce8 Bug #75691 --> classic and modern changes for new attachment display
r=hewitt
sr=sspitzer
2001-05-05 07:44:40 +00:00
mscott%netscape.com 4be73b938c bug #75691 --> add field for Attachment tree title
r=hewitt
sr=sspitzer
2001-05-05 07:43:42 +00:00
mscott%netscape.com 488b53c889 bug #75691 --> add field for Attachment tree title 2001-05-05 07:43:02 +00:00
mscott%netscape.com fc50ca7464 Bug #75691 --> add content type icons for attachments in the compose window
r=hewitt
sr=sspitzer
2001-05-05 07:42:28 +00:00
mscott%netscape.com 1875274a8f Bug #44668,75691, 73414, 76268 --> Show / hide the edit draft button. Implement new attachment display using a tree widget
and moz-icons. Implement Save All Attachments again with the new attachment look.
Bug #75462 --> ensure there is always a subject so the twisty shows up...
r=hewitt
sr=sspitzer
2001-05-05 07:40:24 +00:00
syd%netscape.com 94d061b707 Fix for http://bugzilla.mozilla.org/show_bug.cgi?id=72913 r=sgehani, sr=dveditz 2001-05-05 07:19:22 +00:00
sspitzer%netscape.com fa01b79f33 fix for #77510. fix news posting from drafts folder / unsent messages.
sr=bienvenu
2001-05-05 07:18:29 +00:00
ian%hixie.ch 0baba2d269 work in progress 2001-05-05 07:12:56 +00:00
kandrot%netscape.com afdac97c93 Check in for Ron Guilmette. r=shaver, sr=waterson. For intl r=nhotta. Changes for NS_IMPL_NSGETMODULE. bug #46775. 2001-05-05 05:33:37 +00:00
wtc%netscape.com bcaa5cf548 Bugzilla bug #70765: added more comments and use the byte count returned
by WriteFile as opposed to the len argument, just in case WriteFile writes
fewer bytes than requested.
2001-05-05 04:59:38 +00:00