101 Commits

Author SHA1 Message Date
myk%mozilla.org
359f7c2edd bug 347481: find link tags in XHTML documents (where the link tag is in the default namespace) in addition to HTML documents
namespace)
Patch by Justin Dolske.
r=myk


git-svn-id: svn://10.0.0.236/trunk@218360 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:32 +00:00
myk%mozilla.org
ad7e8f4eef bug 349440: trim whitespace from the beginning of microsummaries generated by microsummary generators in addition to those provided as plain text.
Patch by Justin Dolske.
r=myk


git-svn-id: svn://10.0.0.236/trunk@218359 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:31 +00:00
cbiesinger%web.de
070ba216a6 Bug 265780 part I: Implement nsIAuthPrompt2 and related interfaces per the design at
http://wiki.mozilla.org/Necko:nsIAuthPrompt2
r=darin


git-svn-id: svn://10.0.0.236/trunk@218358 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:30 +00:00
myk%mozilla.org
9265a676b3 bug 346818: make sure microsummary bookmark records in the bookmarks datastore really exist (i.e. they aren't for cut or deleted bookmarks, which don't get completely removed from the datastore until restart) so we don't hit an error when trying to update them; also, trap errors when updating microsummary bookmarks, so an exception for one update doesn't hork the rest of them; finally, add microsummary properties to the bookmark transaction manager, so they get saved and restored the way they are supposed to be saved and restored when bookmarks are cut and pasted
r=mconnor


git-svn-id: svn://10.0.0.236/trunk@218357 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:29 +00:00
myk%mozilla.org
47eee49ea3 make the microsummary service stop loading about:blank in new hidden iframes to work around a crash when about:blank and another URI are both loading in a doc shell
bug=344305
r=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@218356 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:28 +00:00
myk%mozilla.org
aa5e431108 better workaround for problem that Live Title bookmark not listed in the main bookmark menu until Firefox is restarted
bug=348248
r=mconnor


git-svn-id: svn://10.0.0.236/trunk@218355 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:27 +00:00
myk%mozilla.org
c160e89768 changes microsummary load timeout from 10 seconds to 300 seconds (five minutes), which is long enough to handle almost every page load while still being short enough to cancel loads before they start to pile up
bug=347097
r=mconnor


git-svn-id: svn://10.0.0.236/trunk@218354 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:26 +00:00
myk%mozilla.org
e2bf3c07d4 make the microsummary update interval use a preference
bug=342044
Patch by Simon Bünzli.
r=myk


git-svn-id: svn://10.0.0.236/trunk@218353 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:25 +00:00
myk%mozilla.org
3a204e1b94 don't treat microsummary generator that goes missing as if it were a remote generator
bug=346822
r=mconnor


git-svn-id: svn://10.0.0.236/trunk@218352 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:24 +00:00
myk%mozilla.org
6592008c4e correctly detect when a microsummary page isn't HTML or XML, and explicitly don't handle multipart content (multipart/x-mixed-replace), since there's no good way to determine which part of it is the last part when downloading it via XMLHttpRequest
bug=346624
r=mconnor


git-svn-id: svn://10.0.0.236/trunk@218351 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:23 +00:00
myk%mozilla.org
c3b49e9495 after selecting microsummary for bookmark, ensure bookmark label displays something even if microsummary hasn't finished loading
Patch by Simon Bünzli.
bug=342225
r=myk


git-svn-id: svn://10.0.0.236/trunk@218350 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:22 +00:00
myk%mozilla.org
3eb1d4f3c4 cancel timeout when loading a microsummary resource on error in addition to on load
bug=346824
r=mconnor


git-svn-id: svn://10.0.0.236/trunk@218349 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:21 +00:00
myk%mozilla.org
8f161ba373 stop installed microsummary generators from being leaked at shutdown by destroying the timer property of MicrosummaryResource objects
bug=346913
r=mconnor


git-svn-id: svn://10.0.0.236/trunk@218348 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:20 +00:00
jminta%gmail.com
f2776d971b Bug 341842 microsummary service should be stricter about parsing generators, r=myk
git-svn-id: svn://10.0.0.236/trunk@218347 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:19 +00:00
myk%mozilla.org
0f4ad1df60 hide domain mismatch error dialog and HTTP authentication dialog (aborting the load instead of continuing if we reach either dialog) when updating microsummaries
bug=344277
r=mconnor


git-svn-id: svn://10.0.0.236/trunk@218346 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:18 +00:00
jminta%gmail.com
66e2173d5e backing out Bug 341842
git-svn-id: svn://10.0.0.236/trunk@218345 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:17 +00:00
jminta%gmail.com
2e3349fe47 Bug 341842 microsummary service should be stricter about parsing generators, r=myk
git-svn-id: svn://10.0.0.236/trunk@218344 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:16 +00:00
myk%mozilla.org
3cc7bc3cd8 cancel microsummary connections after a timeout
Patch by Dietrich Ayala.
bug=341840
r=myk


