2673 Commits

Author SHA1 Message Date
dougt%netscape.com
3ec784c191 nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
git-svn-id: svn://10.0.0.236/trunk@235754 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:49:19 +00:00
jaggernaut%netscape.com
85a6fd1e2f Bug 81444: eliminate |null_nsCOMPtr|. Eliminating all callers, r=syd, rs=mozbot.
git-svn-id: svn://10.0.0.236/trunk@235753 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:49:18 +00:00
alecf%netscape.com
e3d34ce667 fix some dumb dependencies for bug 102290
r=jag, sr=darinf


git-svn-id: svn://10.0.0.236/trunk@235752 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:49:17 +00:00
jaggernaut%netscape.com
a0d4d1b8f9 Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@235751 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:49:16 +00:00
gerv%gerv.net
2ec60fc049 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@235750 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:49:15 +00:00
ben%netscape.com
fa7abc9d7a - fix js error when pasting into a bookmarks folder due to missing method.
(implement method exposing BookmarkParser::CreateAnonymousResource)
r=hixie, sr=blake, a=asa
part of 79904


git-svn-id: svn://10.0.0.236/trunk@235749 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:49:14 +00:00
ben%netscape.com
b96b7f66ce forgot this. oops
git-svn-id: svn://10.0.0.236/trunk@235748 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:49:13 +00:00
jaggernaut%netscape.com
24a1fb4556 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@235747 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:49:12 +00:00
jaggernaut%netscape.com
9d9082dfd8 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@235746 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:49:11 +00:00
scc%mozilla.org
0f77aae081 bug #85271: sr=waterson, r={beard, jag, dbaron}, a=asa. Eliminate features of |nsXPIDLC?String| that keep it out of the string hierarchy (i.e., using assigment to rebind ownership, static |Copy| members, and |getter_Shares|), fixing some leaks in the process.
git-svn-id: svn://10.0.0.236/trunk@235745 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:49:10 +00:00
ben%netscape.com
1066908be7 Fix for 78020 - Chromeless window when opening updated bookmarked page
Make bookmarks-service open a Navigator window with uri as argument using
WindowWatcher interface.
r=pchen, sr=blake, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@235744 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:49:09 +00:00
timeless%mac.com
ea1bf8b5a6 bewildered BeOS 5.0 Depend on 06/03 10:47
Build Error Summary

c++ -o nsBookmarksService.o -c -DOSTYPE=\"BeOS5.0\" -DOSARCH=\"BeOS\" -DMOZ_REFLOW_PERF -DMOZ_REFLOW_PERF_DSP -DOJI   -I../../../../dist/include -I../../../../dist/include -I/boot/home/tinderbox/BeOS_5.0_Depend/mozilla/obj-i686-pc-beos/dist/include/nspr         -fPIC   -frtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wbad-function-cast -Wcast-align -Woverloaded-virtual -Wsynth -Wno-multichar -Wno-ctor-dtor-privacy -pedantic -Wno-long-long -pipe  -DDEBUG -DDEBUG_cltbld -DTRACING -g  -DMOZILLA_CLIENT -include ../../../../config-defs.h -Wp,-MD,.deps/nsBookmarksService.pp /boot/home/tinderbox/BeOS_5.0_Depend/mozilla/xpfe/components/bookmarks/src/nsBookmarksService.cpp
/boot/home/tinderbox/BeOS_5.0_Depend/mozilla/xpfe/components/bookmarks/src/nsBookmarksService.cpp: In method `nsresult nsBookmarksService::ReadBookmarks()':
/boot/home/tinderbox/BeOS_5.0_Depend/mozilla/xpfe/components/bookmarks/src/nsBookmarksService.cpp:4112: no matching function for call to `BookmarkParser::SetIEFavoritesRoot (nsCString)'
/boot/home/tinderbox/BeOS_5.0_Depend/mozilla/xpfe/components/bookmarks/src/nsBookmarksService.cpp:403: candidates are: BookmarkParser::SetIEFavoritesRoot(nsCString &) <near match>
make[5]: *** [nsBookmarksService.o] Error 1

picky compiler. i'm amazed that any of the code in there works. this is a bustage fix that will only affect XP_BEOS.


git-svn-id: svn://10.0.0.236/trunk@235743 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:49:08 +00:00
ben%netscape.com
ef09eccebb - fix js error when pasting into a bookmarks folder due to missing method.
(implement method exposing BookmarkParser::CreateAnonymousResource)
- allow user to remove Imported IE favorites folder by setting a pref
  so that it is not automatically imported on startup.
