49 Commits

Author SHA1 Message Date
myk%mozilla.org
8d9c2f4fee 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@209811 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-12 01:12:39 +00:00
myk%mozilla.org
1d982ba2cc 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@209810 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-12 01:08:44 +00:00
cbiesinger%web.de
50b5a1abdb 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@208549 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-26 21:42:54 +00:00
myk%mozilla.org
90c982b4f5 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@208360 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-24 22:30:07 +00:00
myk%mozilla.org
6ab551dd99 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@208080 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-22 01:15:44 +00:00
myk%mozilla.org
ccafa01e55 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@207705 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-17 07:38:10 +00:00
myk%mozilla.org
910bfc7ec1 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@207512 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 23:57:17 +00:00
myk%mozilla.org
5a01077792 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@207485 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 19:39:28 +00:00
myk%mozilla.org
067537f340 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@207117 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-11 00:18:39 +00:00
myk%mozilla.org
b9742d4ad6 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@207016 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-09 22:50:28 +00:00
myk%mozilla.org
01e85b90c3 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@206559 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-04 13:26:36 +00:00
myk%mozilla.org
f756dfad2e 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@206414 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-02 17:59:28 +00:00
myk%mozilla.org
18dd558ca4 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@206411 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-02 17:40:36 +00:00
jminta%gmail.com
945f28a79c Bug 341842 microsummary service should be stricter about parsing generators, r=myk
git-svn-id: svn://10.0.0.236/trunk@206235 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-31 23:20:14 +00:00
myk%mozilla.org
9fa38712f3 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@206230 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-31 22:48:43 +00:00
jminta%gmail.com
777df2dade backing out Bug 341842
git-svn-id: svn://10.0.0.236/trunk@206219 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-31 22:06:09 +00:00
jminta%gmail.com
a829276aae Bug 341842 microsummary service should be stricter about parsing generators, r=myk
git-svn-id: svn://10.0.0.236/trunk@206217 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-31 22:03:15 +00:00
myk%mozilla.org
b793aac162 cancel microsummary connections after a timeout
Patch by Dietrich Ayala.
bug=341840
r=myk


git-svn-id: svn://10.0.0.236/trunk@206212 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-31 21:31:14 +00:00
jminta%gmail.com
bea24ef4ea Bug 341837 microsummary service should impose limit on length of microsummary, r=myk
git-svn-id: svn://10.0.0.236/trunk@203515 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-24 18:01:04 +00:00
myk%mozilla.org
1c19297e32 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@203395 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-21 21:49:44 +00:00
myk%mozilla.org
478bf53e90 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@203316 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-21 00:12:26 +00:00
myk%mozilla.org
f5fa3e73ea 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@203295 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-20 22:29:46 +00:00
myk%mozilla.org
535646bfbb 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@203236 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-20 08:52:31 +00:00
gavin%gavinsharp.com
f254edbf72 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@203109 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 13:43:26 +00:00
martijn.martijn%gmail.com
26f76b5fce 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@203094 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 12:38:11 +00:00
myk%mozilla.org
56bb4c81a5 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@203025 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 20:57:59 +00:00
myk%mozilla.org
ada0f9c487 ignore whitespace around pages regexps
Patch by Simon Bünzli.
bug=343979
r=myk


git-svn-id: svn://10.0.0.236/trunk@203024 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 20:55:42 +00:00
myk%mozilla.org
242aa324fe 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@203003 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 18:47:25 +00:00
myk%mozilla.org
8b953c02ef don't let XSLT in microsummary generators load documents
bug=342274
r=sicking


git-svn-id: svn://10.0.0.236/trunk@201639 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-06 01:41:26 +00:00
myk%mozilla.org
c382c9a8fd don't recheck microsummaries when previous update failed until normal expiration
bug=342908
r=ben


git-svn-id: svn://10.0.0.236/trunk@201589 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-05 20:23:57 +00:00
myk%mozilla.org
75771e1442 make sure resource exists before attempting to destroy it
bug=343385
r=ben


git-svn-id: svn://10.0.0.236/trunk@201555 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-05 16:49:17 +00:00
myk%mozilla.org
5adf48fd46 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@201516 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-04 07:19:24 +00:00
myk%mozilla.org
493ca427cb make sure the bookmarks sidebar is open before rebuilding it
bug=342739
r=mconnor


git-svn-id: svn://10.0.0.236/trunk@201490 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-03 16:54:04 +00:00
myk%mozilla.org
817690b3d8 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@201272 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-29 20:17:37 +00:00
myk%mozilla.org
92d86e208a 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@200887 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-26 18:14:51 +00:00
myk%mozilla.org
45f51631c7 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@200673 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-23 06:04:46 +00:00
myk%mozilla.org
4b39348fee 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@200601 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 17:10:13 +00:00
myk%mozilla.org
dc819f8178 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@200577 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 11:18:23 +00:00
myk%mozilla.org
618709ebea 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@200571 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 06:26:39 +00:00
myk%mozilla.org
42e259abec 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@200370 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-19 23:16:27 +00:00
myk%mozilla.org
bea1c4ae97 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@199737 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-12 18:58:37 +00:00
myk%mozilla.org
3860007cf5 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@199734 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-12 18:50:46 +00:00
myk%mozilla.org
11d7bfc46b 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@198669 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-30 20:07:16 +00:00
myk%mozilla.org
35b16d7a9a 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@198184 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-22 19:25:20 +00:00
myk%mozilla.org
1db38200b1 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@196485 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-14 18:52:35 +00:00
myk%mozilla.org
79aa27fc44 possible fix for microsummaries Ts regression
bug=336833
r=mconnor


git-svn-id: svn://10.0.0.236/trunk@196247 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 02:22:32 +00:00
bzbarsky%mit.edu
c6e0b5b679 Observe shutdown too. Bug 336922 followup, r=mconnor, sr=darin, branch181=mconnor
git-svn-id: svn://10.0.0.236/trunk@196151 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-08 05:35:27 +00:00
myk%mozilla.org
06f8bb4166 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@196147 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-08 01:50:38 +00:00
myk%mozilla.org
e3fb608fb9 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@196058 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 22:46:57 +00:00