git-svn-id: svn://10.0.0.236/trunk@218343 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:15 +00:00
jminta%gmail.com
3ac9b00974 Bug 341837 microsummary service should impose limit on length of microsummary, r=myk
git-svn-id: svn://10.0.0.236/trunk@218342 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:14 +00:00
myk%mozilla.org
24397a3641 display link tag's title attribute on microsummary menu item while downloading generator
Patch by Justin Dolske.
bug=342231
r=myk


git-svn-id: svn://10.0.0.236/trunk@218341 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:13 +00:00
myk%mozilla.org
1c6142a78e make the microsummary service support <link> tags with rel=space-separated list of words and ignore case of "microsummary" rel value
Patch by Justin Dolske.
bug=342228
r=myk


git-svn-id: svn://10.0.0.236/trunk@218340 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:12 +00:00
myk%mozilla.org
a99e0033b8 make the microsummary service update installed generators when the user reinstalls them instead of installing a second copy
bug=342036
r=mconnor


git-svn-id: svn://10.0.0.236/trunk@218339 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:11 +00:00
myk%mozilla.org
ff0cf03c30 truncate microsummary file names to 60 characters to prevent nsIFile.createUnique from failing due to too-long names
Patch by Joey Minta.
bug=342212
r=myk


git-svn-id: svn://10.0.0.236/trunk@218338 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:10 +00:00
gavin%gavinsharp.com
10582bfc10 Bug 341340: microsummary service should identify itself when downloading pages, patch by Simon Bünzli <zeniko@gmail.com>, r=myk, sr=darin
git-svn-id: svn://10.0.0.236/trunk@218337 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:09 +00:00
martijn.martijn%gmail.com
8cabc25252 Bug 337940 - Microsummary service should allow authors to dictate update frequency, patch by Simon Bünzli, r=myk
git-svn-id: svn://10.0.0.236/trunk@218336 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:08 +00:00
myk%mozilla.org
6c8dcbe603 make the microsummary service handle text/html microsummaries by extracting their plaintext content
Patch by Simon Bünzli.
bug=344178
r=myk


git-svn-id: svn://10.0.0.236/trunk@218335 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:07 +00:00
myk%mozilla.org
8df286dfbb ignore whitespace around pages regexps
Patch by Simon Bünzli.
bug=343979
r=myk


git-svn-id: svn://10.0.0.236/trunk@218334 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:06 +00:00
myk%mozilla.org
8fb2bb3a71 make the microsummary service not dump anything to the console unless specifically directed to do so by the browser.microsummary.log preference. Patch by Adam Guthrie (ispiked). bug=343080; r=myk; sr=mconnor
git-svn-id: svn://10.0.0.236/trunk@218333 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:05 +00:00
myk%mozilla.org
8f31e8876a don't let XSLT in microsummary generators load documents
bug=342274
r=sicking


git-svn-id: svn://10.0.0.236/trunk@218332 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:04 +00:00
myk%mozilla.org
fcd7ae1886 don't recheck microsummaries when previous update failed until normal expiration
bug=342908
r=ben


git-svn-id: svn://10.0.0.236/trunk@218331 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:03 +00:00
myk%mozilla.org
272d0740fd make sure resource exists before attempting to destroy it
bug=343385
r=ben


git-svn-id: svn://10.0.0.236/trunk@218330 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:02 +00:00
myk%mozilla.org
e2369f6252 make the microsummary service parse HTML using a string input stream rather than a data URI so that huge messages don't get written to the error console when the CSS loader includes the URL in an error message
bug=342508
r=biesi
sr=mconnor


git-svn-id: svn://10.0.0.236/trunk@218329 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:01 +00:00
myk%mozilla.org
ccf0ed4302 make sure the bookmarks sidebar is open before rebuilding it
bug=342739
r=mconnor


git-svn-id: svn://10.0.0.236/trunk@218328 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:00 +00:00
myk%mozilla.org
6a09ff5151 prevent the microsummary service from triggering bookmarked files to be downloaded
bug=339543
r=biesi
r/sr=mconnor


git-svn-id: svn://10.0.0.236/trunk@218327 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:37:59 +00:00
myk%mozilla.org
997d30a4e2 factor out code for updating and refreshing microsummaries when the user selects a new one from the bookmark dialogs
bug=339296
r=mconnor