r=hixie, sr=blake, a=asa
part of 79904, 22642


git-svn-id: svn://10.0.0.236/trunk@235742 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:49:07 +00:00
hewitt%netscape.com
09cd6f5ba9 78882 - Dragging a bookmark into the personal toolbar causes all items to be deleted, r=ben, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@235741 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:49:06 +00:00
gerv%gerv.net
b8a14782ae Make it possible to set the location of the bookmarks file. Bug 31623. r=timeless, sr=waterson. Pref for this is browser.bookmarks.file - you need to edit your pref.js manually. I seem to remember you need to double your backslashes on Windows...
git-svn-id: svn://10.0.0.236/trunk@235740 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:49:05 +00:00
ben%netscape.com
c5cd8250b8 fix for 74969. r=blake, waterson
git-svn-id: svn://10.0.0.236/trunk@235739 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:49:04 +00:00
darin%netscape.com
b0d553c385 Http branch landing: changes to other files (bug 76866) r=gagan,sr=dougt,a=chofmann
git-svn-id: svn://10.0.0.236/trunk@235738 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:49:03 +00:00
valeski%netscape.com
4333162aba mozilla diffs r=tao, sr=alecf, commercial diffs r=syd, sr=syd/shaver. lower-casing JS calls to createBundle. removing un-used nsILocale param from nsIStringBundle::CreateBundle(). 76332
git-svn-id: svn://10.0.0.236/trunk@235737 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:49:02 +00:00
tor%cs.brown.edu
5dba6658cf Backing out fix from bug 31623. a=blizzard
git-svn-id: svn://10.0.0.236/trunk@235736 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:49:01 +00:00
timeless%mac.com
8efc9f14f6 fix Bugzilla Bug 31623 Location of Bookmarks file cannot be changed
fix by gervase.markham@univ.ox.ac.uk
r=timeless, sr=waterson, a=asa


git-svn-id: svn://10.0.0.236/trunk@235735 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:49:00 +00:00
mkaply%us.ibm.com
4011321249 #70334
r=alecf, sr=waterson
Personal toolbar doesn't migrate on DBCS systems - use NS_ConvertUTF8toUCS2


git-svn-id: svn://10.0.0.236/trunk@235734 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:48:59 +00:00
darin%netscape.com
a5fa93f15f Patch to finalize necko loadFlags and fix HTTP validation correctness w.r.t.
cache validation preferences and browsing via history.  r=gagan,gordon.
Fixes several bugs that I would mention here if bugzilla weren't down ;-)


git-svn-id: svn://10.0.0.236/trunk@235733 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:48:58 +00:00
sgehani%netscape.com
96fed8f00a Don't UTF-8 encode bookmark URLs twice.
b = 54866
r = sgehani (checking in for waterson)
sr = alecf


git-svn-id: svn://10.0.0.236/trunk@235732 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:48:57 +00:00
danm%netscape.com
85236f5b18 replacing use of evil hidden window with embedding-copacetic window watcher. bug 71895 r=blizzard,hyatt,javi,various
git-svn-id: svn://10.0.0.236/trunk@235731 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:48:56 +00:00
darin%netscape.com
2acf8f435a Necko API changes, bug 74221. r=valeski, sr=rpotts.
git-svn-id: svn://10.0.0.236/trunk@235730 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:48:55 +00:00
danm%netscape.com
11b3d9e47f removing use of nsNetSupportDialog. bug 72112 continued. r=hyatt,morse,mstoltz,various
git-svn-id: svn://10.0.0.236/trunk@235729 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:48:54 +00:00
ccarlen%netscape.com
3577280e8e Bug 65212 - profile support for kiosk mode. Also, removing profile change observer strings from header to cut dependencies. r=valeski@netscape.com, sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@235728 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:48:53 +00:00
naving%netscape.com
4a35915655 #70817 r/sr = bienvenu, alecf. Pass the strm as reference instead of a copy.
git-svn-id: svn://10.0.0.236/trunk@235727 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:48:52 +00:00
disttsc%bart.nl
71dcda5986 Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc
git-svn-id: svn://10.0.0.236/trunk@235726 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:48:51 +00:00
dougt%netscape.com
e4934df183 Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@235725 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:48:50 +00:00
waterson%netscape.com
966523d92f Bug 69009. Don't look for duplicates when reading in bookmarks. r=ben, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@235724 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:48:49 +00:00
timeless%mac.com
0aa695096e fix build bustage in bug 67680, adding PRInt32
git-svn-id: svn://10.0.0.236/trunk@235723 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:48:48 +00:00
ben%netscape.com
fad4c0a518 Bug 67680, remove CreateFolder method from nsIBookmarksService. r=jag, a=alecf.
git-svn-id: svn://10.0.0.236/trunk@235722 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:48:47 +00:00
disttsc%bart.nl
1686f5ea6e Back out dougt's channel changes
git-svn-id: svn://10.0.0.236/trunk@235721 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:48:46 +00:00
dougt%netscape.com
e0ed7f278b Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@235720 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:48:45 +00:00
ben%netscape.com
57ed483686 Bookmarks Window Updates, includes fixes for
27495, 38004, 42080, 43146, 43753, 47494, 50835, 53403, 55447, 55448, 55787
r=blake, a=hyatt


