125 Commits

Author SHA1 Message Date
mozilla.mano%sent.com
63dee0750e Bug 379211 - Use item IDs for annotating bookmark/folder items rather than place: URIs. r=dietrich.
git-svn-id: svn://10.0.0.236/trunk@226239 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-10 08:05:22 +00:00
myk%mozilla.org
b9b82ddf81 Bug 368252: notify observers when a microsummary gets updated
r=sspitzer
sr=mconnor


git-svn-id: svn://10.0.0.236/trunk@226037 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-07 10:52:55 +00:00
mozilla.mano%sent.com
2cfd892611 Bug 373502 - Implement Fx2 style microsummary picker in the properties dialog. r=dietrich.
git-svn-id: svn://10.0.0.236/trunk@226036 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-07 10:52:54 +00:00
myk%mozilla.org
9554a02d69 bug 368272: notify observers when microsummary generators are installed or updated to improve the API for extensions that add generator-related functionality (like Microsummary Manager)
Patch by Ryan Flint.
r=myk


git-svn-id: svn://10.0.0.236/trunk@226035 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-07 10:52:53 +00:00
myk%mozilla.org
44aa5f9c4b 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@226034 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-07 10:52:52 +00:00
myk%mozilla.org
069d8d855b 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@226033 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-07 10:52:51 +00:00
martijn.martijn%gmail.com
29d9d17825 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@226032 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-07 10:52:50 +00:00
myk%mozilla.org
3f87f1f0b4 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@226031 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-07 10:52:49 +00:00
myk%mozilla.org
b97aeb8e5d 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@226030 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-07 10:52:48 +00:00
sspitzer%mozilla.org
8ac7497294 fix for bug #378921: unable to bookmark a microsummarized URI.
r=mano


git-svn-id: svn://10.0.0.236/trunk@225417 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 22:30:24 +00:00
myk%mozilla.org
3d0d7188ae Bug 368252: notify observers when a microsummary gets updated
r=sspitzer
sr=mconnor


git-svn-id: svn://10.0.0.236/trunk@225191 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-27 20:37:52 +00:00
myk%mozilla.org
f871120e5a bug 376919: add a hidden pref to disable microsummaries
Patch by Ryan Flint.
r=myk


git-svn-id: svn://10.0.0.236/trunk@225189 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-27 20:32:23 +00:00
mozilla.mano%sent.com
4e9ba1ddf2 Bug 373502 - Implement Fx2 style microsummary picker in the properties dialog. r=dietrich.
git-svn-id: svn://10.0.0.236/trunk@222212 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-22 23:13:57 +00:00
mozilla.mano%sent.com
6940f9e440 Bug 370215 - update microsummaries to use unique place: uris for Places bookmarks. r=myk/dietrich.
git-svn-id: svn://10.0.0.236/trunk@221842 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-13 22:35:52 +00:00
philringnalda%gmail.com
bbe11440ed Bug 371402: _saveGeneratorXML() should create a file if the one passed to it does not already exist, patch by Ryan Flint <ryan@ryanflint.com>, r=myk
git-svn-id: svn://10.0.0.236/trunk@221064 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-28 04:41:16 +00:00
philringnalda%gmail.com
92d0ba5fa4 Bug 368272: Notify observers upon generator installation, patch by Ryan Flint <ryan@ryanflint.com>, r=myk
git-svn-id: svn://10.0.0.236/trunk@221062 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-28 04:33:49 +00:00
myk%mozilla.org
48ed798198 fixing build bustage caused by earlier checkin for bug 347310
git-svn-id: svn://10.0.0.236/trunk@220687 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 02:09:07 +00:00
myk%mozilla.org
a2902ae941 bug 347310: makes MicrosummaryResource implement nsIPrompt on its notification callback to suppress extraneous errors on the Error Console when the microsummary resource updates microsummaries
r=biesi


git-svn-id: svn://10.0.0.236/trunk@220683 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 01:26:29 +00:00
myk%mozilla.org
28e530b65b bug 368272: notify observers when microsummary generators are installed or updated to improve the API for extensions that add generator-related functionality (like Microsummary Manager)
Patch by Ryan Flint.
r=myk


git-svn-id: svn://10.0.0.236/trunk@220163 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-15 02:13:12 +00:00
myk%mozilla.org
7daf209fc3 bug 354449: remove file that is no longer necessary now that it's been copied to nsMicrosummaryService.js on the CVS server; r=gavin on IRC
git-svn-id: svn://10.0.0.236/trunk@218537 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 20:52:51 +00:00
sayrer%gmail.com
fb5a8aadc5 bug 354449. Fix some bustage. nsMicrosummaryService.js not regenerated when enabling/disabling Places. Patch by Daniel Brooks <db48x@yahoo.com>. r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@218364 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 06:17:51 +00:00
sspitzer%mozilla.org
fcd05eb981 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@218363 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:35 +00:00
myk%mozilla.org
77e29b5b42 bug 348928: a better workaround for this bug that doesn't make all bookmark UI rebuild from scratch each time a microsummary gets updated; they still rebuild from scratch when microsummaries are added or removed; besides the performance win, this is a usability win, as rebuilds cause users in the middle of selecting bookmarks from bookmark trees to lose their selections;
r=mconnor
a=schrep


git-svn-id: svn://10.0.0.236/trunk@218362 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:34 +00:00
myk%mozilla.org
61392019ab bug 345016: correctly generate microsummary for page with non-UTF-8 charset specified via meta tags or other mechanisms not detectable by XMLHttpRequest
r=bzbarsky
sr=mconnor


git-svn-id: svn://10.0.0.236/trunk@218361 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 05:38:33 +00:00
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