git-svn-id: svn://10.0.0.236/trunk@218326 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:37:58 +00:00
myk%mozilla.org
0db6068d27 make bookmarks stop disappearing when a user unselects a microsummary (i.e. goes back to the static page title)
patch by Simon Bünzli
bug=342463
r=myk


git-svn-id: svn://10.0.0.236/trunk@218325 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:37:57 +00:00
myk%mozilla.org
d04f9e5933 make sure we have a bookmarks toolbar before we try to rebuild it
bug 342245
patch by Simon Bünzli
r=myk


git-svn-id: svn://10.0.0.236/trunk@218324 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:37:56 +00:00
myk%mozilla.org
4249028971 fall back on the local URI if a generator has no source URI; a convenience for generator developers so they don't have to make up a fake source URI while developing their generators;
patch by Simon Bünzli
bug=342226
r=myk


git-svn-id: svn://10.0.0.236/trunk@218323 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:37:55 +00:00
myk%mozilla.org
7ebb11f3c7 display microsummaries in the bookmarks sidebar and bookmarks manager; bug=338429; r=myk; a=mconnor for 1.8.1 branch
git-svn-id: svn://10.0.0.236/trunk@218322 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:37:54 +00:00
myk%mozilla.org
0f89d5f5fe add a bookmarks context menu item for refreshing a microsummary; bug=341555; r=mconnor; a=mconnor for 1.8 branch
git-svn-id: svn://10.0.0.236/trunk@218321 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:37:53 +00:00
myk%mozilla.org
ee4e35da90 moves Firefox-specific microsummary directory definitions to nsBrowserDirectoryProvider
bug=337324
r=bsmedberg
a=mconnor for the 1.8 branch


git-svn-id: svn://10.0.0.236/trunk@218320 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:37:52 +00:00
myk%mozilla.org
7e6f5c68b2 prevent the mouse pointer from getting stuck in a busy state over chrome after updating a microsummary
bug=337038
r=mconnor
a=mconnor for 1.8 branch


git-svn-id: svn://10.0.0.236/trunk@218319 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:37:51 +00:00
myk%mozilla.org
ef26fa7a43 make sure the microsummary service doesn't attempt to load javascript: or data: URLs
bug=339377
r=mconnor
a=mconnor for 1.8 branch


git-svn-id: svn://10.0.0.236/trunk@218318 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:37:50 +00:00
myk%mozilla.org
8879047c95 Work around XUL template builder regression on trunk and possibly marginally improve performance.
bug=336857
r=enndeakin
sr=ben
a=mconnor for checkin to 1.8 branch


git-svn-id: svn://10.0.0.236/trunk@218317 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:37:49 +00:00
myk%mozilla.org
55b0358fe4 make the microsummary service prefer cached generators to downloading generators over the network
bug=337113
r=brettw
sr=ben


git-svn-id: svn://10.0.0.236/trunk@218316 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:37:48 +00:00
myk%mozilla.org
443622677b possible fix for microsummaries Ts regression
bug=336833
r=mconnor


git-svn-id: svn://10.0.0.236/trunk@218315 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:37:47 +00:00
bzbarsky%mit.edu
a88bea81fc Observe shutdown too. Bug 336922 followup, r=mconnor, sr=darin, branch181=mconnor
git-svn-id: svn://10.0.0.236/trunk@218314 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:37:46 +00:00
myk%mozilla.org
9d29a3fbd5 stop leaking the annotation service in the microsummary service; possible fix for balsa leak regression
bug=336922
r=bz


git-svn-id: svn://10.0.0.236/trunk@218313 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:37:45 +00:00
myk%mozilla.org
7792270e9d Initial support for microsummaries via a service and integration into the bookmarks UI.
bug=334471
r=brettw
a=ben for the branch


git-svn-id: svn://10.0.0.236/trunk@218312 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:37:44 +00:00
sspitzer%mozilla.org
8412607c42 fix for bug #356487
make MOZ_PLACES (if enabled) only build the places based history UI, use MOZ_PLACES_BOOKMARKS to turn off the places based bookmarks UI.

also addresses bugs:

bug #330923:  "View -> Sidebar menu" is empty if you build with places
bug #355738:  implement history sidebar on top of places backend
bug #356175:  hook up the history menu to the places backend
bug #356453:  add back "Clear Private Data" menu item
bug #356630:  add back "History | Show in Sidebar" menu item
bug #356631:  remove "search in history" and "view all history" menu items
bug #357301:  add back history and bookmark sidebar toolbar button items, remove places toolbar button
bug #358831:  history sidebar, right mouse button click should not expand / collapse item

r=dietrich, r=gavin


git-svn-id: svn://10.0.0.236/trunk@214697 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-04 04:48:06 +00:00