git-svn-id: svn://10.0.0.236/trunk@235719 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:48:44 +00:00
cls%seawood.org
c94b26a432 Make sure to use netPositive variables instead of IE ones.
Thanks to Takashi Toyoshima <toyohim@be-in.org> for the patch.
Bug #65131 r=cls


git-svn-id: svn://10.0.0.236/trunk@235718 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:48:43 +00:00
ccarlen%netscape.com
daa7f82bcf Part of bug 35559 - dynamic profile switching
r=valeski@netscape.com, sr=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@235717 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:48:42 +00:00
jgmyers%netscape.com
03364da372 cleanup, fix TRUE/FALSE refs: bug 63834 r=bryner sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@235716 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:48:41 +00:00
dbaron%fas.harvard.edu
c40fee70ca Convert correct usage of |nsCOMPtr<T>::operator&| to use |address_of| since the operator& will soon become private. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@235715 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:48:40 +00:00
alecf%netscape.com
0a60b09258 oops, fix it a little more
git-svn-id: svn://10.0.0.236/trunk@235714 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:48:39 +00:00
alecf%netscape.com
5ff57eb9ec fix BeOS bustage (this code not in the mac/win/unix builds)
git-svn-id: svn://10.0.0.236/trunk@235713 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:48:38 +00:00
alecf%netscape.com
c00e670f81 fix the orange by changing the timers to member variables of the service singletons, rather
than static nsCOMPtrs!
r=sspitzer
a=fixing bustage


git-svn-id: svn://10.0.0.236/trunk@235712 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:48:37 +00:00
sspitzer%netscape.com
cb1238e33b backing edburns out to open up the tree.
sorry ed.  a=granrose


git-svn-id: svn://10.0.0.236/trunk@235711 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:48:36 +00:00
edburns%acm.org
9128c2cc56 bug=59530
sr=waterson
r=valeski
This fix removes the two instances of the unsafe practice of having
static nsCOMPtr instances, either as static data members or or file
static variables.  This practice prevents the proper ref-counting of
such instances, and leads to accessing the instances after their
ref-count has gone to 0.

The following files are in this fix:

widget/timer/src/windows/nsTimer.cpp
xpfe/components/bookmarks/src/nsBookmarksService.cpp
xpfe/components/bookmarks/src/nsBookmarksService.h
widget/timer/src/windows/nsWindowsTimer.h


git-svn-id: svn://10.0.0.236/trunk@235710 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:48:35 +00:00
rjc%netscape.com
3c0f6e01fd Stupid stupid MSVC. Fix Win build bustage. r/a=me
git-svn-id: svn://10.0.0.236/trunk@235709 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:48:34 +00:00
rjc%netscape.com
d5ce400b72 Fix bug # 58421: bookmarks parsing. r=dbaron sr=waterson
git-svn-id: svn://10.0.0.236/trunk@235708 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:48:33 +00:00
warren%netscape.com
9565341cf5 Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@235707 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:48:32 +00:00
warren%netscape.com
dc53a1e019 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@235706 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:48:31 +00:00
rjc%netscape.com
7bee3c7f56 Fix bug # 57017: choosing PT folder loops if already marked as PT folder. r=ben sr=waterson
git-svn-id: svn://10.0.0.236/trunk@235705 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:48:30 +00:00