Compare commits

..

2003 Commits

Author SHA1 Message Date
romaxa%gmail.com
191fdbfdd2 Fixed undefined variable
git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@222265 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-23 15:54:04 +00:00
timeless%mozdev.org
58550f8325 Fixing whitespace. Adding OOM annotations. Adding Mismatched allocator annotations. Picking nsresult rv over random variations. Updating annotation consumers (some problems have been fixed or are almost fixed :)
git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@222262 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-23 15:32:43 +00:00
romaxa%gmail.com
818674e8f4 Fixed Bug:373918 gtk_moz_embed_get_nsIWebBrowser not in the glue
git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@222256 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-23 10:28:50 +00:00
romaxa%gmail.com
0de16af262 Changes in code style for Download manager
git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@222255 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-23 10:26:13 +00:00
romaxa%gmail.com
c388a26bb8 Changes in code style, removed some wrong comments
git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@222254 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-23 10:23:45 +00:00
romaxa%gmail.com
a142b8a593 Fixed scrolling initialization after form element focus
git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@222253 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-23 10:21:50 +00:00
romaxa%gmail.com
c93d103cb4 Workaround for fixing crash when this==0x0
Removed not used conditions, fixed codestyle


git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@222252 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-23 10:20:38 +00:00
romaxa%gmail.com
71185ab3b5 Fixed broken loading of new URL's after scrolling iteractions
git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@221626 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-09 21:03:25 +00:00
romaxa%gmail.com
f6058c040f Removed very strange and useless functionality
git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@221623 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-09 20:11:37 +00:00
romaxa%gmail.com
5404582f1f Fixed memory leaks, that appears after FROZEN API migration
git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@221435 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-07 07:47:00 +00:00
romaxa%gmail.com
4bc2c86dd4 Fixed unresolved symbol error
Removed some strange functionality from FilePicker interface
Removed some wrong and not required deines


git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@221434 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-07 07:45:50 +00:00
romaxa%gmail.com
a1d63aca34 Removed gnomevfs support from history
Fixed some performance, stability issues p=Andre.Pedralho
Changed HistoryEntry to class type


git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@221433 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-07 07:42:53 +00:00
romaxa%gmail.com
58940b7c4b Support for RSS header links, and RSS/XSLT content added
git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@221430 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-07 07:37:24 +00:00
romaxa%gmail.com
a998c154a3 Fixed broken functionality with RichEdit Input
git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@220984 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-27 10:49:45 +00:00
romaxa%gmail.com
c5ab05261a Added interface which allow to extract context (Frame) specific certificate
git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@220810 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-23 11:34:06 +00:00
romaxa%gmail.com
ef42dcf450 Prepared Makefile and defines for dynamic building in LIBXUL_ENABLED configuration
git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@220742 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 17:05:30 +00:00
romaxa%gmail.com
73f60c4882 Implemented get frame title functionality
git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@220737 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 15:39:20 +00:00
romaxa%gmail.com
54de9db920 Get current page certificate functionality
git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@220735 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 15:15:26 +00:00
romaxa%gmail.com
500352ff52 Implementation of Session history(back/forward history).
Added new APIs to navigate to the session history item at a given index.


git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@220734 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 15:07:55 +00:00
romaxa%gmail.com
bd75ec0488 Fixed crash on exit (history write functionality)
git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@220732 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 14:11:33 +00:00
romaxa%gmail.com
bfa08d44ad Added comment about MOZ_GTKEMBED_DYN define
git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@220730 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 13:33:03 +00:00
romaxa%gmail.com
044972f861 Wrong removed LIBXUL_LIBRARY and FORCE_STATIC_LIB moved back
git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@220729 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 13:31:56 +00:00
romaxa%gmail.com
b430245e43 Disabled detection NS_FIELDSET as form control element
with `CVS:' are removed automatically CVS: CVS: Committing in . CVS: CVS: Modified Files: CVS: Tag:
MICROB_20070103_BRANCH CVS: EmbedContextMenuInfo.cpp CVS:
----------------------------------------------------------------------


git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@220727 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 13:13:13 +00:00
romaxa%gmail.com
e9b93373ea Stop using non-frozen API
Fixed building GTKMOZEMBED dynamicaly when MOZ_LIBXUL enabled


git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@220725 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 12:17:57 +00:00
romaxa%gmail.com
02044afbcc Fix for retrieving Context Menu from XML content
Added using OrigNode, when something wrong with EventNode ;)


git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@220724 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 12:15:45 +00:00
romaxa%gmail.com
07ac1aea21 Trunk Merge,
Bug 363067, Add nsPIDOMEventTarget and kill nsIChromeEventHandler, r=jst, sr=sicking


git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@220723 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 12:15:06 +00:00
romaxa%gmail.com
ab8c5962bf Fixed broken Favicon functionality
git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@220722 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 12:14:13 +00:00
romaxa%gmail.com
be4ab5b5fa Fixed scrolling of window to selected element
Improved resize functionality


git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@220721 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 12:13:33 +00:00
romaxa%gmail.com
556573f711 Trunk Merge,
Fixing bustage, Bug 83265, r=peterv


git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@220720 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 12:12:46 +00:00
romaxa%gmail.com
13b4df11d8 Wrong using indexes for plugins and mimetypes,
fixed crashes in different combinations of plugins


git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@220719 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 12:11:17 +00:00
romaxa%gmail.com
a92174965e Fixed notification about completed search on page
Fixed wrong define in getmime function


git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@220718 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 12:09:59 +00:00
romaxa%gmail.com
8e6e3683e8 Fixed broken download manager functionality
Downloaded file very small and corrupted
File still opened after downloading finished


git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@220717 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 12:08:55 +00:00
romaxa%gmail.com
afa2a30162 Fixed broken onblur signal handling
Moving focus by tab


git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@220716 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 12:07:16 +00:00
romaxa%gmail.com
155ce3c0e6 Trunk Bustage merge fix, according bug 78081
git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@220715 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 12:03:10 +00:00
romaxa%gmail.com
2136462646 Disabled const pointers in mozplugin structure (compiler warnings)
Fixed Visibility of MozEmbed widget. (Probably hack and should be fixed somewhere in mozilla/widget)


git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@218368 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 13:11:19 +00:00
romaxa%gmail.com
d75e277830 Added gtk_moz_embed_common_observe in GTKMOZEMBED2_FUNCTIONS list
git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@217913 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-07 09:35:09 +00:00
romaxa%gmail.com
9a6abdfbc0 Added missed includes
git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@217862 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-05 22:28:47 +00:00
romaxa%gmail.com
1d9ab8afb2 Fixed indentation
git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@217859 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-05 22:23:25 +00:00
romaxa%gmail.com
3cd80844a1 Fixed focus on window realize, help for window watcher
git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@217858 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-05 22:22:57 +00:00
romaxa%gmail.com
008a20db55 Fixed wrong implementation
git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@217857 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-05 22:21:53 +00:00
romaxa%gmail.com
752f773282 Bustage fix, invalid conversion from const void* to void*
git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@217680 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-03 09:58:10 +00:00
(no author)
2c7a34adf1 This commit was manufactured by cvs2svn to create branch
'MICROB_20070103_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/MICROB_20070103_BRANCH@217662 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-03 00:14:11 +00:00
timeless%mozdev.org
befa2df488 GetImageRequest is only available for gtk2 builds
trying to fix build bustage


git-svn-id: svn://10.0.0.236/trunk@217660 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-03 00:14:09 +00:00
timeless%mozdev.org
863ecdf17b Bug 321326 code execution in webtools/leak-o-matic/logs.cgi
Upping required perl version to 5.6
r=bear


git-svn-id: svn://10.0.0.236/trunk@217659 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 22:54:24 +00:00
despotdaemon
a88f1758bb Pseudo-automatic update of changes made by inonit@inonit.com.
git-svn-id: svn://10.0.0.236/trunk@217658 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 22:37:32 +00:00
timeless%mozdev.org
733ac809e7 Landing MICROB_20061206_BRANCH
This should improve the gnomevfs story (the goal is to not use it).
Patches Wanted, Work will be on the MICROB_20070103_BRANCH


git-svn-id: svn://10.0.0.236/trunk@217657 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 22:23:53 +00:00
reed%reedloden.com
290ba7ae89 Bug 365684 - "Unable to see add user UI in Despot" [p=reed r=justdave]
git-svn-id: svn://10.0.0.236/trunk@217652 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 21:52:25 +00:00
despotdaemon
ca9ade4644 Pseudo-automatic update of changes made by justdave@bugzilla.org.
git-svn-id: svn://10.0.0.236/trunk@217649 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 21:47:43 +00:00
brendan%mozilla.org
5e96b76b5d Partial fix from me (239721, r=gavin) and the real fix from Gavin Reaney <gavin@picsel.com> (364836, r=me).
git-svn-id: svn://10.0.0.236/trunk@217639 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 20:57:03 +00:00
pkasting%google.com
9ed81669fd Bug 364831: Fix Firefox build w/Vista SDK.
Patch by craig.hawko@gmail.com
r=neil


git-svn-id: svn://10.0.0.236/trunk@217637 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 20:33:23 +00:00
despotdaemon
0be8f41da6 Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@217635 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 20:18:32 +00:00
despotdaemon
33dc49ff6c Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@217634 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 20:13:21 +00:00
despotdaemon
c277c60877 Pseudo-automatic update of changes made by reed@reedloden.com.
git-svn-id: svn://10.0.0.236/trunk@217633 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 20:12:48 +00:00
despotdaemon
33477ff342 Pseudo-automatic update of changes made by reed@reedloden.com.
git-svn-id: svn://10.0.0.236/trunk@217632 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 20:11:45 +00:00
despotdaemon
2b3e41d41b Pseudo-automatic update of changes made by reed@reedloden.com.
git-svn-id: svn://10.0.0.236/trunk@217631 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 20:11:12 +00:00
despotdaemon
7cc5ab4f54 Pseudo-automatic update of changes made by reed@reedloden.com.
git-svn-id: svn://10.0.0.236/trunk@217630 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 20:10:04 +00:00
despotdaemon
3cc36473fc Pseudo-automatic update of changes made by reed@reedloden.com.
git-svn-id: svn://10.0.0.236/trunk@217629 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 20:08:08 +00:00
despotdaemon
104444c687 Pseudo-automatic update of changes made by reed@reedloden.com.
git-svn-id: svn://10.0.0.236/trunk@217628 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 20:07:17 +00:00
despotdaemon
0380aad878 Pseudo-automatic update of changes made by reed@reedloden.com.
git-svn-id: svn://10.0.0.236/trunk@217627 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 20:06:46 +00:00
despotdaemon
69b02f98b1 Pseudo-automatic update of changes made by reed@reedloden.com.
git-svn-id: svn://10.0.0.236/trunk@217626 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 20:05:07 +00:00
despotdaemon
9c62ef6aae Pseudo-automatic update of changes made by reed@reedloden.com.
git-svn-id: svn://10.0.0.236/trunk@217624 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 20:00:43 +00:00
despotdaemon
3333af9d8f Pseudo-automatic update of changes made by reed@reedloden.com.
git-svn-id: svn://10.0.0.236/trunk@217623 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 19:56:06 +00:00
despotdaemon
fd2ee3af5e Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@217620 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 19:42:01 +00:00
wclouser%mozilla.com
5d7aab8c53 - Fixed a bug where plain text is echoed in a select list
- A new version of plotkit came out, and that is integrated here
- Fixed bug 354391
- Added MPL/GPL/LGPL to all files


git-svn-id: svn://10.0.0.236/trunk@217618 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 19:39:47 +00:00
Olli.Pettay%helsinki.fi
5473831527 Bug 353021, better assertions
git-svn-id: svn://10.0.0.236/trunk@217616 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 19:21:38 +00:00
despotdaemon
f0d94e7ccb Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@217615 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 18:53:15 +00:00
Olli.Pettay%helsinki.fi
511e0e4867 Bug 353021, crashes [@ PL_DHashTableOperate] removing from nsDOMClassInfo's sExternallyReferencedTable, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217614 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 18:51:42 +00:00
bugzilla%standard8.demon.co.uk
e614fbaf43 Bug 365576 Update SeaMonkey's copyright strings to 2007 (main strings) r=KaiRo,sr=Neil
git-svn-id: svn://10.0.0.236/trunk@217611 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 17:51:16 +00:00
reed%reedloden.com
99ac1271c2 Bug 339471 - [p=reed/LpSolit r=bear]
git-svn-id: svn://10.0.0.236/trunk@217610 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 17:38:33 +00:00
reed%reedloden.com
23e3a7c011 Bug 325316 - [p=reed r=bear]
git-svn-id: svn://10.0.0.236/trunk@217609 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 17:32:56 +00:00
justdave%bugzilla.org
29455dc152 Bug 365619: Remove lloydcgi.pl, there's nothing left that uses it.
r=reed


git-svn-id: svn://10.0.0.236/trunk@217608 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 17:31:17 +00:00
mattwillis%gmail.com
33c8a3805c bug 365545 - Fix javascript strict warnings. sr=bienvenu, aTb2=mscott
git-svn-id: svn://10.0.0.236/trunk@217607 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 17:29:17 +00:00
justdave%bugzilla.org
e977825211 Bug 276985: Fix XSS vulnerability in who.cgi. Wound up rewriting the whole thing from scratch as a Template Toolkit template, to make it easier to keep track of what's been escaped and what hasn't. This is a wholesale replacement.
r=bear


git-svn-id: svn://10.0.0.236/trunk@217606 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 17:29:03 +00:00
justdave%bugzilla.org
ea35d634be Bug 280464: Fix XSS vulnerability in file.cgi. Wound up rewriting the whole thing from scratch as a Template Toolkit template, to make it easier to keep track of what's been escaped and what hasn't. This is a wholesale replacement.
r=bear


git-svn-id: svn://10.0.0.236/trunk@217605 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 17:28:06 +00:00
justdave%bugzilla.org
a2ba25ddf6 Bug 365474: Fix "Use of implicit split to @_ is deprecated" warning
r=bear


git-svn-id: svn://10.0.0.236/trunk@217604 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 17:15:55 +00:00
justdave%bugzilla.org
190de78b0d Bug 365469: restore create-guided's ability to auto-insert the User-Agent in the build ID field.
r=gerv, a=justdave


git-svn-id: svn://10.0.0.236/trunk@217603 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 17:06:32 +00:00
ajschult%verizon.net
d7e63cffad Bug 362625: Stop pulling individual files to make fast-update happy. r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@217602 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 16:47:08 +00:00
benjamin%smedbergs.us
ebd8d6b93e Bug 364754 - ActiveX control doesn't build with MSVC8 Express, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@217601 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 15:24:08 +00:00
thomas.benisch%sun.com
ca3f655c02 removed patch for bug #350323 add selected calendar to composite calendar
git-svn-id: svn://10.0.0.236/trunk@217600 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 15:10:11 +00:00
longsonr%gmail.com
483340788b Bug 362068 - crash in _moz_cairo_win32_scaled_font_select_font. r=jwatt, sr=roc
git-svn-id: svn://10.0.0.236/trunk@217599 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 13:15:06 +00:00
edburns%acm.org
acfdb6daf6 fix makefiles, remove external dom
git-svn-id: svn://10.0.0.236/trunk@217594 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 03:11:23 +00:00
mozilla.mano%sent.com
df7df362e0 Bug 365570 - FeedWriter doesn't work with handlers with chrome:// URI (throws exception when downloading favicon). r=gavin.
git-svn-id: svn://10.0.0.236/trunk@217593 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 00:33:43 +00:00
mozilla.mano%sent.com
aee7f8b6a9 Bug 365539 - Don't list History and Subscriptions queries in Places Organizer's left pane. r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@217592 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 00:30:27 +00:00
mozilla.mano%sent.com
a131392aea Bug 365528 - Places Organizer Toolbar. r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@217591 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 00:26:35 +00:00
mozilla.mano%sent.com
440751c135 Bug 364643 - placesCmd_rename is not implemented. r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@217590 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 00:17:41 +00:00
reed%reedloden.com
e224e8fc55 Bug 274833 - [p=reed r=timeless]
git-svn-id: svn://10.0.0.236/trunk@217589 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-01 19:53:33 +00:00
edburns%acm.org
a50a2627e3 M build.xml
- don't extract dom2.jar.  It's in the JDK now.

M classes/org/mozilla/dom/AttrImpl.java
M classes/org/mozilla/dom/DOMImplementationImpl.java
M classes/org/mozilla/dom/DocumentImpl.java
M classes/org/mozilla/dom/ElementImpl.java
M classes/org/mozilla/dom/EntityImpl.java
M classes/org/mozilla/dom/NodeImpl.java
M classes/org/mozilla/dom/TextImpl.java

- conform to dom in JDK 1.6 (Dom level 3)


git-svn-id: svn://10.0.0.236/trunk@217588 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-01 18:29:49 +00:00
bmlk%gmx.de
9ddb3480ae Zerorowspans are expanded during cellmap entry creation. There is no need to adapt the rowspan value later, bug 364318 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@217587 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-01 18:18:53 +00:00
mats.palmgren%bredband.net
76ca4d6f76 Print Preview crash when accessing print engine data before it's fully created. b=365003 r=sharparrow1 sr=roc
git-svn-id: svn://10.0.0.236/trunk@217586 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-01 10:53:11 +00:00
philringnalda%gmail.com
81b401f289 Bug 365553: Update browser/toolkit copyright dates to 2007, r=gavin
git-svn-id: svn://10.0.0.236/trunk@217585 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-01 04:33:27 +00:00
igor.bukanov%gmail.com
1a88a7954b Bug 363530: cleaning up arguments bytecode implementation. r=brendan
git-svn-id: svn://10.0.0.236/trunk@217584 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-01 03:03:16 +00:00
mattwillis%gmail.com
7abc6d6e30 bug 360479 - Removes obsolete methods. Patch by <gekacheka@yahoo.com> r1=lilmatt, r2=jminta
git-svn-id: svn://10.0.0.236/trunk@217583 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-01 01:23:25 +00:00
cst%yecc.com
0775934008 Bug 351881 nsIPrompt needs nsIPromptService::STD_YES_NO_BUTTONS
r=biesi sr=darin


git-svn-id: svn://10.0.0.236/trunk@217582 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-31 19:23:50 +00:00
philringnalda%gmail.com
52ba5a1981 Bug 365437: browser/ dependency in help.css, r=mano
git-svn-id: svn://10.0.0.236/trunk@217581 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-31 18:36:44 +00:00
mozilla.mano%sent.com
b1df0632ce Bug 365439 - Delete keyboard shortcuts are not working places organizer. Bug 333924 - [Mac] No Window menu in Places Organizer. r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@217580 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-31 17:43:46 +00:00
mats.palmgren%bredband.net
159c9722a0 Crash [@ nsPrintEngine::PrintPreview] when trying to print preview a display:none iframe. b=365004 r=sharparrow1 sr=roc
git-svn-id: svn://10.0.0.236/trunk@217579 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-31 08:13:56 +00:00
philringnalda%gmail.com
1319dcf0ea Bug 323455: chrome override URIs not resolved, p=chpe@gnome.org, r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@217578 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-31 03:20:27 +00:00
lpsolit%gmail.com
b4b46f81f2 Bug 248037: Link from attachment 'created' date to comment where it was created - Patch by Frédéric Buclin <LpSolit@gmail.com> r=timeless a=justdave
git-svn-id: svn://10.0.0.236/trunk@217577 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-31 00:45:07 +00:00
cltbld
7cc58d0502 Automated update from host egg.build.mozilla.org
git-svn-id: svn://10.0.0.236/trunk@217576 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-31 00:41:03 +00:00
timeless%mozdev.org
fd01c459c8 sroaming breaks firefox w/ extensions=all
there was an a=benb
this will be removed when bug 249343 is fixed


git-svn-id: svn://10.0.0.236/trunk@217575 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-31 00:38:09 +00:00
mnyromyr%tprac.de
85a2f7e997 Bug 146075: always set a default priority value; r/sr=neil
git-svn-id: svn://10.0.0.236/trunk@217572 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-30 22:11:43 +00:00
neil%parkwaycc.co.uk
96456f1aca Mac's <wizard> buttons should be Go Back, Continue, Done b=360908 p=sugar.waffle@gmail.com (Hiro) r+sr=me
git-svn-id: svn://10.0.0.236/trunk@217571 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-30 21:04:38 +00:00
bryner%brianryner.com
0222dfe04d Missing part of checkin for bug 347686 to add the autocomplete collector. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@217570 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-30 20:59:22 +00:00
neil%parkwaycc.co.uk
d3e9e234ee Mac's <wizard> buttons should be Go Back, Continue, Done b=360908 p=sugar.waffle@gmail.com (Hiro) r+sr=me
git-svn-id: svn://10.0.0.236/trunk@217569 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-30 20:34:15 +00:00
lpsolit%gmail.com
9ee874607f Bug 365407: Reorder tabs in userprefs.cgi - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=justdave
git-svn-id: svn://10.0.0.236/trunk@217568 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-30 19:53:52 +00:00
enndeakin%sympatico.ca
2b9c1bf7dc Bug 365234, scrolled items in listbox are invisible, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@217566 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-30 17:18:15 +00:00
gijskruitbosch%gmail.com
42b91b1da9 Bug 364900 - topcrash [@ nsXULDocument::ResumeWalk], starting with 2006122304 build
p=asqueella@gmail.com (Nickolay Ponomarev)
r+sr=bzbarsky@mit.edu (Boris Zbarsky)


git-svn-id: svn://10.0.0.236/trunk@217565 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-30 11:10:24 +00:00
mozilla.mano%sent.com
3748ccac60 Bug 364397 - Bookmarks under the chevron menu do nothing when activated (--enable-places-bookmarks only). r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@217564 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-30 10:26:23 +00:00
bugzilla%standard8.demon.co.uk
6cb893d746 Bug 362186 entries from ldap address book not displayed (offline) - you can only search. p=James Andrewartha (trs80@tartarus.uwa.edu.au),r=me,sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@217561 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-30 09:01:28 +00:00
bzbarsky%mit.edu
037b31603b Use the right percentage base for figuring out text-indent when drawing the
text-decoration.  Bug 364862, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@217560 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-30 05:56:25 +00:00
bzbarsky%mit.edu
50334acdc0 Be consistent about what percentage border-radius is a percentage of. Bug
364861, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@217559 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-30 05:23:51 +00:00
bzbarsky%mit.edu
a9c6606754 Make computed style not have to worry about null style structs. Bug 364821, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@217558 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-30 05:17:59 +00:00
reed%reedloden.com
d07c878ca8 Bug 258059 - (change die to &fatal) [p=reed]
git-svn-id: svn://10.0.0.236/trunk@217557 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-30 02:53:48 +00:00
reed%reedloden.com
96d84f11ee Bug 258059 - [p=justdave]
git-svn-id: svn://10.0.0.236/trunk@217556 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-30 02:42:27 +00:00
lpsolit%gmail.com
5a090371ab Bug 365352: Lists of bugs (a.k.a tags) may be overwritten or deleted when tagging a new bug - Patch by Frédéric Buclin <LpSolit@gmail.com> r=bkor a=justdave
git-svn-id: svn://10.0.0.236/trunk@217555 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-30 02:02:00 +00:00
lpsolit%gmail.com
5b26ba18fa Bug 365241: Changing the context of a patch fails - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
git-svn-id: svn://10.0.0.236/trunk@217554 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-30 01:58:28 +00:00
mkanat%bugzilla.org
fe1ce88121 Bug 365293: [mod_perl] click OR, AND or ADD... button in bool charts initiates search
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=justdave, a=justdave


git-svn-id: svn://10.0.0.236/trunk@217553 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-30 00:45:07 +00:00
lpsolit%gmail.com
153b84b4a4 Bug 365376: query.cgi: Use of uninitialized value at line 178 - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=justdave
git-svn-id: svn://10.0.0.236/trunk@217552 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-29 23:41:34 +00:00
olav%bkor.dhs.org
764c01e571 Bug 365374: The newchangedmail template calls field-descs when it only needs variables.none.tmpl (perf problem)
Patch By Olav Vitters <olav@bkor.dhs.org> r=mkanat, a=justdave


git-svn-id: svn://10.0.0.236/trunk@217551 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-29 23:23:35 +00:00
mkanat%bugzilla.org
57eff4620f Bug 364637: contrib/bzdbcopy.pl: Can't locate object method "params" via package "Bugzilla" at Bugzilla/DB/Mysql.pm line 65
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave


git-svn-id: svn://10.0.0.236/trunk@217550 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-29 23:17:53 +00:00
mkanat%bugzilla.org
2e27cf28d8 Bug 363371: It is hard to determine which row has a failed encoding, with recode.pl --guess
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=justdave, a=justdave


git-svn-id: svn://10.0.0.236/trunk@217549 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-29 23:16:22 +00:00
lpsolit%gmail.com
c1e595e7c1 Bug 346121: Creating an attachment upon new bug doesn't create attachment link in comment #0 - Patch by Frédéric Buclin <LpSolit@gmail.com> r=bkor a=justdave
git-svn-id: svn://10.0.0.236/trunk@217545 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-29 22:18:55 +00:00
sspitzer%mozilla.org
3d8dad8296 fix for bug #364316
[places] some favicons in the historu sidebar and the bookmarks dialog are bigger than 16px by 16px.

r=mano


git-svn-id: svn://10.0.0.236/trunk@217544 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-29 21:44:36 +00:00
lpsolit%gmail.com
cce34fa7cf Bug 365300: [mod_perl] Editing a saved search does not re-populate the search page - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=justdave
git-svn-id: svn://10.0.0.236/trunk@217543 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-29 20:55:08 +00:00
kairo%kairo.at
4c1da1fb6c bug 361096 - sanitize [w|p]instripe help.css, first-r=mano second-r=Neil
git-svn-id: svn://10.0.0.236/trunk@217541 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-29 16:09:47 +00:00
gijskruitbosch%gmail.com
3de3bec66d Bug 363791 - Crash [@ nsTreeBodyFrame::PrefillPropertyArray] involving removal of <treecols>
p=asqueella@gmail.com (Nickolay Ponomarev)
r=neil@parwaycc.co.uk (Neil Rashbrook)
sr=roc@ocallahan.org (Robert O'Callahan)


git-svn-id: svn://10.0.0.236/trunk@217540 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-29 13:20:23 +00:00
gijskruitbosch%gmail.com
c0431c1d15 Bug 328128 - nsIPrefBranch::prefHasUserValue should document the fact that a pref doesn't have a user set value if it's set to its default value
p=asqueella@gmail.com (Nickolay Ponomarev)
r+sr=darin.moz@gmail.com (Darin Fisher)
Documentation Only.


git-svn-id: svn://10.0.0.236/trunk@217539 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-29 13:08:41 +00:00
bmlk%gmx.de
d73e2e993c backout of bug 243159, rtest is necessary before checkin
git-svn-id: svn://10.0.0.236/trunk@217538 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-29 11:27:31 +00:00
ginn.chen%sun.com
c1b7113c1e bug 364274 Incorrect state for static text in wizard dialogs
patch by evan.yan at sun.com r=ginn.chen


git-svn-id: svn://10.0.0.236/trunk@217537 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-29 08:52:04 +00:00
ginn.chen%sun.com
be9b368772 Bug 363646 message header tree table report incorrect number of table headers
patch by Evan.Yan at sun.com r=mscott sr=neil


git-svn-id: svn://10.0.0.236/trunk@217536 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-29 06:41:23 +00:00
lpsolit%gmail.com
f5ed67795d Bug 365254: When running a shared saved search, its name is not displayed at the top of the bug list - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=justdave
git-svn-id: svn://10.0.0.236/trunk@217535 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-29 02:15:21 +00:00
sspitzer%mozilla.org
858729282d supplimental for bug #364412
Crash when updating in nsIncrementalDownload::OnStartRequest, attempting to allocate a huge amount of memory.

clean up code, per biesi

r=biesi


git-svn-id: svn://10.0.0.236/trunk@217534 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-29 01:19:32 +00:00
mozilla.mano%sent.com
e0305bcc06 Bug 365268 - Get rid of historyDNDObserver. r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@217533 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-29 00:30:19 +00:00
mozilla.mano%sent.com
9527d3db8f Bug 364401 - js error when you drag link from places based history sidebar panel to personal toolbar. r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@217532 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-29 00:27:33 +00:00
mozilla.mano%sent.com
c3b6cce8a2 Bug 365266 - Bookmark This Link in the history sidebar is broken in places-bookmarks-enabled builds. r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@217531 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-28 23:49:44 +00:00
mozilla.mano%sent.com
ff1592d55c Bug 365171 - Bug context menu delete of personal toolbar bookmark can delete history item if focused. r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@217530 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-28 22:56:59 +00:00
sspitzer%mozilla.org
352d8f88bc fix for bug #364325
History search shows the results in wrong (reverse) sort order.

r=mano


git-svn-id: svn://10.0.0.236/trunk@217529 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-28 22:08:06 +00:00
bienvenu%nventure.com
4563d5659c fix default location of special folders for new pop3 accounts which don't use global inbox, sr=mscott 365113
git-svn-id: svn://10.0.0.236/trunk@217528 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-28 21:52:30 +00:00
mozilla.mano%sent.com
ced59144f3 Use the right array lenght in the fix for bug 365100.
git-svn-id: svn://10.0.0.236/trunk@217527 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-28 21:26:11 +00:00
timeless%mozdev.org
505e38e735 Bug 365083 edit components cc list text needs wordsmithing
r=lpsolit a=justdave


git-svn-id: svn://10.0.0.236/trunk@217524 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-28 18:20:07 +00:00
timeless%mozdev.org
bc3da9b791 Bug 365062 extra whitespace in "to classification ..." parenthetical
r=lpsolit a=justdave


git-svn-id: svn://10.0.0.236/trunk@217523 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-28 18:18:33 +00:00
timeless%mozdev.org
2907a90fd3 Bug 365061 Unclassified default description is bad
r=lpsolit a=justdave


git-svn-id: svn://10.0.0.236/trunk@217522 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-28 18:16:42 +00:00
timeless%mozdev.org
e36084aafd Bug 365054 no changes should be in the plural
r=lpsolit a=justdave


git-svn-id: svn://10.0.0.236/trunk@217521 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-28 18:15:21 +00:00
timeless%mozdev.org
85c1d2223d Bug 363915 The group currently being edited should not be linkified, in editgroups.cgi
r=lpsolit a=justdave


git-svn-id: svn://10.0.0.236/trunk@217520 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-28 18:01:02 +00:00
timeless%mozdev.org
6fd150a1ca Bug 363912 editwhines uses both the word "query" and the word "search" for the same thing
r=colin.ogilvie a=justdave


git-svn-id: svn://10.0.0.236/trunk@217519 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-28 17:57:50 +00:00
timeless%mozdev.org
b092e6ec4d Bug 354660 please reword "use in total"
r=lpsolit a=justdave


git-svn-id: svn://10.0.0.236/trunk@217518 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-28 17:56:00 +00:00
reed%reedloden.com
a4dd525d93 Bug 364919 - "Watching-related text at bottom of "Email Preferences" page has typos" [p=reed/timeless r=LpSolit a=justdave]
git-svn-id: svn://10.0.0.236/trunk@217517 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-28 17:51:35 +00:00
smontagu%smontagu.org
7d71db096f Extend bug 353756 to cover vector fonts as well as bitmap fonts. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@217516 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-28 17:23:21 +00:00
reed%reedloden.com
ae8d26386f Bug 276565 - ""Log In" link in footer should return to same page after logging in." [p=reed r=justdave a=justdave]
git-svn-id: svn://10.0.0.236/trunk@217515 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-28 16:48:06 +00:00
Olli.Pettay%helsinki.fi
498568a836 Bug 358713, implement accessible objects for xforms selects of full apperance, p=surkov, r=aaronr+ginn.chen, sr=neil
git-svn-id: svn://10.0.0.236/trunk@217514 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-28 14:19:47 +00:00
tony%ponderer.org
86d73f3b36 Bug 354199 – firefox fetches a key from sb.google.com in local list mode
patch: only get key when in remote mode
r=mmchew


git-svn-id: svn://10.0.0.236/trunk@217511 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-28 06:54:35 +00:00
jminta%gmail.com
057a832c82 Bug 336287 – Multiweek view has inconsistent/faulty navigation, r=daniel, mvl
git-svn-id: svn://10.0.0.236/trunk@217505 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-28 01:23:15 +00:00
jminta%gmail.com
f76922fc5f Bug 343190 – DnD month view: Drag and Drop stops working if event is dropped out of calendar view, r=lilmatt, mvl
git-svn-id: svn://10.0.0.236/trunk@217504 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-28 01:19:59 +00:00
jminta%gmail.com
ab819218ff Bug 361565 – Weekly layout: Every second week is not printed and wrong week numbering, r=lilmatt, mvl
git-svn-id: svn://10.0.0.236/trunk@217503 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-28 01:13:54 +00:00
lpsolit%gmail.com
dca29d8ef1 Bug 365122: Success messages in userprefs.cgi shouldn't be red - Patch by Frédéric Buclin <LpSolit@gmail.com> r=Colin a=justdave
git-svn-id: svn://10.0.0.236/trunk@217501 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-28 00:43:16 +00:00
lpsolit%gmail.com
298e6bcd97 Bug 365067: Flags set from the enter_bug page are not mentioned in email - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=justdave
git-svn-id: svn://10.0.0.236/trunk@217500 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-28 00:39:30 +00:00
lpsolit%gmail.com
523daa0c88 Bug 365107: When classifications are in use, query.cgi doesn't fill the component, version and target milestone select menus correctly - Patch by Frédéric Buclin <LpSolit@gmail.com> r=bkor a=justdave
git-svn-id: svn://10.0.0.236/trunk@217499 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-28 00:36:30 +00:00
lpsolit%gmail.com
a3044e837f Bug 365092: Inactive flag types should be excluded from the JS array in the bug creation form - Patch by Frédéric Buclin <LpSolit@gmail.com> and Olav Vitters <bugzilla-mozilla@bkor.dhs.org> r=LpSolit a=justdave
git-svn-id: svn://10.0.0.236/trunk@217498 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-28 00:31:35 +00:00
stridey%gmail.com
6a7ebc64f4 Camino only - Image removal for Bug 341967.
git-svn-id: svn://10.0.0.236/trunk@217497 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-28 00:29:52 +00:00
lpsolit%gmail.com
726b03b78c Bug 365179: Performance problems with multiple fields chosen in the "where one or more of the following changed" box - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=justdave
git-svn-id: svn://10.0.0.236/trunk@217495 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-28 00:26:11 +00:00
stridey%gmail.com
c66230d1a1 Project patch for Bug 341967.
git-svn-id: svn://10.0.0.236/trunk@217493 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-28 00:21:02 +00:00
dbaron%dbaron.org
b399e1ef80 Improve behavior of multiple RSS accounts by removing cache of datasource that was not per server but would need to be to work correctly. b=340957 r=mscott
git-svn-id: svn://10.0.0.236/trunk@217492 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-28 00:18:04 +00:00
stridey%gmail.com
77c92615e7 Camino only - Bug 341967: Make pop-up blocker notification text wrap. Patch by murph <camino@seanmurph.com> r=smorgan sr=pink
git-svn-id: svn://10.0.0.236/trunk@217491 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-28 00:11:49 +00:00
neil%parkwaycc.co.uk
e1b3251589 Make some more help buttons work in suiterunner b=346605 r=IanN
git-svn-id: svn://10.0.0.236/trunk@217490 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 23:51:11 +00:00
brendan%mozilla.org
2da9a2eaba Optimize x.p for arg/var/local x; fix decompiler bugs hiding nearby (363536, r=igor).
git-svn-id: svn://10.0.0.236/trunk@217489 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 23:47:13 +00:00
neil%parkwaycc.co.uk
2a65125a67 Fix issues trying to overlay some mail <dialog>s caused by referencing the DOM from top-level script by removing unused code b=365164 r=mscott
git-svn-id: svn://10.0.0.236/trunk@217487 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 23:08:53 +00:00
joshmoz%gmail.com
0b8f2e0bcf we need to include carbon and cocoa here, it works coincidentally without this though. no bug. r=smorgan
git-svn-id: svn://10.0.0.236/trunk@217485 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 23:07:21 +00:00
mnyromyr%tprac.de
61445c9b24 Bug 363831: SeaMonkey regression band-aid fix; r/sr=neil
git-svn-id: svn://10.0.0.236/trunk@217484 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 22:28:49 +00:00
sspitzer%mozilla.org
ad2f3218b9 fix for regression bug #364018
cannot drag and drop url from location bar or webpage to bookmark toolbar.

r=mano


git-svn-id: svn://10.0.0.236/trunk@217483 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 21:51:06 +00:00
mozilla.mano%sent.com
cbc4777865 Bug 365100 - 'Open in Tabs' doesn't work in the left pane of the organizer. r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@217482 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 21:03:02 +00:00
despotdaemon
4075dc9f82 Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@217481 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 20:47:57 +00:00
szegedia%freemail.hu
f7fd78a15c Test watches
git-svn-id: svn://10.0.0.236/trunk@217480 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 20:35:32 +00:00
reed%reedloden.com
55d6fb4f90 s/Fill/File/ [p=reed r=LpSolit]
git-svn-id: svn://10.0.0.236/trunk@217479 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 20:19:50 +00:00
sspitzer%mozilla.org
c5f9be8707 fix for bug #364412.
Crash when updating in nsIncrementalDownload::OnStartRequest, attempting to allocate a huge amount of memory.

thanks to biesi for the initial patch.

r=darin


git-svn-id: svn://10.0.0.236/trunk@217478 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 20:17:44 +00:00
mattwillis%gmail.com
19655ccf5c Convert DOS line endings to UNIX to make future patches readable
git-svn-id: svn://10.0.0.236/trunk@217477 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 19:52:00 +00:00
mnyromyr%tprac.de
fe55f58549 Bug 365005: red XUL error for menu_HelpPopup_reportertoolmenu; r/sr=biesi
git-svn-id: svn://10.0.0.236/trunk@217474 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 19:44:22 +00:00
szegedia%freemail.hu
f7349e58fb Updated with recently fixed bugs
git-svn-id: svn://10.0.0.236/trunk@217473 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 19:43:00 +00:00
mattwillis%gmail.com
7feec8a5bc Convert DOS line endings to UNIX to make future patches readable
git-svn-id: svn://10.0.0.236/trunk@217472 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 19:42:55 +00:00
szegedia%freemail.hu
6184d8baf0 Updated changelog with recent bugfixes
git-svn-id: svn://10.0.0.236/trunk@217471 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 19:23:09 +00:00
stuart.morgan%alumni.case.edu
079e535391 Camino only - Bug 202337: Make keychain storage compatible with Safari. r=josh sr=pink
git-svn-id: svn://10.0.0.236/trunk@217470 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 18:40:37 +00:00
szegedia%freemail.hu
2e310eb9f1 Fix for #344501 "Can't step into/put breakpoint in functions that are tail called in the debugger"
git-svn-id: svn://10.0.0.236/trunk@217469 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 18:34:25 +00:00
szegedia%freemail.hu
7d010c88a2 Bug 340561 Ð <Function>.prototype should not be DontEnum
git-svn-id: svn://10.0.0.236/trunk@217468 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 18:21:59 +00:00
stuart.morgan%alumni.case.edu
75acca6899 Camino only - Bug 181721: Disable menu commands when sheets or dialogs are frontmost. r=cl sr=pink
git-svn-id: svn://10.0.0.236/trunk@217467 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 18:17:14 +00:00
reed%reedloden.com
8ca8d63cd2 Bug 365143 - "[BUGZILLA] Mozbot does not parse duplicate bug messages correctly" [p=reed r=LpSolit]
git-svn-id: svn://10.0.0.236/trunk@217466 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 18:13:52 +00:00
szegedia%freemail.hu
6e7934d510 Revert previous change for now
git-svn-id: svn://10.0.0.236/trunk@217465 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 18:07:58 +00:00
szegedia%freemail.hu
57305a5386 Fix for Bug 347154 Ð CompilerEnvirons examines deprecated cx.compileFunctionsWithDynamicScopeFlag instead of calling cx.hasFeature(Context.FEATURE_DYNAMIC_SCOPE)
git-svn-id: svn://10.0.0.236/trunk@217464 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 18:04:25 +00:00
stuart.morgan%alumni.case.edu
80da8c3580 Camino only - Bug 340099: Highlight bookmark bar buttons when using Cmd-1 through 9. r=stridey sr=pink
git-svn-id: svn://10.0.0.236/trunk@217463 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 17:54:40 +00:00
peterv%propagandism.org
65f31f249d Fix for bug 362937 (Merge element's List and DumpContent implementations). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@217462 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 17:26:32 +00:00
peterv%propagandism.org
dd03cc794a Fix for bug 364037 (xsl:copy-of a xsl:variable which contains a node crashes mozilla). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@217461 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 14:24:21 +00:00
masayuki%d-toybox.com
fa284ddafc Bug 287624 ? round CSS border widths to nearest pixel r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217460 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 14:21:43 +00:00
bmlk%gmx.de
627a20a258 remove TableProcessChild, this creates a single codepath trough ProcessChildren for frame construction bug 243159 r=rbs sr=bz
git-svn-id: svn://10.0.0.236/trunk@217459 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 14:00:12 +00:00
daniel.boelzle%sun.com
30b1ae8567 Bug 340949: misc fixes, reconnect timer
git-svn-id: svn://10.0.0.236/trunk@217458 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 12:38:57 +00:00
bmlk%gmx.de
9df82f6d3b initialize variables before use bug 365075 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@217456 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 08:46:30 +00:00
smontagu%smontagu.org
b50cbc9d9f Bitmap fonts claim to support Unicode characters when they don't really. Bug 353756, r=pavlov
git-svn-id: svn://10.0.0.236/trunk@217455 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 08:43:15 +00:00
smontagu%smontagu.org
2ac0a48ae0 Make the y-offsets cairo sends to ExtTextOut relative to the location of the previous glyph instead of relative to the baseline. Bug 365021, r=pavlov
git-svn-id: svn://10.0.0.236/trunk@217454 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 07:50:24 +00:00
smontagu%smontagu.org
867405c595 Back out bug 361782 since it was fixed upstream. Bug 365021, r=pavlov
git-svn-id: svn://10.0.0.236/trunk@217453 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 07:47:22 +00:00
lpsolit%gmail.com
15bbea14f5 Bug 365064: describecomponents.cgi returns no data when no product name is given - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=justdave
git-svn-id: svn://10.0.0.236/trunk@217452 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 07:37:20 +00:00
dbaron%dbaron.org
ef84567f30 Make those C-style comments.
git-svn-id: svn://10.0.0.236/trunk@217451 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 03:11:28 +00:00
dbaron%dbaron.org
87b4b6deee Hack to get Mac builds working again. b=364794
git-svn-id: svn://10.0.0.236/trunk@217450 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 03:08:37 +00:00
reed%reedloden.com
4b13f60e01 Bug 364172 - "Wording on showdependencytree.cgi is bad when there are no dependencies" [p=reed r=bkor a=justdave]
git-svn-id: svn://10.0.0.236/trunk@217449 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 01:28:15 +00:00
reed%reedloden.com
91db19f831 Bug 364926 - "Platform and OS should be next to each other on "Enter Bug" page" [p=reed r=LpSolit a=justdave]
git-svn-id: svn://10.0.0.236/trunk@217448 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 01:24:42 +00:00
reed%reedloden.com
28077b383d Bug 364835 - "current bug number should be filled in in "to bugs" input box to simplify tagging" [p=reed r=bkor a=justdave]
git-svn-id: svn://10.0.0.236/trunk@217447 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 01:21:32 +00:00
reed%reedloden.com
4bd34c51b5 Bug 364950 - ""Enter Bug" page does not validate due to <input> in <table>" [p=reed r=bkor a=justdave]
git-svn-id: svn://10.0.0.236/trunk@217446 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 01:17:05 +00:00
reed%reedloden.com
33c636e085 Bug 364952 - "Clicking "Hide/Show Obsolete" link should not scroll show_bug page" [p=reed/Hannibal r=LpSolit a=justdave]
git-svn-id: svn://10.0.0.236/trunk@217445 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 01:14:39 +00:00
reed%reedloden.com
8b5b29de1c Bug 364958 - "If user does not have a real name, just e-mail address should be displayed instead of " <user@email.tld>"" [p=reed r=bkor a=justdave]
git-svn-id: svn://10.0.0.236/trunk@217444 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 01:12:35 +00:00
lpsolit%gmail.com
30ad7a1401 Bug 364951: post_bug.cgi does not validate due to invalid id for "Reassign bug to ..." <input> - Patch by Reed Loden <reed@reedloden.com> r=LpSolit a=justdave
git-svn-id: svn://10.0.0.236/trunk@217443 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 01:01:43 +00:00
lpsolit%gmail.com
bf4199e77f Bug 364851: Some accesskeys are duplicated when viewing a bug - Patch by Reed Loden <reed@reedloden.com> r=LpSolit a=justdave
git-svn-id: svn://10.0.0.236/trunk@217442 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 00:56:50 +00:00
lpsolit%gmail.com
aca3e56f3e Bug 365046: If docs_urlbase is empty, link to "the named tag" in the documentation should be supressed - Patch by Frédéric Buclin <LpSolit@gmail.com> r=bkor a=justdave
git-svn-id: svn://10.0.0.236/trunk@217441 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 00:47:05 +00:00
mozilla.mano%sent.com
64e247a4c3 Bug 334451 - Places Organizer: places-list tree should not list bookmark items. This also fixes the selectBookmark dialog bustage from bug 359462. r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@217440 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 00:36:35 +00:00
cbiesinger%web.de
b1cad63a4c Bug 364847 Give nsISocketTransport classinfo and a THREADSAFE flag
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@217439 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 22:14:29 +00:00
mozilla.mano%sent.com
11879f8ebc Bug 330807 - Places Organizer desn't show URL in its status bar. r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@217438 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 20:35:05 +00:00
mozilla.mano%sent.com
b9299566db Bug 329949 - browser.tabs.loadBookmarksInBackground is ignored in places views (histrory sidebar, bookmarks toolbar etc.). r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@217437 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 20:26:38 +00:00
lpsolit%gmail.com
93db0ccb13 Bug 364780: The keyword cache cannot be fixed with editkeywords privs only - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=justdave
git-svn-id: svn://10.0.0.236/trunk@217436 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 20:19:06 +00:00
mozilla.mano%sent.com
7b4f912194 Bug 364991 - Stop loading CFLocale functions dynamically. r=josh, sr=pink.
git-svn-id: svn://10.0.0.236/trunk@217435 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 20:18:15 +00:00
bmlk%gmx.de
5e2c64b119 the previous commit was bogus, the bustage was due to midcheckin.
git-svn-id: svn://10.0.0.236/trunk@217434 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 19:18:56 +00:00
reed%reedloden.com
cdc5eb4ce9 Bug 364863 - "on confirming a new account page, wrong 'Email Address' is shown when logged in" [p=victory/vladd/reed r=LpSolit a=justdave]
git-svn-id: svn://10.0.0.236/trunk@217433 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 19:03:55 +00:00
reed%reedloden.com
033cb53971 Bug 353528 - "<select> fields with just one value shouldn't appear editable" [p=reed r=LpSolit a=justdave]
git-svn-id: svn://10.0.0.236/trunk@217432 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 18:53:15 +00:00
lpsolit%gmail.com
da9a9f06d5 Bug 364923: Flag options should be disabled for users that cannot request or grant/deny them instead of showing a blank drop-down - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=justdave
git-svn-id: svn://10.0.0.236/trunk@217431 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 18:48:24 +00:00
bmlk%gmx.de
a38d8c03a8 bustage fix
git-svn-id: svn://10.0.0.236/trunk@217430 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 18:34:59 +00:00
bmlk%gmx.de
f20938bf42 bustage fix
git-svn-id: svn://10.0.0.236/trunk@217429 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 18:12:11 +00:00
lpsolit%gmail.com
19c57f7bf3 Bug 364134: Upgrading from 2.20 to latest CVS produces error message in contrib/recode.pl - Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=bkor a=justdave
git-svn-id: svn://10.0.0.236/trunk@217428 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 18:12:04 +00:00
lpsolit%gmail.com
f5de6af0bf Bug 364879: The custom field creation page generates invalid HTML code - Patch by victory(_RSZ_) <bmo2007@rsz.jp> r=vladd a=justdave
git-svn-id: svn://10.0.0.236/trunk@217427 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 18:01:07 +00:00
lpsolit%gmail.com
5cf2e37c40 Bug 363916: buglist.cgi can throw an error about JavaScript even though QuickSearch no longer uses JS - Patch by timeless <timeless@bemail.org> r=vladd a=justdave
git-svn-id: svn://10.0.0.236/trunk@217426 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:51:53 +00:00
timeless%mozdev.org
c778d21502 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron


git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
reed%reedloden.com
6eb41c6e0e Bug 364920 - "Watcher list should be sorted alphabetically" [p=reed r=LpSolit a=justdave]
git-svn-id: svn://10.0.0.236/trunk@217424 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 16:46:04 +00:00
reed%reedloden.com
0681f9e6b8 Bug 364169 - "There is a "show votes for this bug" link when the bug has no votes" [p=reed r=bkor a=justdave]
git-svn-id: svn://10.0.0.236/trunk@217423 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 16:41:47 +00:00
reed%reedloden.com
689ef9e373 Bug 364165 - ""Unclassified" classification appears in "Format for Printing" but not normal view" [p=reed r=bkor a=justdave]
git-svn-id: svn://10.0.0.236/trunk@217422 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 16:38:34 +00:00
justdave%bugzilla.org
d17c7f7365 Bug 356074: make error for omitting "cf_" from a command name be grammatically correct.
r=LpSolit, a=jusdave


git-svn-id: svn://10.0.0.236/trunk@217421 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 16:28:25 +00:00
bmlk%gmx.de
6db17ea546 be carefull with row indices when deleting cells bug=364318, patch by bz, r=me sr=roc
git-svn-id: svn://10.0.0.236/trunk@217418 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 14:24:15 +00:00
bmlk%gmx.de
93402c4df5 rename variable rename mRowCount to mContentRowCount so that it becomes obvious what it contains. Adjust the cellmap grow mechanism to the new nsTArray world bug=363370 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@217417 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 14:04:20 +00:00
bmlk%gmx.de
1ac0afc850 add again bound checks that the BC code relies on. bug 364150 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@217416 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 13:55:32 +00:00
gijskruitbosch%gmail.com
68ca4e5ac5 Bug 363965 - [OS/2] by default, SM single middle mouse button click will not open CZ window URL in new tab with CZ 0.9.76+
r=silver@warwickcompsoc.co.uk (James Ross)
ChatZilla Only.


git-svn-id: svn://10.0.0.236/trunk@217415 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 12:20:29 +00:00
mozilla.mano%sent.com
e7ccd5bf3c Bug 365002 - newFolder/Separator methods should not try to focus the controller's view. r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@217414 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 01:57:23 +00:00
mozilla.mano%sent.com
da56f8b8df Bug 336990 - Choosing delete on bookmarks toolbar deletes everything there indeed (this should only affect --enable-places-bookmarks builds). r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@217413 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 01:54:51 +00:00
dbaron%dbaron.org
202dcc4811 Untabify.
git-svn-id: svn://10.0.0.236/trunk@217412 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-25 19:44:34 +00:00
uriber%gmail.com
c0d1269952 Pull InsertFrames, AppendFrames, and RemoveFrames up from nsInlineFrame to nsContainerFrame. bug=198928 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217411 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-25 18:53:52 +00:00
mozilla.mano%sent.com
8a87c4db26 Bug 364828 - PlacesController efficiency improvements - update places-specific commands for places-events only. r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@217410 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-24 22:56:08 +00:00
mozilla.mano%sent.com
c6297a8700 Bug 364905 - places-popup is broken (NPOB, only affects --enable-places-bookmarks builds). r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@217409 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-24 22:51:40 +00:00
timeless%mozdev.org
4ed094a7fd Bug 363390 IS_LOW_SURROGATE conflicts with winnls.h
r=darin
updating comment


git-svn-id: svn://10.0.0.236/trunk@217408 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-24 12:27:45 +00:00
igor.bukanov%gmail.com
703dd01edc Bug 310405: allow to stop long running native code. r=brendan
git-svn-id: svn://10.0.0.236/trunk@217407 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-24 11:31:37 +00:00
gijskruitbosch%gmail.com
89e4c82aaf Bug 348215 - Join Channel dialog creating messages in client
r=silver@warwickcompsoc.co.uk (James Ross)
ChatZilla Only.


git-svn-id: svn://10.0.0.236/trunk@217406 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-24 09:59:46 +00:00
gijskruitbosch%gmail.com
2cfad0e067 Bug 288844 - irc channel calls onStartRequest synchronously and without onStopRequest
r=silver@warwickcompsoc.co.uk (James Ross)
ChatZilla Only.


git-svn-id: svn://10.0.0.236/trunk@217405 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-24 09:07:35 +00:00
stridey%gmail.com
c105b6b9b5 Camino only - Bug 363680:Context menu overhaul for menu spacers. Patch by cl <bugzilla@chrislawson.net>. r=me sr=pink
git-svn-id: svn://10.0.0.236/trunk@217403 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-24 00:02:30 +00:00
neil%parkwaycc.co.uk
60ee1fcc79 Back out bug 350766's scrollbar metrics r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@217402 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-23 23:32:09 +00:00
joshmoz%gmail.com
2d5f1cce9f get rid of kTitleBarHeight constant in cocoa widgets. b=347965 r=mano sr=pinkerton
git-svn-id: svn://10.0.0.236/trunk@217401 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-23 20:25:51 +00:00
mozilla.mano%sent.com
84eb283b30 Bug 364521 - Need a bundleIdentifier attribute in nsILocalFileMac. r=mento, sr=pink.
git-svn-id: svn://10.0.0.236/trunk@217400 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-23 20:17:29 +00:00
mozilla.mano%sent.com
a6d1dc9800 Bug 364661 - [cocoa] nsDragService::IsDataFlavorSupported should not throw for unsupported data flavors. r=josh, sr=pink.
git-svn-id: svn://10.0.0.236/trunk@217399 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-23 20:09:43 +00:00
dbaron%dbaron.org
16fd6022ad Bug 132071: Escape < and > (used in templates) in jprof's HTML output. Initial patch by Dave Morrison <morrison@bnl.gov>, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@217397 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-23 18:37:39 +00:00
masayuki%d-toybox.com
d883023eda Bug 364785 ts regression by bug 362665 and bug 364678 r=vlad
git-svn-id: svn://10.0.0.236/trunk@217396 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-23 16:12:11 +00:00
gavin%gavinsharp.com
2f0ee572e8 Bug 364297: Fix typo, add a few more names, r=mconnor
git-svn-id: svn://10.0.0.236/trunk@217394 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-23 15:48:59 +00:00
mnyromyr%tprac.de
ebc7380b6c Bug 362349: suppressMsgDisplay should only force display when exactly one message is selected; p=Bruno 'Aqualon' Escherl <aqualon@aquachan.de>, r=neil, sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@217393 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-23 13:20:30 +00:00
wr%rosenauer.org
6faafbe6f0 Bug 364567 - fixed warning: operation on 'typeIndex' may be undefined, r+sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@217387 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-23 08:58:13 +00:00
masayuki%d-toybox.com
25bbfb2e05 Bug 364678 Incorrectly styled text after bug 362665 (only on western page??) r=vlad
git-svn-id: svn://10.0.0.236/trunk@217385 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-23 05:27:45 +00:00
vladimir%pobox.com
6a67fdb3c8 linux cff fix
git-svn-id: svn://10.0.0.236/trunk@217384 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-23 01:46:43 +00:00
vladimir%pobox.com
3670425f12 linux/xlib fix
git-svn-id: svn://10.0.0.236/trunk@217383 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-23 01:42:53 +00:00
vladimir%pobox.com
bb81827bcf OS X fix
git-svn-id: svn://10.0.0.236/trunk@217382 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-23 01:32:34 +00:00
vladimir%pobox.com
bf19bcf865 b=364742, Update cairo to git 473ae3aa95, r=stuart
git-svn-id: svn://10.0.0.236/trunk@217379 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-23 01:15:54 +00:00
mike.morgan%oregonstate.edu
7fe98785dc Checking in patch from bug 364628 that makes the AUS2 config more flexible and helps avoid cross-product version conflicts for nightly updates.
git-svn-id: svn://10.0.0.236/trunk@217378 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-23 00:55:56 +00:00
mike.morgan%oregonstate.edu
ddf51bd97f Removed trailing slash at the end of $host.
git-svn-id: svn://10.0.0.236/trunk@217376 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-23 00:25:40 +00:00
mike.morgan%oregonstate.edu
7f1ad43737 Fixed acceptance tests to make sure updateVersion and osVersion are granular and adjustable.
git-svn-id: svn://10.0.0.236/trunk@217375 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-23 00:23:22 +00:00
bclary%bclary.com
ac0f6baa41 JavaScript Test - test callback mutation in Array filter, by Jeff Walden, bug 364603
git-svn-id: svn://10.0.0.236/trunk@217374 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 21:45:44 +00:00
mozilla%weilbacher.org
865ecf539d [OS/2] Bug 351246: Load Mozilla into Highmem on OS/2. Part 5, changes to SQLite. r=abwillis1, sr=vlad
git-svn-id: svn://10.0.0.236/trunk@217373 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 20:12:03 +00:00
dmose%mozilla.org
ff897ddcb7 Back out version number change, as we need more discussion on this first
git-svn-id: svn://10.0.0.236/trunk@217372 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 20:11:52 +00:00
lpsolit%gmail.com
34501f0979 Bug 364748: Bug number not displayed when viewing all attachments - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=justdave
git-svn-id: svn://10.0.0.236/trunk@217371 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 19:41:45 +00:00
lpsolit%gmail.com
a2ca50da43 Bug 364743: Crash when renaming components (regression) - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=justdave
git-svn-id: svn://10.0.0.236/trunk@217369 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 18:10:21 +00:00
brendan%mozilla.org
bec424d922 Meter small-slot ops (363529, r=crowder).
git-svn-id: svn://10.0.0.236/trunk@217368 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 18:02:42 +00:00
dbaron%dbaron.org
3c6623d408 Don't forget to assign to rv. b=340554 r=sayrer
git-svn-id: svn://10.0.0.236/trunk@217367 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 17:28:48 +00:00
peterv%propagandism.org
7809c17869 First part of fix for bug 306539 (Error during XSLT transformation: (null)). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@217366 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 17:22:18 +00:00
rhelmer%mozilla.com
dbb8f52160 use different filter for State line b=364652 r=nrthomas
git-svn-id: svn://10.0.0.236/trunk@217365 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 17:17:50 +00:00
peterv%propagandism.org
faa9bb5fb6 Fix for bug 363656 (regexp:match returns results out of order). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@217364 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 16:15:15 +00:00
gijskruitbosch%gmail.com
354a68501f Bug 361087 - remove the nsIXULPrototypeDocument interface
p=asqueella@gmail.com (Nickolay Ponomarev)
r+sr=bugmail@sicking.cc (Jonas Sicking)


git-svn-id: svn://10.0.0.236/trunk@217363 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 16:11:16 +00:00
bclary%bclary.com
da814fc21f JavaScript Test - modify test to use object instance instead of |this|, bug 355344
git-svn-id: svn://10.0.0.236/trunk@217361 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 14:53:50 +00:00
bclary%bclary.com
f0ea5d5c27 JavaScript Test - modify test to reflect change in typeof RegExp instance, bug 61911
git-svn-id: svn://10.0.0.236/trunk@217360 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 14:43:56 +00:00
bclary%bclary.com
49bcb26b67 JavaScript Test - modify test to delay execution until page loaded, bug 324688
git-svn-id: svn://10.0.0.236/trunk@217359 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 14:38:00 +00:00
bienvenu%nventure.com
55b9de05ed fix a couple problems with news unread counts, including marking missing articles as read, sr=mscott part of 298737
git-svn-id: svn://10.0.0.236/trunk@217357 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 13:57:22 +00:00
bugzilla%standard8.demon.co.uk
71b6295893 Bug 363266 Simplify some ifdefs/Restructure some DIRS under xpfe/ (components/MakeFile.in part) r=benjamin
git-svn-id: svn://10.0.0.236/trunk@217356 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 13:56:40 +00:00
bienvenu%nventure.com
c8be66dec0 fix 319535 don't issue getacl command unless we have myrights administrative rights, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@217354 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 13:39:04 +00:00
brendan%mozilla.org
c86b0a0350 Fix from shutdown@flashmail.com for off-by-one in js_Disassemble1 (364691, r=me).
git-svn-id: svn://10.0.0.236/trunk@217346 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 08:22:32 +00:00
alfred.peng%sun.com
b34b600af7 Bug 353162. Firefox calls system pixman_image_init and causes hang.
r=benjamin+vladimir.


git-svn-id: svn://10.0.0.236/trunk@217341 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 06:40:36 +00:00
bzbarsky%mit.edu
70c517f74d Remove most of the aFrame args in computed style; just store the frame in a
member instead.  Bug 364617, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@217340 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 06:10:32 +00:00
brendan%mozilla.org
5963937b03 Back out patch for 310405 due to regressions.
git-svn-id: svn://10.0.0.236/trunk@217339 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 05:46:46 +00:00
rhelmer%mozilla.com
12ee7153ab disable xforms until bug 339568 is resolved.
git-svn-id: svn://10.0.0.236/trunk@217338 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 04:33:00 +00:00
masayuki%d-toybox.com
efed138d00 Bug 362665 Implement font name resolver on Mac r=vlad
git-svn-id: svn://10.0.0.236/trunk@217335 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 03:56:37 +00:00
cvshook%sicking.cc
ea18868277 Fix bustage from bug 363789
git-svn-id: svn://10.0.0.236/trunk@217334 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 01:13:04 +00:00
cvshook%sicking.cc
10146a5b87 Fix long lines in previous patch. b=363789
git-svn-id: svn://10.0.0.236/trunk@217333 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 00:58:00 +00:00
neil%parkwaycc.co.uk
442631c4f5 Bug 364215 Modern themed sidebar should have mini scrollbars r=IanN
git-svn-id: svn://10.0.0.236/trunk@217331 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 00:24:05 +00:00
cvshook%sicking.cc
d3f8d240a0 Implement more exslt functions. r/sr=peterv
git-svn-id: svn://10.0.0.236/trunk@217330 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 00:19:34 +00:00
igor.bukanov%gmail.com
7104aa81f2 Bug 310405: long running loops in native code are brekable now. r=brendan,crowder
git-svn-id: svn://10.0.0.236/trunk@217329 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 00:00:40 +00:00
mozilla.mano%sent.com
6235546314 Bug 359462 - Redesign PlacesController interaction with places views (this makes various edit command work in the places-based history sidebar). r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@217328 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 00:00:21 +00:00
mattwillis%gmail.com
bf38a49e18 bump trunk version number so AUS branch vs. trunk don't collide
git-svn-id: svn://10.0.0.236/trunk@217327 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 23:36:31 +00:00
wtchang%redhat.com
baeea2fe1e Bugzilla Bug 362134: fixed a crash in dtoa when running with reduced CPU
float precision.  Original patch for jsdtoa.c in JavaScript by Keith Victor
<keith@virtock.com>.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@217323 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 22:41:42 +00:00
gijskruitbosch%gmail.com
c4cf0051a5 Change profilePath pref to hidden. No bug.
r=silver@warwickcompsoc.co.uk (James Ross) on IRC
ChatZilla Only.


git-svn-id: svn://10.0.0.236/trunk@217321 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 22:35:55 +00:00
bienvenu%nventure.com
03094f8024 add hidden per smtp server pref to allow overriding of EHLO/HELO argument, patch by ch.ey@gmx.net, r/sr=bienvenu 244030
git-svn-id: svn://10.0.0.236/trunk@217317 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 22:10:54 +00:00
Olli.Pettay%helsinki.fi
0c12bf4696 Bug 364544, Crash [@ nsSliderFrame::HandleEvent] when a scrollbar thumb gets removed while dragging, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@217314 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 21:44:10 +00:00
rhelmer%mozilla.com
65c9f8fb84 used for testing 1509/2001 releases
git-svn-id: svn://10.0.0.236/trunk@217312 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 21:37:57 +00:00
benjamin%smedbergs.us
3254e73176 Bug 341654 cleanup - search should be built in tier-app, not tier-toolkit, r=gavin
git-svn-id: svn://10.0.0.236/trunk@217311 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 21:34:05 +00:00
mike.morgan%oregonstate.edu
1e410ed873 Checked in added versions for nightly updates from bug 364477.
git-svn-id: svn://10.0.0.236/trunk@217309 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 21:14:49 +00:00
lpsolit%gmail.com
38d4dd1b08 Bug 91761: sanitycheck.cgi is too broadly accessible - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=justdave
git-svn-id: svn://10.0.0.236/trunk@217308 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 20:47:23 +00:00
lpsolit%gmail.com
cb931d84c8 Bug 364293: Do not call can_see_product() from templates - Patch by Frédéric Buclin <LpSolit@gmail.com> r=bkor a=justdave
git-svn-id: svn://10.0.0.236/trunk@217307 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 20:34:07 +00:00
lpsolit%gmail.com
c49cb29251 Bug 364284: User::get_selectable_products() can return wrong data if $classification_id is passed - Patch by Frédéric Buclin <LpSolit@gmail.com> r=bkor a=justdave
git-svn-id: svn://10.0.0.236/trunk@217306 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 20:30:43 +00:00
roc+%cs.cmu.edu
36d18e2982 Bug 363813. Mark canvas with HAS_DIRTY_CHILDREN when we delete its child. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217305 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 20:05:34 +00:00
roc+%cs.cmu.edu
408d24ae4a Bug 363813. Reparent style contexts for special-siblings because they may depend on our frame's style context. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217304 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 20:03:09 +00:00
mnyromyr%tprac.de
f10bf9fb3b Bug 364542: View > Messages > All/Unread doesn't uncheck; r/sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@217303 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 20:02:35 +00:00
roc+%cs.cmu.edu
75b2611119 Bug 363813. Always reset parent pointers when pulling an inline frame's overflow back into its main child list. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217302 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 19:59:30 +00:00
Olli.Pettay%helsinki.fi
810e04c8c4 Bug 364219, Crash [@ CallQueryInterface] when passing on an xmlhttprequest load event to a timeout, r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@217301 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 19:27:48 +00:00
bugzilla%standard8.demon.co.uk
da5dcb4a18 Bug 364141 toolkitify composer's startup handler. r/sr=Neil
git-svn-id: svn://10.0.0.236/trunk@217300 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 17:36:44 +00:00
mozilla.mano%sent.com
888455ec8c Bug 358456 - Feed preview should include pubDate of each entry. patch from Michael Ventnor <ventnor.bugzilla@yahoo.com.au>; r=sayre,me; ui-r=beltzner.
git-svn-id: svn://10.0.0.236/trunk@217297 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 08:43:09 +00:00
timeless%mozdev.org
90a496a407 Bug 47868 Unable to search for numbers only
r=bear


git-svn-id: svn://10.0.0.236/trunk@217296 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 07:17:07 +00:00
timeless%mozdev.org
0dbce75039 Bug 363390 IS_LOW_SURROGATE conflicts with winnls.h
r=darin


git-svn-id: svn://10.0.0.236/trunk@217295 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 07:13:58 +00:00
timeless%mozdev.org
35b31fd791 Bug 341952 Adding firefox variants to mozilla/browser/app/.cvsignore
also sunbird and thunderbird
r=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@217294 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 07:05:08 +00:00
timeless%mozdev.org
7a201105b7 Bug 341955 add some more items to .cvsignore
r=bsmeberg


git-svn-id: svn://10.0.0.236/trunk@217293 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 07:04:12 +00:00
timeless%mozdev.org
3ea4e560e3 Bug 363390 IS_LOW_SURROGATE conflicts with winnls.h
r=darin


git-svn-id: svn://10.0.0.236/trunk@217292 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 07:03:23 +00:00
timeless%mozdev.org
3c5c6820cf Bug 363446 EmbedPrivate::ScrollToSelectedNode doesn't initialize rv if !aDOMNode
patch by sciguyryan+bugzilla@gmail.com r=timeless


git-svn-id: svn://10.0.0.236/trunk@217291 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 07:01:48 +00:00
timeless%mozdev.org
4f67e833f0 Bug 364264 Assertion failure: pcdepth >= 0, at jsopcode.c:4737 - failure to handle JSOP_TRAP in js_DecompileValueGenerator
r=brendan


git-svn-id: svn://10.0.0.236/trunk@217289 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 06:59:51 +00:00
justdave%bugzilla.org
bc48ce29db Followup fix for bug 362546: set the value in the DB correctly
git-svn-id: svn://10.0.0.236/trunk@217288 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 06:19:04 +00:00
despotdaemon
95a593f678 Pseudo-automatic update of changes made by justdave@bugzilla.org.
git-svn-id: svn://10.0.0.236/trunk@217287 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 06:15:58 +00:00
despotdaemon
0381e90806 Pseudo-automatic update of changes made by justdave@bugzilla.org.
git-svn-id: svn://10.0.0.236/trunk@217286 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 06:07:17 +00:00
jminta%gmail.com
9549262a93 Bug 329582 Remove superfluous parts of gCalendarWindow object, including disabled mail support in sunbird. r=lilmatt,mvl
git-svn-id: svn://10.0.0.236/trunk@217285 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 04:52:28 +00:00
jminta%gmail.com
470a625b49 Bug 361836 Calendar csv import/export does not include alarms r=lilmatt,mvl
git-svn-id: svn://10.0.0.236/trunk@217284 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 04:39:12 +00:00
jminta%gmail.com
f6f291b898 Bug 362496 Fail more gracefully if we can't parse the date during csv import r=ctalbert,mvl
git-svn-id: svn://10.0.0.236/trunk@217283 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 04:35:21 +00:00
jminta%gmail.com
ab2dd2188f Bug 362876 Offer a chance to save changes to an item if the app is trying to restart r=lilmatt,mvl
git-svn-id: svn://10.0.0.236/trunk@217282 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 04:31:21 +00:00
igor.bukanov%gmail.com
da9e4ec912 Bug 364017: fix source node decoding in the dissembler, r=brendan
git-svn-id: svn://10.0.0.236/trunk@217279 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 01:48:27 +00:00
brendan%mozilla.org
c6642a597b Finish NEW_ => STRICT_ renaming (363536, r=igor).
git-svn-id: svn://10.0.0.236/trunk@217277 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 01:35:54 +00:00
brendan%mozilla.org
ee32c685b5 Remove stale comments (334261 followup, r=self).
git-svn-id: svn://10.0.0.236/trunk@217275 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 01:00:32 +00:00
brendan%mozilla.org
b328725e03 JSOP_GETTHISPROP optimization (363536, r=igor).
git-svn-id: svn://10.0.0.236/trunk@217273 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 00:02:20 +00:00
mozilla.mano%sent.com
7ae3cfd07a Bug 356536 - [Mac] XUL Scroll bar slider jumps back up when mouse cursor strays from near scroll bar. patch from Stefan <stefanh@bluebottle.com>, r=me, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@217270 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 22:49:59 +00:00
mozilla.mano%sent.com
d3e7fc2422 Bug 363512 - remove base-64 encoding functions in favor of built-ins. r=gavin.
git-svn-id: svn://10.0.0.236/trunk@217269 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 22:41:20 +00:00
mozilla.mano%sent.com
a0f3b04b72 Bug 355120 - Move default feed reader code to shellsvc. r=gavin.
git-svn-id: svn://10.0.0.236/trunk@217268 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 22:34:51 +00:00
Olli.Pettay%helsinki.fi
28ce10d978 Testcases for bug 364092 and bug 364413
git-svn-id: svn://10.0.0.236/trunk@217266 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 21:33:22 +00:00
Olli.Pettay%helsinki.fi
1b73029ac9 Bug 364413, Related node on DOMAttrModified listener isn't the same as attr node set by SetAttributeNodeNS, p=Alex Vincent+me, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@217265 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 20:55:08 +00:00
despotdaemon
ad52cd19a0 Pseudo-automatic update of changes made by brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@217264 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 20:54:19 +00:00
crowder%fiverocks.com
3da5f7e293 Bug 364350: free of uninitialized memory in OOM condition, patch by Gavin Reaney (gavin@picsel.com), r=crowder@fiverocks.com
git-svn-id: svn://10.0.0.236/trunk@217263 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 20:51:12 +00:00
benjamin%smedbergs.us
cadeb69c98 Bug 36195 - CYGWIN and PATH environment variables should be unset when building in the MSYS shell, r=luser
git-svn-id: svn://10.0.0.236/trunk@217262 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 20:44:31 +00:00
mattwillis%gmail.com
41e4fad997 bug 327064 - Adds STRIP_XPI to Lightning. r=dmose via IRC
git-svn-id: svn://10.0.0.236/trunk@217261 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 20:42:36 +00:00
mvl%exedo.nl
4f3b97d4ad bug 215971, use the values from the actual patch
git-svn-id: svn://10.0.0.236/trunk@217260 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 20:18:04 +00:00
mozilla.mano%sent.com
ad97db0aee Fix upcoming bustage from bug 326854
git-svn-id: svn://10.0.0.236/trunk@217259 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 20:16:23 +00:00
mvl%exedo.nl
8dd355ce8b Bug 215971 auto refresh remote calendar every x minutes. r=lilmatt, jminta
git-svn-id: svn://10.0.0.236/trunk@217258 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 20:14:25 +00:00
mozilla.mano%sent.com
d59fc62008 Bug 326854 - expose btoa and atob to JS components. r=brendan, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@217257 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 20:10:12 +00:00
despotdaemon
9785d446e8 Pseudo-automatic update of changes made by shaver@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@217256 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 20:06:06 +00:00
lpsolit%gmail.com
8d9dd10809 Bug 364216: Flag::retarget() is broken - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=myk
git-svn-id: svn://10.0.0.236/trunk@217254 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 19:53:58 +00:00
justdave%bugzilla.org
609ed4072f Scripts now live in $CONFIG_DIR
git-svn-id: svn://10.0.0.236/trunk@217253 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 19:53:18 +00:00
justdave%bugzilla.org
40a7f8bc46 Add the check scripts that we use
git-svn-id: svn://10.0.0.236/trunk@217252 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 19:50:59 +00:00
mvl%exedo.nl
3d78320a71 bug 360479: move workweek days calculation to multiday-view so it refreshes just once. patch by gekacheka@yahoo.com, r=lilmatt, jminta
git-svn-id: svn://10.0.0.236/trunk@217250 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 19:07:12 +00:00
mattwillis%gmail.com
7499d9ec74 fix obvious typo in comment
git-svn-id: svn://10.0.0.236/trunk@217249 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 19:01:40 +00:00
igor.bukanov%gmail.com
9093eec7cf Bug 354297: Fix for getters on index when compiled with GC_MARK_DEBUG. r=brendan
git-svn-id: svn://10.0.0.236/trunk@217248 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 18:55:07 +00:00
mvl%exedo.nl
2f7fe8772e bug 356207: start searching at the right place when reading .ics which has BYMONTHDAY and BYDAY in an RRULE. r=dbo
git-svn-id: svn://10.0.0.236/trunk@217247 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 18:53:54 +00:00
ghendricks%novell.com
736fa53ff4 Sync with 2499 Testopia 1.1.2
git-svn-id: svn://10.0.0.236/trunk@217244 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 17:01:20 +00:00
mattwillis%gmail.com
c14a7c952f bug 364339 - Add files to be packaged with Windows build for Sunbird to work on branch. Patch by Stefan Sitter <ssitter@googlemail.com> r1=lilmatt, r2=jminta
git-svn-id: svn://10.0.0.236/trunk@217237 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 13:04:58 +00:00
gijskruitbosch%gmail.com
390dabf129 Bug 361781 - nsIDomInternalWindow::GetAttention on GTK2 doesn't behave "right" in all cases. (Second try)
r+sr=roc@ocallahan.org (Robert O'Callahan)


git-svn-id: svn://10.0.0.236/trunk@217236 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 09:05:19 +00:00
stridey%gmail.com
8d1571d60e Camino only - Make the string from bug 330534 localize properly. sr=smorgan
git-svn-id: svn://10.0.0.236/trunk@217235 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 08:46:26 +00:00
brendan%mozilla.org
7991ccd56e Rename strict equality ops (cleanup pre-patch for 363536, r=igor).
git-svn-id: svn://10.0.0.236/trunk@217234 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 08:12:18 +00:00
brendan%mozilla.org
43e84ca3e2 Bytecode succession metering (363529, r=crowder).
git-svn-id: svn://10.0.0.236/trunk@217233 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 07:47:22 +00:00
philringnalda%gmail.com
d13faa839e Bug 363043: Unfork Sb's customizeToolbar, r=jminta
git-svn-id: svn://10.0.0.236/trunk@217231 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 06:45:09 +00:00
philringnalda%gmail.com
f01d0a6515 Bug 364197: Wrong end position for bolding in Granpa Radiso EULA for Mac, r=mano
git-svn-id: svn://10.0.0.236/trunk@217230 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 06:10:36 +00:00
ginn.chen%sun.com
3bec800993 Bug 364205 gtkmozembed.h should be C style
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@217229 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 05:28:57 +00:00
reed%reedloden.com
0714ad586e Bug 364195 - "No way to search for private comments" [p=reed r=justdave a=justdave]
git-svn-id: svn://10.0.0.236/trunk@217228 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 05:14:24 +00:00
mats.palmgren%bredband.net
14e7266121 Rename IsSplittable() to GetSplittableType(). b=349973 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@217227 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 03:52:34 +00:00
joshmoz%gmail.com
201ffb4c53 remove unused quickdraw code. b=364415 r=cl
git-svn-id: svn://10.0.0.236/trunk@217226 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 03:41:43 +00:00
joshmoz%gmail.com
78fbb28d7a nsChildView comment, whitespace, and includes cleanup, no actual code changes. makes the file much easier to read. r=smorgan
git-svn-id: svn://10.0.0.236/trunk@217225 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 02:13:57 +00:00
bzbarsky%mit.edu
e457732aea Remove the GetScrollBarDimensions API from device contexts. Bug 364345, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@217224 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 02:04:00 +00:00
dbaron%dbaron.org
9332796f42 Eliminate nsStyleBorderPadding and add margin/padding/content rect APIs to nsIFrame. b=332922 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@217223 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 01:23:45 +00:00
mats.palmgren%bredband.net
36ff0f7a42 Horizontal under/overflow events are not dispatched. b=363933 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217222 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 01:17:00 +00:00
Olli.Pettay%helsinki.fi
3ab568daae Try to fix crashes possibly caused by bug 359790, r=aaronl
git-svn-id: svn://10.0.0.236/trunk@217219 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 22:57:23 +00:00
joshmoz%gmail.com
3afdea1233 followup to menubarless dialog fix. sometimes during startup it is normal to not have a native application menu yet. b=355138
git-svn-id: svn://10.0.0.236/trunk@217218 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 22:54:14 +00:00
mike.morgan%oregonstate.edu
fb970ea6ca Fixed missing </div>.
git-svn-id: svn://10.0.0.236/trunk@217214 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 21:39:06 +00:00
silver%warwickcompsoc.co.uk
8343179484 Bug 361785 - adoptNode as needed.
JavaScript Debugger only.
r=rginda


git-svn-id: svn://10.0.0.236/trunk@217212 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 21:00:10 +00:00
joshmoz%gmail.com
163e763cde Remove non-cairo gfx support from cocoa widgets. This isn't going to work soon anyway, camino can't build without cairo already, and it is a lot of clutter. Carbon widgets will still build with non-cairo gfx. b=364379 r=smorgan r=mento sr=pinkerton
git-svn-id: svn://10.0.0.236/trunk@217211 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 20:47:53 +00:00
mnyromyr%tprac.de
987b264088 Bug 363831: Saved Search with only one folder to search results in endless loading and high CPU load; r=neil, sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@217210 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 20:26:47 +00:00
roc+%cs.cmu.edu
5dd391d386 Bug 363848. Scrollframes CAN TOO have an nsIScrollbarMediator scrolled frame. r=enndeaking,sr=mats
git-svn-id: svn://10.0.0.236/trunk@217209 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 20:11:27 +00:00
sayrer%gmail.com
1ab4016c16 Fix an ifdef syntax mistake.
git-svn-id: svn://10.0.0.236/trunk@217208 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 19:58:04 +00:00
sayrer%gmail.com
163a3d2df1 Bug 364337. Fix unit test build bustage--don't run bookmarks tests when bookmarks aren't enabled. r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@217207 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 19:51:31 +00:00
joshmoz%gmail.com
402e8c42ee fix menu bar for menubarless dialogs. b=355138 r=hwaara r=mento sr=pinkerton
git-svn-id: svn://10.0.0.236/trunk@217206 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 19:26:41 +00:00
gavin%gavinsharp.com
2bda371186 Bug 361652: Remove extraneous files that differ only in case, r=morgamic
git-svn-id: svn://10.0.0.236/trunk@217205 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 19:25:55 +00:00
bzbarsky%mit.edu
d33fe96766 If we have an unsupported classid, bail out even if we have no URI. Bug
363379, r+sr=biesi


git-svn-id: svn://10.0.0.236/trunk@217202 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 16:31:42 +00:00
bzbarsky%mit.edu
1fdc2a2db8 Fix bug 363235 -- REJECT_SERVER is taken to mean "content is blocked by user",
and that's not what we want here.  r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@217201 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 15:32:46 +00:00
bzbarsky%mit.edu
78cfdd7ca8 Remove the consumers of GetScrollBarDimensions so that we can work on removing
the API too.  Bug 364301, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@217200 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 15:08:34 +00:00
cbiesinger%web.de
6e9115cd9c bug 261425
Make nsStandardURL::SetSpec and SetHost consistent with respect to handling
spaces in hostnames (i.e. make both return an error)
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@217199 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 15:07:14 +00:00
cbiesinger%web.de
133b9c1384 bug 357958 Ignore unsupported content encodings instead of making them a fatal
error
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@217198 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 15:03:17 +00:00
longsonr%gmail.com
2eb1d086cc Bug 363710 - Removing text node has no visible effect. r=jwatt, sr=roc
git-svn-id: svn://10.0.0.236/trunk@217195 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 13:15:37 +00:00
gijskruitbosch%gmail.com
3ed4c763e2 Bug 361781 - Backing out due to orange on older boxes.
git-svn-id: svn://10.0.0.236/trunk@217194 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 12:07:10 +00:00
gijskruitbosch%gmail.com
ab1187cc82 Bug 361781 - try nullchecking lib to fix orange.
git-svn-id: svn://10.0.0.236/trunk@217193 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 11:46:37 +00:00
silver%warwickcompsoc.co.uk
2c37efe634 Update version from 3.0a1 to 3.0a2; we hate you AMO.
ChatZilla only, NPODB.


git-svn-id: svn://10.0.0.236/trunk@217192 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 11:22:30 +00:00
martijn.martijn%gmail.com
c3140a39f3 Bug 312867 - Implement textbox.reset(), expose input's editor, r+sr=neil, r=gavin
git-svn-id: svn://10.0.0.236/trunk@217191 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 11:17:27 +00:00
gijskruitbosch%gmail.com
90e15eb199 Bug 361781 - nsIDomInternalWindow::GetAttention on GTK2 behaves non-optimal
r+sr=roc@ocallahan.org (Robert O'Callahan, Novell)


git-svn-id: svn://10.0.0.236/trunk@217190 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 11:01:12 +00:00
lpsolit%gmail.com
53078c46f2 Bug 339384: Make Bugzilla::Milestone use Bugzilla::Object - Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit a=justdave
git-svn-id: svn://10.0.0.236/trunk@217189 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 10:35:43 +00:00
lpsolit%gmail.com
82e79d9d8f Back out a change which is not part of the patch I reviewed and which breaks the list of flags to display on bug and attachment creation - see bug 335389
git-svn-id: svn://10.0.0.236/trunk@217187 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 09:38:11 +00:00
lpsolit%gmail.com
8d9b0dd2c2 Bug 364286: Code in Classification->products() is suboptimal - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
git-svn-id: svn://10.0.0.236/trunk@217185 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 08:38:49 +00:00
lpsolit%gmail.com
ba1bec1581 Bug 343635: Enabling classifications should add a tree view of classifications and products when entering a new bug - Patch by Frédéric Buclin <LpSolit@gmail.com> r=bkor a=justdave
git-svn-id: svn://10.0.0.236/trunk@217184 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 08:32:04 +00:00
reed%reedloden.com
1deb867b0e Bug 362546 - "Hide ancient code modules from list of current modules" [p=reed r=justdave]
git-svn-id: svn://10.0.0.236/trunk@217183 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 07:00:35 +00:00
reed%reedloden.com
94d0be48ed Bug 363681 - "Clean up poorly used subroutine prototypes" [p=reed r=justdave]
git-svn-id: svn://10.0.0.236/trunk@217182 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 06:55:03 +00:00
mkanat%bugzilla.org
4f0a60e4a0 Bug 364250: If a hook fails, no error is available for diagnosis
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=colin, a=myk


git-svn-id: svn://10.0.0.236/trunk@217181 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 06:43:10 +00:00
mkanat%bugzilla.org
c7ae56b4db Bug 339385: Make Bugzilla::Version use Bugzilla::Object
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=myk


git-svn-id: svn://10.0.0.236/trunk@217180 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 06:41:46 +00:00
mkanat%bugzilla.org
4a41fcb4c8 Bug 339380: Make Bugzilla::Component use Bugzilla::Object
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=myk


git-svn-id: svn://10.0.0.236/trunk@217179 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 06:39:29 +00:00
bzbarsky%mit.edu
92ae61a0e2 Use typesafe methods for getting style structs, for now. Bug 363605, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217175 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 04:16:09 +00:00
reed%reedloden.com
9c32bc40a2 Bug 364065 - "Disabling CC list <select> for logged-out users can make the list unscrollable" [p=reed r=bkor a=myk]
git-svn-id: svn://10.0.0.236/trunk@217174 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 04:05:58 +00:00
reed%reedloden.com
1fde8135c2 Bug 364167 - "no space in Attachments on this Bug:263" [p=reed r=LpSolit a=myk]
git-svn-id: svn://10.0.0.236/trunk@217173 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 04:03:49 +00:00
reed%reedloden.com
a3d85bc82c Bug 335389 - "flags should use '', '?', '+', '-' as option order" [p=reed r=LpSolit a=myk]
git-svn-id: svn://10.0.0.236/trunk@217172 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 04:01:32 +00:00
reed%reedloden.com
22201ca6f9 Bug 364094 - "login-small.html.tmpl's table needs an id for skinning" [p=reed r=LpSolit a=myk]
git-svn-id: svn://10.0.0.236/trunk@217171 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 03:59:21 +00:00
bzbarsky%mit.edu
ff23c0ece1 Make scrollframes use the pref width of the scrollbar, not the min width, for
determining pref width.  Fixes bug 363528, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@217169 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 02:53:05 +00:00
wtchang%redhat.com
ff4f6cd0b2 Bugzilla Bug 360933: removed dead code (for the plevent.h functions and for
Win16 support).
Modified Files:
	README.TXT
Removed Files:
	w16gui/.cvsignore w16gui/Makefile.in w16gui/popfile.c
	w16gui/popfind.c w16gui/popfont.c w16gui/poppad.c
	w16gui/poppad.h w16gui/poppad.ico w16gui/poppad.rc
	w16gui/popprnt0.c w16gui/readme.1st


git-svn-id: svn://10.0.0.236/trunk@217168 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 02:33:05 +00:00
wtchang%redhat.com
3d53310c7b Bugzilla Bug 360933: removed the 'windows' directory from CVS.
git-svn-id: svn://10.0.0.236/trunk@217167 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 02:25:11 +00:00
wtchang%redhat.com
45f6755c7f Bugzilla Bug 360933: removed dead code (for the plevent.h functions, which
have been moved to XPCOM).
Removed files: makefile readme.1st winevent.c


git-svn-id: svn://10.0.0.236/trunk@217166 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 02:21:06 +00:00
stridey%gmail.com
61417304b9 Camino only - Bug 330534: Show correct expiration date ('On Quit') for session cookies. Patch by cl <bugzilla@chrislawson.net>. r=murph sr=smorgan
git-svn-id: svn://10.0.0.236/trunk@217163 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 00:08:35 +00:00
neil%parkwaycc.co.uk
b5e860555f Fix missing icons b=364115 r=Mnyromyr
git-svn-id: svn://10.0.0.236/trunk@217162 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 00:03:39 +00:00
stridey%gmail.com
a0468bf49f Camino only - Missed nib for bug 359662.
git-svn-id: svn://10.0.0.236/trunk@217161 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 00:00:37 +00:00
nrthomas%gmail.com
e64140f3d0 Bump version to 1.{5,8}.0.10pre for Fx,Tb, & XR. Bug 360034, r=rhelmer
git-svn-id: svn://10.0.0.236/trunk@217157 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 23:41:27 +00:00
nrthomas%gmail.com
ffdacda0c4 Bump version to 2.0.0.2pre for Firefox & XULRunner. Bug 360585, r=rhelmer
git-svn-id: svn://10.0.0.236/trunk@217155 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 23:31:21 +00:00
Olli.Pettay%helsinki.fi
fe5981e170 Bug 364125, middle-click on scroll bar keeps scrolling until the left mouse button is pressed, p=badsector@slashstone.com, r=me, sr=roc
git-svn-id: svn://10.0.0.236/trunk@217154 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 22:45:07 +00:00
dbaron%dbaron.org
244455b8f1 Fix shadowing variable name. No bug.
git-svn-id: svn://10.0.0.236/trunk@217153 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 22:35:01 +00:00
dbaron%dbaron.org
c31903a4f8 Fix handling of columns in which no cell originates (i.e., unneeded extra colspan). b=363329 Patch from Bernd Mielke, bmlk%gmx.de, with review comments addressed by me. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217152 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 22:34:30 +00:00
cbiesinger%web.de
35043a79c8 bug 362673
Document that nsISocketTransport::securityInfo is only set once the socket is
connected, and document how to trigger connection setup.
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@217151 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 21:52:24 +00:00
tony%ponderer.org
d5e888b6d3 bug 352788: New Firefox versions result in a new pref entry for rc4 key
patch: only use getkey url up until ?
r=mmchew


git-svn-id: svn://10.0.0.236/trunk@217149 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 20:47:49 +00:00
mozilla.mano%sent.com
6ac04ea189 Bug 362578 - 'autocheck' doesn't work in cocoa widget menus. r=josh, sr=pinkerton.
git-svn-id: svn://10.0.0.236/trunk@217148 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 20:14:47 +00:00
stridey%gmail.com
52bf0d8945 Camino only - Bug 328737: Destination should be consistently remembered when saving bookmarks. Patch by hwaara <hwaara@gmail.com> and cl <bugzilla@chrislawson.net>. r=smorgan sr=pink
git-svn-id: svn://10.0.0.236/trunk@217147 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 20:02:18 +00:00
joshmoz%gmail.com
b3542cd914 don't use quartz/qd font prefs under cairo. b=363501 r=mento r=smorgan
git-svn-id: svn://10.0.0.236/trunk@217146 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 19:50:14 +00:00
nrthomas%gmail.com
51df5e36ad Bump version to 1.9a2pre/3.0a2pre in XULRunner/Firefox nighty files config. Bug 362418, r=rhelmer
git-svn-id: svn://10.0.0.236/trunk@217145 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 19:40:54 +00:00
stridey%gmail.com
a525ee455c Camino only - Bug 240760:Make Find menu item focus the quicksearch field when in the bookmark manager. r=smorgan sr=pink
git-svn-id: svn://10.0.0.236/trunk@217144 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 19:35:01 +00:00
rhelmer%mozilla.com
32e67f7ce5 bump version to 3.0a2pre/1.9a2pre b=362418 r=preed
git-svn-id: svn://10.0.0.236/trunk@217143 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 19:28:36 +00:00
Olli.Pettay%helsinki.fi
ef488fc7b6 Bug 364092, Related node on DOMAttrModifed listener isn't the same as attr node removed by RemoveAttributeNode, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@217142 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 19:15:57 +00:00
lpsolit%gmail.com
cc90217d30 Bug 364013: "Add individual bugs to..." should be reworded - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
git-svn-id: svn://10.0.0.236/trunk@217141 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 19:08:35 +00:00
stridey%gmail.com
ff3d4a4248 Camino only - Bug 361049:Keep zoom-to-fit from failing miserably. Patch by Torben <torben@Spamfence.net>. r=smorgan sr=pink
git-svn-id: svn://10.0.0.236/trunk@217140 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 19:08:12 +00:00
stridey%gmail.com
a3fb812bd4 Camino only - Bug 359662: Fix validation of Bookmark menu helper items. r=smorgan sr=pink
git-svn-id: svn://10.0.0.236/trunk@217139 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 18:52:47 +00:00
stridey%gmail.com
6fdd0f79fc Camino only - Bug 359662: Fix validation of Bookmark menu helper items. r=smorgan sr=pink
git-svn-id: svn://10.0.0.236/trunk@217138 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 18:44:53 +00:00
joshmoz%gmail.com
0ac4b9b246 JEP 0.9.6. b=364158 r=josh sr=pinkerton
git-svn-id: svn://10.0.0.236/trunk@217137 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 18:38:56 +00:00
stuart.morgan%alumni.case.edu
2bb0b7649f Camino only - Bug 363600: Periodically auto-save window state for crash recovery. r=cl sr=pink
git-svn-id: svn://10.0.0.236/trunk@217136 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 18:38:48 +00:00
stridey%gmail.com
be988612ec Camino only - Bug 346228:Use files' actual icons for favicons of local files. r=murph sr=pink
git-svn-id: svn://10.0.0.236/trunk@217135 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 18:28:57 +00:00
Olli.Pettay%helsinki.fi
191ed00378 Bug 363879, deCOMtaminate nsGrid dir, part 2, p=Andreas Lange, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@217134 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 18:25:48 +00:00
stridey%gmail.com
4e29e718b8 Camino only - Bug 363435:Make bookmark keyword case-insensitive. r=murph sr=pink
git-svn-id: svn://10.0.0.236/trunk@217133 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 18:18:39 +00:00
stridey%gmail.com
90d70d08fd Camino only - Bug 362609: Change font of 'Like Times'/'Like Helvetica' hint text to always reflect the text. r=smorgan sr=pink
git-svn-id: svn://10.0.0.236/trunk@217131 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 18:15:13 +00:00
Olli.Pettay%helsinki.fi
42687d7b53 Bug 363450, implement nsIScriptEventHandlerOwner as a tearoff, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@217130 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 17:52:04 +00:00
richm%stanfordalumni.org
474babe745 svrcore was still using the -e test which is broken with test on traditional unix bourne shell systems
git-svn-id: svn://10.0.0.236/trunk@217129 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 17:01:07 +00:00
wsharp%adobe.com
74ea3bce3d bug 360602. fix mac build from recent checkin
git-svn-id: svn://10.0.0.236/trunk@217128 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 16:43:46 +00:00
wsharp%adobe.com
be49a384fb bug 360602. 64-bit porting work. review: stejohns.adobe.com
git-svn-id: svn://10.0.0.236/trunk@217127 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 16:04:48 +00:00
gerv%gerv.net
00c98834ad Bug 358399 - make "dot" munging in email addresses global, instead of just doing the first one.
git-svn-id: svn://10.0.0.236/trunk@217125 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 15:33:38 +00:00
hwaara%gmail.com
303f0e17cd Initial support for making comboboxes (for example the location bar in firefox) accessible. r=surkov, b=362079
Don't use performance-intensive NSAccessibilityUnignoredChildren() API since we no longer have to. r=surkov, b=363713


git-svn-id: svn://10.0.0.236/trunk@217123 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 13:57:37 +00:00
mats.palmgren%bredband.net
277be83fff Rename ComputeHorizontalValue to ComputeWidthDependentValue (ditto for height) and some minor cleanup. b=364131 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217122 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 13:20:18 +00:00
neil%parkwaycc.co.uk
f5951dc23f Bug 364116 Virtual Folder list contains an extraneous splitter r=mscott
git-svn-id: svn://10.0.0.236/trunk@217121 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 10:52:48 +00:00
neil%parkwaycc.co.uk
29ed8be6fd Bug 363725 Make about:logo work in (some) toolkit apps r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@217120 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 10:51:10 +00:00
daniel.boelzle%sun.com
5f98fd61e5 Bug 361057: minding asynchronous provider responses
git-svn-id: svn://10.0.0.236/trunk@217119 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 10:51:09 +00:00
stridey%gmail.com
8a17b47167 Camino only - Bug 364075:Ensure that separators in bookmarks bar always appear as separators. r=cl sr=smorgan
git-svn-id: svn://10.0.0.236/trunk@217118 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 07:53:21 +00:00
ginn.chen%sun.com
9b0d86d308 Bug 359790 set text doesn't work correctly for XUL entry
patch by nian.liu at sun.com r=ginn.chen


git-svn-id: svn://10.0.0.236/trunk@217117 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 07:02:03 +00:00
jwalden%mit.edu
efabeb8450 Bug 364104 - Fix two bugs: one in array.indexOf with first argument === array[array.length-1] and second argument >= array.length, and another in array.lastIndexOf with first argument === array[0] and with second argument < -array.length. r=brendan
git-svn-id: svn://10.0.0.236/trunk@217116 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 06:43:02 +00:00
bzbarsky%mit.edu
68ad73677a Fix bug 364192 -- assert was backwards.
git-svn-id: svn://10.0.0.236/trunk@217115 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 05:08:01 +00:00
reed%reedloden.com
d2031ae9a0 Bug 338845 - "[BUGZILLA] Mozbot incorrectly parses the "changed:" line" (fix for previous fix) [p=reed r=mkanat]
git-svn-id: svn://10.0.0.236/trunk@217114 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 05:02:09 +00:00
bzbarsky%mit.edu
3c5c5f02b3 Fix build bustage. Still bug 363406
git-svn-id: svn://10.0.0.236/trunk@217113 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 04:06:21 +00:00
bzbarsky%mit.edu
a9fd8779bf Fix bug 363406, patch by Nickolay Ponomarev <asqueella@gmail.com>,
r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@217112 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 03:59:46 +00:00
bzbarsky%mit.edu
e92b9baa88 Forgot file for bug 363637. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217111 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 03:34:05 +00:00
bzbarsky%mit.edu
c3dbe09fe8 Adding regression test.
git-svn-id: svn://10.0.0.236/trunk@217110 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 03:29:35 +00:00
bzbarsky%mit.edu
6cab0c0057 Remove some unused table code. Bug 359139, r=bernd, sr=roc
git-svn-id: svn://10.0.0.236/trunk@217109 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 03:04:25 +00:00
bzbarsky%mit.edu
e9cbfbe714 Fix computation of a hypothetical box for abs pos frames which are descendants
of a rel-pos block.  Bug 363637, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@217108 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 03:00:23 +00:00
roc+%cs.cmu.edu
f50a7d874f Bug 363767. Add AppendElements() API (that appends empty elements) to nsTArray. r=sicking,sr=darin
git-svn-id: svn://10.0.0.236/trunk@217103 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 01:17:23 +00:00
cbiesinger%web.de
bb74327ee2 bug 275116 use the safe version of ObjectAt as required by the documentation
patch by Andreas Lange <mozilla@lange.cx> r=darin sr=biesi


git-svn-id: svn://10.0.0.236/trunk@217102 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-17 21:59:26 +00:00
sharparrow1%yahoo.com
f3db88e798 Bug 363770: Fix print crash caused by premature release of print engine. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@217101 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-17 21:39:03 +00:00
uriber%gmail.com
9de31d2467 Fix calculation of margin forced to "auto" when both margins and width are specified but together smaller than available width. bug=364079 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217099 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-17 17:02:22 +00:00
uriber%gmail.com
c44fa5a890 Always set wordLen to -1 before calling tx.GetNextWord() from AddInline[Min|Pref]Width, so that GetNextWord() will look at the entire content. bug=363732, r=smontagu sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217098 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-17 16:57:15 +00:00
szegedia%freemail.hu
260f663015 finalizers should be protected
git-svn-id: svn://10.0.0.236/trunk@217097 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-17 15:39:48 +00:00
szegedia%freemail.hu
234bf62c7f Don't invoke System.gc
git-svn-id: svn://10.0.0.236/trunk@217096 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-17 15:39:36 +00:00
szegedia%freemail.hu
369c9de239 Smaller sanity fixes - removal of unnecessary casts and local variables
git-svn-id: svn://10.0.0.236/trunk@217095 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-17 15:37:19 +00:00
szegedia%freemail.hu
189e48f949 Fix for #351664: more usable error message in JavaScriptException
git-svn-id: svn://10.0.0.236/trunk@217094 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-17 15:14:31 +00:00
szegedia%freemail.hu
6ef01a7395 Fix for #359411, courtesy of Hannes Wallnoefer
git-svn-id: svn://10.0.0.236/trunk@217093 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-17 14:42:39 +00:00
gijskruitbosch%gmail.com
6db791dd9e General whitespace and code style cleanup in ircbot and mingus code. No bug.
r=Silver on IRC (James Ross)
ChatZilla Only.


git-svn-id: svn://10.0.0.236/trunk@217092 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-17 14:40:31 +00:00
szegedia%freemail.hu
2337902323 Fix for #359411: make it serializable
git-svn-id: svn://10.0.0.236/trunk@217091 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-17 14:33:47 +00:00
szegedia%freemail.hu
20d2cd4e7f Reduce race condition opportunity
git-svn-id: svn://10.0.0.236/trunk@217090 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-17 14:29:34 +00:00
mats.palmgren%bredband.net
34a45a87f6 Make the CSS 'ch' length unit work in most cases. b=363573 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217089 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-17 14:06:42 +00:00
szegedia%freemail.hu
ae532eaa4c Fix for #361574
git-svn-id: svn://10.0.0.236/trunk@217088 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-17 13:16:46 +00:00
gijskruitbosch%gmail.com
d70e78ae3d Bug 232817 - make IRC library work under XPCShell and Rhino
r=silver@warwickcompsoc.co.uk (James Ross)
ChatZilla Only.


git-svn-id: svn://10.0.0.236/trunk@217087 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-17 11:07:40 +00:00
gijskruitbosch%gmail.com
bc90c345ce Bug 235169 - ChatZilla's motifs should style the userlist and other UI elements
r=silver@warwickcompsoc.co.uk (James Ross)
ChatZilla Only.


git-svn-id: svn://10.0.0.236/trunk@217086 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-17 10:24:19 +00:00
timeless%mozdev.org
ed823955bc Bug 363046 libgfxps.a to lubxul.so link error - Bustage caused by printing on linux bug 323928
patch by laurent@xulfr.org r=bsmedberg sr=pavlov


git-svn-id: svn://10.0.0.236/trunk@217084 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-17 09:19:25 +00:00
igor.bukanov%gmail.com
e88ea52827 Bug 362909: Faster debugging of function calls. r=brendan
git-svn-id: svn://10.0.0.236/trunk@217081 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-17 01:58:54 +00:00
mnyromyr%tprac.de
dc998a3990 Bug 199318: Keyboard shortcut for opening new tabs works differently than documented; p=Bruno 'Aqualon' Escherl <aqualon@aquachan.de>, r=stefanh
git-svn-id: svn://10.0.0.236/trunk@217080 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-17 01:12:31 +00:00
cst%yecc.com
1193a6e776 Bug 343893 Add events for watching the addition and removal of tabs (API compatibility w/Firefox)
r=neil


git-svn-id: svn://10.0.0.236/trunk@217079 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-17 00:45:08 +00:00
reed%reedloden.com
1289b6300e Bug 338845 - "[BUGZILLA] Mozbot incorrectly parse the 'from' field" [p=reed r=timeless]
git-svn-id: svn://10.0.0.236/trunk@217078 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 23:51:27 +00:00
bugzilla%arlen.demon.co.uk
90ab419152 Bug 360777 Change nsIAbCard::EditCardToDatabase to nsIAbDirectory::ModifyCard - fix for SM (also includes port of TB Bug 363993)
p=me r=standard8 sr=mscott


git-svn-id: svn://10.0.0.236/trunk@217077 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 23:20:30 +00:00
martijn.martijn%gmail.com
38d94bf132 Bug 364039 - Plugin placeholder is not styled anymore, r=mano
git-svn-id: svn://10.0.0.236/trunk@217076 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 22:53:50 +00:00
gijskruitbosch%gmail.com
00962ab102 Bug 361914 - hostmasks should not be formatted as mailto urls
r=silver@warwickcompsoc.co.uk (James Ross)
ChatZilla Only.


git-svn-id: svn://10.0.0.236/trunk@217075 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 22:24:04 +00:00
cst%yecc.com
c36d7ddc21 Bug 363792 tabbrowser destructor loops over array that's length of tabpanels rather than length of tabs
r=neil


git-svn-id: svn://10.0.0.236/trunk@217073 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 21:14:38 +00:00
gijskruitbosch%gmail.com
9d7a5d3eb7 Bug 349137 - no way to disable bugzilla munging on a per-channel basis
p=bonzini@gnu.org (Paolo Bonzini)
r=silver@warwickcompsoc.co.uk (James Ross)
ChatZilla Only.


git-svn-id: svn://10.0.0.236/trunk@217072 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 20:32:52 +00:00
neil%parkwaycc.co.uk
9a850ce752 Fix possible referrer spoofing b=363179 r=IanN sr=jag
git-svn-id: svn://10.0.0.236/trunk@217071 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 20:10:37 +00:00
brendan%mozilla.org
4f1c139293 Fix for 363988 from shutdown@flashmail.com, r=me.
git-svn-id: svn://10.0.0.236/trunk@217070 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 20:01:05 +00:00
neil%parkwaycc.co.uk
ed4258cef2 Bug 360908 Account Wizard "Finish" should be "Done" on Mac p=sugar.waffle@gmail.com (Hiro) r=me sr=mscott
git-svn-id: svn://10.0.0.236/trunk@217069 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 19:59:31 +00:00
sayrer%gmail.com
3ef429d26e Bug 364070. Places bookmark import running when places bookmarks are not enabled. r=mano.
git-svn-id: svn://10.0.0.236/trunk@217068 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 19:12:52 +00:00
lpsolit%gmail.com
54e7222b48 Bug 364055: Message confusing when your version of DBD::foo is too old - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
git-svn-id: svn://10.0.0.236/trunk@217067 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 16:30:22 +00:00
szegedia%freemail.hu
64ac797ac7 Fix for #342807: Error objects can have automatic "fileName" and "lineNumber" properties
git-svn-id: svn://10.0.0.236/trunk@217066 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 16:15:59 +00:00
szegedia%freemail.hu
b609e76c15 Fix for #342807: Error objects can have automatic "fileName" and "lineNumber" properties
git-svn-id: svn://10.0.0.236/trunk@217065 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 16:08:07 +00:00
szegedia%freemail.hu
e5bf34b183 Fix for #361616
git-svn-id: svn://10.0.0.236/trunk@217064 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 15:27:39 +00:00
gavin%gavinsharp.com
072db601f3 Mac bustage fix for bug 361351
git-svn-id: svn://10.0.0.236/trunk@217063 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 15:11:56 +00:00
gavin%gavinsharp.com
c8cffe7fb1 Bug 363734: update French DOMi locale, patch by Cédric Corazza <cedric.corazza@wanadoo.fr>, r=bugzilla.fr@gmail.com
git-svn-id: svn://10.0.0.236/trunk@217062 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 14:59:17 +00:00
gavin%gavinsharp.com
eef25bc48a Bug 363138: Extra separator on mail context menu, patch by Neuos (formerly Paradigm K.) <neuos@technodrome.com>, r=IanN, sr=Neil
git-svn-id: svn://10.0.0.236/trunk@217061 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 14:57:33 +00:00
gavin%gavinsharp.com
bccaa15503 Bug 361351: nsIFile.exists() should throw NOT_INITIALIZED if nsIFile is not initialized, patch by Ryan Jones <sciguyryan+bugzilla@gmail.com>, r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@217060 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 14:55:00 +00:00
gavin%gavinsharp.com
51a92482a0 Bug 358512: notification sliding does not complete last step, patch by Mook <mook.moz+sites.org.mozilla.bugzilla@gmail.com>, r=enndeakin
git-svn-id: svn://10.0.0.236/trunk@217058 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 14:48:12 +00:00
gavin%gavinsharp.com
574c3e161b Bug 348520: remove threadpane.dtd from thunderbird, patch by Magnus Melin <mkmelin+mozilla@iki.fi>, r=bienvenu
git-svn-id: svn://10.0.0.236/trunk@217057 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 14:46:18 +00:00
gavin%gavinsharp.com
9400380c7a Bug 345121: Option "File replies in folder of original message" disabled, patch by Magnus Melin <mkmelin+mozilla@iki.fi>, r=mscott
git-svn-id: svn://10.0.0.236/trunk@217055 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 14:42:57 +00:00
gavin%gavinsharp.com
af54921f6e Bug 320468: SetDelayCaretOverExistingSelection is unused, patch by Adam Guthrie <ispiked@gmail.com>, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217054 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 14:40:44 +00:00
gavin%gavinsharp.com
053886d76a Bug 307058: Folder Properties dialog's Retention Policy tab has incorrectly aligned captions, patch by Magnus Melin <mkmelin+mozilla@iki.fi>, r=mscott
git-svn-id: svn://10.0.0.236/trunk@217052 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 14:38:07 +00:00
gavin%gavinsharp.com
bc4d6b90ec Bug 269254: fix bug in utf16ToUcs4()'s returned length, patch by Ryan Jones <sciguyryan+bugzilla@gmail.com>, r+sr=biesi
git-svn-id: svn://10.0.0.236/trunk@217051 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 14:36:12 +00:00
gavin%gavinsharp.com
6fd6852c5a Bug 262866: Invalid path offered when file already exists (Save all attachments), patch by Magnus Melin <mkmelin+mozilla@iki.fi>/Katsuhiro MIHARA <katsuhiromihara@goo.jp>, r+sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@217050 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 14:34:12 +00:00
gavin%gavinsharp.com
7a9f44f99f Bug 212852: Browser assumes ftp protocol for URL's beginning with 'ftp' and written without protocol in address field, patch by Magnus Melin <mkmelin+mozilla@iki.fi>, r=biesi, sr=darin
git-svn-id: svn://10.0.0.236/trunk@217049 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 14:32:19 +00:00
gavin%gavinsharp.com
1b320b5fc0 Bug 364041: failure to detect SeaMonkey (>= 1.0) as valid default browsers, which breaks first-startup profile migration, r=mano
git-svn-id: svn://10.0.0.236/trunk@217048 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 14:30:05 +00:00
gavin%gavinsharp.com
f9ef193f2b Bug 364042: first startup profile migration is broken, r=mano
git-svn-id: svn://10.0.0.236/trunk@217047 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 14:27:58 +00:00
bugzilla%standard8.demon.co.uk
30cb571fb8 Bug 361683 Help buttons missing for mailnews items in suiterunner builds r=iann_bugzilla
git-svn-id: svn://10.0.0.236/trunk@217046 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 08:39:20 +00:00
stridey%gmail.com
81378dcdb4 Camino only - Missed strings from Bug 356708: Make the corrupted bookmark dialog less jargony.
git-svn-id: svn://10.0.0.236/trunk@217045 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 07:41:47 +00:00
rhelmer%mozilla.com
415dc71d70 updates for 1508, reverse order so more critical operations (partials) run first
git-svn-id: svn://10.0.0.236/trunk@217043 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 06:57:08 +00:00
rhelmer%mozilla.com
b8b5b3bed7 initialize config variables between runs b=363871 r=tfullhart
git-svn-id: svn://10.0.0.236/trunk@217042 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 06:50:46 +00:00
stridey%gmail.com
6c316c2f62 Bug 362042: Remove pre-Cocoa-Cairo remnants from basebrowser-mac-macho. Patch by ardissone <alqahira@ardisson.org>. r=smorgan sr=mento
git-svn-id: svn://10.0.0.236/trunk@217041 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 04:58:25 +00:00
dbaron%dbaron.org
806b1c5919 Use unsigned value with 1-bit field width, per sicking's advice. No bug.
git-svn-id: svn://10.0.0.236/trunk@217040 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 02:11:38 +00:00
mkanat%bugzilla.org
4bdf98635a Bug 345405: showdependencygraph.cgi: Dependency Graphs are broken on mod_perl
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=myk


git-svn-id: svn://10.0.0.236/trunk@217039 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 01:47:12 +00:00
igor.bukanov%gmail.com
78871b5335 Bug 363057: Propagating cx to MakeStringImmutable so it can properly report out-of-memory. r=brendan
git-svn-id: svn://10.0.0.236/trunk@217038 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 01:27:48 +00:00
scott%scott-macgregor.org
1f800eac06 Bug #362241 --> thread pane selection is lost when thunderbird compacts folders in the background. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@217037 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 01:13:55 +00:00
scott%scott-macgregor.org
be46cbbe58 Bug #363993 --> ModifyCard is not a property of nsIAbMDBDirectory, it is a property of nsIAbDirectory. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@217036 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 01:11:58 +00:00
scott%scott-macgregor.org
b916ccaa6b Bug #363979 --> Package storage.xpt and dom_storage.xpt files. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@217035 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 01:09:29 +00:00
scott%scott-macgregor.org
8e18cf5784 Bug #362754 --> improve the english translation of the confirm phishing url entity string. Not changing the meaning at all. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@217034 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 01:04:08 +00:00
dbaron%dbaron.org
d0ca35d600 Fix crash regression by doing the best we can for computed padding/margin when there's no frame. b=363950 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@217033 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 23:39:43 +00:00
bzbarsky%mit.edu
7bb79c2d4b Fix warning. Bug 347705, no review.
git-svn-id: svn://10.0.0.236/trunk@217032 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 23:15:58 +00:00
ghendricks%novell.com
9cb03f81f3 Versions are converted to numbers instead of strings
git-svn-id: svn://10.0.0.236/trunk@217031 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 21:42:55 +00:00
bzbarsky%mit.edu
ea96e4cb5d Fix error in previous patch for bug 348691. Reviews pending.
git-svn-id: svn://10.0.0.236/trunk@217030 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 21:39:30 +00:00
bienvenu%nventure.com
1f917eac36 fix removing of a single default tag (the old labels), sr=mscott 348752
git-svn-id: svn://10.0.0.236/trunk@217029 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 20:45:14 +00:00
ghendricks%novell.com
2bf5a4b941 Bugzilla Bug 358424
hyperlinks do not work


git-svn-id: svn://10.0.0.236/trunk@217027 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 20:08:48 +00:00
ghendricks%novell.com
afe69a2f31 update multiple was setting the status when it shouldn't
links to csv were broken on opensource
removed unused file


git-svn-id: svn://10.0.0.236/trunk@217026 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 19:49:55 +00:00
mozilla%weilbacher.org
c6bdce8b5b Bug 351246 (Part 4). Recreated configure was still missing
git-svn-id: svn://10.0.0.236/trunk@217025 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 19:00:57 +00:00
cltbld
8bf319306a Automated update from host egg.build.mozilla.org
git-svn-id: svn://10.0.0.236/trunk@217024 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 18:41:02 +00:00
sspitzer%mozilla.org
7393a57057 fix for bug #355738
re-enable places by default.  note, this will not enable all of places, just
history on top of places.

also note, we are using places.sqlite now (and not bookmarks_history.sqlite)
because the schema has changed.

r=mconnor


git-svn-id: svn://10.0.0.236/trunk@217023 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 18:40:08 +00:00
sayrer%gmail.com
bfebe8d327 Bug 309085. False positives from FeedHandler.harvestFeeds hide distinct feeds. r=gavin, ui-r=beltzner
git-svn-id: svn://10.0.0.236/trunk@217021 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 17:57:43 +00:00
joshmoz%gmail.com
c88dde303d remove unused code from cocoa cursor code. b=363629 r=cbarrett r=smorgan
git-svn-id: svn://10.0.0.236/trunk@217020 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 17:32:16 +00:00
ghendricks%novell.com
556386aa24 add support for creating object from env and build
git-svn-id: svn://10.0.0.236/trunk@217019 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 16:57:30 +00:00
bienvenu%nventure.com
9fb28f6487 don't send rtf or vcs files as text/plain, sr=mscott 363764
git-svn-id: svn://10.0.0.236/trunk@217017 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 16:20:32 +00:00
bugzilla%standard8.demon.co.uk
7d981cbbbd SeaMonkey doesn't need to enter xpfe/communicator any more (part of Bug 363266 - Simplify some ifdefs/Restructure some DIRS under xpfe/) r=KaiRo,benjamin
git-svn-id: svn://10.0.0.236/trunk@217016 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 15:22:04 +00:00
lpsolit%gmail.com
2d6deb20ac Bug 363894: Use a better date format in notifications about user account creation and email address change (and include the timezone too) - Patch by Frédéric Buclin <LpSolit@gmail.com> r=timeless a=myk
git-svn-id: svn://10.0.0.236/trunk@217015 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 12:30:02 +00:00
Olli.Pettay%helsinki.fi
cb11b4c039 Bug 363879, deCOMtaminate nsGrid dir, p=Andreas Lange, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@217014 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 12:18:37 +00:00
igor.bukanov%gmail.com
617bf0b194 Bug 313967: function body parser use the shared recycle list. r=brendan
git-svn-id: svn://10.0.0.236/trunk@217013 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 10:50:20 +00:00
thomas.benisch%sun.com
844598e406 bug #350323 add selected calendar to composite calendar r=lilmatt
git-svn-id: svn://10.0.0.236/trunk@217012 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 10:28:57 +00:00
thomas.benisch%sun.com
8cdd4af922 bug #362930 Selected calendar will not be restored after restart of Lightning r=lilmatt
git-svn-id: svn://10.0.0.236/trunk@217011 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 10:17:07 +00:00
uriber%gmail.com
50a51cb08d Bug 363378: Caret gets stuck (or moves incorrectly) in empty table cells when using left/right arrow keys. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@217008 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 09:32:24 +00:00
brendan%mozilla.org
e3be1c2962 Fix 363917, r=igor.
git-svn-id: svn://10.0.0.236/trunk@217007 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 08:00:13 +00:00
bzbarsky%mit.edu
3723073263 Adding testcase.
git-svn-id: svn://10.0.0.236/trunk@217006 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 06:37:07 +00:00
ginn.chen%sun.com
deac34db38 Bug 359790 set text doesn't work correctly for XUL entry
patch by nian.liu at sun.com r=aaronleventhal


git-svn-id: svn://10.0.0.236/trunk@217005 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 06:28:11 +00:00
ajschult%verizon.net
82b497bce0 Bug 363804: new / delete / free mismatch in mimeobj. r+sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@217004 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 03:53:31 +00:00
ajschult%verizon.net
68fe64450f Bug 363678: have fast-update use non-recursive bonsai queries for local directories. r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@217003 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 03:43:18 +00:00
martijn.martijn%gmail.com
d1b4f97646 Partial back-out of patch for bug 330705 to fix the regressions it caused
git-svn-id: svn://10.0.0.236/trunk@217002 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 02:50:57 +00:00
jwalden%mit.edu
6262239dc7 Bug 342877 - Substantially revamp/rewrite the testing-only HTTP server used in necko unit tests, making it suitable for use in Mozilla tests which require files be stored on an HTTP server (e.g. because the test depends on certain HTTP headers being set or not set, the functionality uses HTTP, etc.) but which don't require that the server have a specified hostname. Docs, implementation, and tests (!) are in netwerk/test/httpserver/; if you have questions about using the server in unit tests or have some use case which the server could support better or doesn't support at all, CC me on the bug and I'll see how I can help. Huge (huge) thanks to biesi for the review of the huge patch. r=davel on test-harness changes, r=biesi on the server and test changes
git-svn-id: svn://10.0.0.236/trunk@217001 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 02:13:54 +00:00
roc+%cs.cmu.edu
23b002054c Bug 359371. Calculate correct available content-height when a float has border or padding. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217000 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 01:52:53 +00:00
dbaron%dbaron.org
0190abe263 Use hidden visibility for JPEG lib when we build it. b=359461 r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@216999 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 00:27:53 +00:00
dbaron%dbaron.org
3ca8e8e2ff Add lber.h, used by LDAP code. b=363679 r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@216998 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 00:24:25 +00:00
Olli.Pettay%helsinki.fi
aec65575d1 Bug 336574, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@216997 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 00:23:39 +00:00
mattwillis%gmail.com
8d457acb68 bug 363275 - Makes week printout show correct dates for timezones with positive offset from UTC. r1=ssitter, r2=dmose
git-svn-id: svn://10.0.0.236/trunk@216996 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-14 23:26:39 +00:00
bzbarsky%mit.edu
58c4c002b2 Adding regression test.
git-svn-id: svn://10.0.0.236/trunk@216995 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-14 22:35:52 +00:00
joshmoz%gmail.com
d784b86bc6 Apple Event handling for use with Cocoa widgets. Patch by Stan Shebs. b=355352 r=josh moa=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@216994 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-14 22:00:46 +00:00
mozilla%weilbacher.org
9c4f11abbe [OS/2] Bug 265798: add min-height to make new toolbar visible, p=philringnalda, r(OS/2 only)=me
git-svn-id: svn://10.0.0.236/trunk@216992 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-14 21:54:49 +00:00
Olli.Pettay%helsinki.fi
bbd39f5447 Bug 363817, nsVoidArray mAttachedStack to nsTArray<nsRefPtr<nsXBLBinding> >, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@216991 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-14 21:32:10 +00:00
benjamin%smedbergs.us
0327ccd65c Bug 363079 - MozillaBuild for Windows, initial cut (there are still known bugs to fix, and need to implement an installer), r=preed
git-svn-id: svn://10.0.0.236/trunk@216990 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-14 20:44:58 +00:00
wtchang%redhat.com
2e366638ed [OS/2] Bug 351246: Load Mozilla into Highmem on OS/2. Part 2, changes to
NSPR. By Peter Weilbacher <mozilla@weilbacher.org>. r=mkaply, sr=wtc


git-svn-id: svn://10.0.0.236/trunk@216989 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-14 19:29:25 +00:00
benjamin%smedbergs.us
0a46d346a5 Bug 361413 - Build succeeds even when arch-specific xptcall is not implemented, r=timeless
git-svn-id: svn://10.0.0.236/trunk@216988 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-14 19:13:43 +00:00
sayrer%gmail.com
6dacac1bce Bug 358946. Let the places unit tests pass. r=sspitzer,mano
git-svn-id: svn://10.0.0.236/trunk@216987 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-14 17:28:52 +00:00
ghendricks%novell.com
2432c46853 Cleared up some inconsistencies with caserun editing
git-svn-id: svn://10.0.0.236/trunk@216986 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-14 17:25:17 +00:00
richm%stanfordalumni.org
96a84d4d49 Resolves: bug 299995
Description: Use PK11_TokenKeyGenWithFlags instead of PK11_KeyGen
Fix Description: Use the new function and pass in CKF_ENCRYPT|CKF_DECRYPT
as the keygen flags.


git-svn-id: svn://10.0.0.236/trunk@216984 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-14 17:09:17 +00:00
richm%stanfordalumni.org
ff18d41b73 Resolves: bug 363168
Description: Add autotool support to svrcore; have svrcore build shared libs
Fix Description: This is a pretty basic autotool-ization using libtool
to build the shared library.  The vast majority of the work was done
by Toshio-san.  However, there are a couple of extras worth noting:
1) Windows builds are different now.  In order to build on Windows using
the MSVC compiler, you still have to use coreconf.  I just could not get
configure/libtool to work correctly with the MSVC compiler.  The old
makefile has been moved to src/Makefile.win, so you just have to
 cd src ; make -f Makefile.win
I also updated the README and INSTALL.win to add this information.
2) I added some m4 files to find and figure out which nspr and nss to use
based on the environment and pkg-config.


git-svn-id: svn://10.0.0.236/trunk@216983 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-14 17:07:32 +00:00
martijn.martijn%gmail.com
8dc347cd42 Bug 330705 - Using blur() on some unfocused element also blurs the focused element, r=jst, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@216982 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-14 13:59:50 +00:00
Olli.Pettay%helsinki.fi
46b0b0fc24 Bug 363810, strong reference to owner document while deleting properties, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@216981 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-14 11:31:28 +00:00
michael.buettner%sun.com
763bbd0e47 fixed sign-problem with alarmOffset
git-svn-id: svn://10.0.0.236/trunk@216979 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-14 08:24:56 +00:00
dbaron%dbaron.org
56a1a43b54 Forgot to rev IID. b=332922
git-svn-id: svn://10.0.0.236/trunk@216978 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-14 08:00:53 +00:00
masayuki%d-toybox.com
01992f3d68 Bug 363410 Implement font-size-adjust on Linux r=pavlov
git-svn-id: svn://10.0.0.236/trunk@216977 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-14 04:14:06 +00:00
masayuki%d-toybox.com
731c5162cb Bug 362428 [Cairo] 'normal' keyword for line-height is too tall with 'Lucida Grande'. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@216976 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-14 04:12:40 +00:00
reed%reedloden.com
89a837d71f Bug 363739 - "graph.html has several validation errors" [p=reed r=thunder]
git-svn-id: svn://10.0.0.236/trunk@216975 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-14 03:57:26 +00:00
cst%yecc.com
04fcda6a25 Bug 358553 Disabled and checked menuitems should always have disabled checkmarks
Images by stefanh, r+sr=neil


git-svn-id: svn://10.0.0.236/trunk@216973 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-14 03:31:58 +00:00
cst%yecc.com
b8a69ce731 Bug 358553 Disabled and checked menuitems should always have disabled checkmarks
Patch by stefanh <stefanh@bluebottle.com>
r+sr=neil


git-svn-id: svn://10.0.0.236/trunk@216972 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-14 03:27:16 +00:00
cst%yecc.com
4dc1cb5575 Bug 301477 image zoom cursor does not change after resizing browser window
r=bz sr=jst


git-svn-id: svn://10.0.0.236/trunk@216971 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-14 02:06:49 +00:00
dbaron%dbaron.org
534cefc5fa Remove nsLineLayout::mWordWidth, which should have been removed in earlier reflow branch merging. b=363232 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@216966 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 23:11:13 +00:00
dbaron%dbaron.org
866a194991 Better API for used padding/border/margin: remove deprecated Calc*For on nsStyleStructs and add GetUsed* to nsIFrame. b=332922 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@216965 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 23:04:57 +00:00
mozilla%weilbacher.org
d9604b2cd3 [OS/2] Bug 351246: Load Mozilla into Highmem on OS/2. Part 4, changes to LDAP build config (LDAP trunk version). r=mkaply, r=mcs
git-svn-id: svn://10.0.0.236/trunk@216963 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 22:12:16 +00:00
mkanat%bugzilla.org
8a1eb23cc4 Post-checkin fix for bug 360710: Fix how docs get the required DBD versions.
git-svn-id: svn://10.0.0.236/trunk@216962 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 22:03:50 +00:00
cltbld
ac15ce4cf1 Automated update from host egg.build.mozilla.org
git-svn-id: svn://10.0.0.236/trunk@216961 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 22:01:03 +00:00
mozilla%weilbacher.org
7b30ebaa02 [OS/2] Bug 351246: Load Mozilla into Highmem on OS/2. Part 3, changes to build config. r=mkaply, sr=wtc
git-svn-id: svn://10.0.0.236/trunk@216960 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 21:57:56 +00:00
mkanat%bugzilla.org
f100a74462 Bug 360710: checksetup.pl needs to blacklist some non-working external modules
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave


git-svn-id: svn://10.0.0.236/trunk@216959 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 21:45:12 +00:00
mattwillis%gmail.com
530e3db408 Removing README.txt for Mozilla Suite from Sunbird builds. Was causing trouble with unify.
git-svn-id: svn://10.0.0.236/trunk@216958 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 21:43:31 +00:00
hwaara%gmail.com
efaa01b40b Make sure disabled buttons never get the default button look. r=josh, sr=pavlov, b=362820
git-svn-id: svn://10.0.0.236/trunk@216957 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 21:37:34 +00:00
mozilla.mano%sent.com
a7e2df9cf3 Bug 360211 - text fields are transparent in cocoa-cairo builds. r=josh, sr=pavlov.
git-svn-id: svn://10.0.0.236/trunk@216955 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 21:13:42 +00:00
neil%parkwaycc.co.uk
df888d713e Bug 363444 Small objects sometimes incorrectly scrolled into view r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@216954 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 20:43:59 +00:00
ccooper%deadsquid.com
2ae105144f b=363658
- fix footer links


git-svn-id: svn://10.0.0.236/trunk@216953 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 20:30:13 +00:00
gijskruitbosch%gmail.com
d8915d70bc Bug 135926 - Support for IRCnet network
r=silver@warwickcompsoc.co.uk (James Ross)
ChatZilla Only.


git-svn-id: svn://10.0.0.236/trunk@216952 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 20:29:35 +00:00
gijskruitbosch%gmail.com
6b73e409d7 Bug 227366 - Add irc-hispano to default network list
r=silver@warwickcompsoc.co.uk (James Ross)
ChatZilla Only.


git-svn-id: svn://10.0.0.236/trunk@216951 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 20:21:07 +00:00
ccooper%deadsquid.com
7534b912ca b=363658
- fix runaway JS from double product setting


git-svn-id: svn://10.0.0.236/trunk@216950 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 20:04:36 +00:00
mattwillis%gmail.com
382969e162 Add Sunbird to list of 'normal' profile directories on Mac. r=coop via IRC
git-svn-id: svn://10.0.0.236/trunk@216949 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 19:12:21 +00:00
mvl%exedo.nl
e528e80cfe bug 343792: bulletproof libical to not hang after import of .ics file which has INTERVAL=0 in RRULE. r=dbo
git-svn-id: svn://10.0.0.236/trunk@216948 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 19:06:08 +00:00
reed%reedloden.com
90dff61149 Bug 353459 - "Unable to load config.pl if the GTop perl module is installed." [p=reed r=justdave]
git-svn-id: svn://10.0.0.236/trunk@216947 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 18:49:19 +00:00
mattwillis%gmail.com
347987a472 Fix lightning's CVSROOT
git-svn-id: svn://10.0.0.236/trunk@216946 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 18:34:08 +00:00
mattwillis%gmail.com
839d45940c bug 340920 - Make Sunbird builds Universal
git-svn-id: svn://10.0.0.236/trunk@216945 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 18:17:08 +00:00
mkanat%bugzilla.org
1839c95781 Bug 357847: recommend Theory58S instead of landfill for ppm users
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=glob, a=justdave


git-svn-id: svn://10.0.0.236/trunk@216944 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 17:36:03 +00:00
bienvenu%nventure.com
0f25e83178 fix 362735 problem in rich text conversion, patch by guninski@guninski.com, r=bienvenu, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@216943 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 16:25:53 +00:00
uriber%gmail.com
774e156325 Use the containing block's direction (LTR/RTL) instead of this frame's direction when deciding on default alignment of the frame. bug=328181 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@216942 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 16:16:25 +00:00
smontagu%smontagu.org
f05531a6b7 Bug 345238: Make XPFE alerts service use alert origin reported by look and feel. Ported from the toolkit patch by Jens Bannmann <jens.b@web.de>, r=neil, sr=biesi
git-svn-id: svn://10.0.0.236/trunk@216941 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 16:06:20 +00:00
bzbarsky%mit.edu
e4cf24b861 Push the JSContext we're going to run the javascript: URL in on the stack
before doing anything else.  Bug 363594, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@216940 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 15:52:55 +00:00
bzbarsky%mit.edu
f7370ae6b5 Use string buffers to store strings in nsCSSValue so we don't have to alloc in
copy constructors and such.  Bug 350141, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@216939 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 15:49:36 +00:00
cltbld
e0b765ccef Automated update from host egg.build.mozilla.org
git-svn-id: svn://10.0.0.236/trunk@216938 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 15:21:03 +00:00
gijskruitbosch%gmail.com
0266dfb861 Bug 361409 - Configure should list options for fixing java-xpcom deficits more clearly
first-r=benjamin@smedbergs.us (Benjamin Smedberg)


git-svn-id: svn://10.0.0.236/trunk@216937 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 15:14:29 +00:00
aaronleventhal%moonset.net
82cd6f52a8 Bug 363617. Missing support for some ARIA properties. r=ginn.chen, sr=neil
git-svn-id: svn://10.0.0.236/trunk@216936 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 14:40:54 +00:00
dbaron%dbaron.org
6552bcb27d Correct style for messages already converted from RSS to HTML email. b=363154 r=mscott
git-svn-id: svn://10.0.0.236/trunk@216934 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 08:08:24 +00:00
dbaron%dbaron.org
9c1887ad97 Generate CSS that's *supposed* to make the iframe fill the viewport. b=363154 r=mscott
git-svn-id: svn://10.0.0.236/trunk@216933 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 08:06:56 +00:00
dbaron%dbaron.org
7c3d43cc80 Fix bustage. b=363524
git-svn-id: svn://10.0.0.236/trunk@216932 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 04:21:05 +00:00
despotdaemon
a4f1fdaeca Pseudo-automatic update of changes made by dbaron@dbaron.org.
git-svn-id: svn://10.0.0.236/trunk@216931 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 04:18:42 +00:00
despotdaemon
4f78eb0b55 Pseudo-automatic update of changes made by dbaron@dbaron.org.
git-svn-id: svn://10.0.0.236/trunk@216930 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 04:17:36 +00:00
despotdaemon
8c180cd1b3 Pseudo-automatic update of changes made by dbaron@dbaron.org.
git-svn-id: svn://10.0.0.236/trunk@216929 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 04:15:59 +00:00
despotdaemon
db77e554fe Pseudo-automatic update of changes made by dbaron@dbaron.org.
git-svn-id: svn://10.0.0.236/trunk@216928 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 04:14:42 +00:00
ccooper%deadsquid.com
8a1c8682b8 - updating calendar configs to run on new intel xserve
git-svn-id: svn://10.0.0.236/trunk@216927 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 04:03:19 +00:00
dbaron%dbaron.org
08d8ed684c Reflow all of the table structure (although not its descendants) when frame structure within the table is changed. b=363524 r=bernd sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@216926 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 03:45:28 +00:00
cst%yecc.com
6a74e8c266 Bug 363422 Fix confirmEx parameters (broken "delete all cookies" button)
r=neil


git-svn-id: svn://10.0.0.236/trunk@216923 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 01:13:01 +00:00
sayrer%gmail.com
813328f8de Bug 363636. duplicate nsLivemarkService.getSiteURI in toolbar.xml. r=sspitzer/gavin
git-svn-id: svn://10.0.0.236/trunk@216922 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 01:05:31 +00:00
bzbarsky%mit.edu
da2551af1f Having an empty textnode or CDATA section child should not prevent an element
from matching :empty.  Bug 315620, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@216919 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 00:18:32 +00:00
bienvenu%nventure.com
ae4ae2eb1f fix hang when doing a quick search while in threaded mode, sr=mscott 331014
git-svn-id: svn://10.0.0.236/trunk@216917 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 23:41:00 +00:00
wtchang%redhat.com
79bcd9fcd8 Bug 236613: added newline at end of file.
git-svn-id: svn://10.0.0.236/trunk@216914 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 23:26:40 +00:00
mnyromyr%tprac.de
a96e3f7e01 Bug 362741: Selecting folder with previous view unread, while viewing another unread folder, fails; p=Kent James <kent@caspia.com>, r=me, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@216913 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 23:24:51 +00:00
mnyromyr%tprac.de
49623e06d8 Bug 362990: asynchronous message view list manipulation; r=neil, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@216912 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 23:20:48 +00:00
sayrer%gmail.com
c87c7f7b73 Bug 363506. Can not build nsDocumentViewer.cpp with --disable-printing. Patch by Andreas Lange <mozilla@lange.cx>. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@216911 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 23:00:52 +00:00
bzbarsky%mit.edu
5a40a60434 Make nsAString lookups in nsStaticCaseInsensitiveNameTable a little faster.
Bug 348691, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@216910 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 22:47:16 +00:00
bzbarsky%mit.edu
416011af41 Call the superclass Destroy(). Bug 363149, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@216909 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 22:30:39 +00:00
mozilla%weilbacher.org
26dbf92062 [OS/2] Bug 358296: fix crash when closing filepicker with the system menu, r=mkaply
git-svn-id: svn://10.0.0.236/trunk@216907 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 22:24:52 +00:00
cvshook%sicking.cc
2eec67b7b3 fix bustage for optimized builds
git-svn-id: svn://10.0.0.236/trunk@216906 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 22:05:47 +00:00
mozilla%weilbacher.org
f4e25b5f8e [OS/2] Bug 351246: Load Mozilla into Highmem on OS/2. Part 2, changes to NSPR. r=mkaply, sr=wtc
git-svn-id: svn://10.0.0.236/trunk@216905 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 22:00:25 +00:00
rhelmer%mozilla.com
c77318159c full update verification used by tfullhart for 1508 r=rhelmer
git-svn-id: svn://10.0.0.236/trunk@216903 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 21:20:28 +00:00
cvshook%sicking.cc
120424502b Bug 210528: Fix ownership models of some functioncalls in the XPath code and replace some txLists with owning nsTArrays. r/sr=peterv
git-svn-id: svn://10.0.0.236/trunk@216902 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 21:20:15 +00:00
rhelmer%mozilla.com
91d86dd5ac config used for 1508 by tfullhart r=rhelmer
git-svn-id: svn://10.0.0.236/trunk@216901 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 21:18:49 +00:00
bzbarsky%mit.edu
dbfd5010c0 Don't return bogus overflow values when we can't compute a real overflow
value.  Bug 319381, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@216900 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 21:16:23 +00:00
bienvenu%nventure.com
1e60671f8a make custom db headers a space delimited list, not comma, follow on to 356860, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@216899 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 21:14:35 +00:00
bienvenu%nventure.com
e5846dc78c allow users or extensions to add headers to display in the message pane header area via a pref 353193, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@216897 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 19:36:33 +00:00
wtchang%redhat.com
1cb0ab078a Bug 236613: added newline to the end of file.
git-svn-id: svn://10.0.0.236/trunk@216896 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 19:35:56 +00:00
joshmoz%gmail.com
0abb99a15b remove my name from these files, I never did anything with them as far as I know. r=wevah sr=me
git-svn-id: svn://10.0.0.236/trunk@216894 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 19:22:01 +00:00
aaronleventhal%moonset.net
b5987cf65d Bug 359924. Crash when entering characters in XUL textfields, such as find field. r=nian.liu, r=surkov
git-svn-id: svn://10.0.0.236/trunk@216893 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 19:04:25 +00:00
joshmoz%gmail.com
7b76adf46a When a top-level window's parent is destroyed, the parent should set the parent pointer on its children to null. We do this in the other Mac nsIWidget impls, someone just forgot to do it in cocoa top-level windows. b=362952 r=mano r=smorgan
git-svn-id: svn://10.0.0.236/trunk@216892 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 18:55:24 +00:00
reed%reedloden.com
17f4a9ade6 Bug 61150 - "Site-specific data spread throughout despot" [p=reed r=justdave]
git-svn-id: svn://10.0.0.236/trunk@216891 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 18:51:09 +00:00
reed%reedloden.com
0db27b871f Bug 166424 - "can't rename a module in despot" [p=reed r=justdave]
git-svn-id: svn://10.0.0.236/trunk@216890 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 18:38:47 +00:00
dbaron%dbaron.org
e4794b2c9c Correctly align a line with no justification opportunities (a single word) for RTL justified text. Patch originally from Uri Bernstein <uriber@gmail.com>, modified by smontagu and me. b=102019 r=dbaron/smontagu
git-svn-id: svn://10.0.0.236/trunk@216889 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 18:28:37 +00:00
lpsolit%gmail.com
868db5d9ae Bug 363556: No obvious way to log in to view/change a bug when you're not logged in - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=justdave
git-svn-id: svn://10.0.0.236/trunk@216888 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 18:17:34 +00:00
uriber%gmail.com
47d6cf40cf Bug 314519: Caret skips blank lines using right-arrow key in some cases of preformatted text. Take 2. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@216887 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 18:12:46 +00:00
stuart.morgan%alumni.case.edu
4cc6242f8f Camino only - Bug 360779: Fix loading of links dropped on tabs. r=max r=ardissone sr=pink
git-svn-id: svn://10.0.0.236/trunk@216886 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 18:04:27 +00:00
bugzilla%standard8.demon.co.uk
c05e8a2d22 Bug 361193 In suiterunner preferences, advanced -> Mousewheel pane doesn't display (remove obsolete xpfe strings) r=kairo
git-svn-id: svn://10.0.0.236/trunk@216885 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 18:03:17 +00:00
sayrer%gmail.com
991a6880dd Bug 350273. registerContentHandler should throw an exception for malformed URIs. r=mano
git-svn-id: svn://10.0.0.236/trunk@216884 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 17:57:11 +00:00
bzbarsky%mit.edu
11427fca97 Make the GetStyle* getters not go through GetStyleData() so they can be
faster.  Bug 360870, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@216883 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 17:44:45 +00:00
bienvenu%nventure.com
545eabec69 make check for existing keywords be case-insensitive when fetching tags in the thread pane, sr=mscott 355547
git-svn-id: svn://10.0.0.236/trunk@216882 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 17:33:49 +00:00
sayrer%gmail.com
c3491129b4 Bug 266904. Discovered feeds aren't cleared on loads in background tabs (refresh or drag and drop). r=gavin
git-svn-id: svn://10.0.0.236/trunk@216881 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 17:27:34 +00:00
hwaara%gmail.com
e92ea807b0 implement accessible objects for xforms date input controls, r=aaronr, aaronlev, sr=neil, b=349644. Patch by Alexander Surkov <surkov.alexander@gmail.com>
git-svn-id: svn://10.0.0.236/trunk@216880 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 16:19:18 +00:00
bzbarsky%mit.edu
932d12bfe8 Make it possible to start/stop jprof programmatically in C++ inside gklayout.
Bug 354069, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@216879 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 15:47:47 +00:00
bzbarsky%mit.edu
07726b530a Add tests for bug 332557
git-svn-id: svn://10.0.0.236/trunk@216878 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 15:45:12 +00:00
bzbarsky%mit.edu
2a4880f3a6 Don't use LookupKeyword to deal with CSS units. Bug 347705, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@216876 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 15:34:43 +00:00
bzbarsky%mit.edu
eed3b083f3 Adding test for bug 360065, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@216875 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 15:27:05 +00:00
bzbarsky%mit.edu
82cfd09e26 Fix percentage padding on nodes with overflow other than visible. Bug 332557,
r+sr=dbaron.


git-svn-id: svn://10.0.0.236/trunk@216874 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 15:18:40 +00:00
igor.bukanov%gmail.com
4cd5fdde5c Bug 331966: Fixing orage tinderboxes due to my stupid oversight in RealloSlots.
git-svn-id: svn://10.0.0.236/trunk@216873 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 12:58:42 +00:00
igor.bukanov%gmail.com
3daead6c18 Bug 331966: initial object's slots are allocated together with JSObjects, r=brendan.
git-svn-id: svn://10.0.0.236/trunk@216872 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 10:45:06 +00:00
mats.palmgren%bredband.net
f88e2865ef Fix crash in Print Preview when doc has more than two pages. Patch by Eli Friedman<sharparrow1@yahoo.com>. b=362210 r=me sr=roc
git-svn-id: svn://10.0.0.236/trunk@216871 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 09:54:48 +00:00
justdave%bugzilla.org
7d0ebfb25a Bug 31985: put committer name in the From line on mail from cvsmailfilter
git-svn-id: svn://10.0.0.236/trunk@216870 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 03:44:22 +00:00
reed%reedloden.com
694411a805 Bug 241493 - [p=timeless r=justdave]
git-svn-id: svn://10.0.0.236/trunk@216869 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 03:44:13 +00:00
gavin%gavinsharp.com
499e72a65c Bug 360898: Option to hide processing instructions, patch by Shawn Wilsher <comrade693@gmail.com>, r=db48x, sr=neil
git-svn-id: svn://10.0.0.236/trunk@216868 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 02:05:28 +00:00
cvshook%sicking.cc
1a3376514d Bug 363242: Make txExpandedNameMap typesafe. r/sr=peterv
git-svn-id: svn://10.0.0.236/trunk@216867 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 01:59:30 +00:00
roc+%cs.cmu.edu
08f7e2bd9a Bug 359371. Don't leak overflowing frames if a bug occurs and we still have overflowing frames in an unconstrained reflow situation. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@216866 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 01:06:23 +00:00
scott%scott-macgregor.org
ac1c61a115 Bug #363459 --> add more names to the credit list. Move more names into the Special Thanks section. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@216865 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 00:37:07 +00:00
tor%cs.brown.edu
bf87e4c98d Bug 363458 - avoid trying to draw circles or ellipses with radius <= 0.
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@216864 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 23:21:01 +00:00
aaronr%us.ibm.com
b79fe3c6df [XForms] incorrect dup schema error message using inline schemas. Bug 350067, patch by msterlin, r=olli+aaronr
git-svn-id: svn://10.0.0.236/trunk@216861 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 22:14:11 +00:00
ghendricks%novell.com
a8e91342ed run->cases is returning the wrong thing.
git-svn-id: svn://10.0.0.236/trunk@216860 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 22:08:06 +00:00
joshmoz%gmail.com
fc2ebfe878 different approach for fixing 363002. b=363002 r=mento
git-svn-id: svn://10.0.0.236/trunk@216859 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 21:40:32 +00:00
gavin%gavinsharp.com
14050ba106 Bug 363318: use native btoa() where possible, and optimize the JS-implemented b64() for the search service (large slowdown seen when the feed preview page is shown), r=mano
git-svn-id: svn://10.0.0.236/trunk@216858 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 21:29:38 +00:00
sspitzer%mozilla.org
06fd784c9f fix for bug #344284, saved search history not imported from Safari. r=gavin
git-svn-id: svn://10.0.0.236/trunk@216857 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 21:12:12 +00:00
pedemont%us.ibm.com
a696c4c0e4 Bug 335696 - Provide helper method for embedding in AWT/Swing (Mac only for the moment). r=bsmeberg
git-svn-id: svn://10.0.0.236/trunk@216856 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 21:07:02 +00:00
gavin%gavinsharp.com
58b58f6992 Bug 361061: params added nsISearchEngine::addParam() are sometimes forgotten after a restart (especially for engines added without icons), r=mano
git-svn-id: svn://10.0.0.236/trunk@216855 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 20:54:35 +00:00
bmlk%gmx.de
586eb3f128 typo fix
git-svn-id: svn://10.0.0.236/trunk@216854 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 20:09:25 +00:00
lpsolit%gmail.com
682be710f0 Bug 297186: Send emails in the recipient's locale, not the current user's - Patch by Frédéric Buclin <LpSolit@gmail.com> r=bkor a=justdave
git-svn-id: svn://10.0.0.236/trunk@216853 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 18:00:46 +00:00
despotdaemon
e584bd7817 Pseudo-automatic update of changes made by brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@216852 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 18:00:11 +00:00
dietrich%mozilla.com
c16f693d65 Tests for Bug 359862 (r=sspitzer)
git-svn-id: svn://10.0.0.236/trunk@216851 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 17:16:55 +00:00
olav%bkor.dhs.org
c402b6f16a Bug 181239: Do not show flag table's header when all flags are disabled
Patch by Olav Vitters <olav@bkor.dhs.org> r=LpSolit a=justdave


git-svn-id: svn://10.0.0.236/trunk@216850 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 16:51:47 +00:00
tor%cs.brown.edu
8c3f65c081 Bug 361070 - Implement feBlend and feComposite.
Patch by amenzie@us.ibm.com, r=tor, sr=roc.


git-svn-id: svn://10.0.0.236/trunk@216849 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 16:33:08 +00:00
stridey%gmail.com
55a35a3c1a Camino only - Bug 335637: General polish to the Certificates window. r=ardissone sr=smorgan
git-svn-id: svn://10.0.0.236/trunk@216848 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 16:10:58 +00:00
mattwillis%gmail.com
46854f8451 bug 360947 - Fixes calendar grid to not overflow when screen is in portrait mode. Patch by <gekacheka@yahoo.com> r1=lilmatt, r2=mvl
git-svn-id: svn://10.0.0.236/trunk@216847 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 16:08:10 +00:00
mattwillis%gmail.com
d42315e08f bug 358701 - Makes vertical day/date header column narrower. Patch by <gekacheka@yahoo.com>, r1=lilmatt, r2=mvl, ui-r=mvl
git-svn-id: svn://10.0.0.236/trunk@216846 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 15:50:18 +00:00
kaie%kuix.de
df796d13a7 Bug 355409, unable to search LDAP server (over SSL) with tbird 2.0 build, but 1.5.0.7 works
r=wtchang


git-svn-id: svn://10.0.0.236/trunk@216845 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 13:51:25 +00:00
gijskruitbosch%gmail.com
aea190009b Bug 363141 - "this.whoisList has no properties" when doing a /query
r=silver@warwickcompsoc.co.uk (James Ross)
ChatZilla Only.


git-svn-id: svn://10.0.0.236/trunk@216844 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 11:55:44 +00:00
Olli.Pettay%helsinki.fi
e37cecac93 Bug 361501, use 'anonid' attribute inside anonymous content as ID attribute, p=surkov, r=aaronr+me
git-svn-id: svn://10.0.0.236/trunk@216843 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 10:54:09 +00:00
Olli.Pettay%helsinki.fi
9cd35293e7 Bug 361366, problems with xf:repeat in anonymous content, r=aaronr+doronr
git-svn-id: svn://10.0.0.236/trunk@216842 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 10:24:25 +00:00
martijn.martijn%gmail.com
cdb785a2f0 Bug 363285 - marquee broken, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@216841 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 09:51:46 +00:00
gerv%gerv.net
a54c420f30 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@216839 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 09:45:41 +00:00
hwaara%gmail.com
ae9ba90686 Make all buttons (also those that are not by definition popupmenus) that have a menu expose the ShowMenu action (by making them mozPopupButtonAccessible instances under the hood). r=surkov, b=363082
git-svn-id: svn://10.0.0.236/trunk@216838 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 09:37:01 +00:00
joshmoz%gmail.com
638836cc26 Some keys like arrow keys send double command events to NSView's performKeyEquivalent:, one for key up and one for key down. This doesn't make sense for us, so only handle key down command events. b=363005 r=cbarrett r=froodian r=cl
git-svn-id: svn://10.0.0.236/trunk@216837 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 05:31:33 +00:00
dougt%meer.net
e93f384e2b Trying bandaide for crash at [@ imgRequest::OnStopRequest]. see bug 361499.
git-svn-id: svn://10.0.0.236/trunk@216836 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 04:15:45 +00:00
roc+%cs.cmu.edu
3d86905040 Bug 357351. Assertion should be #ifdef MOZ_CAIRO_GFX only. Debug-only change.
git-svn-id: svn://10.0.0.236/trunk@216835 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 00:09:50 +00:00
timeless%mozdev.org
8753f00580 Removing lowercase filename because it's identical to a properly named file
git-svn-id: svn://10.0.0.236/trunk@216834 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-10 23:19:34 +00:00
sayrer%gmail.com
eba310c07d Bug 361030. Bookmarks refresh problem due to JS error code. r=sspitzer/jminta
git-svn-id: svn://10.0.0.236/trunk@216833 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-10 22:40:39 +00:00
roc+%cs.cmu.edu
3713dfee3b Fixing DEBUG_roc-only bustage. NPOB.
git-svn-id: svn://10.0.0.236/trunk@216831 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-10 22:06:53 +00:00
roc+%cs.cmu.edu
4d9d5d0511 Bug 326758. Bullets should accept mouse events. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@216830 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-10 21:56:30 +00:00
roc+%cs.cmu.edu
95b9c792e0 Bug 344894. Process mContentFrame before mLegendFrame in nsFieldSetFrame::BuildDisplayList, because mContentFrame might have out-of-flow frames whose placeholders are in mLegendFrame and we always need to visit out-of-flow frames before their placeholders while building display lists. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@216829 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-10 21:53:53 +00:00
bienvenu%nventure.com
205b3ad002 fix 298737 newsgroups lose track of counts when headers haven't been downloaded, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@216828 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-10 21:28:37 +00:00
ajschult%verizon.net
c0a04ffd9d Bug 361437: GRE should be installed locally. Patch by Benoît <benoit@gawab.com>. r=CTho, sr=Neil
git-svn-id: svn://10.0.0.236/trunk@216827 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-10 21:07:45 +00:00
stridey%gmail.com
0d2936025d Camino only - Bug 362541: Tooltips for Download toolbar buttons should update to reflect the number of items selected. r=cl sr=smorgan
git-svn-id: svn://10.0.0.236/trunk@216826 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-10 19:16:20 +00:00
db48x%yahoo.com
4781091ef7 bug 363112: nsDeckFrame::GetSelectedBox should use mIndex
patch by Alex Vincent <ajvincent@gmail.com>, r=enn, sr=neil


git-svn-id: svn://10.0.0.236/trunk@216825 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-10 18:13:48 +00:00
bienvenu%nventure.com
61bd14e6ba land part of fix for 360342 that I missed due to a merge conflict, sr=mscott, fix crash deleting imap attachment
git-svn-id: svn://10.0.0.236/trunk@216824 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-10 16:45:21 +00:00
cst%yecc.com
98717b2da9 Bug 362905 OK/Cancel are almost never the right choices
r+sr=neil


git-svn-id: svn://10.0.0.236/trunk@216823 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-10 16:02:27 +00:00
masayuki%d-toybox.com
af0e2675bd Bug 357637 Loading time (Tp) of pages with Chinese text is unbearable r=stuart
git-svn-id: svn://10.0.0.236/trunk@216822 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-10 14:01:36 +00:00
kjh-5727%comcast.net
453fd077ad Bug 360485 - Factor out nsIDeviceContextSpecFactory. Part B: deleted files. r=pavlov, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@216821 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-10 13:02:12 +00:00
silver%warwickcompsoc.co.uk
4d8b39114c Bug 363276 - Specify more properties so Gecko doesn't guess 'wrong'.
ChatZilla only.
r=samuel


git-svn-id: svn://10.0.0.236/trunk@216820 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-10 12:54:29 +00:00
kjh-5727%comcast.net
ef03dea008 Bug 360485 - OS/2 build bustage fix. Patch by Andy Williams <abwillis1@gmail.com>.
git-svn-id: svn://10.0.0.236/trunk@216819 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-10 12:47:13 +00:00
mozilla%weilbacher.org
712a4e7cb3 [OS/2] Bug 351246: Load Mozilla into Highmem on OS/2. Part 1, changes to OS/2 only core code. r=abwillis1, sr=mkaply
git-svn-id: svn://10.0.0.236/trunk@216818 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-10 08:53:03 +00:00
sharparrow1%yahoo.com
bbc7755ab2 Bug 361844: Printing cleanup; r+sr=roc. Changes the way the presentation is managed for print preview, plus many smaller cleanups.
git-svn-id: svn://10.0.0.236/trunk@216817 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-10 08:05:05 +00:00
mozilla.mano%sent.com
e767bc6b84 Bug 363339 - Gran Paradiso dmg license is improperly encoded. patch from Smokey Ardisson, <alqahira@ardisson.or>, r=me.
git-svn-id: svn://10.0.0.236/trunk@216816 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-10 08:00:47 +00:00
bmlk%gmx.de
46398b3fb9 report frames currently on the overflow list as frames on a additional childlist to get their views reparented if a frame higher in the tree needs to reparent the views bug 362724 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@216815 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-10 06:46:17 +00:00
timeless%mozdev.org
e790f0abc6 Backing out!
git-svn-id: svn://10.0.0.236/trunk@216814 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-10 03:35:22 +00:00
timeless%mozdev.org
c3ae441147 Bug 361413 Build succeeds even when XPTC stubs/invocation stuff are not implemented.
patch by bsmedberg r=timeless


git-svn-id: svn://10.0.0.236/trunk@216813 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-10 03:24:47 +00:00
sayrer%gmail.com
ddf4c03c15 bug 362547. xpcshell unit tests for SAX Patch by Alex Vincent <ajvincent@gmail.com>. r=sayrer
git-svn-id: svn://10.0.0.236/trunk@216812 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-10 03:16:39 +00:00
bienvenu%nventure.com
d750bed9e8 fix crash deleting attachment from imap message, sr=mscott 360342
git-svn-id: svn://10.0.0.236/trunk@216811 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-10 00:09:31 +00:00
mozilla.mano%sent.com
eaf232c61c Bug 360220 - readers menulist has no icon if the last-selected reader is a web reader. r=enn.
git-svn-id: svn://10.0.0.236/trunk@216808 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-09 21:34:51 +00:00
gijskruitbosch%gmail.com
5ab5e9bf90 Bug 362646 - domNodeDialog.xul doesn't have control attributes pointing to valid ids
p=comrade693+bmo@gmail.com (Shawn Wilsher)
r=db48x (Daniel Brooks)
sr=neil@parkwaycc.co.uk


git-svn-id: svn://10.0.0.236/trunk@216806 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-09 19:43:54 +00:00
sayrer%gmail.com
2757ebe9db Test for bug 308484 by Wladimir Palant <trev@gtchat.de>. r=bz
git-svn-id: svn://10.0.0.236/trunk@216803 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-09 18:02:18 +00:00
sayrer%gmail.com
9cd5bffe94 Test for bug 238409 by Wladimir Palant <trev@gtchat.de>. r=jst
git-svn-id: svn://10.0.0.236/trunk@216802 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-09 17:33:29 +00:00
kjh-5727%comcast.net
2674b6e768 Bug 360485 - Factor out nsIDeviceContextSpecFactory. Part 1: changed files. r=pavlov, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@216801 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-09 17:18:56 +00:00
lpsolit%gmail.com
2e18b4a401 Bug 359315: "NNTP" and "IO" should be filtered out of the mail_delivery_method options - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=justdave
git-svn-id: svn://10.0.0.236/trunk@216800 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-09 16:39:18 +00:00
timeless%mozdev.org
9f7096c63b Bug 362842 please rename nsIMsgImapMailFolder.canIOpenThisFolder
r=bienvenu sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@216799 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-09 16:31:05 +00:00
igor.bukanov%gmail.com
b8fe134378 Bug 362668: JSObject.slot is no longer accessed directly. Instead code uses STOBJ_macros. r=brendan
git-svn-id: svn://10.0.0.236/trunk@216798 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-09 15:02:37 +00:00
wsharp%adobe.com
74e31a04ae bug 363255. uintptr_t should be uintptr. Also checked in fix for e4xnode.cpp when parsing malformed namespace. no reviewer for sat. morning
git-svn-id: svn://10.0.0.236/trunk@216797 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-09 13:33:53 +00:00
lpsolit%gmail.com
364bdefaf8 Bug 362865: email_in.pl permissions not good after running checksetup.pl - Patch by Bill Barry <after.fallout@gmail.com> r=mkanat a=myk
git-svn-id: svn://10.0.0.236/trunk@216795 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-09 11:58:14 +00:00
lpsolit%gmail.com
870c67b100 Bug 361252: checksetup.pl should get confirmation from the user before causing dataloss in UTF8 conversion - Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit a=myk
git-svn-id: svn://10.0.0.236/trunk@216794 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-09 11:51:35 +00:00
philringnalda%gmail.com
c097eee8cd Bug 353194: Statusbar changes size depending on whether lock icon appears; Wrong broken image in addressbar, r=mano
git-svn-id: svn://10.0.0.236/trunk@216793 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-09 06:40:21 +00:00
dbaron%dbaron.org
1d1477169f Fix bad interaction of colspan handling with AddMinCoord's magic to deal with specified coord widths. Substantive changes by bzbarsky, comments by me. r+sr=dbaron/bzbarsky b=363150
git-svn-id: svn://10.0.0.236/trunk@216792 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-09 05:38:19 +00:00
gavin%gavinsharp.com
ee7a0ad27d Bug 347230: Minimal Save-only dialog shown for files with discoverable types (known file extensions), patch by Masatoshi Kimura (:emk) <VYV03354@nifty.ne.jp>, r=me
git-svn-id: svn://10.0.0.236/trunk@216791 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-09 04:37:22 +00:00
philringnalda%gmail.com
4027c85c61 Bug 359656: Make toolbar customization restore defaults restore the app's defaults, not Firefox's defaults, r=mano, lilmatt
git-svn-id: svn://10.0.0.236/trunk@216790 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-09 03:32:36 +00:00
preed%mozilla.com
28bf8fab5b Bug 363108: patcher2.pl --build-tools pulls from the trunk. This is bad for a number of reasons. This is a stop-gap measure to get --build-tools working again after the cairo/svg landing and the dbus landing. patch=tfullhart. r=preed.
git-svn-id: svn://10.0.0.236/trunk@216789 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-09 02:47:38 +00:00
rhelmer%mozilla.com
47ae2d48a9 remove independent verification from this step b=363237 r=preed
git-svn-id: svn://10.0.0.236/trunk@216788 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-09 02:18:52 +00:00
jminta%gmail.com
f90ffc2a94 Second try at fixing bug 360658 Weekly print layout: No preview for 'Selected events' selection. r=lilmatt, mvl
git-svn-id: svn://10.0.0.236/trunk@216787 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-09 01:14:59 +00:00
jminta%gmail.com
c5a3578441 Bug 362866 Tasklist, unifinder and views still display old task/event after conversion to event/task. r=lilmatt, mvl
git-svn-id: svn://10.0.0.236/trunk@216786 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-09 01:12:48 +00:00
jminta%gmail.com
2d2097fa8d Bug 361650 Default event start time is 00:00 and not the next full hour. r=lilmatt, mvl
git-svn-id: svn://10.0.0.236/trunk@216785 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-09 01:09:45 +00:00
jminta%gmail.com
c96e65f884 Bug 362585 Remove useless line that can throw an error in some cases. r=lilmatt, dmose
git-svn-id: svn://10.0.0.236/trunk@216784 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-09 01:03:09 +00:00
wtchang%redhat.com
e045e318b7 Bugzilla Bug 358785: merged the mozilla/security/nss/lib/libpkix from the
NSS_LIBPKIX_BRANCH onto the NSS trunk.  Approved by rrelyea and nelsonb.


git-svn-id: svn://10.0.0.236/trunk@216782 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-09 00:27:38 +00:00
rhelmer%mozilla.com
eb04305862 rollback to 1.3, 1.4 should not have been checked in
git-svn-id: svn://10.0.0.236/trunk@216781 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-09 00:16:05 +00:00
ghendricks%novell.com
a12f9503a9 Failing a test cases with closed bugs, opens them. Passing one with RESOLVED bugs Verifies them.
git-svn-id: svn://10.0.0.236/trunk@216779 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 23:12:16 +00:00
wtchang%redhat.com
078873d980 Bugzilla Bug 363092: removed the pthread_kill macro definition. Mac OS X
has had the pthread_kill function since 10.2.   The patch is contributed by
Josh Aas <joshmoz@gmail.com>.  r=mark.mentovai,wtc


git-svn-id: svn://10.0.0.236/trunk@216775 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 22:58:13 +00:00
wtchang%redhat.com
861ea09ed1 Bugzilla Bug 363092: made 10.2 the default Mac OS X ppc deployment target.
r=josh.aas


git-svn-id: svn://10.0.0.236/trunk@216774 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 22:56:43 +00:00
wtchang%redhat.com
1cb5d3ccbb Bugzilla Bug 363073: verify that the peer's ephemeral public key is the
type we expect before using it.  r=nelsonb
Modified Files: ssl3con.c ssl3ecc.c


git-svn-id: svn://10.0.0.236/trunk@216773 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 22:37:29 +00:00
wtchang%redhat.com
ee9615098b Bugzilla Bug 357197: a small but subtle change to reject a hash algorithm
identifier with bogus 'parameters', and a large but straightforward change
of renaming function arguments and improving comments to clarify the
asymmetry between the two certID arguments. r=nelsonb


git-svn-id: svn://10.0.0.236/trunk@216772 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 22:10:52 +00:00
bclary%bclary.com
bade730b62 Bug 309169 - update JS_GetImplementationVersion, r=brendan
git-svn-id: svn://10.0.0.236/trunk@216771 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 21:08:09 +00:00
dietrich%mozilla.com
aa7253d2f9 Bug 359862 Places schema: improvements in descriptiveness and consistency (r=sspitzer)
git-svn-id: svn://10.0.0.236/trunk@216770 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 19:57:12 +00:00
sspitzer%mozilla.org
7703e1e5fa fix for bug #359349:
add "show sessions" to the history query options, so that we can disable it.

by default, disable sessions for the history-on-places sidebar (as we are initially going for Firefox 2.0 parity on top of places.)

To enable sessions, toggle the hidden "browser.history.showSessions" boolean pref.

Thanks to Dan Mills <thunder@mozilla.com> for the fix.

r=sspitzer,gavin


git-svn-id: svn://10.0.0.236/trunk@216769 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 19:56:31 +00:00
ghendricks%novell.com
23af09768a Bugzilla Bug 360100
Cloning a test case with copy document also clones the entire document history


git-svn-id: svn://10.0.0.236/trunk@216767 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 19:19:09 +00:00
rhelmer%mozilla.com
51db457067 script to download and clean pageset, checkin for anodelman, b=362152 r=rhelmer
git-svn-id: svn://10.0.0.236/trunk@216766 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 18:53:15 +00:00
ghendricks%novell.com
bbbf4af613 Escape <script> tags in wysiwyg feilds so that they don't execute.
git-svn-id: svn://10.0.0.236/trunk@216765 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 18:39:14 +00:00
sayrer%gmail.com
dc4d0507ba Bug 361448. Feed processor logs an exception when it hits an unknown element in atom:author. r=mano
git-svn-id: svn://10.0.0.236/trunk@216762 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 17:33:15 +00:00
stridey%gmail.com
dbe6fd41ab Bug 284554 - Enable preference panes to use applescript studio. Patch by Geoff Beier <me@mollyandgeoff.com> r=cl sr=pink
git-svn-id: svn://10.0.0.236/trunk@216761 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 17:29:09 +00:00
stridey%gmail.com
e6ed54b40d Camino only - Bug 288980. Create 'Reveal in Bookmark Manager' contextual menu item for relevant bookmarks. Patch by Chris Lawson <bugzilla@chrislawson.net> r=me sr=pink
git-svn-id: svn://10.0.0.236/trunk@216760 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 17:23:05 +00:00
bienvenu%nventure.com
63b89d266c remember tags when copying imap messages to local folders, sr=mscott 362989
git-svn-id: svn://10.0.0.236/trunk@216759 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 17:12:07 +00:00
stridey%gmail.com
9df1d6058e Camino only - bug 345419: When already selected, make 'Use as Dock Menu' context menu item reset the Dock Menu to the default folder. r=cl sr=pink
git-svn-id: svn://10.0.0.236/trunk@216758 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 16:57:38 +00:00
mattwillis%gmail.com
a0982d4393 bug 362742 - ifdefs branch vs. trunk pieces of Customize Toolbar in prep for using toolkit's. Patch by philor. r=lilmatt, jminta
git-svn-id: svn://10.0.0.236/trunk@216757 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 16:37:01 +00:00
silver%warwickcompsoc.co.uk
f660a3990f Bug 359592 - Kill off dead strings from chatzilla.dtd, and consistently use "ChatZilla" to refer to the app.
ChatZilla only.
r=samuel


git-svn-id: svn://10.0.0.236/trunk@216756 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 16:23:53 +00:00
mozilla.mano%sent.com
df85dc6a39 Backout help.css changes I accidenally checked in.
git-svn-id: svn://10.0.0.236/trunk@216754 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 16:23:24 +00:00
ted.mielczarek%gmail.com
f3403205ed bug 363062, workaround to prevent out of disk space errors on hourly win32 tinderboxes. airbag symbol store generation is disabled for now. r=rhelmer
git-svn-id: svn://10.0.0.236/trunk@216753 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 16:22:58 +00:00
mozilla.mano%sent.com
7d9a9cbede Bug 363125 - location bar is stretched vertically in Pinstripe. r=gavin.
git-svn-id: svn://10.0.0.236/trunk@216751 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 16:18:03 +00:00
longsonr%gmail.com
0c9355d8c2 Bug 363066 - remove unused macro from nsSVGImageFrame. r+sr=tor
git-svn-id: svn://10.0.0.236/trunk@216748 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 10:48:43 +00:00
michael.buettner%sun.com
e173bb08f0 bug #363147 attendee list and free/busy grid are not synchronized
git-svn-id: svn://10.0.0.236/trunk@216747 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 10:24:11 +00:00
alfred.peng%sun.com
102c41198f Bug 356863. Right-hand account settings panels are not accessible.
Patch by Evan.Yan@sun.com. r=aaronleventhal.


git-svn-id: svn://10.0.0.236/trunk@216746 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 09:59:45 +00:00
alfred.peng%sun.com
f576513bce Bug 356347. Invisible column headers of xul tree-table are not exposed.
Patch by Evan.Yan@sun.com. r=aaronleventhal.


git-svn-id: svn://10.0.0.236/trunk@216745 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 09:57:25 +00:00
bzbarsky%mit.edu
7c3973cf2b More tests pass now that reflow branch landed.
git-svn-id: svn://10.0.0.236/trunk@216744 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 08:53:41 +00:00
joshmoz%gmail.com
bae08c8401 merge nsToolkit and nsToolkitBase in cocoa widgets. b=363117 r=mento sr=pinkerton
git-svn-id: svn://10.0.0.236/trunk@216743 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 08:29:46 +00:00
joshmoz%gmail.com
0988905a4a Don't compile FSVolumeMount in MoreFilesX. It exists on Mac OS X 10.5 now, we can't re-define it in MoreFilesX. Since we don't use it anyway, just don't ever compile it. b=363092 r=mento sr=wtc
git-svn-id: svn://10.0.0.236/trunk@216742 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 07:52:18 +00:00
ajschult%verizon.net
ee1c4ccf9a Bug 362605: fast-update pulls Attic directory on branch for files deleted on trunk. r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@216741 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 07:47:08 +00:00
dbaron%dbaron.org
1ca9f3f372 Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213.
git-svn-id: svn://10.0.0.236/trunk@216738 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 05:38:33 +00:00
philringnalda%gmail.com
1a1de382fe Bug 363098: customizeToolbar needs to include global/skin, r=gavin
git-svn-id: svn://10.0.0.236/trunk@216736 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 04:19:56 +00:00
jwalden%mit.edu
6a5a8fdefa Bug 277122 - XUL preprocessor #else-type conditions are evaluated relative to the result of the previous condition only. Fixed the bug with the original patch (unknowing use of a Perl 5.8.0 feature) and relanding... r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@216735 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 04:13:00 +00:00
mats.palmgren%bredband.net
b1edb47875 Fix a Print Preview crash. b=362708 r=bernd sr=roc
git-svn-id: svn://10.0.0.236/trunk@216733 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 03:44:11 +00:00
mats.palmgren%bredband.net
dd00a78c5d Syncing with branch fix for bug 363054: Ctrl-Shift Keyboard Shortcuts broken (linux). r=zeniko sr=pavlov
git-svn-id: svn://10.0.0.236/trunk@216731 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 03:18:29 +00:00
jwalden%mit.edu
c1d1dab503 Giving up on bug 277122 for now; will try again later.
git-svn-id: svn://10.0.0.236/trunk@216718 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 00:09:08 +00:00
mattwillis%gmail.com
08d7a50483 bug 343207 - Uncomments piece of Makefile that packages updater.ini. r=dmose
git-svn-id: svn://10.0.0.236/trunk@216717 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 23:53:59 +00:00
cst%yecc.com
e05d061afa Bug 362913 Fix regression from bug 354953 that made the undo history store the least-recent tabs rather than the most-recent
r+sr=neil


git-svn-id: svn://10.0.0.236/trunk@216716 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 23:52:58 +00:00
bugzilla%arlen.demon.co.uk
1ad7ce4729 Bug 361708 Make the way links from mailnews behave pref controllable
p=me r=mnyromyr sr=neil (SM only)


git-svn-id: svn://10.0.0.236/trunk@216711 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 23:25:03 +00:00
jwalden%mit.edu
563073030c Attempt to fix build bustage on balsa-trunk; fix stupid Perl mistake in previous commit, still trying to fix bug 277122.
git-svn-id: svn://10.0.0.236/trunk@216708 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 23:04:12 +00:00
jwalden%mit.edu
b42f900ae9 Attempt to fix build bustage on balsa-trunk; if this fails will probably back out the patch for bug 277122.
git-svn-id: svn://10.0.0.236/trunk@216706 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 22:59:19 +00:00
mozilla%weilbacher.org
ed9c885ce9 Fix XPCOM build break on OS/2, see bug 345517. p=abwillis1, r=benjamin
git-svn-id: svn://10.0.0.236/trunk@216705 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 22:54:18 +00:00
mattwillis%gmail.com
aaba7a2abe bug 343207 - Uncomments piece of Makefile that packages updater.ini. r=dmose
git-svn-id: svn://10.0.0.236/trunk@216704 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 22:29:50 +00:00
sayrer%gmail.com
e8aa8fa1dd Bug 363032. invalid arg assertion in nsFrameList.cpp. Patch by Alex Vincent <ajvincent@gmail.com>. r=enndeakin, sr=neil
git-svn-id: svn://10.0.0.236/trunk@216703 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 22:08:00 +00:00
mozilla%weilbacher.org
bd0a019b6d [OS/2] Bug 355067: add Freetype copyright notice to about:license as OS/2 builds with cairo need to ship with it. r=gerv
git-svn-id: svn://10.0.0.236/trunk@216702 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 22:00:22 +00:00
jwalden%mit.edu
fbc7395155 Bug 277122 - XUL preprocessor #else-type conditions are evaluated relative to the result of the previous condition only (with one visible result being that #ifdef/#elifdef/#else/#endif doesn't work correctly if both the ifdef and elifdef conditions are true). This patch fixes conditions such that at most one section of any #if/#el*/#el*[...]/#endif set is ever included, regardless of the conditions used or types of the tests performed. r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@216701 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 21:49:21 +00:00
gavin%gavinsharp.com
078433f1c5 Bug 362686: install-app from zip fails, patch by Tuukka Tolvanen <tuukka.tolvanen@gmail.com>, r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@216700 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 21:39:35 +00:00
mvl%exedo.nl
7312f8fcfb bug 343721: just try to password from passwordmanager, instead of prompting. r=lilmatt, jminta
git-svn-id: svn://10.0.0.236/trunk@216699 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 21:36:02 +00:00
gavin%gavinsharp.com
479df5064c Bug 360273: Firefox should substitute unrecognized parameter extension with blank string, patch by Pavel Franc - Pawell (Czilla.cz) <p.franc@gmail.com>, r=me
git-svn-id: svn://10.0.0.236/trunk@216698 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 21:31:15 +00:00
gavin%gavinsharp.com
a393fef1e6 Bug 351260: No provision for disabling welcome and override pages, patch by Harry Johnston <harry@scms.waikato.ac.nz>, r=me
git-svn-id: svn://10.0.0.236/trunk@216697 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 21:28:32 +00:00
gavin%gavinsharp.com
f561786137 Bug 351591: Pressing Enter in an exceptions dialog adds an unwanted 'scheme:http' entry in the list, r=mano
git-svn-id: svn://10.0.0.236/trunk@216696 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 21:25:38 +00:00
gavin%gavinsharp.com
5f01743988 Bug 278859: fix minor layout-debug issues when using Firefox, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@216695 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 21:21:41 +00:00
gavin%gavinsharp.com
104aff22be Bug 353324: When search engine is found and search bar icon highlighted in blue, it loses effect on hover, r=mano
git-svn-id: svn://10.0.0.236/trunk@216694 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 21:20:07 +00:00
gavin%gavinsharp.com
f2c1bab4fd Bug 341872: Download manager leaks helperApps, patch by Regis Caspar <regis.caspar+bz@gmail.com>, r=me
git-svn-id: svn://10.0.0.236/trunk@216693 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 21:16:56 +00:00
ghendricks%novell.com
9215b62099 Cloning a plan without the doc causes error when creating a run in that clone.
git-svn-id: svn://10.0.0.236/trunk@216692 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 21:12:47 +00:00
neil%parkwaycc.co.uk
b4a9673424 Bug 360639 Omit virtual folders from offline use selection r=bienvenu sr=mscott
git-svn-id: svn://10.0.0.236/trunk@216690 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 20:48:50 +00:00
mattwillis%gmail.com
7696e6b571 bug 362639 - Adds missing accesskeys to Lightning's main menu. Patch by Cédric Corazza <cedric.corazza@wanadoo.fr> r=lilmatt,jminta
git-svn-id: svn://10.0.0.236/trunk@216689 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 20:15:28 +00:00
timeless%mozdev.org
e7bcc57e31 Bug 362843 xpidl should warn about attribute anytype aaaIAa ([a-z]{2,3}I[A-Z][a-z])
r=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@216688 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 20:10:34 +00:00
sayrer%gmail.com
153508ceff Bug 354345. Set isStoredWithId for RSS 2.0 feed items. Patch by Wladimir Palant <trev@gtchat.de>. r=sayrer, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@216687 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 20:07:48 +00:00
roc+%cs.cmu.edu
0e0e3e92c4 Bug 344228. Fix up some naughty uses of nsIScrollbarMediator. r=enndeakin,sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@216686 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 19:53:41 +00:00
roc+%cs.cmu.edu
a05d07a3a7 Bug 358764. Make backspace do nothing on Linux. r=caillon,mconnor
git-svn-id: svn://10.0.0.236/trunk@216685 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 19:46:47 +00:00
joshmoz%gmail.com
41d796e2b3 don't include nsMimeMapper.h in the cocoa drag service, it is unused and causes problems compiling trunk on 10.5. r=mento
git-svn-id: svn://10.0.0.236/trunk@216683 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 19:16:08 +00:00
ghendricks%novell.com
0bca36ec93 Allow more options for tag searches
git-svn-id: svn://10.0.0.236/trunk@216682 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 19:13:10 +00:00
ghendricks%novell.com
bb5b2e7ca3 Missing error message
git-svn-id: svn://10.0.0.236/trunk@216680 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 18:53:29 +00:00
sayrer%gmail.com
a54860f67d Bug 362156. Support the 'feed' link relation for autodiscovery. r=gavin
git-svn-id: svn://10.0.0.236/trunk@216679 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 18:45:45 +00:00
ghendricks%novell.com
10ef4758cd RELATIONSHIPS collides with Exporter.
git-svn-id: svn://10.0.0.236/trunk@216678 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 18:43:21 +00:00
ghendricks%novell.com
3cc49fd7c2 You shouldn't be able to drag product folders.
git-svn-id: svn://10.0.0.236/trunk@216677 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 18:39:50 +00:00
scott%scott-macgregor.org
3b9324bd2c Bug #291341 --> switching from drafts folder to saved search folder doesn't remove the edit draft button. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@216676 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 18:35:25 +00:00
wtchang%redhat.com
17276e586e Bugzilla Bug 361077: removed commented-out code. r=christophe.ravel
git-svn-id: svn://10.0.0.236/trunk@216675 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 18:31:49 +00:00
wtchang%redhat.com
6bd11fe950 Bugzilla Bug 361077: fixed the bug that HP-UXB.11.*.mk test USE_PTHREADS
before it is set.  Since we always use pthreads now, we can unconditionally
add -D_POSIX_C_SOURCE=199506L to OS_CFLAGS in HP-UXB.11.mk.
r=christophe.ravel
Modified Files:
	HP-UXB.11.00.mk HP-UXB.11.11.mk HP-UXB.11.20.mk
	HP-UXB.11.22.mk HP-UXB.11.23.mk HP-UXB.11.mk


git-svn-id: svn://10.0.0.236/trunk@216673 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 18:28:40 +00:00
ghendricks%novell.com
a1952380ba Missing filters on a couple tables
git-svn-id: svn://10.0.0.236/trunk@216672 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 18:24:29 +00:00
nrthomas%gmail.com
dcccfafa52 Bump nagios version for Thunderbird 1.5.0.9, b=360034, r=rhelmer
git-svn-id: svn://10.0.0.236/trunk@216670 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 18:02:29 +00:00
jminta%gmail.com
fa1f63e4b1 Bug 362856 Edit Task command from tasklist context menu does nothing, patch by sebastian.schwieger@googlemail.com, r=jminta
git-svn-id: svn://10.0.0.236/trunk@216669 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 17:19:23 +00:00
benjamin%smedbergs.us
c5717f53e9 Bug 363000 - protect against spaces in the source directory, r=luser
git-svn-id: svn://10.0.0.236/trunk@216668 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 16:36:22 +00:00
vladd%bugzilla.org
df34507479 Documentation patch for bug 355302: Documentation for the "clone bug" feature; patch by victory(_RSZ_) <bmo2007@rsz.jp>, r=vladd.
git-svn-id: svn://10.0.0.236/trunk@216667 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 15:40:27 +00:00
thomas.benisch%sun.com
4a789af8f6 bug #357397 support WCAP server invitations r=mvl
git-svn-id: svn://10.0.0.236/trunk@216666 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 14:50:04 +00:00
dschaffe%adobe.com
ee5c81b648 bug 361312, fix tamarin tests of case Math.pow(Infinity,-1)=0 and variants, r=wsharp
git-svn-id: svn://10.0.0.236/trunk@216665 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 14:30:29 +00:00
thomas.benisch%sun.com
f75e0df2ee bug #357397 support WCAP server invitations
git-svn-id: svn://10.0.0.236/trunk@216664 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 14:28:45 +00:00
thomas.benisch%sun.com
c392079e43 bug #357397 support WCAP server invitations
git-svn-id: svn://10.0.0.236/trunk@216663 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 13:48:42 +00:00
kaie%kuix.de
413c4b7249 Bug 362980, Unable to verify the identity of [www.something.com] as a trusted site
Fixes a regression from yesterday's checkin for bug 176501.
r=rrelyea, r=wtchang


git-svn-id: svn://10.0.0.236/trunk@216661 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 13:02:28 +00:00
mozilla.mano%sent.com
a585ab7859 Bug 359552 - Remove keycode constants from nsIAutoCompleteController. r=gavin.
git-svn-id: svn://10.0.0.236/trunk@216660 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 12:59:02 +00:00
gijskruitbosch%gmail.com
f534757264 Bug 342988 - Allow plugins to rebuild menu(s), but not before CZ has initialized.
r=silver@warwickcompsoc.co.uk (James Ross)
ChatZilla Only.


git-svn-id: svn://10.0.0.236/trunk@216656 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 12:21:11 +00:00
gijskruitbosch%gmail.com
40bba391c8 Bug 326873 - ChatZilla should be less picky about filenames
r=silver@warwickcompsoc.co.uk (James Ross)
ChatZilla Only.


git-svn-id: svn://10.0.0.236/trunk@216655 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 11:35:20 +00:00
longsonr%gmail.com
e7664de954 Bug 357808 - make nsSVGMarkerFrame::PaintMark and nsSVGMarkerFrame::RegionMark more robust. r=jwatt, sr=tor
git-svn-id: svn://10.0.0.236/trunk@216654 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 09:32:13 +00:00
mozilla.mano%sent.com
5ec2a77783 Bug 354531 - Moving (reordering) search engines should enable the Restore Defaults button. r=gavin.
git-svn-id: svn://10.0.0.236/trunk@216651 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 09:01:30 +00:00
mozilla.mano%sent.com
1cb30110cf Bug 359056 - [Winstripe] regression: no hover feedback for go/search dropdown buttons. r=gavin.
git-svn-id: svn://10.0.0.236/trunk@216650 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 08:58:48 +00:00
mozilla.mano%sent.com
2c72f3427c Bug 353438 - Preview of Location Bar in 'Customize' dialog flawed. r=gavin.
git-svn-id: svn://10.0.0.236/trunk@216649 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 08:55:52 +00:00
cltbld
d3ee520ca6 bootstrap.cfg changes for Tbird 1.5.0.9 builds -preed
git-svn-id: svn://10.0.0.236/trunk@216645 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 07:15:31 +00:00
mozilla.mano%sent.com
233443cc69 Landing bug 354644's fix on trunk, r=mconnor.
git-svn-id: svn://10.0.0.236/trunk@216644 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 07:03:44 +00:00
masayuki%d-toybox.com
305c7436cb Bug 362048 gfxPlatFormGtk::ResolveFontName returns uninitialzed value for aAborted r=dbaron
git-svn-id: svn://10.0.0.236/trunk@216643 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 07:01:08 +00:00
reed%reedloden.com
1e6a5d1cb9 Bug 363029 - "local patch on registry on webtools.m.o... do we need it?" (commit just the comment portion)
git-svn-id: svn://10.0.0.236/trunk@216638 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 06:12:16 +00:00
cltbld
bc73e4f8ef Bump the pullDate to get the version number checkins for FFx 1.5.0.9.
git-svn-id: svn://10.0.0.236/trunk@216636 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 06:08:43 +00:00
smontagu%smontagu.org
b95d0b69a2 Compiler bustage fix
git-svn-id: svn://10.0.0.236/trunk@216634 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 05:10:12 +00:00
reed%reedloden.com
8eb5d2f530 Change /usr/bonsaitools/bin/perl to /usr/bin/perl [p=reed r=justdave]
git-svn-id: svn://10.0.0.236/trunk@216633 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 04:59:39 +00:00
reed%reedloden.com
8f3ad8ec5b Change /usr/bonsaitools/bin/perl to /usr/bin/perl [p=reed r=justdave]
git-svn-id: svn://10.0.0.236/trunk@216632 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 04:35:46 +00:00
bzbarsky%mit.edu
d631c95536 Fix build orange. Bug 356335, reviews hopefully coming up.
git-svn-id: svn://10.0.0.236/trunk@216631 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 03:43:52 +00:00
bzbarsky%mit.edu
9ecace1150 Fix build bustage. See bug 356335 comment 18 for what I forgot to do in the
initial checkin for that bug...  I need a longer-term memory, clearly.  :(


git-svn-id: svn://10.0.0.236/trunk@216630 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 02:53:35 +00:00
bzbarsky%mit.edu
db150e26f6 Go into an error state if we get a handler with a command in non-chrome XBL.
Bug 362716, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@216629 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 02:34:57 +00:00
bzbarsky%mit.edu
dfc962fee2 Allocate the celldata structs from the presshell arena instead of allocating
them from the malloc heap with new.  Use nsTArray to store them and an nsTArray
to store those arrays instead of using nsVoidArray.  Bug 356335, r=bernd,
sr=sicking


git-svn-id: svn://10.0.0.236/trunk@216628 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 02:32:57 +00:00
wtchang%redhat.com
0c3b792433 Bugzilla Bug 345482: changed abspath to core_abspath to avoid conflict with
the built-in abspath function of GNU make 3.81.  The patch is contributed
by Benjamin Smedberg <benjamin@smedbergs.us>. r=wtc,christophe.ravel
Modified Files:
	coreconf/rules.mk nss/cmd/shlibsign/Makefile
	nss/lib/freebl/Makefile nss/lib/pk11wrap/Makefile


git-svn-id: svn://10.0.0.236/trunk@216626 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 01:57:18 +00:00
timeless%mozdev.org
c4eb3547d6 there's no objdir, but we need LOCAL_INCLUDES
git-svn-id: svn://10.0.0.236/trunk@216621 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 00:41:36 +00:00
ghendricks%novell.com
2e009fcc63 Filter the html in the diffs.
git-svn-id: svn://10.0.0.236/trunk@216619 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 23:33:07 +00:00
mozilla.mano%sent.com
d25e533013 Bug 347249 - QuickFind Link/Text Visual Distinction. r=gavin, ui-r=mconnor.
git-svn-id: svn://10.0.0.236/trunk@216617 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 23:24:26 +00:00
mozilla.mano%sent.com
67f31cfa10 Bug 363011 - click on search suggestion doesn't start the search anymore. r=gavin.
git-svn-id: svn://10.0.0.236/trunk@216615 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 23:00:20 +00:00
wtchang%redhat.com
cb167e11ec Bug 332350: fixed a typo in the comment.
git-svn-id: svn://10.0.0.236/trunk@216614 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 23:00:17 +00:00
sayrer%gmail.com
ba68e3a1b8 test for bug 218236. Patch by Wladimir Palant <trev@gtchat.de>. r=bz
git-svn-id: svn://10.0.0.236/trunk@216610 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 22:41:07 +00:00
timeless%mozdev.org
b46cf23c0c Bug 362950 build in embedding/browser/gtk/src failed if srcdir=. is set
The makefile was violating readonly srcdir for objdir builds too...
r=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@216609 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 22:32:07 +00:00
joshmoz%gmail.com
388bae4a52 copy nsLookAndFeel to cocoa dir so we don't depend on widget/mac, we can use cocoa, and our impl can diverge from mac widgets. remove cocoa ifdefs, de-tab files. b=362999 r=smorgan sr=pinkerton
git-svn-id: svn://10.0.0.236/trunk@216608 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 22:31:17 +00:00
ghendricks%novell.com
b8b10f9715 Added a top bugs report to plans
git-svn-id: svn://10.0.0.236/trunk@216607 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 22:29:50 +00:00
tor%cs.brown.edu
ca2e75f93f Bug 362008 - remove nsSVGImageFrame copy of image data. r=pavlov, sr=roc
git-svn-id: svn://10.0.0.236/trunk@216606 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 22:23:10 +00:00
mnyromyr%tprac.de
4d4efea460 Bug 351108: Tooltips in OS X need to not be banana-yellow; p=<stefanh@bluebottle.com>, r=josh, sr=pinkerton - "too....much....free....time..."
git-svn-id: svn://10.0.0.236/trunk@216605 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 22:19:45 +00:00
tor%cs.brown.edu
4f512d8fda Bug 362759 - make erode default morphology operation.
Patch by amenzie@us.ibm.com, r=tor, sr=roc.


git-svn-id: svn://10.0.0.236/trunk@216604 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 22:18:01 +00:00
tor%cs.brown.edu
b484107c01 Bug 362773 - add cairo_create error checking to nsSVGUtils.
Patch by amenzie@us.ibm.com, r=tor, sr=roc.


git-svn-id: svn://10.0.0.236/trunk@216603 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 22:16:15 +00:00
wtchang%redhat.com
a26a68193b Bugzilla Bug 342795: the call-once functions need to store the error code
on failure so that the error code can be retrieved later. r=nelsonb and
alexei.volkov.


git-svn-id: svn://10.0.0.236/trunk@216601 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 21:50:40 +00:00
stridey%gmail.com
197981d0a9 Camino only - bug 361016: Make zoom widget maximize to fill screen when shift is held. r=torben sr=pink
git-svn-id: svn://10.0.0.236/trunk@216600 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 21:43:39 +00:00
stridey%gmail.com
1899e63d7a Camino only - Bug 327203: When opening prefpanes, respect the OS Full keyboard access pref for determining whether or not to focus the first element. r=hwaara sr=pink
git-svn-id: svn://10.0.0.236/trunk@216599 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 21:25:09 +00:00
christophe.ravel.bugs%sun.com
b7566555ac Bugzilla 362857 Simplify the NSS version string definition.
r+ wtchang


git-svn-id: svn://10.0.0.236/trunk@216598 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 21:14:54 +00:00
smontagu%smontagu.org
6f9d166dbe Make alert notifications popup over the left end of the taskbar on right-to-left desktops. Bug 132733, r=ere, sr=neil
git-svn-id: svn://10.0.0.236/trunk@216596 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 20:52:09 +00:00
wsharp%adobe.com
9d04e5b964 bug 361312. Fix for Math.pow plus a few other things. r: stejohns@adobe.com
git-svn-id: svn://10.0.0.236/trunk@216595 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 20:51:03 +00:00
wtchang%redhat.com
521bf20b5a Bugzilla Bug 362857: simplified the NSS and softoken version string
definition.  r=christophe.ravel,nelsonb.
Modified files: nss/nss.h softoken/softkver.h


git-svn-id: svn://10.0.0.236/trunk@216592 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 19:51:30 +00:00
ghendricks%novell.com
0689dec183 Update url in env lookup
git-svn-id: svn://10.0.0.236/trunk@216591 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 19:37:03 +00:00
scott%scott-macgregor.org
0802969b60 Bug #360702 --> look for ISP RDF Files in extension directories. Don't forget to package rss.rdf from its new location. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@216590 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 19:36:27 +00:00
ghendricks%novell.com
8c7002dc1e Forgot to add the quicksearch files.
git-svn-id: svn://10.0.0.236/trunk@216589 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 19:35:10 +00:00
smontagu%smontagu.org
9e39056441 Recognize attachments when importing Japanese Eudora mailboxes. Bug 95613, patch by Hiro <sugar.waffle@gmail.com>, r=me, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@216584 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 19:09:49 +00:00
timeless%mozdev.org
4d2beb9547 Bug 283487 nsStringInputStream is still broken
use LengthRemaining consistently
r=darin


git-svn-id: svn://10.0.0.236/trunk@216583 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 18:46:29 +00:00
ghendricks%novell.com
987a4bc169 Use a suggest type lookup for environments in caseruns.
git-svn-id: svn://10.0.0.236/trunk@216582 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 18:35:39 +00:00
ccooper%deadsquid.com
e187b497d0 b=355278
- associate branches directly with testcases, subgroups, and testgroups
- existing Litmus installs will need to run the migration/update_branch_relationships.pl script to update their installs
- fix fidelity of testcase, subgroup, and testgroup listings so that entities th
at don't belong to groupings are still displayed

Misc.
- standardize how we call 'onchange' js functions to avoid capitalization errors that were plaguing us before
- enable differential sorting in FormWidget listings


git-svn-id: svn://10.0.0.236/trunk@216581 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 18:18:31 +00:00
stuart.morgan%alumni.case.edu
09a4411ae3 Camino only - Remove extra parameter is bookmark failure logging; no bug. r/sr=josh
git-svn-id: svn://10.0.0.236/trunk@216580 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 18:04:47 +00:00
aaronr%us.ibm.com
081a782a2a [XForms] removed redundant label in select anonymous content. Bug 348053, patch by surkov, r=aaronL+aaronr
git-svn-id: svn://10.0.0.236/trunk@216579 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 18:02:39 +00:00
wtchang%redhat.com
50fccfcc92 Bugzilla Bug 362246: enable large-file support on Mac OS X.
r=mark.mentovai,bienvenu


git-svn-id: svn://10.0.0.236/trunk@216575 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 17:57:34 +00:00
kaie%kuix.de
a6585ba30d Bug 362967, export SECMOD_DeleteModuleEx
r=rrelyea, r=wtchang


git-svn-id: svn://10.0.0.236/trunk@216574 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 17:56:04 +00:00
michael.buettner%sun.com
719f017794 bug #362921 moving event to new start-date does not update free/busy grid
git-svn-id: svn://10.0.0.236/trunk@216573 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 17:54:30 +00:00
stuart.morgan%alumni.case.edu
d43ce9ede1 Camino only - Bug 344356: Fill all password forms, not just the first one.
git-svn-id: svn://10.0.0.236/trunk@216572 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 17:43:39 +00:00
kaie%kuix.de
8f45191b4b follow up checkin, make sure entries in nss.def are sorted
git-svn-id: svn://10.0.0.236/trunk@216571 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 17:32:47 +00:00
kaie%kuix.de
ac6441f8bf Bug 345277, When "Certificate Viewer" is shut, the object leaks
r=rrelyea


git-svn-id: svn://10.0.0.236/trunk@216570 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 17:25:14 +00:00
kaie%kuix.de
85ee992791 Export two NSS functions, required for:
Bug 307319, Certificate details show incorrect public key information
r=rrelyea


git-svn-id: svn://10.0.0.236/trunk@216569 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 17:12:41 +00:00
joshmoz%gmail.com
703152c5b9 fix "Some Cmd+Shift+letter shortcuts are broken". This is a big step towards fixing menuless dialogs as well. b=355817 r=mento sr=pinkerton
git-svn-id: svn://10.0.0.236/trunk@216568 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 17:04:13 +00:00
kaie%kuix.de
04fb966856 Bug 360526, Cert not imported - Feedback prompt sometimes does not work
r=rrelyea


git-svn-id: svn://10.0.0.236/trunk@216566 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 16:31:32 +00:00
kaie%kuix.de
27a43405ec Bug 360525, S/Mime LDAP cert fetching no longer works on trunk
r=mscott


git-svn-id: svn://10.0.0.236/trunk@216565 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 16:27:45 +00:00
kaie%kuix.de
fde4dc155a Bug 360528, Can no longer import trusted email cert
r=rrelyea


git-svn-id: svn://10.0.0.236/trunk@216564 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 16:20:08 +00:00
kaie%kuix.de
bf7ee32279 Bug 164707, Provide a way to view/delete orphan certs
r=rrelyea


git-svn-id: svn://10.0.0.236/trunk@216563 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 16:16:52 +00:00
mkaply%us.ibm.com
0b9ba08bd5 OS/2build break
git-svn-id: svn://10.0.0.236/trunk@216562 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 16:14:41 +00:00
michael.buettner%sun.com
d50ffb82b5 bug #359026 all-day events not included in calculating availability
git-svn-id: svn://10.0.0.236/trunk@216561 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 15:59:43 +00:00
kaie%kuix.de
e2a6356e24 Bug 176501, mozilla apps must manage NSS configuration for PKCS#11 shared libs, including nssckbi.dll
r=rrelyea


git-svn-id: svn://10.0.0.236/trunk@216560 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 15:42:39 +00:00
michael.buettner%sun.com
693585d8a8 bug #362961 missing relation for custom reminder
git-svn-id: svn://10.0.0.236/trunk@216559 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 14:50:33 +00:00
hwaara%gmail.com
12c3af2372 Implement accessible objects for xforms select controls. Patch by Alexander Surkov <surkov.alexander@gmail.com>. r=aaronr, aaronlev, b=348053
git-svn-id: svn://10.0.0.236/trunk@216558 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 13:44:19 +00:00
hwaara%gmail.com
c5c5bee258 Initial support for popupmenus, r=surkov, b=362080
git-svn-id: svn://10.0.0.236/trunk@216557 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 13:35:56 +00:00
neil%parkwaycc.co.uk
600348d019 Register content separately from skin and locale b=362265 r=ajschult sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@216556 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 10:37:05 +00:00
reed%reedloden.com
9bd323afae Bug 311765 - [p=timeless r=bear]
git-svn-id: svn://10.0.0.236/trunk@216555 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 10:22:03 +00:00
reed%reedloden.com
ab05782243 Bug 318880 - "Despot should log authentication results" [p=justdave r=reed]
git-svn-id: svn://10.0.0.236/trunk@216554 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 09:37:49 +00:00
longsonr%gmail.com
a3f9a4e652 Bug 362683 - SVG Text doesn't move when x/y attributes changed r+sr=tor
git-svn-id: svn://10.0.0.236/trunk@216553 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 09:34:14 +00:00
michael.buettner%sun.com
c36b818abf bug #362743 add new icons to free/busy dialog and rearrange layout
git-svn-id: svn://10.0.0.236/trunk@216552 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 08:02:04 +00:00
michael.buettner%sun.com
6cc720608d bug #362743 add new icons to free/busy dialog and rearrange layout
git-svn-id: svn://10.0.0.236/trunk@216551 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 07:56:42 +00:00
reed%reedloden.com
3fb096fea7 Bug 322763 - "Should be a UI for the administrator to view an account's history" [p=reed r=justdave]
git-svn-id: svn://10.0.0.236/trunk@216550 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 07:56:24 +00:00
masayuki%d-toybox.com
97ca50516b Bug 341500 crash in usp10.dll(ScriptShape API) r=pavlov
git-svn-id: svn://10.0.0.236/trunk@216548 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 07:01:02 +00:00
bzbarsky%mit.edu
2cb665ad6a Add more tests.
git-svn-id: svn://10.0.0.236/trunk@216547 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 06:59:22 +00:00
reed%reedloden.com
376c1c0259 Bug 362912 - [p=reed r=justdave]
git-svn-id: svn://10.0.0.236/trunk@216546 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 06:25:05 +00:00
bzbarsky%mit.edu
79e3b2b3ba Add a few more tests
git-svn-id: svn://10.0.0.236/trunk@216545 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 06:20:21 +00:00
scott%scott-macgregor.org
6251d22199 replace spaces with tabs in the Makefile in order to fix build bustage on linux.
git-svn-id: svn://10.0.0.236/trunk@216544 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 05:49:23 +00:00
scott%scott-macgregor.org
01da3259d0 Bug #362557 --> forgot to land this with the rest of the changes to support editing tags.
git-svn-id: svn://10.0.0.236/trunk@216541 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 05:31:44 +00:00
scott%scott-macgregor.org
b3824ce6e8 Bug #360702 --> Look for ISP RDF files in extension directories. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@216540 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 05:24:28 +00:00
scott%scott-macgregor.org
bea3b02a66 Bug #360702 --> Look for ISP RDF files in extension directories that contain "isp" sub directories. This should make it easy for extensions to make account setup easy for ISPs. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@216539 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 05:22:26 +00:00
alfred.peng%sun.com
cf0865ef8c Bug 351950. nsLocalFileUnix has "access"(system call) problem on Solaris.
r+sr=dougt.


git-svn-id: svn://10.0.0.236/trunk@216538 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 03:58:48 +00:00
timeless%mozdev.org
87d9aca247 Bug 351261 startup crash. [@ js_XDRStringAtom] / jsxdrapi.c
mips crash because of bad optimization with MIPSpro compiler
patch by neko@nekochan.net r=brendan


git-svn-id: svn://10.0.0.236/trunk@216537 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 03:03:59 +00:00
timeless%mozdev.org
99eae78b79 Bug 322806 ARM crash [@ XPTC_InvokeByIndex]
patch by apm@dna.fi
eabi arm assembly didn't warn that a variable was a memory operand so the
newer gcc compilers (e.g. gcc4) started optimizing things away...

I tried to get someone to vouch for this code but the people I poked
never got back to me.

moa=timeless


git-svn-id: svn://10.0.0.236/trunk@216536 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 03:00:09 +00:00
timeless%mozdev.org
f723e5f220 Bug 337244 Incorrect pointer passed in nsUnicodeToISO2022JP::ConvertNoBuffNoErr
r=smontagu sr=roc


git-svn-id: svn://10.0.0.236/trunk@216534 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 02:49:51 +00:00
mattwillis%gmail.com
eb75237ca0 Okay, that doesn't work either. Removing --with-sdk for now.
git-svn-id: svn://10.0.0.236/trunk@216533 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 02:42:15 +00:00
wtchang%redhat.com
b9d0822fe3 Bugzilla Bug 357197: when we compare hash algorithm identifiers, allow the
'parameters' to be either NULL or missing.  r=nelsonb,relyea


git-svn-id: svn://10.0.0.236/trunk@216531 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 02:25:52 +00:00
mattwillis%gmail.com
9684419fd7 Bump SDK used to 10.3.9. josh's checkin for (MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_3) breaks using 10.2.8 on trunk.
git-svn-id: svn://10.0.0.236/trunk@216529 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 01:37:53 +00:00
wtchang%redhat.com
ed4b8e9aeb Bugzilla Bug 358248: SSL_ShutdownServerSessionIDCache should stop the
LockPoller thread.  r=nelsonb,relyea


git-svn-id: svn://10.0.0.236/trunk@216528 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 01:36:08 +00:00
ted.mielczarek%gmail.com
bee418d4f3 bug 359151 Generate symbol files from pdb if airbag is enabled. r=preed. Use |make splitsymbols| to generate symbols.
git-svn-id: svn://10.0.0.236/trunk@216526 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 01:16:05 +00:00
ted.mielczarek%gmail.com
86894b2dc0 bug 359151 Generate symbol files from pdb if airbag is enabled. r=preed. This binary was compiled from the airbag source: http://airbag.googlecode.com/svn/trunk/src/tools/windows/dump_syms/
git-svn-id: svn://10.0.0.236/trunk@216525 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 01:14:51 +00:00
timeless%mozdev.org
bcb588e3dc Bug 362283 Components.errors is a silly typo for Components.results
patch by sciguyryan+bugzilla@gmail.com r=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@216524 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 01:12:06 +00:00
preed%mozilla.com
60b8a5568d Bug 360813: patcher2.pl doesn't generate correct snippits for older releases on partner builds. r=preed
git-svn-id: svn://10.0.0.236/trunk@216523 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 01:11:27 +00:00
timeless%mozdev.org
222d8d6349 Bug 362720 please spell NS_LOCAL_FILE_CONTRACTID as such
r=gavin


git-svn-id: svn://10.0.0.236/trunk@216522 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 00:48:12 +00:00
martijn.martijn%gmail.com
1e69df58b5 Bug 304188 - find-menu appears in editor element which has had makeEditable() called but designMode not set, r=mano
git-svn-id: svn://10.0.0.236/trunk@216520 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 00:17:24 +00:00
joshmoz%gmail.com
9b756917d1 (MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_3) is never true any more on trunk. r=smorgan
git-svn-id: svn://10.0.0.236/trunk@216519 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 00:14:47 +00:00
tony%ponderer.org
e51ed9e0c2 Add tests for URLCanonicalizer and EnchashDecryptor. Small change in
trtable.js to expose JS component in debug builds to allow testing.


git-svn-id: svn://10.0.0.236/trunk@216517 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 23:36:01 +00:00
lpsolit%gmail.com
62b510372b Bug 362878: .htaccess should protect .pm and .pl files by default - Patch by Frédéric Buclin <LpSolit@gmail.com> r=myk
git-svn-id: svn://10.0.0.236/trunk@216515 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 23:09:46 +00:00
bzbarsky%mit.edu
ab526229a2 Avoid floats altogether for block <math>. Bug 362701, r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@216512 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 22:28:07 +00:00
lpsolit%gmail.com
d1f058a46b Bug 334995: Doctor needs an installation script to set file permissions correctly - Patch by Frédéric Buclin <LpSolit@gmail.com> r=myk
git-svn-id: svn://10.0.0.236/trunk@216511 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 22:19:38 +00:00
timeless%mozdev.org
35361dde9b Trying to fix Thunderbird Linux galactica Dep Lt-Release %
it's running with an old glib2. The hope is that the code will automatically
generate the marshalling code. This may or may not work, if it doesn't,
everything will probably go red :).


git-svn-id: svn://10.0.0.236/trunk@216509 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 21:36:25 +00:00
mvl%exedo.nl
4b76343d6e bug 360513: Show file type suffix in import/export file picker filter description (wildmat pattern). patch by gekacheka@yahoo.com, r=lilmatt, me. ui-review=dmose
git-svn-id: svn://10.0.0.236/trunk@216507 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 21:17:18 +00:00
ghendricks%novell.com
7590f96609 Bugzilla Bug 362861
DB error--cannot find column while attempting to create report of completed test run


git-svn-id: svn://10.0.0.236/trunk@216506 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 20:46:09 +00:00
rhelmer%mozilla.com
13df5f7d1e add Makefile and Config
git-svn-id: svn://10.0.0.236/trunk@216503 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 19:58:38 +00:00
preed%mozilla.com
ab3e04b540 Bug 360034: tinder-config changes for the 1.5.0.9 release; r=rhelmer
git-svn-id: svn://10.0.0.236/trunk@216502 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 19:56:12 +00:00
sayrer%gmail.com
a9df860190 Bug 362547. Crash in SAXReader with doctype missing public, system ID's. Patch by Alex Vincent <ajvincent@gmail.com>. r=sayrer, sr=bz
git-svn-id: svn://10.0.0.236/trunk@216499 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 19:37:37 +00:00
bzbarsky%mit.edu
6dda4a3840 Allow subframes that come from a different domain to document.write/open
themselves.  Bug 362837, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@216498 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 19:36:40 +00:00
rhelmer%mozilla.com
c044968bd5 reset test log
git-svn-id: svn://10.0.0.236/trunk@216497 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 19:13:34 +00:00
rhelmer%mozilla.com
cf5be8be88 implement release steps b=356185 r=preed
git-svn-id: svn://10.0.0.236/trunk@216496 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 19:12:59 +00:00
joshmoz%gmail.com
bcef8b46c5 Treat control-click on mac as a right click. b=362812 r=mano sr=pink
git-svn-id: svn://10.0.0.236/trunk@216495 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 18:38:17 +00:00
stridey%gmail.com
6caa129bfc Camino only - Bug 313740: Force drags from external apps to copy, not move. r=Wevah sr=pink
git-svn-id: svn://10.0.0.236/trunk@216494 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 18:36:59 +00:00
preed%mozilla.com
ecc226facb Add HashFile() to exported symbols. r=rhelmer
git-svn-id: svn://10.0.0.236/trunk@216493 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 18:27:08 +00:00
rhelmer%mozilla.com
0c17fae856 use exporter b=356185 r=preed
git-svn-id: svn://10.0.0.236/trunk@216492 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 18:24:08 +00:00
sayrer%gmail.com
d321819e85 Bug 362329. Autodiscovery should not discover rel='alternate stylesheet' as a feed. r=gavin
git-svn-id: svn://10.0.0.236/trunk@216491 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 18:18:05 +00:00
aaronr%us.ibm.com
abaef00423 schema loader/validator isnt handling forward declaration of complexContent extension base. Bug 350076, patch by sspeiche, r+a=doronr
git-svn-id: svn://10.0.0.236/trunk@216490 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 18:09:42 +00:00
nrthomas%gmail.com
e5f7f40b80 Nagios changes for Firefox/Xulrunner version bump to 2.0.0.1/1.8.1.1. Bug 360585, r=preed
git-svn-id: svn://10.0.0.236/trunk@216489 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 18:02:18 +00:00
nrthomas%gmail.com
07591b6813 Firefox/Xulrunner version bump to 1.5.0.9/1.8.0.9. Bug 360034, r=preed
git-svn-id: svn://10.0.0.236/trunk@216488 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 17:59:44 +00:00
mvl%exedo.nl
4e096d0f15 bustage fix
git-svn-id: svn://10.0.0.236/trunk@216487 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 16:46:39 +00:00
jminta%gmail.com
d41a8c8a90 Bug 277731 no way to convert task <-> event, r=lilmatt, mvl
git-svn-id: svn://10.0.0.236/trunk@216486 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 16:21:45 +00:00
doronr%us.ibm.com
2de3ed3b02 Make schema validation tests not hardcode my path. Patch be sspeiche, r=me
git-svn-id: svn://10.0.0.236/trunk@216485 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 16:21:13 +00:00
jminta%gmail.com
a71ebd6df4 Bug 361560 Weekly layout: Sunday of previous week displayed in current week, r=lilmatt, mvl
git-svn-id: svn://10.0.0.236/trunk@216484 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 16:17:08 +00:00
jminta%gmail.com
84a2947cb2 Bug 360658 Weekly layout: No preview for 'Selected events' selection [Error: aStart has no properties], r=lilmatt, mvl
git-svn-id: svn://10.0.0.236/trunk@216483 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 16:13:29 +00:00
peterv%propagandism.org
859f63854e Fix part of bug 226124 (Cleanup transformiix walkers). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@216482 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 15:59:04 +00:00
bienvenu%nventure.com
b1291887d5 don't stop local ab autocomplete when the user types @, r=neil, sr=mscott 200804
git-svn-id: svn://10.0.0.236/trunk@216481 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 15:54:02 +00:00
brendan%mozilla.org
5ce206c2a5 Back out last checkin.
git-svn-id: svn://10.0.0.236/trunk@216480 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 15:46:19 +00:00
bzbarsky%mit.edu
25c459209d Move GetCompatibilityMode() to nsIDocument. Bug 362797, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@216479 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 15:46:18 +00:00
edburns%acm.org
dac867a2cc M mozilla/Makefile.in
M src/Makefile.in

- Force logging to be enabled, regardless of debugging setting.

M src/PlugletEngine.cpp

- Make sure to disable JVM debugging.


git-svn-id: svn://10.0.0.236/trunk@216477 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 13:02:25 +00:00
brendan%mozilla.org
43df37f53d Back out last rev to clear orange balsa.
git-svn-id: svn://10.0.0.236/trunk@216476 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 07:39:15 +00:00
brendan%mozilla.org
501c8f8d6f Fix O(n^2) problem exposed by closures as instance-getters/setters (335700, r=mrbkap+shaver).
git-svn-id: svn://10.0.0.236/trunk@216471 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 00:55:00 +00:00
brendan%mozilla.org
985f53dfd3 Add JS_DHASH_{,DEFAULT_}CAPACITY macros for realloc-free init (356116, r/sr=mrbkap+shaver/dbaron).
git-svn-id: svn://10.0.0.236/trunk@216470 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 00:52:05 +00:00
ghendricks%novell.com
a6d15be59d Add more detail to notes and give users a popup too view all the notes.
Added script and arguments to the case-run short form.


git-svn-id: svn://10.0.0.236/trunk@216467 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 00:20:58 +00:00
cst%yecc.com
bc0ee935af Fixing string from previous checkin
git-svn-id: svn://10.0.0.236/trunk@216466 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 00:18:14 +00:00
cst%yecc.com
0c10bf0bbf Bug 339720 show warning page before showing about:config (toolkit version)
r=mano


git-svn-id: svn://10.0.0.236/trunk@216465 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 00:15:22 +00:00
mats.palmgren%bredband.net
a51098a12d Last checkin was for bug 353553.
git-svn-id: svn://10.0.0.236/trunk@216464 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 23:50:19 +00:00
mats.palmgren%bredband.net
3e318e35c9 Fix regression from bug 286622. r=cbiesinger sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@216463 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 23:47:34 +00:00
timeless%mozdev.org
4b321afe5f missed one gnomevfs containing function. of course, that function was buggy...
git-svn-id: svn://10.0.0.236/trunk@216460 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 23:40:52 +00:00
wtchang%redhat.com
c7169e2f5e Bugzilla Bug 362173: The NSS cryptographic module (the softoken and freebl
shared libraries) should have its own version numbers. r=nelsonb and
neil.williams.
Modified Files:
	lib/freebl/freebl.rc lib/freebl/freeblver.c
	lib/softoken/manifest.mn lib/softoken/pkcs11.c
	lib/softoken/softkver.c lib/softoken/softokn.rc
Added Files:
	lib/softoken/softkver.h


git-svn-id: svn://10.0.0.236/trunk@216459 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 23:31:35 +00:00
preed%mozilla.com
e950cdfa5a Adds HashFile(), a method that uses openssl to provide md5/sha1 sums of files. Much of the code was taken from tinderbox's implementation; openssl was chosen because it's just about guaranteed to exist on all the platforms we care about, and thus elimintes platform-specifics-parsing- and trying to figure out platform/which-binary-to-call-issues.
git-svn-id: svn://10.0.0.236/trunk@216458 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 23:19:01 +00:00
timeless%mozdev.org
2c45bf926f Attempt to make gnomevfs optional
git-svn-id: svn://10.0.0.236/trunk@216457 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 23:10:20 +00:00
timeless%mozdev.org
5193e38807 oops, map doesn't take a parameter
git-svn-id: svn://10.0.0.236/trunk@216456 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 22:33:27 +00:00
ghendricks%novell.com
7498a51b05 fixed the missing pie.
git-svn-id: svn://10.0.0.236/trunk@216455 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 22:23:21 +00:00
ghendricks%novell.com
0860b44fd9 List bug test cases instead of case-runs
git-svn-id: svn://10.0.0.236/trunk@216454 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 22:15:30 +00:00
ghendricks%novell.com
f819acd422 Allow cloning of a list of cases to a list of plans.
git-svn-id: svn://10.0.0.236/trunk@216453 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 21:52:57 +00:00
despotdaemon
5a25ba25f8 Pseudo-automatic update of changes made by nrthomas@gmail.com.
git-svn-id: svn://10.0.0.236/trunk@216452 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 21:46:42 +00:00
mvl%exedo.nl
cd712957fd bustage fix
git-svn-id: svn://10.0.0.236/trunk@216450 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 21:38:20 +00:00
cltbld
8c4ad5353b Automated update from host egg.build.mozilla.org
git-svn-id: svn://10.0.0.236/trunk@216449 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 21:31:03 +00:00
roc+%cs.cmu.edu
7a14fc9070 fixing bustage
git-svn-id: svn://10.0.0.236/trunk@216448 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 21:28:56 +00:00
timeless%mozdev.org
030f8e1ef5 Fixing merge conflict, fixing out value to return ok on success and fixing out value to null out on failure.
Using interface map for complicated conditional case.


git-svn-id: svn://10.0.0.236/trunk@216445 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 21:23:35 +00:00
ghendricks%novell.com
b77b994631 Changes to cloning. Now you can keep the author or choose yourself. Also cloning plans between products and runs between plans.
git-svn-id: svn://10.0.0.236/trunk@216444 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 21:03:06 +00:00
timeless%mozdev.org
1c7e4a3627 reverting header include to match rev 1.24, it's a gtk2 only header...
git-svn-id: svn://10.0.0.236/trunk@216443 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 20:58:27 +00:00
cltbld
fe2cf06b52 Automated update from host egg.build.mozilla.org
git-svn-id: svn://10.0.0.236/trunk@216442 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 20:51:03 +00:00
roc+%cs.cmu.edu
e7a95dd7ee Bug 312793. Make Linux builds listen to dbus for NetworkManager events so we can go online/offline automatically. r=caillon,bsmedberg sr=darin
git-svn-id: svn://10.0.0.236/trunk@216440 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 20:42:31 +00:00
bzbarsky%mit.edu
e1eaaf62ed Make ReconstructDocElementHierarchy work correctly even if we first blew away a
pseudo which had the root as its content.  Bug 343293, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@216439 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 20:35:55 +00:00
aaronr%us.ibm.com
40660adb9d [XForms] reset has stopped working. Bug 362310, r=surkov+olli
git-svn-id: svn://10.0.0.236/trunk@216438 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 20:33:14 +00:00
bzbarsky%mit.edu
090356bde5 Fix build bustage on platforms where we use a struct for 64-bit ints. Bug
361075, r=shaver


git-svn-id: svn://10.0.0.236/trunk@216436 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 20:28:31 +00:00
bugzilla%standard8.demon.co.uk
48339d03de Fix build bustage from gtkmozembed checkins, r=timeless
git-svn-id: svn://10.0.0.236/trunk@216435 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 20:23:52 +00:00
lpsolit%gmail.com
c8c3de36a3 Bug 359129: Doctor should have a robots.txt - Patch by Frédéric Buclin <LpSolit@gmail.com> r=myk
git-svn-id: svn://10.0.0.236/trunk@216434 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 20:06:25 +00:00
despotdaemon
2b59b36bff Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@216431 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 19:35:05 +00:00
timeless%mozdev.org
b062f9dbe8 Pulling romaxa's gtk1 fixes and the other changes from his commit
git-svn-id: svn://10.0.0.236/trunk@216429 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 18:00:11 +00:00
stridey%gmail.com
022cc742ca Camino only - bug 362572: Visual tweaks to Appearance Prefpane. r=ardissone sr=pink
git-svn-id: svn://10.0.0.236/trunk@216427 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 17:46:57 +00:00
bugzilla%standard8.demon.co.uk
d0a1c6d189 Bug 256447 In mailWindowOverlay.js, "Warning: redeclaration of var i" and "Warning: assignment to undeclared variable pop3Server" (Bv1-TB) p=Serge Gautherie <sgautherie.bz@free.fr>,r=bienvenu,sr=mscott
git-svn-id: svn://10.0.0.236/trunk@216423 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 17:09:01 +00:00
bugzilla%standard8.demon.co.uk
cf30ce7778 Bug 361994 Searching for LDAP entries in address book always gets all entries (fixes regression from bug 355363). r/sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@216422 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 17:06:15 +00:00
stridey%gmail.com
87e7e8ef50 Camino only - Bug 346772: First item in History search results has all disabled items in context menu. r=smorgan sr=pink
git-svn-id: svn://10.0.0.236/trunk@216421 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 17:04:55 +00:00
bugzilla%standard8.demon.co.uk
498562c05c Bug 360777 Change nsIAbCard::EditCardToDatabase to nsIAbDirectory::ModifyCard. r=bienvenu,sr=mscott (relanding now windows compilation issues should be fixed).
git-svn-id: svn://10.0.0.236/trunk@216420 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 17:04:43 +00:00
timeless%mozdev.org
b4ff8c409e fixing non libxul directory service handl; thanks smaug
git-svn-id: svn://10.0.0.236/trunk@216419 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 16:01:06 +00:00
timeless%mozdev.org
d4a7b4df39 fixing non libxul directory service handling; thanks smaug
git-svn-id: svn://10.0.0.236/trunk@216418 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 15:39:33 +00:00
peterv%propagandism.org
8c4433aa7f Add new JS component for bug 354886 to package files.
git-svn-id: svn://10.0.0.236/trunk@216417 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 15:30:00 +00:00
hwaara%gmail.com
b2338f244c Reorganize full selects, Patch by Alexander Surkov <surkov.alexander@gmail.com>. r=aaronr, Olli.Pettay, b=358712
git-svn-id: svn://10.0.0.236/trunk@216416 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 15:21:14 +00:00
peterv%propagandism.org
4249846cc7 Fix for bug 354886 (implement EXSLT - Regular Expressions module). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@216415 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 15:11:40 +00:00
hwaara%gmail.com
599211201d Reorganize full selects, Patch by Alexander Surkov <surkov.alexander@gmail.com>. r=aaronr, Olli.Pettay, b=358712
git-svn-id: svn://10.0.0.236/trunk@216414 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 14:55:25 +00:00
timeless%mozdev.org
7563c3b33c Fixing most ifdefs to mean libxul instead of saying 1.8
making xulrunner link dynamically against gtkmozembed (because ajschult and
I couldn't figure out how to deal with a profiledirectorylock and we know
of no reason to have gtkmozembed linked statically).
Hopefully fixed some cast complaints smaug had (presumably they relate to
the comments "I doubt this cast pair is correct").
Tried to clean up the REQUIRES a /bit/ in an effort to address the lock
problem.

Again, thanks to ajschult for his time and assistance.


git-svn-id: svn://10.0.0.236/trunk@216412 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 10:50:02 +00:00
smontagu%smontagu.org
8cb532ea8b Correct stupid typo in default font names. Bug 362709, r=mano
git-svn-id: svn://10.0.0.236/trunk@216411 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 09:43:52 +00:00
reed%reedloden.com
dd57b1f8a4 Bug 362704 - "Bonsai needs a default .htaccess file for data directory" [p=reed r=timeless]
git-svn-id: svn://10.0.0.236/trunk@216410 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 08:32:01 +00:00
reed%reedloden.com
dc7064168a Bug 272514 - "make install does "chmod 755 data/", which breaks sendmail writing to that directory" [p=reed r=timeless]
git-svn-id: svn://10.0.0.236/trunk@216409 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 08:00:08 +00:00
timeless%mozdev.org
9dfdbfd20c SetPageTitle is nsIGlobalHistory2 :(
And RemoveAllPages is now just nsresult


git-svn-id: svn://10.0.0.236/trunk@216408 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 07:58:22 +00:00
smontagu%smontagu.org
d1c574b919 Reverse the y offsets returned by ScriptPlace(). Bug 361782, r=pavlov
git-svn-id: svn://10.0.0.236/trunk@216407 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 07:23:12 +00:00
reed%reedloden.com
dc331a3010 Bug 347105 - [p=reed r=timeless]
git-svn-id: svn://10.0.0.236/trunk@216406 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 07:09:50 +00:00
reed%reedloden.com
d132cad03c Bug 346660 - [p=justdave r=myk]
git-svn-id: svn://10.0.0.236/trunk@216405 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 07:08:00 +00:00
timeless%mozdev.org
7482a312b7 Removing nsIBrowserHistory
The only method we needed was RemoveAllPages, which i've moved to be accessible via nsIObserver,
it's a private communication from the specific history client.

Variable length arrays is a C99 ism, in gecko we use nsAutoArrayPtr.

thanks to ajschult for helping out


git-svn-id: svn://10.0.0.236/trunk@216404 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 06:46:27 +00:00
timeless%mozdev.org
6c1793062c Title should be nsCString (Autos never belong in structures, and the data was always narrow)
git-svn-id: svn://10.0.0.236/trunk@216403 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 06:23:28 +00:00
timeless%mozdev.org
01e43ed007 First attempt at bandaging gtk1
git-svn-id: svn://10.0.0.236/trunk@216402 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 06:22:18 +00:00
scott%scott-macgregor.org
4cda990adc Bug #308552 --> land some strings for growl integration in case we add growl support.
git-svn-id: svn://10.0.0.236/trunk@216401 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 06:11:02 +00:00
ajschult%verizon.net
24dcebf110 Fixing preliminary bustage. rs=timeless
git-svn-id: svn://10.0.0.236/trunk@216400 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 06:02:56 +00:00
scott%scott-macgregor.org
cb9dcc05d5 Bug #361434 --> add some strings for the privacy dialog in case we want to use them after the string freeze
git-svn-id: svn://10.0.0.236/trunk@216399 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 05:53:49 +00:00
scott%scott-macgregor.org
443ecb1b3e Bug #361434 --> put the advanced config button after the return receipts button.
git-svn-id: svn://10.0.0.236/trunk@216398 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 05:43:32 +00:00
pavlov%pavlov.net
8be0a19df7 fixing windows print crash bug 362476. r=vlad
git-svn-id: svn://10.0.0.236/trunk@216395 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 05:03:13 +00:00
reed%reedloden.com
7982fe675f Bug 279089 - "Add favicon to bonsai" [p=justdave p=unattended@gmail.com r=reed r=timeless]
git-svn-id: svn://10.0.0.236/trunk@216394 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 05:02:57 +00:00
timeless%mozdev.org
7e663e4f9e Landing MICROB_20061031_BRANCH
This is an experiment, and I'm sorry that the code isn't perfect.
Patches Wanted, Work will be on the MICROB_20061204_BRANCH


git-svn-id: svn://10.0.0.236/trunk@216392 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 04:06:14 +00:00
philringnalda%gmail.com
b979daf5a5 Bug 361246: Don't collapse toolbar customization window since we don't animate it, r=mano
git-svn-id: svn://10.0.0.236/trunk@216389 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 03:02:15 +00:00
bzbarsky%mit.edu
6175079009 Better naming for the tests for bug 362594
git-svn-id: svn://10.0.0.236/trunk@216388 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 02:24:03 +00:00
bzbarsky%mit.edu
13b38651f2 Fixing buglet.
git-svn-id: svn://10.0.0.236/trunk@216387 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 02:15:22 +00:00
db48x%yahoo.com
79a9c4511f bug 327833: In <inspector.xul>, "Failed to load overlay from chrome://browser/content/baseMenuOverlay.xul"
patch by Shawn Wilsher :sdwilsh <comrade693+bmo@gmail.com>, r=timeless, sr=neil


git-svn-id: svn://10.0.0.236/trunk@216385 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 01:02:05 +00:00
despotdaemon
7383866fb1 Pseudo-automatic update of changes made by timeless@mozdev.org.
git-svn-id: svn://10.0.0.236/trunk@216384 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 00:40:17 +00:00
bzbarsky%mit.edu
764bd2fa4a Add regression tests for bug 362594.
git-svn-id: svn://10.0.0.236/trunk@216383 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-03 23:39:49 +00:00
Olli.Pettay%helsinki.fi
b9f447cb08 Test for bug 362391, r=sicking
git-svn-id: svn://10.0.0.236/trunk@216382 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-03 23:04:42 +00:00
reed%reedloden.com
c0b31a92d5 Bug 322729 - "Despot needs an .htaccess file to restrict access to various non-CGI files" [p=justdave r=reed]
git-svn-id: svn://10.0.0.236/trunk@216379 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-03 22:52:47 +00:00
reed%reedloden.com
41315ac6df Bug 322765 - "Lots of people are missing vouchers" [p=reed r=timeless]
git-svn-id: svn://10.0.0.236/trunk@216378 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-03 22:16:44 +00:00
reed%reedloden.com
242ba0609b Bug 17589 - ""delete user" currently not a good idea" (also change $EnableDeleteUser to 1) [p=reed r=timeless]
git-svn-id: svn://10.0.0.236/trunk@216377 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-03 22:10:33 +00:00
reed%reedloden.com
fd21d6ace5 Bug 322762 - "Password resets don't get logged" [p=reed r=timeless]
git-svn-id: svn://10.0.0.236/trunk@216376 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-03 22:07:18 +00:00
stridey%gmail.com
80ec4e16ce Camino only - Bug 362543: Make 'Clear History' menu item function with user-added keyboard shortcuts. r=ardissone sr=smorgan
git-svn-id: svn://10.0.0.236/trunk@216375 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-03 22:01:14 +00:00
cltbld
59fb0c0188 Automated update from host egg.build.mozilla.org
git-svn-id: svn://10.0.0.236/trunk@216374 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-03 21:21:02 +00:00
dietrich%mozilla.com
1ae60d8b04 Bug 360162 - Create build option for MOZ_PLACES_BOOKMARKS (r=bsmedberg)
git-svn-id: svn://10.0.0.236/trunk@216373 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-03 21:19:21 +00:00
mozilla.mano%sent.com
6ca0019f67 Bug 351253 - Search button misinterprets modifiers when clicked. r=gavin.
git-svn-id: svn://10.0.0.236/trunk@216372 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-03 20:10:29 +00:00
philringnalda%gmail.com
5ef3c4b0b8 Bug 362627: Keyboard shortcuts to close Mac toolbar customization sheet don't work, r=mano
git-svn-id: svn://10.0.0.236/trunk@216371 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-03 19:52:28 +00:00
szegedia%freemail.hu
274664269e Bugfix for a generated proxy
git-svn-id: svn://10.0.0.236/trunk@216370 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-03 19:46:12 +00:00
neil%parkwaycc.co.uk
4322f922e5 Remove try/catch as Scott changed the implementation so that it returns nothing instead of throwing r=Mnyromyr
git-svn-id: svn://10.0.0.236/trunk@216369 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-03 19:43:16 +00:00
neil%parkwaycc.co.uk
cb6a4b2a28 Port Serge Gautherie's Thunderbird priority menu changes b=146075 r=Mnyromyr
git-svn-id: svn://10.0.0.236/trunk@216368 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-03 19:31:44 +00:00
reed%reedloden.com
aa1d06fa63 Bug 164221 - ""find partition containing file named" is misleading" [p=reed r=justdave]
git-svn-id: svn://10.0.0.236/trunk@216367 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-03 19:07:47 +00:00
mattwillis%gmail.com
710811902a bug 357756 - Make CalDAV handle trailing parameters on the URL. Patch by Bruno Browning <browning@uwalumni.com> r=lilmatt, jminta
git-svn-id: svn://10.0.0.236/trunk@216366 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-03 18:45:37 +00:00
mattwillis%gmail.com
17d511cef4 bug 311263 - Adds UTF-8 request headers for CalDAV. Patch by Bruno Browning <browning@uwalumni.com> r=ctalbert,mvl NPOTDB
git-svn-id: svn://10.0.0.236/trunk@216365 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-03 18:40:05 +00:00
reed%reedloden.com
d24dec84e8 Bug 321234 - [p=morgamic/timeless r=dveditz r=chase r=dbaron]
git-svn-id: svn://10.0.0.236/trunk@216364 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-03 18:35:24 +00:00
ajschult%verizon.net
8a25258922 Bug 343552: Bonsai shouldn't try to look ouside of cvsroot via ../, r=timeless
git-svn-id: svn://10.0.0.236/trunk@216361 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-03 16:27:46 +00:00
emaijala%kolumbus.fi
adb9378f07 Fix for bug 362162: copy image to other app and crash on exit
r+sr=pavlov


git-svn-id: svn://10.0.0.236/trunk@216360 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-03 10:10:30 +00:00
tony%ponderer.org
c4b664bdde Bug 337336: Remove safebrowsing code from /extensions/safebrowsing
part 2, actually remove all the safe browsing files
r=bsmedbergs


git-svn-id: svn://10.0.0.236/trunk@216359 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-03 08:29:45 +00:00
cltbld
f5e9421958 Automated update from host egg.build.mozilla.org
git-svn-id: svn://10.0.0.236/trunk@216358 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-03 08:11:01 +00:00
tony%ponderer.org
58a8f1155f Bug 337336: Remove safebrowsing code from /extensions/safebrowsing
patch part 1 (making sure configure change doesn't cause anything to blow up)
r=bsmedbergs


git-svn-id: svn://10.0.0.236/trunk@216357 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-03 08:04:21 +00:00
robert%accettura.com
06e19af06e Backout of bug 325098 to facilitate 256447
git-svn-id: svn://10.0.0.236/trunk@216355 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-03 04:11:33 +00:00
reed%reedloden.com
85661b9795 Bug 362614 - "Use of uninitialized value in string ne at despot.cgi line 441" [p=reed r=justdave]
git-svn-id: svn://10.0.0.236/trunk@216354 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-03 03:33:22 +00:00
anton.bobrov%sun.com
f10c871ff7 fix previous commit
git-svn-id: svn://10.0.0.236/trunk@216353 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-03 02:43:16 +00:00
bienvenu%nventure.com
f17d9ada0b fix 352530 connections exceeded alert with ssl imap, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@216350 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-03 01:53:32 +00:00
reed%reedloden.com
1f09b3e8cd Bug 164151 - "Use of uninitialized value at line 58" [p=reed r=justdave]
git-svn-id: svn://10.0.0.236/trunk@216349 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-03 01:06:29 +00:00
reed%reedloden.com
75eb99b7c8 Bug 322790 - "Error about email address not in database should be consistent" [p=timeless r=justdave]
git-svn-id: svn://10.0.0.236/trunk@216348 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-03 00:34:02 +00:00
mrbkap%gmail.com
f9f5201fe4 Fix silly mistake (and thus UMR). bug 361694, r=brendan
git-svn-id: svn://10.0.0.236/trunk@216347 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-03 00:15:06 +00:00
brendan%mozilla.org
16c6d9e308 Fix from Gavin Reaney <gavin@picsel.com> for bug 362110, r=me.
git-svn-id: svn://10.0.0.236/trunk@216346 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-02 23:12:56 +00:00
gavin%gavinsharp.com
c7050a4e14 Bug 362286: nsIPrefBranchInternal is deprecated - use nsIPrefBranch2, patch by Shawn Wilsher :sdwilsh <comrade693+bmo@gmail.com>, r=db48x, sr=neil
git-svn-id: svn://10.0.0.236/trunk@216345 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-02 22:27:06 +00:00
gavin%gavinsharp.com
0c97f872d5 Bug 362590: Context 'Print Preview' menu lacks an accesskey, patch by Cédric Corazza <cedric.corazza@wanadoo.fr>, r=mscott
git-svn-id: svn://10.0.0.236/trunk@216343 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-02 21:57:01 +00:00
ajschult%verizon.net
b52c664be4 Bug 361128: Bad description of Privacy tab in page_info_help.xhtml. Patch by Rafal Likus <lemiel@wp.pl>, r=stefanh.
git-svn-id: svn://10.0.0.236/trunk@216341 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-02 17:16:18 +00:00
ajschult%verizon.net
02cf59e431 Bug 249744: Wrong URI for cookie notification icon. Patch by Rafal Likus <lemiel@wp.pl>, r=IanN.
git-svn-id: svn://10.0.0.236/trunk@216340 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-02 17:14:21 +00:00
ajschult%verizon.net
ba770dcb62 Bug 361901: Save Page menuitem label missing from File menu when DM is open. Patch by Stefan Hermes <stefanh@bluebottle.com>, r=mnyromyr, sr=neil
git-svn-id: svn://10.0.0.236/trunk@216338 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-02 16:40:40 +00:00
bugzilla%standard8.demon.co.uk
9b7d725b13 Bug 329744 Write migrator for moving to Toolkit-based profiles (basic build structure only). r/sr=Neil
git-svn-id: svn://10.0.0.236/trunk@216337 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-02 15:40:33 +00:00
bmlk%gmx.de
90079a0a52 testcase for bug 362348 NPOTB
git-svn-id: svn://10.0.0.236/trunk@216336 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-02 08:45:07 +00:00
scott%scott-macgregor.org
f8599f28d0 Bug #362557 --> add support for editing tags. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@216335 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-02 07:47:42 +00:00
scott%scott-macgregor.org
34d346afc4 fix some dos line endings
git-svn-id: svn://10.0.0.236/trunk@216334 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-02 07:27:23 +00:00
scott%scott-macgregor.org
d88a2e8b50 Bug #362560 --> Tag UI polish. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@216331 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-02 07:24:38 +00:00
bmlk%gmx.de
c07940c9fb colframes are referenced via the firstinflow bug 362348 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@216330 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-02 06:52:55 +00:00
mconnor%steelgryphon.com
62847bcfd9 bug 360493 - allow users to disable password autofill without disabling password manager, r=gavin
git-svn-id: svn://10.0.0.236/trunk@216329 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-02 06:34:22 +00:00
stuart.morgan%alumni.case.edu
92a4ecabf8 Bug 361838: Some valid .url files fail to open. Patch by Wevah <mozilla@derailer.org>. r=max sr=smorgan
git-svn-id: svn://10.0.0.236/trunk@216328 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-02 05:14:10 +00:00
stuart.morgan%alumni.case.edu
29ecff721d Bug 362488: Copied images are byte-swapped on Intel. r=josh
git-svn-id: svn://10.0.0.236/trunk@216327 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-02 04:54:26 +00:00
gerv%gerv.net
45d573d5f4 Code tidy-up; add option to print out list of initial developers.
git-svn-id: svn://10.0.0.236/trunk@216326 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-02 01:58:14 +00:00
mnyromyr%tprac.de
7c08ff25cb Bug 342560: npob anymore
git-svn-id: svn://10.0.0.236/trunk@216324 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-02 01:17:26 +00:00
philringnalda%gmail.com
c7a6cd3067 Bug 351639: Close button in notification bar is missing a tooltip, r=mano
git-svn-id: svn://10.0.0.236/trunk@216323 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-02 01:16:33 +00:00
bienvenu%nventure.com
5b7fff745e fix 361150 message aging with grouped view crashing, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@216318 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-02 00:41:06 +00:00
ghendricks%novell.com
498e1254af Allow user to add a new case to a list of runs or an existing case from within show_case
git-svn-id: svn://10.0.0.236/trunk@216316 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-02 00:32:10 +00:00
cst%yecc.com
b49bae56c0 Bug 356805 Undo close tab doesn't show the tab bar if it was hidden
r+sr=neil


git-svn-id: svn://10.0.0.236/trunk@216315 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-02 00:29:36 +00:00
ghendricks%novell.com
47e2815af8 Nasty error showing up if you enter an invalid bug id on a case-run
git-svn-id: svn://10.0.0.236/trunk@216313 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-02 00:15:21 +00:00
cvshook%sicking.cc
38f3bfff89 Bug 361442: Evaluate context independent expressions at optimize time. r/sr=peterv
git-svn-id: svn://10.0.0.236/trunk@216312 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-02 00:01:45 +00:00
reed%reedloden.com
1be503802b Bug 362447 - "use ssl for URLs on bmo in mozbot" [p=bugzilla@tuxmachine.com r=colin.oglivie]
git-svn-id: svn://10.0.0.236/trunk@216311 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 23:49:49 +00:00
ghendricks%novell.com
873f5c2e57 Move to the lists of builds and categories after adding and updating instead of show_plan
git-svn-id: svn://10.0.0.236/trunk@216309 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 23:40:07 +00:00
rhelmer%mozilla.com
1c779fa96a tbird version bump b=362533 r=nrthomas(cf)
git-svn-id: svn://10.0.0.236/trunk@216300 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 23:01:35 +00:00
stridey%gmail.com
d54369b4b3 Camino only - Bug 359334: Tweak download toolbar tooltips for consistency and accuracy
git-svn-id: svn://10.0.0.236/trunk@216294 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 22:18:17 +00:00
scott%scott-macgregor.org
d61a2c9435 Bug #362402 --> chrome toolbars aren't toggline on and off properly because goToggleToolbar was accidentally removed. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@216293 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 22:07:16 +00:00
mozilla%justcameron.com
48277a21d0 Bug 359084 - rustico: some ugly excess platform text when viewing an add-on that's not available for your platform
CSS changes made in the patch for that bug affected the bookmarks page too :(
r=shaver


git-svn-id: svn://10.0.0.236/trunk@216290 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 21:13:24 +00:00
ghendricks%novell.com
c9a2fc13e7 renamed README
git-svn-id: svn://10.0.0.236/trunk@216289 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 20:54:46 +00:00
ghendricks%novell.com
983411d54e Renamed README in dojo to prevent conflicts.
git-svn-id: svn://10.0.0.236/trunk@216288 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 20:48:23 +00:00
neil%parkwaycc.co.uk
56749d281a Decode the priority when editing a message as new b=146075 r=bienvenu sr=mscott
git-svn-id: svn://10.0.0.236/trunk@216286 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 20:12:09 +00:00
ghendricks%novell.com
5f2daecadd Added script for updating testopia from CVS
git-svn-id: svn://10.0.0.236/trunk@216285 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 20:11:38 +00:00
bent.mozilla%gmail.com
8b21a1191d Bustage fix from 354787.
git-svn-id: svn://10.0.0.236/trunk@216283 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 19:49:24 +00:00
ghendricks%novell.com
216854ef14 Some error messages were being displayed before the headers were printed.
git-svn-id: svn://10.0.0.236/trunk@216282 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 19:37:26 +00:00
reed%reedloden.com
86ace1f824 Bug 349265 - "When using Modify Query, dates entered are clobbered (set to UNIX time)" (fix a regression caused by first patch) [p=bugzilla@tuxmachine.com r=justdave]
git-svn-id: svn://10.0.0.236/trunk@216278 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 19:30:43 +00:00
redfive%acm.org
609d721e2a bug360301 - add/remove eventListeners should both be capture
trunk checkin
r=enndeakin


git-svn-id: svn://10.0.0.236/trunk@216277 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 19:30:07 +00:00
reed%reedloden.com
8fc8db8f7d Bug 362444 - "Correct old reference to netscape, use https instead of http for URL, and update help" [p=reed r=justdave]
git-svn-id: svn://10.0.0.236/trunk@216276 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 19:27:28 +00:00
bienvenu%nventure.com
c501ba47df fix 362512 issues with rfc2047 encoding, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@216275 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 19:26:30 +00:00
bent.mozilla%gmail.com
b2dca58318 Bug 354787 - "1% performance hit (Tp/Tdhtml) from the fix for bug 204114". r=roc+bsmedberg.
git-svn-id: svn://10.0.0.236/trunk@216274 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 19:26:18 +00:00
gavin%gavinsharp.com
deb3dbb566 Bug 362514: "official build" detection code doesn't work, treats all builds as "official", r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@216273 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 18:59:11 +00:00
gavin%gavinsharp.com
7c710a3066 Bug 362460: Search service shouldn't assume that builds with branding directories are "official" builds, r=mconnor
git-svn-id: svn://10.0.0.236/trunk@216270 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 18:18:28 +00:00
mattwillis%gmail.com
2412dc36c8 bustage fix - Remove blank lines caused by Windows line endings in the middle of a Unix file
git-svn-id: svn://10.0.0.236/trunk@216269 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 18:16:43 +00:00
ghendricks%novell.com
ab3a43f6a6 Sync with 2431
git-svn-id: svn://10.0.0.236/trunk@216268 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 18:06:58 +00:00
mattwillis%gmail.com
175ea305f7 bug 361216 - Adds new dtds to lightning's jar.mn. Patch by nightrat, r=jminta. Slight typo fixes by lilmatt
git-svn-id: svn://10.0.0.236/trunk@216267 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 17:55:13 +00:00
mats.palmgren%bredband.net
50ac9a55cb Use the EventStateManager to focus the for-element. b=360009 r=zeniko sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@216266 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 17:18:34 +00:00
wsharp%adobe.com
667f641df0 fix mac build. bug 362390.
git-svn-id: svn://10.0.0.236/trunk@216265 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 17:17:06 +00:00
wsharp%adobe.com
9cb1faf54b bug 362390. Various fixes to get Tamarin working with latest Adobe Flash player. Some fixes from Flash source code brought over. r: edwsmith
git-svn-id: svn://10.0.0.236/trunk@216264 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 16:38:46 +00:00
bclary%bclary.com
aa6928f538 JavaScript Test - regression test for bug 361571, by Jesse Ruderman
git-svn-id: svn://10.0.0.236/trunk@216263 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 16:11:58 +00:00
lpsolit%gmail.com
2d0af23821 Bug 356395: On bug creation, an error is thrown when the requestee of a private attachment is not in the insidergroup, or when the requestee is not in the grant group (for attachment flags) - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=myk
git-svn-id: svn://10.0.0.236/trunk@216262 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 15:55:24 +00:00
michael.buettner%sun.com
818ee87cca fixed issue with timezone-setting for tasks
git-svn-id: svn://10.0.0.236/trunk@216261 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 15:26:11 +00:00
Olli.Pettay%helsinki.fi
9e389ab7d5 Trying to fix Thunderbird bustage, Bug 360731
git-svn-id: svn://10.0.0.236/trunk@216260 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 14:40:05 +00:00
mozilla.mano%sent.com
f16cfe1d1b Bug 349481 - Clear private data dialog width is hardcoded. r=gavin
git-svn-id: svn://10.0.0.236/trunk@216258 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 12:44:40 +00:00
mozilla.mano%sent.com
fd4fc0b9e8 Bug 362295 - Remove find methods from browser and tabbrowser, r=gavin.
git-svn-id: svn://10.0.0.236/trunk@216257 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 12:38:47 +00:00
mozilla.mano%sent.com
91ef1d26dd Actually address gavin's review comment in bug 185239
git-svn-id: svn://10.0.0.236/trunk@216256 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 12:36:23 +00:00
mozilla.mano%sent.com
1bf95a76be Bug 185239 - Print Frame in context menu. r=gavin, ui-r=mconnor.
git-svn-id: svn://10.0.0.236/trunk@216255 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 12:33:30 +00:00
mozilla.mano%sent.com
e5a1371058 Bug 331215 - Find toolbar doesn't reset status when search is wrapped, also fix bug 361930 (strict warnings 'reference to undefined property this._foundLink'). r=gavin on both.
git-svn-id: svn://10.0.0.236/trunk@216254 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 12:29:11 +00:00
mozilla.mano%sent.com
8b3c53b218 Bug 343077 - Find Again toolbarbutton doesn't switch back to normal-find if the findbar is opened after links TAF. r=masayuki.
git-svn-id: svn://10.0.0.236/trunk@216253 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 12:19:26 +00:00
gijskruitbosch%gmail.com
9c6f25d793 Bug 361145 - Makes FAQ entry in help menu localizable
r=silver@warwickcompsoc.co.uk (James Ross)
ChatZilla Only


git-svn-id: svn://10.0.0.236/trunk@216249 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 11:36:12 +00:00
Olli.Pettay%helsinki.fi
67a5b99ec2 Bug 360731, Back and Forward buttons on mouse no longer work, also Bug 330938, r=emaijala, sr=roc
git-svn-id: svn://10.0.0.236/trunk@216248 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 11:16:07 +00:00
Olli.Pettay%helsinki.fi
174edaba72 Bug 360731, Back and Forward buttons on mouse no longer work, also Bug 330938, r=emaijala, sr=roc
git-svn-id: svn://10.0.0.236/trunk@216247 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 11:09:53 +00:00
hwaara%gmail.com
d6879d09a3 Make deep hit-testing work. This makes VoiceOver able to speak whatever you mouse over, both in XUL and web page content (if that pref is set in the accessibility settings)
r=surkov, b=352329


git-svn-id: svn://10.0.0.236/trunk@216246 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 10:53:52 +00:00
michael.buettner%sun.com
46f75b409e bug #360120 selection of scheduled event should be interactive
git-svn-id: svn://10.0.0.236/trunk@216245 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 10:42:31 +00:00
Olli.Pettay%helsinki.fi
3be1d1aa64 Bug 362391, DOMAttrModified doesn't handle namespaced attributes properly, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@216242 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 08:44:38 +00:00
scott%scott-macgregor.org
2acffb210e band aid, wrap our attempt to get the phishing warden in a try/catch
git-svn-id: svn://10.0.0.236/trunk@216241 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 08:32:52 +00:00
cls%seawood.org
0dd72d58fc Automatically disable airbag for mingw builds
Bug #362128 r=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@216240 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 08:04:59 +00:00
cls%seawood.org
ea2634e773 Add -D_WIN32_IE=0x0400 to win32 builds to enable features used by SpecialSystemDirectory
Bug #361340 r=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@216239 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 08:03:14 +00:00
cls%seawood.org
4efa0300cb The features used by nsNotifyAddrListener require w32api 3.8.
Bug #358023 r=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@216238 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 07:57:08 +00:00
mconnor%steelgryphon.com
980f78e108 fix brokenness for a1, r=gavin over IRC, a=me since everyone's asleep
git-svn-id: svn://10.0.0.236/trunk@216237 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 07:56:36 +00:00
gerv%gerv.net
5ef0656e5c Further updates to deal with current codebase, and to note progress
git-svn-id: svn://10.0.0.236/trunk@216233 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 06:59:21 +00:00
scott%scott-macgregor.org
172eef2013 Bug #328749 --> add phishing detection support using a locally downloaded list of known phishing urls. Currently we don't have a provider to use to download the list. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@216232 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 06:57:58 +00:00
scott%scott-macgregor.org
888fb78953 Bug #328749 --> Add phishing detection support using a locally downloaded list of known phishing urls. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@216231 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 06:56:40 +00:00
cltbld
36558ab70e Automated update from host egg.build.mozilla.org
git-svn-id: svn://10.0.0.236/trunk@216230 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 06:51:02 +00:00
scott%scott-macgregor.org
342c090e6c Bug #328749 --> start building the url classifier for thunderbird. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@216229 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 06:50:06 +00:00
scott%scott-macgregor.org
25a2feb828 Bug #328749 --> Add phishing detection support using a locally downloaded list of known phishing urls. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@216228 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 06:47:44 +00:00
scott%scott-macgregor.org
b1958b065b Bug #328749 --> Add phishing detection support using a locally downloaded list of known phishing urls. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@216226 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 06:41:28 +00:00
cltbld
1a31cc3d4d Automated update from host egg.build.mozilla.org
git-svn-id: svn://10.0.0.236/trunk@216225 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 06:21:01 +00:00
alfred.peng%sun.com
73eebe5f74 Bug 362209. test -e not available in sh.
r=mconnor.


git-svn-id: svn://10.0.0.236/trunk@216224 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 06:13:19 +00:00
reed%reedloden.com
e0407d9aaa Bug 362442 - "Despot syncit file still refers to netscape.public.*" [p=reed r=justdave]
git-svn-id: svn://10.0.0.236/trunk@216223 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 06:09:28 +00:00
tor%cs.brown.edu
839557aeb8 Bug 362233 - merge filter with subregion misbehaves.
Patch by amenzie@us.ibm.com, r=tor, sr=roc


git-svn-id: svn://10.0.0.236/trunk@216222 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 05:30:42 +00:00
tor%cs.brown.edu
5974cf3bd2 Bug 362413 - expose cairo fill rule control. r=vlad
git-svn-id: svn://10.0.0.236/trunk@216221 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 05:24:50 +00:00
tor%cs.brown.edu
e81f27ecb0 Bug 362226 - nested inner svg not updating viewbox. r=jwatt, sr=roc
git-svn-id: svn://10.0.0.236/trunk@216220 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 05:16:14 +00:00
stuart.morgan%alumni.case.edu
78bf66de9e Camino only - Bug 348695: Use editor context menu in Midas frames. r=kreeger sr=pink
git-svn-id: svn://10.0.0.236/trunk@216219 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 05:03:19 +00:00
bzbarsky%mit.edu
15374197c2 Make sure the XML decl in the data we post when a document is passed to send()
matches the encoding we use.  Bug 361934, r=sicking, sr=biesi


git-svn-id: svn://10.0.0.236/trunk@216218 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 04:48:05 +00:00
bzbarsky%mit.edu
755660d2d2 Don't construct unneeded autostring. Bug 362316, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@216217 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 04:44:57 +00:00
bzbarsky%mit.edu
e83916216b Make sure to not use the same disk cache data block for different URIs. Bug
347852, patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r=darin, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@216216 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 04:41:30 +00:00
bzbarsky%mit.edu
2830ae21c5 Fix assertion to assert about the right thing. Bug 265780 comment 35 followup.
git-svn-id: svn://10.0.0.236/trunk@216215 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 04:35:18 +00:00
ginn.chen%sun.com
e1a175b756 Bug 360865 Firefox crashes when selecting downloaded item with gok [@nsXULMenuitemAccessible::DoAction]
r=aaronleventhal


git-svn-id: svn://10.0.0.236/trunk@216211 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 03:46:18 +00:00
stridey%gmail.com
b027774f51 Camino only - Bug 359557: Omnibus ad-blocking bug for November. Patch by ardissone <alqahira@ardisson.org> r/sr=smfr
git-svn-id: svn://10.0.0.236/trunk@216210 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 03:46:14 +00:00
stridey%gmail.com
b45374470e Camino only - Bug 353391: Camino ships 2 copies of the table images. Patch by ardissone <alqahira@ardisson.org>. r/sr=smorgan
git-svn-id: svn://10.0.0.236/trunk@216209 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 03:42:16 +00:00
aaronleventhal%moonset.net
d5a3b5e273 Bug 362369. Description missing for Tools -> Options -> Content -> File types -> Manage. r=mano
git-svn-id: svn://10.0.0.236/trunk@216208 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 03:42:12 +00:00
rhelmer%mozilla.com
2588f7c8cc back out changes, only meant for branch
git-svn-id: svn://10.0.0.236/trunk@216205 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 02:22:58 +00:00
rhelmer%mozilla.com
56c88ed433 config changes for gecko 1.9a1 r=preed r=vlad b=362418
git-svn-id: svn://10.0.0.236/trunk@216203 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 02:21:23 +00:00
jst%mozilla.org
feb9bb7fd3 Fixing bug 357651. Make sure the cached window.document property outlives document.open(). r+sr=bzbarsky@mit.edu, a=pavlov@mozilla.com
git-svn-id: svn://10.0.0.236/trunk@216201 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 01:17:15 +00:00
alexei.volkov.bugs%sun.com
85f93c516b 343231: certutil issues certs for invalid requests. r=nelson
git-svn-id: svn://10.0.0.236/trunk@216200 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 01:10:03 +00:00
wtchang%redhat.com
428c8e735c Bugzilla Bug 354593: checked in minor changes suggested by Nelson. r=nelson
git-svn-id: svn://10.0.0.236/trunk@216194 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 00:26:35 +00:00
mattwillis%gmail.com
b03cd4b022 bug 361216 - typo fix
git-svn-id: svn://10.0.0.236/trunk@216190 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 22:49:33 +00:00
ghendricks%novell.com
f7d473cb54 Tag url's are too long. Use search terms instead.
git-svn-id: svn://10.0.0.236/trunk@216186 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 22:10:12 +00:00
mattwillis%gmail.com
6cb9d3a11b bug 361216 - Moves all New Event/Task strings into separate dtd file. Patch by Cédric Corazza <cedric.corazza@wanadoo.fr>, r=jminta
git-svn-id: svn://10.0.0.236/trunk@216185 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 22:07:15 +00:00
mattwillis%gmail.com
a68b712743 bug 361216 - Moves all New Event/Task strings into separate dtd file. Patch by Cédric Corazza <cedric.corazza@wanadoo.fr>, r=jminta
git-svn-id: svn://10.0.0.236/trunk@216183 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 22:03:37 +00:00
mrbkap%gmail.com
212c172527 Give the psuedo frame a scopeChain. bug 361571, r=brendan a=dveditz
git-svn-id: svn://10.0.0.236/trunk@216182 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 21:54:39 +00:00
mconnor%steelgryphon.com
026ede7768 replace Bon Echo about.png with generic unlabeled about.png, a=vlad
git-svn-id: svn://10.0.0.236/trunk@216181 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 21:44:40 +00:00
mrbkap%gmail.com
84a226dd66 Make argv as large as GC expects it to be. bug 361964, r=brendan
git-svn-id: svn://10.0.0.236/trunk@216180 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 21:43:57 +00:00
mattwillis%gmail.com
8f037d7496 bug 333688 - Converts STRING and VARCHAR columns to TEXT to avoid SQLite's auto-conversion of strings to numbers (10e4 to 10000) r=ctalbert,jminta
git-svn-id: svn://10.0.0.236/trunk@216179 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 21:40:44 +00:00
scott%scott-macgregor.org
170b5495b1 Bug #362385 --> fix type in phishingDetector intro text. Thanks to Ricardo Palomares for the patch.
git-svn-id: svn://10.0.0.236/trunk@216177 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 21:39:25 +00:00
scott%scott-macgregor.org
b58b476d1e remove wiindows line ending
git-svn-id: svn://10.0.0.236/trunk@216176 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 21:37:40 +00:00
despotdaemon
821170a62c Pseudo-automatic update of changes made by crowder@fiverocks.com.
git-svn-id: svn://10.0.0.236/trunk@216174 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 21:33:48 +00:00
smontagu%smontagu.org
f708518e84 Bug 361778: Firefox not rendering Malayalam. r=pavlov, a=stuart on IRC
git-svn-id: svn://10.0.0.236/trunk@216173 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 21:25:41 +00:00
ghendricks%novell.com
5411a53f83 Add components to multiple cases at once.
git-svn-id: svn://10.0.0.236/trunk@216172 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 21:23:44 +00:00
wtchang%redhat.com
7e47d9e409 Bugzilla Bug 354593: fixed a race condition in the creation of the lock
that protects localtime() by creating the lock during NSPR initialization.
r=aleksey.sanin,nelson.bolyard.  The patch is contributed by Mark Stevans
<marks@coral8.com>.
Modified files: primpl.h prinit.c prtime.c ptthread.c


git-svn-id: svn://10.0.0.236/trunk@216170 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 21:22:55 +00:00
despotdaemon
789af32cdf Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@216169 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 20:58:10 +00:00
cvshook%sicking.cc
5c446ec16a properly initialize the result recycler when evaluating xslt PI params. r/sr=peterv b=362297 a=stuart
git-svn-id: svn://10.0.0.236/trunk@216167 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 19:33:29 +00:00
scott%scott-macgregor.org
c2a92b1212 Bug #362138 --> add strings for closing a tab before the l10n freeze. Thanks to Marek Stepien for catching the typo
git-svn-id: svn://10.0.0.236/trunk@216164 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 18:43:31 +00:00
benjamin%smedbergs.us
6f439c292f Second try, get libxul working with CUPS, NPODB
git-svn-id: svn://10.0.0.236/trunk@216163 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 18:43:25 +00:00
pavlov%pavlov.net
422525ec88 attempt to fix bustage
git-svn-id: svn://10.0.0.236/trunk@216161 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 18:27:27 +00:00
benjamin%smedbergs.us
650c0b871d Bug 362264 - Cross-platform Tamarin build system (early initial cut, only builds on mac-x86 right now), a=stejohns
git-svn-id: svn://10.0.0.236/trunk@216159 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 16:43:12 +00:00
benjamin%smedbergs.us
5e2e4ba442 Fix libxul bustage from bug 359124, NPODB
git-svn-id: svn://10.0.0.236/trunk@216158 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 16:42:23 +00:00
bzbarsky%mit.edu
cf9ad9872f Adding test for bug 361933
git-svn-id: svn://10.0.0.236/trunk@216146 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 06:39:47 +00:00
joshmoz%gmail.com
03ac088b9e fix submenus in context menus on mac os x. b=350165 r=smorgan sr=pav
git-svn-id: svn://10.0.0.236/trunk@216145 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 05:39:40 +00:00
scott%scott-macgregor.org
e325740439 Bug #328749 --> add strings for the improved phishing detector APIs. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@216144 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 05:28:32 +00:00
scott%scott-macgregor.org
f1ce183a98 add vista integration string before the l10n freeze
git-svn-id: svn://10.0.0.236/trunk@216142 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 04:58:10 +00:00
dveditz%cruzio.com
99da3d9a95 Sync executable extension list w/Outlook (bug 348763) r/sr=dougt, a=pavlov
git-svn-id: svn://10.0.0.236/trunk@216141 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 04:36:21 +00:00
mattwillis%gmail.com
39d018b589 bug 362000 - Makes AUS/Prefwindow &brandShortName localizable. r=jminta
git-svn-id: svn://10.0.0.236/trunk@216140 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 03:51:00 +00:00
pavlov%pavlov.net
7f2a9d3f9d fixing linux printing bustage
git-svn-id: svn://10.0.0.236/trunk@216137 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 02:12:03 +00:00
pavlov%pavlov.net
db587c788a don't implement nsIPrintingContext in cairo builds
git-svn-id: svn://10.0.0.236/trunk@216134 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 01:57:15 +00:00
wtchang%redhat.com
a0402341f1 Bugzilla Bug 355999: fix up for kfreebsd support. The patch is contributed
by Petr.Salinger@seznam.cz. r=wtc
Modified files: _linux.cfg _linux.h


git-svn-id: svn://10.0.0.236/trunk@216132 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 01:11:46 +00:00
wtchang%redhat.com
52dc80a8b2 Bugzilla Bug 353729: handle PR_vsmprintf failure in PR_vfprintf. r=timeless
git-svn-id: svn://10.0.0.236/trunk@216130 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 00:39:19 +00:00
wtchang%redhat.com
a5700b389e Bugzilla Bug 358785: fixed incorrect x509PolicyConstraints OID and typos in
a comment. r=relyea


git-svn-id: svn://10.0.0.236/trunk@216127 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 00:27:28 +00:00
wtchang%redhat.com
4ba9d7602c Bugzilla Bug 361089: fixed memory leaks in mp_bdivmod. r=douglas.stebila
git-svn-id: svn://10.0.0.236/trunk@216126 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 00:21:04 +00:00
cvshook%sicking.cc
d27a789c4f Bug 359888: Don't return NS_CONTENT_SCRIPT_IS_EVENTHANDLER to the sink/parser since they can't deal. r/sr=jst a=stuart
git-svn-id: svn://10.0.0.236/trunk@216124 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 00:06:00 +00:00
pavlov%pavlov.net
b838269a01 missed file
git-svn-id: svn://10.0.0.236/trunk@216122 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 00:04:33 +00:00
pavlov%pavlov.net
b0e82d440c printing on linux bug 323928. r=vlad
git-svn-id: svn://10.0.0.236/trunk@216121 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 23:40:16 +00:00
preed%mozilla.com
13ba9b9140 Bug 360034: Update Nagios monitoring for 1.5.0.8pre bump.
git-svn-id: svn://10.0.0.236/trunk@216120 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 23:34:54 +00:00
cvshook%sicking.cc
a326e22147 Bug 328468: Back out bug 323098 to fix mutations of xbl content. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@216118 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 23:17:53 +00:00
mnyromyr%tprac.de
9b4d6a8066 Bug 329018: Disable "Global Inbox" by default; p=Manuel Reimer <Manuel.Spam@nurfuerspam.de>, r=me, sr=neil/bienvenu
git-svn-id: svn://10.0.0.236/trunk@216117 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 23:13:50 +00:00
roc+%cs.cmu.edu
6b01227e23 Bug 324963. Keep a list of active popups to help us dispatch mouse events to them ... moving handling of 'always on top' popups towards a view-less world. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@216116 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 23:09:13 +00:00
joshmoz%gmail.com
77ae840b24 crashes clicking on menubar while popup displayed (OS X 10.3 only) [@ FadeMenuWindows]. cocoa widgets fix. b=351230 r=mento
git-svn-id: svn://10.0.0.236/trunk@216115 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 23:06:11 +00:00
scott%scott-macgregor.org
22a223af3f Bug #362138 --> add strings for supporting message tabs before the l10n deadline. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@216112 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 22:26:11 +00:00
bzbarsky%mit.edu
48639c6889 Use DrawImage instaed of DrawTile when drawing a background and the entire
rect to be painted fits inside a single tile (either because we're no-repeat or
because the dirty rect is small enough).  Bug 359392, r=vlad, sr=roc, a=vlad
for 1.9a1 landing.


git-svn-id: svn://10.0.0.236/trunk@216109 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 21:58:13 +00:00
bugzilla%standard8.demon.co.uk
7c2cdb3c81 Backout all changes from bug 360777 due to Win32 bustage.
git-svn-id: svn://10.0.0.236/trunk@216106 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 21:12:49 +00:00
bienvenu%nventure.com
3e7c78d02e fix 362213 crash in MimeExternalBody_parse_eof, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@216105 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 21:00:59 +00:00
mvl%exedo.nl
867a062bf9 branch only bustage fix for bug 330371
git-svn-id: svn://10.0.0.236/trunk@216102 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 20:53:49 +00:00
bugzilla%standard8.demon.co.uk
d6c180e4c5 Possible Win/SeaMonkey bustage fix from bug 360777, backout some of the changes.
git-svn-id: svn://10.0.0.236/trunk@216098 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 20:37:59 +00:00
mvl%exedo.nl
9d683d3d39 bug 330371: add and implement calIPeriod. r=daniel boelzle
git-svn-id: svn://10.0.0.236/trunk@216095 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 20:35:12 +00:00
roc+%cs.cmu.edu
c90a54b7b1 Bug 322345. Cap maximum ft2 font size at 1000 pixels to avoid killing freetype2 and/or the X server. r=vlad
git-svn-id: svn://10.0.0.236/trunk@216092 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 20:19:35 +00:00
roc+%cs.cmu.edu
05cb2de3c2 Bug 357736. Use document widget for windowless plugin's reference widget whenever we can do that safely (the origin of the windowless plugin's nearest widget is equal to the origin of the document widget). Works around a regression in some cases. patch by Graham Sanderson, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@216091 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 20:15:56 +00:00
joshmoz%gmail.com
1e5cc522c0 Context menu in download manager is busted on Mac OS X. b=361240 r=enn r=mconnor
git-svn-id: svn://10.0.0.236/trunk@216082 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 19:30:34 +00:00
benjamin%smedbergs.us
d65ae5f520 Bug 362254 - Assining NULL to an integer type breaks some GCCs, r=stejohns
git-svn-id: svn://10.0.0.236/trunk@216080 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 19:18:36 +00:00
mozilla%justcameron.com
1231703cfb Bug 362060 - Rustico style change broke install.js, severely for themes (Download error -228)
Attachment 246947
p=Giorgio Maone (g.maone at informaction dot com)
r=Shaver
Actually tested this time :o


git-svn-id: svn://10.0.0.236/trunk@216077 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 18:13:57 +00:00
lpsolit%gmail.com
354a408da5 Bug 276497: Add link to Ravenbrook bugzilla-schema generator - Patch by Frédéric Buclin <LpSolit@gmail.com> r=justdave
git-svn-id: svn://10.0.0.236/trunk@216075 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 18:00:53 +00:00
ccooper%deadsquid.com
3d6d3bc847 -removing access control file
git-svn-id: svn://10.0.0.236/trunk@216074 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 17:27:50 +00:00
ccooper%deadsquid.com
4c82109e92 - add access control
git-svn-id: svn://10.0.0.236/trunk@216073 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 17:27:04 +00:00
ccooper%deadsquid.com
8902a3fd99 - moving migration-related scripts to generic migration directory
git-svn-id: svn://10.0.0.236/trunk@216072 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 17:24:48 +00:00
igor.bukanov%gmail.com
f8f9a60d24 Bug 362180: optimizing slot access in JS_NewPropertyIterator.
git-svn-id: svn://10.0.0.236/trunk@216071 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 17:16:55 +00:00
bugzilla%standard8.demon.co.uk
04f43a2c90 Bug 360777 Change nsIAbCard::EditCardToDatabase to nsIAbDirectory::ModifyCard. r=bienvenu,sr=mscott
git-svn-id: svn://10.0.0.236/trunk@216070 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 17:10:41 +00:00
mozilla.mano%sent.com
4818861e70 Replace monitor image (set desktop background dialog) in Pinstripe. Image from Kevin Gerich <kevin@kmgerich.com> on bug 296583, ui-r=mconnor.
git-svn-id: svn://10.0.0.236/trunk@216069 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 16:51:31 +00:00
mozilla%justcameron.com
c184c80a33 Bug 362060 - Rustico style change broke install.js, severely for themes (Download error -228)
Line 33, eEvent -> aEvent
No patch in bugzilla.. isn't there some law against this?
a=shaver so no problem :D


git-svn-id: svn://10.0.0.236/trunk@216068 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 16:50:46 +00:00
mozilla.mano%sent.com
cf32a81f73 Bug 296583 - Make 'Set Desktop Background' dialog skinable. r=gavin.
git-svn-id: svn://10.0.0.236/trunk@216067 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 16:39:09 +00:00
mozilla%justcameron.com
c7f414f590 Bug 362060 - Rustico style change broke install.js, severely for themes (Download error -228)
Attachment 246924
p=Giorgio Maone (g.maone at informaction dot com)
r=Shaver


git-svn-id: svn://10.0.0.236/trunk@216066 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 16:34:20 +00:00
sayrer%gmail.com
01f4171f8c Bug 362232. Set XPCOM_DEBUG_BREAK so things run better on Windows. Patch by Wladimir Palant <trev@gtchat.de>. r=sayrer
git-svn-id: svn://10.0.0.236/trunk@216065 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 16:23:23 +00:00
mozilla.mano%sent.com
ddb8fb3dc3 Bug 362074 - ns*TextFieldAccessible::CheckForEditor should use nsIDOMNSEditableElement. r=aaronlev.
git-svn-id: svn://10.0.0.236/trunk@216063 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 16:10:31 +00:00
sayrer%gmail.com
d7f9b6cd06 Bug 362230. Add more privileges for mochitest. Patch by Wladimir Palant <trev@gtchat.de>. r=sayrer
git-svn-id: svn://10.0.0.236/trunk@216062 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 16:03:09 +00:00
wsharp%adobe.com
e4f8f1cedd bug 361388. More 64-bit fixes. r:stejohns
git-svn-id: svn://10.0.0.236/trunk@216061 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 14:39:14 +00:00
kairo%kairo.at
12391270b1 update nagios checks for bug 359687 checkin on 1.8.0 branch
git-svn-id: svn://10.0.0.236/trunk@216060 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 12:58:03 +00:00
Olli.Pettay%helsinki.fi
9a8ed1afbb Bug 361814, NS_ERROR_DOM_WRONG_DOCUMENT_ERR in select1.xml, p=surkov, r=me+doronr
git-svn-id: svn://10.0.0.236/trunk@216057 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 08:59:02 +00:00
mozilla.mano%sent.com
796cf6c0ba Bug 330102 - Switch pfs to use principal matching rather than string matching. r=gavin, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@216056 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 08:06:22 +00:00
mozilla.mano%sent.com
a61731ba79 Bug 361608 - possible leak in Safari profile migrator. r=mento.
git-svn-id: svn://10.0.0.236/trunk@216055 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 08:01:33 +00:00
philringnalda%gmail.com
7aab1cac97 Bug 221891: Make customizing toolbars in two or more different types of mail window work, r+a=mscott
git-svn-id: svn://10.0.0.236/trunk@216054 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 05:12:55 +00:00
stuart.morgan%alumni.case.edu
f3648e4a0e Camino only - Bug 356708: Automatic bookmark backup. r=cl sr=pink
git-svn-id: svn://10.0.0.236/trunk@216053 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 05:10:18 +00:00
philringnalda%gmail.com
8567859c40 Bug 317424: Customize dialog doesn't cancel icon size and mode when canceled, r+a=mscott
git-svn-id: svn://10.0.0.236/trunk@216052 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 05:10:13 +00:00
stuart.morgan%alumni.case.edu
0c8a5ab065 Camino only - Bug 353433: use only https to find available browsers. r=kreeger sr=pink
git-svn-id: svn://10.0.0.236/trunk@216051 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 05:00:12 +00:00
stuart.morgan%alumni.case.edu
f1575a2a80 Camino only - Bug 300905: add en-US to generic en in accept-language headers. r=kreeger r=max sr=pink
git-svn-id: svn://10.0.0.236/trunk@216050 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 04:56:48 +00:00
tor%cs.brown.edu
06721f93fc Bug 362140 - inner svg not acting as coordinate context provider.
r=jwatt, sr=roc


git-svn-id: svn://10.0.0.236/trunk@216048 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 03:47:57 +00:00
cvshook%sicking.cc
57f03ac9c1 Bug 323924, Call CheckLoadURIWithPrincipal before issuing pings and on redirects. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@216045 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 03:08:49 +00:00
mark%moxienet.com
63d34154f7 Attempting to fix more bustage following 359124: Camino, Thunderbird, C-Monkey.
git-svn-id: svn://10.0.0.236/trunk@216043 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 01:56:05 +00:00
stuart.morgan%alumni.case.edu
d72b16911a Camino only - Link libcups to fix bustage from bug 359124
git-svn-id: svn://10.0.0.236/trunk@216041 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 00:59:33 +00:00
ajschult%verizon.net
6cb4fa848c Bug 361170: "never show this dialog again" may be too confusing for end user. Patch by Benoît <benoit@gawab.com>, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@216040 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 00:38:50 +00:00
sspitzer%mozilla.org
82959fb332 fix warning, no bug #. r=gavin
git-svn-id: svn://10.0.0.236/trunk@216037 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 00:18:06 +00:00
pavlov%pavlov.net
826c9e387a adding cups to the linkline for macos
git-svn-id: svn://10.0.0.236/trunk@216036 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 00:14:57 +00:00
vladimir%pobox.com
6a28d026b6 b=362108, cairo ppc, hang when scrolling in a tree, r=stuart
git-svn-id: svn://10.0.0.236/trunk@216035 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 00:12:14 +00:00
bugzilla%arlen.demon.co.uk
704c0c620b Bug 357321 don't blindly trust address book recipients when loading remote content - Back port changes from SM to TB
p=me r=mscott


git-svn-id: svn://10.0.0.236/trunk@216032 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 23:42:19 +00:00
tor%cs.brown.edu
4679ef629c Bug 361589 - patterns on strokes not working in nquartz backend. r=vlad
git-svn-id: svn://10.0.0.236/trunk@216030 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 23:36:21 +00:00
scott%scott-macgregor.org
4b4374da24 Thunderbird no longer builds xpfe/components/build2 so remove that line from allmakefiles.sh
git-svn-id: svn://10.0.0.236/trunk@216027 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 23:33:02 +00:00
tor%cs.brown.edu
ff9e541360 Bug 361884 - gSVGRendererAvailable unused. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@216026 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 23:29:53 +00:00
ccooper%deadsquid.com
3e98bba0c7 - preferentially sort subgroup and testcase lists by name to make it easier for admins to find what they're looking for
git-svn-id: svn://10.0.0.236/trunk@216025 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 23:28:33 +00:00
bienvenu%nventure.com
d29380c022 expose ability to get text of a message, so client code like the spotlight search integration can use it, 290057, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@216024 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 23:11:59 +00:00
joshmoz%gmail.com
f041ee2e8f Fix tabs on Mac OS X 10.3 under cairo.
Fix things so we don't depend on including local system headers. We should never do that because we should be using only sdk headers.

Remove a bunch of camino-specific hacks so they could compile. Everything should work for Camino now.

b=362014 r=smorgan sr=pinkerton


git-svn-id: svn://10.0.0.236/trunk@216023 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 23:07:13 +00:00
gijskruitbosch%gmail.com
d66487aca9 Bug 333570 - Key event not available on GTK2 warning (Switch Text Direction key)
r=silver@warwickcompsoc.co.uk (James Ross)
ChatZilla Only


git-svn-id: svn://10.0.0.236/trunk@216022 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 23:05:36 +00:00
scott%scott-macgregor.org
70732f0d90 Bug #332160 --> hook up new mail alert notifications for unix.
Patch by magnus melin <mkmelin+mozilla@iki.fi>
sr=mscott


git-svn-id: svn://10.0.0.236/trunk@216016 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 22:22:37 +00:00
pavlov%pavlov.net
6abcf11249 fixing stupid camino bustage.
git-svn-id: svn://10.0.0.236/trunk@216014 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 22:08:56 +00:00
gijskruitbosch%gmail.com
694b3df28d Bug 332588 - Dropping link in single line input opens multiline input
r=silver@warwickcompsoc.co.uk (James Ross)
ChatZilla Only


git-svn-id: svn://10.0.0.236/trunk@216009 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 21:50:08 +00:00
bienvenu%nventure.com
a1d47e4346 fix 197228 create special folders for local accounts lazily, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@216008 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 21:49:40 +00:00
scott%scott-macgregor.org
835d4bb9c2 Bug #362133 --> rename go back and go forward buttons to Back and Forward. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@216007 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 21:44:05 +00:00
bugzilla%arlen.demon.co.uk
b2aa34f0ff Bug 360288 SeaMonkey Front End Support for New Remote Content Policy
p=me r=neil sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@216003 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 21:26:08 +00:00
scott%scott-macgregor.org
02ad5b0e02 Bug #361434 --> add a separate access key for the mac system sound. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@216002 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 21:15:32 +00:00
pavlov%pavlov.net
ff3c16ff9a cocoa-cairo printing. bug 359124. r=vlad
git-svn-id: svn://10.0.0.236/trunk@216001 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 21:10:05 +00:00
gijskruitbosch%gmail.com
7f3f5e78f1 Bug 123970 - Should be able to scan user list of a channel
r=silver@warwickcompsoc.co.uk (James Ross)
ChatZilla Only


git-svn-id: svn://10.0.0.236/trunk@216000 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 21:00:08 +00:00
cvshook%sicking.cc
0f2957680d Bug 323924, Call CheckLoadURIWithPrincipal before issuing pings. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@215999 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 20:47:10 +00:00
dougt%meer.net
f24dc3b759 HTML injection in gopher dir listing. b=358128, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@215996 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 20:32:27 +00:00
despotdaemon
a932ae54a2 Pseudo-automatic update of changes made by aravind@mozilla.com.
git-svn-id: svn://10.0.0.236/trunk@215995 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 20:07:13 +00:00
brendan%mozilla.org
5d91ffeec1 Hack around compare-and-swap prob (353962, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@215993 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 19:53:56 +00:00
vladimir%pobox.com
7abbce922a b=359649, tree row painting broken, r=ndeakin
git-svn-id: svn://10.0.0.236/trunk@215992 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 19:28:39 +00:00
mconnor%steelgryphon.com
27a09efffd missed an unofficial branding file, adding now, NPOTB
git-svn-id: svn://10.0.0.236/trunk@215990 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 19:24:35 +00:00
bienvenu%nventure.com
df8e0bcf1e add support for custom folder identities, and support them for delegated imap folders, sr=mscott 285474
git-svn-id: svn://10.0.0.236/trunk@215986 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 18:11:39 +00:00
stridey%gmail.com
ed867a0694 Camino only - Bug 362067: Tab groups in bookmark menus need alternates. r=Wevah sr=smorgan
git-svn-id: svn://10.0.0.236/trunk@215985 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 18:09:23 +00:00
bienvenu%nventure.com
5231945dc5 fix 359882 autoconfig checking for e-mail identity doesn't work if default account has multiple identities, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@215983 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 18:02:18 +00:00
gavin%gavinsharp.com
39e5caf94b Bug 362047: fix bustage fix
git-svn-id: svn://10.0.0.236/trunk@215981 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 17:14:00 +00:00
wsharp%adobe.com
d5acd651d0 bug 361427. Fix debug build for Linux. r:mtilburg
git-svn-id: svn://10.0.0.236/trunk@215977 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 16:08:03 +00:00
daniel.boelzle%sun.com
037f035e35 Bug 340949: search API, encoding bug workaround, minor bug fixes
git-svn-id: svn://10.0.0.236/trunk@215976 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 15:55:45 +00:00
cltbld
189f20780c Automated update from host egg.build.mozilla.org
git-svn-id: svn://10.0.0.236/trunk@215975 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 15:41:01 +00:00
benjamin%smedbergs.us
273724f82e Bug 360125 - --with-branding doesn't provide a way to set MOZ_APP_DISPLAYNAME, r=mconnor
git-svn-id: svn://10.0.0.236/trunk@215974 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 15:37:41 +00:00
mozilla%justcameron.com
d1d77c12ca Bug 362060 - New Rustico Install button broke install.js
p= Wladimir Palant (trev at gtchat dot de) and Giorgio Maone (g.maone at informaction dot com)
r=Shaver


git-svn-id: svn://10.0.0.236/trunk@215973 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 15:24:15 +00:00
mats.palmgren%bredband.net
93ff6ba7ca If there were errors reading "prefs.js" then make a backup copy of it in "Invalidprefs.js" before overwriting it. b=361102 r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@215971 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 14:11:40 +00:00
mats.palmgren%bredband.net
b59e8e0ac8 Fix a crash when onreadystatechange handler loads a new URL. b=361773 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@215970 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 13:56:40 +00:00
mats.palmgren%bredband.net
428dc5e234 Make sure text input onchange handler is called before onblur. b=357684 r=Olli.Pettay sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@215968 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 13:08:23 +00:00
bugzilla%standard8.demon.co.uk
815bad4993 Bug 343011 Searching Organization from LDAP address book yields no results. r/sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@215967 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 12:44:18 +00:00
timeless%mozdev.org
ec4d37087d Bug 336183 [arm build] undefined reference _PrepareAndDispatch in xpcom_core
This is a GCC3.4 fix over a previous GCC fix it obsoletes the poorlly designed
patch which was written for bug 307418

__attribute__(()) uses pairs of parens :(

moa=timeless


git-svn-id: svn://10.0.0.236/trunk@215961 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 12:05:49 +00:00
mats.palmgren%bredband.net
a0d7552927 Use the unshifted charCode when the Shift key and other modifiers are down (for accesskey handling). b=351310 r=zeniko sr=pavlov
git-svn-id: svn://10.0.0.236/trunk@215960 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 11:58:29 +00:00
philringnalda%gmail.com
a5fb9a250c Bug 362047 - bustage fix for bug 361146, missing paren, irc r=timeless
git-svn-id: svn://10.0.0.236/trunk@215959 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 08:44:04 +00:00
wr%rosenauer.org
aba3e90760 Bug 360941 - UpdateDriver and UpdateService update location mismatch, r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@215956 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 06:09:19 +00:00
stridey%gmail.com
758a292f3b Camino only - Bug 350806: Make Go menu history items respect the cmd/shift modifiers properly. r=smorgan sr=pink
git-svn-id: svn://10.0.0.236/trunk@215955 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 05:44:08 +00:00
stuart.morgan%alumni.case.edu
fe0f8c23f5 Camino only - removing project cruft accidentally checked in with bug 358390
git-svn-id: svn://10.0.0.236/trunk@215953 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 04:30:16 +00:00
bzbarsky%mit.edu
43242f0c03 Make XML serializer output an encoding="..." which matches the actual encoding
it's serializing to.  Bug 361933, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@215952 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 04:01:46 +00:00
cls%seawood.org
a48f352138 Mingw builds require _WIN32_WINNT >= 0x0501 (XP) to use the IP_ADAPTER features of nsNotifyAddrListener.
Also fix header include case for cross-compile builds.
Bug #358023 r=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@215951 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 03:43:05 +00:00
bzbarsky%mit.edu
9cac9633d9 Fix bug 277724 -- make <select>, <textarea>, <button> restore disabled state. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@215950 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 03:17:03 +00:00
pavlov%pavlov.net
1a796ff990 bug 333253. disabling icon decoder in cairo until proper fix can go in.
git-svn-id: svn://10.0.0.236/trunk@215949 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 03:08:43 +00:00
mattwillis%gmail.com
a6d6a3d05e Disable SVG on Sunbird tinderboxen (fallout from bug 354866)
git-svn-id: svn://10.0.0.236/trunk@215948 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 02:59:11 +00:00
ginn.chen%sun.com
4b6e98cc5a Bug 359784 preferences pane accessible tree uncomplete
patch by Nian.Liu at sun.com r=aaronleventhal


git-svn-id: svn://10.0.0.236/trunk@215947 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 02:19:50 +00:00
mike.morgan%oregonstate.edu
bb8b45b34d Checking in updates to PFS that JST committed to v1. Also added in the HTML edits, which were much simpler. See bug 360629.
git-svn-id: svn://10.0.0.236/trunk@215942 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 02:04:40 +00:00
stuart.morgan%alumni.case.edu
f41e761a17 Camino only - yet more hacking around bug 362014 to support all Camino's tinderbox configurations
git-svn-id: svn://10.0.0.236/trunk@215939 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 01:33:34 +00:00
pavlov%pavlov.net
f038285d92 move ns_ensure_true in to the right block. bug 333253. r=vlad
git-svn-id: svn://10.0.0.236/trunk@215937 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 01:14:29 +00:00
scott%scott-macgregor.org
56237bdb3f Bug #361434 --> Options UI re-design.
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@215929 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 01:06:17 +00:00
joshmoz%gmail.com
8e01aa53b8 crashes clicking on menubar while popup displayed (OS X 10.3 only) [@ FadeMenuWindows]. b=351230 r=mento sr=pav
git-svn-id: svn://10.0.0.236/trunk@215927 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 00:58:40 +00:00
jwalden%mit.edu
35d6793138 Bug 361792 - Signed-unsigned comparison in nsVoidArray.cpp. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@215922 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 00:32:30 +00:00
bienvenu%nventure.com
f575b707e1 change existence test to allow mail folders > 2GB, sr=mscott 361730
git-svn-id: svn://10.0.0.236/trunk@215920 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 00:19:20 +00:00
pavlov%pavlov.net
73e4b263e0 bug 362015. r=vlad. makes us use a region for drawing to avoid painting too much.
git-svn-id: svn://10.0.0.236/trunk@215919 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 00:11:42 +00:00
stuart.morgan%alumni.case.edu
daed2901a3 Camino only - more hacking around build failures caused by bug 362014
git-svn-id: svn://10.0.0.236/trunk@215917 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 00:03:43 +00:00
sayrer%gmail.com
09c032232d bug 358797 test by Adam Guthrie <ispiked@gmail.com>. r=dveditz
git-svn-id: svn://10.0.0.236/trunk@215916 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 00:03:41 +00:00
stuart.morgan%alumni.case.edu
6ca4146e29 Camino only - hack around build failures (see bug 362014). r=mento
git-svn-id: svn://10.0.0.236/trunk@215915 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 23:47:52 +00:00
cltbld
39b7768b35 Automated update from host egg.build.mozilla.org
git-svn-id: svn://10.0.0.236/trunk@215913 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 22:51:00 +00:00
vladimir%pobox.com
e1a39de646 b=359054, crash in moz_cairo_pixman_composite_src (image data was freed shortly before being used in compositing op), r=pavlov
git-svn-id: svn://10.0.0.236/trunk@215911 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 22:32:11 +00:00
vladimir%pobox.com
afd6abf2a8 b=360293, add helper macros for argument checking, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@215907 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 22:22:47 +00:00
stuart.morgan%alumni.case.edu
c585cb74a1 Camino only - fix more bustage from bug 354866 (remove references to gksvgrenderer.xpt)
git-svn-id: svn://10.0.0.236/trunk@215904 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 21:49:51 +00:00
bienvenu%nventure.com
a9eb0960e9 ignore spotlight subdirectories when doing local folder discovery, sr=mscott, part of 290057
git-svn-id: svn://10.0.0.236/trunk@215902 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 21:08:10 +00:00
mark%moxienet.com
2bbd5f363d Configure regeneration for smorgan's bug 358390. cltbld@egg auto-regeneration still seems to be asleep.
git-svn-id: svn://10.0.0.236/trunk@215901 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 21:01:30 +00:00
bienvenu%nventure.com
4cb6530c0f fix 358657 drag drop of attachments from mail messages to desktop fails, sr=mscott, initial work done by kovalchuk77@list.ru
git-svn-id: svn://10.0.0.236/trunk@215899 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 20:50:34 +00:00
stuart.morgan%alumni.case.edu
c3c28b83e4 Bug 358390: Enable cairo for Camino (and re-enable SVG). r/sr=josh
git-svn-id: svn://10.0.0.236/trunk@215898 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 20:24:11 +00:00
gavin%gavinsharp.com
b925db08e0 Bug 361146: DOM Inspector doesn't observe its preferences correctly, patch by Shawn Wilsher :sdwilsh <comrade693+bmo@gmail.com>, r=db48x, sr=neil
git-svn-id: svn://10.0.0.236/trunk@215897 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 20:07:47 +00:00
gavin%gavinsharp.com
72a259e9fb Bug 361105: Failed to load overlay from chrome://communicator/content..., patch by Shawn Wilsher :sdwilsh <comrade693+bmo@gmail.com>, r=db48x, sr=neil
git-svn-id: svn://10.0.0.236/trunk@215896 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 20:06:45 +00:00
gavin%gavinsharp.com
5ad4a47295 Bug 360572: deleting history entries from the search bar autocomplete dropdown doesn't work when suggestions are shown, r=mconnor
git-svn-id: svn://10.0.0.236/trunk@215895 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 19:51:35 +00:00
jwatt%jwatt.org
84a83d271d Fixing bug 360595. xul:description inside svg:foreignObject disappears when changed. r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@215893 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 19:49:00 +00:00
mnyromyr%tprac.de
2ff646ae4d Bug 193883: WMP9 Plugin installed, but 6.4 used; p=Frank Wein <bugzilla@mcsmurf.de>, r/sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@215892 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 19:47:39 +00:00
rob_strong%exchangecode.com
1ccee43519 Bug 357922 - Bookmarks missing, tabs broken, etc. (Firefox 2 install over Firefox 1.5.0.7 failed to replace some files.). r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@215885 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 19:17:14 +00:00
wtchang%redhat.com
f1cdc03bd4 Bugzilla Bug 361332: use a better way to determine if $(NSPR_CO_TAG) can be
pulled by date. r=benjamin.smedberg


git-svn-id: svn://10.0.0.236/trunk@215882 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 19:12:41 +00:00
tor%cs.brown.edu
3d58fae26f Simplify build bustage fix, as SVG now depends on cairo gfx.
git-svn-id: svn://10.0.0.236/trunk@215881 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 19:10:44 +00:00
tor%cs.brown.edu
f34eaa337e Bustage fix for SVG-disabled, <html:canvas>-enabled, non-cairo gfx builds.
git-svn-id: svn://10.0.0.236/trunk@215880 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 19:05:57 +00:00
scott%scott-macgregor.org
91ec7f9404 Bug #361591 --> id needed for quick sarch focus key. patch by Mark Charlebois mcharleb@qualcomm.com. r=bienvenu, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@215879 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 18:55:01 +00:00
joshmoz%gmail.com
248ed6e7e6 remove XP_MAC from xpinstall. b=281889 r=dveditz sr=pinkerton
git-svn-id: svn://10.0.0.236/trunk@215878 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 18:47:27 +00:00
lpsolit%gmail.com
0d8842e4d7 Bug 361809: GMT, UT, UTC and WET cannot be used as timezone - Patch by victory(_RSZ_) <bmo2007@rsz.jp> r=LpSolit a=justdave
git-svn-id: svn://10.0.0.236/trunk@215877 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 18:31:36 +00:00
lpsolit%gmail.com
701e9498bd Bug 361877: Argument "" isn't numeric in numeric gt (>) at data/template/template/en/default/global/user-error.html.tmpl line 1526 - Patch by Frédéric Buclin <LpSolit@gmail.com> r=bkor a=justdave
git-svn-id: svn://10.0.0.236/trunk@215876 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 18:25:41 +00:00
lpsolit%gmail.com
13befd592c Bug 361875: Use of uninitialized value in numeric eq (==) at Bugzilla/User.pm line 1465 - Patch by Frédéric Buclin <LpSolit@gmail.com> r=bkor a=justdave
git-svn-id: svn://10.0.0.236/trunk@215875 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 18:21:46 +00:00
lpsolit%gmail.com
d67ce8c297 Bug 361867: The description for the 'allowbugdeletion' parameter should not say deleting versions can delete bugs - Patch by victory(_RSZ_) <bmo2007@rsz.jp> r=LpSolit a=justdave
git-svn-id: svn://10.0.0.236/trunk@215874 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 18:11:02 +00:00
ghendricks%novell.com
72a64c823e == where = should be
git-svn-id: svn://10.0.0.236/trunk@215873 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 18:08:32 +00:00
joshmoz%gmail.com
e63506892a NS_NATIVE_GRAPHIC return value for mac top-level windows is nonsense. b=361439 r=hwaara sr=pinkerton
git-svn-id: svn://10.0.0.236/trunk@215872 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 18:08:30 +00:00
ghendricks%novell.com
6fb3603c30 Need to exit the loop when checking for ownership of multiple plans
git-svn-id: svn://10.0.0.236/trunk@215871 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 18:00:04 +00:00
lpsolit%gmail.com
4320afa0dc Bug 361870: SQL query in Bugzilla::Bug::EmitDependList() too complicated - Patch by Frédéric Buclin <LpSolit@gmail.com> r=bkor a=justdave
git-svn-id: svn://10.0.0.236/trunk@215869 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 17:48:56 +00:00
tor%cs.brown.edu
5200d36361 Camino build bustage fix - disable SVG until they switch to cairo gfx.
git-svn-id: svn://10.0.0.236/trunk@215868 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 17:45:30 +00:00
tor%cs.brown.edu
c8c243d5af Bug 354866 - remove svg renderer layer, begin switch to thebes. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@215867 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 17:30:57 +00:00
peterv%propagandism.org
07c4a62456 Fix for bug 356851 (nsXPConnect::ReparentAllWrappersInScope uses wrong parents.). r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@215866 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 16:20:31 +00:00
michael.buettner%sun.com
91d8311333 bug #360674 implement zoom-feature for free/busy grid r=tbe
git-svn-id: svn://10.0.0.236/trunk@215865 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 15:52:16 +00:00
michael.buettner%sun.com
f9f2185a46 bug #360259 timezone-support does not work as advertised r=tbe
git-svn-id: svn://10.0.0.236/trunk@215864 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 12:26:25 +00:00
neil%parkwaycc.co.uk
92cea4c84f Remove near-useless "Expand" item on bookmark menuitem context menus p=paradigmk@technodrome.com r=me
git-svn-id: svn://10.0.0.236/trunk@215862 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 12:01:45 +00:00
michael.buettner%sun.com
9a0df68256 bug #360117 autoexpand freebusy-grid to 24hrs r=tbe
git-svn-id: svn://10.0.0.236/trunk@215860 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 11:35:00 +00:00
michael.buettner%sun.com
ee70986245 Bug #329035 calendar view refresh() operation has re-entrancy problems r=lilmatt
git-svn-id: svn://10.0.0.236/trunk@215859 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 10:33:07 +00:00
martijn.martijn%gmail.com
062c169805 Bug 361808 - Print selection doesn't print selected text, backout from patch from bug 355395
git-svn-id: svn://10.0.0.236/trunk@215858 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 08:58:24 +00:00
timeless%mozdev.org
6e0b3ebac0 Bug 336183 [arm build] undefined reference _PrepareAndDispatch in xpcom_core
This is a GCC3.4 fix over a previous GCC fix it obsoletes the poorlly designed
patch which was written for bug 307418

moa=timeless


git-svn-id: svn://10.0.0.236/trunk@215857 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 07:48:46 +00:00
mattwillis%gmail.com
cf6ae9fe6d bug 361900 - Add nb-NO (Norwegian bokmål) to all-locales
git-svn-id: svn://10.0.0.236/trunk@215856 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 05:25:24 +00:00
mattwillis%gmail.com
9d7bc79551 bug 341971 - Fix Unicode typo
git-svn-id: svn://10.0.0.236/trunk@215855 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 05:20:30 +00:00
mattwillis%gmail.com
a1b0c15454 bug 341971 - Adds AUS update checking to Sunbird. r=ctalbert, jminta, ui-r=mvl
git-svn-id: svn://10.0.0.236/trunk@215854 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 04:53:55 +00:00
mattwillis%gmail.com
501423746b bug 341971 - Adds AUS update checking to Sunbird. r=ctalbert, jminta, ui-r=mvl
git-svn-id: svn://10.0.0.236/trunk@215852 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 04:51:19 +00:00
mozilla.mano%sent.com
c9b9559767 Bug 288254 - Findbar XBL widget. r=gavin,masayuki,bienvenu.
git-svn-id: svn://10.0.0.236/trunk@215850 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-26 22:47:46 +00:00
roc+%cs.cmu.edu
5290353d07 Bug 361707. nsTArray::SetCapacity should return boolean success/failure. r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@215849 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-26 22:01:24 +00:00
bugzilla%standard8.demon.co.uk
0fb182bdce Backout xpfe/ changes from bug 361193 to fix regression bug 361883
git-svn-id: svn://10.0.0.236/trunk@215848 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-26 21:30:14 +00:00
cbiesinger%web.de
6adee2fe6d bug 309438 Shorten the Accept: header to:
Accept: text/html,application/xhtml+xml;q=0.9,application/xml;q=0.8,*/*;q=0.7
r=darin sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@215847 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-26 20:38:09 +00:00
bienvenu%nventure.com
e5bb9259ec work for 290057 integrating with Spotlight - this allows us to open spotlight search results in TB, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@215846 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-26 19:56:14 +00:00
bugzilla%standard8.demon.co.uk
6f162638fd Bug 256447 In mailWindowOverlay.js, "Warning: redeclaration of var i" and "Warning: assignment to undeclared variable pop3Server". p=Serge Gautherie <sgautherie.bz@free.fr>,r=bienvenu,sr=mscott
git-svn-id: svn://10.0.0.236/trunk@215845 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-26 19:27:13 +00:00
neil%parkwaycc.co.uk
6236d3bd6a Followup to bug 355064 to update the spelling items last to hack around the editor context menu hacks r=IanN
git-svn-id: svn://10.0.0.236/trunk@215844 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-26 19:12:19 +00:00
bugzilla%arlen.demon.co.uk
4314b5ca79 Bug 357321 don't blindly trust address book recipients when loading remote content - Remove unneeded code from privacy.js
p=me r/sr=mscott


git-svn-id: svn://10.0.0.236/trunk@215842 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-26 17:40:32 +00:00
neil%parkwaycc.co.uk
fe51062186 Code and comment cleanup b=342560 r=Mnyromyr
git-svn-id: svn://10.0.0.236/trunk@215841 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-26 17:31:41 +00:00
mnyromyr%tprac.de
f483bb45a8 Bug 361694: additional trunk fix; r/sr=neil
git-svn-id: svn://10.0.0.236/trunk@215840 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-26 17:01:54 +00:00
masayuki%d-toybox.com
5976c1b7ff Bug 360050 Implement SVGMatrix::RotateFromVector, FlipX, FlipY. patch by KUROSAWA, Takeshi(taken) <taken.spc@gmail.com> r=tor, sr=roc
git-svn-id: svn://10.0.0.236/trunk@215839 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-26 14:41:55 +00:00
masayuki%d-toybox.com
dc0cfe748e Bug 360050 backed-out for bustage on Win32
git-svn-id: svn://10.0.0.236/trunk@215838 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-26 14:25:00 +00:00
masayuki%d-toybox.com
e039a0065b Bug 360050 Implement SVGMatrix::RotateFromVector, FlipX, FlipY. patch by KUROSAWA, Takeshi(taken) <taken.spc@gmail.com> r=tor, sr=roc
git-svn-id: svn://10.0.0.236/trunk@215837 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-26 13:49:26 +00:00
gerv%gerv.net
47312e784f Further updates to cope with new code
git-svn-id: svn://10.0.0.236/trunk@215836 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-26 08:24:32 +00:00
stuart.morgan%alumni.case.edu
0e6913057b Camino only - Added checking embed-replacements to the release checklist. No code changes
git-svn-id: svn://10.0.0.236/trunk@215835 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-26 06:19:00 +00:00
philringnalda%gmail.com
cdf1c9053f Bug 352032: A few prefs buttons lost their disable_button in the prefs reorg, r=gavin
git-svn-id: svn://10.0.0.236/trunk@215834 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-26 02:19:12 +00:00
stuart.morgan%alumni.case.edu
c6264e173c Camino only - Bug 343837: Show 'Camino' instead of 'null' in security dialogs. sr=mento
git-svn-id: svn://10.0.0.236/trunk@215830 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-26 00:47:06 +00:00
mozilla%weilbacher.org
b135e35663 [OS/2] Bug 358863: fix jumping of elements when pmstripe theme is active and toolbars are wider than the Firefox window, r/sr=mkaply
git-svn-id: svn://10.0.0.236/trunk@215829 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-25 23:22:18 +00:00
mozilla.mano%sent.com
d451656a5e Bug 361701 - First pane of preferences window is blank when animating is on. patch from Dave Townsend (Mossop) <mossop.bugzilla@blueprintit.co.uk>, r=me.
git-svn-id: svn://10.0.0.236/trunk@215827 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-25 21:15:43 +00:00
mozilla.mano%sent.com
c0464c750b Bug 361826 - Re-enable background-tabs notification in Pinstripe. r=gavin.
git-svn-id: svn://10.0.0.236/trunk@215826 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-25 20:37:32 +00:00
silver%warwickcompsoc.co.uk
2edcf0c34b Fix unused code to use new tree-utils functions.
NPOB.


git-svn-id: svn://10.0.0.236/trunk@215825 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-25 19:58:04 +00:00
bugzilla%arlen.demon.co.uk
783de386b0 Bug 357321 don't blindly trust address book recipients when loading remote content - Fix msgHdrForCurrentMessage patch
r=mscott


git-svn-id: svn://10.0.0.236/trunk@215823 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-25 17:38:57 +00:00
robert%accettura.com
f2b960bc4d Small html cleanup. Spaces to tabs, etc.
git-svn-id: svn://10.0.0.236/trunk@215822 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-25 16:18:06 +00:00
neil%parkwaycc.co.uk
7f9d2fd6a6 Tools/Search the Web fails with no windows open on Mac b=25287 p=stefanh r+sr=me
git-svn-id: svn://10.0.0.236/trunk@215820 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-25 15:21:12 +00:00
gavin%gavinsharp.com
2165c76269 Bug 361687: French translation update for DOMi, patch by Cédric Corazza <cedric.corazza@wanadoo.fr>, r=bugzilla.fr@gmail.com
git-svn-id: svn://10.0.0.236/trunk@215819 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-25 15:18:37 +00:00
gavin%gavinsharp.com
52ddd7f7c5 Bug 361432: style lines from manifest files no longer applied when xul cache disabled, patch by Nickolay Ponomarev <asqueella@gmail.com>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@215818 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-25 14:51:29 +00:00
gavin%gavinsharp.com
ee9387102f Bug 361769: the V before Show Suggestions is too big (make min-width/height rules apply only to the engine dropdown), patch by Dave Townsend (Mossop) <mossop.bugzilla@blueprintit.co.uk>, r=me
git-svn-id: svn://10.0.0.236/trunk@215817 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-25 14:33:04 +00:00
gavin%gavinsharp.com
f359745a49 Bug 357609: package DOM storage xpt (DOM storage broken in trunk builds), patch by Sylvain Pasche <sylvain.pasche@gmail.com>, r=me
git-svn-id: svn://10.0.0.236/trunk@215816 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-25 14:29:36 +00:00
mnyromyr%tprac.de
696e27438b Bug 361694: Altering a tag's importance resets its name and colour; r/sr=neil
git-svn-id: svn://10.0.0.236/trunk@215815 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-25 13:06:02 +00:00
bugzilla%standard8.demon.co.uk
4f06162d58 Bug 361193 In suiterunner preferences, advanced -> Mousewheel pane doesn't display. r=KaiRo,sr=Neil
git-svn-id: svn://10.0.0.236/trunk@215814 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-25 13:00:07 +00:00
mnyromyr%tprac.de
ccdb7040df Bug 349991: tag mailview names out of sync with tags; r=neil, sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@215813 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-25 12:55:06 +00:00
neil%parkwaycc.co.uk
06698f3e6b Inline spellcheck in web composer (editor) b=355064 r=IanN
git-svn-id: svn://10.0.0.236/trunk@215812 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-25 12:25:20 +00:00
lpsolit%gmail.com
fd69b6f0b1 Bug 338435: Add link to DBD::Pg in the documentation - Patch by victory(_RSZ_) <bmo2007@rsz.jp> r=LpSolit
git-svn-id: svn://10.0.0.236/trunk@215811 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-25 11:47:27 +00:00
lpsolit%gmail.com
ab7d381f7f Docs patch for bug 330487: Bugzilla now has an automatic update notification system - Patch by me, r=justdave
git-svn-id: svn://10.0.0.236/trunk@215810 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-25 11:33:49 +00:00
bugzilla%standard8.demon.co.uk
d92087a539 Bug 361193 In suiterunner preferences, advanced -> Mousewheel pane doesn't display. r=KaiRo,sr=Neil
git-svn-id: svn://10.0.0.236/trunk@215809 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-25 09:58:57 +00:00
robert%accettura.com
414abeb46c Second half of charset implementation, add to db schema, make viewable in report and query.
git-svn-id: svn://10.0.0.236/trunk@215808 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-25 02:47:57 +00:00
robert%accettura.com
d71527abf0 Last checkin had a few extra returns and some lines commented out by mistake. Came from the wrong tree. This is better.
git-svn-id: svn://10.0.0.236/trunk@215807 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-25 02:34:38 +00:00
robert%accettura.com
4090c8e40b Update service to handle versioning via url, and accept character encoding as a param (Bug 352905) and other minor stuff.
git-svn-id: svn://10.0.0.236/trunk@215806 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-25 02:32:31 +00:00
brendan%mozilla.org
221680ca40 Fix 360612, r=igor.
git-svn-id: svn://10.0.0.236/trunk@215805 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-25 02:11:28 +00:00
lpsolit%gmail.com
f9769fec10 Docs for bug 344875: Custom fields can be created and edited directly from your web browser - Patch by me, r=justdave
git-svn-id: svn://10.0.0.236/trunk@215804 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-25 01:10:21 +00:00
ajschult%verizon.net
0a8aca4bae Bug 336966: Useless null check of shell in nsXIEngine::DeleteXPIs. Patch by Ryan Jones <sciguyryan+bugzilla@gmail.com>, r=me.
git-svn-id: svn://10.0.0.236/trunk@215803 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-25 00:59:20 +00:00
bclary%bclary.com
84b5571f99 JavaScript Test - regression test for bug 361558, by Jesse Ruderman
git-svn-id: svn://10.0.0.236/trunk@215802 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-25 00:16:46 +00:00
ajschult%verizon.net
90ff48eb14 Bug 272041: Can't copy whitespace via context menu, r+sr=Neil
git-svn-id: svn://10.0.0.236/trunk@215801 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-25 00:00:04 +00:00
philringnalda%gmail.com
bbb31093ab Bug 361627: Customize toolbar dialog is empty with wrong_document_err, r=mano
git-svn-id: svn://10.0.0.236/trunk@215800 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-24 23:22:47 +00:00
stuart.morgan%alumni.case.edu
a5384b57c4 Camino only - Fix typo in bug 172842 project change
git-svn-id: svn://10.0.0.236/trunk@215799 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-24 22:31:18 +00:00
philringnalda%gmail.com
896d90091f Bug 361711: Toolbar customization broken on trunk by wrong_document_err, r=mscott
git-svn-id: svn://10.0.0.236/trunk@215794 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-24 19:53:53 +00:00
stuart.morgan%alumni.case.edu
a29cbd642f Camino only - Bug 172842: Implement Keychain Services API. r=joshmoz sr=pink
git-svn-id: svn://10.0.0.236/trunk@215791 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-24 19:20:18 +00:00
mrbkap%gmail.com
cac0189952 Remove JOF_NAME so as to not confuse the code generator. bug 360969, r=brendan
git-svn-id: svn://10.0.0.236/trunk@215788 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-24 19:00:48 +00:00
mrbkap%gmail.com
3222b6c4b2 Mark our saved setter in case we have the last reference to it. bug 361346, r=brendan
git-svn-id: svn://10.0.0.236/trunk@215787 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-24 18:57:34 +00:00
hwaara%gmail.com
6827a657d1 expose the "mixed" value of checkbox, and add license headers to these files. r=surkov, b=361736
git-svn-id: svn://10.0.0.236/trunk@215784 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-24 14:37:00 +00:00
sharparrow1%yahoo.com
40150360c3 Bug 345707: print selection cuts off top of selection. r+sr=src.
git-svn-id: svn://10.0.0.236/trunk@215783 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-24 08:14:37 +00:00
sharparrow1%yahoo.com
31c9af6683 Bug 360227: prevent framesets from taking up an extra blank page when print/print previewing. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@215782 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-24 08:12:17 +00:00
sharparrow1%yahoo.com
9f34a2a380 Bug 356858: remove unused declarations. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@215781 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-24 08:09:28 +00:00
brendan%mozilla.org
dc22a40ddd Back out last change.
git-svn-id: svn://10.0.0.236/trunk@215780 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-24 05:12:29 +00:00
gavin%gavinsharp.com
fe4108f054 Bug 357398: js_ExpandErrorArguments can crash in OOM conditions, patch by Gavin Reaney <gavin@picsel.com>, r=mrbkap
git-svn-id: svn://10.0.0.236/trunk@215779 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-24 03:07:59 +00:00
brendan%mozilla.org
96b715af56 Move GSN cache for best sharing and correct clearing (360612, r=igor).
git-svn-id: svn://10.0.0.236/trunk@215778 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-24 03:03:18 +00:00
mats.palmgren%bredband.net
63082518ab Use the unshifted charCode when the Shift key and other modifiers are down (for accesskey handling). p=zeniko b=351310 r=me
git-svn-id: svn://10.0.0.236/trunk@215777 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-24 02:10:50 +00:00
jshin%mailaps.org
46531d3b27 bug 359808 : drop support Win 9x/ME in xpcom/io (r/sr=darin)
git-svn-id: svn://10.0.0.236/trunk@215776 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-24 01:02:56 +00:00
jwalden%mit.edu
69999627e3 Bug 361647 - Fix signed-unsigned comparisons in gfxPlatform.cpp. r+sr=pavlov
git-svn-id: svn://10.0.0.236/trunk@215775 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 22:00:10 +00:00
lpsolit%gmail.com
c638418f9d Also mention the XML format for bug lists
git-svn-id: svn://10.0.0.236/trunk@215774 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 21:51:07 +00:00
lpsolit%gmail.com
d4d4716a85 Docs patch for bug 313020: Implement the ability to add and remove individual bugs to/from saved searches - Patch by me, r=Colin
git-svn-id: svn://10.0.0.236/trunk@215772 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 21:39:44 +00:00
lpsolit%gmail.com
47bd278f5d Fixing bustage: &quote; -> <quote>
git-svn-id: svn://10.0.0.236/trunk@215771 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 21:01:05 +00:00
lpsolit%gmail.com
aa614b75ed Bug 361564: Attachments should have their own section in the docs, and info about PatchReader should be a sub-section of it - Patch by Frédéric Buclin <LpSolit@gmail.com> r=Colin
git-svn-id: svn://10.0.0.236/trunk@215770 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 20:48:14 +00:00
silver%warwickcompsoc.co.uk
166dd6b272 ChatZilla 0.9.77.
git-svn-id: svn://10.0.0.236/trunk@215769 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 20:46:23 +00:00
mozilla%colinogilvie.co.uk
0bb94bf176 Bug 361251: update Bugzilla FAQ
Patch by victory(_RSZ_) <bmo2007@rsz.jp>; r=LpSolit; r=Colin


git-svn-id: svn://10.0.0.236/trunk@215768 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 20:25:37 +00:00
philringnalda%gmail.com
6cdeced5e1 Bug 361458: Opening bookmark in sidebar results in XML parsing error, r=gavin
git-svn-id: svn://10.0.0.236/trunk@215767 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 20:13:58 +00:00
silver%warwickcompsoc.co.uk
53bfe68313 Bug 361657 - Adopt nodes when placing them into the output window.
ChatZilla only.
r=samuel


git-svn-id: svn://10.0.0.236/trunk@215763 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 19:31:07 +00:00
brendan%mozilla.org
48501e0eb9 Fix 316552, r=mrbkap.
git-svn-id: svn://10.0.0.236/trunk@215762 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 19:08:08 +00:00
mozilla.mano%sent.com
14284a6947 Bug 361671 - Feed Preview is broken (typro from bug 361186).
git-svn-id: svn://10.0.0.236/trunk@215761 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 18:44:41 +00:00
brendan%mozilla.org
ee1e7b3d6a Fix bogus assertion (361558, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@215758 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 17:16:17 +00:00
kjh-5727%comcast.net
2b94312603 Bug 351231: type-pun warnings from nsCOMPtr, part II. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@215757 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 16:10:43 +00:00
smontagu%smontagu.org
351b095a83 More additions and corrections to language names. Bug 178491, r=jshin, blanket sr=roc
git-svn-id: svn://10.0.0.236/trunk@215756 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 15:59:12 +00:00
Olli.Pettay%helsinki.fi
88461fe249 Bug 354611, Crash [@ nsXULElement::HideWindowChrome] setting hidechrome to true, r=enndeakin, sr=neil
git-svn-id: svn://10.0.0.236/trunk@215755 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 15:55:58 +00:00
kjh-5727%comcast.net
6f72849eb5 Bug 351231: type-pun warnings from nsCOMPtr. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@215753 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 13:21:27 +00:00
jwalden%mit.edu
b34290b4d0 Bug 359824 - necko unit test failure: test_authentication.js. Previous commit to revert bug 223846 forgot to remove an extra header that the original commit added; this commit removes that unnecessary include. r=vlad on the original backout patch
git-svn-id: svn://10.0.0.236/trunk@215752 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 13:19:53 +00:00
mozilla.mano%sent.com
ce0ad1ae4c Bug 357914 - Choose Application menuitem in feed subscription UI sometimes doesn't work. r=gavin.
git-svn-id: svn://10.0.0.236/trunk@215750 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 12:13:47 +00:00
mozilla.mano%sent.com
3632bc2eed Bug 361186 - FeedWriter should cache its string bundle. r=gavin.
git-svn-id: svn://10.0.0.236/trunk@215749 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 11:59:53 +00:00
ginn.chen%sun.com
7bacf2ac7f missed two lines in last checkin, sorry for my spam
Bug 361470


git-svn-id: svn://10.0.0.236/trunk@215748 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 10:45:42 +00:00
longsonr%gmail.com
796c22bd86 Bug 361522 - SVGLocatable.getTransformToElement(element) returns wrong values. r=tor,sr=roc
git-svn-id: svn://10.0.0.236/trunk@215747 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 09:41:56 +00:00
mozilla.mano%sent.com
f0dae6c97a Bug 359718 - Page info: Security tab never shown. r=gavin, mpa=darin.
git-svn-id: svn://10.0.0.236/trunk@215746 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 09:41:03 +00:00
allan%beaufour.dk
dfb15a99ce Do not run updateservice tests, when tests are disabled. Bug 359701, r=benjamin
git-svn-id: svn://10.0.0.236/trunk@215745 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 08:46:55 +00:00
allan%beaufour.dk
34472477d0 Add NSPR debug info to nsObserverService. Bug 361490, r=darin
git-svn-id: svn://10.0.0.236/trunk@215744 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 08:43:28 +00:00
ginn.chen%sun.com
016c31f504 Bug 361470 Fix Solairs build after refactoring xptcall
r=benjamin moa=timeless


git-svn-id: svn://10.0.0.236/trunk@215743 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 07:50:02 +00:00
sayrer%gmail.com
579ec0fede Bug 361531. Ampersands in URL aren't escaped when inserted in generated base attribute. r=mano
git-svn-id: svn://10.0.0.236/trunk@215742 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 07:18:59 +00:00
sspitzer%mozilla.org
9a60265878 fix for bug #361624: user style sheets may not be imported from Safari, due to an uninitialized variable. also, fix a warning I introduced with a recent checkin for MOZ_PLACES_BOOKMARKS ifdef support.
r=gavin


git-svn-id: svn://10.0.0.236/trunk@215741 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 07:05:07 +00:00
Olli.Pettay%helsinki.fi
fdf8005415 Bug 361376, Right click on an item in the Add-Ons dialog produces a context menu on the left hand side of the dialog, r=ere, sr=roc
git-svn-id: svn://10.0.0.236/trunk@215740 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 04:52:53 +00:00
enndeakin%sympatico.ca
e19ca111bf Bug 359012, wrong host added to whitelist when xpi is in a frame, r=mano
git-svn-id: svn://10.0.0.236/trunk@215739 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 03:21:26 +00:00
philringnalda%gmail.com
ca251af942 Bug 252247: GetThreadTree is undefined error from hidden window on Mac startup, r+a=mscott
git-svn-id: svn://10.0.0.236/trunk@215738 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 02:40:52 +00:00
philringnalda%gmail.com
3d9cbe9567 Bug 350423: fix pinstripe image regions for phishing and remote content on the trunk, now that the Fx visual refresh has landed the smaller images on the trunk, r=mscott
git-svn-id: svn://10.0.0.236/trunk@215737 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 02:30:27 +00:00
edburns%acm.org
2c1be00595 forgot_to_put_into_cvs
git-svn-id: svn://10.0.0.236/trunk@215736 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 02:23:52 +00:00
masayuki%d-toybox.com
76f4b7f7d0 Bug 361494 NS_ASSERTION of gfxPlatformGtk::IsExistingFont has wrong condition r=vlad
git-svn-id: svn://10.0.0.236/trunk@215734 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 02:01:36 +00:00
sayrer%gmail.com
e7f59d3992 bug 361230. Add a way to tell the parser the feed has been sniffed. r=mano
git-svn-id: svn://10.0.0.236/trunk@215733 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 01:22:43 +00:00
tor%cs.brown.edu
2f70c89f14 Bug 361587 - avoid paint work on gradient with no stops. r=vlad
git-svn-id: svn://10.0.0.236/trunk@215731 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 01:17:47 +00:00
tor%cs.brown.edu
8aeeb7cc28 Bug 361569 - allow SVG to use cairo fallbacks with nquartz backend. r=vlad
git-svn-id: svn://10.0.0.236/trunk@215730 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 01:15:04 +00:00
roc+%cs.cmu.edu
fb4c6fb984 Bug 130078. Reverting fix because of regressions. We'll have to come back to this again :-(.
git-svn-id: svn://10.0.0.236/trunk@215729 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 01:12:52 +00:00
tony%ponderer.org
6c03b73c81 bug 356355: numeric domain normalization only happens on enchash table values
patch v4: check both old and new canonical form
r=mmchew


git-svn-id: svn://10.0.0.236/trunk@215728 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 01:12:35 +00:00
sspitzer%mozilla.org
097e8f542b backing out the fix for bug #223846 (AuthName with escaped quote in it sets wrong realm) because it causes two regressions:
bug #361544: unable to log into https://intranet.mozilla.org
bug #359824: necko unit test failure: test_authentication.js

thanks to jeff walden for the patch.

r=vlad, g# agrees with the backout, too.


git-svn-id: svn://10.0.0.236/trunk@215726 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 01:09:20 +00:00
roc+%cs.cmu.edu
1893938850 Bug 359773. Fix return codes from Get/SetPropertyAsSupports. r+sr=jag
git-svn-id: svn://10.0.0.236/trunk@215725 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 01:09:19 +00:00
preed%mozilla.com
4c668a3d5f Bug 360585: bump Nagios nightly build checker configs for 2.0.0.1pre. patch=cf, r=preed
git-svn-id: svn://10.0.0.236/trunk@215724 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 00:44:11 +00:00
tony%ponderer.org
2925ce62ca back out change because tree is closed
git-svn-id: svn://10.0.0.236/trunk@215723 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 00:39:39 +00:00
tony%ponderer.org
c089f28298 bug 356355: numeric domain normalization only happens on enchash table values
patch v4: check both old and new canonical form
r=mmchew


git-svn-id: svn://10.0.0.236/trunk@215722 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 00:37:20 +00:00
vladimir%pobox.com
ece4ca3cad backing out bug 333078, xpcom cycle collector due to perf issues
git-svn-id: svn://10.0.0.236/trunk@215718 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 23:18:16 +00:00
wtchang%redhat.com
27228a603a Updated for the current platform list. Pass the -p option to mkdir to
handle a directory in WIN_OBJDIRS of the form msvc6.0/WIN954.0_DBG.OBJ.


git-svn-id: svn://10.0.0.236/trunk@215714 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 22:42:57 +00:00
brendan%mozilla.org
ba59cfb0cd Fix from Gavin Reaney <gavin@picsel.com> for 357392, r=me.
git-svn-id: svn://10.0.0.236/trunk@215711 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 22:32:47 +00:00
sspitzer%mozilla.org
346651146e tree is closed, backing out my last backout
git-svn-id: svn://10.0.0.236/trunk@215708 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 22:13:14 +00:00
sspitzer%mozilla.org
3321771dea backing out the fix for bug #223846 (AuthName with escaped quote in it sets wrong realm) because it causes two regressions:
bug #361544: unable to log into https://intranet.mozilla.org
bug #359824: necko unit test failure: test_authentication.js

thanks to jeff walden for the patch.

r=vlad, g# agrees with the backout, too.


git-svn-id: svn://10.0.0.236/trunk@215707 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 22:03:58 +00:00
mattwillis%gmail.com
6a6350602b bug 361204 - Fixes line endings and lack of license text. Original patch by Stefan Sitter <ssitter@googlemail.com>, minor edits and r=lilmatt
git-svn-id: svn://10.0.0.236/trunk@215706 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 21:59:22 +00:00
vladimir%pobox.com
b964499284 b=333078, xpcom cycle collector; followup patch -- patch from graydon@mozilla.com, r=many
git-svn-id: svn://10.0.0.236/trunk@215705 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 21:31:33 +00:00
mozilla.mano%sent.com
558ec296b5 Backing out bug 359718, tree is closed
git-svn-id: svn://10.0.0.236/trunk@215704 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 21:24:56 +00:00
mozilla.mano%sent.com
39ba3e7fc7 Bug 359718 - Page info: Security tab never shown. r=gavin, mpa=darin.
git-svn-id: svn://10.0.0.236/trunk@215703 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 21:23:35 +00:00
wsharp%adobe.com
141562d35f bug 361427. Lost some MathUtils changes for 64-bit.
git-svn-id: svn://10.0.0.236/trunk@215702 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 21:22:34 +00:00
wsharp%adobe.com
41fd8cb0a5 bug 361427. Merge Linux code into AVM+ source tree. Not quite building yet - some sort of zlib problem with the new zlib routines. Maybe a C/C++ mismatch somehow? r:mtilburg
git-svn-id: svn://10.0.0.236/trunk@215701 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 21:10:17 +00:00
vladimir%pobox.com
81dc6dcbb9 b=333078, xpcom cycle collector; followup patch -- patch from graydon@mozilla.com, r=many
git-svn-id: svn://10.0.0.236/trunk@215700 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 20:48:47 +00:00
lpsolit%gmail.com
ebfd5a4c98 Docs patch for bug 87795: You now get an email with a URL containing a random token to confirm your registration - Patch by me, r=justdave
git-svn-id: svn://10.0.0.236/trunk@215699 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 20:37:55 +00:00
mnyromyr%tprac.de
5942bdcd11 Bug 66466: No cross-folder navigation using Next Unread Thread; based upon an old 2002 patch by Travis Crump <pretzalz@techhouse.org>, r=Neil, sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@215698 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 20:33:07 +00:00
lpsolit%gmail.com
f4db343eb7 Bug 361562: The "Using Bugzilla" chapter should be before the "Customising Bugzilla" chapter - Patch by Frédéric Buclin <LpSolit@gmail.com> r=justdave
git-svn-id: svn://10.0.0.236/trunk@215697 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 20:31:11 +00:00
vladimir%pobox.com
260a2b3959 b=333078, xpcom cycle collector -- patch from graydon@mozilla.com, r=many
git-svn-id: svn://10.0.0.236/trunk@215695 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 19:23:02 +00:00
lpsolit%gmail.com
8fe8165513 Docs patch for bug 36257: Add the QA contact field to the list of valid fields in the "Anatomy of a bug" section - Patch by me, r=justdave
git-svn-id: svn://10.0.0.236/trunk@215694 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 19:08:30 +00:00
scott%scott-macgregor.org
462c59f6ef Bug #358339 --> wrap attempts to get the shell service in try/catch calls. On some flavors of linux, the initializing the shell service throws an error because we don't have access to the gconf services we are expecting. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@215693 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 18:52:33 +00:00
bzbarsky%mit.edu
8de5291c41 This wasn't supposed to land
git-svn-id: svn://10.0.0.236/trunk@215692 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 18:52:32 +00:00
wsharp%adobe.com
9a008c88b6 bug 361366. Continuation of Mac 64-bit port. r: stejohns. Also fixed two bugs with Steven's change from yesterday. NATIVE functions in DictionaryGlue and DomainClass need 'constructor' changed to new name.
git-svn-id: svn://10.0.0.236/trunk@215691 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 18:41:17 +00:00
martijn.martijn%gmail.com
cb46a225ca Fix small issue with patch for bug 361334 (Onbeforeunload dialog has too many line breaks), r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@215690 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 18:41:11 +00:00
despotdaemon
102d30ad22 Pseudo-automatic update of changes made by benjamin@smedbergs.us.
git-svn-id: svn://10.0.0.236/trunk@215689 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 18:40:09 +00:00
martijn.martijn%gmail.com
04a8434163 Bug 361383 - Patch for bug 348183 can be backed out now that the patch for bug 348357 went in, r=gavin.sharp, r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@215688 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 18:37:34 +00:00
peterv%propagandism.org
104eb64087 Fix for bug 47903 (WRONG_DOCUMENT_ERR not being thrown). r=sicking, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@215687 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 18:35:05 +00:00
martijn.martijn%gmail.com
8b34f4bfed Bug 319654 - Processing instructions in XUL are not added to the content model, modifying test10, to make it more correct
git-svn-id: svn://10.0.0.236/trunk@215686 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 18:34:07 +00:00
bzbarsky%mit.edu
43d470b66b Make the redirect check get principals the same way we get them elsewhere.
Clean up some code to use the new security manager method.  Bug 354693,
r=dveditz, sr=sicking


git-svn-id: svn://10.0.0.236/trunk@215685 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 18:27:54 +00:00
dbaron%dbaron.org
70646c07d3 Fix use of the wrong variable that causes the same argument to be passed twice to NSGetModule. b=316416 r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@215684 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 18:01:37 +00:00
gavin%gavinsharp.com
eddda5c09e Last revision was: Bug 342670: Leaking process information handle in nsDebugImpl.cpp, patch by David Gardiner <David.R.Gardiner@gmail.com>, r=bsmedberg, sr=darin
git-svn-id: svn://10.0.0.236/trunk@215682 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 17:51:59 +00:00
masayuki%d-toybox.com
970854042a Bug 361529 Font resolver doesn't work fine on some cases r=pavlov
git-svn-id: svn://10.0.0.236/trunk@215681 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 17:50:38 +00:00
gavin%gavinsharp.com
9e78eda24c Bug 342670
git-svn-id: svn://10.0.0.236/trunk@215680 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 17:50:35 +00:00
gavin%gavinsharp.com
a4155d11e7 Bug 360792: mail.delete_matches_sort_order does not work when using imap mark as deleted model, patch by Magnus Melin <mkmelin+mozilla@iki.fi>, r=bienvenu
git-svn-id: svn://10.0.0.236/trunk@215679 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 17:47:52 +00:00
gavin%gavinsharp.com
3cbc871e9b Bug 360428: Instances of 'AskJeeves' should be replaced with 'Ask.com', fix queryCharset and interpret section, patch by Charles Caygill <bzmozilla@ccaygill.com>, r=neil+me
git-svn-id: svn://10.0.0.236/trunk@215678 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 17:46:49 +00:00
gavin%gavinsharp.com
473f4f8a9f Bug 359967: File pref-downloads.dtd is no longer used, patch by Magnus Melin <mkmelin+mozilla@iki.fi>, r=mscott
git-svn-id: svn://10.0.0.236/trunk@215677 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 17:44:40 +00:00
gavin%gavinsharp.com
74ed0dc575 Bug 359895: 'about:blank' shows in location bar when switching to a blank tab, r=mano
git-svn-id: svn://10.0.0.236/trunk@215676 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 17:42:35 +00:00
gavin%gavinsharp.com
dda76b7261 Bug 357171: nsIAutoCompleteSearch (et al) not defined, patch by Paul Tomlin <ptomli.bugzilla@gmail.com>, r=mscott, sr=neil
git-svn-id: svn://10.0.0.236/trunk@215675 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 17:36:59 +00:00
joshmoz%gmail.com
b249c4e0aa allow directory creation when saving files/attachments. patch by Hiro. b=360948 r=josh sr=pinkerton (re-landing)
git-svn-id: svn://10.0.0.236/trunk@215674 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 17:35:52 +00:00
gavin%gavinsharp.com
ceebb4e33f Bug 355717: #if is always true or function does not return a value, patch by Ryan Jones <sciguyryan+bugzilla@gmail.com>, r=brendan
git-svn-id: svn://10.0.0.236/trunk@215673 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 17:34:49 +00:00
uriber%gmail.com
9d04f04293 Null-check GetContentOffsetsFromPoint's output, to avoid crashes later. bug=361229 r=roc sr=sicking
git-svn-id: svn://10.0.0.236/trunk@215672 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 17:34:15 +00:00
gavin%gavinsharp.com
d83c0d833f Bug 342315: Reply All (to self sent msg) should preserve visible BCC recipients from original message, patch by Magnus Melin <mkmelin+mozilla@iki.fi>, r=bienvenu
git-svn-id: svn://10.0.0.236/trunk@215671 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 17:33:20 +00:00
gavin%gavinsharp.com
037116cb9a Bug 306330: search engines without an icon have less margin than the others, r=mano
git-svn-id: svn://10.0.0.236/trunk@215670 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 17:26:56 +00:00
gavin%gavinsharp.com
a5ef8e0b77 Bug 243207: net_RFindCharInSet is unused, patch by Ryan Jones <sciguyryan+bugzilla@gmail.com>, r+sr=biesi
git-svn-id: svn://10.0.0.236/trunk@215669 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 17:24:32 +00:00
gavin%gavinsharp.com
e09148e054 Bug 202198: fix possible leak in nsScriptSecurityManager::InitPrefs(), patch by Ryan Jones <sciguyryan+bugzilla@gmail.com>, r+sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@215668 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 17:22:40 +00:00
gavin%gavinsharp.com
6044e41533 Bug 185662: In SMTP prefs, make it clear what 'use secure connection (SSL)' really means, patch by Magnus Melin <mkmelin+mozilla@iki.fi>, r+sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@215667 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 17:20:32 +00:00
gavin%gavinsharp.com
66760fc0cc Bug 131190: MsgSendLater need to address the X-DraftInfo receipt info recorded in the send later message, patch by Jeff Tsai <jt95070@netscape.net>, r+sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@215666 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 17:17:40 +00:00
stuart.morgan%alumni.case.edu
6be1ab92a7 Camino only - Bug 361163: Remove window state on quit when save pref is off. r=cl sr=pink
git-svn-id: svn://10.0.0.236/trunk@215665 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 17:00:21 +00:00
despotdaemon
b8ea2bb9bc Pseudo-automatic update of changes made by benjamin@smedbergs.us.
git-svn-id: svn://10.0.0.236/trunk@215663 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 16:46:59 +00:00
lpsolit%gmail.com
a99e72cd79 Documentation for bug 174039: we can now attach documents and set flags on bug creation - Patch by me, r=timeless
git-svn-id: svn://10.0.0.236/trunk@215659 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 15:59:20 +00:00
mattwillis%gmail.com
19d233da19 bug 232202 - Backing out patch that caused regressions per jminta.
git-svn-id: svn://10.0.0.236/trunk@215658 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 13:36:36 +00:00
mattwillis%gmail.com
05fe2bc401 Move Sunbird and Lightning nightly build hour from 6am to 3am Pacific. okayed by preed in IRC
git-svn-id: svn://10.0.0.236/trunk@215655 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 13:14:34 +00:00
mattwillis%gmail.com
231b552d02 switch from win to unix line endings
git-svn-id: svn://10.0.0.236/trunk@215654 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 13:11:12 +00:00
mattwillis%gmail.com
b7902c2667 bug 349228 - Use appropriate observers in comparison in CalDAV. Patch by Bruno Browning <browning@uwalumni.com>, r=lilmatt, jminta
git-svn-id: svn://10.0.0.236/trunk@215653 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 12:52:35 +00:00
neil%parkwaycc.co.uk
013f99ea67 Bug 296770 Mark messages as read by date dialog does not respect leading zeros in the system date format p=mkmelin+mozilla@iki.fi r=me sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@215652 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 12:20:48 +00:00
mike.morgan%oregonstate.edu
5cadb1b885 Checking in patch to add 2.0.0.* versions from bug 360585.
git-svn-id: svn://10.0.0.236/trunk@215649 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 10:02:09 +00:00
daniel.boelzle%sun.com
e6711a58c2 Bug 340949: error handling, refresh, startup opt, search for calendars, alarm defaults, minor cleanup
git-svn-id: svn://10.0.0.236/trunk@215648 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 09:43:14 +00:00
bclary%bclary.com
27894392c4 JavaScript Test - regression test for bug 361360, by Jesse Ruderman
git-svn-id: svn://10.0.0.236/trunk@215647 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 09:41:33 +00:00
bclary%bclary.com
09cc42bc3e JavaScript Test - regression test for bug 361451, by Jesse Ruderman
git-svn-id: svn://10.0.0.236/trunk@215646 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 09:29:05 +00:00
bclary%bclary.com
7d860b0b10 JavaScript Test - regression test for bug 361467, by Jesse Ruderman
git-svn-id: svn://10.0.0.236/trunk@215645 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 09:16:24 +00:00
daniel.boelzle%sun.com
24210a8348 Bug 340949: added calIWcapSearchListener
git-svn-id: svn://10.0.0.236/trunk@215644 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 09:11:10 +00:00
joshmoz%gmail.com
550ef5d8e2 back out 360948, tree closed
git-svn-id: svn://10.0.0.236/trunk@215637 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 07:31:54 +00:00
joshmoz%gmail.com
b21faa2041 allow directory creation when saving files/attachments. patch by Hiro. b=360948 r=josh sr=pinkerton
git-svn-id: svn://10.0.0.236/trunk@215635 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 07:29:12 +00:00
mrbkap%gmail.com
2680191e6d Our function isn't guaranteed to be scripted. bug 361467, r=brendan
git-svn-id: svn://10.0.0.236/trunk@215634 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 06:45:51 +00:00
timeless%mozdev.org
bf36ae980e Bug 327833, In <inspector.xul>, Failed to load overlay from chrome://browser/content/baseMenuOverlay.xul
p= Shawn Wilsher693+bmo@gmail.com"><comrade693+bmo@gmail.com>, r=timeless, sr=neil

Backing out. jar.mn magic is wrong resulting in unhappiness


git-svn-id: svn://10.0.0.236/trunk@215629 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 03:15:46 +00:00
brendan%mozilla.org
8099c06df9 Sweep property tree after finalizing objects, which may have watchpoints pointing to tree nodes (361451, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@215628 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 03:09:27 +00:00
jwalden%mit.edu
64fd802cad JavaScript Test - bug 357352 - e4x/Namespace/regress-350442.js is too strict and requires a particular implementation-dependent generated prefix. r=inonit@inonit.com as agreement that this fix is implementation-independent, assuming the tested implementation doesn't violate the spec in extremely weird ways.
git-svn-id: svn://10.0.0.236/trunk@215627 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 02:46:15 +00:00
mconnor%steelgryphon.com
c8ecc7cfd0 adding Gran Paradiso branding directory, NPOTB and non-working for now
git-svn-id: svn://10.0.0.236/trunk@215625 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 02:21:20 +00:00
stejohns%adobe.com
7f4145951d added .cvsignore files to the mozilla/js/tamarin/test directory tree, so that people who expand the .abc test files into it do not get hundreds of unknown files listed by CVS. Only *.abc files are ignored at present.
git-svn-id: svn://10.0.0.236/trunk@215612 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 01:27:12 +00:00
pavlov%pavlov.net
3d74bc79da turning on cocoa-cairo by default. bug 323934. r=vlad
git-svn-id: svn://10.0.0.236/trunk@215610 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 00:58:15 +00:00
vladimir%pobox.com
0540a894b3 b=360244, Implement gfxPlatformMac::GetFontList, r=stuart
git-svn-id: svn://10.0.0.236/trunk@215609 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 00:52:09 +00:00
vladimir%pobox.com
e4714e0e8a b=299149, localstore.rdf and other profile files get overwritten on first run from debug build, r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@215608 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 00:51:30 +00:00
pavlov%pavlov.net
556960c330 fixing cocoa-cairo plugins. bug 35732. 6r=vlad.
git-svn-id: svn://10.0.0.236/trunk@215607 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 00:48:57 +00:00
Olli.Pettay%helsinki.fi
e1b568df42 Bug 205872, l10n fix, p=Shawn Wilsher<comrade693+bmo@gmail.com>, r=pike
git-svn-id: svn://10.0.0.236/trunk@215606 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 00:48:45 +00:00
Olli.Pettay%helsinki.fi
da2412d3e6 Bug 327833, In <inspector.xul>, Failed to load overlay from chrome://browser/content/baseMenuOverlay.xul, p= Shawn Wilsher<comrade693+bmo@gmail.com>, r=timeless, sr=neil
git-svn-id: svn://10.0.0.236/trunk@215605 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 00:43:53 +00:00
ghendricks%novell.com
49a7de61dd Give users a product limited dropdown of environments when creating or updating a run.
git-svn-id: svn://10.0.0.236/trunk@215604 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 00:40:14 +00:00
stejohns%adobe.com
c61da35e9f Bug 360829: Removal of compiler warnings in Tamarin. Enabled (and fixed) many hidden-virtual-function warnings.
git-svn-id: svn://10.0.0.236/trunk@215602 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 00:15:24 +00:00
lpsolit%gmail.com
63accd62c9 Fixing bustage (I forgot a <title>)
git-svn-id: svn://10.0.0.236/trunk@215601 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 00:12:19 +00:00
tor%cs.brown.edu
3c37477ebe Bug 360122 - correct cairo_create error checking.
Patch by amenzie@us.ibm.com, r=tor, sr=roc


git-svn-id: svn://10.0.0.236/trunk@215599 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 23:57:56 +00:00
lpsolit%gmail.com
a0851bd5c1 Docs patch for bug 119485: update documentation about user account administration - Patch by me, r=justdave
git-svn-id: svn://10.0.0.236/trunk@215598 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 23:57:23 +00:00
martijn.martijn%gmail.com
da67508251 Bug 361334 - Onbeforeunload dialog has too many line breaks, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@215597 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 23:57:21 +00:00
lpsolit%gmail.com
352b070d46 Docs for bug 281876: There is now a UI to edit legal values - Patch by me, r=justdave
git-svn-id: svn://10.0.0.236/trunk@215595 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 23:43:02 +00:00
bugzilla%arlen.demon.co.uk
4135bffe35 Bug 185270 Shortcut key to open link in new tab, Insert (background) or Shift+insert (foreground) p=aqualon@aquachan.de r=cst sr=neil
git-svn-id: svn://10.0.0.236/trunk@215594 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 23:37:30 +00:00
ghendricks%novell.com
0c10578c3b Allow user to choose components from other products when creating a test case.
git-svn-id: svn://10.0.0.236/trunk@215593 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 23:29:59 +00:00
sspitzer%mozilla.org
d13f814777 fix for bug #358784: implement Firefox 2.0 style "View | By Date" and "View | By Date and Site" for places based history sidebar (GROUP_BY_DAY)
r=g#,brettw


git-svn-id: svn://10.0.0.236/trunk@215591 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 23:02:16 +00:00
cvshook%sicking.cc
63363e3091 Bug 361399: txXPathOptimizer::optimizePath is horked. r/sr=peterv
git-svn-id: svn://10.0.0.236/trunk@215589 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 22:48:21 +00:00
bienvenu%nventure.com
4c5921dfa5 maintain keywords when copying local messages to imap servers, sr=mscott, part of 360463
git-svn-id: svn://10.0.0.236/trunk@215586 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 22:12:23 +00:00
bienvenu%nventure.com
c5a1515644 fix bug 294296 misleading error message when domain not found, patch by ch.ey@gmx.net, r/sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@215585 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 21:38:27 +00:00
cvshook%sicking.cc
2b2f4b6167 Don't return nsDerivedSafe when .get() is explicitly used on nsCOMPtr and nsRefPtr. r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@215584 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 21:28:14 +00:00
brendan%mozilla.org
9080dc9b41 Fix watchpoint pseudo-frame to have non-null pc field (361360, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@215583 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 21:23:18 +00:00
lpsolit%gmail.com
5e3484562b Docs for bug 284629: maildeliverymethod -> mail_delivery_method
git-svn-id: svn://10.0.0.236/trunk@215582 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 21:19:26 +00:00
bent.mozilla%gmail.com
baa408b3f0 Bug 361425 - "<xul:titlebar> element needs to support 'allowevents' attribute". r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@215577 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 21:04:49 +00:00
lpsolit%gmail.com
6f013390e6 Documentation for bug 180879: flags changes can be restricted to a grant and request groups - Patch by me, r=myk
git-svn-id: svn://10.0.0.236/trunk@215567 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 20:45:50 +00:00
bugzilla%standard8.demon.co.uk
c886c0d4fa Bug 361161 Reporter doesn't work for suiterunner (MOZ_XUL_APP=1) builds. r=raccettura.
git-svn-id: svn://10.0.0.236/trunk@215560 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 19:02:16 +00:00
ghendricks%novell.com
e7f91fda70 Allow plan owner to delete a test case that only appears in plans she owns.
git-svn-id: svn://10.0.0.236/trunk@215559 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 18:56:27 +00:00
mvl%exedo.nl
07ad39152a back out entire patch to fix bustage
git-svn-id: svn://10.0.0.236/trunk@215558 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 18:18:11 +00:00
joshmoz%gmail.com
d0dc9d0735 handle horizontal scrollbar height metric in mac look and feel. b=360860 r=hwaara sr=pinkerton
git-svn-id: svn://10.0.0.236/trunk@215557 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 17:41:10 +00:00
bienvenu%nventure.com
07647dfd2e fix 122006 expanding news server with keyboard should update group counts, patch by sgautherie.bz@free.fr, r/sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@215555 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 17:14:51 +00:00
mvl%exedo.nl
d5b1b5782c bustage fix. don't try to build a missing file
git-svn-id: svn://10.0.0.236/trunk@215554 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 17:07:04 +00:00
bzbarsky%mit.edu
5ae2d8453d Fix MingW build bustage. Bug 361386, review pending.
git-svn-id: svn://10.0.0.236/trunk@215553 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 16:50:56 +00:00
brendan%mozilla.org
2b5a854e96 Fix from Martin Husemann <martin@NetBSD.ORG> for int-instead-of-ptrdiff_t abusage (361362, r=me).
git-svn-id: svn://10.0.0.236/trunk@215550 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 16:32:49 +00:00
bienvenu%nventure.com
324d2af046 fix handling of SMTP 50x status failures, and send QUIT on errors in general, 360118 and 62836, patch by ch.ey@gmx.net, r/sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@215548 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 16:25:23 +00:00
aaronleventhal%moonset.net
8019a586c3 Bug 349885. GetAccessibleFor() doesn't look if ally nodes are allowed inside anon content. Second patch for hang fix. Patch by surkov. r=evan.yan, sr=neil
git-svn-id: svn://10.0.0.236/trunk@215545 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 14:57:53 +00:00
daniel.boelzle%sun.com
8271f2c004 Bug 340949: error handling, refresh, startup opt, search for calendars, alarm defaults, minor cleanup
git-svn-id: svn://10.0.0.236/trunk@215544 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 12:53:58 +00:00
bclary%bclary.com
ed3ddaff41 JavaScript Test - regression test for bug 355339, by Jesse Ruderman
git-svn-id: svn://10.0.0.236/trunk@215543 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 11:08:36 +00:00
neil%parkwaycc.co.uk
a473301c22 Whitespace/comment cleanup b=361248 p=gautheri@noos.fr r=IanN sr=me
git-svn-id: svn://10.0.0.236/trunk@215542 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 11:05:17 +00:00
bclary%bclary.com
858e6ae5b4 JavaScript Test - regression tests for bug 355832, by Jesse Ruderman
git-svn-id: svn://10.0.0.236/trunk@215541 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 10:42:57 +00:00
longsonr%gmail.com
e161e8d4ff Bug 361015 - Crash [@ nsSVGGFrame::GetCanvasTM] with gradient and removing transform attribute
git-svn-id: svn://10.0.0.236/trunk@215540 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 10:22:49 +00:00
bclary%bclary.com
85e175f6b7 JavaScript Test - regression test for bug 361274, by Jason Sachs
git-svn-id: svn://10.0.0.236/trunk@215539 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 10:18:06 +00:00
brendan%mozilla.org
20f64c317c Fix which property tree node is saved as wp->sprop (355339, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@215537 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 06:52:48 +00:00
masayuki%d-toybox.com
2915a5c9e9 Bug 352174 need font-family resolver (cannot resolve alias of font family / is not checking whether the specified font family is installed the system) r=pavlov+vlad
git-svn-id: svn://10.0.0.236/trunk@215536 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 06:31:04 +00:00
ginn.chen%sun.com
e0344c2733 Bug 360184 Accessible row/column and row/column header of tables are incorrect
patch by Evan.Yan@sun.com r=aaronleventhal


git-svn-id: svn://10.0.0.236/trunk@215535 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 05:34:28 +00:00
bzbarsky%mit.edu
d02dcab10e Improve comments. Bug 361222, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@215532 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 04:40:37 +00:00
bzbarsky%mit.edu
177e6f21d3 Fix bug 352728, r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@215531 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 04:38:00 +00:00
bzbarsky%mit.edu
fd869ecd16 Create URIs correctly. Bug 353731, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@215529 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 04:21:59 +00:00
bzbarsky%mit.edu
448f9e4773 Add reftest for processing instructions (CSS and overlay) in XUL documents.
Bug 319654, sr=dbaron, r= pending.


git-svn-id: svn://10.0.0.236/trunk@215528 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 04:19:14 +00:00
jshin%mailaps.org
8c31574b06 bug 352365 fix some unicode/character encoding/string issues in nsIEProfileMigrator : r=biesi, sr=darin
git-svn-id: svn://10.0.0.236/trunk@215523 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 02:03:39 +00:00
jst%mozilla.org
f385a08fc8 Fixing bug 355482. Allow focusing of other windows from code where popups are enabled. r+sr=bugmail@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@215520 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 01:40:33 +00:00
nboyd%atg.com
55d78aeb29 Update newsgroup information.
git-svn-id: svn://10.0.0.236/trunk@215519 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 01:40:15 +00:00
scott%scott-macgregor.org
061528b8cc Bug #359191 --> mingw build error because mapi isn't built for mingw. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@215517 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 01:17:01 +00:00
ghendricks%novell.com
7d83c10bc2 Fixed clone with these test cases and added server push to clone
git-svn-id: svn://10.0.0.236/trunk@215515 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 00:25:45 +00:00
cst%yecc.com
051dfdfb37 Bug 356703 Browsers associated with closed tabs aren't loading a blank document
r=neil sr=jag


git-svn-id: svn://10.0.0.236/trunk@215511 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 23:39:08 +00:00
lpsolit%gmail.com
55a266f4e3 Bug 233523: Remove the obsolete section about MySQL and enum() fields - Patch by Frédéric Buclin <LpSolit@gmail.com> r=justdave
git-svn-id: svn://10.0.0.236/trunk@215510 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 23:22:37 +00:00
ghendricks%novell.com
cf6a541904 Deleting large test plans caused timeouts. Use sever push to keep alive.
git-svn-id: svn://10.0.0.236/trunk@215508 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 22:51:09 +00:00
scott%scott-macgregor.org
5e8c0569eb Bug #361285 --> nocachedbodybody property is missing a space. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@215506 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 22:40:31 +00:00
brendan%mozilla.org
3787915938 Rid CHECK_FOR_STRING_INDEX of ancient NUL terminator dependency (361274, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@215505 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 22:37:08 +00:00
wtchang%redhat.com
7a49cef1a2 Bug 357333: upgrade the NSS on the Mozilla trunk to version 3.11.4. The
equivalent patch for the MOZILLA_1_8_BRANCH was reviewed by dveditz.


git-svn-id: svn://10.0.0.236/trunk@215504 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 22:34:45 +00:00
mozilla%weilbacher.org
b95ae1eacf [OS/2] Bug 342239: Fix startup problem when MOZ_NO_REMOTE is set, r/sr=mkaply
git-svn-id: svn://10.0.0.236/trunk@215502 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 22:20:51 +00:00
mnyromyr%tprac.de
c4115d5d99 Bug 130891: Debug and Qa menus not working when navigator closed; p=<stefanh@bluebottle.com>, r/sr=neil
git-svn-id: svn://10.0.0.236/trunk@215501 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 21:59:35 +00:00
silver%warwickcompsoc.co.uk
800bfb2366 Bug 361284 - Dive into nested tables when updating timestamps.
ChatZilla only.
r=silver
p=rdmsoft@bugs.rdmsoft.com (Robert Marshall)


git-svn-id: svn://10.0.0.236/trunk@215500 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 21:59:13 +00:00
mozilla%weilbacher.org
0f189a9c90 [OS/2] Bug 356287: replace possible forward slashes in q:\tmp with backward slashes, r/sr=mkaply
git-svn-id: svn://10.0.0.236/trunk@215497 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 21:06:11 +00:00
lpsolit%gmail.com
0181b1cdf2 Fix glossary.xml as part of bug 360520 (we don't use Mail::Mailer anymore) - Patch by me, r=wurblzap
git-svn-id: svn://10.0.0.236/trunk@215496 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 20:58:57 +00:00
philringnalda%gmail.com
192a17e851 Bug 358264: Use Current Page(s) button is blank when no browser window is open, r=mano
git-svn-id: svn://10.0.0.236/trunk@215495 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 20:55:25 +00:00
philringnalda%gmail.com
6719e98aad Bug 288079: Cancel customizing toolbars hides buttons placed before menuitems, take two, don't break things version, r+a=mscott
git-svn-id: svn://10.0.0.236/trunk@215494 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 20:32:35 +00:00
bienvenu%nventure.com
4f70dd7e60 fix 360409 mail with messed up references seem to disappear, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@215492 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 19:54:02 +00:00
brendan%mozilla.org
3efdc52e54 Fix from Gavin Reaney <gavin@picsel.com> for OOM/should-be-OOM bugs (361273, r=me).
git-svn-id: svn://10.0.0.236/trunk@215491 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 19:53:38 +00:00
lpsolit%gmail.com
c164582ccc Docs for bug 245877: use testagent.cgi and testserver.pl to test your installation - Patch by me, r=justdave
git-svn-id: svn://10.0.0.236/trunk@215490 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 19:52:32 +00:00
brendan%mozilla.org
c977ca6f70 Warning fix.
git-svn-id: svn://10.0.0.236/trunk@215489 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 19:49:28 +00:00
brendan%mozilla.org
c7a38e1687 Fix JSOP_SETSP (and an assertion in JSOP_LEAVEBLOCK*) to cope with empty destructuring (355832, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@215487 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 19:30:41 +00:00
vladimir%pobox.com
f1959a5f87 b=349837, cairo crash in _cairo_clip_init_deep_copy; upstream patch, r=vlad
git-svn-id: svn://10.0.0.236/trunk@215486 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 19:30:27 +00:00
bugzilla%standard8.demon.co.uk
0812c0224d Bug 358333 Hook up nsIAbDirectory::supportsMailingLists to Address Book UI. p=Paul Tomlin,r=me,mscott,sr=neil
git-svn-id: svn://10.0.0.236/trunk@215484 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 19:07:55 +00:00
lpsolit%gmail.com
faede0b2e9 Fix nits about bug 316797
git-svn-id: svn://10.0.0.236/trunk@215483 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 19:05:49 +00:00
lpsolit%gmail.com
02c1f1227b Bug 316797: Token.pm needs POD - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=myk
git-svn-id: svn://10.0.0.236/trunk@215482 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 19:03:40 +00:00
bugzilla%standard8.demon.co.uk
da47b40775 Bug 361223 Read-only fields on ldap cards are no longer readonly (Thunderbird patch) r/sr=mscott
git-svn-id: svn://10.0.0.236/trunk@215481 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 18:58:53 +00:00
bugzilla%standard8.demon.co.uk
58fa150219 Bug 361223 Read-only fields on ldap cards are no longer readonly (SeaMonkey patch) r/sr=neil
git-svn-id: svn://10.0.0.236/trunk@215480 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 18:58:00 +00:00
stuart.morgan%alumni.case.edu
32c7b10bbd Camino only - Bug 359907: Bookmarks aren't deleted from bookmarks menu after deletion from bookmark manager. r=hwaara sr=pink
git-svn-id: svn://10.0.0.236/trunk@215479 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 18:51:22 +00:00
stuart.morgan%alumni.case.edu
df98bb7e2e Camino only - Bug 360644: Rename show/hide bookmarks in toolbar and menu. r=stridey sr=pink
git-svn-id: svn://10.0.0.236/trunk@215478 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 18:40:48 +00:00
scott%scott-macgregor.org
004e8024d2 Bug #357321 --> the default value for blocking remote content should be true.
git-svn-id: svn://10.0.0.236/trunk@215477 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 18:35:32 +00:00
stuart.morgan%alumni.case.edu
89e3c545c6 Camino only - Bug 358686: pop-up blocker message text is confusing. sr=pink
git-svn-id: svn://10.0.0.236/trunk@215476 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 18:26:46 +00:00
lpsolit%gmail.com
3adb0f811c Bug 353656: User Interface gets corrupted by multiple localized users resolving bugs as duplicates - Patch by Frédéric Buclin <LpSolit@gmail.com> r=bkor a=justdave
git-svn-id: svn://10.0.0.236/trunk@215475 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 18:24:56 +00:00
tony%ponderer.org
d1efebb26a bug 343033: 5-10 second delay or hang or crash when quitting Cocoa Firefox
patch: cancel background download as soon as user quits
r=darin


git-svn-id: svn://10.0.0.236/trunk@215474 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 18:24:01 +00:00
lpsolit%gmail.com
41829c181d Bug 360520: Docs need to be changed to include info about the Email:: modules instead of the Mail:: modules - Patch by victory(_RSZ_) <bmo2007@rsz.jp> r=Colin
git-svn-id: svn://10.0.0.236/trunk@215473 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 17:57:16 +00:00
enndeakin%sympatico.ca
d472bba520 Bug 346787, add binding for spellchecking in XUL textboxes
git-svn-id: svn://10.0.0.236/trunk@215472 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 17:45:10 +00:00
bienvenu%nventure.com
445a79c32c fix crash during import of outlook (and other e-mail sources) messages with lines longer than 990 chars, and sending of messages with lines longer than that, sr=mscott 182231
git-svn-id: svn://10.0.0.236/trunk@215470 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 17:28:11 +00:00
ghendricks%novell.com
5bcb0906e9 Subelements weren't checking for properties as children
git-svn-id: svn://10.0.0.236/trunk@215469 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 17:09:26 +00:00
benjamin%smedbergs.us
e6f5a47e35 Bug 349002, try #2 - Refactor xptcall into a frozen API, r=timeless - with OS/2 fixup by Peter Weilbacher
git-svn-id: svn://10.0.0.236/trunk@215468 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 17:03:38 +00:00
dschaffe%adobe.com
923f30becc Bug 361282, add tamarin/test/runtests.pl test harness and update tests to pass 100% on windows
git-svn-id: svn://10.0.0.236/trunk@215467 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 17:02:52 +00:00
gijskruitbosch%gmail.com
56ab262c2b Bug 359758 - in /pass <password>, <password> should behave like <rest>
r=silver@warwickcompsoc.co.uk (James Ross)
ChatZilla Only.


git-svn-id: svn://10.0.0.236/trunk@215466 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 16:42:26 +00:00
lpsolit%gmail.com
49073731f2 Bug 359956: No requestee field available for attachments on bug creation - Patch by Frédéric Buclin <LpSolit@gmail.com> r=bkor a=justdave
git-svn-id: svn://10.0.0.236/trunk@215465 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 12:28:49 +00:00
michael.buettner%sun.com
c55b8bf8c1 bug #359961 attendee list has some usability issues, r=tbe
git-svn-id: svn://10.0.0.236/trunk@215464 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 12:11:43 +00:00
joshmoz%gmail.com
46e3368dce fix warnings, simple code cleanup. no bug. r=smorgan
git-svn-id: svn://10.0.0.236/trunk@215463 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 05:37:49 +00:00
mkanat%bugzilla.org
e7a12dddc3 Bug 361176: [PostgreSQL] Warning when creating tables for the first time
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=bkor, a=justdave


git-svn-id: svn://10.0.0.236/trunk@215461 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 04:36:25 +00:00
mkanat%bugzilla.org
526d26456d Bug 361175: [PostgreSQL] Too many "NOTICE" messages from checksetup.pl
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=bkor, a=justdave


git-svn-id: svn://10.0.0.236/trunk@215459 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 04:29:55 +00:00
mkanat%bugzilla.org
80e5fb0f5e Bug 361140: Upgrades from versions with enums fail UTF-8 conversion
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=bkor, a=justdave


git-svn-id: svn://10.0.0.236/trunk@215458 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 04:25:09 +00:00
mkanat%bugzilla.org
e18a0f0428 Bug 361158: UTF-8 conversion fails on MySQL 5 (attach_data.id; CHARACTER SET binary NOT NULL)
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=bkor, a=justdave


git-svn-id: svn://10.0.0.236/trunk@215457 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 04:24:25 +00:00
ajschult%verizon.net
0b8a964217 Bug 25287: Inappropriate menu items show as enabled when no windows are open. Patch by Stefan Hermes <stefanh@bluebottle.com>, r=mnyromyr, sr=neil.
git-svn-id: svn://10.0.0.236/trunk@215454 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 00:03:47 +00:00
sayrer%gmail.com
d797ee2c3d Bug 347897. view source on feeds preview shows contents of wrong page. r=mano
git-svn-id: svn://10.0.0.236/trunk@215453 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-19 22:54:29 +00:00
bugzilla%babylonsounds.com
693f24069e Fix for Bug 360991 - Migrator: Welcome screen displays message text twice and does not wrap this, p=ctalbert r1=lilmatt r2=mvl
git-svn-id: svn://10.0.0.236/trunk@215452 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-19 22:41:54 +00:00
gavin%gavinsharp.com
fed10efd79 This file is no longer binary.
git-svn-id: svn://10.0.0.236/trunk@215451 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-19 22:00:36 +00:00
gavin%gavinsharp.com
8a4292ded2 Fix DOS line endings, too
git-svn-id: svn://10.0.0.236/trunk@215450 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-19 21:44:15 +00:00
gavin%gavinsharp.com
26b122a5a4 This file is no longer binary.
git-svn-id: svn://10.0.0.236/trunk@215449 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-19 21:41:40 +00:00
emaijala%kolumbus.fi
484f5175e0 Additional fix for bug 324131: Include mouse button states in NS_MOUSE_EXIT
message.
r/sr=roc


git-svn-id: svn://10.0.0.236/trunk@215448 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-19 21:13:25 +00:00
sayrer%gmail.com
d6df742640 bug 361224. remove an accidentally checked in log line
git-svn-id: svn://10.0.0.236/trunk@215447 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-19 21:10:28 +00:00
bzbarsky%mit.edu
ee561228eb Back out bug 354600 to fix regressions.
git-svn-id: svn://10.0.0.236/trunk@215446 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-19 20:23:56 +00:00
ajschult%verizon.net
e7594c6301 Bug 339426: Help on Error console should mention CSS parsing errors. Patch by Bruno 'Aqualon' Escherl <aqualon@aquachan.de>, r=stefanh@bluebottle.com
git-svn-id: svn://10.0.0.236/trunk@215445 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-19 16:26:14 +00:00
silver%warwickcompsoc.co.uk
d799417fdc Bug 109993 - Use row top difference to keep scroll position.
ChatZilla only.
r=samuel


git-svn-id: svn://10.0.0.236/trunk@215444 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-19 16:03:14 +00:00
hwaara%gmail.com
72ffd84204 array of pending redraws may leak. r=smorgan, josh, b=360649
git-svn-id: svn://10.0.0.236/trunk@215443 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-19 13:59:46 +00:00
mozilla.mano%sent.com
7201a6e198 Bug 345955 - Remove obsolete strings from pref locale files. patch from Hasse <hasse@jasajudeju.se>, r=me.
git-svn-id: svn://10.0.0.236/trunk@215442 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-19 11:12:07 +00:00
mozilla.mano%sent.com
995beb2621 Attempt to fix build bustage from bug 360812
git-svn-id: svn://10.0.0.236/trunk@215441 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-19 10:54:08 +00:00
sayrer%gmail.com
490a93c63e Bug 360812. RDF uses nsCRT::strdup in getters. r=bsmedberg, sr=bz
git-svn-id: svn://10.0.0.236/trunk@215440 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-19 08:28:02 +00:00
ted.mielczarek%gmail.com
1b61bc46a4 bug 360938 - Update airbag to svn tip. r=mento
git-svn-id: svn://10.0.0.236/trunk@215439 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-19 02:47:25 +00:00
mkanat%bugzilla.org
49b6aaec2c Bug 332128: [BUGZILLA] BugzillaMailHandler incorrectly determines where comments start
Patch By Teemu Mannermaa <wicked+bz@etlicon.fi> r=mkanat


git-svn-id: svn://10.0.0.236/trunk@215438 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-19 01:50:03 +00:00
nboyd%atg.com
4937940d9e Updates for version 1.6R5.
git-svn-id: svn://10.0.0.236/trunk@215436 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-18 21:40:11 +00:00
nboyd%atg.com
44b55e86b8 Update from mozilla-org
git-svn-id: svn://10.0.0.236/trunk@215435 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-18 21:39:12 +00:00
neil%parkwaycc.co.uk
093d4272a3 Bug 361048 Switching from Account Central to a folder doesn't scroll to the newest message r=Mnyromyr
git-svn-id: svn://10.0.0.236/trunk@215434 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-18 21:07:13 +00:00
mnyromyr%tprac.de
24bb3a14e0 Bug 360359: Fix SeaMonkey manifest file; p=Frank Wein <bugzilla@mcsmurf.de>, r/sr=jag
git-svn-id: svn://10.0.0.236/trunk@215433 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-18 21:05:51 +00:00
mattwillis%gmail.com
054cf3c803 bug 357579 - Clean out unused entities. Patch by Cédric Corazza <cedric.corazza@wanadoo.fr>, r=ctalbert,lilmatt
git-svn-id: svn://10.0.0.236/trunk@215429 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-18 17:05:27 +00:00
mkanat%bugzilla.org
539d239966 Checkin fix for Bug 280633, which didn't work when the utf8 parameter was turned on.
git-svn-id: svn://10.0.0.236/trunk@215428 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-18 15:54:59 +00:00
mattwillis%gmail.com
f869fa9af9 bug 361108 - Make compareItems() actually compare different things. Patch by Bruno Browning <browning@uwalumni.com>, r1=lilmatt, r2=jminta
git-svn-id: svn://10.0.0.236/trunk@215427 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-18 15:17:48 +00:00
mkanat%bugzilla.org
557e1e7b38 Bug 304550: Bugzilla should always store data in MySQL as UTF-8
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave


git-svn-id: svn://10.0.0.236/trunk@215426 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-18 15:10:12 +00:00
mkanat%bugzilla.org
aa45e8ccd9 Bug 280633: Tools to migrate existing legacy encoded database to UTF-8 (Unicode)
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=justdave, a=justdave


git-svn-id: svn://10.0.0.236/trunk@215425 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-18 15:00:28 +00:00
justdave%bugzilla.org
a9c4a64388 Bug 360427: Add RBL support for blocking open proxies
r=gerv


git-svn-id: svn://10.0.0.236/trunk@215422 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-18 07:50:31 +00:00
Olli.Pettay%helsinki.fi
f8115d25d5 Bug 360928, Un-inline nsWeakFrame a bit, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@215421 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-18 06:38:15 +00:00
martijn.martijn%gmail.com
6d449cb149 Bug 348357 - should nsGlobalWindow::Focus() return NS_ERROR_FAILURE or NS_OK if we try to set focus on a disabled element?, r=jst, sr=roc
git-svn-id: svn://10.0.0.236/trunk@215420 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-18 06:36:58 +00:00
Olli.Pettay%helsinki.fi
6a8d5eaf45 bug 361058, gcc2.95.3 fails to compile nsListBoxBodyFrame.cpp, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@215419 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-18 04:42:20 +00:00
emaijala%kolumbus.fi
2ace633d9c Fix for bug 324131: Persisting tooltip on desktop after minimizing
r/sr=roc


git-svn-id: svn://10.0.0.236/trunk@215418 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-18 03:09:53 +00:00
stridey%gmail.com
c8f740fedb Camino only - Bug 361001: Bookmarks import only imports iCab 2 bookmarks, not iCab 3 bookmarks. Redonkulous patch by cl <bugzilla@chrislawson.net>. r=ardissone sr=smorgan
git-svn-id: svn://10.0.0.236/trunk@215417 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-18 01:28:40 +00:00
mats.palmgren%bredband.net
77dba5b664 Make NS_LIKELY/NS_UNLIKELY accept pointers etc and always return 0 or 1. b=340244 r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@215416 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-18 00:48:56 +00:00
bzbarsky%mit.edu
f0caa7c822 Report the right URI in the warning. Bug 360863, patch by Nickolay Ponomarev
<asqueella@gmail.com>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@215415 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-17 22:45:52 +00:00
bzbarsky%mit.edu
7366a8ee51 Fix bug 356005. Patch by Benoit <benoit@gawab.com>, r=ctho, sr=neil
git-svn-id: svn://10.0.0.236/trunk@215414 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-17 22:42:59 +00:00
hwaara%gmail.com
f985e25662 Make the "Choose application..." dialogs work on Cocoa. r=josh, b=356521
git-svn-id: svn://10.0.0.236/trunk@215413 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-17 22:25:06 +00:00
wtchang%redhat.com
e821436a2f Bugzilla Bug 361076: removed code that handled multiple NSPR threading
implementations.  We only use the pthreads-based implementation now.
r=christophe.ravel.


git-svn-id: svn://10.0.0.236/trunk@215412 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-17 21:57:14 +00:00
dougt%meer.net
c819a11d29 Vista - Sets the current process as dpi aware. r=vlad
git-svn-id: svn://10.0.0.236/trunk@215411 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-17 19:42:04 +00:00
ghendricks%novell.com
c562a79f58 Added count of cases to a run
git-svn-id: svn://10.0.0.236/trunk@215410 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-17 18:07:12 +00:00
ghendricks%novell.com
c56854b71d Cleared some confusion about the append button on short-form
git-svn-id: svn://10.0.0.236/trunk@215409 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-17 18:01:05 +00:00
stuart.morgan%alumni.case.edu
a01594daab Camino only - Bug 361017: Remove compile-time 10.2 cruft. r/sr=josh
git-svn-id: svn://10.0.0.236/trunk@215408 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-17 18:00:49 +00:00
ghendricks%novell.com
ce57a916ae Should use view_count instead of list_count when checking for large queries
git-svn-id: svn://10.0.0.236/trunk@215407 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-17 17:07:10 +00:00
ghendricks%novell.com
9333d59e6c TestCaseRun obliterate doesn't delete the history.
git-svn-id: svn://10.0.0.236/trunk@215406 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-17 16:41:05 +00:00
neil%parkwaycc.co.uk
5d5b3565a9 More stuff for bug 17796 that got mislaid somehow
git-svn-id: svn://10.0.0.236/trunk@215405 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-17 15:43:27 +00:00
bugzilla%standard8.demon.co.uk
ed16c54e16 Bug 122006 Expanding (Imap / news server) account with keyboard doesn't check for new messages. r=bienvenu,sr=Neil.
git-svn-id: svn://10.0.0.236/trunk@215404 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-17 14:00:18 +00:00
gerv%gerv.net
196e4f2984 Bug 358399 - improve address munging, to see if it helps.
git-svn-id: svn://10.0.0.236/trunk@215403 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-17 13:08:39 +00:00
longsonr%gmail.com
1a90b8f0fb Bug 354295 - revert stroke change and honour opacity
git-svn-id: svn://10.0.0.236/trunk@215400 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-17 10:12:12 +00:00
hwaara%gmail.com
c9b6ac5494 "XUL menu only hilights items on mouseover the first time opened". r=josh, sr=pavlov, b=356528
git-svn-id: svn://10.0.0.236/trunk@215399 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-17 09:27:22 +00:00
stuart.morgan%alumni.case.edu
7a85826915 Camino only - Moved KeychainService from src/browser/ to src/formfill; part of bug 172842. sr=pink
git-svn-id: svn://10.0.0.236/trunk@215396 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-17 05:38:06 +00:00
sayrer%gmail.com
1173d9db39 bug 361005. remove nsCRT::strdup from layout. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@215393 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-17 01:49:06 +00:00
christophe.ravel.bugs%sun.com
ec214972a0 335454: Unable to find library 'libsoftokn3.sl' on HP-UX 64 bit
r=nelson, sr=wan-teh


git-svn-id: svn://10.0.0.236/trunk@215392 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-17 01:33:15 +00:00
ccooper%deadsquid.com
1fba627a8d - fix editing of testgroups
git-svn-id: svn://10.0.0.236/trunk@215391 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-17 01:25:15 +00:00
neil.williams%sun.com
7792b97dfd bug 360818, set RPATH for signtool, signver
r=wan-teh, nelson


git-svn-id: svn://10.0.0.236/trunk@215390 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-17 01:16:53 +00:00
jst%mozilla.org
da2a39488b Attempt at fixing bug 358755. Revert the code in nsWindowSH::NewResolve() to create new innner windows in the same cases that it did before bug 355161 was fixed. r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@215389 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-17 01:06:41 +00:00
mike.morgan%oregonstate.edu
400a545021 Added check for v2 URIs so we don't offer updates to borked installs. See discussion in bug 360127.
git-svn-id: svn://10.0.0.236/trunk@215388 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-17 00:54:13 +00:00
ghendricks%novell.com
66191e4426 cloning a run with selected cases only clones the first 25
git-svn-id: svn://10.0.0.236/trunk@215387 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-17 00:21:44 +00:00
olav%bkor.dhs.org
791537cd36 Bug 321645: [MySQL 5] MySql Error on insert... "DBD::mysql::st execute failed: Field 'status_whiteboard' "....
Patch by Olav Vitters <olav@bkor.dhs.org> r=gavins a=justdave


git-svn-id: svn://10.0.0.236/trunk@215386 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-17 00:18:46 +00:00
Olli.Pettay%helsinki.fi
f8daaf1315 Still trying to fix mac builds, bug Bug 354694
git-svn-id: svn://10.0.0.236/trunk@215385 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-17 00:02:49 +00:00
ghendricks%novell.com
989d9bb0a6 Fixed a broken link on plan page
git-svn-id: svn://10.0.0.236/trunk@215384 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 23:45:15 +00:00
Olli.Pettay%helsinki.fi
c92d99c8da Trying to fix mac builds, bug Bug 354694
git-svn-id: svn://10.0.0.236/trunk@215383 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 23:34:09 +00:00
ghendricks%novell.com
5f8093597b Add byid option to TestPlan getter methods
git-svn-id: svn://10.0.0.236/trunk@215382 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 23:31:52 +00:00
Olli.Pettay%helsinki.fi
1b4d4c038e Trying to fix mac builds, bug Bug 354694
git-svn-id: svn://10.0.0.236/trunk@215381 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 23:30:54 +00:00
mnyromyr%tprac.de
b981f3d64a Bug 17796: fix typo in MsgReplyToAllRecipients
git-svn-id: svn://10.0.0.236/trunk@215380 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 23:11:24 +00:00
ghendricks%novell.com
44890eab4b Synch with r2389
git-svn-id: svn://10.0.0.236/trunk@215379 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 22:46:46 +00:00
peterv%propagandism.org
07e7060f29 Try to fix bustage, it's all sicking's fault\!
git-svn-id: svn://10.0.0.236/trunk@215378 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 22:40:34 +00:00
ghendricks%novell.com
9478c2c1c6 Submit button doesn't work when changing the name of a category
git-svn-id: svn://10.0.0.236/trunk@215377 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 22:39:21 +00:00
Olli.Pettay%helsinki.fi
c6025f4ac2 Fixing mac builds, bug Bug 354694
git-svn-id: svn://10.0.0.236/trunk@215376 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 22:37:23 +00:00
Olli.Pettay%helsinki.fi
2410bee72f Last checkin was for Bug 354694
git-svn-id: svn://10.0.0.236/trunk@215374 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 21:57:08 +00:00
ccooper%deadsquid.com
488652005e b=360954
- fix compound indexes for users table


git-svn-id: svn://10.0.0.236/trunk@215373 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 21:48:50 +00:00
jwalden%mit.edu
f74f470b92 Bug 360930 - test_file_protocol.js can fail based on execution environment (where TmpD contains a particularly large number of files). r+sr=biesi
git-svn-id: svn://10.0.0.236/trunk@215372 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 21:44:46 +00:00
peterv%propagandism.org
2cec917790 Fix for bug 193678 (support exslt:common - exslt:common functions implementation). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@215371 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 21:42:25 +00:00
Olli.Pettay%helsinki.fi
08df7735f7 Consolidate NS_MOUSE_***_UP/DOWN/CLICK/DBLCLICK events, r=jst,roc,josh,sergei_d,emaijala,mkaply
git-svn-id: svn://10.0.0.236/trunk@215370 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 21:35:39 +00:00
benjamin%smedbergs.us
ea38317460 Backout xptcall because linux tboxes are stupid, I think.
git-svn-id: svn://10.0.0.236/trunk@215369 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 20:17:24 +00:00
stuart.morgan%alumni.case.edu
92fb5422c3 Camino only - switch default C dialect to C99; no bug. sr=pink
git-svn-id: svn://10.0.0.236/trunk@215368 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 19:42:56 +00:00
roc+%cs.cmu.edu
95e8ec26e9 Bug 306149. Make sure only the root view manager participates in mouse event synthesis. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@215365 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 18:36:14 +00:00
benjamin%smedbergs.us
d7078cf86a Bug 349002 - Refactor xptcall into a frozen API, r=timeless. Includes OS/2 fixup by Peter Weilbacher
git-svn-id: svn://10.0.0.236/trunk@215364 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 18:29:33 +00:00
sayrer%gmail.com
87a1867328 Bug 360840. allocator mismatch in nsIScriptSecurityManager. r=timeless, sr=bz
git-svn-id: svn://10.0.0.236/trunk@215363 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 18:25:52 +00:00
emaijala%kolumbus.fi
8ab35fa67b Patch for bug 359518: Gmail , |empty trash now| selects a lot of text before deleting the messages
r/sr=roc


git-svn-id: svn://10.0.0.236/trunk@215362 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 18:22:19 +00:00
zach%zachlipton.com
9530f75225 Remove Memoize (not mod-perl safe) from BugzillaDBI.pm
git-svn-id: svn://10.0.0.236/trunk@215361 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 18:21:51 +00:00
tor%cs.brown.edu
39d37a6d0b Bug 360836 - fix svg static accessors. r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@215359 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 18:07:12 +00:00
bzbarsky%mit.edu
846ce8c90a Improve docs. Bug 350252, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@215358 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 17:57:18 +00:00
joshmoz%gmail.com
c5f28e3e87 remove files only used by classic mac os. b=281889 r=bsmedberg moa=timeless
git-svn-id: svn://10.0.0.236/trunk@215357 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 17:56:25 +00:00
bzbarsky%mit.edu
77b17ef48c Make block frames that are not kids of blocks automatically have space managers
(and margin roots, except in the columns case) so we don't have to play
whack-a-framestate-flag.  Bug 354600, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@215356 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 17:51:53 +00:00
neil%parkwaycc.co.uk
4df51ad5f6 Fixing whitespace on new lines checked in for bug 17796
git-svn-id: svn://10.0.0.236/trunk@215355 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 17:25:35 +00:00
benjamin%smedbergs.us
b90e0d9bd5 Bug 360584 - Add client.mk checkout for Tamarin, r=stejohns/kairo
git-svn-id: svn://10.0.0.236/trunk@215354 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 17:21:46 +00:00
stuart.morgan%alumni.case.edu
f7f83bede8 Camino only - Bug 342097: Replace _LSCopyApplicationURLsForItemURL with LSCopyApplicationURLsForURL. r/sr=josh
git-svn-id: svn://10.0.0.236/trunk@215353 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 17:02:17 +00:00
Olli.Pettay%helsinki.fi
41ee208c0a Bug 360642, r+enndeakin, sr=roc
git-svn-id: svn://10.0.0.236/trunk@215352 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 15:45:55 +00:00
neil%parkwaycc.co.uk
6f71c273f4 Mnyromyr's comment fixes overlooked in the previous checkin for bug 17796
git-svn-id: svn://10.0.0.236/trunk@215351 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 15:22:02 +00:00
neil%parkwaycc.co.uk
49966da705 Bug 17796 Reply, Reply All, Forward and Next should be dual menubuttons r=Mnyromyr et. al.
git-svn-id: svn://10.0.0.236/trunk@215350 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 15:17:47 +00:00
igor.bukanov%gmail.com
ac743bb14b Bug 360681: properly initialize tvr.count in array_sort. r=brendan
git-svn-id: svn://10.0.0.236/trunk@215349 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 14:35:28 +00:00
longsonr%gmail.com
bfcc9e10ca Bug 354295 - change fill='url(#invalidurl)' behaviour to match Opera/Safari
git-svn-id: svn://10.0.0.236/trunk@215348 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 10:22:51 +00:00
joshmoz%gmail.com
602b0bbb34 remove XP_MAC from xpcom. b=281889 r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@215347 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 09:10:09 +00:00
bzbarsky%mit.edu
6d790ddd39 Make the XML templates use CDATA sections for scripts. r=sayrer
git-svn-id: svn://10.0.0.236/trunk@215346 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 07:53:08 +00:00
bzbarsky%mit.edu
3a1d1b8d06 Add test for bug 358660.
git-svn-id: svn://10.0.0.236/trunk@215345 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 07:39:18 +00:00
mats.palmgren%bredband.net
0dd16a9117 Fix a crash related to the hidden window menu bar. Remove obsolete #ifdef XP_MAC. b=358607 r=josh
git-svn-id: svn://10.0.0.236/trunk@215344 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 03:25:55 +00:00
benjamin%smedbergs.us
0ffcb60cbc Bug 360836 - queryinterface isn't nulling the outparam in failure cases, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@215343 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 02:29:45 +00:00
cbiesinger%web.de
8cfbab30c4 trying to fix non-windows bustage (from bug 359808)
git-svn-id: svn://10.0.0.236/trunk@215342 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 01:39:09 +00:00
axel%pike.org
c090d78bc1 bug 360743, add kurdish and georgian to the Firefox build, r=preed
git-svn-id: svn://10.0.0.236/trunk@215341 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 01:16:04 +00:00
jshin%mailaps.org
d01aef3d04 bug 359808 : drop support for Win 9x/ME : r/sr=darin
git-svn-id: svn://10.0.0.236/trunk@215340 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 01:00:49 +00:00
jshin%mailaps.org
12f38f5ea7 bug 359808 : drop support for Win 9x/ME (r/sr=darin)
git-svn-id: svn://10.0.0.236/trunk@215339 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 00:59:55 +00:00
joshmoz%gmail.com
800c97e721 remove XP_MAC from mailnews. b=281889 r=bienvenu
git-svn-id: svn://10.0.0.236/trunk@215338 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 00:22:53 +00:00
stridey%gmail.com
2e1219f34b Camino only - Bug 331576: Determine locale of UA string dynamically. Also fixes 335026 and 336061. Patch by mento <mark@moxienet.com>. r=hwaara sr=pink
git-svn-id: svn://10.0.0.236/trunk@215336 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 23:39:30 +00:00
stuart.morgan%alumni.case.edu
7b5321baef Camino only - Bug 152147: Ability to save session state. r=josh sr=pink
git-svn-id: svn://10.0.0.236/trunk@215333 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 22:57:39 +00:00
stuart.morgan%alumni.case.edu
a774880390 Camino only - Bug 152147: Ability to save session state. r=josh sr=pink
git-svn-id: svn://10.0.0.236/trunk@215331 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 22:57:12 +00:00
joshmoz%gmail.com
936ed54e62 remove XP_MAC from mail. b=281889 r=bienvenu
git-svn-id: svn://10.0.0.236/trunk@215330 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 22:44:20 +00:00
mnyromyr%tprac.de
587473c841 Bug 360144: bad filename in link in privacy_help.xhtml; p=Giacomo Magnini <giacomo.magnini@portalis.it>, r=stefanh
git-svn-id: svn://10.0.0.236/trunk@215329 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 22:20:35 +00:00
ghendricks%novell.com
c03d2472f7 Bugzilla Bug 360834
Software Error when searching for an Environment


git-svn-id: svn://10.0.0.236/trunk@215327 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 22:11:13 +00:00
benjamin%smedbergs.us
c408305383 Bug 313309 - Table-driven QI, part 4 (the final piece!) - this could be a test-landing depending on how perf numbers turn out, r=shaver
git-svn-id: svn://10.0.0.236/trunk@215326 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 22:10:57 +00:00
stejohns%adobe.com
5c885420b3 Bug 360829: enabling new warnings and correcting code as necessary.
git-svn-id: svn://10.0.0.236/trunk@215325 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 22:04:54 +00:00
stuart.morgan%alumni.case.edu
caa307638b Camino only - Bug 355808: Popup suppressed silently. r/sr=pink
git-svn-id: svn://10.0.0.236/trunk@215324 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 21:40:10 +00:00
joshmoz%gmail.com
c9f4afe915 remove XP_MAC from network. b=281889 r=darin
git-svn-id: svn://10.0.0.236/trunk@215323 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 21:38:48 +00:00
stuart.morgan%alumni.case.edu
f15614f193 Camino only - Missed file from bug 360345: bookmark code style cleanup. r=stridey sr=pink
git-svn-id: svn://10.0.0.236/trunk@215322 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 21:34:29 +00:00
ghendricks%novell.com
6f67119dc2 Synching with revision 2385
git-svn-id: svn://10.0.0.236/trunk@215321 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 21:30:13 +00:00
ghendricks%novell.com
c0d3974394 Added check for 2.22.1 in tr_install to use the right patch.
git-svn-id: svn://10.0.0.236/trunk@215320 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 20:31:10 +00:00
dougt%meer.net
f64bec4f82 minimo.mk is not used nor should be. See http://www.mozilla.org/projects/minimo/develop.html for how to build minimo. r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@215319 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 19:37:23 +00:00
sspitzer%mozilla.org
d7edfc999e fix for bug #358080: Update window says to click 'Finish' when button is labeled 'Done'
r=darin

thanks to Hiro-san (sugar.waffle@gmail.com) for the fix.


git-svn-id: svn://10.0.0.236/trunk@215317 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 17:10:21 +00:00
daniel.boelzle%sun.com
a2836b3103 Bug 340949: no more event queue locking, minor fixes and cosmetics
git-svn-id: svn://10.0.0.236/trunk@215316 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 17:01:43 +00:00
aaronleventhal%moonset.net
bf5bdadd37 Bug 360106. Errors in logic for nsHTMLTableAccessible::IsProbablyForLayout(). r=evan.yan
git-svn-id: svn://10.0.0.236/trunk@215315 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 16:14:45 +00:00
neil%parkwaycc.co.uk
2ef5ea60d1 Fix for invalid active window assertion b=265383 r=ere sr=roc
git-svn-id: svn://10.0.0.236/trunk@215313 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 12:05:56 +00:00
hwaara%gmail.com
cab56a57ee Create new mozAccessible class that takes care of text-specific notifications and attributes. r=surkov, b=354447
Create simplified subclass action elements such as checkboxes, buttons and radiobuttons. This makes them speak in voiceover, and also makes Google.com work (to some extent). r=surkov, b=357805

Make mac accessible wraps able to know that some roles are "flat". It means we can restrict certain roles to be childless. For example, a button that has a text child makes no sense on mac (and also breaks things). Also make fetching the children array speedier using nsTArray. r=ginn, b=357804

Add lots of new attributes to mozAccessible, improve performance of it and much more. r=surkov, r=josh for widget changes, b=358381


git-svn-id: svn://10.0.0.236/trunk@215312 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 11:08:14 +00:00
lpsolit%gmail.com
3aeba14c4b Bug 274951: Improve the contrast for enhancement bugs in buglists - Patch by Wayne Mery "WSM" <vseerror@lehigh.edu> r=LpSolit a=justdave
git-svn-id: svn://10.0.0.236/trunk@215311 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 10:44:15 +00:00
martijn.martijn%gmail.com
c28db3bd2c Bug 355395 - Misspelled words in text areas cause all following text to disappear during print, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@215310 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 06:39:25 +00:00
Olli.Pettay%helsinki.fi
106f55f363 Bug 359494, Make nsXBLWindowHandler to use nsISupportsWeakReference, not nsIBoxObject, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@215309 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 06:11:42 +00:00
mkaply%us.ibm.com
d045b963c6 #329299
r/sr=roc
Add system exception handling around the call to StretchDIBits - it fails on some printer drivers


git-svn-id: svn://10.0.0.236/trunk@215308 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 05:39:32 +00:00
leon.sha%sun.com
f04e1f5eca Bugzilla Bug 356045
xul tree-table, cells in the first row are exposed in a mess.
Patch by Evan.Yan@Sun.COM.
ginn.chen: review+
aaronleventhal: review+


git-svn-id: svn://10.0.0.236/trunk@215307 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 05:29:09 +00:00
philringnalda%gmail.com
91d475c106 Bug 347615: Feed related strings in content.dtd should be removed, patch by <cedric.corazza@wanadoo.fr>, r=gavin
git-svn-id: svn://10.0.0.236/trunk@215306 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 03:45:32 +00:00
peterv%propagandism.org
a2c2023c89 Try to fix ports bustage.
git-svn-id: svn://10.0.0.236/trunk@215305 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 01:38:31 +00:00
edburns%acm.org
1879d39cea Add new first argument to PlugletFactory.initialize(): the string that
is the path to the jar from which the pluglet is loaded.

SECTION: Changes

M classes/org/mozilla/pluglet/PlugletFactory.java
M classes/org/mozilla/pluglet/PlugletFactoryAdaptor.java

- Add new first argument to PlugletFactory.initialize(): the string that
  is the path to the jar from which the pluglet is loaded.

M examples/MediaPlayer/JMPlayer.java
M test/test.java

- Account for new first argument

M src/PlugletFactory.cpp

- new JNI signature for initialize.


git-svn-id: svn://10.0.0.236/trunk@215304 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 01:11:42 +00:00
ghendricks%novell.com
7b06962b2a Added patch for 2.22.1
git-svn-id: svn://10.0.0.236/trunk@215302 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 00:44:28 +00:00
peterv%propagandism.org
f57752e9b2 Try to uninline constructor and destructor again to reduce codesize increase.
git-svn-id: svn://10.0.0.236/trunk@215301 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 00:31:52 +00:00
nelson%bolyard.com
13a3479910 Export two new functions that were added in NSS 3.11:
SSL_ForceHandshakeWithTimeout and SSL_ReHandshakeWithTimeout
Bug 127960. r=alexei.volkov,wtchang


git-svn-id: svn://10.0.0.236/trunk@215300 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 00:18:02 +00:00
stridey%gmail.com
9eb351894d Camino only - Bug 155956: Make 'zoom' button zoom window to fit contents. Patch by Torben <torben@Spamfence.net>. r=hwaara sr=pink
git-svn-id: svn://10.0.0.236/trunk@215299 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 23:52:43 +00:00
cpeyer%adobe.com
e1e84329d2 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@215298 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 23:42:06 +00:00
stridey%gmail.com
7094caaa22 Camino only - Bug 325845: Esc should cancel incomplete edit, not commit it, when closing Bookmark Info panel. r=Wevah sr=smorgan
git-svn-id: svn://10.0.0.236/trunk@215297 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 23:34:59 +00:00
peterv%propagandism.org
0c7d5f0dc4 Part of the fix for bug 193678 (support exslt:common - allow txXPathNode to hold a strong ref to its root). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@215296 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 23:23:20 +00:00
benjamin%smedbergs.us
52582314d0 From bug 313309 - fix static-iid declarations, which merged badly in the meantim
git-svn-id: svn://10.0.0.236/trunk@215293 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 23:12:10 +00:00
ccooper%deadsquid.com
86c4631e44 - include subgroup_testgroups table
git-svn-id: svn://10.0.0.236/trunk@215291 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 22:50:05 +00:00
bzbarsky%mit.edu
d9cf9faf6c Remove securityCompareURIs() from nsIScriptSecurityManager. Bug 327243, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@215290 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 22:46:45 +00:00
bzbarsky%mit.edu
769c6eb18d Part of fix for bug 359341 that somehow didn't make it in the first time. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@215289 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 22:32:40 +00:00
bzbarsky%mit.edu
a308018d0e Once we find a window, stop looking, dammit. Bug 360579, s+sr=jst
git-svn-id: svn://10.0.0.236/trunk@215288 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 22:30:33 +00:00
wsharp%adobe.com
51f1acd6d8 intptr to uintptr
git-svn-id: svn://10.0.0.236/trunk@215287 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 22:21:11 +00:00
benjamin%smedbergs.us
5d1671cd01 Fix extraneous semicolon
git-svn-id: svn://10.0.0.236/trunk@215286 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 22:18:51 +00:00
wsharp%adobe.com
7f993b98cd bug 360720. various 64-bit type fixes.
git-svn-id: svn://10.0.0.236/trunk@215285 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 22:15:14 +00:00
tony%ponderer.org
851ef602be Bug 356355: numeric domain normalization only happens on enchash table values
patch v2 (additional fixes)
r=mmchew


git-svn-id: svn://10.0.0.236/trunk@215284 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 22:12:08 +00:00
joshmoz%gmail.com
a124bbcf35 Since some platforms do string operations within local file ::Load, we shouldn't declare that objects being created/destroyed from static ctor/dtor is not legal throughout the entire ::Load function. That only needs to be true around the actual PR_LoadLibrary calls. Fixing this stops the ridiculous amount of warning output that we get from every debug mac build. Also removing unused old mac local file impls. b=326837 r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@215283 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 22:06:00 +00:00
mozilla.mano%sent.com
f8200ed000 Bug 349128 - Focus lost pressing enter in empty location bar. r=gavin.
git-svn-id: svn://10.0.0.236/trunk@215282 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 21:57:10 +00:00
dschaffe%adobe.com
51309b205f bug 360596 cleanup the tamarin tests source, all tests pass, the test harness to run the tests will be added soon, also the abc code for each test will hopefully get hosted on the ftp site since we do not have a compiler to create the test abc files yet
git-svn-id: svn://10.0.0.236/trunk@215281 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 21:34:32 +00:00
ccooper%deadsquid.com
4becc1a826 - fix check for testcase ID
git-svn-id: svn://10.0.0.236/trunk@215280 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 21:32:07 +00:00
benjamin%smedbergs.us
77a3de15dd Bug 345517 additional fixup - don't use some additional unfrozen methods, r=gavin
git-svn-id: svn://10.0.0.236/trunk@215279 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 21:25:56 +00:00
benjamin%smedbergs.us
08d43e2b12 Bug 313309 - Table-driven QI part 3 - use weak statics for interface IDs, r=shaver. This will break VC6 and gcc2.9x, which is ok
git-svn-id: svn://10.0.0.236/trunk@215278 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 21:21:37 +00:00
mattwillis%gmail.com
b37e9d5142 bug 360696 - Follow up fix.
git-svn-id: svn://10.0.0.236/trunk@215277 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 21:16:18 +00:00
mattwillis%gmail.com
0f29640b19 bug 360696 - Follow up fix. Patch by Clint Talbert <cmtalbert@myfastmail.com>, r1/2=lilmatt
git-svn-id: svn://10.0.0.236/trunk@215275 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 21:06:56 +00:00
olav%bkor.dhs.org
d2fc939359 Do commit-time fix: Add comment explaining the sql modes that are removed
git-svn-id: svn://10.0.0.236/trunk@215273 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 20:51:44 +00:00
lpsolit%gmail.com
728fe40c1c Bug 346091: editparams.cgi should validate the 'timezone' parameter - Patch by victory(_RSZ_) <bmo2007@rsz.jp> r=LpSolit a=justdave
git-svn-id: svn://10.0.0.236/trunk@215272 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 20:45:48 +00:00
ccooper%deadsquid.com
59436c2837 b=355548
- display regression bug ID in simple view of testcase

b=355459
- display enabled/community enabled status in simple testcase view for admin users

b=359744
- display testcases in testcase/subgroup sort order when printing

b=360621
- validate view testcase forms prior to submission

Misc.
- use JSON filters to limit view testcase results
- add enabled toggle for entity form widgets where appropriate


git-svn-id: svn://10.0.0.236/trunk@215269 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 20:23:31 +00:00
mattwillis%gmail.com
fd59c77942 bug 360696 - Strict warning fixes and typo fixes. Patch by Stefan Sitter <ssitter@googlemail.com> r1/2=lilmatt
git-svn-id: svn://10.0.0.236/trunk@215268 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 19:11:42 +00:00
mkanat%bugzilla.org
7e269798bc Bug 349256: Make the webservice get_bug into a stable API
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=mbd, a=justdave


git-svn-id: svn://10.0.0.236/trunk@215267 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 19:10:52 +00:00
lpsolit%gmail.com
379c191ecd Bug 323031: process_bug.cgi crashes when encountering a deleted user account and when strict_isolation is on - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wicked a=justdave
git-svn-id: svn://10.0.0.236/trunk@215266 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 19:02:01 +00:00
lpsolit%gmail.com
b55615039d Bug 115650: No TITLE attribute on buglinks on process_bug.cgi - Patch by victory(_RSZ_) <bmo2007@rsz.jp> r=LpSolit a=justdave
git-svn-id: svn://10.0.0.236/trunk@215265 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 18:30:53 +00:00
despotdaemon
712fa72e5e Pseudo-automatic update of changes made by dansmith@adobe.com.
git-svn-id: svn://10.0.0.236/trunk@215263 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 17:56:20 +00:00
stejohns%adobe.com
f6cd864a4a Bug 360675: fix compiler warnings in VS2003 & VS2005 for some variations of the Microsoft Platform SDK (which includes headers that warn at Warning Level 4)
git-svn-id: svn://10.0.0.236/trunk@215261 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 17:37:37 +00:00
olav%bkor.dhs.org
94221a7da4 Bug 321645: [MySQL 5] MySql Error on insert... "DBD::mysql::st execute failed: Field 'status_whiteboard' "....
Patch by Olav Vitters <olav@bkor.dhs.org> r=mkanat a=justdave


git-svn-id: svn://10.0.0.236/trunk@215260 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 17:17:47 +00:00
wsharp%adobe.com
aaad285dfd reverting changes to shell's project file. These were incorrectly merged in from shel64 project. This should be back to 1.2 now.
git-svn-id: svn://10.0.0.236/trunk@215259 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 15:11:41 +00:00
wsharp%adobe.com
12b863bf53 bug 360602. fix windows build
git-svn-id: svn://10.0.0.236/trunk@215258 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 15:05:57 +00:00
wsharp%adobe.com
79efe73483 update shell64 second time. CVS files were incorrectly copied from shell project causing problems
git-svn-id: svn://10.0.0.236/trunk@215257 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 15:05:14 +00:00
wsharp%adobe.com
19aa3c0839 bug 360602. Mac 64-bit porting work. Switched "IA64" designation to "AMD64". Added AVMPLUS_64BIT target for code that is 64-bit specific instead of x86_64 specific. Other changes listed in bug record - lots of intptr changes, op_abs_jump fixes. 64-bit shell is launching and running until emitNativeThunk which needs 64-bit specific ASM generation.
git-svn-id: svn://10.0.0.236/trunk@215256 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 14:44:27 +00:00
mattwillis%gmail.com
2f15a3e3ee bug 343793 - Edit title immediately after creating event via drag-n-drop. Patch by jminta, r=lilmatt, ctalbert
git-svn-id: svn://10.0.0.236/trunk@215255 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 03:18:30 +00:00
mattwillis%gmail.com
e743a983ac bug 349586 - checkin booboo
git-svn-id: svn://10.0.0.236/trunk@215254 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 02:34:17 +00:00
mattwillis%gmail.com
331253fb00 bug 349586 - Add migrator. Patch by jminta with contributions by lilmatt and ctalbert. r=ctalbert,lilmatt,jminta ui-r=mvl
git-svn-id: svn://10.0.0.236/trunk@215253 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 01:57:35 +00:00
mattwillis%gmail.com
c5a2b02c04 bug 349586 - Add migrator. Patch by jminta with contributions by lilmatt and ctalbert. r=ctalbert,lilmatt,jminta ui-r=mvl
git-svn-id: svn://10.0.0.236/trunk@215251 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 01:56:57 +00:00
stejohns%adobe.com
a82e0e4aba added .cvsignore files for Tamarin for common Mac XCode build directories and files.
git-svn-id: svn://10.0.0.236/trunk@215250 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 01:44:17 +00:00
lpsolit%gmail.com
241c32b21d Bug 360489: Can't locate object method "type_name" via package "Bugzilla::Field" when listing custom fields - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
git-svn-id: svn://10.0.0.236/trunk@215248 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 01:18:37 +00:00
stejohns%adobe.com
8290e120b4 added .cvsignore for Tamarin files including VC7/VC8 projects files
git-svn-id: svn://10.0.0.236/trunk@215247 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 01:18:26 +00:00
wtchang%redhat.com
8f2df656bf Bugzilla Bug 359484: made the fix for bug 341707 work for the SSL2 client
hello case. r=nelsonb,alexei.volkov


git-svn-id: svn://10.0.0.236/trunk@215245 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 01:09:54 +00:00
stejohns%adobe.com
10f1ddb6c0 Revert incorrect checkin of MMgc.vcproj to correct build breakage
git-svn-id: svn://10.0.0.236/trunk@215244 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 01:01:08 +00:00
mozilla.mano%sent.com
96b7ed2d03 Bug 348369 - Tabbrowser steals focus any time the current browser changes. r=gavin.
git-svn-id: svn://10.0.0.236/trunk@215243 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 01:00:06 +00:00
bzbarsky%mit.edu
4b70414d02 Add a correct license header. Bug 353806, patch by Ryan Jones
<sciguyryan+bugzilla@gmail.com>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@215242 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 00:55:54 +00:00
wtchang%redhat.com
945a67dc99 Bugzilla Bug 360169: changed the value of the _PR_SI_ARCHITECTURE macro
back to "hppa1.1" for backward compatibility. r=nelsonb


git-svn-id: svn://10.0.0.236/trunk@215240 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 00:50:17 +00:00
tor%cs.brown.edu
784deb978e Bug 355267 - remove svg fragment tree code. r=longsonr, sr=roc
git-svn-id: svn://10.0.0.236/trunk@215239 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 00:48:33 +00:00
bienvenu%nventure.com
129eea46e5 fix 360409, mail which claims to be a reply to itself, via reference and message-id headers, disappears, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@215237 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 00:28:23 +00:00
stejohns%adobe.com
a71fb0dd06 Bug 360615: fixes for Tamarin to build under VS2005
git-svn-id: svn://10.0.0.236/trunk@215236 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 00:17:20 +00:00
scott%scott-macgregor.org
7e8e58a410 Bug #357321 --> CardHasEmailAddress is missing a return value.
git-svn-id: svn://10.0.0.236/trunk@215235 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 00:16:12 +00:00
ghendricks%novell.com
305e456910 Restrict who can delete what under what circumstances.
git-svn-id: svn://10.0.0.236/trunk@215234 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 23:55:31 +00:00
olav%bkor.dhs.org
a283139c51 Bug 277370: Ability to specify an email address to which notification about all bugs should go
Patch by Guillaume Rousse <guillomovitch@zarb.org> r=bkor a=myk


git-svn-id: svn://10.0.0.236/trunk@215233 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 23:32:29 +00:00
roc+%cs.cmu.edu
eb99fed591 Bug 130078. Integrate view hierarchies, watching for perf results. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@215232 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 22:59:14 +00:00
bzbarsky%mit.edu
9fa229d896 Additional tweak to the patch for bug 355931 -- fix QI too.
git-svn-id: svn://10.0.0.236/trunk@215230 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 22:20:39 +00:00
bzbarsky%mit.edu
a141643e32 Don't use frames to implement interfaces, dammit. Just don't! Bug 355931, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@215229 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 22:05:25 +00:00
bzbarsky%mit.edu
97ddfc98d3 Make sure that first-lines with descendant views will be flagged appropriately.
Bug 291078, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@215228 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 21:46:12 +00:00
bzbarsky%mit.edu
d62bf91067 Make PRMJ_basetime faster by making it close to O(1) in the year instead of
O(N).  Bug 360484, r=shaver


git-svn-id: svn://10.0.0.236/trunk@215225 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 21:33:06 +00:00
bzbarsky%mit.edu
6d5fc623cf Fix leaks in thebes and canvas code due to nsIWidget and nsIRenderingContext
being badly documented and not using already_AddRefed when they should.  Bug
359341, r=pavlov, sr=roc


git-svn-id: svn://10.0.0.236/trunk@215224 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 21:31:53 +00:00
bzbarsky%mit.edu
0f9db8680c When doing ContentRemoved, IndexOf() will always return -1. So don't use it.
Bug 360524, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@215223 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 21:27:44 +00:00
mattwillis%gmail.com
e39dcbb163 bug 356740 - Makes NSIS installer remove more obsolete files during install. Patch by Stefan Sitter <ssitter@googlemail.com>, r=lilmatt, mvl
git-svn-id: svn://10.0.0.236/trunk@215222 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 21:27:00 +00:00
mattwillis%gmail.com
97f0ab1154 bug 360548 - Fixes regression in use of getSelectedItems. Patch by Stefan Sitter <ssitter@googlemail.com>, r=lilmatt,mvl
git-svn-id: svn://10.0.0.236/trunk@215221 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 21:21:16 +00:00
nboyd%atg.com
dc25e8ae99 Better link for MPL.
git-svn-id: svn://10.0.0.236/trunk@215220 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 21:12:28 +00:00
rhelmer%mozilla.com
de6a636516 landing corrections for TR Fullhart b=346013 r=rhelmer
git-svn-id: svn://10.0.0.236/trunk@215219 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 21:12:11 +00:00
nboyd%atg.com
348077ce22 Propagate formatting changes from the mozilla-org CVS repository
git-svn-id: svn://10.0.0.236/trunk@215218 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 21:03:34 +00:00
tor%cs.brown.edu
b72d76a360 Bug 359428 - use cairo to implement feMerge instead of doing it by hand.
Patch by amenzie@us.ibm.com, r=tor, sr=roc


git-svn-id: svn://10.0.0.236/trunk@215217 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 20:59:18 +00:00
benjamin%smedbergs.us
26f6bedf73 Use 0 instead of NULL in non-pointer context, fixes XCode 2.2 build, r=stejohns
git-svn-id: svn://10.0.0.236/trunk@215216 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 20:44:52 +00:00
despotdaemon
e5b3fd710a Pseudo-automatic update of changes made by benjamin@smedbergs.us.
git-svn-id: svn://10.0.0.236/trunk@215215 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 20:44:39 +00:00
tor%cs.brown.edu
dd96b5402c Bug 359449 - gradient on SVG text sometimes using incorrect bounding box.
r=scootermorris, sr=roc


git-svn-id: svn://10.0.0.236/trunk@215214 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 20:42:42 +00:00
nboyd%atg.com
0d1088b92b Change reference to NPL to MPL.
git-svn-id: svn://10.0.0.236/trunk@215213 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 20:32:30 +00:00
nboyd%atg.com
2c27be98e2 Add reference to latest BSF version. Remove obsolete link.
git-svn-id: svn://10.0.0.236/trunk@215212 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 20:28:09 +00:00
bugzilla%standard8.demon.co.uk
9cdbd70ea1 Fix build bustage from bug 357321
git-svn-id: svn://10.0.0.236/trunk@215211 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 19:58:46 +00:00
scott%scott-macgregor.org
e682db4e9a bug #357321 --> don't blindly trust address book recipients when loading remote content. Make the user explicitly mark each sender as allowing remote content.
Remove the UI for enabling JS. Remove the now obsolete UI for white listing address book entries. sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@215210 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 18:59:35 +00:00
benjamin%smedbergs.us
aa6587d9ec Removing old decreipt files.
git-svn-id: svn://10.0.0.236/trunk@215209 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 18:54:35 +00:00
benjamin%smedbergs.us
a9ef1f1391 Remove old decrepit files
git-svn-id: svn://10.0.0.236/trunk@215208 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 18:53:15 +00:00
benjamin%smedbergs.us
57edb95b0b Removing old, dead files. r=shaver
git-svn-id: svn://10.0.0.236/trunk@215207 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 18:51:04 +00:00
wtchang%redhat.com
1dc58240b7 Bugzilla Bug 357197: fixed the fallthrough case in ocsp_CertIDsMatch. The
patch is contributed by Steve Parkinson <sparkins@redhat.com>. r=nelson,wtc


git-svn-id: svn://10.0.0.236/trunk@215205 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 18:16:58 +00:00
benjamin%smedbergs.us
2528600cb2 Re-land bug 345517 now that the logging issues are hopefully fixed, r=darin/mento/mano
git-svn-id: svn://10.0.0.236/trunk@215204 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 17:53:01 +00:00
stejohns%adobe.com
6de7c62912 Bug 360310: check in fixes to allow Tamarin to build and link properly with VS2003 on Windows.
git-svn-id: svn://10.0.0.236/trunk@215203 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 17:42:56 +00:00
bugzilla%standard8.demon.co.uk
9b10bdaa4e Bug 360492 nsIAbMDBCard::CopyCard is unused. r/sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@215202 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 17:26:33 +00:00
bzbarsky%mit.edu
f2db33f207 Fix col border drawing for cols that are explicitly in the source. Bug 350444,
r=bernd, sr=roc


git-svn-id: svn://10.0.0.236/trunk@215200 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 15:46:52 +00:00
stridey%gmail.com
a7924439e2 Camino only - Bug 323718: Fix crash in [FindDlgController getSearchText:]. r=smorgan sr=pink
git-svn-id: svn://10.0.0.236/trunk@215199 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 15:40:06 +00:00
kjh-5727%comcast.net
3685e4e192 Bug 351229 - Avoid a type-punned pointer warning. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@215198 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 14:42:33 +00:00
anton.bobrov%sun.com
968e6d4f82 Bug 357668: merging Sun and Mozilla libldap: bring new srcs unique to Sun branch
git-svn-id: svn://10.0.0.236/trunk@215197 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 13:52:52 +00:00
emaijala%kolumbus.fi
e771555238 Patch for bug 311709: Main browser window stuck in resize
r=neil
sr=roc


git-svn-id: svn://10.0.0.236/trunk@215196 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 12:20:20 +00:00
michael.buettner%sun.com
7689683095 Bug #357147 cloned proxies forget about attendee list r=lilmatt
git-svn-id: svn://10.0.0.236/trunk@215195 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 12:01:47 +00:00
gerv%gerv.net
a1b7ad971e Bug 308950 - add build ID parameter to guided page for non-browser products. Patch by gerv; r=justdave.
git-svn-id: svn://10.0.0.236/trunk@215194 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 11:39:54 +00:00
igor.bukanov%gmail.com
71cbd284df 360282: Debug-only warning about broken FPU state. r=brendan
git-svn-id: svn://10.0.0.236/trunk@215193 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 10:50:40 +00:00
sayrer%gmail.com
ad5496d973 bug 357539. Feed parser does not recognize lastBuildDate field. r=mano
git-svn-id: svn://10.0.0.236/trunk@215192 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 05:35:46 +00:00
mkanat%bugzilla.org
3f166ba059 Checkin fix for bug 360028.
git-svn-id: svn://10.0.0.236/trunk@215191 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 03:08:44 +00:00
mkanat%bugzilla.org
7069b5a5fe Bug 360028: Bugzilla::Search::Saved should have create() and update(), and buglist.cgi should use it
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave


git-svn-id: svn://10.0.0.236/trunk@215190 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 03:07:57 +00:00
mkanat%bugzilla.org
68835c258a Bug 355839: The WebService should provide lists of legal field values
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=mbd, a=myk


git-svn-id: svn://10.0.0.236/trunk@215189 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 03:04:25 +00:00
mkanat%bugzilla.org
2bf008bedf Bug 350307: Split out the create and update functionality of Bugzilla::Field::create_or_update
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave


git-svn-id: svn://10.0.0.236/trunk@215188 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 02:50:17 +00:00
gijskruitbosch%gmail.com
c33e216fec Bug 345315 - /network command is useless
r=silver@warwickcompsoc.co.uk (James Ross)
ChatZilla Only.


git-svn-id: svn://10.0.0.236/trunk@215187 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 01:27:33 +00:00
silver%warwickcompsoc.co.uk
171f04c064 ChatZilla 0.9.76, go go go!
git-svn-id: svn://10.0.0.236/trunk@215186 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 00:31:47 +00:00
sayrer%gmail.com
de8b61170b test for bug 333983
git-svn-id: svn://10.0.0.236/trunk@215185 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-12 22:03:01 +00:00
sayrer%gmail.com
835a9041f9 test for bug 343596
git-svn-id: svn://10.0.0.236/trunk@215184 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-12 21:47:24 +00:00
Olli.Pettay%helsinki.fi
3625d39860 Bug 360058, trying to make sure that document's propertytable doesn't have pointers to deleted nsINodes, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@215183 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-12 21:31:11 +00:00
sayrer%gmail.com
326816054a Bug 360062. rid dom/src/base of nsCRT::strdup. r=timeless, sr=jst
git-svn-id: svn://10.0.0.236/trunk@215179 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-12 15:15:37 +00:00
silver%warwickcompsoc.co.uk
6aa86a6c1d Bug 344641 - Remove code no longer needed to shut up stupid warning.
ChatZilla only.


git-svn-id: svn://10.0.0.236/trunk@215178 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-12 14:13:05 +00:00
erik%vanderpoel.org
3cb46271fa make clickable http Location: header value use relative url
git-svn-id: svn://10.0.0.236/trunk@215177 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-12 06:16:36 +00:00
mozilla%justcameron.com
1ab1d6efc6 Bug 360263 - RSS links on extension pages are to 404s
Bug introduced in rusticoisation.
r=Shaver


git-svn-id: svn://10.0.0.236/trunk@215176 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-12 00:57:08 +00:00
gijskruitbosch%gmail.com
2a84b9a261 Bug 347420 - networks.txt ignored if last line doesn't end in \n
r=silver@warwickcompsoc.co.uk (James Ross)
ChatZilla Only.


git-svn-id: svn://10.0.0.236/trunk@215175 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-12 00:26:36 +00:00
gijskruitbosch%gmail.com
241a14730e Bug 360192 - Support Proxy error codes better than "status 215398###"
r=silver@warwickcompsoc.co.uk (James Ross)
ChatZilla Only.


git-svn-id: svn://10.0.0.236/trunk@215174 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 23:17:46 +00:00
stuart.morgan%alumni.case.edu
6da1bb0a77 Camino only - remove unnecessary SDK workaround for bug 300304 on trunk
git-svn-id: svn://10.0.0.236/trunk@215173 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 22:51:33 +00:00
mrbkap%gmail.com
3841aa574c Fix BeOS build bustage. bug 360376, r=jst
git-svn-id: svn://10.0.0.236/trunk@215171 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 22:32:01 +00:00
bzbarsky%mit.edu
fa36ed56f9 Rev nsICSSLoader IID too. Bug 319654.
git-svn-id: svn://10.0.0.236/trunk@215170 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 22:28:09 +00:00
bzbarsky%mit.edu
3d914aab06 Create DOM nodes for processing instructions in XUL, take 2. Still bug 319654, patch by
Nickolay Ponomarev <asqueella@gmail.com>, r+sr=bzbarsky.


git-svn-id: svn://10.0.0.236/trunk@215169 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 22:27:00 +00:00
bzbarsky%mit.edu
15a150d6b3 Make sure all xml-stylesheet and xul-overlay PIs in fact come in the prologs of
overlays.  Bug 360119, patch by Nickolay Ponomarev <asqueella@gmail.com> and
Phil Ringnalda <philringnalda@gmail.com>, r=mano


git-svn-id: svn://10.0.0.236/trunk@215168 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 22:22:36 +00:00
stuart.morgan%alumni.case.edu
eefc1627e3 Camino only - branch bustage fix for bug 300304
git-svn-id: svn://10.0.0.236/trunk@215167 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 22:02:26 +00:00
stuart.morgan%alumni.case.edu
2f559759a5 Camino only - Bug 360345: Bookmarks code style cleanup. r=stridey sr=pink
git-svn-id: svn://10.0.0.236/trunk@215166 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 20:58:49 +00:00
stuart.morgan%alumni.case.edu
d5aa685a8e Camino only - Bug 300304: Darken bookmark bar buttons on mousedown. r=smfr sr=pink
git-svn-id: svn://10.0.0.236/trunk@215165 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 20:49:20 +00:00
robert%accettura.com
a429a287f6 Fix SQL error when we query for a hostname.
git-svn-id: svn://10.0.0.236/trunk@215164 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 19:33:08 +00:00
philringnalda%gmail.com
1cbede6509 Bug 350785 followup: Get out of form autocomplete storage even earlier for non-text inputs, r=mano
git-svn-id: svn://10.0.0.236/trunk@215163 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 18:26:21 +00:00
mozilla%weilbacher.org
714c2c5b4d [OS/2] Bug 356676: update README.txt to better represent current versioning scheme, r=mkaply
git-svn-id: svn://10.0.0.236/trunk@215161 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 17:36:37 +00:00
bmlk%gmx.de
18e7f2bcc4 adding testcase for bug 337124 to mochitest not part of the build
git-svn-id: svn://10.0.0.236/trunk@215160 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 16:19:53 +00:00
bienvenu%nventure.com
5bb863e644 fix 360147 implement tagging of newsgroup posts, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@215159 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 15:54:39 +00:00
bmlk%gmx.de
f507fa8183 don't rely on framconstructor to deliver a valid sibling for insert of colgroups and rowgroups as they are siblings contentwise but live on different childlists, bug 337124 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@215158 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 13:38:09 +00:00
olav%bkor.dhs.org
88557f5603 Bug 357873: loginnetmask param should default to 0
Patch by Olav Vitters <olav@bkor.dhs.org> r=justdave a=justdave


git-svn-id: svn://10.0.0.236/trunk@215157 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 09:18:55 +00:00
bugzilla%standard8.demon.co.uk
c082aee9c6 Bug 355363 Make a base class for LDAP Message Listener code. r=bienvenu,sr=mscott
git-svn-id: svn://10.0.0.236/trunk@215156 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 08:59:46 +00:00
bugzilla%standard8.demon.co.uk
58b6c7860d Bug 360280 Firefox shouldn't need to pull mozilla/themes. r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@215155 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 08:29:16 +00:00
bzbarsky%mit.edu
87a5a4e659 Adding test for bug 142233.
git-svn-id: svn://10.0.0.236/trunk@215154 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 06:55:36 +00:00
bzbarsky%mit.edu
906e04c198 Make the assertions saner. Bug 342923, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@215153 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 06:30:40 +00:00
gavin%gavinsharp.com
de3bd06b7c Bug 358570: OpenSearch plugins should default to encoding search queries in UTF-8 (fix garbled text for certain Japanese plugins that omit the InputEncoding element), patch by KUROSAWA, Takeshi(taken) <taken.spc@gmail.com>, r=me
git-svn-id: svn://10.0.0.236/trunk@215152 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 05:26:26 +00:00
bclary%bclary.com
d25df0dbc7 JavaScript Test - correct regression test for bug 292863
git-svn-id: svn://10.0.0.236/trunk@215151 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 05:22:46 +00:00
bzbarsky%mit.edu
8e6e31af2f Minor tweaks, mostly to use isnot()
git-svn-id: svn://10.0.0.236/trunk@215150 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 05:20:57 +00:00
sayrer%gmail.com
058686437f bz wants isnot()
git-svn-id: svn://10.0.0.236/trunk@215149 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 05:10:46 +00:00
bzbarsky%mit.edu
e30ce6a464 Set face index correctly. Bug 350455, patch by ToshihiroYamagishi
<toshihiro@turbolinux.co.jp>, r=mozilla@behdad.org, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@215148 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 04:56:22 +00:00
bzbarsky%mit.edu
ee46937eb5 Adding some more testcases.
git-svn-id: svn://10.0.0.236/trunk@215146 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 04:33:52 +00:00
bzbarsky%mit.edu
c1ead0d708 Add a test name
git-svn-id: svn://10.0.0.236/trunk@215145 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 04:29:57 +00:00
bzbarsky%mit.edu
f5ff7ebe07 Add regression test for bug 359657.
git-svn-id: svn://10.0.0.236/trunk@215143 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 03:21:12 +00:00
cvshook%sicking.cc
89cb09b2c4 Fix orange by properly refcounting
git-svn-id: svn://10.0.0.236/trunk@215142 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 01:43:11 +00:00
peterv%propagandism.org
35583114f4 Additional fix for bug 352601 (XSLT forwards compatible processing enabled when it shouldn't). rs=sicking.
git-svn-id: svn://10.0.0.236/trunk@215140 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 00:49:10 +00:00
cvshook%sicking.cc
45fea30a93 Make nodes supports weak references. b=360291 r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@215138 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 00:36:03 +00:00
bclary%bclary.com
ecafc72fd8 JavaScript Test - modify expected exit code for shell out of memory conditions, bug 358975
git-svn-id: svn://10.0.0.236/trunk@215136 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 00:33:37 +00:00
cvshook%sicking.cc
bc3166e146 Kill nsAttributeChildList and use nsChildContentList instead. b=360319 r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@215135 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 00:28:20 +00:00
scott%scott-macgregor.org
4d4c431c0a Bug #357321 --> address book changes for supporting a per card attribute
for allowing remote content in HTML mail.
r=mark banner


git-svn-id: svn://10.0.0.236/trunk@215134 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 00:23:07 +00:00
bzbarsky%mit.edu
bafd71cd20 Fix order of mutation event firing for attribute removals. Bug 339494, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@215132 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 00:04:46 +00:00
bzbarsky%mit.edu
3f520eaa49 Make it possible for protocol handlers to configure how CheckLoadURI should
treat them via their protocol flags.  Remove the protocol list we used before.
Bug 120373, r=dveditz, sr=darin


git-svn-id: svn://10.0.0.236/trunk@215130 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 23:49:08 +00:00
vladimir%pobox.com
46a3255d84 b=359054, crash in pixman MMX code (disable MMX on win32 for now), r=stuart
git-svn-id: svn://10.0.0.236/trunk@215129 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 23:36:12 +00:00
vladimir%pobox.com
818a6bd4fb b=359147, big images don't redraw, r=stuart
git-svn-id: svn://10.0.0.236/trunk@215128 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 23:34:05 +00:00
cvshook%sicking.cc
e67ffd2e25 Fix inconsistencies in colon at end of macro. rs=peterv. No bug
git-svn-id: svn://10.0.0.236/trunk@215127 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 23:29:55 +00:00
cvshook%sicking.cc
82abeafc72 fix bustage
git-svn-id: svn://10.0.0.236/trunk@215123 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 22:33:56 +00:00
cvshook%sicking.cc
d19b6c4635 fix bustage
git-svn-id: svn://10.0.0.236/trunk@215121 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 21:47:13 +00:00
joshmoz%gmail.com
61a878de96 fix select widget rendering when using thebes/cairo. b=360214 r=mento sr=pav
git-svn-id: svn://10.0.0.236/trunk@215120 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 21:03:27 +00:00
cvshook%sicking.cc
0b1c3b4909 fix bustage
git-svn-id: svn://10.0.0.236/trunk@215119 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 20:52:59 +00:00
cvshook%sicking.cc
1f787980fa Bug 357345: Add more optimizations to the XPath optimizer. r/sr=peterv
git-svn-id: svn://10.0.0.236/trunk@215118 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 20:44:08 +00:00
cvshook%sicking.cc
676346874b Bug 357345: Add more optimizations to the XPath optimizer. r/sr=peterv
git-svn-id: svn://10.0.0.236/trunk@215117 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 20:31:59 +00:00
benjamin%smedbergs.us
cae89c5987 From bug 345517 - fix adoptcount logging for the frozen string API, r=darin
git-svn-id: svn://10.0.0.236/trunk@215113 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 20:05:04 +00:00
bclary%bclary.com
c50a589122 JavaScript Test - regression test for bug 352271, by Jesse Ruderman
git-svn-id: svn://10.0.0.236/trunk@215109 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 19:53:09 +00:00
bclary%bclary.com
3d89b76829 JavaScript Test - regression test for bug 354924, by Jesse Ruderman
git-svn-id: svn://10.0.0.236/trunk@215108 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 19:49:05 +00:00
bclary%bclary.com
e6d07f26c4 JavaScript Test - regression test for bug 353264, by Jesse Ruderman
git-svn-id: svn://10.0.0.236/trunk@215107 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 19:42:43 +00:00
bclary%bclary.com
c29b2ef39a JavaScript Test - regression test for bug 354151, by Igor Bukanov
git-svn-id: svn://10.0.0.236/trunk@215106 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 19:36:58 +00:00
bclary%bclary.com
bbcd062868 JavaScript Test - regression test for bug 354145, by Igor Bukanov
git-svn-id: svn://10.0.0.236/trunk@215105 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 19:32:15 +00:00
bclary%bclary.com
37fbfd40e7 JavaScript Test - regression test for bug 350238, by Jesse Ruderman
git-svn-id: svn://10.0.0.236/trunk@215104 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 19:27:03 +00:00
bzbarsky%mit.edu
7099e68a3e Improve string for NS_ERROR_DOM_NOT_SUPPORTED_ERR. Bug 360208, patch by Ryan
Jones <sciguyryan+bugzilla@gmail.com>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@215103 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 19:23:56 +00:00
wsharp%adobe.com
a3a14b8612 Bug 360275 - remove usage of va_list for 64-bit support. Fix shell to run on 10.5.
git-svn-id: svn://10.0.0.236/trunk@215100 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 18:57:27 +00:00
stuart.morgan%alumni.case.edu
4cb39badfc Camino only - Bug 355033: simplify keychain prefs. r=stridey sr=pink
git-svn-id: svn://10.0.0.236/trunk@215098 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 18:20:55 +00:00
lpsolit%gmail.com
21b303adf4 Bug 189627: Implement per-product privileges - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
git-svn-id: svn://10.0.0.236/trunk@215097 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 16:51:30 +00:00
scott%scott-macgregor.org
f085aecbca Bug #360030 --> Add the ability to customize the fields we show in the new mail alert notification dialog. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@215096 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 16:39:27 +00:00
wsharp%adobe.com
fd8e201e60 bug 360174 - fix MMGC for 64-bit issues, add 64-bit XCode 3.0 project files for 10.5 64-bit compiles
git-svn-id: svn://10.0.0.236/trunk@215095 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 16:04:27 +00:00
axel%pike.org
bd9c0fd33a bug 358740, add initial landing of coverage extension for l10n testing, r=rcampbell
git-svn-id: svn://10.0.0.236/trunk@215093 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 15:53:44 +00:00
gerv%gerv.net
f31a42d169 Bug 236108 - changing licence from NPL/GPL to MPL/GPL to help the Apache people. The bug in question also suggests an eventual switch to MIT; that may come later.
git-svn-id: svn://10.0.0.236/trunk@215092 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 15:27:40 +00:00
neil%parkwaycc.co.uk
2dae22df05 Bug 326840 Make progress dialogs display download speed where available p=son.le0@gmail.com r=biesi sr=me
git-svn-id: svn://10.0.0.236/trunk@215090 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 10:29:54 +00:00
rhelmer%mozilla.com
d7ba3c028e remove Release step as per README
git-svn-id: svn://10.0.0.236/trunk@215088 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 04:44:40 +00:00
pavlov%pavlov.net
14fa38266d backing out 345517 due to leak test bustage
git-svn-id: svn://10.0.0.236/trunk@215087 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 04:42:03 +00:00
mgalli%geckonnection.com
355a7b5844 cleanup to panels.
git-svn-id: svn://10.0.0.236/trunk@215075 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 03:04:14 +00:00
mgalli%geckonnection.com
7a91806faf cleanup to pref.
git-svn-id: svn://10.0.0.236/trunk@215074 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 03:02:36 +00:00
mgalli%geckonnection.com
eb92040bb6 Pref cleanup visual.
git-svn-id: svn://10.0.0.236/trunk@215073 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 02:59:50 +00:00
mike.morgan%oregonstate.edu
0d20db168d Added new URLs based on testing for silent installs w/ EULAs integrated into Fx interface. See bug 358937.
git-svn-id: svn://10.0.0.236/trunk@215070 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 01:03:33 +00:00
Olli.Pettay%helsinki.fi
2d30ed18cd Bug 340564, Print/Print Preview does not print text in <input text> or <textarea>, p=sharparrow, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@215069 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 00:55:11 +00:00
cpeyer%adobe.com
ab2d1520f5 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@215068 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 00:48:31 +00:00
dbaron%dbaron.org
fa0ef6642e Only call gtk_window_present on top-level windows. b=330006 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@215067 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 00:48:02 +00:00
rhelmer%mozilla.com
8097038888 framework changes for bootstrap b=352230 r=preed
git-svn-id: svn://10.0.0.236/trunk@215066 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 23:28:20 +00:00
rhelmer%mozilla.com
7f9943721c step changes for bootstrap b=356185 r=preed
git-svn-id: svn://10.0.0.236/trunk@215065 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 23:25:07 +00:00
preed%mozilla.com
37381b5dd7 Bug 360034: update nagios nightly build checks because of version bumps. Patch=cf, r=preed
git-svn-id: svn://10.0.0.236/trunk@215064 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 23:07:19 +00:00
pavlov%pavlov.net
ba00a8035a bug 360013. draw using the region rather than the union rect. r=josh sr=vlad
git-svn-id: svn://10.0.0.236/trunk@215063 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 22:58:11 +00:00
mats.palmgren%bredband.net
9a25d17ebb Backing out the NS_LIKELY/NS_UNLIKELY change to see if it fixes Tinderbox orange. b=340244
git-svn-id: svn://10.0.0.236/trunk@215062 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 22:52:19 +00:00
scott%scott-macgregor.org
4e6089f587 Bug #359852 --> during composition, local file image urls aren't loaded in the compose window. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@215061 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 22:48:44 +00:00
dougt%meer.net
9e6e105dfd exposing the network status of a image request to wpl consumers. bug 355555. r=stuart.
git-svn-id: svn://10.0.0.236/trunk@215060 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 22:47:43 +00:00
scott%scott-macgregor.org
d29838fcfa Bug #360030 --> Add the ability to customize the fields we show in the new mail alert notification dialog. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@215059 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 22:27:37 +00:00
bienvenu%nventure.com
eb27dd9b7e fix 360142 single folder saved searches not working when imap server changes case of keywords, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@215058 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 22:09:57 +00:00
mkanat%bugzilla.org
1331c5c0f2 Bug 357482: Webservice should have a get_products method
Patch By Mads Bondo Dydensborg <mbd@dbc.dk> r=mkanat, a=myk


git-svn-id: svn://10.0.0.236/trunk@215057 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 22:01:08 +00:00
wclouser%mozilla.com
01b00ed21f changed the default application version to 2.0
git-svn-id: svn://10.0.0.236/trunk@215055 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 21:48:49 +00:00
wclouser%mozilla.com
c2909a9608 changed the query slightly for the product dropdowns, to make the latest at the top
git-svn-id: svn://10.0.0.236/trunk@215054 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 21:41:44 +00:00
roc+%cs.cmu.edu
170630f895 Bug 312963. Fix column layout when content in the column is out-of-flow but still needs to break vertically. rubberstamp r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@215053 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 21:38:34 +00:00
scott%scott-macgregor.org
d32d8f7ab7 Bug #359469 --> extensions/offline/Makefile is no longer part of the thunderbird build. Patch by sugar.waffle@gmail.com. sr=mscott
git-svn-id: svn://10.0.0.236/trunk@215052 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 21:07:27 +00:00
edburns%acm.org
52244de3f3 M mozilla/npAPInsIInputStreamShim.cpp
- re-enable stream loading in pluglet.


git-svn-id: svn://10.0.0.236/trunk@215044 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 20:17:43 +00:00
edburns%acm.org
3e78a4fbf3 Memory audit of code in src directory. Found and fixed some leaks.
Declaring this directory memory clean.

M src/Pluglet.cpp
M src/Pluglet.h

- use do_GetService instead of servman->GetServiceByContractID

- do not keep a reference to plugletEngine as an ivar

M src/PlugletFactory.cpp
M src/PlugletFactory.h

- use nsnull instead of NULL

- do not keep a reference to plugletEngine as an ivar

- use PL_strdup and PL_strfree to duplicate and free strings

M src/PlugletsDir.cpp

- use PL_strdup and PL_strfree to duplicate and free strings


git-svn-id: svn://10.0.0.236/trunk@215043 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 20:10:17 +00:00
gavin%gavinsharp.com
db0b5fc1ed Bug 358569: When running with reduced FPU precision, the rounding error introduced by |d -=L*ds;| will cause |if (!(d *= 10.)) break;| to never be true, causing an infinite loop and consequent crash. Given |k| is already known, we know how often the loop should run, so use that as stop condition, also avoiding overwriting memory with 0. Patch by Keith Victor of MediaMachines, r=igor, r=crowder
git-svn-id: svn://10.0.0.236/trunk@215041 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 18:53:24 +00:00
mozilla.mano%sent.com
622888839f Bug 349380 - better UI for registerContentHandler. r=gavin.
git-svn-id: svn://10.0.0.236/trunk@215040 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 18:45:18 +00:00
mozilla.BenB%bucksch.org
e3fd27b04f Show quota as tiny progressmeter in main window status bar, if set and usage higher than a configurable threshold, to hint users at quota.
Backend part already checked in by bienvenu on 2006-09-25.
Bug 278096, r=bienvenu, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@215039 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 18:40:26 +00:00
cls%seawood.org
3edced3b0f Generate quickparse.txt along with the rest of the static pages.
Bug #359908 r=justdave


git-svn-id: svn://10.0.0.236/trunk@215038 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 17:46:10 +00:00
mats.palmgren%bredband.net
54cfbc0751 Make NS_LIKELY/NS_UNLIKELY accept pointers etc. b=340244 r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@215037 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 17:41:03 +00:00
mats.palmgren%bredband.net
e5aaecc35e Right arrow key (to collapse selection to right) does not scroll textbox to show caret. b=352759 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@215034 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 16:37:10 +00:00
benjamin%smedbergs.us
d3d0bc60ef Preprocessors are not that smart, try again.
git-svn-id: svn://10.0.0.236/trunk@215033 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 16:05:43 +00:00
benjamin%smedbergs.us
8d0a106758 Attempt to fix Windows-optimized-only build bustage from bug 345517. Anticipated r=vlad ;-)
git-svn-id: svn://10.0.0.236/trunk@215032 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 16:03:24 +00:00
benjamin%smedbergs.us
6ed0bbfee0 Bug 345517, try #2, make the browser component use frozen linkage, so that ff+xr builds. This does *not* --enable-libxul by default for Firefox (yet). That will wait until after 1.9a1. Older patch r=darin+mento, revisions r=mano
git-svn-id: svn://10.0.0.236/trunk@215031 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 15:12:24 +00:00
benjamin%smedbergs.us
b75752771b Bug 345517, try #2, make the browser component use frozen linkage, so that ff+xr builds. This does *not* --enable-libxul by default for Firefox (yet). That will wait until after 1.9a1. Older patch r=darin+mento, revisions r=mano
git-svn-id: svn://10.0.0.236/trunk@215030 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 15:02:29 +00:00
aaronleventhal%moonset.net
a0ef0d41c5 Bug 357625. getTextAtOffset doesn't seem to work well with text with <br> in it. r=ginn.chen
git-svn-id: svn://10.0.0.236/trunk@215029 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 14:49:21 +00:00
joshmoz%gmail.com
49441a4f0c Selection is not erased when Find Next from the Find window causes the page to scroll. b=311304 p=smorgan r=sfraser sr=pinkerton
git-svn-id: svn://10.0.0.236/trunk@215028 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 14:00:08 +00:00
cvshook%sicking.cc
ff69f339f4 Don't use ranges when getting the value of a textfield since we get the value in the middle of tearing down a document. b=359674 r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@215023 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 08:43:26 +00:00
philringnalda%gmail.com
82733c5e23 Bug 354081: Remove unused entities for Help throbber, r=gavin
git-svn-id: svn://10.0.0.236/trunk@215022 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 05:17:41 +00:00
philringnalda%gmail.com
e85a6ad1ad Bug 274010: Restore default set in customize toolbars should restore icon size and mode, patch by Hiro <sugar.waffle@gmail.com>, r=me, sr+a=mscott
git-svn-id: svn://10.0.0.236/trunk@215021 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 05:09:40 +00:00
mhammond%skippinet.com.au
3dc130dacf When passing arrays of interfaces to an XPCOM method, we didn't know the
declared IID to obtain.  This prevented us detecting arrays of variants
and giving them the same special treatment normal Variants get.  Fix that.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@215020 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 04:31:13 +00:00
mhammond%skippinet.com.au
5f49ed82bf If someone passes a bad IID string, raise a normal Python ValueError
rather than synthesizing an XPCOM error.
Not part of the build


git-svn-id: svn://10.0.0.236/trunk@215019 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 04:20:47 +00:00
mats.palmgren%bredband.net
63efc8703b Make bookmarks "Sorted By" menu localizable and add accesskeys (Bookmarks Manager part). b=91774 r=mano
git-svn-id: svn://10.0.0.236/trunk@215018 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 03:03:05 +00:00
mats.palmgren%bredband.net
e896065884 Make bookmarks "Sorted By" menu localizable and add accesskeys (Places part). b=91774 r=mano
git-svn-id: svn://10.0.0.236/trunk@215017 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 03:02:02 +00:00
ginn.chen%sun.com
a0c4d50494 Bug 359210 Firefox hangs when loading the attached page
temporary fix by aaronleventhal r=ginn.chen


git-svn-id: svn://10.0.0.236/trunk@215015 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 02:26:34 +00:00
mats.palmgren%bredband.net
86fd929d58 XBL needs simple defense against infinite recursion. b=55070 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@215013 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 01:58:12 +00:00
mhammond%skippinet.com.au
e7b8f7f7de Generate better .py code and handle some 'new' xpcom data types.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@215012 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 01:05:31 +00:00
pavlov%pavlov.net
837bbc7c8e bug 359314. bandaiding over crash when #chars > #glyphs when justifying. r=vlad
git-svn-id: svn://10.0.0.236/trunk@215010 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 00:37:50 +00:00
pavlov%pavlov.net
ebcfa70d5d removing unused variables. r=me
git-svn-id: svn://10.0.0.236/trunk@215005 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 00:06:49 +00:00
cvshook%sicking.cc
c43f628b5a Fix svg:script and only flag inline scripts as executed once they contain non-empty script content. b=359598 r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@215004 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 00:02:21 +00:00
scott%scott-macgregor.org
7c8591e633 Bug #359134 --> integrate Thunderbird with necko's automatic online/offline management. When we detect the network connection has gone down, automatically move the client into offline mode, and back to online mode when the connection comes back up.
tools/cross-commit  mail/app/profile/all-thunderbird.js  mail/base/content/mail-offline.js mailnews/extensions/offline-startup/js/offlineStartup.js mailnews/mailnews.js -m Bug


git-svn-id: svn://10.0.0.236/trunk@215003 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 23:59:21 +00:00
Olli.Pettay%helsinki.fi
33d1b0ff23 Bug 359495, layout/xtf reminder in allmakefiles.sh, r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@214993 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 22:45:49 +00:00
kairo%kairo.at
fe2c55fb99 bug 359687 - XULRunner pkg packages should correctly follow filename specs, r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@214983 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 21:27:46 +00:00
despotdaemon
da06fb675d Pseudo-automatic update of changes made by dansmith@adobe.com.
git-svn-id: svn://10.0.0.236/trunk@214982 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 21:15:45 +00:00
stejohns%adobe.com
efa5c0514c *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@214981 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 21:03:34 +00:00
cls%seawood.org
0cf289d362 Remove lockfile if $::data_dir can't be read
git-svn-id: svn://10.0.0.236/trunk@214980 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 20:55:30 +00:00
despotdaemon
af20629719 Pseudo-automatic update of changes made by cpeyer@adobe.com.
git-svn-id: svn://10.0.0.236/trunk@214977 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 20:01:01 +00:00
sayrer%gmail.com
764b1c1d9a make gen_template.pl work from anywhere with FindBin
git-svn-id: svn://10.0.0.236/trunk@214975 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 19:19:19 +00:00
sayrer%gmail.com
0f8c8c6c17 turn off default browser check
git-svn-id: svn://10.0.0.236/trunk@214973 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 18:46:54 +00:00
kaie%kuix.de
34d8a1381a Bug 356309, CertVerifyLog in CERT_VerifyCertificate terminates early on expired certs
r=rrelyea


git-svn-id: svn://10.0.0.236/trunk@214972 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 18:41:53 +00:00
sayrer%gmail.com
963334ca67 Bug 348447. feed sanitizer whitelist accessibility and i18n. missed review comments on previous checkin: r=bsmedberg, sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@214971 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 18:25:18 +00:00
sayrer%gmail.com
eeec08e8d4 Bug 348447. feed sanitizer whitelist accessibility and i18n.
git-svn-id: svn://10.0.0.236/trunk@214970 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 18:20:55 +00:00
kaie%kuix.de
4e7811927f Bug 356109, Improve KU_NON_REPUDIATION indication in client auth prompt
r=rrelyea


git-svn-id: svn://10.0.0.236/trunk@214969 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 18:14:21 +00:00
mark%moxienet.com
2ea02f27a2 Xcode compatibility junk from 359218
git-svn-id: svn://10.0.0.236/trunk@214967 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 17:56:03 +00:00
gavin%gavinsharp.com
68056965f1 Try backing out the patch for bug 319654 to see if it fixes the Mac orange
git-svn-id: svn://10.0.0.236/trunk@214966 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 17:52:58 +00:00
bugzilla%standard8.demon.co.uk
414a0c7535 Bug 350688 Dictionaries should form part of the locale pack in the installer (os2 part). r=ajschult,sr=neil.
git-svn-id: svn://10.0.0.236/trunk@214965 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 17:05:49 +00:00
joshmoz%gmail.com
86b284ddcc back out part of 346954 to fix Flash when migrating a profile from PPC to x86. b=356694 r=sayrer sr=jst
git-svn-id: svn://10.0.0.236/trunk@214964 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 16:43:17 +00:00
scott%scott-macgregor.org
121aea9904 Bug #359653 --> Don't show the sending unsent messages progress text unless we know we have unsent messages to send.
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@214962 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 16:00:14 +00:00
stridey%gmail.com
67f7707d11 Camino only - Bug 359826. Textual and behavioral polish for the Webfeatures prefpane. r=ardissone sr=smorgan
git-svn-id: svn://10.0.0.236/trunk@214961 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 15:31:01 +00:00
daniel.boelzle%sun.com
0b67e90d61 Bug 340949: different error handling, minor logging
git-svn-id: svn://10.0.0.236/trunk@214959 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 14:56:55 +00:00
mattwillis%gmail.com
5a177884a0 bug 351031 - Fixes wrong aligned date in month printout. Patch by Martin Schröder <mschroeder@mozilla.x-home.org>, r=lilmatt
git-svn-id: svn://10.0.0.236/trunk@214958 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 14:14:55 +00:00
silver%warwickcompsoc.co.uk
baaa986760 Bug 359637 - Use font-family and generic font class instead of specific font, so that changing the font size works on the default motif.
ChatZilla only.
r=samuel


git-svn-id: svn://10.0.0.236/trunk@214956 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 12:55:21 +00:00
silver%warwickcompsoc.co.uk
1b8ae1bfc6 Bug 329440 - Work around flaws in ECMA 262 Ed 3 section 13.2.2 step 7 by throwing instead.
ChatZilla only.
r=samuel


git-svn-id: svn://10.0.0.236/trunk@214955 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 12:44:23 +00:00
Olli.Pettay%helsinki.fi
961f8536ec Bug 359242, remove nsXBLWindowDragHandler, r=sicking, sr=neil
git-svn-id: svn://10.0.0.236/trunk@214953 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 11:03:13 +00:00
ginn.chen%sun.com
5ce0982a60 Bug 358884 Add assertion to ensure accessible object with a text child supports the right interfaces
patch by Evan Yan at sun.com r=aaronleventhal,hwaara


git-svn-id: svn://10.0.0.236/trunk@214952 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 08:22:46 +00:00
scott%scott-macgregor.org
4cdbfdbc67 back out my checkin since the tree is closed.
git-svn-id: svn://10.0.0.236/trunk@214950 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 07:25:52 +00:00
sayrer%gmail.com
a6c0d4e4ef Perl doesn't work that well if you write JavaScript in it
git-svn-id: svn://10.0.0.236/trunk@214947 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 07:07:44 +00:00
scott%scott-macgregor.org
d793c7b55d Bug #359653 --> consolidate offline management front end code. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@214946 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 06:38:00 +00:00
despotdaemon
a4102c5a51 Pseudo-automatic update of changes made by romaxa@gmail.com.
git-svn-id: svn://10.0.0.236/trunk@214944 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 06:19:13 +00:00
stuart.morgan%alumni.case.edu
20ec56a9b6 Camino only - Bug 358620: Switch to use native NSSearchField widget in Bookmark Manager. r=hwaara r=alqahira sr=pink
git-svn-id: svn://10.0.0.236/trunk@214943 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 06:16:10 +00:00
stuart.morgan%alumni.case.edu
cf1bc10df1 Camino only - Bug 342232: Disable various menu items when window/tab contains binary content. r=cl sr=pink
git-svn-id: svn://10.0.0.236/trunk@214938 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 06:06:15 +00:00
bzbarsky%mit.edu
25dac94482 Create DOM nodes for processing instructions in XUL. Bug 319654, patch by
Nickolay Ponomarev <asqueella@gmail.com>, r+sr=bzbarsky.


git-svn-id: svn://10.0.0.236/trunk@214929 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 02:25:37 +00:00
vladimir%pobox.com
f14c43ee28 b=359002, single-pixel images are being drawn with wrong color; bugfix to previous patch, r=stuart
git-svn-id: svn://10.0.0.236/trunk@214927 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 01:34:10 +00:00
vladimir%pobox.com
f17b9d8ce1 b=328380, bad scrolling performance using large fixed-positioned repeating background images; cairo patch to/from upstrea; r=me
git-svn-id: svn://10.0.0.236/trunk@214926 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 01:31:17 +00:00
despotdaemon
f8da73a0b0 Pseudo-automatic update of changes made by brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@214923 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 01:13:06 +00:00
despotdaemon
5137debecb Pseudo-automatic update of changes made by brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@214916 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 00:55:20 +00:00
vladimir%pobox.com
92bcef3698 b=358951, odd 1px line with tiled background image (images being rendered at non-pixel-aligned locations), r=stuart
git-svn-id: svn://10.0.0.236/trunk@214906 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 00:06:06 +00:00
vladimir%pobox.com
1be599e877 b=359266, cairo win32 surface cleanup and fixes; from upstream, r=me
git-svn-id: svn://10.0.0.236/trunk@214900 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 23:40:23 +00:00
bienvenu%nventure.com
1214b8de0c add MsgCreateDBView topic notification when we create a view, which makes it easier for custom column handlers to hook into new views, patch by kent@caspia.com, r/sr=bienvenu 359357
git-svn-id: svn://10.0.0.236/trunk@214899 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 23:34:00 +00:00
shaver%mozilla.org
0abb1cd5fe Fixing shell XCode project (bug 359850), r=stejohns.
git-svn-id: svn://10.0.0.236/trunk@214895 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 22:58:36 +00:00
sspitzer%mozilla.org
be4dc056b3 fix for bug #359093: need to encode version string for the app.update.never.X pref name, which will be needed if (when?) we decided to send over any localized "pretty" text for the version attribute (see bug #359082)
r=dietrich, rstrong


git-svn-id: svn://10.0.0.236/trunk@214893 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 22:54:27 +00:00
despotdaemon
d4042f7ac8 Pseudo-automatic update of changes made by wsharp@adobe.com.
git-svn-id: svn://10.0.0.236/trunk@214888 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 21:20:27 +00:00
despotdaemon
677ee82e35 Pseudo-automatic update of changes made by brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@214882 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 19:29:58 +00:00
mike.morgan%oregonstate.edu
8fd863ae75 Added divx support for PFS. See bug 358937.
git-svn-id: svn://10.0.0.236/trunk@214880 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 19:27:55 +00:00
lpsolit%gmail.com
ad65874bf7 Bug 359768: Confusing error message when a user has too many votes for a product - Patch by Frédéric Buclin <LpSolit@gmail.com> r=timeless a=myk
git-svn-id: svn://10.0.0.236/trunk@214879 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 19:05:41 +00:00
despotdaemon
ee54c30f1c Pseudo-automatic update of changes made by benjamin@smedbergs.us.
git-svn-id: svn://10.0.0.236/trunk@214878 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 18:40:04 +00:00
despotdaemon
ea18b3d85a Pseudo-automatic update of changes made by benjamin@smedbergs.us.
git-svn-id: svn://10.0.0.236/trunk@214877 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 18:35:05 +00:00
despotdaemon
a0ecd1d508 Pseudo-automatic update of changes made by benjamin@smedbergs.us.
git-svn-id: svn://10.0.0.236/trunk@214876 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 18:34:26 +00:00
shaver%mozilla.org
a0925953b9 update expedia plugin
git-svn-id: svn://10.0.0.236/trunk@214867 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 17:07:33 +00:00
thomas.benisch%sun.com
3624cb9c51 bug #359016 JavaScript error current item is not defined r=jminta
git-svn-id: svn://10.0.0.236/trunk@214864 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 10:30:33 +00:00
daniel.boelzle%sun.com
41581b4215 Bug 340949: use default calendar calId, may be different from userId
git-svn-id: svn://10.0.0.236/trunk@214863 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 10:20:31 +00:00
despotdaemon
201d063762 Pseudo-automatic update of changes made by brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@214862 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 07:56:00 +00:00
scott%scott-macgregor.org
8854b06dc8 Bug #359653 --> Consolidate Offline management in the front end.
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@214860 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 06:20:42 +00:00
despotdaemon
c746023b23 Pseudo-automatic update of changes made by dbaron@dbaron.org.
git-svn-id: svn://10.0.0.236/trunk@214857 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 05:39:39 +00:00
despotdaemon
6b8a15a3d9 Pseudo-automatic update of changes made by dbaron@dbaron.org.
git-svn-id: svn://10.0.0.236/trunk@214856 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 05:38:00 +00:00
brendan%mozilla.org
3e65a5ddd4 Tamarin (AVM2 open source) initial revision.
git-svn-id: svn://10.0.0.236/trunk@214853 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 05:35:54 +00:00
mrbkap%gmail.com
25c9ec0f96 Set up the pseudo frame more carefully. bug 354978, r=brendan
git-svn-id: svn://10.0.0.236/trunk@214852 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 05:09:53 +00:00
bclary%bclary.com
fdd69d687c JavaScript Test - regression test for bug 355344, by Jesse Ruderman
git-svn-id: svn://10.0.0.236/trunk@214851 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 04:40:46 +00:00
ginn.chen%sun.com
1075020407 backing out Bug 144000 caret browsing - bad initial position
due to regressions


git-svn-id: svn://10.0.0.236/trunk@214850 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 03:48:48 +00:00
bzbarsky%mit.edu
5525c8b256 Improve wording of the postdata dialog. Bug 112848, patch by Magnus Melin
<mkmelin+mozilla@iki.fi>, r=darin, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@214849 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 03:28:50 +00:00
dbaron%dbaron.org
22643e09aa Include libpng/zlib headers as system headers when using system libpng/zlib. b=359000/359001 r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@214848 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 03:21:20 +00:00
bzbarsky%mit.edu
c5606ecd83 Fix build bustage in --disable-xul builds. Bug 357453 followup, patch by
romaxa <romaxa@gmail.com>, r=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@214846 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 03:13:49 +00:00
gavin%gavinsharp.com
cf303ea370 Bug 357853: if no browser window exists, -new-tab <url> doesn't open <url>, r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@214845 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 03:10:18 +00:00
philringnalda%gmail.com
48e3215c1b Bug 350785: Form Manager stores data even if autocomplete is off, r=bsmedberg,mano
git-svn-id: svn://10.0.0.236/trunk@214844 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 02:08:56 +00:00
sayrer%gmail.com
72fa31a253 add test for XUL min/max in bug 359754
git-svn-id: svn://10.0.0.236/trunk@214843 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 02:06:15 +00:00
mrbkap%gmail.com
10f4e54168 Add an API on the presshell for invalidating the caret if it isn't currently
contained entirely in its frame. Use it in the editor where we remove the
caret's frame out from under it without properly notifying it (due to selection
batching). bug 335065, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@214842 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 01:35:36 +00:00
mrbkap%gmail.com
de6160d7ee Munge call ops for delete in the code generator instead of the parser because the parser doesn't have enough information to always munge correctly. bug 356693, r=brendan
git-svn-id: svn://10.0.0.236/trunk@214841 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 01:32:02 +00:00
mrbkap%gmail.com
8c67b9b6dd Propagate any exceptions thrown. bug 355344, r=brendan
git-svn-id: svn://10.0.0.236/trunk@214840 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 01:30:16 +00:00
cvshook%sicking.cc
e1f3f66c5b Bug 359657: Fix crash due to wrong signature in overload. Patch by bz. r/sr=sicking
git-svn-id: svn://10.0.0.236/trunk@214838 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 01:05:15 +00:00
sayrer%gmail.com
12f4a8e2aa Add XUL and XHTML templates, add handlers for gen_template.pl
git-svn-id: svn://10.0.0.236/trunk@214837 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 00:56:50 +00:00
cvshook%sicking.cc
7681025c49 Add some more assertions to DoSetRange. r/sr=jst b=358106
git-svn-id: svn://10.0.0.236/trunk@214835 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-06 23:52:30 +00:00
cvshook%sicking.cc
7d41db9309 Bug 359490: Put BeginUpdate call before FlushText call in FlushTags. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@214834 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-06 23:50:33 +00:00
sayrer%gmail.com
a7c08d7adf change XHTML code to use packed.js
git-svn-id: svn://10.0.0.236/trunk@214833 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-06 23:48:49 +00:00
sayrer%gmail.com
2474b91eb4 Upgrade to MochiKit trunk with upstream XUL DOM code
git-svn-id: svn://10.0.0.236/trunk@214832 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-06 23:48:11 +00:00
gavin%gavinsharp.com
662fb0d812 Bug 264663: don't re-open closed popup-blocked notifications when switching tabs, r=mano
git-svn-id: svn://10.0.0.236/trunk@214831 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-06 23:41:31 +00:00
ccooper%deadsquid.com
2f42eac4fa - adding Camino configs to public CVS
git-svn-id: svn://10.0.0.236/trunk@214829 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-06 22:53:41 +00:00
mike.morgan%oregonstate.edu
26b68fe94d Removing debug flag.
git-svn-id: svn://10.0.0.236/trunk@214824 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-06 22:15:54 +00:00
mozilla%justcameron.com
9123e2d135 Bug 359084
rustico: some ugly excess platform text when viewing an add-on that's not available for your platform
r=shaver
Changed CSS but then forgot the dictionaries page with initial patch.


git-svn-id: svn://10.0.0.236/trunk@214823 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-06 22:15:32 +00:00
rhelmer%mozilla.com
83787db15b compute load averages correctly. checkin for Adam Guthrie (ispiked). b=350631, r=rhelmer, r=bz
git-svn-id: svn://10.0.0.236/trunk@214822 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-06 22:01:14 +00:00
mike.morgan%oregonstate.edu
68a8e56db4 Adding trunk versions for sunbird updates. This is from bug 341971.
git-svn-id: svn://10.0.0.236/trunk@214820 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-06 21:27:07 +00:00
philringnalda%gmail.com
910a243736 Bug 288079: Cancel customizing toolbars hides buttons placed before menuitems, r+a=mscott
git-svn-id: svn://10.0.0.236/trunk@214819 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-06 21:15:09 +00:00
ccooper%deadsquid.com
966c5e19aa - adding SeaMonkey configs for Mac
git-svn-id: svn://10.0.0.236/trunk@214818 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-06 20:51:20 +00:00
ccooper%deadsquid.com
a09bae548f - adding XULRunner configs for Linux
git-svn-id: svn://10.0.0.236/trunk@214814 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-06 20:46:23 +00:00
ccooper%deadsquid.com
98567d5a73 - adding SeaMonkey config for Linux
git-svn-id: svn://10.0.0.236/trunk@214813 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-06 20:31:45 +00:00
ccooper%deadsquid.com
6f9baa5ec4 - adding Thunderbird configs for Linux
git-svn-id: svn://10.0.0.236/trunk@214807 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-06 20:24:15 +00:00
mvl%exedo.nl
29d30f8a73 bug 357252: make parsing quoted timezone ids work, and don't cut ics values at commas when there can be only one value. r=dbo. This part of the patch was still missing
git-svn-id: svn://10.0.0.236/trunk@214806 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-06 20:21:46 +00:00
mark%moxienet.com
b24b3213ce Extra fix from 359218
git-svn-id: svn://10.0.0.236/trunk@214805 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-06 20:18:56 +00:00
45 changed files with 15753 additions and 498 deletions

View File

@@ -0,0 +1,364 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 tw=80 et cindent: */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Terry Hayes <thayes@netscape.com>
* Javier Delgadillo <javi@netscape.com>
* Oleg Romashin <romaxa@gmail.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
/**
* Derived from nsNSSDialogs http://landfill.mozilla.org/mxr-test/seamonkey/source/security/manager/pki/src/nsNSSDialogs.cpp
*/
#include <strings.h>
#include "nsIURI.h"
#include "EmbedPrivate.h"
#include "nsServiceManagerUtils.h"
#include "nsIWebNavigationInfo.h"
#include "nsDocShellCID.h"
#include "nsCOMPtr.h"
#ifdef MOZILLA_INTERNAL_API
#include "nsString.h"
#include "nsXPIDLString.h"
#include "nsReadableUtils.h"
#else
#include "nsStringAPI.h"
#endif
#include "nsIPrompt.h"
#include "nsIDOMWindowInternal.h"
#include "nsIComponentManager.h"
#include "nsIServiceManager.h"
#include "nsIStringBundle.h"
#include "nsIInterfaceRequestor.h"
#include "nsIInterfaceRequestorUtils.h"
#include "nsIX509Cert.h"
#include "nsIX509CertDB.h"
#include "nsILocaleService.h"
#include "nsIDateTimeFormat.h"
#include "nsDateTimeFormatCID.h"
#include "EmbedCertificates.h"
#include "nsIKeygenThread.h"
#include "nsIX509CertValidity.h"
#include "nsICRLInfo.h"
#include "gtkmozembed.h"
#define PIPSTRING_BUNDLE_URL "chrome://pippki/locale/pippki.properties"
static NS_DEFINE_CID(kCStringBundleServiceCID, NS_STRINGBUNDLESERVICE_CID);
EmbedCertificates::EmbedCertificates(void)
{
}
EmbedCertificates::~EmbedCertificates()
{
}
NS_IMPL_THREADSAFE_ADDREF(EmbedCertificates)
NS_IMPL_THREADSAFE_RELEASE(EmbedCertificates)
NS_INTERFACE_MAP_BEGIN(EmbedCertificates)
NS_INTERFACE_MAP_ENTRY(nsITokenPasswordDialogs)
NS_INTERFACE_MAP_ENTRY(nsIBadCertListener)
#ifdef BAD_CERT_LISTENER2
NS_INTERFACE_MAP_ENTRY(nsIBadCertListener2)
#endif
NS_INTERFACE_MAP_ENTRY(nsICertificateDialogs)
NS_INTERFACE_MAP_ENTRY(nsIClientAuthDialogs)
NS_INTERFACE_MAP_ENTRY(nsICertPickDialogs)
NS_INTERFACE_MAP_ENTRY(nsITokenDialogs)
NS_INTERFACE_MAP_ENTRY(nsIGeneratingKeypairInfoDialogs)
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIDOMCryptoDialogs)
NS_INTERFACE_MAP_END
nsresult
EmbedCertificates::Init(void)
{
nsresult rv;
nsCOMPtr<nsIStringBundleService> service = do_GetService(kCStringBundleServiceCID, &rv);
if (NS_FAILED(rv)) return NS_OK;
rv = service->CreateBundle(PIPSTRING_BUNDLE_URL,
getter_AddRefs(mPIPStringBundle));
return NS_OK;
}
nsresult
EmbedCertificates::SetPassword(nsIInterfaceRequestor *ctx,
const PRUnichar *tokenName, PRBool* _canceled)
{
*_canceled = PR_FALSE;
return NS_OK;
}
nsresult
EmbedCertificates::GetPassword(nsIInterfaceRequestor *ctx,
const PRUnichar *tokenName,
PRUnichar **_password,
PRBool* _canceled)
{
*_canceled = PR_FALSE;
return NS_OK;
}
NS_IMETHODIMP
EmbedCertificates::ConfirmUnknownIssuer(nsIInterfaceRequestor *socketInfo,
nsIX509Cert *cert, PRInt16 *outAddType,
PRBool *_retval)
{
*outAddType = ADD_TRUSTED_FOR_SESSION;
*_retval = PR_TRUE;
return NS_OK;
}
NS_IMETHODIMP
EmbedCertificates::ConfirmMismatchDomain(nsIInterfaceRequestor *socketInfo,
const nsACString &targetURL,
nsIX509Cert *cert, PRBool *_retval)
{
*_retval = PR_TRUE;
return NS_OK;
}
NS_IMETHODIMP
EmbedCertificates::ConfirmCertExpired(nsIInterfaceRequestor *socketInfo,
nsIX509Cert *cert, PRBool *_retval)
{
*_retval = PR_TRUE;
return NS_OK;
}
NS_IMETHODIMP
EmbedCertificates::NotifyCrlNextupdate(nsIInterfaceRequestor *socketInfo,
const nsACString &targetURL, nsIX509Cert *cert)
{
return NS_OK;
}
NS_IMETHODIMP
EmbedCertificates::CrlImportStatusDialog(nsIInterfaceRequestor *ctx, nsICRLInfo *crl)
{
return NS_OK;
}
NS_IMETHODIMP
EmbedCertificates::ConfirmDownloadCACert(nsIInterfaceRequestor *ctx,
nsIX509Cert *cert,
PRUint32 *_trust,
PRBool *_retval)
{
*_retval = PR_TRUE;
*_trust |= nsIX509CertDB::TRUSTED_SSL;
*_trust |= nsIX509CertDB::TRUSTED_EMAIL;
*_trust |= nsIX509CertDB::TRUSTED_OBJSIGN;
return NS_OK;
}
NS_IMETHODIMP
EmbedCertificates::NotifyCACertExists(nsIInterfaceRequestor *ctx)
{
return NS_OK;
}
NS_IMETHODIMP
EmbedCertificates::ChooseCertificate(
nsIInterfaceRequestor *ctx,
const PRUnichar *cn,
const PRUnichar *organization,
const PRUnichar *issuer,
const PRUnichar **certNickList,
const PRUnichar **certDetailsList,
PRUint32 count,
PRInt32 *selectedIndex,
PRBool *canceled)
{
*canceled = PR_FALSE;
return NS_OK;
}
NS_IMETHODIMP
EmbedCertificates::PickCertificate(
nsIInterfaceRequestor *ctx,
const PRUnichar **certNickList,
const PRUnichar **certDetailsList,
PRUint32 count,
PRInt32 *selectedIndex,
PRBool *canceled)
{
*canceled = PR_FALSE;
return NS_OK;
}
NS_IMETHODIMP
EmbedCertificates::SetPKCS12FilePassword(
nsIInterfaceRequestor *ctx,
nsAString &_password,
PRBool *_retval)
{
/* The person who wrote this method implementation did
* not read the contract.
*/
*_retval = PR_FALSE;
return NS_OK;
}
NS_IMETHODIMP
EmbedCertificates::GetPKCS12FilePassword(
nsIInterfaceRequestor *ctx,
nsAString &_password,
PRBool *_retval)
{
/* The person who wrote this method implementation did
* not read the contract.
*/
*_retval = PR_FALSE;
return NS_OK;
}
/* void viewCert (in nsIX509Cert cert); */
NS_IMETHODIMP
EmbedCertificates::ViewCert(
nsIInterfaceRequestor *ctx,
nsIX509Cert *cert)
{
return NS_OK;
}
NS_IMETHODIMP
EmbedCertificates::DisplayGeneratingKeypairInfo(nsIInterfaceRequestor *aCtx, nsIKeygenThread *runnable)
{
return NS_OK;
}
NS_IMETHODIMP
EmbedCertificates::ChooseToken(
nsIInterfaceRequestor *aCtx,
const PRUnichar **aTokenList,
PRUint32 aCount,
PRUnichar **aTokenChosen,
PRBool *aCanceled)
{
*aCanceled = PR_FALSE;
return NS_OK;
}
/* boolean ConfirmKeyEscrow (in nsIX509Cert escrowAuthority); */
NS_IMETHODIMP
EmbedCertificates::ConfirmKeyEscrow(nsIX509Cert *escrowAuthority, PRBool *_retval)
{
*_retval = PR_TRUE;
return NS_OK;
}
#ifdef BAD_CERT_LISTENER2
NS_IMETHODIMP
EmbedCertificates::ConfirmBadCertificate(
nsIInterfaceRequestor *ctx,
nsIX509Cert *cert,
PRBool aSecSuccess,
PRUint32 aError,
PRBool *_retval)
{
nsresult rv;
gpointer pCert = NULL;
guint messint = 0;
nsCOMPtr<nsIDOMWindow> parent(do_GetInterface(ctx));
GtkMozEmbedCommon * common = nsnull;
GtkMozEmbed *parentWidget = GTK_MOZ_EMBED(GetGtkWidgetForDOMWindow(parent));
if (!parentWidget) {
EmbedCommon * embedcommon = EmbedCommon::GetInstance();
if (embedcommon)
common = GTK_MOZ_EMBED_COMMON(embedcommon->mCommon);
}
if (!(aError & nsIX509Cert::VERIFIED_OK)) {
pCert = (gpointer)cert;
messint = GTK_MOZ_EMBED_CERT_VERIFIED_OK;
if (aError & nsIX509Cert::NOT_VERIFIED_UNKNOWN) {
messint |= GTK_MOZ_EMBED_CERT_NOT_VERIFIED_UNKNOWN;
}
if (aError & nsIX509Cert::CERT_EXPIRED || aError & nsIX509Cert::CERT_REVOKED) {
nsCOMPtr<nsIX509CertValidity> validity;
rv = cert->GetValidity(getter_AddRefs(validity));
if (NS_SUCCEEDED(rv)) {
PRTime notBefore, notAfter, timeToUse;
PRTime now = PR_Now();
rv = validity->GetNotBefore(&notBefore);
if (NS_FAILED(rv))
return rv;
rv = validity->GetNotAfter(&notAfter);
if (NS_FAILED(rv))
return rv;
if (LL_CMP(now, >, notAfter)) {
messint |= GTK_MOZ_EMBED_CERT_EXPIRED;
timeToUse = notAfter;
} else {
messint |= GTK_MOZ_EMBED_CERT_REVOKED;
timeToUse = notBefore;
}
}
}
if (aError & nsIX509Cert::CERT_NOT_TRUSTED) {
messint |= GTK_MOZ_EMBED_CERT_UNTRUSTED;
}
if (aError & nsIX509Cert::ISSUER_UNKNOWN) {
messint |= GTK_MOZ_EMBED_CERT_ISSUER_UNKNOWN;
}
if (aError & nsIX509Cert::ISSUER_NOT_TRUSTED) {
messint |= GTK_MOZ_EMBED_CERT_ISSUER_UNTRUSTED;
}
if (aError & nsIX509Cert::INVALID_CA) {
messint |= GTK_MOZ_EMBED_CERT_INVALID_CA;
}
if (aError & nsIX509Cert::USAGE_NOT_ALLOWED) {
}
PRBool retVal = PR_FALSE;
if (common) {
g_signal_emit_by_name(common, "certificate-error", pCert, messint, &retVal);
}
if (retVal == PR_TRUE) {
*_retval = PR_FALSE;
rv = NS_ERROR_FAILURE;
} else {
rv = NS_OK;
*_retval = PR_TRUE;
}
pCert = NULL;
} else {
rv = NS_OK;
*_retval = PR_TRUE;
}
return rv;
}
#endif

View File

@@ -0,0 +1,96 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 et cindent: */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Terry Hayes <thayes@netscape.com>
* Javier Delgadillo <javi@netscape.com>
* Oleg Romashin <romaxa@gmail.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
/**
* Derived from nsNSSDialogs http://landfill.mozilla.org/mxr-test/seamonkey/source/security/manager/pki/src/nsNSSDialogs.h
*/
#ifndef __EmbedCertificates_h
#define __EmbedCertificates_h
#include "nsITokenPasswordDialogs.h"
#include "nsIBadCertListener.h"
#ifdef BAD_CERT_LISTENER2
#include "nsIBadCertListener2.h"
#endif
#include "nsICertificateDialogs.h"
#include "nsIClientAuthDialogs.h"
#include "nsICertPickDialogs.h"
#include "nsITokenDialogs.h"
#include "nsIDOMCryptoDialogs.h"
#include "nsIGenKeypairInfoDlg.h"
#include "nsCOMPtr.h"
#include "nsIStringBundle.h"
#define EMBED_CERTIFICATES_CID \
{ 0x518e071f, 0x1dd2, 0x11b2, \
{ 0x93, 0x7e, 0xc4, 0x5f, 0x14, 0xde, 0xf7, 0x78 }}
#define EMBED_CERTIFICATES_DESCRIPTION "Certificates Listener Impl"
class EmbedPrivate;
class EmbedCertificates
: public nsITokenPasswordDialogs,
public nsIBadCertListener,
#ifdef BAD_CERT_LISTENER2
public nsIBadCertListener2,
#endif
public nsICertificateDialogs,
public nsIClientAuthDialogs,
public nsICertPickDialogs,
public nsITokenDialogs,
public nsIDOMCryptoDialogs,
public nsIGeneratingKeypairInfoDialogs
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSITOKENPASSWORDDIALOGS
NS_DECL_NSIBADCERTLISTENER
#ifdef BAD_CERT_LISTENER2
NS_DECL_NSIBADCERTLISTENER2
#endif
NS_DECL_NSICERTIFICATEDIALOGS
NS_DECL_NSICLIENTAUTHDIALOGS
NS_DECL_NSICERTPICKDIALOGS
NS_DECL_NSITOKENDIALOGS
NS_DECL_NSIDOMCRYPTODIALOGS
NS_DECL_NSIGENERATINGKEYPAIRINFODIALOGS
EmbedCertificates();
virtual ~EmbedCertificates();
nsresult Init(void);
protected:
nsCOMPtr<nsIStringBundle> mPIPStringBundle;
};
#endif /* __EmbedCertificates_h */

View File

@@ -0,0 +1,182 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 tw=80 et cindent: */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Christopher Blizzard. Portions created by Christopher Blizzard are Copyright (C) Christopher Blizzard. All Rights Reserved.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Christopher Blizzard <blizzard@mozilla.org>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include <strings.h>
#include "nsIURI.h"
#include "EmbedContentListener.h"
#include "EmbedPrivate.h"
#include "nsServiceManagerUtils.h"
#include "nsIWebNavigationInfo.h"
#include "nsDocShellCID.h"
EmbedContentListener::EmbedContentListener(void)
{
mOwner = nsnull;
}
EmbedContentListener::~EmbedContentListener()
{
}
NS_IMPL_ISUPPORTS2(EmbedContentListener,
nsIURIContentListener,
nsISupportsWeakReference)
nsresult
EmbedContentListener::Init(EmbedPrivate *aOwner)
{
mOwner = aOwner;
return NS_OK;
}
NS_IMETHODIMP
EmbedContentListener::OnStartURIOpen(nsIURI *aURI,
PRBool *aAbortOpen)
{
nsresult rv;
if (mOwner->mOpenBlock) {
*aAbortOpen = mOwner->mOpenBlock;
mOwner->mOpenBlock = PR_FALSE;
return NS_OK;
}
nsCAutoString specString;
rv = aURI->GetSpec(specString);
if (NS_FAILED(rv))
return rv;
gint return_val = FALSE;
/* checks if URI scheme is mailto */
aURI->SchemeIs("mailto", &return_val);
if (return_val) {
/* stops URI opening to emit "mailto" signal */
*aAbortOpen = TRUE;
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[MAILTO],
specString.get());
return NS_OK;
}
// otherwise ...
return_val = FALSE;
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[OPEN_URI],
specString.get(), &return_val);
*aAbortOpen = return_val;
return NS_OK;
}
NS_IMETHODIMP
EmbedContentListener::DoContent(const char *aContentType,
PRBool aIsContentPreferred,
nsIRequest *aRequest,
nsIStreamListener **aContentHandler,
PRBool *aAbortProcess)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
EmbedContentListener::IsPreferred(const char *aContentType,
char **aDesiredContentType,
PRBool *aCanHandleContent)
{
return CanHandleContent(aContentType, PR_TRUE, aDesiredContentType,
aCanHandleContent);
}
NS_IMETHODIMP
EmbedContentListener::CanHandleContent(const char *aContentType,
PRBool aIsContentPreferred,
char **aDesiredContentType,
PRBool *_retval)
{
*_retval = PR_FALSE;
*aDesiredContentType = nsnull;
if (aContentType) {
nsCOMPtr<nsIWebNavigationInfo> webNavInfo(
do_GetService(NS_WEBNAVIGATION_INFO_CONTRACTID));
if (webNavInfo) {
PRUint32 canHandle;
nsresult rv =
webNavInfo->IsTypeSupported(nsDependentCString(aContentType),
mOwner ? mOwner->mNavigation.get() : nsnull,
&canHandle); //FIXME XXX MEMLEAK
NS_ENSURE_SUCCESS(rv, rv);
*_retval = (canHandle != nsIWebNavigationInfo::UNSUPPORTED);
}
}
return NS_OK;
}
NS_IMETHODIMP
EmbedContentListener::GetLoadCookie(nsISupports **aLoadCookie)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
EmbedContentListener::SetLoadCookie(nsISupports *aLoadCookie)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
EmbedContentListener::GetParentContentListener(nsIURIContentListener **aParent)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
EmbedContentListener::SetParentContentListener(nsIURIContentListener *aParent)
{
return NS_ERROR_NOT_IMPLEMENTED;
}

View File

@@ -0,0 +1,68 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 et cindent: */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Christopher Blizzard. Portions created by Christopher Blizzard are Copyright (C) Christopher Blizzard. All Rights Reserved.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Christopher Blizzard <blizzard@mozilla.org>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef __EmbedContentListener_h
#define __EmbedContentListener_h
#include "nsIURIContentListener.h"
#include "nsWeakReference.h"
class EmbedPrivate;
class EmbedContentListener : public nsIURIContentListener,
public nsSupportsWeakReference
{
public:
EmbedContentListener();
virtual ~EmbedContentListener();
nsresult Init(EmbedPrivate *aOwner);
NS_DECL_ISUPPORTS
NS_DECL_NSIURICONTENTLISTENER
private:
EmbedPrivate *mOwner;
};
#endif /* __EmbedContentListener_h */

View File

@@ -0,0 +1,634 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 tw=80 et cindent: */
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Oleg Romashin. Portions created by Oleg Romashin are Copyright (C) Oleg Romashin. All Rights Reserved.
* Portions created by the Initial Developer are Copyright (C) 2006
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Oleg Romashin <romaxa@gmail.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "EmbedContextMenuInfo.h"
#include "nsIImageLoadingContent.h"
#include "imgILoader.h"
#include "nsIDOMDocument.h"
#include "nsIDOMHTMLDocument.h"
#include "nsIDOMHTMLElement.h"
#include "nsIDOMHTMLHtmlElement.h"
#include "nsIDOMHTMLAnchorElement.h"
#include "nsIDOMHTMLImageElement.h"
#include "nsIDOMHTMLAreaElement.h"
#include "nsIDOMHTMLLinkElement.h"
#include "nsIDOMDocumentView.h"
#include "nsIDOMAbstractView.h"
#include "nsIDOMViewCSS.h"
#include "nsIDOMCSSStyleDeclaration.h"
#include "nsIDOMCSSValue.h"
#include "nsIDOMCSSPrimitiveValue.h"
#include "nsNetUtil.h"
#include "nsUnicharUtils.h"
#include "nsIDOMMouseEvent.h"
#include "nsIDOMNSEvent.h"
#include "nsIDOMWindow.h"
#include "nsIDOMWindowCollection.h"
#include "nsIWebBrowser.h"
#include "nsIDOM3Document.h"
#include "nsIContent.h"
#include "nsIPresShell.h"
#include "nsIFormControl.h"
#include "nsIDOMNSHTMLInputElement.h"
#include "nsIDOMNSHTMLTextAreaElement.h"
#include "nsIDOMHTMLInputElement.h"
#include "nsIDOMHTMLTextAreaElement.h"
#include "nsIDOMNSHTMLDocument.h"
#include "nsIDOMNodeList.h"
#include "nsISelection.h"
#include "nsIDocument.h"
#include "EmbedPrivate.h"
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <glib.h>
#if defined(FIXED_BUG347731) || !defined(MOZ_ENABLE_LIBXUL)
#include "nsIFrame.h"
#endif
//*****************************************************************************
// class EmbedContextMenuInfo
//*****************************************************************************
EmbedContextMenuInfo::EmbedContextMenuInfo(EmbedPrivate *aOwner) : mCtxFrameNum(-1), mEmbedCtxType(0)
{
mOwner = aOwner;
mEventNode = nsnull;
mCtxDocument = nsnull;
mNSHHTMLElement = nsnull;
mNSHHTMLElementSc = nsnull;
mCtxEvent = nsnull;
mEventNode = nsnull;
mFormRect = nsRect(0,0,0,0);
}
EmbedContextMenuInfo::~EmbedContextMenuInfo(void)
{
mEventNode = nsnull;
mCtxDocument = nsnull;
mNSHHTMLElement = nsnull;
mNSHHTMLElementSc = nsnull;
mCtxEvent = nsnull;
mEventNode = nsnull;
}
NS_IMPL_ADDREF(EmbedContextMenuInfo)
NS_IMPL_RELEASE(EmbedContextMenuInfo)
NS_INTERFACE_MAP_BEGIN(EmbedContextMenuInfo)
NS_INTERFACE_MAP_ENTRY(nsISupports)
NS_INTERFACE_MAP_END
nsresult
EmbedContextMenuInfo::SetFrameIndex()
{
nsCOMPtr<nsIDOMWindowCollection> frames;
mCtxDomWindow->GetFrames(getter_AddRefs(frames));
nsCOMPtr<nsIDOMWindow> currentWindow;
PRUint32 frameCount = 0;
frames->GetLength(&frameCount);
for (unsigned int i= 0; i < frameCount; i++) {
frames->Item(i, getter_AddRefs(currentWindow));
nsCOMPtr<nsIDOMDocument> currentDoc;
currentWindow->GetDocument(getter_AddRefs(currentDoc));
if (currentDoc == mCtxDocument) {
mCtxFrameNum = i;
mCtxDomWindow = currentWindow;
nsCOMPtr<nsIDocument> doc = do_QueryInterface(currentDoc);
if (doc)
mCtxDocTitle = doc->GetDocumentTitle();
return NS_OK;
}
}
return NS_ERROR_FAILURE;
}
nsresult
EmbedContextMenuInfo::GetFormControlType(nsIDOMEvent* aEvent)
{
if (!aEvent)
return NS_OK;
nsCOMPtr<nsIDOMNSEvent> nsevent(do_QueryInterface(aEvent));
nsCOMPtr<nsIDOMEventTarget> target;
nsevent->GetOriginalTarget(getter_AddRefs(target));
// mOrigTarget = target;
if (SetFormControlType(target)) {
nsCOMPtr<nsIDOMNode> eventNode = do_QueryInterface(target);
if (!eventNode)
return NS_OK;
//Frame Stuff
nsCOMPtr<nsIDOMDocument> domDoc;
nsresult rv = eventNode->GetOwnerDocument(getter_AddRefs(domDoc));
if (!NS_SUCCEEDED(rv) || !domDoc) {
return NS_OK;
}
mEventNode = eventNode;
mCtxDocument = domDoc;
nsCOMPtr<nsIDocument> doc = do_QueryInterface(mCtxDocument);
if (!doc)
return NS_OK;
nsIPresShell *presShell = doc->GetShellAt(0);
if (!presShell)
return NS_OK;
nsCOMPtr<nsIContent> tgContent = do_QueryInterface(mEventTarget);
nsIFrame* frame = nsnull;
#if defined(FIXED_BUG347731) || !defined(MOZ_ENABLE_LIBXUL)
#ifdef MOZILLA_1_8_BRANCH
presShell->GetPrimaryFrameFor(tgContent, &frame);
#else
frame = presShell->GetPrimaryFrameFor(tgContent);
#endif
if (frame)
mFormRect = frame->GetScreenRectExternal();
#endif
return NS_OK;
}
return NS_ERROR_FAILURE;
}
nsresult
EmbedContextMenuInfo::SetFormControlType(nsIDOMEventTarget *originalTarget)
{
nsresult rv = NS_ERROR_FAILURE;
nsCOMPtr<nsIContent> targetContent = do_QueryInterface(originalTarget);
mCtxFormType = 0;
#ifdef MOZILLA_1_8_BRANCH
if (targetContent && targetContent->IsContentOfType(nsIContent::eHTML_FORM_CONTROL)) {
#else
if (targetContent && targetContent->IsNodeOfType(nsIContent::eHTML_FORM_CONTROL)) {
#endif
nsCOMPtr<nsIFormControl> formControl(do_QueryInterface(targetContent));
if (formControl) {
mCtxFormType = formControl->GetType();
rv = NS_OK;
//#ifdef MOZ_LOGGING
switch (mCtxFormType) {
case NS_FORM_BUTTON_BUTTON:
break;
case NS_FORM_BUTTON_RESET:
break;
case NS_FORM_BUTTON_SUBMIT:
break;
case NS_FORM_INPUT_BUTTON:
break;
case NS_FORM_INPUT_CHECKBOX:
break;
case NS_FORM_INPUT_FILE:
mEmbedCtxType |= GTK_MOZ_EMBED_CTX_INPUT;
break;
case NS_FORM_INPUT_HIDDEN:
break;
case NS_FORM_INPUT_RESET:
break;
case NS_FORM_INPUT_IMAGE:
break;
case NS_FORM_INPUT_PASSWORD:
mEmbedCtxType |= GTK_MOZ_EMBED_CTX_INPUT;
mEmbedCtxType |= GTK_MOZ_EMBED_CTX_IPASSWORD;
break;
case NS_FORM_INPUT_RADIO:
break;
case NS_FORM_INPUT_SUBMIT:
break;
case NS_FORM_INPUT_TEXT:
mEmbedCtxType |= GTK_MOZ_EMBED_CTX_INPUT;
break;
case NS_FORM_LABEL:
break;
case NS_FORM_OPTION:
break;
case NS_FORM_OPTGROUP:
break;
case NS_FORM_LEGEND:
break;
case NS_FORM_SELECT:
break;
case NS_FORM_TEXTAREA:
mEmbedCtxType |= GTK_MOZ_EMBED_CTX_INPUT;
break;
case NS_FORM_OBJECT:
break;
default:
break;
}
if (mEmbedCtxType & GTK_MOZ_EMBED_CTX_INPUT) {
PRBool rdonly = PR_FALSE;
if (mCtxFormType == NS_FORM_TEXTAREA) {
nsCOMPtr<nsIDOMHTMLTextAreaElement> input;
input = do_QueryInterface(mEventNode, &rv);
if (!NS_FAILED(rv) && input)
rv = input->GetReadOnly(&rdonly);
if (!NS_FAILED(rv) && rdonly) {
mEmbedCtxType |= GTK_MOZ_EMBED_CTX_ROINPUT;
}
} else {
nsCOMPtr<nsIDOMHTMLInputElement> input;
input = do_QueryInterface(mEventNode, &rv);
if (!NS_FAILED(rv) && input)
rv = input->GetReadOnly(&rdonly);
if (!NS_FAILED(rv) && rdonly) {
mEmbedCtxType |= GTK_MOZ_EMBED_CTX_ROINPUT;
}
}
}
//#endif
}
}
return rv;
}
const char*
EmbedContextMenuInfo::GetSelectedText()
{
nsString cString;
nsresult rv = NS_ERROR_FAILURE;
if (mCtxFormType != 0 && mEventNode) {
PRInt32 TextLength = 0, selStart = 0, selEnd = 0;
if (mCtxFormType == NS_FORM_INPUT_TEXT || mCtxFormType == NS_FORM_INPUT_FILE) {
nsCOMPtr<nsIDOMNSHTMLInputElement> nsinput = do_QueryInterface(mEventNode, &rv);
if (NS_SUCCEEDED(rv) && nsinput)
nsinput->GetTextLength(&TextLength);
if (TextLength > 0) {
nsinput->GetSelectionEnd(&selEnd);
nsinput->GetSelectionStart(&selStart);
if (selStart < selEnd || mCtxFormType == NS_FORM_INPUT_FILE) {
nsCOMPtr<nsIDOMHTMLInputElement> input = do_QueryInterface(mEventNode, &rv);
rv = input->GetValue(cString);
}
}
} else if (mCtxFormType == NS_FORM_TEXTAREA) {
nsCOMPtr<nsIDOMNSHTMLTextAreaElement> nsinput = do_QueryInterface(mEventNode, &rv);
if (NS_SUCCEEDED(rv) && nsinput)
nsinput->GetTextLength(&TextLength);
if (TextLength > 0) {
nsinput->GetSelectionStart(&selStart);
nsinput->GetSelectionEnd(&selEnd);
if (selStart < selEnd) {
nsCOMPtr<nsIDOMHTMLTextAreaElement> input = do_QueryInterface(mEventNode, &rv);
rv = input->GetValue(cString);
}
}
}
if (NS_SUCCEEDED(rv) && !cString.IsEmpty()) {
if (selStart < selEnd) {
cString.Cut(0, selStart);
cString.Cut(selEnd-selStart, TextLength);
}
rv = NS_OK;
}
} else if (mCtxDocument) {
nsCOMPtr<nsIDOMNSHTMLDocument> htmlDoc = do_QueryInterface(mCtxDocument, &rv);
if (NS_FAILED(rv) || !htmlDoc)
return nsnull;
rv = htmlDoc->GetSelection(cString);
if (NS_FAILED(rv) || cString.IsEmpty())
return nsnull;
rv = NS_OK;
}
if (rv == NS_OK) {
return NS_ConvertUTF16toUTF8(cString).get();
}
return nsnull;
}
nsresult
EmbedContextMenuInfo::CheckDomImageElement(nsIDOMNode *node, nsString& aHref,
PRInt32 *aWidth, PRInt32 *aHeight)
{
nsresult rv = NS_ERROR_FAILURE;
nsCOMPtr<nsIDOMHTMLImageElement> image =
do_QueryInterface(node, &rv);
if (image) {
rv = image->GetSrc(aHref);
if (NS_FAILED(rv)) {
return rv;
}
rv = image->GetWidth(aWidth);
rv = image->GetHeight(aHeight);
rv = NS_OK;
}
return rv;
}
nsresult
EmbedContextMenuInfo::GetImageRequest(imgIRequest **aRequest, nsIDOMNode *aDOMNode)
{
NS_ENSURE_ARG(aDOMNode);
NS_ENSURE_ARG_POINTER(aRequest);
// Get content
nsCOMPtr<nsIImageLoadingContent> content(do_QueryInterface(aDOMNode));
NS_ENSURE_TRUE(content, NS_ERROR_FAILURE);
return content->GetRequest(nsIImageLoadingContent::CURRENT_REQUEST,
aRequest);
}
nsresult
EmbedContextMenuInfo::CheckDomHtmlNode(nsIDOMNode *aNode)
{
nsresult rv = NS_ERROR_FAILURE;
nsString uTag;
PRUint16 dnode_type;
nsCOMPtr<nsIDOMNode> node;
if (!aNode && mEventNode)
node = mEventNode;
nsCOMPtr<nsIDOMHTMLElement> element = do_QueryInterface(node, &rv);
if (!element) {
element = do_QueryInterface(mOrigNode, &rv);
if (element) {
node = mOrigNode;
element = do_QueryInterface(node, &rv);
}
}
rv = node->GetNodeType(&dnode_type);
if (NS_FAILED(rv)) {
return rv;
}
if (!((nsIDOMNode::ELEMENT_NODE == dnode_type) && element)) {
return rv;
}
nsCOMPtr<nsIDOMNSHTMLElement> nodeElement = do_QueryInterface(node, &rv);
if (NS_SUCCEEDED(rv) && nodeElement) {
mNSHHTMLElement = nodeElement;
} else {
mNSHHTMLElement = nsnull;
}
rv = element->GetLocalName(uTag);
if (NS_FAILED(rv)) {
return rv;
}
if (uTag.LowerCaseEqualsLiteral("object")) {
}
else if (uTag.LowerCaseEqualsLiteral("html")) {
}
else if (uTag.LowerCaseEqualsLiteral("a")) {
nsCOMPtr<nsIDOMHTMLAnchorElement> anchor = do_QueryInterface(node);
anchor->GetHref(mCtxHref);
mEmbedCtxType |= GTK_MOZ_EMBED_CTX_LINK;
if (anchor && !mCtxHref.IsEmpty()) {
if (mCtxHref.LowerCaseEqualsLiteral("text/smartbookmark")) {
nsCOMPtr<nsIDOMNode> childNode;
node->GetFirstChild(getter_AddRefs(childNode));
if (childNode) {
PRInt32 width, height;
rv = CheckDomImageElement(node, mCtxImgHref, &width, &height);
if (NS_SUCCEEDED(rv))
mEmbedCtxType |= GTK_MOZ_EMBED_CTX_IMAGE;
}
} else if (StringBeginsWith(mCtxHref, NS_LITERAL_STRING("mailto:"))) {
mEmbedCtxType |= GTK_MOZ_EMBED_CTX_EMAIL;
}
}
}
else if (uTag.LowerCaseEqualsLiteral("area")) {
nsCOMPtr<nsIDOMHTMLAreaElement> area = do_QueryInterface(node, &rv);
if (NS_SUCCEEDED(rv) && area) {
PRBool aNoHref = PR_FALSE;
rv = area->GetNoHref(&aNoHref);
if (aNoHref == PR_FALSE)
rv = area->GetHref(mCtxHref);
else
rv = area->GetTarget(mCtxHref);
mEmbedCtxType |= GTK_MOZ_EMBED_CTX_LINK;
rv = NS_OK;
}
}
else if (uTag.LowerCaseEqualsLiteral("img")) {
PRInt32 width, height;
rv = CheckDomImageElement(node, mCtxImgHref, &width, &height);
if (NS_SUCCEEDED(rv))
mEmbedCtxType |= GTK_MOZ_EMBED_CTX_IMAGE;
} else {
rv = NS_ERROR_FAILURE;
}
return rv;
}
nsresult
EmbedContextMenuInfo::UpdateContextData(void *aEvent)
{
NS_ENSURE_ARG_POINTER(aEvent);
nsresult rv;
nsCOMPtr<nsIDOMEvent> event = do_QueryInterface((nsISupports*)aEvent, &rv);
if (NS_FAILED(rv) || !event)
return NS_ERROR_FAILURE;
return UpdateContextData(event);
}
nsresult
EmbedContextMenuInfo::GetElementForScroll(nsIDOMEvent *aEvent)
{
if (!aEvent) return NS_ERROR_UNEXPECTED;
nsCOMPtr<nsIDOMNSEvent> nsevent(do_QueryInterface(aEvent));
nsCOMPtr<nsIDOMEventTarget> target;
nsevent->GetOriginalTarget(getter_AddRefs(target));
if (!target) return NS_ERROR_UNEXPECTED;
nsCOMPtr<nsIDOMNode> targetDOMNode(do_QueryInterface(target));
if (!targetDOMNode) return NS_ERROR_UNEXPECTED;
nsCOMPtr<nsIDOMDocument> targetDOMDocument;
targetDOMNode->GetOwnerDocument(getter_AddRefs(targetDOMDocument));
if (!targetDOMDocument) return NS_ERROR_UNEXPECTED;
return GetElementForScroll(targetDOMDocument);
}
nsresult
EmbedContextMenuInfo::GetElementForScroll(nsIDOMDocument *targetDOMDocument)
{
nsCOMPtr<nsIDOMElement> targetDOMElement;
targetDOMDocument->GetDocumentElement(getter_AddRefs(targetDOMElement));
if (!targetDOMElement) return NS_ERROR_UNEXPECTED;
nsString bodyName(NS_LITERAL_STRING("body"));
nsCOMPtr<nsIDOMNodeList> bodyList;
targetDOMElement->GetElementsByTagName(bodyName, getter_AddRefs(bodyList));
PRUint32 i = 0;
bodyList->GetLength(&i);
if (i) {
nsCOMPtr<nsIDOMNode> domBodyNode;
bodyList->Item(0, getter_AddRefs(domBodyNode));
if (!domBodyNode) return NS_ERROR_UNEXPECTED;
mNSHHTMLElementSc = do_QueryInterface(domBodyNode);
if (!mNSHHTMLElementSc) return NS_ERROR_UNEXPECTED;
}
return NS_OK;
}
nsresult
EmbedContextMenuInfo::UpdateContextData(nsIDOMEvent *aDOMEvent)
{
if (mCtxEvent == aDOMEvent)
return NS_OK;
nsresult rv = nsnull;
mCtxEvent = aDOMEvent;
NS_ENSURE_ARG_POINTER(mCtxEvent);
PRUint16 eventphase;
mCtxEvent->GetEventPhase(&eventphase);
if (!eventphase) {
mCtxEvent = nsnull;
return NS_ERROR_FAILURE;
}
nsCOMPtr<nsIDOMEventTarget> originalTarget = nsnull;
nsCOMPtr<nsIDOMNode> originalNode = nsnull;
nsCOMPtr<nsIDOMNSEvent> aEvent = do_QueryInterface(mCtxEvent, &rv);
if (NS_FAILED(rv) || !aEvent)
return NS_OK;
nsCOMPtr<nsIDOMMouseEvent> mouseEvent(do_QueryInterface(mCtxEvent, &rv));
if (mouseEvent) {
((nsIDOMMouseEvent*)mouseEvent)->GetClientX(&mX);
((nsIDOMMouseEvent*)mouseEvent)->GetClientY(&mY);
}
if (aEvent)
rv = aEvent->GetOriginalTarget(getter_AddRefs(originalTarget));
originalNode = do_QueryInterface(originalTarget);
if (NS_FAILED(rv) || !originalNode)
return NS_ERROR_NULL_POINTER;
// nsresult SelText = mOwner->ClipBoardAction(GTK_MOZ_EMBED_CAN_COPY);
if (originalNode == mOrigNode)
return NS_OK;
mEmbedCtxType = GTK_MOZ_EMBED_CTX_NONE;
mOrigNode = originalNode;
if (mOrigNode) {
nsString SOrigNode;
mOrigNode->GetNodeName(SOrigNode);
if (SOrigNode.EqualsLiteral("#document"))
return NS_OK;
if (SOrigNode.EqualsLiteral("xul:thumb")
|| SOrigNode.EqualsLiteral("xul:slider")
|| SOrigNode.EqualsLiteral("xul:scrollbarbutton")
|| SOrigNode.EqualsLiteral("xul:vbox")
|| SOrigNode.EqualsLiteral("xul:spacer")) {
mEmbedCtxType |= GTK_MOZ_EMBED_CTX_XUL;
return NS_OK;
}
}
if (mCtxEvent)
rv = mCtxEvent->GetTarget(getter_AddRefs(mEventTarget));
if (NS_FAILED(rv) || !mEventTarget) {
return NS_OK;
}
nsCOMPtr<nsIDOMNode> eventNode = do_QueryInterface(mEventTarget, &rv);
mEventNode = eventNode;
//Frame Stuff
nsCOMPtr<nsIDOMDocument> domDoc;
if (mEventNode)
rv = mEventNode->GetOwnerDocument(getter_AddRefs(domDoc));
if (!NS_SUCCEEDED(rv) || !domDoc) {
// return NS_OK;
}
if (NS_SUCCEEDED(rv) && domDoc && mCtxDocument != domDoc) {
mCtxDocument = domDoc;
mNSHHTMLElementSc = nsnull;
nsCOMPtr<nsIDOM3Document> docuri = do_QueryInterface(mCtxDocument);
docuri->GetDocumentURI(mCtxURI);
NS_ENSURE_ARG_POINTER(mOwner);
nsCOMPtr<nsIWebBrowser> webBrowser;
mOwner->mWindow->GetWebBrowser(getter_AddRefs(webBrowser));
webBrowser->GetContentDOMWindow(getter_AddRefs(mCtxDomWindow));
nsCOMPtr<nsIDOMDocument> mainDocument;
mCtxDomWindow->GetDocument(getter_AddRefs(mainDocument));
if (!mainDocument) {
return NS_OK;
}
mCtxFrameNum = -1;
if (mainDocument != domDoc) {
mEmbedCtxType |= GTK_MOZ_EMBED_CTX_IFRAME;
SetFrameIndex();
}
}
nsCOMPtr<nsIDOMElement> targetDOMElement;
mCtxDocument->GetDocumentElement(getter_AddRefs(targetDOMElement));
if (!targetDOMElement) return NS_ERROR_UNEXPECTED;
nsCOMPtr<nsIDOMNSHTMLDocument> htmlDoc = do_QueryInterface(mCtxDocument);
if (htmlDoc) {
nsString DMode;
htmlDoc->GetDesignMode(DMode);
if (DMode.EqualsLiteral("on")) {
mEmbedCtxType |= GTK_MOZ_EMBED_CTX_INPUT;
mEmbedCtxType |= GTK_MOZ_EMBED_CTX_RICHEDIT;
}
}
nsCOMPtr<nsIDocument> doc = do_QueryInterface(mCtxDocument);
if (!doc)
return NS_OK;
nsIPresShell *presShell = doc->GetShellAt(0);
if (!presShell)
return NS_OK;
nsCOMPtr<nsIContent> tgContent = do_QueryInterface(mEventTarget);
nsIFrame* frame = nsnull;
#if defined(FIXED_BUG347731) || !defined(MOZ_ENABLE_LIBXUL)
if (mEmbedCtxType & GTK_MOZ_EMBED_CTX_RICHEDIT)
frame = presShell->GetRootFrame();
else {
#ifdef MOZILLA_1_8_BRANCH
frame = nsnull;
presShell->GetPrimaryFrameFor(tgContent, &frame);
#else
frame = presShell->GetPrimaryFrameFor(tgContent);
#endif
}
if (frame) {
mFormRect = frame->GetScreenRectExternal();
}
#endif
if (NS_SUCCEEDED(SetFormControlType(mEventTarget))) {
return NS_OK;
}
CheckDomHtmlNode();
nsCOMPtr<nsIDOMNode> node = mEventNode;
nsCOMPtr<nsIDOMNode> parentNode;
node->GetParentNode(getter_AddRefs(parentNode));
node = parentNode;
while (node) {
if (NS_FAILED(CheckDomHtmlNode()))
break;
node->GetParentNode(getter_AddRefs(parentNode));
node = parentNode;
}
mEmbedCtxType |= GTK_MOZ_EMBED_CTX_DOCUMENT;
return NS_OK;
}

View File

@@ -0,0 +1,101 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 tw=80 et cindent: */
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is the Mozilla browser.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Oleg Romashin. Portions created by Oleg Romashin are Copyright (C) Oleg Romashin. All Rights Reserved.
* Portions created by the Initial Developer are Copyright (C) 2006
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Oleg Romashin <romaxa@gmail.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef EmbedContextMenuInfo_h__
#define EmbedContextMenuInfo_h__
#include "nsCOMPtr.h"
#include "nsIDOMNode.h"
#include "nsIDOMEvent.h"
#include "imgIContainer.h"
#include "imgIRequest.h"
#include "nsIDOMEventTarget.h"
#include "nsRect.h"
// for strings
#ifdef MOZILLA_INTERNAL_API
#include "nsXPIDLString.h"
#include "nsReadableUtils.h"
#endif
#include "EmbedWindow.h"
#include "nsIDOMNSHTMLElement.h"
//*****************************************************************************
// class EmbedContextMenuInfo
//
//*****************************************************************************
class EmbedContextMenuInfo : public nsISupports
{
public:
EmbedContextMenuInfo(EmbedPrivate *aOwner);
virtual ~EmbedContextMenuInfo(void);
NS_DECL_ISUPPORTS
nsresult GetFormControlType(nsIDOMEvent *aDOMEvent);
nsresult UpdateContextData(nsIDOMEvent *aDOMEvent);
nsresult UpdateContextData(void *aEvent);
const char* GetSelectedText();
nsresult GetElementForScroll(nsIDOMDocument *targetDOMDocument);
nsresult GetElementForScroll(nsIDOMEvent *aEvent);
nsresult CheckDomImageElement(nsIDOMNode *node, nsString& aHref,
PRInt32 *aWidth, PRInt32 *aHeight);
nsresult GetImageRequest(imgIRequest **aRequest, nsIDOMNode *aDOMNode);
nsString GetCtxDocTitle(void) { return mCtxDocTitle; };
PRInt32 mX, mY, mObjWidth, mObjHeight, mCtxFrameNum;
nsString mCtxURI, mCtxHref, mCtxImgHref;
PRUint32 mEmbedCtxType;
PRInt32 mCtxFormType;
nsCOMPtr<nsIDOMNode> mEventNode;
nsCOMPtr<nsIDOMEventTarget> mEventTarget;
nsCOMPtr<nsIDOMDocument>mCtxDocument;
nsRect mFormRect;
nsCOMPtr<nsIDOMWindow> mCtxDomWindow;
nsCOMPtr<nsIDOMEvent> mCtxEvent;
nsCOMPtr<nsIDOMNSHTMLElement> mNSHHTMLElement;
nsCOMPtr<nsIDOMNSHTMLElement> mNSHHTMLElementSc;
private:
nsresult SetFrameIndex();
nsresult SetFormControlType(nsIDOMEventTarget *originalTarget);
nsresult CheckDomHtmlNode(nsIDOMNode *aNode = nsnull);
EmbedPrivate *mOwner;
nsCOMPtr<nsIDOMNode> mOrigNode;
nsString mCtxDocTitle;
}; // class EmbedContextMenuInfo
#endif // EmbedContextMenuInfo_h__

View File

@@ -0,0 +1,328 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 tw=80 et cindent: */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Christopher Blizzard. Portions created by Christopher Blizzard are Copyright (C) Christopher Blizzard. All Rights Reserved.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Christopher Blizzard <blizzard@mozilla.org>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
/**
* Derived from GContentHandler http://landfill.mozilla.org/mxr-test/gnome/source/galeon/mozilla/ContentHandler.cpp
*/
#include "EmbedDownloadMgr.h"
#include "EmbedGtkTools.h"
#ifdef MOZILLA_INTERNAL_API
#include "nsXPIDLString.h"
#else
#include "nsComponentManagerUtils.h"
#endif
#include "nsIChannel.h"
#include "nsIWebProgress.h"
#include "nsIDOMWindow.h"
#include "nsIURI.h"
#include "nsCRT.h"
#include "nsIPromptService.h"
#include "nsIWebProgressListener2.h"
#include "nsCOMPtr.h"
#include "nsIServiceManager.h"
#include "nsIInterfaceRequestorUtils.h"
#include "nsIURI.h"
#include "nsIURL.h"
#include "nsIFile.h"
#include "nsIDOMWindow.h"
#include "nsIExternalHelperAppService.h"
#include "nsCExternalHandlerService.h"
#include "nsMemory.h"
#include "nsNetError.h"
#include "nsIStreamListener.h"
#include "nsIFile.h"
#include "nsILocalFile.h"
#include "nsNetCID.h"
#include <unistd.h>
#include "gtkmozembed_download.h"
#include "nsIIOService.h"
#define UNKNOWN_FILE_SIZE -1
class EmbedDownloadMgr;
class ProgressListener : public nsIWebProgressListener2
{
public:
ProgressListener(EmbedDownload *aDownload):mDownload(aDownload)
{
};
~ProgressListener(void)
{
};
NS_DECL_ISUPPORTS
NS_DECL_NSIWEBPROGRESSLISTENER
NS_DECL_NSIWEBPROGRESSLISTENER2
EmbedDownload *mDownload;
};
NS_IMPL_ISUPPORTS2(ProgressListener, nsIWebProgressListener2, nsIWebProgressListener)
NS_IMPL_ISUPPORTS1(EmbedDownloadMgr, nsIHelperAppLauncherDialog)
EmbedDownloadMgr::EmbedDownloadMgr(void)
{
}
EmbedDownloadMgr::~EmbedDownloadMgr(void)
{
}
static gchar *
RemoveSchemeFromFilePath(gchar *path)
{
gchar *new_path = path;
if (!strncmp(path, "file://", 7)) {
/* XXX this should really look for the first non / after file:/ instead of
* assuming file://tmp v. file:///tmp
*/
new_path = g_strdup(path+sizeof("file:/"));
g_free(path);
}
return new_path;
}
NS_IMETHODIMP
EmbedDownloadMgr::Show(nsIHelperAppLauncher *aLauncher,
nsISupports *aContext,
PRUint32 aForced)
{
nsresult rv;
/* create a Download object */
GtkObject* instance = gtk_moz_embed_download_new();
mDownload = (EmbedDownload *) GTK_MOZ_EMBED_DOWNLOAD(instance)->data;
mDownload->parent = instance;
rv = GetDownloadInfo(aLauncher, aContext);
/* Retrieve GtkMozEmbed object from DOM Window */
nsCOMPtr<nsIDOMWindow> parentDOMWindow = do_GetInterface(aContext);
mDownload->gtkMozEmbedParentWidget = GetGtkWidgetForDOMWindow(parentDOMWindow);
gtk_signal_emit(GTK_OBJECT(mDownload->gtkMozEmbedParentWidget),
moz_embed_signals[DOWNLOAD_REQUEST],
mDownload->server,
mDownload->file_name,
mDownload->file_type,
(gulong) mDownload->file_size,
1);
gtk_signal_emit(GTK_OBJECT(mDownload->parent),
moz_embed_download_signals[DOWNLOAD_STARTED_SIGNAL],
&mDownload->file_name_with_path);
if (!mDownload->file_name_with_path) {
gtk_moz_embed_download_do_command(GTK_MOZ_EMBED_DOWNLOAD(mDownload->parent),
GTK_MOZ_EMBED_DOWNLOAD_CANCEL);
return NS_OK;
}
mDownload->file_name_with_path = RemoveSchemeFromFilePath(mDownload->file_name_with_path);
return aLauncher->SaveToDisk(nsnull, PR_FALSE);
}
NS_METHOD
EmbedDownloadMgr::GetDownloadInfo(nsIHelperAppLauncher *aLauncher,
nsISupports *aContext)
{
/* File type */
nsCOMPtr<nsIMIMEInfo> mimeInfo;
nsresult rv = aLauncher->GetMIMEInfo(getter_AddRefs(mimeInfo));
if (NS_FAILED(rv))
return NS_ERROR_FAILURE;
nsCAutoString mimeType;
rv = mimeInfo->GetMIMEType(mimeType);
if (NS_FAILED(rv))
return NS_ERROR_FAILURE;
/* File name */
nsCAutoString tempFileName;
nsAutoString suggestedFileName;
rv = aLauncher->GetSuggestedFileName(suggestedFileName);
if (NS_FAILED(rv))
return NS_ERROR_FAILURE;
tempFileName = NS_ConvertUTF16toUTF8(suggestedFileName);
/* Complete source URL */
nsCOMPtr<nsIURI> uri;
rv = aLauncher->GetSource(getter_AddRefs(uri));
if (NS_FAILED(rv))
return NS_ERROR_FAILURE;
nsCAutoString spec;
rv = uri->Resolve(NS_LITERAL_CSTRING("."), spec);
if (NS_FAILED(rv))
return NS_ERROR_FAILURE;
/* Sets download object to keep control of each download. */
mDownload->launcher = aLauncher;
mDownload->downloaded_size = -1;
mDownload->file_name = g_strdup((gchar *) tempFileName.get());
mDownload->server = g_strconcat(spec.get(), (gchar *) mDownload->file_name, NULL);
mDownload->file_type = g_strdup(mimeType.get());
mDownload->file_size = UNKNOWN_FILE_SIZE;
return NS_OK;
}
NS_IMETHODIMP EmbedDownloadMgr::PromptForSaveToFile(nsIHelperAppLauncher *aLauncher,
nsISupports *aWindowContext,
const PRUnichar *aDefaultFile,
const PRUnichar *aSuggestedFileExtension,
nsILocalFile **_retval)
{
*_retval = nsnull;
nsCAutoString filePath;
filePath.Assign(mDownload->file_name_with_path);
nsCOMPtr<nsILocalFile> destFile;
NS_NewNativeLocalFile(filePath,
PR_TRUE,
getter_AddRefs(destFile));
if (!destFile)
return NS_ERROR_OUT_OF_MEMORY;
/* Progress listener to follow the download and connecting it to
the launcher which controls the download. */
nsCOMPtr<nsIWebProgressListener2> listener = new ProgressListener(mDownload);
if (!listener)
return NS_ERROR_OUT_OF_MEMORY;
nsresult rv = aLauncher->SetWebProgressListener(listener);
if (NS_FAILED(rv))
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval = destFile);
return NS_OK;
}
/* nsIWebProgressListener Functions
all these methods must be here due to nsIWebProgressListener/2 inheritance */
NS_IMETHODIMP ProgressListener::OnStatusChange(nsIWebProgress *aWebProgress,
nsIRequest *aRequest,
nsresult aStatus,
const PRUnichar *aMessage)
{
if (NS_SUCCEEDED(aStatus))
return NS_OK;
return NS_ERROR_FAILURE;
}
NS_IMETHODIMP ProgressListener::OnStateChange(nsIWebProgress *aWebProgress,
nsIRequest *aRequest, PRUint32 aStateFlags,
nsresult aStatus)
{
if (NS_FAILED(aStatus))
return NS_ERROR_FAILURE;
if (aStateFlags & STATE_STOP)
gtk_signal_emit(GTK_OBJECT(mDownload->parent),
moz_embed_download_signals[DOWNLOAD_COMPLETED_SIGNAL]);
return NS_OK;
}
NS_IMETHODIMP ProgressListener::OnProgressChange(nsIWebProgress *aWebProgress,
nsIRequest *aRequest, PRInt32 aCurSelfProgress,
PRInt32 aMaxSelfProgress, PRInt32 aCurTotalProgress,
PRInt32 aMaxTotalProgress)
{
return OnProgressChange64(aWebProgress,
aRequest,
aCurSelfProgress,
aMaxSelfProgress,
aCurTotalProgress,
aMaxTotalProgress);
}
NS_IMETHODIMP ProgressListener::OnLocationChange(nsIWebProgress *aWebProgress,
nsIRequest *aRequest, nsIURI *location)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP ProgressListener::OnSecurityChange(nsIWebProgress *aWebProgress,
nsIRequest *aRequest, PRUint32 state)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIWebProgressListener2 method */
NS_IMETHODIMP ProgressListener::OnProgressChange64(nsIWebProgress *aWebProgress,
nsIRequest *aRequest, PRInt64 aCurSelfProgress,
PRInt64 aMaxSelfProgress, PRInt64 aCurTotalProgress,
PRInt64 aMaxTotalProgress)
{
mDownload->request = aRequest;
if (aMaxSelfProgress != UNKNOWN_FILE_SIZE) {
gtk_signal_emit(GTK_OBJECT(mDownload->parent),
moz_embed_download_signals[DOWNLOAD_PROGRESS_SIGNAL],
(gulong) aCurSelfProgress, (gulong) aMaxSelfProgress, 1);
}
else {
gtk_signal_emit(GTK_OBJECT(mDownload->parent),
moz_embed_download_signals[DOWNLOAD_PROGRESS_SIGNAL],
(gulong) aCurSelfProgress, 0, 1);
}
/* storing current downloaded size. */
mDownload->downloaded_size = (gulong) aCurSelfProgress;
return NS_OK;
}
NS_IMETHODIMP ProgressListener::OnRefreshAttempted(nsIWebProgress *aWebProgress,
nsIURI *aUri, PRInt32 aDelay,
PRBool aSameUri,
PRBool *allowRefresh)
{
*allowRefresh = PR_TRUE;
return NS_OK;
}

View File

@@ -0,0 +1,98 @@
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Christopher Blizzard. Portions created by Christopher Blizzard are Copyright (C) Christopher Blizzard. All Rights Reserved.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Christopher Blizzard <blizzard@mozilla.org>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
/**
* Derived from GContentHandler http://landfill.mozilla.org/mxr-test/gnome/source/galeon/mozilla/ContentHandler.h
*/
#ifndef __EmbedDownloadMgr_h
#define __EmbedDownloadMgr_h
#include "EmbedPrivate.h"
#include "nsIHelperAppLauncherDialog.h"
#include "nsIMIMEInfo.h"
#include "nsCOMPtr.h"
#include "nsIExternalHelperAppService.h"
#include "nsIRequest.h"
#include "nsILocalFile.h"
#include "nsWeakReference.h"
#define EMBED_DOWNLOADMGR_DESCRIPTION "MicroB Download Manager"
#define EMBED_DOWNLOADMGR_CID {0x53df12a2, 0x1f4a, 0x4382, {0x99, 0x4e, 0xed, 0x62, 0xcf, 0x0d, 0x6b, 0x3a}}
class nsIURI;
class nsIFile;
class nsIFactory;
class nsExternalAppHandler;
typedef struct _EmbedDownload EmbedDownload;
struct _EmbedDownload
{
GtkObject* parent;
GtkWidget* gtkMozEmbedParentWidget;/** Associated gtkmozembed widget */
char* file_name; /** < The file's name */
char* file_name_with_path; /** < The file's name */
const char* server; /** < The server's name */
const char* file_type; /** < The file's type */
const char* handler_app; /** < The application's name */
PRInt64 file_size; /** < The file's size */
PRInt64 downloaded_size; /** < The download's size */
gboolean is_paused; /** < If download is paused or not */
gboolean open_with; /** < If the file can be opened by other application */
/* Pointer to mozilla interfaces */
nsIHelperAppLauncher* launcher; /** < The mozilla's download dialog */
nsIRequest* request; /** < The download request */
};
class EmbedDownloadMgr : public nsIHelperAppLauncherDialog
{
public:
EmbedDownloadMgr();
virtual ~EmbedDownloadMgr();
NS_DECL_ISUPPORTS
NS_DECL_NSIHELPERAPPLAUNCHERDIALOG
private:
/** Gets all informations about a file which is being downloaded.
*/
NS_METHOD GetDownloadInfo(nsIHelperAppLauncher *aLauncher, nsISupports *aContext);
EmbedDownload *mDownload;
};
#endif /* __EmbedDownloadMgr_h */

View File

@@ -0,0 +1,955 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 tw=80 et cindent: */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Christopher Blizzard. Portions created by Christopher Blizzard are Copyright (C) Christopher Blizzard. All Rights Reserved.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Christopher Blizzard <blizzard@mozilla.org>
* Oleg Romashin <romaxa@gmail.com>
* Tomaz Noleto <tnoleto@gmail.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsCOMPtr.h"
#include "nsIDOMMouseEvent.h"
#include "nsIDOMNSEvent.h"
#include "nsIDOMKeyEvent.h"
#include "nsIDOMUIEvent.h"
#include "nsIDOMDocument.h"
#include "nsIDocument.h"
#include "nsIContent.h"
#include "nsIPresShell.h"
#include "nsIDOMNodeList.h"
#include "EmbedEventListener.h"
#include "EmbedPrivate.h"
#include "gtkmozembed_internal.h"
static PRInt32 sLongPressTimer = 0, mLongMPressDelay = 1000;
static PRInt32 sX = 0, sY = 0;
static PRBool sMPressed = PR_FALSE, sIsScrolling = PR_FALSE;
static char* gFavLocation = NULL;
EmbedEventListener::EmbedEventListener(void)
{
mOwner = nsnull;
}
EmbedEventListener::~EmbedEventListener()
{
delete mCtxInfo;
}
NS_IMPL_ADDREF(EmbedEventListener)
NS_IMPL_RELEASE(EmbedEventListener)
NS_INTERFACE_MAP_BEGIN(EmbedEventListener)
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIDOMKeyListener)
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsIDOMEventListener, nsIDOMKeyListener)
NS_INTERFACE_MAP_ENTRY(nsIDOMKeyListener)
NS_INTERFACE_MAP_ENTRY(nsIDOMMouseListener)
NS_INTERFACE_MAP_ENTRY(nsIDOMUIListener)
NS_INTERFACE_MAP_ENTRY(nsIDOMMouseMotionListener)
NS_INTERFACE_MAP_ENTRY(nsIDOMFocusListener)
NS_INTERFACE_MAP_ENTRY(nsIWebProgressListener)
NS_INTERFACE_MAP_END
nsresult
EmbedEventListener::Init(EmbedPrivate *aOwner)
{
mOwner = aOwner;
mCtxInfo = nsnull;
mClickCount = 1;
#ifdef MOZ_WIDGET_GTK2
mCtxInfo = new EmbedContextMenuInfo(aOwner);
#endif
mOwner->mNeedFav = PR_TRUE;
return NS_OK;
}
NS_IMETHODIMP
EmbedEventListener::HandleLink(nsIDOMNode* node)
{
nsresult rv;
nsCOMPtr<nsIDOMElement> linkElement;
linkElement = do_QueryInterface(node);
if (!linkElement) return NS_ERROR_FAILURE;
nsString name;
rv = linkElement->GetAttribute(NS_LITERAL_STRING("rel"), name);
if (NS_FAILED(rv)) return NS_ERROR_FAILURE;
nsString link;
rv = linkElement->GetAttribute(NS_LITERAL_STRING("href"), link);
if (NS_FAILED(rv) || link.IsEmpty()) return NS_ERROR_FAILURE;
nsCOMPtr<nsIDOMDocument> domDoc;
rv = node->GetOwnerDocument(getter_AddRefs(domDoc));
if (NS_FAILED(rv) || !domDoc) return NS_ERROR_FAILURE;
nsCOMPtr<nsIDOM3Node> domnode = do_QueryInterface(domDoc);
if (!domnode) return NS_ERROR_FAILURE;
nsString spec;
domnode->GetBaseURI(spec);
nsCOMPtr<nsIURI> baseURI;
rv = NewURI(getter_AddRefs(baseURI), NS_ConvertUTF16toUTF8(spec).get());
if (NS_FAILED(rv) || !baseURI) return NS_ERROR_FAILURE;
nsCString url;
rv = baseURI->Resolve(NS_ConvertUTF16toUTF8(link), url);
if (NS_FAILED(rv)) return NS_ERROR_FAILURE;
nsString type;
rv = linkElement->GetAttribute(NS_LITERAL_STRING("type"), type);
if (NS_FAILED(rv)) return NS_ERROR_FAILURE;
nsString title;
rv = linkElement->GetAttribute(NS_LITERAL_STRING("title"), title);
if (NS_FAILED(rv)) return NS_ERROR_FAILURE;
// XXX This does not handle |BLAH ICON POWER"
if (mOwner->mNeedFav && (name.LowerCaseEqualsLiteral("icon") ||
name.LowerCaseEqualsLiteral("shortcut icon"))) {
mOwner->mNeedFav = PR_FALSE;
this->GetFaviconFromURI(url.get());
}
else if (name.LowerCaseEqualsLiteral("alternate") &&
type.LowerCaseEqualsLiteral("application/rss+xml")) {
NS_ConvertUTF16toUTF8 narrowTitle(title);
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[RSS_REQUEST],
(gchar *)url.get(),
narrowTitle.get());
}
return NS_OK;
}
NS_IMETHODIMP
EmbedEventListener::HandleEvent(nsIDOMEvent* aDOMEvent)
{
nsString eventType;
aDOMEvent->GetType(eventType);
#ifdef MOZ_WIDGET_GTK2
if (eventType.EqualsLiteral("focus"))
if (mCtxInfo->GetFormControlType(aDOMEvent)) {
if (mCtxInfo->mEmbedCtxType & GTK_MOZ_EMBED_CTX_INPUT) {
gint return_val = FALSE;
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[DOM_FOCUS],
(void *)aDOMEvent, &return_val);
if (return_val) {
aDOMEvent->StopPropagation();
aDOMEvent->PreventDefault();
}
}
}
#endif
if (eventType.EqualsLiteral("DOMLinkAdded")) {
nsresult rv;
nsCOMPtr<nsIDOMEventTarget> eventTarget;
aDOMEvent->GetTarget(getter_AddRefs(eventTarget));
nsCOMPtr<nsIDOMNode> node = do_QueryInterface(eventTarget, &rv);
if (NS_FAILED(rv) || !node)
return NS_ERROR_FAILURE;
HandleLink(node);
} else if (eventType.EqualsLiteral("load")) {
nsIWebBrowser *webBrowser = nsnull;
gtk_moz_embed_get_nsIWebBrowser(mOwner->mOwningWidget, &webBrowser);
if (!webBrowser) return NS_ERROR_FAILURE;
nsCOMPtr<nsIDOMWindow> DOMWindow;
webBrowser->GetContentDOMWindow(getter_AddRefs(DOMWindow));
if (!DOMWindow) return NS_ERROR_FAILURE;
nsCOMPtr<nsIDOMDocument> doc;
DOMWindow->GetDocument(getter_AddRefs(doc));
if (!doc) return NS_ERROR_FAILURE;
nsCOMPtr<nsIDOMNodeList> nodelist = nsnull;
doc->GetElementsByTagName( NS_LITERAL_STRING( "rss" ), getter_AddRefs( nodelist ));
if (nodelist) {
PRUint32 length = 0;
nodelist->GetLength(&length);
if (length >= 1) {
char *url = gtk_moz_embed_get_location(mOwner->mOwningWidget);
char *title = gtk_moz_embed_get_title(mOwner->mOwningWidget);
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[RSS_REQUEST],
(gchar*)url,
(gchar*)title);
if (url)
NS_Free(url);
if (title)
NS_Free(title);
}
}
}
else if (mOwner->mNeedFav) {
mOwner->mNeedFav = PR_FALSE;
nsCString favicon_url = mOwner->mPrePath;
favicon_url.AppendLiteral("/favicon.ico");
this->GetFaviconFromURI(favicon_url.get());
}
return NS_OK;
}
NS_IMETHODIMP
EmbedEventListener::KeyDown(nsIDOMEvent* aDOMEvent)
{
nsCOMPtr<nsIDOMKeyEvent> keyEvent;
keyEvent = do_QueryInterface(aDOMEvent);
if (!keyEvent)
return NS_OK;
// Return FALSE to this function to mark the event as not
// consumed...
gint return_val = FALSE;
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[DOM_KEY_DOWN],
(void *)keyEvent, &return_val);
if (return_val) {
aDOMEvent->StopPropagation();
aDOMEvent->PreventDefault();
}
return NS_OK;
}
NS_IMETHODIMP
EmbedEventListener::KeyUp(nsIDOMEvent* aDOMEvent)
{
nsCOMPtr<nsIDOMKeyEvent> keyEvent;
keyEvent = do_QueryInterface(aDOMEvent);
if (!keyEvent)
return NS_OK;
// return FALSE to this function to mark this event as not
// consumed...
gint return_val = FALSE;
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[DOM_KEY_UP],
(void *)keyEvent, &return_val);
if (return_val) {
aDOMEvent->StopPropagation();
aDOMEvent->PreventDefault();
} else {
//mCtxInfo->UpdateContextData(aDOMEvent);
}
return NS_OK;
}
NS_IMETHODIMP
EmbedEventListener::KeyPress(nsIDOMEvent* aDOMEvent)
{
nsCOMPtr<nsIDOMKeyEvent> keyEvent;
keyEvent = do_QueryInterface(aDOMEvent);
if (!keyEvent)
return NS_OK;
// Return TRUE from your signal handler to mark the event as consumed.
gint return_val = FALSE;
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[DOM_KEY_PRESS],
(void *)keyEvent, &return_val);
if (return_val) {
aDOMEvent->StopPropagation();
aDOMEvent->PreventDefault();
}
return NS_OK;
}
static gboolean
sLongMPress(void *aOwningWidget)
{
// Return TRUE from your signal handler to mark the event as consumed.
if (!sMPressed || sIsScrolling)
return FALSE;
sMPressed = PR_FALSE;
gint return_val = FALSE;
gtk_signal_emit(GTK_OBJECT(aOwningWidget),
moz_embed_signals[DOM_MOUSE_LONG_PRESS],
(void *)0, &return_val);
if (return_val) {
sMPressed = PR_FALSE;
}
return FALSE;
}
NS_IMETHODIMP
EmbedEventListener::MouseDown(nsIDOMEvent* aDOMEvent)
{
nsCOMPtr<nsIDOMMouseEvent> mouseEvent;
mouseEvent = do_QueryInterface(aDOMEvent);
if (!mouseEvent)
return NS_OK;
// Return TRUE from your signal handler to mark the event as consumed.
sMPressed = PR_TRUE;
gint return_val = FALSE;
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[DOM_MOUSE_DOWN],
(void *)mouseEvent, &return_val);
if (return_val) {
mClickCount = 2;
sMPressed = PR_FALSE;
#if 1
if (sLongPressTimer)
g_source_remove(sLongPressTimer);
#else
aDOMEvent->StopPropagation();
aDOMEvent->PreventDefault();
#endif
} else {
mClickCount = 1;
sLongPressTimer = g_timeout_add(mLongMPressDelay, sLongMPress, mOwner->mOwningWidget);
((nsIDOMMouseEvent*)mouseEvent)->GetScreenX(&sX);
((nsIDOMMouseEvent*)mouseEvent)->GetScreenY(&sY);
}
// handling event internally.
#ifdef MOZ_WIDGET_GTK2
HandleSelection(mouseEvent);
#endif
return NS_OK;
}
NS_IMETHODIMP
EmbedEventListener::MouseUp(nsIDOMEvent* aDOMEvent)
{
nsCOMPtr<nsIDOMMouseEvent> mouseEvent;
mouseEvent = do_QueryInterface(aDOMEvent);
if (!mouseEvent)
return NS_OK;
// handling event internally, first.
HandleSelection(mouseEvent);
// Return TRUE from your signal handler to mark the event as consumed.
if (sLongPressTimer)
g_source_remove(sLongPressTimer);
sMPressed = PR_FALSE;
mOwner->mOpenBlock = sIsScrolling;
sIsScrolling = sMPressed;
gint return_val = FALSE;
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[DOM_MOUSE_UP],
(void *)mouseEvent, &return_val);
if (return_val) {
aDOMEvent->StopPropagation();
aDOMEvent->PreventDefault();
}
return NS_OK;
}
NS_IMETHODIMP
EmbedEventListener::MouseClick(nsIDOMEvent* aDOMEvent)
{
nsCOMPtr<nsIDOMMouseEvent> mouseEvent;
mouseEvent = do_QueryInterface(aDOMEvent);
if (!mouseEvent)
return NS_OK;
// Return TRUE from your signal handler to mark the event as consumed.
sMPressed = PR_FALSE;
gint return_val = FALSE;
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[DOM_MOUSE_CLICK],
(void *)mouseEvent, &return_val);
if (return_val) {
aDOMEvent->StopPropagation();
aDOMEvent->PreventDefault();
}
return NS_OK;
}
NS_IMETHODIMP
EmbedEventListener::MouseDblClick(nsIDOMEvent* aDOMEvent)
{
nsCOMPtr<nsIDOMMouseEvent> mouseEvent;
mouseEvent = do_QueryInterface(aDOMEvent);
if (!mouseEvent)
return NS_OK;
// Return TRUE from your signal handler to mark the event as consumed.
if (sLongPressTimer)
g_source_remove(sLongPressTimer);
sMPressed = PR_FALSE;
gint return_val = FALSE;
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[DOM_MOUSE_DBL_CLICK],
(void *)mouseEvent, &return_val);
if (return_val) {
aDOMEvent->StopPropagation();
aDOMEvent->PreventDefault();
}
return NS_OK;
}
NS_IMETHODIMP
EmbedEventListener::MouseOver(nsIDOMEvent* aDOMEvent)
{
nsCOMPtr<nsIDOMMouseEvent> mouseEvent;
mouseEvent = do_QueryInterface(aDOMEvent);
if (!mouseEvent)
return NS_OK;
// Return TRUE from your signal handler to mark the event as consumed.
gint return_val = FALSE;
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[DOM_MOUSE_OVER],
(void *)mouseEvent, &return_val);
if (return_val) {
aDOMEvent->StopPropagation();
aDOMEvent->PreventDefault();
} else {
//mCtxInfo->UpdateContextData(aDOMEvent);
}
return NS_OK;
}
NS_IMETHODIMP
EmbedEventListener::MouseOut(nsIDOMEvent* aDOMEvent)
{
nsCOMPtr<nsIDOMMouseEvent> mouseEvent;
mouseEvent = do_QueryInterface(aDOMEvent);
if (!mouseEvent)
return NS_OK;
// Return TRUE from your signal handler to mark the event as consumed.
gint return_val = FALSE;
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[DOM_MOUSE_OUT],
(void *)mouseEvent, &return_val);
if (return_val) {
aDOMEvent->StopPropagation();
aDOMEvent->PreventDefault();
}
return NS_OK;
}
NS_IMETHODIMP
EmbedEventListener::Activate(nsIDOMEvent* aDOMEvent)
{
nsCOMPtr<nsIDOMUIEvent> uiEvent = do_QueryInterface(aDOMEvent);
if (!uiEvent)
return NS_OK;
// Return TRUE from your signal handler to mark the event as consumed.
gint return_val = FALSE;
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[DOM_ACTIVATE],
(void *)uiEvent, &return_val);
if (return_val) {
aDOMEvent->StopPropagation();
aDOMEvent->PreventDefault();
}
return NS_OK;
}
NS_IMETHODIMP
EmbedEventListener::FocusIn(nsIDOMEvent* aDOMEvent)
{
nsCOMPtr<nsIDOMUIEvent> uiEvent = do_QueryInterface(aDOMEvent);
if (!uiEvent)
return NS_OK;
// Return TRUE from your signal handler to mark the event as consumed.
gint return_val = FALSE;
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[DOM_FOCUS_IN],
(void *)uiEvent, &return_val);
if (return_val) {
aDOMEvent->StopPropagation();
aDOMEvent->PreventDefault();
}
return NS_OK;
}
NS_IMETHODIMP
EmbedEventListener::FocusOut(nsIDOMEvent* aDOMEvent)
{
nsCOMPtr<nsIDOMUIEvent> uiEvent = do_QueryInterface(aDOMEvent);
if (!uiEvent)
return NS_OK;
// Return TRUE from your signal handler to mark the event as consumed.
gint return_val = FALSE;
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[DOM_FOCUS_OUT],
(void *)uiEvent, &return_val);
if (return_val) {
aDOMEvent->StopPropagation();
aDOMEvent->PreventDefault();
}
return NS_OK;
}
NS_IMETHODIMP
EmbedEventListener::MouseMove(nsIDOMEvent* aDOMEvent)
{
if (mCurSelCon)
mCurSelCon->SetDisplaySelection(nsISelectionController::SELECTION_ON);
if (sMPressed &&
gtk_signal_handler_pending(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[DOM_MOUSE_SCROLL], TRUE)) {
// Return TRUE from your signal handler to mark the event as consumed.
nsCOMPtr<nsIDOMMouseEvent> mouseEvent = do_QueryInterface(aDOMEvent);
if (!mouseEvent)
return NS_OK;
PRInt32 newX, newY, subX, subY;
((nsIDOMMouseEvent*)mouseEvent)->GetScreenX(&newX);
((nsIDOMMouseEvent*)mouseEvent)->GetScreenY(&newY);
subX = newX - sX;
subY = newY - sY;
nsresult rv = NS_OK;
if (ABS(subX) > 10 || ABS(subY) > 10 || (sIsScrolling && sMPressed)) {
if (!sIsScrolling) {
gint return_val = FALSE;
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[DOM_MOUSE_SCROLL],
(void *)mouseEvent, &return_val);
if (!return_val) {
sIsScrolling = PR_TRUE;
#ifdef MOZ_WIDGET_GTK2
if (mCtxInfo)
rv = mCtxInfo->GetElementForScroll(aDOMEvent);
#endif
} else {
sMPressed = PR_FALSE;
sIsScrolling = PR_FALSE;
}
}
if (sIsScrolling)
{
if (sLongPressTimer)
g_source_remove(sLongPressTimer);
#ifdef MOZ_WIDGET_GTK2
if (mCtxInfo->mNSHHTMLElementSc) {
PRInt32 x, y;
mCtxInfo->mNSHHTMLElementSc->GetScrollTop(&y);
mCtxInfo->mNSHHTMLElementSc->GetScrollLeft(&x);
#ifdef MOZ_SCROLL_TOP_LEFT_HACK
rv = mCtxInfo->mNSHHTMLElementSc->ScrollTopLeft(y - subY, x - subX);
#endif
} else
#endif
{
rv = NS_ERROR_UNEXPECTED;
}
if (rv == NS_ERROR_UNEXPECTED) {
nsCOMPtr<nsIDOMWindow> DOMWindow;
nsIWebBrowser *webBrowser = nsnull;
gtk_moz_embed_get_nsIWebBrowser(mOwner->mOwningWidget, &webBrowser);
webBrowser->GetContentDOMWindow(getter_AddRefs(DOMWindow));
DOMWindow->ScrollBy(-subX, -subY);
}
}
sX = newX;
sY = newY;
sIsScrolling = sMPressed;
}
}
return NS_OK;
}
NS_IMETHODIMP
EmbedEventListener::DragMove(nsIDOMEvent* aMouseEvent)
{
return NS_OK;
}
NS_IMETHODIMP
EmbedEventListener::Focus(nsIDOMEvent* aEvent)
{
nsString eventType;
aEvent->GetType(eventType);
#ifdef MOZ_WIDGET_GTK2
if (eventType.EqualsLiteral("focus") &&
mCtxInfo->GetFormControlType(aEvent) &&
mCtxInfo->mEmbedCtxType & GTK_MOZ_EMBED_CTX_INPUT) {
gint return_val = FALSE;
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[DOM_FOCUS],
(void *)aEvent, &return_val);
if (return_val) {
aEvent->StopPropagation();
aEvent->PreventDefault();
}
}
#endif
return NS_OK;
}
NS_IMETHODIMP
EmbedEventListener::Blur(nsIDOMEvent* aEvent)
{
gint return_val = FALSE;
mFocusInternalFrame = PR_FALSE;
nsCOMPtr<nsIDOMNSEvent> nsevent(do_QueryInterface(aEvent));
nsCOMPtr<nsIDOMEventTarget> target;
nsevent->GetOriginalTarget(getter_AddRefs(target));
if (!target)
return NS_ERROR_FAILURE;
nsCOMPtr<nsIContent> targetContent = do_QueryInterface(target);
if (targetContent) {
#ifdef MOZILLA_1_8_BRANCH
if (targetContent->IsContentOfType(nsIContent::eHTML_FORM_CONTROL)) {
#else
if (targetContent->IsNodeOfType(nsIContent::eHTML_FORM_CONTROL)) {
#endif
if (sLongPressTimer)
g_source_remove(sLongPressTimer);
sMPressed = sIsScrolling ? PR_FALSE : sMPressed;
sIsScrolling = PR_FALSE;
}
}
return NS_OK;
}
NS_IMETHODIMP
EmbedEventListener::HandleSelection(nsIDOMMouseEvent* aDOMMouseEvent)
{
nsresult rv;
#ifdef MOZ_WIDGET_GTK2
/* This function gets called everytime that a mousedown or a mouseup
* event occurs.
*/
nsCOMPtr<nsIDOMNSEvent> nsevent(do_QueryInterface(aDOMMouseEvent));
nsCOMPtr<nsIDOMEventTarget> target;
rv = nsevent->GetOriginalTarget(getter_AddRefs(target));
if (NS_FAILED(rv))
return rv;
nsCOMPtr<nsIDOMNode> eventNode = do_QueryInterface(target);
nsCOMPtr<nsIDOMDocument> domDoc;
rv = eventNode->GetOwnerDocument(getter_AddRefs(domDoc));
if (NS_FAILED(rv))
return rv;
nsCOMPtr<nsIDocument> doc = do_QueryInterface(domDoc, &rv);
if (NS_FAILED(rv) || !doc)
return NS_ERROR_FAILURE;
nsIPresShell *presShell = doc->GetShellAt(0);
/* Gets nsISelectionController interface for the current context */
mCurSelCon = do_QueryInterface(presShell);
if (!mCurSelCon)
return NS_ERROR_FAILURE;
/* Gets event type */
nsString eventType;
rv = aDOMMouseEvent->GetType(eventType);
if (NS_FAILED(rv))
return rv;
/* Updates context to check which context is being clicked on */
mCtxInfo->UpdateContextData(aDOMMouseEvent);
/* If a mousedown after 1 click is done (and if clicked context is not a XUL
* one (e.g. scrollbar), the selection is disabled for that context.
*/
if (mCtxInfo->mEmbedCtxType & GTK_MOZ_EMBED_CTX_XUL || mCtxInfo->mEmbedCtxType & GTK_MOZ_EMBED_CTX_RICHEDIT)
return rv;
if (eventType.EqualsLiteral("mousedown")) {
if (mClickCount == 1)
rv = mCurSelCon->SetDisplaySelection(nsISelectionController::SELECTION_OFF);
} // mousedown
/* If a mouseup occurs, the selection for context is enabled again (despite of
* number of clicks). If this event occurs after 1 click, the selection of
* both last and current contexts are cleaned up.
*/
if (eventType.EqualsLiteral("mouseup")) {
/* Selection controller of current event context */
if (mCurSelCon) {
rv = mCurSelCon->SetDisplaySelection(nsISelectionController::SELECTION_ON);
if (mClickCount == 1) {
nsCOMPtr<nsISelection> domSel;
mCurSelCon->GetSelection(nsISelectionController::SELECTION_NORMAL,
getter_AddRefs(domSel));
rv = domSel->RemoveAllRanges();
}
}
/* Selection controller of previous event context */
if (mLastSelCon) {
rv = mLastSelCon->SetDisplaySelection(nsISelectionController::SELECTION_ON);
if (mClickCount == 1) {
nsCOMPtr<nsISelection> domSel;
mLastSelCon->GetSelection(nsISelectionController::SELECTION_NORMAL,
getter_AddRefs(domSel));
rv = domSel->RemoveAllRanges();
}
}
/* If 1 click was done (despite the event type), sets the last context's
* selection controller with current one
*/
if (mClickCount == 1)
mLastSelCon = mCurSelCon;
} // mouseup
#endif
return rv;
}
nsresult
EmbedEventListener::NewURI(nsIURI **result,
const char *spec)
{
nsresult rv;
nsCString cSpec(spec);
nsCOMPtr<nsIIOService> ioService;
rv = GetIOService(getter_AddRefs(ioService));
if (NS_FAILED(rv))
return rv;
rv = ioService->NewURI(cSpec, nsnull, nsnull, result);
return rv;
}
nsresult
EmbedEventListener::GetIOService(nsIIOService **ioService)
{
nsresult rv;
nsCOMPtr<nsIServiceManager> mgr;
NS_GetServiceManager(getter_AddRefs(mgr));
if (!mgr) return NS_ERROR_FAILURE;
rv = mgr->GetServiceByContractID("@mozilla.org/network/io-service;1",
NS_GET_IID(nsIIOService),
(void **)ioService);
return rv;
}
#ifdef MOZ_WIDGET_GTK2
void
EmbedEventListener::GeneratePixBuf()
{
GdkPixbuf *pixbuf = NULL;
pixbuf = gdk_pixbuf_new_from_file(::gFavLocation, NULL);
if (!pixbuf) {
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[ICON_CHANGED],
NULL );
// remove the wrong favicon
// FIXME: need better impl...
nsCOMPtr<nsILocalFile> faviconFile = do_CreateInstance(NS_LOCAL_FILE_CONTRACTID);
if (!faviconFile) {
NS_Free(::gFavLocation);
gFavLocation = nsnull;
return;
}
nsCString faviconLocation(::gFavLocation);
faviconFile->InitWithNativePath(faviconLocation);
faviconFile->Remove(FALSE);
NS_Free(::gFavLocation);
gFavLocation = nsnull;
return;
}
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[ICON_CHANGED],
pixbuf );
//mOwner->mNeedFav = PR_FALSE;
NS_Free(::gFavLocation);
gFavLocation = nsnull;
}
#endif
void
EmbedEventListener::GetFaviconFromURI(const char* aURI)
{
gchar *file_name = NS_strdup(aURI);
gchar *favicon_uri = NS_strdup(aURI);
gint i = 0;
gint rv = 0;
nsCOMPtr<nsIWebBrowserPersist> persist = do_CreateInstance(NS_WEBBROWSERPERSIST_CONTRACTID);
if (!persist) {
NS_Free(file_name);
NS_Free(favicon_uri);
return;
}
persist->SetProgressListener(this);
while (file_name[i] != '\0') {
if (file_name[i] == '/' || file_name[i] == ':')
file_name[i] = '_';
i++;
}
nsCString fileName(file_name);
nsCOMPtr<nsILocalFile> favicon_dir = do_CreateInstance(NS_LOCAL_FILE_CONTRACTID);
if (!favicon_dir) {
NS_Free(favicon_uri);
NS_Free(file_name);
return;
}
nsCString faviconDir("~/.mozilla/favicon");
favicon_dir->InitWithNativePath(faviconDir);
PRBool isExist;
rv = favicon_dir->Exists(&isExist);
if (NS_SUCCEEDED(rv) && !isExist) {
rv = favicon_dir->Create(nsIFile::DIRECTORY_TYPE,0775);
if (NS_FAILED(rv)) {
NS_Free(file_name);
NS_Free(favicon_uri);
return;
}
}
nsCAutoString favicon_path("~/.mozilla/favicon");
nsCOMPtr<nsILocalFile> target_file = do_CreateInstance(NS_LOCAL_FILE_CONTRACTID);
if (!target_file) {
NS_Free(file_name);
NS_Free(favicon_uri);
return;
}
target_file->InitWithNativePath(favicon_path);
target_file->Append(NS_ConvertUTF8toUTF16(fileName));
nsString path;
target_file->GetPath(path);
::gFavLocation = NS_strdup(NS_ConvertUTF16toUTF8(path).get());
nsCOMPtr<nsIIOService> ios(do_GetService(NS_IOSERVICE_CONTRACTID));
if (!ios) {
NS_Free(file_name);
NS_Free(favicon_uri);
NS_Free(::gFavLocation);
gFavLocation = nsnull;
return;
}
nsCOMPtr<nsIURI> uri;
rv = ios->NewURI(nsDependentCString(favicon_uri), "", nsnull, getter_AddRefs(uri));
if (!uri) {
NS_Free(file_name);
NS_Free(favicon_uri);
NS_Free(::gFavLocation);
gFavLocation = nsnull;
return;
}
NS_Free(file_name);
NS_Free(favicon_uri);
// save the favicon if the icon does not exist
rv = target_file->Exists(&isExist);
if (NS_SUCCEEDED(rv) && !isExist) {
rv = persist->SaveURI(uri, nsnull, nsnull, nsnull, "", target_file);
if (NS_FAILED(rv)) {
return;
}
}
else {
#ifdef MOZ_WIDGET_GTK2
GeneratePixBuf();
#endif
}
}
NS_IMETHODIMP
EmbedEventListener::OnStateChange(nsIWebProgress *aWebProgress,
nsIRequest *aRequest,
PRUint32 aStateFlags,
nsresult aStatus)
{
/* if (!(aStateFlags & (STATE_STOP | STATE_IS_NETWORK | STATE_IS_DOCUMENT))){*/
#ifdef MOZ_WIDGET_GTK2
if (aStateFlags & STATE_STOP)
/* FINISH DOWNLOADING */
/* XXX sometimes this==0x0 and it cause crash in GeneratePixBuf, need workaround check for this */
if (NS_SUCCEEDED(aStatus) && this)
GeneratePixBuf();
#endif
return NS_OK;
}
NS_IMETHODIMP
EmbedEventListener::OnProgressChange(nsIWebProgress *aWebProgress,
nsIRequest *aRequest,
PRInt32 aCurSelfProgress,
PRInt32 aMaxSelfProgress,
PRInt32 aCurTotalProgress,
PRInt32 aMaxTotalProgress)
{
return NS_OK;
}
NS_IMETHODIMP
EmbedEventListener::OnLocationChange(nsIWebProgress *aWebProgress,
nsIRequest *aRequest,
nsIURI *aLocation)
{
return NS_OK;
}
NS_IMETHODIMP
EmbedEventListener::OnStatusChange(nsIWebProgress *aWebProgress,
nsIRequest *aRequest,
nsresult aStatus,
const PRUnichar *aMessage)
{
return NS_OK;
}
NS_IMETHODIMP
EmbedEventListener::OnSecurityChange(nsIWebProgress *aWebProgress,
nsIRequest *aRequest,
PRUint32 aState)
{
return NS_OK;
}

View File

@@ -0,0 +1,149 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 et cindent: */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Christopher Blizzard. Portions created by Christopher Blizzard are Copyright (C) Christopher Blizzard. All Rights Reserved.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Christopher Blizzard <blizzard@mozilla.org>
* Oleg Romashin <romaxa@gmail.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef __EmbedEventListener_h
#define __EmbedEventListener_h
#include "nsIDOMKeyListener.h"
#include "nsIDOMMouseListener.h"
#include "nsIDOMUIListener.h"
#include "nsIDOMMouseMotionListener.h"
#include "nsIDOMEventListener.h"
#include "nsIDOMFocusListener.h"
#include "EmbedContextMenuInfo.h"
#include "nsIDOMNode.h"
#include "nsIDOMDocument.h"
#include "nsIDOMElement.h"
#include "nsIURI.h"
#include "nsIDOMEventTarget.h"
#include "nsIDOMEvent.h"
#include "nsIDOM3Node.h"
#include "nsIURI.h"
#include "nsIIOService.h"
#include "nsNetCID.h"
#include "nsCOMPtr.h"
#include "nsIFileURL.h"
#include "nsILocalFile.h"
#include "nsIFile.h"
#include "nsIWebBrowserPersist.h"
#include "nsCWebBrowserPersist.h"
#include "nsIWebProgressListener.h"
#include "nsISelectionController.h"
#include "nsIDOMMouseEvent.h"
#include "nsXPCOMStrings.h"
#include "nsCRTGlue.h"
class EmbedPrivate;
class EmbedEventListener : public nsIDOMKeyListener,
public nsIDOMMouseListener,
public nsIDOMUIListener,
public nsIDOMMouseMotionListener,
public nsIWebProgressListener,
public nsIDOMFocusListener
{
public:
EmbedEventListener();
virtual ~EmbedEventListener();
nsresult Init(EmbedPrivate *aOwner);
NS_DECL_ISUPPORTS
// NS_DECL_NSIDOMEVENTLISTENER
// nsIDOMEventListener
NS_DECL_NSIWEBPROGRESSLISTENER
NS_IMETHOD HandleEvent(nsIDOMEvent* aEvent);
NS_IMETHOD HandleLink(nsIDOMNode* node);
// nsIDOMKeyListener
NS_IMETHOD KeyDown(nsIDOMEvent* aDOMEvent);
NS_IMETHOD KeyUp(nsIDOMEvent* aDOMEvent);
NS_IMETHOD KeyPress(nsIDOMEvent* aDOMEvent);
// nsIDOMMouseListener
NS_IMETHOD MouseDown(nsIDOMEvent* aDOMEvent);
NS_IMETHOD MouseUp(nsIDOMEvent* aDOMEvent);
NS_IMETHOD MouseClick(nsIDOMEvent* aDOMEvent);
NS_IMETHOD MouseDblClick(nsIDOMEvent* aDOMEvent);
NS_IMETHOD MouseOver(nsIDOMEvent* aDOMEvent);
NS_IMETHOD MouseOut(nsIDOMEvent* aDOMEvent);
// nsIDOMUIListener
NS_IMETHOD Activate(nsIDOMEvent* aDOMEvent);
NS_IMETHOD FocusIn(nsIDOMEvent* aDOMEvent);
NS_IMETHOD FocusOut(nsIDOMEvent* aDOMEvent);
// nsIDOMMouseMotionListener
NS_IMETHOD MouseMove(nsIDOMEvent* aDOMEvent);
NS_IMETHOD DragMove(nsIDOMEvent* aMouseEvent);
EmbedContextMenuInfo* GetContextInfo() { return mCtxInfo; };
// nsIDOMFocusListener
NS_IMETHOD Focus(nsIDOMEvent* aEvent);
NS_IMETHOD Blur(nsIDOMEvent* aEvent);
NS_IMETHOD HandleSelection(nsIDOMMouseEvent* aDOMMouseEvent);
nsresult NewURI (nsIURI **result,
const char *spec);
nsresult GetIOService (nsIIOService **ioService);
void GeneratePixBuf ();
void GetFaviconFromURI (const char* aURI);
private:
EmbedPrivate *mOwner;
EmbedContextMenuInfo *mCtxInfo;
// Selection and some clipboard stuff
nsCOMPtr<nsISelectionController> mCurSelCon;
nsCOMPtr<nsISelectionController> mLastSelCon;
PRBool mFocusInternalFrame;
PRInt32 mClickCount;
};
#endif /* __EmbedEventListener_h */

View File

@@ -0,0 +1,207 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 tw=80 et cindent: */
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* Contributor(s):
* Antonio Gomes <tonikitoo@gmail.com>
* Oleg Romashin <romaxa@gmail.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "EmbedFilePicker.h"
#include "EmbedGtkTools.h"
#include "nsIFileURL.h"
#include "nsILocalFile.h"
#include "nsIDOMWindow.h"
#include "nsStringGlue.h"
#include "nsNetUtil.h"
#include "prenv.h"
#ifdef MOZ_LOGGING
#include <stdlib.h>
#endif
NS_IMPL_ISUPPORTS1(EmbedFilePicker, nsIFilePicker)
EmbedFilePicker::EmbedFilePicker(): mParent (nsnull),
mMode(nsIFilePicker::modeOpen)
{
}
EmbedFilePicker::~EmbedFilePicker()
{
}
/* void init (in nsIDOMWindowInternal parent, in wstring title, in short mode); */
NS_IMETHODIMP EmbedFilePicker::Init(nsIDOMWindow *parent, const nsAString &title, PRInt16 mode)
{
mParent = parent;
mMode = mode;
return NS_OK;
}
/* void appendFilters (in long filterMask); */
NS_IMETHODIMP EmbedFilePicker::AppendFilters(PRInt32 filterMask)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void appendFilter (in wstring title, in wstring filter); */
NS_IMETHODIMP EmbedFilePicker::AppendFilter(const nsAString &title, const nsAString &filter)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute wstring defaultString; */
NS_IMETHODIMP EmbedFilePicker::GetDefaultString(nsAString &aDefaultString)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP EmbedFilePicker::SetDefaultString(const nsAString &aDefaultString)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute wstring defaultExtension; */
NS_IMETHODIMP EmbedFilePicker::GetDefaultExtension(nsAString &aDefaultExtension)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP EmbedFilePicker::SetDefaultExtension(const nsAString &aDefaultExtension)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute long filterIndex; */
NS_IMETHODIMP EmbedFilePicker::GetFilterIndex(PRInt32 *aFilterIndex)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP EmbedFilePicker::SetFilterIndex(PRInt32 aFilterIndex)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsILocalFile displayDirectory; */
NS_IMETHODIMP EmbedFilePicker::GetDisplayDirectory(nsILocalFile **aDisplayDirectory)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP EmbedFilePicker::SetDisplayDirectory(nsILocalFile *aDisplayDirectory)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsILocalFile file; */
NS_IMETHODIMP EmbedFilePicker::GetFile(nsILocalFile **aFile)
{
NS_ENSURE_ARG_POINTER(aFile);
if (mFilename.IsEmpty())
return NS_OK;
nsCOMPtr<nsIURI> baseURI;
nsresult rv = NS_NewURI(getter_AddRefs(baseURI), mFilename);
nsCOMPtr<nsIFileURL> fileURL(do_QueryInterface(baseURI, &rv));
NS_ENSURE_SUCCESS(rv, rv);
nsCOMPtr<nsIFile> file;
rv = fileURL->GetFile(getter_AddRefs(file));
nsCOMPtr<nsILocalFile> localfile;
localfile = do_QueryInterface(file, &rv);
if (NS_SUCCEEDED(rv)) {
NS_ADDREF(*aFile = localfile);
return NS_OK;
}
NS_ENSURE_TRUE(mParent, NS_OK);
GtkWidget* parentWidget = GetGtkWidgetForDOMWindow(mParent);
NS_ENSURE_TRUE(parentWidget, NS_OK);
/* XXX this message isn't really sure what it's trying to say */
g_signal_emit_by_name(GTK_OBJECT(parentWidget), "alert", "File protocol not supported.", NULL);
return NS_OK;
}
/* readonly attribute nsIFileURL fileURL; */
NS_IMETHODIMP EmbedFilePicker::GetFileURL(nsIFileURL **aFileURL)
{
NS_ENSURE_ARG_POINTER(aFileURL);
*aFileURL = nsnull;
nsCOMPtr<nsILocalFile> file;
GetFile(getter_AddRefs(file));
NS_ENSURE_TRUE(file, NS_ERROR_FAILURE);
nsCOMPtr<nsIFileURL> fileURL = do_CreateInstance(NS_STANDARDURL_CONTRACTID);
NS_ENSURE_TRUE(fileURL, NS_ERROR_OUT_OF_MEMORY);
fileURL->SetFile(file);
NS_ADDREF(*aFileURL = fileURL);
return NS_OK;
}
/* readonly attribute nsISimpleEnumerator files; */
NS_IMETHODIMP EmbedFilePicker::GetFiles(nsISimpleEnumerator * *aFiles)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* short show (); */
NS_IMETHODIMP EmbedFilePicker::Show(PRInt16 *_retval)
{
NS_ENSURE_ARG_POINTER(_retval);
NS_ENSURE_TRUE(mParent, NS_OK);
GtkWidget *parentWidget = GetGtkWidgetForDOMWindow(mParent);
NS_ENSURE_TRUE(parentWidget, NS_OK);
gboolean response = 0;
char *retname = nsnull;
g_signal_emit_by_name(GTK_OBJECT(parentWidget),
"upload_dialog",
PR_GetEnv("HOME"),
"",
&retname,
&response,
NULL);
*_retval = response ? nsIFilePicker::returnOK : nsIFilePicker::returnCancel;
mFilename = retname;
if (retname)
NS_Free(retname);
return NS_OK;
}

View File

@@ -0,0 +1,72 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 tw=80 et cindent: */
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef __EmbedFilePicker_h
#define __EmbedFilePicker_h
#include "nsIFilePicker.h"
#include "nsISupports.h"
#include "nsNetCID.h"
#include "gtkmozembed.h"
#include "gtkmozembed_common.h"
#include "EmbedPrivate.h"
#define EMBED_FILEPICKER_CID \
{ /* f097d33b-1c97-48a6-af4c-07022857eb7c */ \
0xf097d33b, \
0x1c97, \
0x48a6, \
{0xaf, 0x4c, 0x07, 0x02, 0x28, 0x57, 0xeb, 0x7c} \
}
#define EMBED_FILEPICKER_CONTRACTID "@mozilla.org/filepicker;1"
#define EMBED_FILEPICKER_CLASSNAME "File Picker Implementation"
class EmbedFilePicker : public nsIFilePicker
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIFILEPICKER
EmbedFilePicker();
protected:
nsIDOMWindow *mParent;
PRInt16 mMode;
nsCString mFilename;
private:
~EmbedFilePicker();
};
#endif

View File

@@ -0,0 +1,920 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 tw=80 et cindent: */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Conrad Carlen <ccarlen@netscape.com>
* Oleg Romashin <romaxa@gmail.com>
* (from original mozilla/embedding/lite/nsEmbedGlobalHistory.cpp)
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
/* XXX This file is probably out of sync with its original.
* This is a bad thing
*/
#include "EmbedGlobalHistory.h"
#include "nsIObserverService.h"
#include "nsAutoPtr.h"
#include "nsIURI.h"
#include "nsInt64.h"
#include "nsIIOService.h"
#include "nsNetUtil.h"
#include "gtkmozembed_common.h"
#include "nsISeekableStream.h"
#ifndef MOZILLA_INTERNAL_API
#include "nsCRT.h"
#endif
#include "nsILineInputStream.h"
// Constants
#define defaultSeparator 1
// Number of changes in history before automatic flush
static const PRInt32 kNewEntriesBetweenFlush = 10;
static const PRInt32 kMaxSafeReadEntriesCount = 2000;
// Default expiration interval: used if can't get preference service value
static const PRUint32 kDefaultExpirationIntervalDays = 7;
// Mozilla and EAL standard are different each other
static const PRInt64 kMSecsPerDay = LL_INIT(0, 60 * 60 * 24 * 1000);
static const PRInt64 kOneThousand = LL_INIT(0, 1000);
// The history list and the entries counter
static GList *mURLList; /** < The history list */
static PRInt64 mExpirationInterval; /** < Expiration interval time */
static EmbedGlobalHistory *sEmbedGlobalHistory = nsnull;
//*****************************************************************************
// HistoryEntryOld: an entry object and its methods
//*****************************************************************************
class HistoryEntry
{
public:
PRInt64 mLastVisitTime; // Millisecs
PRPackedBool mWritten; // TRUE if ever persisted
nsCString mTitle; // The entry title
nsCString mUrl; // The url itself
};
#define CLOSE_FILE_HANDLE(file_handle) \
PR_BEGIN_MACRO \
if (file_handle) { \
close_output_stream(file_handle); \
NS_RELEASE(file_handle); \
} \
PR_END_MACRO
static void close_output_stream(OUTPUT_STREAM *file_handle)
{
file_handle->Close();
return;
}
static bool file_handle_uri_exists(LOCAL_FILE *uri)
{
g_return_val_if_fail(uri, false);
PRBool exists = PR_FALSE;
uri->Exists(&exists);
return exists;
}
static LOCAL_FILE* file_handle_uri_new(const char *uri)
{
g_return_val_if_fail(uri, nsnull);
nsresult rv;
LOCAL_FILE *historyFile = nsnull;
rv = NS_NewNativeLocalFile(nsDependentCString(uri), 1, &historyFile);
return historyFile;
}
static void file_handle_uri_release(LOCAL_FILE *uri)
{
g_return_if_fail(uri);
NS_RELEASE(uri);
}
static bool file_handle_create_uri(OUTPUT_STREAM **file_handle, LOCAL_FILE *uri)
{
g_return_val_if_fail(file_handle, false);
nsresult rv;
rv = NS_NewLocalFileOutputStream(file_handle, uri, PR_RDWR | PR_APPEND | PR_CREATE_FILE, 0660);
return NS_SUCCEEDED(rv);
}
static bool file_handle_open_uri(OUTPUT_STREAM **file_handle, LOCAL_FILE *uri)
{
g_return_val_if_fail(file_handle, false);
nsresult rv;
rv = NS_NewLocalFileOutputStream(file_handle, uri, PR_RDWR, 0660);
return NS_SUCCEEDED(rv);
}
static bool file_handle_seek(OUTPUT_STREAM *file_handle, gboolean end)
{
g_return_val_if_fail(file_handle, false);
nsresult rv;
nsCOMPtr<nsISeekableStream> seekable = do_QueryInterface(file_handle, &rv);
rv = seekable->Seek(nsISeekableStream::NS_SEEK_SET, end ? -1 : 0);
return NS_SUCCEEDED(rv);
}
static bool file_handle_truncate(OUTPUT_STREAM *file_handle)
{
g_return_val_if_fail(file_handle, false);
nsresult rv;
nsCOMPtr<nsISeekableStream> seekable = do_QueryInterface(file_handle, &rv);
rv = seekable->SetEOF();
return NS_SUCCEEDED(rv);
}
static guint64 file_handle_write(OUTPUT_STREAM *file_handle, gpointer line)
{
g_return_val_if_fail(file_handle, 0);
PRUint32 amt = 0;
nsresult rv;
rv = file_handle->Write((char*)line, strlen((char*)line), &amt);
/* XXX booleans are not equivalent to guint64 */
return NS_SUCCEEDED(rv);
}
// Static Routine Prototypes
//GnomeVFSHandle
static nsresult writeEntry(OUTPUT_STREAM *file_handle, HistoryEntry *entry);
// when an entry is visited
nsresult OnVisited(HistoryEntry *entry)
{
NS_ENSURE_ARG(entry);
entry->mLastVisitTime = PR_Now();
LL_DIV(entry->mLastVisitTime, entry->mLastVisitTime, kOneThousand);
return NS_OK;
}
// Return the last time an entry was visited
PRInt64 GetLastVisitTime(HistoryEntry *entry)
{
NS_ENSURE_ARG(entry);
return entry->mLastVisitTime;
}
// Change the last time an entry was visited
nsresult SetLastVisitTime(HistoryEntry *entry, const PRInt64& aTime)
{
NS_ENSURE_ARG(entry);
NS_ENSURE_ARG_POINTER(aTime);
entry->mLastVisitTime = aTime;
return NS_OK;
}
// Return TRUE if an entry has been written
PRBool GetIsWritten(HistoryEntry *entry)
{
NS_ENSURE_ARG(entry);
return entry->mWritten;
}
// Set TRUE when an entry is visited
nsresult SetIsWritten(HistoryEntry *entry)
{
NS_ENSURE_ARG(entry);
entry->mWritten = PR_TRUE;
return NS_OK;
}
// Change the entry title
#define SET_TITLE(entry, aTitle) (entry->mTitle.Assign(aTitle))
// Return the entry title
#define GET_TITLE(entry) (entry && !entry->mTitle.IsEmpty() ? entry->mTitle.get() : "")
// Change the entry title
nsresult SET_URL(HistoryEntry *aEntry, const char *aUrl)
{
NS_ENSURE_ARG(aEntry);
NS_ENSURE_ARG(aUrl);
aEntry->mUrl.Assign(aUrl);
return NS_OK;
}
// Return the entry url
const char* GET_URL(HistoryEntry *aEntry)
{
return (aEntry && !aEntry->mUrl.IsEmpty()) ? aEntry->mUrl.get() : "";
}
// Traverse the history list trying to find a frame
int history_entry_find_exist(gconstpointer a, gconstpointer b)
{
return g_ascii_strcasecmp((char*)GET_URL((HistoryEntry *)a), (char *) b);
}
// Traverse the history list looking for the correct place to add a new item
int find_insertion_place(gconstpointer a, gconstpointer b)
{
PRInt64 lastVisitTime = GetLastVisitTime((HistoryEntry *) a);
PRInt64 tempTime = GetLastVisitTime((HistoryEntry *) b);
return LL_CMP(lastVisitTime, <, tempTime);
}
// Check whether an entry has expired
PRBool entryHasExpired(HistoryEntry *entry)
{
// convert "now" from microsecs to millisecs
PRInt64 nowInMilliSecs = PR_Now();
LL_DIV(nowInMilliSecs, nowInMilliSecs, kOneThousand);
// determine when the entry would have expired
PRInt64 expirationIntervalAgo;
LL_SUB(expirationIntervalAgo, nowInMilliSecs, mExpirationInterval);
PRInt64 lastVisitTime = GetLastVisitTime(entry);
return LL_CMP(lastVisitTime, <, expirationIntervalAgo);
}
// Traverse the history list to get all the entry data
void history_entry_foreach_to_remove(gpointer data, gpointer user_data)
{
HistoryEntry *entry = (HistoryEntry *) data;
if (entry) {
entry->mLastVisitTime = 0;
delete entry;
}
}
//*****************************************************************************
// EmbedGlobalHistory - Creation/Destruction
//*****************************************************************************
NS_IMPL_ISUPPORTS2(EmbedGlobalHistory, nsIGlobalHistory2, nsIObserver)
/* static */
EmbedGlobalHistory*
EmbedGlobalHistory::GetInstance()
{
if (!sEmbedGlobalHistory)
{
sEmbedGlobalHistory = new EmbedGlobalHistory();
if (!sEmbedGlobalHistory)
return nsnull;
NS_ADDREF(sEmbedGlobalHistory); // addref the global
if (NS_FAILED(sEmbedGlobalHistory->Init()))
{
NS_RELEASE(sEmbedGlobalHistory);
return nsnull;
}
}
else
NS_ADDREF(sEmbedGlobalHistory); // addref the return result
return sEmbedGlobalHistory;
}
/* static */
void
EmbedGlobalHistory::DeleteInstance()
{
if (sEmbedGlobalHistory)
{
delete sEmbedGlobalHistory;
}
}
// The global history component constructor
EmbedGlobalHistory::EmbedGlobalHistory()
: mFileHandle(nsnull)
{
if (!mURLList) {
mDataIsLoaded = PR_FALSE;
mFlushModeFullWriteNeeded = PR_FALSE;
mEntriesAddedSinceFlush = 0;
mHistoryFile = nsnull;
LL_I2L(mExpirationInterval, kDefaultExpirationIntervalDays);
LL_MUL(mExpirationInterval, mExpirationInterval, kMSecsPerDay);
}
}
// The global history component destructor
EmbedGlobalHistory::~EmbedGlobalHistory()
{
LoadData();
FlushData(kFlushModeFullWrite);
if (mURLList) {
g_list_foreach(mURLList, (GFunc) history_entry_foreach_to_remove, NULL);
g_list_free(mURLList);
mURLList = NULL;
}
if (mFileHandle) {
CLOSE_FILE_HANDLE(mFileHandle);
}
if (mHistoryFile) {
g_free(mHistoryFile);
mHistoryFile = nsnull;
}
if (sEmbedGlobalHistory)
sEmbedGlobalHistory = nsnull;
}
// Initialize the global history component
NS_IMETHODIMP EmbedGlobalHistory::Init()
{
if (mURLList) return NS_OK;
// Get Pref and convert to millisecs
PRInt32 expireDays;
int success = gtk_moz_embed_common_get_pref(G_TYPE_INT, EMBED_HISTORY_PREF_EXPIRE_DAYS, &expireDays);
if (success) {
LL_I2L(mExpirationInterval, expireDays);
LL_MUL(mExpirationInterval, mExpirationInterval, kMSecsPerDay);
}
// register to observe profile changes
nsCOMPtr<nsIObserverService> observerService =
do_GetService(NS_OBSERVERSERVICE_CONTRACTID);
NS_ASSERTION(observerService, "failed to get observer service");
if (observerService) {
observerService->AddObserver(this, "quit-application", PR_FALSE);
observerService->AddObserver(this, "RemoveEntries", PR_FALSE);
}
nsresult rv = InitFile();
if (NS_FAILED(rv))
return NS_ERROR_FAILURE;
rv = LoadData();
NS_ENSURE_SUCCESS(rv, rv);
return rv;
}
#define BROKEN_RV_HANDLING_CODE(rv) PR_BEGIN_MACRO \
if (NS_FAILED(rv)) { \
/* OOPS the coder (not timeless) didn't handle this case well at all. \
* unfortunately the coder will remain anonymous. \
* XXX please fix me. \
*/ \
} \
PR_END_MACRO
#define BROKEN_STRING_GETTER(out) PR_BEGIN_MACRO \
/* OOPS the coder (not timeless) decided not to do anything in this \
* method, but to return NS_OK anyway. That's not very polite. \
*/ \
out.Truncate(); \
PR_END_MACRO
#define BROKEN_STRING_BUILDER(var) PR_BEGIN_MACRO \
/* This is just wrong */ \
PR_END_MACRO
#define UNACCEPTABLE_CRASHY_GLIB_ALLOCATION(newed) PR_BEGIN_MACRO \
/* OOPS this code is using a glib allocation function which \
* will cause the application to crash when it runs out of \
* memory. This is not cool. either g_try methods should be \
* used or malloc, or new (note that gecko /will/ be replacing \
* its operator new such that new will not throw exceptions). \
* XXX please fix me. \
*/ \
if (!newed) { \
} \
PR_END_MACRO
#define ALLOC_NOT_CHECKED(newed) PR_BEGIN_MACRO \
/* This might not crash, but the code probably isn't really \
* designed to handle it, perhaps the code should be fixed? \
*/ \
if (!newed) { \
} \
PR_END_MACRO
//*****************************************************************************
// EmbedGlobalHistory::nsIGlobalHistory
//*****************************************************************************
// Add a new URI to the history
NS_IMETHODIMP EmbedGlobalHistory::AddURI(nsIURI *aURI, PRBool aRedirect, PRBool aToplevel, nsIURI *aReferrer)
{
NS_ENSURE_ARG(aURI);
nsCAutoString URISpec;
aURI->GetSpec(URISpec);
const char *aURL = URISpec.get();
if (!aToplevel)
return NS_OK;
PRBool isHTTP, isHTTPS;
nsresult rv = NS_OK;
rv |= aURI->SchemeIs("http", &isHTTP);
rv |= aURI->SchemeIs("https", &isHTTPS);
NS_ENSURE_SUCCESS(rv, NS_ERROR_FAILURE);
// Only get valid uri schemes
if (!isHTTP && !isHTTPS)
{
/* the following blacklist is silly.
* if there's some need to whitelist http(s) + ftp,
* that's what we should do.
*/
PRBool isAbout, isImap, isNews, isMailbox, isViewSource, isChrome, isData, isJavascript;
rv = aURI->SchemeIs("about", &isAbout);
rv |= aURI->SchemeIs("imap", &isImap);
rv |= aURI->SchemeIs("news", &isNews);
rv |= aURI->SchemeIs("mailbox", &isMailbox);
rv |= aURI->SchemeIs("view-source", &isViewSource);
rv |= aURI->SchemeIs("chrome", &isChrome);
rv |= aURI->SchemeIs("data", &isData);
rv |= aURI->SchemeIs("javascript", &isJavascript);
NS_ENSURE_SUCCESS(rv, NS_ERROR_FAILURE);
if (isAbout ||
isImap ||
isNews ||
isMailbox ||
isViewSource ||
isChrome ||
isData ||
isJavascript) {
return NS_OK;
}
}
#ifdef DEBUG
NS_WARNING("[HISTORY] Visited URL: %s\n", aURL);
#endif
rv = LoadData();
NS_ENSURE_SUCCESS(rv, rv);
GList *node = g_list_find_custom(mURLList, aURL, (GCompareFunc) history_entry_find_exist);
HistoryEntry *entry = NULL;
if (node && node->data)
entry = (HistoryEntry *)(node->data);
nsCAutoString hostname;
aURI->GetHost(hostname);
// It is not in the history
if (!entry) {
entry = new HistoryEntry;
ALLOC_NOT_CHECKED(entry);
rv |= OnVisited(entry);
SET_TITLE(entry, hostname);
rv |= SET_URL(entry, aURL);
BROKEN_RV_HANDLING_CODE(rv);
unsigned int listSize = g_list_length(mURLList);
if (listSize+1 > kDefaultMaxSize) {
GList *last = g_list_last(mURLList);
mURLList = g_list_remove(mURLList, last->data);
}
mURLList = g_list_insert_sorted(mURLList, entry,
(GCompareFunc) find_insertion_place);
// Flush after kNewEntriesBetweenFlush changes
BROKEN_RV_HANDLING_CODE(rv);
if (++mEntriesAddedSinceFlush >= kNewEntriesBetweenFlush)
rv |= FlushData(kFlushModeAppend);
// At this point, something understands there's a new global history item
} else {
// update the last visited time
rv |= OnVisited(entry);
SET_TITLE(entry, hostname);
// Move the element to the start of the list
BROKEN_RV_HANDLING_CODE(rv);
mURLList = g_list_remove(mURLList, entry);
mURLList = g_list_insert_sorted(mURLList, entry, (GCompareFunc) find_insertion_place);
// Flush after kNewEntriesBetweenFlush changes
BROKEN_RV_HANDLING_CODE(rv);
mFlushModeFullWriteNeeded = PR_TRUE;
if (++mEntriesAddedSinceFlush >= kNewEntriesBetweenFlush)
rv |= FlushData(kFlushModeFullWrite);
}
return rv;
}
// Return TRUE if the url is already in history
NS_IMETHODIMP EmbedGlobalHistory::IsVisited(nsIURI *aURI, PRBool *_retval)
{
NS_ENSURE_ARG(aURI);
NS_ENSURE_ARG_POINTER(_retval);
nsCAutoString URISpec;
aURI->GetSpec(URISpec);
const char *aURL = URISpec.get();
nsresult rv = LoadData();
NS_ENSURE_SUCCESS(rv, rv);
GList *node = g_list_find_custom(mURLList, aURL,
(GCompareFunc) history_entry_find_exist);
*_retval = (node && node->data);
return rv;
}
// It is called when Mozilla get real name of a URL
NS_IMETHODIMP EmbedGlobalHistory::SetPageTitle(nsIURI *aURI,
const nsAString & aTitle)
{
NS_ENSURE_ARG(aURI);
nsresult rv;
// skip about: URIs to avoid reading in the db (about:blank, especially)
PRBool isAbout;
rv = aURI->SchemeIs("about", &isAbout);
NS_ENSURE_SUCCESS(rv, rv);
if (isAbout)
return NS_OK;
nsCAutoString URISpec;
aURI->GetSpec(URISpec);
const char *aURL = URISpec.get();
rv |= LoadData();
BROKEN_RV_HANDLING_CODE(rv);
NS_ENSURE_SUCCESS(rv, rv);
GList *node = g_list_find_custom(mURLList, aURL,
(GCompareFunc) history_entry_find_exist);
HistoryEntry *entry = NULL;
if (node)
entry = (HistoryEntry *)(node->data);
if (entry) {
SET_TITLE(entry, NS_ConvertUTF16toUTF8(aTitle).get());
BROKEN_RV_HANDLING_CODE(rv);
mFlushModeFullWriteNeeded = PR_TRUE;
if (++mEntriesAddedSinceFlush >= kNewEntriesBetweenFlush)
rv |= FlushData(kFlushModeFullWrite);
BROKEN_RV_HANDLING_CODE(rv);
}
return rv;
}
nsresult EmbedGlobalHistory::RemoveEntries(const PRUnichar *url, int time)
{
nsresult rv = NS_ERROR_FAILURE;
if (!mURLList)
return rv;
if (url) {
GList *node = g_list_find_custom(mURLList, NS_ConvertUTF16toUTF8(url).get(), (GCompareFunc) history_entry_find_exist);
if (!node) return rv;
if (node->data) {
HistoryEntry *entry = NS_STATIC_CAST(HistoryEntry *,
node->data);
entry->mLastVisitTime = 0;
delete entry;
mURLList = g_list_remove(mURLList, entry);
}
} else {
g_list_foreach (mURLList, (GFunc) history_entry_foreach_to_remove, NULL);
g_list_free(mURLList);
mURLList = NULL;
}
mFlushModeFullWriteNeeded = PR_TRUE;
mEntriesAddedSinceFlush++;
rv = FlushData(kFlushModeFullWrite);
return rv;
}
//*****************************************************************************
// EmbedGlobalHistory::nsIObserver
//*****************************************************************************
NS_IMETHODIMP EmbedGlobalHistory::Observe(nsISupports *aSubject,
const char *aTopic,
const PRUnichar *aData)
{
nsresult rv = NS_OK;
// used when the browser is closed and the EmbedGlobalHistory destructor is not called
if (strcmp(aTopic, "quit-application") == 0) {
rv = LoadData();
// we have to sort the list before flush it
rv |= FlushData(kFlushModeFullWrite);
if (mURLList) {
g_list_foreach(mURLList, (GFunc) history_entry_foreach_to_remove, NULL);
g_list_free(mURLList);
mURLList = NULL;
}
if (mFileHandle) {
CLOSE_FILE_HANDLE(mFileHandle);
}
} else if (strcmp(aTopic, "RemoveEntries") == 0) {
rv |= RemoveEntries(aData, 0);
}
return rv;
}
static nsresult
GetHistoryFileName(char **aHistoryFile)
{
NS_ENSURE_ARG_POINTER(aHistoryFile);
// Get the history file in our profile dir.
// Notice we are not just getting NS_APP_HISTORY_50_FILE
// because it is used by the "real" global history component.
if (EmbedPrivate::sProfileDir) {
nsCString path;
EmbedPrivate::sProfileDir->GetNativePath(path);
*aHistoryFile = g_strdup_printf("%s/history.dat", path.get());
BROKEN_STRING_BUILDER(aHistoryFile);
} else {
*aHistoryFile = g_strdup_printf("%s/history.dat", g_get_tmp_dir());
BROKEN_STRING_BUILDER(aHistoryFile);
}
return NS_OK;
}
//*****************************************************************************
// EmbedGlobalHistory
//*****************************************************************************
// Open/Create the history.dat file if it does not exist
nsresult EmbedGlobalHistory::InitFile()
{
if (!mHistoryFile) {
if (NS_FAILED(GetHistoryFileName(&mHistoryFile)))
return NS_ERROR_FAILURE;
}
LOCAL_FILE *uri = file_handle_uri_new(mHistoryFile);
if (!uri)
return NS_ERROR_FAILURE;
gboolean rs = FALSE;
if (!file_handle_uri_exists(uri)) {
if (!file_handle_create_uri(&mFileHandle, uri)) {
NS_WARNING("Could not create a history file\n");
file_handle_uri_release(uri);
return NS_ERROR_FAILURE;
}
CLOSE_FILE_HANDLE(mFileHandle);
}
rs = file_handle_open_uri(&mFileHandle, uri);
file_handle_uri_release(uri);
if (!rs) {
NS_WARNING("Could not open a history file\n");
return NS_ERROR_FAILURE;
}
return NS_OK;
}
// Get the data from history.dat file
nsresult EmbedGlobalHistory::LoadData()
{
nsresult rv = NS_OK;
if (!mDataIsLoaded) {
mDataIsLoaded = PR_TRUE;
LOCAL_FILE *uri = file_handle_uri_new(mHistoryFile);
if (uri) {
rv |= ReadEntries(uri);
file_handle_uri_release(uri);
}
}
return rv;
}
// Call a function to write each entry in the history hash table
nsresult EmbedGlobalHistory::WriteEntryIfWritten(GList *list, OUTPUT_STREAM *file_handle)
{
if (!file_handle)
return NS_ERROR_FAILURE;
unsigned int counter = g_list_length(list);
while (counter > 0) {
HistoryEntry *entry = NS_STATIC_CAST(HistoryEntry*, g_list_nth_data(list, counter-1));
counter--;
if (!entry || entryHasExpired(entry)) {
continue;
}
writeEntry(file_handle, entry);
}
return NS_OK;
}
// Call a function to write each unwritten entry in the history hash table
nsresult EmbedGlobalHistory::WriteEntryIfUnwritten(GList *list, OUTPUT_STREAM *file_handle)
{
if (!file_handle)
return NS_ERROR_FAILURE;
unsigned int counter = g_list_length(list);
while (counter > 0) {
HistoryEntry *entry = NS_STATIC_CAST(HistoryEntry*, g_list_nth_data(list, counter-1));
if (!entry || entryHasExpired(entry)) {
counter--;
continue;
}
if (!GetIsWritten(entry))
writeEntry(file_handle, entry);
counter--;
}
return NS_OK;
}
// Write the history in history.dat file
nsresult EmbedGlobalHistory::FlushData(PRIntn mode)
{
nsresult rv = NS_OK;
if (mEntriesAddedSinceFlush == 0)
return NS_OK;
if (!mHistoryFile)
{
rv = InitFile();
NS_ENSURE_SUCCESS(rv, rv);
rv = FlushData(kFlushModeFullWrite);
return rv;
}
LOCAL_FILE *uri = file_handle_uri_new(mHistoryFile);
if (!uri) return NS_ERROR_FAILURE;
gboolean rs = file_handle_uri_exists(uri);
file_handle_uri_release(uri);
if (!rs && NS_FAILED(rv))
return NS_ERROR_FAILURE;
if (mode == kFlushModeFullWrite || mFlushModeFullWriteNeeded == PR_TRUE)
{
if (!file_handle_seek(mFileHandle, FALSE))
return NS_ERROR_FAILURE;
if (!file_handle_truncate(mFileHandle))
return NS_ERROR_FAILURE;
WriteEntryIfWritten(mURLList, mFileHandle);
mFlushModeFullWriteNeeded = PR_FALSE;
}
else
{
if (!file_handle_seek(mFileHandle, TRUE))
return NS_ERROR_FAILURE;
WriteEntryIfUnwritten(mURLList, mFileHandle);
}
mEntriesAddedSinceFlush = 0;
return NS_OK;
}
// Split an entry in last visit time, title and url.
// Add a stored entry in the history.dat file in the history hash table
nsresult EmbedGlobalHistory::GetEntry(const char *entry)
{
char separator = (char) defaultSeparator;
int pos = 0;
nsInt64 outValue = 0;
while (PR_TRUE) {
PRInt32 digit;
if (entry[pos] == separator) {
pos++;
break;
}
if (entry[pos] == '\0' || !isdigit(entry[pos]))
return NS_ERROR_FAILURE;
digit = entry[pos] - '0';
outValue *= nsInt64(10);
outValue += nsInt64(digit);
pos++;
}
char url[1024], title[1024];
int urlLength= 0, titleLength= 0, numStrings=1;
// get the url and title
// FIXME
while(PR_TRUE) {
if (entry[pos] == separator) {
numStrings++;
pos++;
continue;
}
if (numStrings > 2)
break;
if (numStrings==1) {
url[urlLength++] = entry[pos];
} else {
title[titleLength++] = entry[pos];
}
pos++;
}
url[urlLength]='\0';
title[titleLength]='\0';
HistoryEntry *newEntry = new HistoryEntry;
if (!newEntry)
return NS_ERROR_OUT_OF_MEMORY;
nsresult rv = NS_OK;
SET_TITLE(newEntry, title);
rv |= SetLastVisitTime(newEntry, outValue);
rv |= SetIsWritten(newEntry);
rv |= SET_URL(newEntry, url);
BROKEN_RV_HANDLING_CODE(rv);
// Check wheter the entry has expired
if (!entryHasExpired(newEntry)) {
mURLList = g_list_prepend(mURLList, newEntry);
}
return rv;
}
// Get the history entries from history.dat file
nsresult EmbedGlobalHistory::ReadEntries(LOCAL_FILE *file_uri)
{
if (!file_uri)
return NS_ERROR_FAILURE;
nsresult rv = NS_OK;
nsCOMPtr<nsIInputStream> fileStream;
NS_NewLocalFileInputStream(getter_AddRefs(fileStream), file_uri);
if (!fileStream)
return NS_ERROR_OUT_OF_MEMORY;
nsCOMPtr<nsILineInputStream> lineStream = do_QueryInterface(fileStream, &rv);
NS_ASSERTION(lineStream, "File stream is not an nsILineInputStream");
// Read the header
nsCString utf8Buffer;
PRBool moreData = PR_FALSE;
PRInt32 safe_limit = 0;
do {
rv = lineStream->ReadLine(utf8Buffer, &moreData);
safe_limit++;
if (NS_FAILED(rv))
return NS_OK;
if (utf8Buffer.IsEmpty())
continue;
rv = GetEntry(utf8Buffer.get());
} while (moreData && safe_limit < kMaxSafeReadEntriesCount);
fileStream->Close();
return rv;
}
//*****************************************************************************
// Static Functions
//*****************************************************************************
// Get last visit time from a string
static nsresult writePRInt64(char time[14], const PRInt64& inValue)
{
nsInt64 value(inValue);
if (value == nsInt64(0)) {
strcpy(time, "0");
return NS_OK;
}
nsCAutoString tempString;
while (value != nsInt64(0)) {
PRInt32 ones = PRInt32(value % nsInt64(10));
value /= nsInt64(10);
tempString.Insert(char('0' + ones), 0);
}
strcpy(time,(char *) tempString.get());
return NS_OK;
}
// Write an entry in the history.dat file
nsresult writeEntry(OUTPUT_STREAM *file_handle, HistoryEntry *entry)
{
nsresult rv = NS_OK;
char sep = (char) defaultSeparator;
char time[14];
writePRInt64(time, GetLastVisitTime(entry));
char *line = g_strdup_printf("%s%c%s%c%s%c\n", time, sep, GET_URL(entry), sep, GET_TITLE(entry), sep);
BROKEN_STRING_BUILDER(line);
guint64 size = file_handle_write(file_handle, (gpointer)line);
if (size != strlen(line))
rv = NS_ERROR_FAILURE;
rv |= SetIsWritten(entry);
g_free(line);
return rv;
}
nsresult EmbedGlobalHistory::GetContentList(GtkMozHistoryItem **GtkHI, int *count)
{
if (!mURLList) return NS_ERROR_FAILURE;
unsigned int num_items = 0;
*GtkHI = g_new0(GtkMozHistoryItem, g_list_length(mURLList));
UNACCEPTABLE_CRASHY_GLIB_ALLOCATION(*GtkHI);
GtkMozHistoryItem * item = (GtkMozHistoryItem *)*GtkHI;
while (num_items < g_list_length(mURLList)) {
HistoryEntry *entry = NS_STATIC_CAST(HistoryEntry*,
g_list_nth_data(mURLList, num_items));
// verify if the entry has expired and discard it
if (entryHasExpired(entry)) {
break;
}
glong accessed;
PRInt64 temp, outValue;
LL_MUL(outValue, GetLastVisitTime(entry), kOneThousand);
LL_DIV(temp, outValue, PR_USEC_PER_SEC);
LL_L2I(accessed, temp);
// Set the External history list
item[num_items].title = GET_TITLE(entry);
BROKEN_STRING_BUILDER(item[num_items].title);
item[num_items].url = GET_URL(entry);
item[num_items].accessed = accessed;
num_items++;
}
*count = num_items;
return NS_OK;
}

View File

@@ -0,0 +1,128 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Conrad Carlen <ccarlen@netscape.com>
* Changes: andre.pedralho@indt.org.br (from original: mozilla/embedding/lite/nsEmbedGlobalHistory.h)
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef __EMBEDGLOBALHISTORY_h
#define __EMBEDGLOBALHISTORY_h
#include "nsIGlobalHistory2.h"
#include "nsIObserver.h"
#include "EmbedPrivate.h"
#include <prenv.h>
#include <gtk/gtk.h>
#include "nsDocShellCID.h"
#define OUTPUT_STREAM nsIOutputStream
#define LOCAL_FILE nsILocalFile
//#include "gtkmozembed_common.h"
/* {2f977d51-5485-11d4-87e2-0010a4e75ef2} */
#define NS_EMBEDGLOBALHISTORY_CID \
{ 0x2f977d51, 0x5485, 0x11d4, \
{ 0x87, 0xe2, 0x00, 0x10, 0xa4, 0xe7, 0x5e, 0xf2 } }
#define EMBED_HISTORY_PREF_EXPIRE_DAYS "browser.history_expire_days"
/** The Mozilla History Class
* This class is responsible for handling the history stuff.
*/
class EmbedGlobalHistory: public nsIGlobalHistory2,
public nsIObserver
{
public:
EmbedGlobalHistory();
virtual ~EmbedGlobalHistory();
static EmbedGlobalHistory* GetInstance();
static void DeleteInstance();
NS_IMETHOD Init();
nsresult GetContentList(GtkMozHistoryItem**, int *count);
NS_DECL_ISUPPORTS
NS_DECL_NSIGLOBALHISTORY2
NS_DECL_NSIOBSERVER
nsresult RemoveEntries(const PRUnichar *url = nsnull, int time = 0);
protected:
enum {
kFlushModeAppend, /** < Add a new entry in the history file */
kFlushModeFullWrite /** < Rewrite all history file */
};
/** Initiates the history file
* @return NS_OK on the success.
*/
nsresult InitFile();
/** Loads the history file
* @return NS_OK on the success.
*/
nsresult LoadData();
/** Writes entries in the history file
* @param list The internal history list.
* @param handle A Gnome VFS handle.
* @return NS_OK on the success.
*/
nsresult WriteEntryIfWritten(GList *list, OUTPUT_STREAM *file_handle);
/** Writes entries in the history file
* @param list The internal history list.
* @param handle A Gnome VFS handle.
* @return NS_OK on the success.
*/
nsresult WriteEntryIfUnwritten(GList *list, OUTPUT_STREAM *file_handle);
/** Writes entries in the history file
* @param mode How to write in the history file
* @return NS_OK on the success.
*/
nsresult FlushData(PRIntn mode = kFlushModeFullWrite);
/** Remove entries from the URL table
* @return NS_OK on the success.
*/
nsresult ResetData();
/** Reads the history entries using GnomeVFS
* @param vfs_handle A Gnome VFS handle.
* @return NS_OK on the success.
*/
nsresult ReadEntries(LOCAL_FILE *file_uri);
/** Gets a history entry
* @param name The history entry name.
* @return NS_OK if the history entry name was gotten.
*/
nsresult GetEntry(const char *);
protected:
OUTPUT_STREAM *mFileHandle; /** < The History File handle */
PRBool mDataIsLoaded; /** < If the data is loaded */
PRBool mFlushModeFullWriteNeeded;/** < If needs a full flush */
PRInt32 mEntriesAddedSinceFlush; /** < Number of entries added since flush */
gchar* mHistoryFile; /** < The history file path */
};
// Default maximum history entries
static const PRUint32 kDefaultMaxSize = 1000;
#endif

View File

@@ -0,0 +1,88 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=4 sts=2 tw=80 et cindent: */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Oleg Romashin. Portions created by Oleg Romashin are Copyright (C) Oleg Romashin. All Rights Reserved.
* Portions created by the Initial Developer are Copyright (C) 2006
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Oleg Romashin <romaxa@gmail.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "EmbedGtkTools.h"
#ifndef MOZILLA_INTERNAL_API
#include "nsServiceManagerUtils.h"
#endif
#include "EmbedPrivate.h"
GtkWidget * GetGtkWidgetForDOMWindow(nsIDOMWindow* aDOMWindow)
{
nsCOMPtr<nsIWindowWatcher> wwatch = do_GetService("@mozilla.org/embedcomp/window-watcher;1");
if (!aDOMWindow)
return NULL;
nsCOMPtr<nsIWebBrowserChrome> chrome;
wwatch->GetChromeForWindow(aDOMWindow, getter_AddRefs(chrome));
if (!chrome) {
return GTK_WIDGET(EmbedCommon::GetAnyLiveWidget());
}
nsCOMPtr<nsIEmbeddingSiteWindow> siteWindow = nsnull;
siteWindow = do_QueryInterface(chrome);
if (!siteWindow) {
return GTK_WIDGET(EmbedCommon::GetAnyLiveWidget());
}
GtkWidget* parentWidget;
siteWindow->GetSiteWindow((void**)&parentWidget);
if (GTK_IS_WIDGET(parentWidget))
return parentWidget;
return NULL;
}
GtkWindow * GetGtkWindowForDOMWindow(nsIDOMWindow* aDOMWindow)
{
GtkWidget* parentWidget = GetGtkWidgetForDOMWindow(aDOMWindow);
if (!parentWidget)
return NULL;
GtkWidget* gtkWin = gtk_widget_get_toplevel(parentWidget);
if (GTK_WIDGET_TOPLEVEL(gtkWin))
return GTK_WINDOW(gtkWin);
return NULL;
}
nsresult GetContentViewer(nsIWebBrowser *webBrowser, nsIContentViewer **aViewer)
{
g_return_val_if_fail(webBrowser, NS_ERROR_FAILURE);
nsCOMPtr<nsIDocShell> docShell(do_GetInterface((nsISupports*)webBrowser));
NS_ENSURE_TRUE(docShell, NS_ERROR_FAILURE);
return docShell->GetContentViewer(aViewer);
}

View File

@@ -0,0 +1,67 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 et cindent: */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Oleg Romashin. Portions created by Oleg Romashin are Copyright (C) Oleg Romashin. All Rights Reserved.
* Portions created by the Initial Developer are Copyright (C) 2006
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Oleg Romashin <romaxa@gmail.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef __EmbedTools_h
#define __EmbedTools_h
#include "nsCOMPtr.h"
#ifdef MOZILLA_INTERNAL_API
#include "nsString.h"
#else
#include "nsStringAPI.h"
#endif
#include "nsIDOMWindow.h"
#include "nsIWindowWatcher.h"
#include "nsIWebBrowserChrome.h"
#include "nsIEmbeddingSiteWindow.h"
#include "nsIServiceManager.h"
#include "nsIContentViewer.h"
#include "nsIDocShell.h"
#include "nsIInterfaceRequestorUtils.h"
#include <gtk/gtk.h>
GtkWidget*
GetGtkWidgetForDOMWindow(nsIDOMWindow* aDOMWindow);
GtkWindow*
GetGtkWindowForDOMWindow(nsIDOMWindow* aDOMWindow);
nsresult
GetContentViewer(nsIWebBrowser *webBrowser, nsIContentViewer **aViewer);
#endif /* __EmbedTools_h */

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,227 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 tw=80 et cindent: */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Password Manager.
*
* The Initial Developer of the Original Code is
* Brian Ryner.
* Portions created by the Initial Developer are Copyright (C) 2003
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Brian Ryner <bryner@brianryner.com>
* Changes: romaxa@gmail.com (from original: mozilla/toolkit/components/passwordmgr/base/nsPasswordManager.h)
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsCPasswordManager.h"
#include "nsClassHashtable.h"
#include "nsDataHashtable.h"
#include "nsCOMPtr.h"
#include "nsIObserver.h"
#include "nsWeakReference.h"
#include "nsIFormSubmitObserver.h"
#include "nsIWebProgressListener.h"
#include "nsIDOMFocusListener.h"
#include "nsIDOMLoadListener.h"
#include "nsIStringBundle.h"
#include "nsIPrefBranch.h"
#include "nsIPromptFactory.h"
#include "nsIAuthPromptWrapper.h"
#include "nsCOMPtr.h"
#include "nsIPrompt.h"
#include "nsIAuthPrompt2.h"
#include "EmbedPrivate.h"
#define EMBED_PASSWORDMANAGER_DESCRIPTION "MicroB PSM Dialog Impl"
/* 360565c4-2ef3-4f6a-bab9-94cca891b2a7 */
#define EMBED_PASSWORDMANAGER_CID \
{0x360565c4, 0x2ef3, 0x4f6a, {0xba, 0xb9, 0x94, 0xcc, 0xa8, 0x91, 0xb2, 0xa7}}
class nsIFile;
class nsIStringBundle;
class nsIComponentManager;
class nsIContent;
class nsIDOMWindowInternal;
class nsIURI;
class nsIDOMHTMLInputElement;
class nsIDOMWindow;
class nsIPromptService2;
struct nsModuleComponentInfo;
class EmbedPasswordMgr : public nsIPasswordManager,
public nsIPasswordManagerInternal,
public nsIObserver,
public nsIFormSubmitObserver,
public nsIWebProgressListener,
public nsIDOMFocusListener,
public nsIPromptFactory,
public nsIDOMLoadListener,
public nsSupportsWeakReference
{
public:
class SignonDataEntry;
class SignonHashEntry;
class PasswordEntry;
EmbedPasswordMgr();
virtual ~EmbedPasswordMgr();
static EmbedPasswordMgr* GetInstance();
static EmbedPasswordMgr* GetInstance(EmbedPrivate *aOwner);
nsresult Init();
static PRBool SingleSignonEnabled();
static NS_METHOD Register(nsIComponentManager* aCompMgr,
nsIFile* aPath,
const char* aRegistryLocation,
const char* aComponentType,
const nsModuleComponentInfo* aInfo);
static NS_METHOD Unregister(nsIComponentManager* aCompMgr,
nsIFile* aPath,
const char* aRegistryLocation,
const nsModuleComponentInfo* aInfo);
static void Shutdown();
static void GetLocalizedString(const nsAString& key,
nsAString& aResult,
PRBool aFormatted = PR_FALSE,
const PRUnichar** aFormatArgs = nsnull,
PRUint32 aFormatArgsLength = 0);
static nsresult DecryptData(const nsAString& aData, nsAString& aPlaintext);
static nsresult EncryptData(const nsAString& aPlaintext,
nsACString& aEncrypted);
static nsresult EncryptDataUCS2(const nsAString& aPlaintext,
nsAString& aEncrypted);
nsresult InsertLogin(const char* username, const char* password = nsnull);
nsresult RemovePasswords(const char *aHostName, const char *aUserName);
nsresult RemovePasswordsByIndex(PRUint32 aIndex);
nsresult IsEqualToLastHostQuery(nsCString& aHost);
NS_DECL_ISUPPORTS
NS_DECL_NSIPASSWORDMANAGER
NS_DECL_NSIPASSWORDMANAGERINTERNAL
NS_DECL_NSIOBSERVER
NS_DECL_NSIWEBPROGRESSLISTENER
NS_DECL_NSIPROMPTFACTORY
// nsIFormSubmitObserver
NS_IMETHOD Notify(nsIContent* aFormNode,
nsIDOMWindowInternal* aWindow,
nsIURI* aActionURL,
PRBool* aCancelSubmit);
// nsIDOMFocusListener
NS_IMETHOD Focus(nsIDOMEvent* aEvent);
NS_IMETHOD Blur(nsIDOMEvent* aEvent);
// nsIDOMEventListener
NS_IMETHOD HandleEvent(nsIDOMEvent* aEvent);
// nsIDOMLoadListener
NS_IMETHOD Load(nsIDOMEvent* aEvent);
NS_IMETHOD Unload(nsIDOMEvent* aEvent);
NS_IMETHOD BeforeUnload(nsIDOMEvent* aEvent);
NS_IMETHOD Abort(nsIDOMEvent* aEvent);
NS_IMETHOD Error(nsIDOMEvent* aEvent);
protected:
void WritePasswords(nsIFile* aPasswordFile);
void AddSignonData(const nsACString& aRealm, SignonDataEntry* aEntry);
nsresult FindPasswordEntryInternal(const SignonDataEntry* aEntry,
const nsAString& aUser,
const nsAString& aPassword,
const nsAString& aUserField,
SignonDataEntry** aResult);
nsresult FillPassword(nsIDOMEvent* aEvent = nsnull);
void AttachToInput(nsIDOMHTMLInputElement* aElement);
PRBool GetPasswordRealm(nsIURI* aURI, nsACString& aRealm);
static PLDHashOperator PR_CALLBACK FindEntryEnumerator(const nsACString& aKey,
SignonHashEntry* aEntry,
void* aUserData);
static PLDHashOperator PR_CALLBACK WriteRejectEntryEnumerator(const nsACString& aKey,
PRInt32 aEntry,
void* aUserData);
static PLDHashOperator PR_CALLBACK WriteSignonEntryEnumerator(const nsACString& aKey,
SignonHashEntry* aEntry,
void* aUserData);
static PLDHashOperator PR_CALLBACK BuildArrayEnumerator(const nsACString& aKey,
SignonHashEntry* aEntry,
void* aUserData);
static PLDHashOperator PR_CALLBACK BuildRejectArrayEnumerator(const nsACString& aKey,
PRInt32 aEntry,
void* aUserData);
static PLDHashOperator PR_CALLBACK RemoveForDOMDocumentEnumerator(nsISupports* aKey,
PRInt32& aEntry,
void* aUserData);
static void EnsureDecoderRing();
nsClassHashtable<nsCStringHashKey,SignonHashEntry> mSignonTable;
nsDataHashtable<nsCStringHashKey,PRInt32> mRejectTable;
nsDataHashtable<nsISupportsHashKey,PRInt32> mAutoCompleteInputs;
nsCOMPtr<nsIFile> mSignonFile;
nsCOMPtr<nsIPrefBranch> mPrefBranch;
nsIDOMHTMLInputElement* mAutoCompletingField;
nsIDOMHTMLInputElement* mGlobalUserField;
nsIDOMHTMLInputElement* mGlobalPassField;
SignonHashEntry * mLastSignonHashEntry;
int lastIndex;
nsCAutoString mLastHostQuery;
EmbedCommon* mCommonObject;
public:
PRBool mFormAttachCount;
// nsAString mLastHostQuery;
};
/* 1baf3398-f759-4a72-a21f-0abdc9cc9960 */
#define NS_SINGLE_SIGNON_PROMPT_CID \
{0x1baf3398, 0xf759, 0x4a72, {0xa2, 0x1f, 0x0a, 0xbd, 0xc9, 0xcc, 0x99, 0x60}}
// Our wrapper for username/password prompts - this allows us to prefill
// the password dialog and add a "remember this password" checkbox.
class EmbedSignonPrompt : public nsIAuthPromptWrapper
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIAUTHPROMPT
NS_DECL_NSIAUTHPROMPTWRAPPER
EmbedSignonPrompt() {}
virtual ~EmbedSignonPrompt() {}
protected:
void GetLocalizedString(const nsAString& aKey, nsAString& aResult);
nsCOMPtr<nsIPrompt> mPrompt;
};
// A wrapper for the newer nsIAuthPrompt2 interface
// Its purpose is the same as nsSingleSignonPrompt, but wraps an nsIDOMWindow
// instead of an nsIPrompt.
class EmbedSignonPrompt2 : public nsIAuthPrompt2
{
public:
EmbedSignonPrompt2(nsIPromptService2* aService, nsIDOMWindow* aParent);
NS_DECL_ISUPPORTS
NS_DECL_NSIAUTHPROMPT2
private:
~EmbedSignonPrompt2();
nsCOMPtr<nsIPromptService2> mService;
nsCOMPtr<nsIDOMWindow> mParent;
};

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,268 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 et cindent: */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Christopher Blizzard. Portions created by Christopher Blizzard are Copyright (C) Christopher Blizzard. All Rights Reserved.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Christopher Blizzard <blizzard@mozilla.org>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef __EmbedPrivate_h
#define __EmbedPrivate_h
#include "nsCOMPtr.h"
#ifdef MOZILLA_INTERNAL_API
#include "nsString.h"
#else
#include "nsStringAPI.h"
#include "nsComponentManagerUtils.h"
#include "nsServiceManagerUtils.h"
#endif
#include "nsIWebNavigation.h"
#include "nsISHistory.h"
// for our one function that gets the EmbedPrivate via the chrome
// object.
#include "nsIWebBrowserChrome.h"
#include "nsIAppShell.h"
#include "nsIDOMEventReceiver.h"
#include "nsVoidArray.h"
// app component registration
#include "nsIGenericFactory.h"
#include "nsIComponentRegistrar.h"
#include "nsIDocCharset.h"
#include "nsIMarkupDocumentViewer.h"
#include "nsIInterfaceRequestorUtils.h"
#include "nsIWebBrowserFind.h"
// for the focus hacking we need to do
#include "nsIFocusController.h"
// for frames
#include "nsIDOMWindowCollection.h"
#include "gtkmozembedprivate.h"
#include "nsICacheEntryDescriptor.h"
#include "EmbedGtkTools.h"
class EmbedProgress;
class EmbedWindow;
class EmbedContentListener;
class EmbedEventListener;
class nsPIDOMWindow;
class nsIDirectoryServiceProvider;
class EmbedCommon {
public:
EmbedCommon() {
};
~EmbedCommon() { };
static EmbedCommon* GetInstance();
static void DeleteInstance();
nsresult Init(void);
GtkObject *mCommon;
static GtkMozEmbed* GetAnyLiveWidget();
};
class EmbedPrivate {
public:
EmbedPrivate();
~EmbedPrivate();
nsresult Init (GtkMozEmbed *aOwningWidget);
nsresult Realize (PRBool *aAlreadRealized);
void Unrealize (void);
void Show (void);
void Hide (void);
void Resize (PRUint32 aWidth, PRUint32 aHeight);
void Destroy (void);
void SetURI (const char *aURI);
void LoadCurrentURI (void);
void Reload (PRUint32 reloadFlags);
void SetChromeMask (PRUint32 chromeMask);
void ApplyChromeMask ();
static void PushStartup (void);
static void PopStartup (void);
static void SetPath (const char *aPath);
static void SetCompPath (const char *aPath);
static void SetAppComponents (const nsModuleComponentInfo* aComps,
int aNumComponents);
static void SetProfilePath (const char *aDir, const char *aName);
static void SetDirectoryServiceProvider (nsIDirectoryServiceProvider * appFileLocProvider);
nsresult OpenStream (const char *aBaseURI, const char *aContentType);
nsresult AppendToStream (const PRUint8 *aData, PRUint32 aLen);
nsresult CloseStream (void);
// This function will find the specific EmbedPrivate object for a
// given nsIWebBrowserChrome.
static EmbedPrivate *FindPrivateForBrowser(nsIWebBrowserChrome *aBrowser);
// This is an upcall that will come from the progress listener
// whenever there is a content state change. We need this so we can
// attach event listeners.
void ContentStateChange (void);
// This is an upcall from the progress listener when content is
// finished loading. We have this so that if it's chrome content
// that we can size to content properly and show ourselves if
// visibility is set.
void ContentFinishedLoading(void);
#ifdef MOZ_WIDGET_GTK
// these let the widget code know when the toplevel window gets and
// looses focus.
void TopLevelFocusIn (void);
void TopLevelFocusOut(void);
#endif
// these are when the widget itself gets focus in and focus out
// events
void ChildFocusIn (void);
void ChildFocusOut(void);
PRBool ClipBoardAction(GtkMozEmbedClipboard type);
char* GetEncoding ();
nsresult SetEncoding (const char *encoding);
PRBool FindText(const char *exp, PRBool reverse,
PRBool whole_word, PRBool case_sensitive,
PRBool restart);
void SetScrollTop(PRUint32 aTop);
nsresult ScrollToSelectedNode(nsIDOMNode *aDOMNode);
nsresult InsertTextToNode(nsIDOMNode *aDOMNode, const char *string);
nsresult GetFocusController(nsIFocusController **controller);
nsresult GetDOMWindowByNode(nsIDOMNode *aNode, nsIDOMWindow * *aDOMWindow);
nsresult GetZoom(PRInt32 *aZoomLevel, nsISupports *aContext = nsnull);
nsresult SetZoom(PRInt32 aZoomLevel, nsISupports *aContext = nsnull);
nsresult HasFrames(PRUint32 *numberOfFrames);
nsresult GetMIMEInfo(const char **aMime, nsIDOMNode *aDOMNode = nsnull);
nsresult GetCacheEntry(const char *aStorage,
const char *aKeyName,
PRUint32 aAccess,
PRBool aIsBlocking,
nsICacheEntryDescriptor **aDescriptor);
nsresult GetSHistoryList(GtkMozHistoryItem **GtkHI,
GtkMozEmbedSessionHistory type, gint *count);
#ifdef MOZ_ACCESSIBILITY_ATK
void *GetAtkObjectForCurrentDocument();
#endif
GtkMozEmbed *mOwningWidget;
// all of the objects that we own
EmbedWindow *mWindow;
nsCOMPtr<nsISupports> mWindowGuard;
EmbedProgress *mProgress;
nsCOMPtr<nsISupports> mProgressGuard;
EmbedContentListener *mContentListener;
nsCOMPtr<nsISupports> mContentListenerGuard;
EmbedEventListener *mEventListener;
nsCOMPtr<nsISupports> mEventListenerGuard;
nsCOMPtr<nsIWebNavigation> mNavigation;
nsCOMPtr<nsISHistory> mSessionHistory;
// our event receiver
nsCOMPtr<nsIDOMEventReceiver> mEventReceiver;
// the currently loaded uri
nsString mURI;
nsCString mPrePath;
// the number of widgets that have been created
static PRUint32 sWidgetCount;
// the path to the GRE
static char *sPath;
// the path to components
static char *sCompPath;
// the list of application-specific components to register
static const nsModuleComponentInfo *sAppComps;
static int sNumAppComps;
// the appshell we have created
static nsIAppShell *sAppShell;
// the list of all open windows
static nsVoidArray *sWindowList;
// what is our profile path?
static nsILocalFile *sProfileDir;
static nsISupports *sProfileLock;
static nsIDirectoryServiceProvider * sAppFileLocProvider;
// chrome mask
PRUint32 mChromeMask;
// is this a chrome window?
PRBool mIsChrome;
// has the chrome finished loading?
PRBool mChromeLoaded;
// has the network finished loading?
PRBool mLoadFinished;
// saved window ID for reparenting later
GtkWidget *mMozWindowWidget;
// has someone called Destroy() on us?
PRBool mIsDestroyed;
//Open Blocker for Create Window class //Fixme...
//I just tried to block it on earlier moment
PRBool mOpenBlock;
PRBool mNeedFav;
private:
// is the chrome listener attached yet?
PRBool mListenersAttached;
PRBool mDoResizeEmbed;
void GetListener (void);
void AttachListeners(void);
void DetachListeners(void);
// this will get the PIDOMWindow for this widget
nsresult GetPIDOMWindow (nsPIDOMWindow **aPIWin);
static nsresult RegisterAppComponents();
// offscreen window methods and the offscreen widget
static void EnsureOffscreenWindow(void);
static void DestroyOffscreenWindow(void);
static GtkWidget *sOffscreenWindow;
static GtkWidget *sOffscreenFixed;
};
#endif /* __EmbedPrivate_h */

View File

@@ -0,0 +1,324 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 tw=80 et cindent: */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Christopher Blizzard. Portions created by Christopher Blizzard are Copyright (C) Christopher Blizzard. All Rights Reserved.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Christopher Blizzard <blizzard@mozilla.org>
* Antonio Gomes <tonikitoo@gmail.com>
* Oleg Romashin <romaxa@gmail.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "EmbedProgress.h"
#ifdef MOZILLA_INTERNAL_API
#include "nsXPIDLString.h"
#endif
#include "nsIChannel.h"
#include "nsIHttpChannel.h"
#include "nsIWebProgress.h"
#include "nsIDOMWindow.h"
#include "EmbedPasswordMgr.h"
#include "nsIURI.h"
#include "nsCRT.h"
static PRInt32 sStopSignalTimer = 0;
static gboolean
progress_emit_stop(void * data)
{
g_return_val_if_fail(data, FALSE);
EmbedPrivate *owner = (EmbedPrivate*)data;
if (!owner->mLoadFinished) {
owner->mLoadFinished = PR_TRUE;
gtk_signal_emit(GTK_OBJECT(owner->mOwningWidget),
moz_embed_signals[NET_STOP]);
}
return FALSE;
}
EmbedProgress::EmbedProgress(void)
{
mOwner = nsnull;
}
EmbedProgress::~EmbedProgress()
{
}
NS_IMPL_ISUPPORTS2(EmbedProgress,
nsIWebProgressListener,
nsISupportsWeakReference)
nsresult
EmbedProgress::Init(EmbedPrivate *aOwner)
{
mOwner = aOwner;
mStopLevel = 0;
return NS_OK;
}
NS_IMETHODIMP
EmbedProgress::OnStateChange(nsIWebProgress *aWebProgress,
nsIRequest *aRequest,
PRUint32 aStateFlags,
nsresult aStatus)
{
// give the widget a chance to attach any listeners
mOwner->ContentStateChange();
if (sStopSignalTimer &&
(
(aStateFlags & GTK_MOZ_EMBED_FLAG_TRANSFERRING)
|| (aStateFlags & GTK_MOZ_EMBED_FLAG_REDIRECTING)
|| (aStateFlags & GTK_MOZ_EMBED_FLAG_NEGOTIATING)
)
) {
g_source_remove(sStopSignalTimer);
mStopLevel = 0;
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[NET_START]);
mOwner->mLoadFinished = PR_FALSE;
}
// if we've got the start flag, emit the signal
if ((aStateFlags & GTK_MOZ_EMBED_FLAG_IS_NETWORK) &&
(aStateFlags & GTK_MOZ_EMBED_FLAG_START)) {
// FIXME: workaround for broken progress values.
mOwner->mOwningWidget->current_number_of_requests = 0;
mOwner->mOwningWidget->total_number_of_requests = 0;
if (mOwner->mLoadFinished) {
mOwner->mLoadFinished = PR_FALSE;
mStopLevel = 0;
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[NET_START]);
}
}
// get the uri for this request
nsCString tmpString;
RequestToURIString(aRequest, tmpString);
// FIXME: workaround for broken progress values.
if (mOwner->mOwningWidget) {
if (aStateFlags & GTK_MOZ_EMBED_FLAG_IS_REQUEST) {
if (aStateFlags & GTK_MOZ_EMBED_FLAG_START)
mOwner->mOwningWidget->total_number_of_requests ++;
else if (aStateFlags & GTK_MOZ_EMBED_FLAG_STOP)
mOwner->mOwningWidget->current_number_of_requests++;
}
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[PROGRESS_ALL],
(const gchar *) tmpString.get(),
mOwner->mOwningWidget->current_number_of_requests,
mOwner->mOwningWidget->total_number_of_requests);
}
// is it the same as the current URI?
if (mOwner->mURI.Equals(NS_ConvertUTF8toUTF16(tmpString))) {
// for people who know what they are doing
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[NET_STATE],
aStateFlags, aStatus);
}
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[NET_STATE_ALL],
(const gchar *)tmpString.get(),
(gint)aStateFlags, (gint)aStatus);
// and for stop, too
if (aStateFlags & GTK_MOZ_EMBED_FLAG_STOP) {
if (aStateFlags & GTK_MOZ_EMBED_FLAG_IS_REQUEST)
mStopLevel = 1;
if (aStateFlags & GTK_MOZ_EMBED_FLAG_IS_DOCUMENT)
mStopLevel = mStopLevel == 1 ? 2 : 0;
if (aStateFlags & GTK_MOZ_EMBED_FLAG_IS_WINDOW) {
mStopLevel = mStopLevel == 2 ? 3 : 0;
}
}
if (aStateFlags & GTK_MOZ_EMBED_FLAG_STOP) {
if (aStateFlags & GTK_MOZ_EMBED_FLAG_IS_NETWORK) {
if (sStopSignalTimer)
g_source_remove(sStopSignalTimer);
progress_emit_stop(mOwner);
// let our owner know that the load finished
mOwner->ContentFinishedLoading();
} else if (mStopLevel == 3) {
if (sStopSignalTimer)
g_source_remove(sStopSignalTimer);
mStopLevel = 0;
sStopSignalTimer = g_timeout_add(1000, progress_emit_stop, mOwner);
}
}
return NS_OK;
}
NS_IMETHODIMP
EmbedProgress::OnProgressChange(nsIWebProgress *aWebProgress,
nsIRequest *aRequest,
PRInt32 aCurSelfProgress,
PRInt32 aMaxSelfProgress,
PRInt32 aCurTotalProgress,
PRInt32 aMaxTotalProgress)
{
nsCString tmpString;
RequestToURIString(aRequest, tmpString);
// is it the same as the current uri?
if (mOwner->mURI.Equals(NS_ConvertUTF8toUTF16(tmpString))) {
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[PROGRESS],
aCurTotalProgress, aMaxTotalProgress);
}
return NS_OK;
}
NS_IMETHODIMP
EmbedProgress::OnLocationChange(nsIWebProgress *aWebProgress,
nsIRequest *aRequest,
nsIURI *aLocation)
{
nsCAutoString newURI;
nsCAutoString prePath;
NS_ENSURE_ARG_POINTER(aLocation);
aLocation->GetSpec(newURI);
aLocation->GetPrePath(prePath);
// Make sure that this is the primary frame change and not
// just a subframe.
PRBool isSubFrameLoad = PR_FALSE;
if (aWebProgress) {
nsCOMPtr<nsIDOMWindow> domWindow;
nsCOMPtr<nsIDOMWindow> topDomWindow;
aWebProgress->GetDOMWindow(getter_AddRefs(domWindow));
// get the root dom window
if (domWindow)
domWindow->GetTop(getter_AddRefs(topDomWindow));
if (domWindow != topDomWindow)
isSubFrameLoad = PR_TRUE;
}
if (!isSubFrameLoad) {
mOwner->SetURI(newURI.get());
mOwner->mPrePath.Assign(prePath.get());
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[LOCATION]);
}
mOwner->mNeedFav = PR_TRUE;
return NS_OK;
}
NS_IMETHODIMP
EmbedProgress::OnStatusChange(nsIWebProgress *aWebProgress,
nsIRequest *aRequest,
nsresult aStatus,
const PRUnichar *aMessage)
{
// need to make a copy so we can safely cast to a void *
PRUnichar *tmpString = NS_strdup(aMessage);
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[STATUS_CHANGE],
NS_STATIC_CAST(void *, aRequest),
NS_STATIC_CAST(gint, aStatus),
NS_STATIC_CAST(void *, tmpString));
NS_Free(tmpString);
return NS_OK;
}
NS_IMETHODIMP
EmbedProgress::OnSecurityChange(nsIWebProgress *aWebProgress,
nsIRequest *aRequest,
PRUint32 aState)
{
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[SECURITY_CHANGE],
NS_STATIC_CAST(void *, aRequest),
aState);
return NS_OK;
}
/* static */
void
EmbedProgress::RequestToURIString(nsIRequest *aRequest, nsCString& aString)
{
// is it a channel
nsCOMPtr<nsIChannel> channel;
channel = do_QueryInterface(aRequest);
if (!channel)
return;
nsCOMPtr<nsIURI> uri;
channel->GetURI(getter_AddRefs(uri));
if (!uri)
return;
uri->GetSpec(aString);
}
nsresult
EmbedProgress::HandleHTTPStatus(nsIRequest *aRequest, const char *aUri, PRBool &aSucceeded)
{
nsresult rv;
nsCOMPtr<nsIHttpChannel> httpChannel(do_QueryInterface(aRequest, &rv));
aSucceeded = PR_FALSE;
if (NS_FAILED(rv) || !httpChannel)
return NS_ERROR_FAILURE;
rv = httpChannel->GetRequestSucceeded(&aSucceeded);
if (aSucceeded)
return NS_OK;
PRUint32 responseCode = 0;
nsCString responseText;
rv = httpChannel->GetResponseStatus(&responseCode);
// it has to handle more http errors code ??? 401 ? responseCode >= 500 && responseCode <= 505
rv = httpChannel->GetResponseStatusText(responseText);
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[NETWORK_ERROR],
responseCode, responseText.get(), (const gchar*)aUri);
return rv;
}

View File

@@ -0,0 +1,69 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 et cindent: */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Christopher Blizzard. Portions created by Christopher Blizzard are Copyright (C) Christopher Blizzard. All Rights Reserved.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Christopher Blizzard <blizzard@mozilla.org>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef __EmbedProgress_h
#define __EmbedProgress_h
#include "nsIWebProgressListener.h"
#include "nsWeakReference.h"
#include "EmbedPrivate.h"
class EmbedProgress : public nsIWebProgressListener,
public nsSupportsWeakReference
{
public:
EmbedProgress();
virtual ~EmbedProgress();
nsresult Init(EmbedPrivate *aOwner);
NS_DECL_ISUPPORTS
NS_DECL_NSIWEBPROGRESSLISTENER
private:
static void RequestToURIString(nsIRequest *aRequest, nsCString& aString);
nsresult HandleHTTPStatus(nsIRequest *aRequest, const char *aUri, PRBool &aSucceeded);
EmbedPrivate *mOwner;
PRBool mStopLevel;
};
#endif /* __EmbedProgress_h */

View File

@@ -0,0 +1,434 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=4 sts=2 et cindent: */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2003
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Brian Ryner <bryner@brianryner.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "EmbedPrompter.h"
#define ALLOC_NOT_CHECKED(newed) PR_BEGIN_MACRO \
/* This might not crash, but the code probably isn't really \
* designed to handle it, perhaps the code should be fixed? \
*/ \
if (!newed) { \
} \
PR_END_MACRO
enum {
INCLUDE_USERNAME = 1 << 0,
INCLUDE_PASSWORD = 1 << 1,
INCLUDE_CHECKBOX = 1 << 2,
INCLUDE_CANCEL = 1 << 3
};
struct DialogDescription {
int flags;
gchar* icon;
};
// This table contains the optional widgets and icons associated with
// each type of dialog.
static const DialogDescription DialogTable[] = {
{ 0, GTK_STOCK_DIALOG_WARNING }, // ALERT
{ INCLUDE_CHECKBOX, GTK_STOCK_DIALOG_WARNING }, // ALERT_CHECK
{ INCLUDE_CANCEL, GTK_STOCK_DIALOG_QUESTION }, // CONFIRM
{ INCLUDE_CHECKBOX |
INCLUDE_CANCEL, GTK_STOCK_DIALOG_QUESTION }, // CONFIRM_CHECK
{ INCLUDE_CANCEL |
INCLUDE_CHECKBOX, GTK_STOCK_DIALOG_QUESTION }, // PROMPT
{ INCLUDE_CANCEL |
INCLUDE_USERNAME |
INCLUDE_PASSWORD |
INCLUDE_CHECKBOX, GTK_STOCK_DIALOG_QUESTION }, // PROMPT_USER_PASS
{ INCLUDE_CANCEL |
INCLUDE_PASSWORD |
INCLUDE_CHECKBOX, GTK_STOCK_DIALOG_QUESTION }, // PROMPT_PASS
{ INCLUDE_CANCEL, GTK_STOCK_DIALOG_QUESTION }, // SELECT
{ INCLUDE_CANCEL |
INCLUDE_CHECKBOX, GTK_STOCK_DIALOG_QUESTION } // UNIVERSAL
};
EmbedPrompter::EmbedPrompter(void)
: mCheckValue(PR_FALSE),
mItemList(nsnull),
mItemCount(0),
mButtonPressed(0),
mConfirmResult(PR_FALSE),
mSelectedItem(0),
mWindow(NULL),
mUserField(NULL),
mPassField(NULL),
mTextField(NULL),
mOptionMenu(NULL),
mCheckBox(NULL)
{
}
EmbedPrompter::~EmbedPrompter(void)
{
if (mItemList)
delete[] mItemList;
}
nsresult
EmbedPrompter::Create(PromptType aType, GtkWindow* aParentWindow)
{
mWindow = gtk_dialog_new_with_buttons(
mTitle.get(),
aParentWindow,
(GtkDialogFlags)0,
NULL);
// only add the dialog to the window group if the parent already has a window group,
// so as not to break app's expectations about modal dialogs.
if (aParentWindow && aParentWindow->group) {
gtk_window_group_add_window(aParentWindow->group, GTK_WINDOW(mWindow));
}
// gtk will resize this for us as necessary
gtk_window_set_default_size(GTK_WINDOW(mWindow), 100, 50);
// this HBox will contain the icon, and a vbox which contains the
// dialog text and other widgets.
GtkWidget* dialogHBox = gtk_hbox_new(FALSE, 12);
// Set up dialog properties according to the GNOME HIG
// (http://developer.gnome.org/projects/gup/hig/1.0/windows.html#alert-windows)
gtk_container_set_border_width(GTK_CONTAINER(mWindow), 6);
gtk_dialog_set_has_separator(GTK_DIALOG(mWindow), FALSE);
gtk_box_set_spacing(GTK_BOX(GTK_DIALOG(mWindow)->vbox), 12);
gtk_container_set_border_width(GTK_CONTAINER(dialogHBox), 6);
// This is the VBox which will contain the label and other controls.
GtkWidget* contentsVBox = gtk_vbox_new(FALSE, 12);
// get the stock icon for this dialog and put it in the box
const gchar* iconDesc = DialogTable[aType].icon;
GtkWidget* icon = gtk_image_new_from_stock(iconDesc, GTK_ICON_SIZE_DIALOG);
gtk_misc_set_alignment(GTK_MISC(icon), 0.5, 0.0);
gtk_box_pack_start(GTK_BOX(dialogHBox), icon, FALSE, FALSE, 0);
// now pack the label into the vbox
GtkWidget* label = gtk_label_new(mMessageText.get());
gtk_label_set_line_wrap(GTK_LABEL(label), TRUE);
gtk_label_set_selectable(GTK_LABEL(label), TRUE);
gtk_box_pack_start(GTK_BOX(contentsVBox), label, FALSE, FALSE, 0);
int widgetFlags = DialogTable[aType].flags;
if (widgetFlags & (INCLUDE_USERNAME | INCLUDE_PASSWORD)) {
// If we're creating a username and/or password field, make an hbox
// which will contain two vboxes, one for the labels and one for the
// text fields. This will let us line up the textfields.
GtkWidget* userPassHBox = gtk_hbox_new(FALSE, 12);
GtkWidget* userPassLabels = gtk_vbox_new(TRUE, 6);
GtkWidget* userPassFields = gtk_vbox_new(TRUE, 6);
if (widgetFlags & INCLUDE_USERNAME) {
GtkWidget* userLabel = gtk_label_new("User Name:");
gtk_box_pack_start(GTK_BOX(userPassLabels), userLabel, FALSE,
FALSE, 0);
mUserField = gtk_entry_new();
if (!mUser.IsEmpty())
gtk_entry_set_text(GTK_ENTRY(mUserField), mUser.get());
gtk_entry_set_activates_default(GTK_ENTRY(mUserField), TRUE);
gtk_box_pack_start(
GTK_BOX(userPassFields),
mUserField,
FALSE,
FALSE,
0);
}
if (widgetFlags & INCLUDE_PASSWORD) {
GtkWidget* passLabel = gtk_label_new("Password:");
gtk_box_pack_start(
GTK_BOX(userPassLabels),
passLabel,
FALSE,
FALSE,
0);
mPassField = gtk_entry_new();
if (!mPass.IsEmpty())
gtk_entry_set_text(GTK_ENTRY(mPassField), mPass.get());
gtk_entry_set_visibility(GTK_ENTRY(mPassField), FALSE);
gtk_entry_set_activates_default(GTK_ENTRY(mPassField), TRUE);
gtk_box_pack_start(
GTK_BOX(userPassFields),
mPassField,
FALSE,
FALSE,
0);
}
gtk_box_pack_start(
GTK_BOX(userPassHBox),
userPassLabels,
FALSE,
FALSE,
0);
gtk_box_pack_start(
GTK_BOX(userPassHBox),
userPassFields,
FALSE,
FALSE,
0);
gtk_box_pack_start(
GTK_BOX(contentsVBox),
userPassHBox,
FALSE,
FALSE,
0);
}
if (aType == TYPE_PROMPT) {
mTextField = gtk_entry_new();
if (!mTextValue.IsEmpty())
gtk_entry_set_text(GTK_ENTRY(mTextField), mTextValue.get());
gtk_entry_set_activates_default(GTK_ENTRY(mTextField), TRUE);
gtk_box_pack_start(GTK_BOX(contentsVBox), mTextField, FALSE, FALSE, 0);
}
// Add a checkbox
if ((widgetFlags & INCLUDE_CHECKBOX) && !mCheckMessage.IsEmpty()) {
mCheckBox = gtk_check_button_new_with_label(mCheckMessage.get());
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(mCheckBox),
mCheckValue);
gtk_label_set_line_wrap(
GTK_LABEL(gtk_bin_get_child(GTK_BIN(mCheckBox))),
TRUE);
gtk_box_pack_start(GTK_BOX(contentsVBox), mCheckBox, FALSE, FALSE, 0);
}
// Add a dropdown menu
if (aType == TYPE_SELECT) {
// Build up a GtkMenu containing the items
GtkWidget* menu = gtk_menu_new();
for (PRUint32 i = 0; i < mItemCount; ++i) {
GtkWidget* item = gtk_menu_item_new_with_label(mItemList[i].get());
gtk_menu_shell_append(GTK_MENU_SHELL(menu), item);
}
// Now create an OptionMenu and set this as the menu
mOptionMenu = gtk_option_menu_new();
gtk_option_menu_set_menu(GTK_OPTION_MENU(mOptionMenu), menu);
gtk_box_pack_start(GTK_BOX(contentsVBox), mOptionMenu, FALSE, FALSE, 0);
}
if (aType == TYPE_UNIVERSAL) {
// Create buttons based on the flags passed in.
for (int i = EMBED_MAX_BUTTONS; i >= 0; --i) {
if (!mButtonLabels[i].IsEmpty())
gtk_dialog_add_button(GTK_DIALOG(mWindow),
mButtonLabels[i].get(), i);
}
gtk_dialog_set_default_response(GTK_DIALOG(mWindow), 0);
} else {
// Create standard ok and cancel buttons
if (widgetFlags & INCLUDE_CANCEL)
gtk_dialog_add_button(GTK_DIALOG(mWindow), GTK_STOCK_CANCEL,
GTK_RESPONSE_CANCEL);
GtkWidget* okButton = gtk_dialog_add_button(GTK_DIALOG(mWindow),
GTK_STOCK_OK,
GTK_RESPONSE_ACCEPT);
gtk_widget_grab_default(okButton);
}
// Pack the contentsVBox into the dialogHBox and the dialog.
gtk_box_pack_start(GTK_BOX(dialogHBox), contentsVBox, FALSE, FALSE, 0);
gtk_box_pack_start(
GTK_BOX(GTK_DIALOG(mWindow)->vbox),
dialogHBox,
FALSE,
FALSE,
0);
return NS_OK;
}
void
EmbedPrompter::SetTitle(const PRUnichar *aTitle)
{
mTitle.Assign(NS_ConvertUTF16toUTF8(aTitle));
}
void
EmbedPrompter::SetTextValue(const PRUnichar *aTextValue)
{
mTextValue.Assign(NS_ConvertUTF16toUTF8(aTextValue));
}
void
EmbedPrompter::SetCheckMessage(const PRUnichar *aMessage)
{
mCheckMessage.Assign(NS_ConvertUTF16toUTF8(aMessage));
}
void
EmbedPrompter::SetMessageText(const PRUnichar *aMessageText)
{
mMessageText.Assign(NS_ConvertUTF16toUTF8(aMessageText));
}
void
EmbedPrompter::SetUser(const PRUnichar *aUser)
{
mUser.Assign(NS_ConvertUTF16toUTF8(aUser));
}
void
EmbedPrompter::SetPassword(const PRUnichar *aPass)
{
mPass.Assign(NS_ConvertUTF16toUTF8(aPass));
}
void
EmbedPrompter::SetCheckValue(const PRBool aValue)
{
mCheckValue = aValue;
}
void
EmbedPrompter::SetItems(const PRUnichar** aItemArray, PRUint32 aCount)
{
if (mItemList)
delete[] mItemList;
mItemCount = aCount;
mItemList = new nsCString[aCount];
ALLOC_NOT_CHECKED(mItemList);
for (PRUint32 i = 0; i < aCount; ++i)
mItemList[i].Assign(NS_ConvertUTF16toUTF8(aItemArray[i]));
}
void
EmbedPrompter::SetButtons(const PRUnichar* aButton0Label,
const PRUnichar* aButton1Label,
const PRUnichar* aButton2Label)
{
mButtonLabels[0].Assign(NS_ConvertUTF16toUTF8(aButton0Label));
mButtonLabels[1].Assign(NS_ConvertUTF16toUTF8(aButton1Label));
mButtonLabels[2].Assign(NS_ConvertUTF16toUTF8(aButton2Label));
}
void
EmbedPrompter::GetCheckValue(PRBool *aValue)
{
*aValue = mCheckValue;
}
void
EmbedPrompter::GetConfirmValue(PRBool *aConfirmValue)
{
*aConfirmValue = mConfirmResult;
}
void
EmbedPrompter::GetTextValue(PRUnichar **aTextValue)
{
*aTextValue = ToNewUnicode(NS_ConvertUTF8toUTF16(mTextValue));
}
void
EmbedPrompter::GetUser(PRUnichar **aUser)
{
*aUser = ToNewUnicode(NS_ConvertUTF8toUTF16(mUser));
}
void
EmbedPrompter::GetPassword(PRUnichar **aPass)
{
*aPass = ToNewUnicode(NS_ConvertUTF8toUTF16(mPass));
}
void
EmbedPrompter::GetSelectedItem(PRInt32 *aIndex)
{
*aIndex = mSelectedItem;
}
void
EmbedPrompter::GetButtonPressed(PRInt32 *aButton)
{
*aButton = mButtonPressed;
}
void
EmbedPrompter::Run(void)
{
gtk_widget_show_all(mWindow);
gint response = gtk_dialog_run(GTK_DIALOG(mWindow));
switch (response) {
case GTK_RESPONSE_NONE:
case GTK_RESPONSE_CANCEL:
case GTK_RESPONSE_DELETE_EVENT:
mConfirmResult = PR_FALSE;
break;
case GTK_RESPONSE_ACCEPT:
mConfirmResult = PR_TRUE;
SaveDialogValues();
break;
default:
mButtonPressed = response;
SaveDialogValues();
}
gtk_widget_destroy(mWindow);
}
void
EmbedPrompter::SaveDialogValues()
{
if (mUserField)
mUser.Assign(gtk_entry_get_text(GTK_ENTRY(mUserField)));
if (mPassField)
mPass.Assign(gtk_entry_get_text(GTK_ENTRY(mPassField)));
if (mCheckBox)
mCheckValue = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(mCheckBox));
if (mTextField)
mTextValue.Assign(gtk_entry_get_text(GTK_ENTRY(mTextField)));
if (mOptionMenu)
mSelectedItem = gtk_option_menu_get_history(GTK_OPTION_MENU(mOptionMenu));
}

View File

@@ -0,0 +1,119 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 et cindent: */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Christopher Blizzard. Portions created by Christopher Blizzard are Copyright (C) Christopher Blizzard. All Rights Reserved.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Christopher Blizzard <blizzard@mozilla.org>
* Brian Ryner <bryner@brianryner.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifdef MOZILLA_INTERNAL_API
#include "nsString.h"
#include "nsReadableUtils.h"
#else
#include "nsStringAPI.h"
#endif
#include <gtk/gtk.h>
#include <stdlib.h>
#define EMBED_MAX_BUTTONS 3
class EmbedPrompter {
public:
EmbedPrompter();
~EmbedPrompter();
enum PromptType {
TYPE_ALERT,
TYPE_ALERT_CHECK,
TYPE_CONFIRM,
TYPE_CONFIRM_CHECK,
TYPE_PROMPT,
TYPE_PROMPT_USER_PASS,
TYPE_PROMPT_PASS,
TYPE_SELECT,
TYPE_UNIVERSAL
};
nsresult Create(PromptType aType, GtkWindow* aParentWindow);
void SetTitle(const PRUnichar *aTitle);
void SetTextValue(const PRUnichar *aTextValue);
void SetCheckMessage(const PRUnichar *aCheckMessage);
void SetCheckValue(const PRBool aValue);
void SetMessageText(const PRUnichar *aMessageText);
void SetUser(const PRUnichar *aUser);
void SetPassword(const PRUnichar *aPass);
void SetButtons(const PRUnichar* aButton0Label,
const PRUnichar* aButton1Label,
const PRUnichar* aButton2Label);
void SetItems(const PRUnichar **aItemArray, PRUint32 aCount);
void GetCheckValue(PRBool *aValue);
void GetConfirmValue(PRBool *aConfirmValue);
void GetTextValue(PRUnichar **aTextValue);
void GetUser(PRUnichar **aUser);
void GetPassword(PRUnichar **aPass);
void GetButtonPressed(PRInt32 *aButton);
void GetSelectedItem(PRInt32 *aIndex);
void Run(void);
private:
void SaveDialogValues();
nsCString mTitle;
nsCString mMessageText;
nsCString mTextValue;
nsCString mCheckMessage;
PRBool mCheckValue;
nsCString mUser;
nsCString mPass;
nsCString mButtonLabels[EMBED_MAX_BUTTONS];
nsCString *mItemList;
PRUint32 mItemCount;
PRInt32 mButtonPressed;
PRBool mConfirmResult;
PRInt32 mSelectedItem;
GtkWidget *mWindow;
GtkWidget *mUserField;
GtkWidget *mPassField;
GtkWidget *mTextField;
GtkWidget *mOptionMenu;
GtkWidget *mCheckBox;
};

View File

@@ -0,0 +1,507 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 et cindent: */
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Christopher Blizzard. Portions created by Christopher Blizzard are Copyright (C) Christopher Blizzard. All Rights Reserved.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Christopher Blizzard <blizzard@mozilla.org>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsCWebBrowser.h"
#include "nsIComponentManager.h"
#include "nsIDocShellTreeItem.h"
#include "nsIWidget.h"
#ifdef MOZILLA_INTERNAL_API
#include "nsReadableUtils.h"
#else
#include "nsComponentManagerUtils.h"
#endif
#include "EmbedWindow.h"
#include "EmbedPrivate.h"
#include "EmbedPrompter.h"
GtkWidget *EmbedWindow::sTipWindow = nsnull;
EmbedWindow::EmbedWindow(void)
{
mOwner = nsnull;
mVisibility = PR_FALSE;
mIsModal = PR_FALSE;
}
EmbedWindow::~EmbedWindow(void)
{
ExitModalEventLoop(PR_FALSE);
}
nsresult
EmbedWindow::Init(EmbedPrivate *aOwner)
{
// save our owner for later
mOwner = aOwner;
// create our nsIWebBrowser object and set up some basic defaults.
mWebBrowser = do_CreateInstance(NS_WEBBROWSER_CONTRACTID);
if (!mWebBrowser)
return NS_ERROR_FAILURE;
mWebBrowser->SetContainerWindow(NS_STATIC_CAST(nsIWebBrowserChrome *, this));
nsCOMPtr<nsIDocShellTreeItem> item = do_QueryInterface(mWebBrowser);
item->SetItemType(nsIDocShellTreeItem::typeContentWrapper);
return NS_OK;
}
nsresult
EmbedWindow::CreateWindow(void)
{
nsresult rv;
GtkWidget *ownerAsWidget = GTK_WIDGET(mOwner->mOwningWidget);
// Get the base window interface for the web browser object and
// create the window.
mBaseWindow = do_QueryInterface(mWebBrowser);
rv = mBaseWindow->InitWindow(GTK_WIDGET(mOwner->mOwningWidget),
nsnull,
0, 0,
ownerAsWidget->allocation.width,
ownerAsWidget->allocation.height);
if (NS_FAILED(rv))
return rv;
rv = mBaseWindow->Create();
if (NS_FAILED(rv))
return rv;
return NS_OK;
}
void
EmbedWindow::ReleaseChildren(void)
{
ExitModalEventLoop(PR_FALSE);
mBaseWindow->Destroy();
mBaseWindow = 0;
mWebBrowser = 0;
}
// nsISupports
NS_IMPL_ADDREF(EmbedWindow)
NS_IMPL_RELEASE(EmbedWindow)
NS_INTERFACE_MAP_BEGIN(EmbedWindow)
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIWebBrowserChrome)
NS_INTERFACE_MAP_ENTRY(nsIWebBrowserChrome)
NS_INTERFACE_MAP_ENTRY(nsIWebBrowserChromeFocus)
NS_INTERFACE_MAP_ENTRY(nsIEmbeddingSiteWindow)
// NS_INTERFACE_MAP_ENTRY(nsITooltipListener)
NS_INTERFACE_MAP_ENTRY(nsIInterfaceRequestor)
NS_INTERFACE_MAP_END
// nsIWebBrowserChrome
NS_IMETHODIMP
EmbedWindow::SetStatus(PRUint32 aStatusType, const PRUnichar *aStatus)
{
switch (aStatusType) {
case STATUS_SCRIPT:
{
mJSStatus = aStatus; //FIXME MEMORY LEAK
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[JS_STATUS]);
}
break;
case STATUS_SCRIPT_DEFAULT:
// Gee, that's nice.
break;
case STATUS_LINK:
{
mLinkMessage = aStatus;
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[LINK_MESSAGE]);
}
break;
}
return NS_OK;
}
NS_IMETHODIMP
EmbedWindow::GetWebBrowser(nsIWebBrowser **aWebBrowser)
{
*aWebBrowser = mWebBrowser;
NS_IF_ADDREF(*aWebBrowser);
return NS_OK;
}
NS_IMETHODIMP
EmbedWindow::SetWebBrowser(nsIWebBrowser *aWebBrowser)
{
mWebBrowser = aWebBrowser;
return NS_OK;
}
NS_IMETHODIMP
EmbedWindow::GetChromeFlags(PRUint32 *aChromeFlags)
{
*aChromeFlags = mOwner->mChromeMask;
return NS_OK;
}
NS_IMETHODIMP
EmbedWindow::SetChromeFlags(PRUint32 aChromeFlags)
{
mOwner->SetChromeMask(aChromeFlags);
return NS_OK;
}
NS_IMETHODIMP
EmbedWindow::DestroyBrowserWindow(void)
{
// mark the owner as destroyed so it won't emit events anymore.
mOwner->mIsDestroyed = PR_TRUE;
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[DESTROY_BROWSER]);
return NS_OK;
}
NS_IMETHODIMP
EmbedWindow::SizeBrowserTo(PRInt32 aCX, PRInt32 aCY)
{
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[SIZE_TO], aCX, aCY);
return NS_OK;
}
NS_IMETHODIMP
EmbedWindow::ShowAsModal(void)
{
mIsModal = PR_TRUE;
GtkWidget *toplevel;
toplevel = gtk_widget_get_toplevel(GTK_WIDGET(mOwner->mOwningWidget));
gtk_grab_add(toplevel);
gtk_main();
return NS_OK;
}
NS_IMETHODIMP
EmbedWindow::IsWindowModal(PRBool *_retval)
{
*_retval = mIsModal;
return NS_OK;
}
NS_IMETHODIMP
EmbedWindow::ExitModalEventLoop(nsresult aStatus)
{
if (mIsModal) {
GtkWidget *toplevel;
toplevel = gtk_widget_get_toplevel(GTK_WIDGET(mOwner->mOwningWidget));
gtk_grab_remove(toplevel);
mIsModal = PR_FALSE;
gtk_main_quit();
}
return NS_OK;
}
// nsIWebBrowserChromeFocus
NS_IMETHODIMP
EmbedWindow::FocusNextElement()
{
#ifdef MOZ_WIDGET_GTK
GtkWidget* parent = GTK_WIDGET(mOwner->mOwningWidget)->parent;
if (GTK_IS_CONTAINER(parent))
gtk_container_focus(GTK_CONTAINER(parent),
GTK_DIR_TAB_FORWARD);
#endif
#ifdef MOZ_WIDGET_GTK2
GtkWidget *toplevel;
toplevel = gtk_widget_get_toplevel(GTK_WIDGET(mOwner->mOwningWidget));
if (!GTK_WIDGET_TOPLEVEL(toplevel))
return NS_OK;
g_signal_emit_by_name(G_OBJECT(toplevel), "move_focus",
GTK_DIR_TAB_FORWARD);
#endif
return NS_OK;
}
NS_IMETHODIMP
EmbedWindow::FocusPrevElement()
{
#ifdef MOZ_WIDGET_GTK
GtkWidget* parent = GTK_WIDGET(mOwner->mOwningWidget)->parent;
if (GTK_IS_CONTAINER(parent))
gtk_container_focus(GTK_CONTAINER(parent),
GTK_DIR_TAB_BACKWARD);
#endif
#ifdef MOZ_WIDGET_GTK2
GtkWidget *toplevel;
toplevel = gtk_widget_get_toplevel(GTK_WIDGET(mOwner->mOwningWidget));
if (!GTK_WIDGET_TOPLEVEL(toplevel))
return NS_OK;
g_signal_emit_by_name(G_OBJECT(toplevel), "move_focus",
GTK_DIR_TAB_BACKWARD);
#endif
return NS_OK;
}
// nsIEmbeddingSiteWindow
NS_IMETHODIMP
EmbedWindow::SetDimensions(PRUint32 aFlags, PRInt32 aX, PRInt32 aY,
PRInt32 aCX, PRInt32 aCY)
{
if (aFlags & nsIEmbeddingSiteWindow::DIM_FLAGS_POSITION &&
(aFlags & (nsIEmbeddingSiteWindow::DIM_FLAGS_SIZE_INNER |
nsIEmbeddingSiteWindow::DIM_FLAGS_SIZE_OUTER))) {
return mBaseWindow->SetPositionAndSize(aX, aY, aCX, aCY, PR_TRUE);
}
else if (aFlags & nsIEmbeddingSiteWindow::DIM_FLAGS_POSITION) {
return mBaseWindow->SetPosition(aX, aY);
}
else if (aFlags & (nsIEmbeddingSiteWindow::DIM_FLAGS_SIZE_INNER |
nsIEmbeddingSiteWindow::DIM_FLAGS_SIZE_OUTER)) {
return mBaseWindow->SetSize(aCX, aCY, PR_TRUE);
}
return NS_ERROR_INVALID_ARG;
}
NS_IMETHODIMP
EmbedWindow::GetDimensions(PRUint32 aFlags, PRInt32 *aX,
PRInt32 *aY, PRInt32 *aCX, PRInt32 *aCY)
{
if (aFlags & nsIEmbeddingSiteWindow::DIM_FLAGS_POSITION &&
(aFlags & (nsIEmbeddingSiteWindow::DIM_FLAGS_SIZE_INNER |
nsIEmbeddingSiteWindow::DIM_FLAGS_SIZE_OUTER))) {
return mBaseWindow->GetPositionAndSize(aX, aY, aCX, aCY);
}
else if (aFlags & nsIEmbeddingSiteWindow::DIM_FLAGS_POSITION) {
return mBaseWindow->GetPosition(aX, aY);
}
else if (aFlags & (nsIEmbeddingSiteWindow::DIM_FLAGS_SIZE_INNER |
nsIEmbeddingSiteWindow::DIM_FLAGS_SIZE_OUTER)) {
return mBaseWindow->GetSize(aCX, aCY);
}
return NS_ERROR_INVALID_ARG;
}
NS_IMETHODIMP
EmbedWindow::SetFocus(void)
{
// XXX might have to do more here.
return mBaseWindow->SetFocus();
}
NS_IMETHODIMP
EmbedWindow::GetTitle(PRUnichar **aTitle)
{
*aTitle = ToNewUnicode(mTitle);
return NS_OK;
}
NS_IMETHODIMP
EmbedWindow::SetTitle(const PRUnichar *aTitle)
{
mTitle = aTitle;
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[TITLE]);
return NS_OK;
}
NS_IMETHODIMP
EmbedWindow::GetSiteWindow(void **aSiteWindow)
{
GtkWidget *ownerAsWidget(GTK_WIDGET(mOwner->mOwningWidget));
*aSiteWindow = NS_STATIC_CAST(void *, ownerAsWidget);
return NS_OK;
}
NS_IMETHODIMP
EmbedWindow::GetVisibility(PRBool *aVisibility)
{
*aVisibility = mVisibility ||
!mOwner->mIsChrome &&
mOwner->mOwningWidget &&
GTK_WIDGET_MAPPED(mOwner->mOwningWidget);
return NS_OK;
}
NS_IMETHODIMP
EmbedWindow::SetVisibility(PRBool aVisibility)
{
// We always set the visibility so that if it's chrome and we finish
// the load we know that we have to show the window.
mVisibility = aVisibility;
// if this is a chrome window and the chrome hasn't finished loading
// yet then don't show the window yet.
if (mOwner->mIsChrome && !mOwner->mChromeLoaded)
return NS_OK;
gtk_signal_emit(GTK_OBJECT(mOwner->mOwningWidget),
moz_embed_signals[VISIBILITY],
aVisibility);
return NS_OK;
}
// nsITooltipListener
#if 0
static gint
tooltips_paint_window(GtkWidget *window)
{
// draw tooltip style border around the text
gtk_paint_flat_box(window->style, window->window,
GTK_STATE_NORMAL, GTK_SHADOW_OUT,
NULL, window, "tooltip",
0, 0,
window->allocation.width, window->allocation.height);
return FALSE;
}
NS_IMETHODIMP
EmbedWindow::OnShowTooltip(PRInt32 aXCoords, PRInt32 aYCoords,
const PRUnichar *aTipText)
{
nsAutoString tipText(aTipText);
#ifdef MOZ_WIDGET_GTK
const char* tipString = ToNewCString(tipText);
#endif
#ifdef MOZ_WIDGET_GTK2
const char* tipString = ToNewUTF8String(tipText);
#endif
if (sTipWindow)
gtk_widget_destroy(sTipWindow);
// get the root origin for this content window
nsCOMPtr<nsIWidget> mainWidget;
mBaseWindow->GetMainWidget(getter_AddRefs(mainWidget));
GdkWindow *window;
window = NS_STATIC_CAST(GdkWindow *,
mainWidget->GetNativeData(NS_NATIVE_WINDOW));
gint root_x, root_y;
gdk_window_get_origin(window, &root_x, &root_y);
// XXX work around until I can get pink to figure out why
// tooltips vanish if they show up right at the origin of the
// cursor.
root_y += 10;
sTipWindow = gtk_window_new(GTK_WINDOW_POPUP);
gtk_widget_set_app_paintable(sTipWindow, TRUE);
gtk_window_set_policy(GTK_WINDOW(sTipWindow), FALSE, FALSE, TRUE);
// needed to get colors + fonts etc correctly
gtk_widget_set_name(sTipWindow, "gtk-tooltips");
// set up the popup window as a transient of the widget.
GtkWidget *toplevel_window;
toplevel_window = gtk_widget_get_toplevel(GTK_WIDGET(mOwner->mOwningWidget));
if (!GTK_WINDOW(toplevel_window)) {
NS_ERROR("no gtk window in hierarchy!\n");
return NS_ERROR_FAILURE;
}
gtk_window_set_transient_for(GTK_WINDOW(sTipWindow),
GTK_WINDOW(toplevel_window));
// realize the widget
gtk_widget_realize(sTipWindow);
gtk_signal_connect(GTK_OBJECT(sTipWindow), "expose_event",
GTK_SIGNAL_FUNC(tooltips_paint_window), NULL);
// set up the label for the tooltip
GtkWidget *label = gtk_label_new(tipString);
// wrap automatically
gtk_label_set_line_wrap(GTK_LABEL(label), TRUE);
gtk_container_add(GTK_CONTAINER(sTipWindow), label);
gtk_container_set_border_width(GTK_CONTAINER(sTipWindow), 4);
// set the coords for the widget
gtk_widget_set_uposition(sTipWindow, aXCoords + root_x,
aYCoords + root_y);
// and show it.
gtk_widget_show_all(sTipWindow);
#ifdef MOZ_WIDGET_GTK
gtk_widget_popup(sTipWindow, aXCoords + root_x, aYCoords + root_y); */
#endif /* MOZ_WIDGET_GTK */
nsMemory::Free((void*)tipString);
return NS_OK;
}
NS_IMETHODIMP
EmbedWindow::OnHideTooltip(void)
{
if (sTipWindow)
gtk_widget_destroy(sTipWindow);
sTipWindow = NULL;
return NS_OK;
}
#endif
// nsIInterfaceRequestor
NS_IMETHODIMP
EmbedWindow::GetInterface(const nsIID &aIID, void** aInstancePtr)
{
nsresult rv;
rv = QueryInterface(aIID, aInstancePtr);
// pass it up to the web browser object
if (NS_FAILED(rv) || !*aInstancePtr) {
nsCOMPtr<nsIInterfaceRequestor> ir = do_QueryInterface(mWebBrowser);
return ir->GetInterface(aIID, aInstancePtr);
}
return rv;
}

View File

@@ -0,0 +1,107 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 et cindent: */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Christopher Blizzard. Portions created by Christopher Blizzard are Copyright (C) Christopher Blizzard. All Rights Reserved.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Christopher Blizzard <blizzard@mozilla.org>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef __EmbedWindow_h
#define __EmbedWindow_h
#ifdef MOZILLA_INTERNAL_API
#include "nsString.h"
#else
#include "nsStringAPI.h"
#endif
#include "nsIWebBrowserChrome.h"
#include "nsIWebBrowserChromeFocus.h"
#include "nsIEmbeddingSiteWindow.h"
//#include "nsITooltipListener.h"
#include "nsISupports.h"
#include "nsIWebBrowser.h"
#include "nsIBaseWindow.h"
#include "nsIInterfaceRequestor.h"
#include "nsCOMPtr.h"
#include <gtk/gtk.h>
class EmbedPrivate;
class EmbedWindow : public nsIWebBrowserChrome,
public nsIWebBrowserChromeFocus,
public nsIEmbeddingSiteWindow,
// public nsITooltipListener,
public nsIInterfaceRequestor
{
public:
EmbedWindow();
virtual ~EmbedWindow();
nsresult Init (EmbedPrivate *aOwner);
nsresult CreateWindow (void);
void ReleaseChildren (void);
NS_DECL_ISUPPORTS
NS_DECL_NSIWEBBROWSERCHROME
NS_DECL_NSIWEBBROWSERCHROMEFOCUS
NS_DECL_NSIEMBEDDINGSITEWINDOW
// NS_DECL_NSITOOLTIPLISTENER
NS_DECL_NSIINTERFACEREQUESTOR
nsString mTitle;
nsString mJSStatus;
nsString mLinkMessage;
nsCOMPtr<nsIBaseWindow> mBaseWindow; // [OWNER]
private:
EmbedPrivate *mOwner;
nsCOMPtr<nsIWebBrowser> mWebBrowser; // [OWNER]
static GtkWidget *sTipWindow;
PRBool mVisibility;
PRBool mIsModal;
};
#endif /* __EmbedWindow_h */

View File

@@ -0,0 +1,117 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 et cindent: */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Christopher Blizzard.
* Portions created by Christopher Blizzard are Copyright (C) Christopher Blizzard. All Rights Reserved.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Christopher Blizzard <blizzard@mozilla.org>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "EmbedWindowCreator.h"
#include "EmbedPrivate.h"
#include "EmbedWindow.h"
// in order to create orphaned windows
#include "gtkmozembedprivate.h"
EmbedWindowCreator::EmbedWindowCreator(PRBool *aOpenBlockPtr)
{
mOpenBlock = aOpenBlockPtr;
}
EmbedWindowCreator::~EmbedWindowCreator()
{
}
NS_IMPL_ISUPPORTS1(EmbedWindowCreator, nsIWindowCreator)
NS_IMETHODIMP
EmbedWindowCreator::CreateChromeWindow(nsIWebBrowserChrome *aParent,
PRUint32 aChromeFlags,
nsIWebBrowserChrome **_retval)
{
NS_ENSURE_ARG_POINTER(_retval);
if (mOpenBlock) {
if (*mOpenBlock == PR_TRUE) {
*mOpenBlock = PR_FALSE;
return NS_ERROR_FAILURE;
}
}
GtkMozEmbed *newEmbed = nsnull;
// No parent? Ask via the singleton object instead.
if (!aParent) {
gtk_moz_embed_single_create_window(&newEmbed,
(guint)aChromeFlags);
} else {
// Find the EmbedPrivate object for this web browser chrome object.
EmbedPrivate *embedPrivate = EmbedPrivate::FindPrivateForBrowser(aParent);
if (!embedPrivate)
return NS_ERROR_FAILURE;
gtk_signal_emit(GTK_OBJECT(embedPrivate->mOwningWidget),
moz_embed_signals[NEW_WINDOW],
&newEmbed, (guint)aChromeFlags);
}
// check to make sure that we made a new window
if (!newEmbed)
return NS_ERROR_FAILURE;
// The window _must_ be realized before we pass it back to the
// function that created it. Functions that create new windows
// will do things like GetDocShell() and the widget has to be
// realized before that can happen.
gtk_widget_realize(GTK_WIDGET(newEmbed));
EmbedPrivate *newEmbedPrivate = NS_STATIC_CAST(EmbedPrivate *,
newEmbed->data);
// set the chrome flag on the new window if it's a chrome open
if (aChromeFlags & nsIWebBrowserChrome::CHROME_OPENAS_CHROME)
newEmbedPrivate->mIsChrome = PR_TRUE;
*_retval = NS_STATIC_CAST(nsIWebBrowserChrome *,
(newEmbedPrivate->mWindow));
if (*_retval) {
NS_ADDREF(*_retval);
return NS_OK;
}
return NS_ERROR_FAILURE;
}

View File

@@ -0,0 +1,58 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 et cindent: */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Christopher Blizzard. Portions created by Christopher Blizzard are Copyright (C) Christopher Blizzard. All Rights Reserved.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Christopher Blizzard <blizzard@mozilla.org>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef __EmbedWindowCreator_h
#define __EmbedWindowCreator_h
#include "nsIWindowCreator.h"
class EmbedWindowCreator : public nsIWindowCreator
{
public:
EmbedWindowCreator(PRBool *aOpenBlockPtr);
virtual ~EmbedWindowCreator();
NS_DECL_ISUPPORTS
NS_DECL_NSIWINDOWCREATOR
private:
PRBool *mOpenBlock;
};
#endif /* __EmbedWindowCreator_h */

View File

@@ -0,0 +1,587 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=4 sts=2 et cindent: */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2003
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Brian Ryner <bryner@brianryner.com>
* Oleg Romashin <romaxa@gmail.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "GtkPromptService.h"
#include "EmbedGtkTools.h"
#include "gtkmozembedprivate.h"
#ifndef MOZ_NO_GECKO_UI_FALLBACK_1_8_COMPAT
#include "EmbedPrompter.h"
#endif
#ifdef MOZILLA_INTERNAL_API
#include "nsString.h"
#else
#include "nsStringAPI.h"
#endif
#include "nsIWindowWatcher.h"
#include "nsIWebBrowserChrome.h"
#include "nsIEmbeddingSiteWindow.h"
#include "nsCOMPtr.h"
#include "nsIServiceManager.h"
#define UNACCEPTABLE_CRASHY_GLIB_ALLOCATION(newed) PR_BEGIN_MACRO \
/* OOPS this code is using a glib allocation function which \
* will cause the application to crash when it runs out of \
* memory. This is not cool. either g_try methods should be \
* used or malloc, or new (note that gecko /will/ be replacing \
* its operator new such that new will not throw exceptions). \
* XXX please fix me. \
*/ \
if (!newed) { \
} \
PR_END_MACRO
GtkPromptService::GtkPromptService()
{
}
GtkPromptService::~GtkPromptService()
{
}
NS_IMPL_ISUPPORTS2(GtkPromptService, nsIPromptService, nsICookiePromptService)
NS_IMETHODIMP
GtkPromptService::Alert(
nsIDOMWindow* aParent,
const PRUnichar* aDialogTitle,
const PRUnichar* aDialogText)
{
GtkWidget* parentWidget = GetGtkWidgetForDOMWindow(aParent);
if (parentWidget && gtk_signal_handler_pending(parentWidget, moz_embed_signals[ALERT], TRUE)) {
gtk_signal_emit(GTK_OBJECT(parentWidget),
moz_embed_signals[ALERT],
(const gchar *) NS_ConvertUTF16toUTF8(aDialogTitle).get(),
(const gchar *) NS_ConvertUTF16toUTF8(aDialogText).get());
return NS_OK;
}
#ifndef MOZ_NO_GECKO_UI_FALLBACK_1_8_COMPAT
EmbedPrompter prompter;
prompter.SetTitle(aDialogTitle ? aDialogTitle : NS_LITERAL_STRING("Alert").get());
prompter.SetMessageText(aDialogText);
prompter.Create(EmbedPrompter::TYPE_ALERT,
GetGtkWindowForDOMWindow(aParent));
prompter.Run();
#endif
return NS_OK;
}
NS_IMETHODIMP
GtkPromptService::AlertCheck(
nsIDOMWindow* aParent,
const PRUnichar* aDialogTitle,
const PRUnichar* aDialogText,
const PRUnichar* aCheckMsg,
PRBool* aCheckValue)
{
NS_ENSURE_ARG_POINTER(aCheckValue);
GtkWidget* parentWidget = GetGtkWidgetForDOMWindow(aParent);
if (parentWidget && gtk_signal_handler_pending(parentWidget, moz_embed_signals[ALERT_CHECK], TRUE)) {
gtk_signal_emit(GTK_OBJECT(parentWidget),
moz_embed_signals[ALERT_CHECK],
NS_ConvertUTF16toUTF8(aDialogTitle).get(),
NS_ConvertUTF16toUTF8(aDialogTitle).get(),
NS_ConvertUTF16toUTF8(aCheckMsg).get(),
aCheckValue);
return NS_OK;
}
#ifndef MOZ_NO_GECKO_UI_FALLBACK_1_8_COMPAT
EmbedPrompter prompter;
prompter.SetTitle(aDialogTitle ? aDialogTitle : NS_LITERAL_STRING("Alert").get());
prompter.SetMessageText(aDialogText);
prompter.SetCheckMessage(aCheckMsg);
prompter.SetCheckValue(*aCheckValue);
prompter.Create(EmbedPrompter::TYPE_ALERT_CHECK,
GetGtkWindowForDOMWindow(aParent));
prompter.Run();
prompter.GetCheckValue(aCheckValue);
#endif
return NS_OK;
}
NS_IMETHODIMP
GtkPromptService::Confirm(
nsIDOMWindow* aParent,
const PRUnichar* aDialogTitle,
const PRUnichar* aDialogText,
PRBool* aConfirm)
{
GtkWidget* parentWidget = GetGtkWidgetForDOMWindow(aParent);
if (parentWidget && gtk_signal_handler_pending(parentWidget, moz_embed_signals[CONFIRM], TRUE)) {
gtk_signal_emit(GTK_OBJECT(parentWidget),
moz_embed_signals[CONFIRM],
NS_ConvertUTF16toUTF8(aDialogTitle).get(), NS_ConvertUTF16toUTF8(aDialogText).get(), aConfirm);
return NS_OK;
}
#ifndef MOZ_NO_GECKO_UI_FALLBACK_1_8_COMPAT
EmbedPrompter prompter;
prompter.SetTitle(aDialogTitle ? aDialogTitle : NS_LITERAL_STRING("Confirm").get());
prompter.SetMessageText(aDialogText);
prompter.Create(EmbedPrompter::TYPE_CONFIRM,
GetGtkWindowForDOMWindow(aParent));
prompter.Run();
prompter.GetConfirmValue(aConfirm);
#endif
return NS_OK;
}
NS_IMETHODIMP
GtkPromptService::ConfirmCheck(
nsIDOMWindow* aParent,
const PRUnichar* aDialogTitle,
const PRUnichar* aDialogText,
const PRUnichar* aCheckMsg,
PRBool* aCheckValue,
PRBool* aConfirm)
{
NS_ENSURE_ARG_POINTER(aCheckValue);
GtkWidget* parentWidget = GetGtkWidgetForDOMWindow(aParent);
if (parentWidget && gtk_signal_handler_pending(parentWidget, moz_embed_signals[CONFIRM_CHECK], TRUE)) {
gtk_signal_emit(GTK_OBJECT(parentWidget),
moz_embed_signals[CONFIRM_CHECK],
NS_ConvertUTF16toUTF8(aDialogTitle).get(),
NS_ConvertUTF16toUTF8(aDialogTitle).get(),
NS_ConvertUTF16toUTF8(aCheckMsg).get(),
aCheckValue,
aConfirm);
return NS_OK;
}
#ifndef MOZ_NO_GECKO_UI_FALLBACK_1_8_COMPAT
EmbedPrompter prompter;
prompter.SetTitle(aDialogTitle ? aDialogTitle : NS_LITERAL_STRING("Confirm").get());
prompter.SetMessageText(aDialogText);
prompter.SetCheckMessage(aCheckMsg);
prompter.SetCheckValue(*aCheckValue);
prompter.Create(EmbedPrompter::TYPE_CONFIRM_CHECK,
GetGtkWindowForDOMWindow(aParent));
prompter.Run();
prompter.GetCheckValue(aCheckValue);
prompter.GetConfirmValue(aConfirm);
#endif
return NS_OK;
}
NS_IMETHODIMP
GtkPromptService::ConfirmEx(
nsIDOMWindow* aParent,
const PRUnichar* aDialogTitle,
const PRUnichar* aDialogText,
PRUint32 aButtonFlags,
const PRUnichar* aButton0Title,
const PRUnichar* aButton1Title,
const PRUnichar* aButton2Title,
const PRUnichar* aCheckMsg,
PRBool* aCheckValue,
PRInt32* aRetVal)
{
GtkWidget* parentWidget = GetGtkWidgetForDOMWindow(aParent);
if (parentWidget && gtk_signal_handler_pending(parentWidget, moz_embed_signals[CONFIRM_EX], TRUE)) {
gtk_signal_emit(GTK_OBJECT(parentWidget),
moz_embed_signals[CONFIRM_EX],
NS_ConvertUTF16toUTF8(aDialogTitle).get(),
NS_ConvertUTF16toUTF8(aDialogText).get(),
aButtonFlags,
NS_ConvertUTF16toUTF8(aButton0Title).get(),
NS_ConvertUTF16toUTF8(aButton1Title).get(),
NS_ConvertUTF16toUTF8(aButton2Title).get(),
NS_ConvertUTF16toUTF8(aCheckMsg).get(),
aCheckValue,
aRetVal);
return NS_OK;
}
#ifndef MOZ_NO_GECKO_UI_FALLBACK_1_8_COMPAT
EmbedPrompter prompter;
prompter.SetTitle(aDialogTitle ? aDialogTitle : NS_LITERAL_STRING("Confirm").get());
prompter.SetMessageText(aDialogText);
nsAutoString button0Label, button1Label, button2Label;
GetButtonLabel(aButtonFlags, BUTTON_POS_0, aButton0Title, button0Label);
GetButtonLabel(aButtonFlags, BUTTON_POS_1, aButton1Title, button1Label);
GetButtonLabel(aButtonFlags, BUTTON_POS_2, aButton2Title, button2Label);
prompter.SetButtons(button0Label.get(),
button1Label.get(),
button2Label.get());
if (aCheckMsg)
prompter.SetCheckMessage(aCheckMsg);
if (aCheckValue)
prompter.SetCheckValue(*aCheckValue);
prompter.Create(EmbedPrompter::TYPE_UNIVERSAL,
GetGtkWindowForDOMWindow(aParent));
prompter.Run();
if (aCheckValue)
prompter.GetCheckValue(aCheckValue);
prompter.GetButtonPressed(aRetVal);
#endif
return NS_OK;
}
#define XXX_ALLOCATOR_MISMATCH_XPCOM_GLIB(confused) PR_BEGIN_MACRO \
/* There is no way that this unforunate and confused object can \
* possibly be handled correctly. It started its life as an \
* XPCOM allocated pointer. \
* Then someone called it a gchar which confused it. \
* Then it was passed to a random function which probably \
* assumed it had ownership. \
* Finally it was freed using g_free. \
* This pointer is seriously confused. \
* XXX please please please help this pointer find some way to \
* rest in peace. \
*/ \
PR_END_MACRO
NS_IMETHODIMP
GtkPromptService::Prompt(
nsIDOMWindow* aParent,
const PRUnichar* aDialogTitle,
const PRUnichar* aDialogText,
PRUnichar** aValue,
const PRUnichar* aCheckMsg,
PRBool* aCheckValue,
PRBool* aConfirm)
{
GtkWidget* parentWidget = GetGtkWidgetForDOMWindow(aParent);
if (parentWidget && gtk_signal_handler_pending(parentWidget, moz_embed_signals[PROMPT], TRUE)) {
gchar * value = ToNewCString(NS_ConvertUTF16toUTF8(*aValue));
XXX_ALLOCATOR_MISMATCH_XPCOM_GLIB(value);
gtk_signal_emit(GTK_OBJECT(parentWidget),
moz_embed_signals[PROMPT],
NS_ConvertUTF16toUTF8(aDialogTitle).get(),
NS_ConvertUTF16toUTF8(aDialogText).get(),
&value,
NS_ConvertUTF16toUTF8(aCheckMsg).get(),
aCheckValue,
aConfirm,
NULL);
if (*aConfirm) {
if (*aValue)
NS_Free(*aValue);
*aValue = ToNewUnicode(NS_ConvertUTF8toUTF16(value));
}
g_free(value);
return NS_OK;
}
#ifndef MOZ_NO_GECKO_UI_FALLBACK_1_8_COMPAT
EmbedPrompter prompter;
prompter.SetTitle(aDialogTitle ? aDialogTitle : NS_LITERAL_STRING("Prompt").get());
prompter.SetMessageText(aDialogText);
prompter.SetTextValue(*aValue);
if (aCheckMsg)
prompter.SetCheckMessage(aCheckMsg);
if (aCheckValue)
prompter.SetCheckValue(*aCheckValue);
prompter.Create(EmbedPrompter::TYPE_PROMPT,
GetGtkWindowForDOMWindow(aParent));
prompter.Run();
if (aCheckValue)
prompter.GetCheckValue(aCheckValue);
prompter.GetConfirmValue(aConfirm);
if (*aConfirm) {
if (*aValue)
NS_Free(*aValue);
prompter.GetTextValue(aValue);
}
#endif
return NS_OK;
}
NS_IMETHODIMP
GtkPromptService::PromptUsernameAndPassword(
nsIDOMWindow* aParent,
const PRUnichar* aDialogTitle,
const PRUnichar* aDialogText,
PRUnichar** aUsername,
PRUnichar** aPassword,
const PRUnichar* aCheckMsg,
PRBool* aCheckValue,
PRBool* aConfirm)
{
GtkWidget* parentWidget = GetGtkWidgetForDOMWindow(aParent);
if (parentWidget && gtk_signal_handler_pending(parentWidget, moz_embed_signals[PROMPT_AUTH], TRUE)) {
gchar * username = ToNewCString(NS_ConvertUTF16toUTF8(*aUsername));
XXX_ALLOCATOR_MISMATCH_XPCOM_GLIB(username);
gchar * password = ToNewCString(NS_ConvertUTF16toUTF8(*aPassword));
XXX_ALLOCATOR_MISMATCH_XPCOM_GLIB(password);
gtk_signal_emit(GTK_OBJECT(parentWidget),
moz_embed_signals[PROMPT_AUTH],
NS_ConvertUTF16toUTF8(aDialogTitle).get(),
NS_ConvertUTF16toUTF8(aDialogText).get(),
&username, &password,
NS_ConvertUTF16toUTF8(aCheckMsg).get(),
aCheckValue, aConfirm);
if (*aConfirm) {
if (*aUsername)
NS_Free(*aUsername);
*aUsername = ToNewUnicode(NS_ConvertUTF8toUTF16(username));
if (*aPassword)
NS_Free(*aPassword);
*aPassword = ToNewUnicode(NS_ConvertUTF8toUTF16(password));
}
g_free(username);
g_free(password);
return NS_OK;
}
#ifndef MOZ_NO_GECKO_UI_FALLBACK_1_8_COMPAT
EmbedPrompter prompter;
prompter.SetTitle(aDialogTitle ? aDialogTitle : NS_LITERAL_STRING("Prompt").get());
prompter.SetMessageText(aDialogText);
prompter.SetUser(*aUsername);
prompter.SetPassword(*aPassword);
if (aCheckMsg)
prompter.SetCheckMessage(aCheckMsg);
if (aCheckValue)
prompter.SetCheckValue(*aCheckValue);
prompter.Create(EmbedPrompter::TYPE_PROMPT_USER_PASS,
GetGtkWindowForDOMWindow(aParent));
prompter.Run();
if (aCheckValue)
prompter.GetCheckValue(aCheckValue);
prompter.GetConfirmValue(aConfirm);
if (*aConfirm) {
if (*aUsername)
NS_Free(*aUsername);
prompter.GetUser(aUsername);
if (*aPassword)
NS_Free(*aPassword);
prompter.GetPassword(aPassword);
}
#endif
return NS_OK;
}
NS_IMETHODIMP
GtkPromptService::PromptPassword(
nsIDOMWindow* aParent,
const PRUnichar* aDialogTitle,
const PRUnichar* aDialogText,
PRUnichar** aPassword,
const PRUnichar* aCheckMsg,
PRBool* aCheckValue, PRBool* aConfirm)
{
GtkWidget* parentWidget = GetGtkWidgetForDOMWindow(aParent);
if (parentWidget && gtk_signal_handler_pending(parentWidget, moz_embed_signals[PROMPT_AUTH], TRUE)) {
gchar * password = ToNewCString(NS_ConvertUTF16toUTF8(*aPassword));
XXX_ALLOCATOR_MISMATCH_XPCOM_GLIB(password);
gtk_signal_emit(GTK_OBJECT(parentWidget),
moz_embed_signals[PROMPT_AUTH],
NS_ConvertUTF16toUTF8(aDialogTitle).get(),
NS_ConvertUTF16toUTF8(aDialogText).get(),
NULL,
&password,
NS_ConvertUTF16toUTF8(aCheckMsg).get(),
aCheckValue,
aConfirm);
if (*aConfirm) {
if (*aPassword)
NS_Free(*aPassword);
*aPassword = ToNewUnicode(NS_ConvertUTF8toUTF16(password));
}
g_free(password);
return NS_OK;
}
#ifndef MOZ_NO_GECKO_UI_FALLBACK_1_8_COMPAT
EmbedPrompter prompter;
prompter.SetTitle(aDialogTitle ? aDialogTitle : NS_LITERAL_STRING("Prompt").get());
prompter.SetMessageText(aDialogText);
prompter.SetPassword(*aPassword);
if (aCheckMsg)
prompter.SetCheckMessage(aCheckMsg);
if (aCheckValue)
prompter.SetCheckValue(*aCheckValue);
prompter.Create(EmbedPrompter::TYPE_PROMPT_PASS,
GetGtkWindowForDOMWindow(aParent));
prompter.Run();
if (aCheckValue)
prompter.GetCheckValue(aCheckValue);
prompter.GetConfirmValue(aConfirm);
if (*aConfirm) {
if (*aPassword)
NS_Free(*aPassword);
prompter.GetPassword(aPassword);
}
#endif
return NS_OK;
}
NS_IMETHODIMP
GtkPromptService::Select(
nsIDOMWindow* aParent,
const PRUnichar* aDialogTitle,
const PRUnichar* aDialogText,
PRUint32 aCount,
const PRUnichar** aSelectList,
PRInt32* outSelection,
PRBool* aConfirm)
{
GtkWidget* parentWidget = GetGtkWidgetForDOMWindow(aParent);
if (parentWidget && gtk_signal_handler_pending(parentWidget, moz_embed_signals[SELECT], TRUE)) {
GList * list = NULL;
nsCString *itemList = new nsCString[aCount];
NS_ENSURE_TRUE(itemList, NS_ERROR_OUT_OF_MEMORY);
for (PRUint32 i = 0; i < aCount; ++i) {
itemList[i] = ToNewCString(NS_ConvertUTF16toUTF8(aSelectList[i]));
list = g_list_append(list, (gpointer)itemList[i].get());
}
gtk_signal_emit(GTK_OBJECT(parentWidget),
moz_embed_signals[SELECT],
NS_ConvertUTF16toUTF8(aDialogTitle).get(),
NS_ConvertUTF16toUTF8(aDialogText).get(),
(const GList**)&list,
outSelection,
aConfirm);
delete[] itemList;
g_list_free(list);
return NS_OK;
}
#ifndef MOZ_NO_GECKO_UI_FALLBACK_1_8_COMPAT
EmbedPrompter prompter;
prompter.SetTitle(aDialogTitle ? aDialogTitle : NS_LITERAL_STRING("Select").get());
prompter.SetMessageText(aDialogText);
prompter.SetItems(aSelectList, aCount);
prompter.Create(EmbedPrompter::TYPE_SELECT,
GetGtkWindowForDOMWindow(aParent));
prompter.Run();
prompter.GetSelectedItem(outSelection);
prompter.GetConfirmValue(aConfirm);
#endif
return NS_OK;
}
/* nsCookiePromptService */
NS_IMETHODIMP
GtkPromptService::CookieDialog(
nsIDOMWindow *aParent,
nsICookie *aCookie,
const nsACString &aHostname,
PRInt32 aCookiesFromHost,
PRBool aChangingCookie,
PRBool *aRememberDecision,
PRInt32 *aAccept)
{
/* FIXME - missing gint actions and gboolean illegal_path */
gint actions = 1;
nsCString hostName(aHostname);
nsCString aName;
aCookie->GetName(aName);
nsCString aValue;
aCookie->GetValue(aValue);
nsCString aDomain;
aCookie->GetHost(aDomain);
nsCString aPath;
aCookie->GetPath(aPath);
/* We have to investigate a value to use here */
gboolean illegal_path = FALSE;
PRUint64 aExpires;
aCookie->GetExpires(&aExpires);
nsCOMPtr<nsIDOMWindow> domWindow(do_QueryInterface(aParent));
GtkMozEmbed *parentWidget = GTK_MOZ_EMBED(GetGtkWidgetForDOMWindow(domWindow));
GtkMozEmbedCookie *cookie_struct = g_new0(GtkMozEmbedCookie, 1);
UNACCEPTABLE_CRASHY_GLIB_ALLOCATION(cookie_struct);
if (parentWidget && cookie_struct) {
g_signal_emit_by_name(
GTK_OBJECT(parentWidget->common),
"ask-cookie",
cookie_struct,
actions,
(const gchar *) hostName.get(),
(const gchar *) aName.get(),
(const gchar *) aValue.get(),
(const gchar *) aDomain.get(),
(const gchar *) aPath.get(),
illegal_path,
aExpires,
NULL);
}
*aRememberDecision = cookie_struct->remember_decision;
*aAccept = cookie_struct->accept;
return NS_OK;
}
#ifndef MOZ_NO_GECKO_UI_FALLBACK_1_8_COMPAT
void
GtkPromptService::GetButtonLabel(
PRUint32 aFlags,
PRUint32 aPos,
const PRUnichar* aStringValue,
nsAString& aLabel)
{
PRUint32 posFlag = (aFlags & (255 * aPos)) / aPos;
switch (posFlag) {
case 0:
break;
case BUTTON_TITLE_OK:
aLabel.AssignLiteral(GTK_STOCK_OK);
break;
case BUTTON_TITLE_CANCEL:
aLabel.AssignLiteral(GTK_STOCK_CANCEL);
break;
case BUTTON_TITLE_YES:
aLabel.AssignLiteral(GTK_STOCK_YES);
break;
case BUTTON_TITLE_NO:
aLabel.AssignLiteral(GTK_STOCK_NO);
break;
case BUTTON_TITLE_SAVE:
aLabel.AssignLiteral(GTK_STOCK_SAVE);
break;
case BUTTON_TITLE_DONT_SAVE:
aLabel.AssignLiteral("Don't Save");
break;
case BUTTON_TITLE_REVERT:
aLabel.AssignLiteral("Revert");
break;
case BUTTON_TITLE_IS_STRING:
aLabel = aStringValue;
break;
default:
NS_WARNING("Unexpected button flags");
}
}
#endif

View File

@@ -0,0 +1,72 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 et cindent: */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2003
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Brian Ryner <bryner@brianryner.com>
* Oleg Romashin <romaxa@gmail.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsIPromptService.h"
#include "nsICookiePromptService.h"
#include "nsICookie.h"
#include "nsNetCID.h"
#include <gtk/gtk.h>
#ifdef MOZILLA_INTERNAL_API
#include "nsString.h"
#else
#include "nsStringAPI.h"
#endif
#define NS_PROMPTSERVICE_CID \
{0x95611356, 0xf583, 0x46f5, {0x81, 0xff, 0x4b, 0x3e, 0x01, 0x62, 0xc6, 0x19}}
class nsIDOMWindow;
class GtkPromptService : public nsIPromptService,
public nsICookiePromptService
{
public:
GtkPromptService();
virtual ~GtkPromptService();
NS_DECL_ISUPPORTS
NS_DECL_NSIPROMPTSERVICE
NS_DECL_NSICOOKIEPROMPTSERVICE
#ifndef MOZ_NO_GECKO_UI_FALLBACK_1_8_COMPAT
private:
void GetButtonLabel(PRUint32 aFlags, PRUint32 aPos,
const PRUnichar* aStringValue, nsAString &aLabel);
#endif
};

View File

@@ -0,0 +1,231 @@
#
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is the Mozilla browser.
#
# The Initial Developer of the Original Code is
# Christopher Blizzard.
# Portions created by the Initial Developer are Copyright (C) 1999
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
# Christopher Blizzard <blizzard@mozilla.org>
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
DEPTH = ../../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = gtkembedmoz
LIBRARY_NAME = gtkembedmoz
LIBXUL_LIBRARY = 1
FORCE_STATIC_LIB = 1
LOCAL_INCLUDES += \
-I. \
$(NULL)
#Temporary define for full migration from libxul
#MOZ_GTKEMBED_DYN = 1
ifdef MOZ_GTKEMBED_DYN
#DEFINES += -DFIXED_BUG347731
FORCE_SHARED_LIB = 1
ifdef MOZ_ENABLE_LIBXUL
LIBXUL_LIBRARY =
endif
endif
DEFINES += -DIMPL_XREAPI
# New Stuff in GtkMozEmbed
ifdef MOZ_MICROBEMBED
DEFINES += -DBAD_CERT_LISTENER2
#Probably scrolling can be fixed without this hack
DEFINES += -DMOZ_SCROLL_TOP_LEFT_HACK
MOZ_NO_GECKO_UI_FALLBACK_1_8_COMPAT = 1
DEFINES += -DMOZ_NO_GECKO_UI_FALLBACK_1_8_COMPAT
MOZ_GTKPASSWORD_INTERFACE = 1
DEFINES += -DMOZ_GTKPASSWORD_INTERFACE
endif
REQUIRES = xpcom \
string \
content \
docshell \
necko \
widget \
dom \
gfx \
intl \
imglib2 \
layout \
locale \
unicharutil \
uriloader \
webbrwsr \
shistory \
composer \
editor \
embed_base \
windowwatcher \
webshell \
pipnss \
history \
pref \
nspr \
xulapp \
exthandler \
mimetype \
chardet \
find \
webbrowserpersist \
cookie \
nkcache \
pipboot \
$(NULL)
ifdef ACCESSIBILITY
REQUIRES += accessibility
endif
CPPSRCS = \
gtkmozembed2.cpp \
EmbedPrivate.cpp \
EmbedWindow.cpp \
EmbedProgress.cpp \
EmbedContentListener.cpp \
EmbedEventListener.cpp \
EmbedWindowCreator.cpp \
EmbedGtkTools.cpp \
$(NULL)
ifdef MOZ_ENABLE_GTK2
CPPSRCS += \
gtkmozembed_common.cpp \
gtkmozembed_download.cpp \
EmbedContextMenuInfo.cpp \
EmbedCertificates.cpp \
EmbedDownloadMgr.cpp \
EmbedGlobalHistory.cpp \
EmbedFilePicker.cpp \
$(NULL)
ifdef MOZ_GTKPASSWORD_INTERFACE
CPPSRCS += \
EmbedPasswordMgr.cpp \
$(NULL)
XPIDLSRCS += \
nsIPassword.idl \
nsIPasswordInternal.idl \
$(NULL)
endif
CSRCS = \
gtkmozembedmarshal.c
CPPSRCS += \
GtkPromptService.cpp \
$(NULL)
ifndef MOZ_NO_GECKO_UI_FALLBACK_1_8_COMPAT
CPPSRCS += \
EmbedPrompter.cpp \
$(NULL)
endif
endif
include $(topsrcdir)/config/config.mk
EXPORTS = \
gtkmozembed.h \
gtkmozembed_glue.cpp \
gtkmozembed_internal.h \
$(NULL)
ifdef MOZ_ENABLE_GTK2
EXPORTS += \
gtkmozembed_common.h \
gtkmozembed_download.h \
$(NULL)
endif
ifdef MOZ_GTKEMBED_DYN
ifneq (,$(filter gtk gtk2 qt xlib,$(MOZ_WIDGET_TOOLKIT)))
EXTRA_DSO_LDOPTS += \
$(DIST)/lib/libxpcomglue_s.$(LIB_SUFFIX) \
$(MOZ_COMPONENT_LIBS) \
$(MOZ_GTK2_LIBS) \
$(NULL)
#Any Idea what can be used instead -lxul in FF configuration?
ifndef MOZ_ENABLE_LIBXUL
EXTRA_DSO_LDOPTS += \
-lxul \
$(NULL)
endif
endif
endif
include $(topsrcdir)/config/rules.mk
ifeq ($(OS_ARCH), SunOS)
ifndef GNU_CC
# When using Sun's WorkShop compiler, including
# /wherever/workshop-5.0/SC5.0/include/CC/std/time.h
# causes most of these compiles to fail with:
# line 29: Error: Multiple declaration for std::tm.
# So, this gets around the problem.
DEFINES += -D_TIME_H=1
endif
endif
CXXFLAGS += $(MOZ_GTK_CFLAGS) $(MOZ_GTK2_CFLAGS)
CFLAGS += $(MOZ_GTK_CFLAGS) $(MOZ_GTK2_CFLAGS)
ifdef MOZ_GNOMEVFS_CFLAGS
CXXFLAGS += $(MOZ_GNOMEVFS_CFLAGS)
CFLAGS += $(MOZ_GNOMEVFS_CFLAGS)
endif
DEFINES += -D_IMPL_GTKMOZEMBED
MARSHAL_FILE = gtkmozembedmarshal
MARSHAL_PREFIX = gtkmozembed
$(MARSHAL_FILE).h: $(MARSHAL_FILE).list
glib-genmarshal --prefix=$(MARSHAL_PREFIX) $(srcdir)/$(MARSHAL_FILE).list --skip-source --header > $(MARSHAL_FILE).h
$(MARSHAL_FILE).c: $(MARSHAL_FILE).list $(MARSHAL_FILE).h
glib-genmarshal --prefix=$(MARSHAL_PREFIX) $(srcdir)/$(MARSHAL_FILE).list --skip-source --body > $(MARSHAL_FILE).c

View File

@@ -0,0 +1,396 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 tw=80 et cindent: */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Christopher Blizzard. Portions created by Christopher Blizzard are Copyright (C) Christopher Blizzard. All Rights Reserved.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Christopher Blizzard <blizzard@mozilla.org>
* Ramiro Estrugo <ramiro@eazel.com>
* Oleg Romashin <romaxa@gmail.com>
* Antonio Gomes <tonikitoo@gmail.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef gtkmozembed_h
#define gtkmozembed_h
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#include <stddef.h>
#include <gtk/gtk.h>
#include <stdlib.h>
#ifdef MOZILLA_CLIENT
#include "nscore.h"
#else /* MOZILLA_CLIENT */
#ifndef nscore_h__
/* Because this header may be included from files which not part of the mozilla
build system, define macros from nscore.h */
#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)
#define NS_HIDDEN __attribute__((visibility("hidden")))
#else
#define NS_HIDDEN
#endif
#define NS_FROZENCALL
#define NS_EXPORT_(type) type
#define NS_IMPORT_(type) type
#endif /* nscore_h__ */
#endif /* MOZILLA_CLIENT */
#ifdef XPCOM_GLUE
#define GTKMOZEMBED_API(type, name, params) \
typedef type (NS_FROZENCALL * name##Type) params; \
extern name##Type name NS_HIDDEN;
#else /* XPCOM_GLUE */
#ifdef _IMPL_GTKMOZEMBED
#define GTKMOZEMBED_API(type, name, params) NS_EXPORT_(type) name params;
#else
#define GTKMOZEMBED_API(type,name, params) NS_IMPORT_(type) name params;
#endif
#endif /* XPCOM_GLUE */
/** @struct GtkWebHistoryItem.
* Defines a web history item.
*/
typedef struct _GtkMozHistoryItem GtkMozHistoryItem;
struct _GtkMozHistoryItem
{
const gchar *title; /** < URL title */
const gchar *url; /** < URL */
long accessed; /** < The last time that the URL was accessed */
};
#ifdef MOZ_WIDGET_GTK2
#include "gtkmozembed_common.h"
#endif
#define GTK_TYPE_MOZ_EMBED (gtk_moz_embed_get_type())
#define GTK_MOZ_EMBED(obj) GTK_CHECK_CAST((obj), GTK_TYPE_MOZ_EMBED, GtkMozEmbed)
#define GTK_MOZ_EMBED_CLASS(klass) GTK_CHECK_CLASS_CAST((klass), GTK_TYPE_MOZ_EMBED, GtkMozEmbedClass)
#define GTK_IS_MOZ_EMBED(obj) GTK_CHECK_TYPE((obj), GTK_TYPE_MOZ_EMBED)
#define GTK_IS_MOZ_EMBED_CLASS(klass) GTK_CHECK_CLASS_TYPE((klass), GTK_TYPE_MOZ_EMBED)
typedef struct _GtkMozEmbed GtkMozEmbed;
typedef struct _GtkMozEmbedClass GtkMozEmbedClass;
struct _GtkMozEmbed
{
GtkBin bin;
void *data;
GtkObject *common;
/* FIXME: This is a temporary solution for incorrect progress values
* being passed up. Oleg has mentioned something about a bug in JS.
*/
gint current_number_of_requests;
gint total_number_of_requests;
gint number_of_frames_loaded;
};
struct _GtkMozEmbedClass
{
GtkBinClass parent_class;
void (* link_message) (GtkMozEmbed *embed);
void (* js_status) (GtkMozEmbed *embed);
void (* location) (GtkMozEmbed *embed);
void (* title) (GtkMozEmbed *embed);
void (* progress) (GtkMozEmbed *embed, gint curprogress,
gint maxprogress);
void (* progress_all) (GtkMozEmbed *embed, const gchar *aURI,
gint curprogress, gint maxprogress);
void (* net_state) (GtkMozEmbed *embed, gint state, guint status);
void (* net_state_all) (GtkMozEmbed *embed, const gchar *aURI,
gint state, guint status);
void (* net_start) (GtkMozEmbed *embed);
void (* net_stop) (GtkMozEmbed *embed);
void (* new_window) (GtkMozEmbed *embed, GtkMozEmbed **newEmbed,
guint chromemask);
void (* visibility) (GtkMozEmbed *embed, gboolean visibility);
void (* destroy_brsr) (GtkMozEmbed *embed);
gint (* open_uri) (GtkMozEmbed *embed, const char *aURI);
void (* size_to) (GtkMozEmbed *embed, gint width, gint height);
gint (* dom_key_down) (GtkMozEmbed *embed, gpointer dom_event);
gint (* dom_key_press) (GtkMozEmbed *embed, gpointer dom_event);
gint (* dom_key_up) (GtkMozEmbed *embed, gpointer dom_event);
gint (* dom_mouse_down) (GtkMozEmbed *embed, gpointer dom_event);
gint (* dom_mouse_up) (GtkMozEmbed *embed, gpointer dom_event);
gint (* dom_mouse_click) (GtkMozEmbed *embed, gpointer dom_event);
gint (* dom_mouse_dbl_click) (GtkMozEmbed *embed, gpointer dom_event);
gint (* dom_mouse_over) (GtkMozEmbed *embed, gpointer dom_event);
gint (* dom_mouse_out) (GtkMozEmbed *embed, gpointer dom_event);
/* gint (* dom_mouse_move) (GtkMozEmbed *embed, gpointer dom_event); */
gint (* dom_mouse_scroll) (GtkMozEmbed *embed, gpointer dom_event);
gint (* dom_mouse_long_press)(GtkMozEmbed *embed, gpointer dom_event);
gint (* dom_focus) (GtkMozEmbed *embed, gpointer dom_event);
gint (* dom_blur) (GtkMozEmbed *embed, gpointer dom_event);
void (* security_change) (GtkMozEmbed *embed, gpointer request,
guint state);
void (* status_change) (GtkMozEmbed *embed, gpointer request,
gint status, gpointer message);
gint (* dom_activate) (GtkMozEmbed *embed, gpointer dom_event);
gint (* dom_focus_in) (GtkMozEmbed *embed, gpointer dom_event);
gint (* dom_focus_out) (GtkMozEmbed *embed, gpointer dom_event);
void (* alert) (GtkMozEmbed *embed, const char *title, const char *text);
void (* alert_check) (GtkMozEmbed *embed, const char *title, const char *text,
const char *check_msg, gboolean *check_val);
gboolean (* confirm) (GtkMozEmbed *embed, const char *title, const char *text);
gboolean (* confirm_check) (GtkMozEmbed *embed, const char *title, const char *text,
const char *check_msg, gboolean *check_val);
gint (* confirm_ex) (GtkMozEmbed *embed, const char *title, const char *text, guint bt_flags,
const char *button1, const char *button2, const char *button3,
const char *check_msg, gboolean *check_val);
gboolean (* prompt) (GtkMozEmbed *embed, const char *title, const char *text,
char **value, const char *check_msg, gboolean *check_val);
gboolean (* prompt_auth) (GtkMozEmbed *embed, const char *title, const char *text,
char **user, char **pass, const char *check_msg, gboolean *check_val);
gboolean (* select) (GtkMozEmbed *embed, const char *title, const char *text,
GList *list, gint *selected_item);
void (* download_request)(GtkMozEmbed *, const char *, const char *, const char *, long, int, gpointer);
gboolean (* upload_dialog) (GtkMozEmbed *, const char *, const char *, char **);
void (* icon_changed) (GtkMozEmbed *, gpointer*);
void (* mailto) (GtkMozEmbed *, gchar *);
void (* network_error) (GtkMozEmbed *, gchar *, const gint, const gchar **);
void (* rss_request) (GtkMozEmbed *, gchar *, gchar *);
};
GTKMOZEMBED_API(GtkType, gtk_moz_embed_get_type, (void))
GTKMOZEMBED_API(GtkWidget*, gtk_moz_embed_new, (void))
GTKMOZEMBED_API(void, gtk_moz_embed_push_startup, (void))
GTKMOZEMBED_API(void, gtk_moz_embed_pop_startup, (void))
/* Tell gtkmozembed where the gtkmozembed libs live. If this is not specified,
The MOZILLA_FIVE_HOME environment variable is checked. */
GTKMOZEMBED_API(void, gtk_moz_embed_set_path, (const char *aPath))
GTKMOZEMBED_API(void, gtk_moz_embed_set_comp_path, (const char *aPath))
GTKMOZEMBED_API(void, gtk_moz_embed_set_profile_path, (const char *aDir, const char *aName))
GTKMOZEMBED_API(void, gtk_moz_embed_load_url, (GtkMozEmbed *embed, const char *url))
GTKMOZEMBED_API(void, gtk_moz_embed_stop_load, (GtkMozEmbed *embed))
GTKMOZEMBED_API(gboolean, gtk_moz_embed_can_go_back, (GtkMozEmbed *embed))
GTKMOZEMBED_API(gboolean, gtk_moz_embed_can_go_forward, (GtkMozEmbed *embed))
GTKMOZEMBED_API(void, gtk_moz_embed_go_back, (GtkMozEmbed *embed))
GTKMOZEMBED_API(void, gtk_moz_embed_go_forward, (GtkMozEmbed *embed))
GTKMOZEMBED_API(void, gtk_moz_embed_render_data, (GtkMozEmbed *embed, const char *data, guint32 len,
const char *base_uri, const char *mime_type))
GTKMOZEMBED_API(void, gtk_moz_embed_open_stream, (GtkMozEmbed *embed,
const char *base_uri, const char *mime_type))
GTKMOZEMBED_API(void, gtk_moz_embed_append_data, (GtkMozEmbed *embed,
const char *data, guint32 len))
GTKMOZEMBED_API(void, gtk_moz_embed_close_stream, (GtkMozEmbed *embed))
GTKMOZEMBED_API(gchar*, gtk_moz_embed_get_link_message, (GtkMozEmbed *embed))
GTKMOZEMBED_API(gchar*, gtk_moz_embed_get_js_status, (GtkMozEmbed *embed))
GTKMOZEMBED_API(gchar*, gtk_moz_embed_get_title, (GtkMozEmbed *embed))
GTKMOZEMBED_API(gchar*, gtk_moz_embed_get_location, (GtkMozEmbed *embed))
GTKMOZEMBED_API(void, gtk_moz_embed_reload, (GtkMozEmbed *embed, gint32 flags))
GTKMOZEMBED_API(void, gtk_moz_embed_set_chrome_mask, (GtkMozEmbed *embed, guint32 flags))
GTKMOZEMBED_API(guint32, gtk_moz_embed_get_chrome_mask, (GtkMozEmbed *embed))
GTKMOZEMBED_API(gboolean, gtk_moz_embed_get_zoom_level, (GtkMozEmbed *embed, gint*, gpointer))
GTKMOZEMBED_API(gboolean, gtk_moz_embed_set_zoom_level, (GtkMozEmbed *embed, gint, gpointer))
GTKMOZEMBED_API(gboolean, gtk_moz_embed_find_text, (GtkMozEmbed *embed, const gchar*, gboolean, gboolean, gboolean, gboolean, gint))
GTKMOZEMBED_API(gboolean, gtk_moz_embed_clipboard, (GtkMozEmbed *embed, guint, gint))
GTKMOZEMBED_API(void, gtk_moz_embed_notify_plugins, (GtkMozEmbed *embed, guint))
GTKMOZEMBED_API(void, gtk_moz_embed_check_logins, (GtkMozEmbed *embed))
GTKMOZEMBED_API(char*, gtk_moz_embed_get_encoding, (GtkMozEmbed *embed, gint))
GTKMOZEMBED_API(void, gtk_moz_embed_set_encoding, (GtkMozEmbed *embed, const gchar *, gint))
GTKMOZEMBED_API(guint, gtk_moz_embed_get_context_info, (GtkMozEmbed *embed, gpointer event, gpointer *node,
gint *x, gint *y, gint *docindex,
const gchar **url, const gchar **objurl, const gchar **docurl))
GTKMOZEMBED_API(const gchar*, gtk_moz_embed_get_selection, (GtkMozEmbed *embed))
GTKMOZEMBED_API(gboolean, gtk_moz_embed_get_doc_info, (GtkMozEmbed *embed, gpointer node, gint docindex, const gchar**title,
const gchar**location, const gchar **file_type, guint *file_size,
gint *width, gint *height))
GTKMOZEMBED_API(gboolean, gtk_moz_embed_insert_text, (GtkMozEmbed *embed, const gchar*, gpointer node))
GTKMOZEMBED_API(gboolean, gtk_moz_embed_save_target, (GtkMozEmbed *embed, gchar*, gchar*, gint))
GTKMOZEMBED_API(gint, gtk_moz_embed_get_shistory_list, (GtkMozEmbed *embed, GtkMozHistoryItem **GtkHI, guint type))
GTKMOZEMBED_API(gint, gtk_moz_embed_get_shistory_index, (GtkMozEmbed *embed))
GTKMOZEMBED_API(void, gtk_moz_embed_shistory_goto_index, (GtkMozEmbed *embed, gint index))
GTKMOZEMBED_API(gboolean, gtk_moz_embed_get_server_cert, (GtkMozEmbed *embed, gpointer *aCert, gpointer))
typedef enum
{
GTK_MOZ_EMBED_BACK_SHISTORY,
GTK_MOZ_EMBED_FORWARD_SHISTORY
} GtkMozEmbedSessionHistory;
typedef enum
{
GTK_MOZ_EMBED_SELECT_ALL,
GTK_MOZ_EMBED_CAN_SELECT,
GTK_MOZ_EMBED_CUT,
GTK_MOZ_EMBED_COPY,
GTK_MOZ_EMBED_PASTE,
GTK_MOZ_EMBED_CAN_CUT,
GTK_MOZ_EMBED_CAN_PASTE,
GTK_MOZ_EMBED_CAN_COPY
} GtkMozEmbedClipboard;
typedef enum
{
GTK_MOZ_EMBED_CTX_NONE = 0,
GTK_MOZ_EMBED_CTX_XUL = 1 << 1,
GTK_MOZ_EMBED_CTX_SIDEBAR = 1 << 2,
GTK_MOZ_EMBED_CTX_DOCUMENT = 1 << 3,
GTK_MOZ_EMBED_CTX_LINK = 1 << 4,
GTK_MOZ_EMBED_CTX_IMAGE = 1 << 5,
GTK_MOZ_EMBED_CTX_IFRAME = 1 << 6,
GTK_MOZ_EMBED_CTX_INPUT = 1 << 7,
GTK_MOZ_EMBED_CTX_IPASSWORD = 1 << 8,
GTK_MOZ_EMBED_CTX_EMAIL = 1 << 9,
GTK_MOZ_EMBED_CTX_RICHEDIT = 1 << 10,
GTK_MOZ_EMBED_CTX_ROINPUT = 1 << 11
} GtkMozEmbedContext;
typedef enum
{
GTK_MOZ_EMBED_DIALOG_BUTTON_OK,
GTK_MOZ_EMBED_DIALOG_BUTTON_CANCEL,
GTK_MOZ_EMBED_DIALOG_BUTTON_YES,
GTK_MOZ_EMBED_DIALOG_BUTTON_NO,
GTK_MOZ_EMBED_DIALOG_BUTTON_SAVE,
GTK_MOZ_EMBED_DIALOG_BUTTON_DONT_SAVE,
GTK_MOZ_EMBED_DIALOG_BUTTON_REVERT,
GTK_MOZ_EMBED_DIALOG_BUTTON_STRING
} GtkMozEmbedDialogButtons;
/* These are straight out of nsIWebProgressListener.h */
typedef enum
{
GTK_MOZ_EMBED_FLAG_START = 1,
GTK_MOZ_EMBED_FLAG_REDIRECTING = 2,
GTK_MOZ_EMBED_FLAG_TRANSFERRING = 4,
GTK_MOZ_EMBED_FLAG_NEGOTIATING = 8,
GTK_MOZ_EMBED_FLAG_STOP = 16,
GTK_MOZ_EMBED_FLAG_IS_REQUEST = 65536,
GTK_MOZ_EMBED_FLAG_IS_DOCUMENT = 131072,
GTK_MOZ_EMBED_FLAG_IS_NETWORK = 262144,
GTK_MOZ_EMBED_FLAG_IS_WINDOW = 524288,
GTK_MOZ_EMBED_FLAG_RESTORING = 16777216
} GtkMozEmbedProgressFlags;
/* These are from various networking headers */
typedef enum
{
/* NS_ERROR_UNKNOWN_HOST */
GTK_MOZ_EMBED_STATUS_FAILED_DNS = 2152398878U,
/* NS_ERROR_CONNECTION_REFUSED */
GTK_MOZ_EMBED_STATUS_FAILED_CONNECT = 2152398861U,
/* NS_ERROR_NET_TIMEOUT */
GTK_MOZ_EMBED_STATUS_FAILED_TIMEOUT = 2152398862U,
/* NS_BINDING_ABORTED */
GTK_MOZ_EMBED_STATUS_FAILED_USERCANCELED = 2152398850U,
/* NS_ERROR_PROXY_CONNECTION_REFUSED */
GTK_MOZ_EMBED_STATUS_PROXY_FAILED = 2152398920U
} GtkMozEmbedStatusFlags;
/* These used to be straight out of nsIWebNavigation.h until the API
changed. Now there's a mapping table that maps these values to the
internal values. */
typedef enum
{
GTK_MOZ_EMBED_FLAG_RELOADNORMAL = 0,
GTK_MOZ_EMBED_FLAG_RELOADBYPASSCACHE = 1,
GTK_MOZ_EMBED_FLAG_RELOADBYPASSPROXY = 2,
GTK_MOZ_EMBED_FLAG_RELOADBYPASSPROXYANDCACHE = 3,
GTK_MOZ_EMBED_FLAG_RELOADCHARSETCHANGE = 4
} GtkMozEmbedReloadFlags;
/* These are straight out of nsIWebBrowserChrome.h */
typedef enum
{
GTK_MOZ_EMBED_FLAG_DEFAULTCHROME = 1U,
GTK_MOZ_EMBED_FLAG_WINDOWBORDERSON = 2U,
GTK_MOZ_EMBED_FLAG_WINDOWCLOSEON = 4U,
GTK_MOZ_EMBED_FLAG_WINDOWRESIZEON = 8U,
GTK_MOZ_EMBED_FLAG_MENUBARON = 16U,
GTK_MOZ_EMBED_FLAG_TOOLBARON = 32U,
GTK_MOZ_EMBED_FLAG_LOCATIONBARON = 64U,
GTK_MOZ_EMBED_FLAG_STATUSBARON = 128U,
GTK_MOZ_EMBED_FLAG_PERSONALTOOLBARON = 256U,
GTK_MOZ_EMBED_FLAG_SCROLLBARSON = 512U,
GTK_MOZ_EMBED_FLAG_TITLEBARON = 1024U,
GTK_MOZ_EMBED_FLAG_EXTRACHROMEON = 2048U,
GTK_MOZ_EMBED_FLAG_ALLCHROME = 4094U,
GTK_MOZ_EMBED_FLAG_WINDOWRAISED = 33554432U,
GTK_MOZ_EMBED_FLAG_WINDOWLOWERED = 67108864U,
GTK_MOZ_EMBED_FLAG_CENTERSCREEN = 134217728U,
GTK_MOZ_EMBED_FLAG_DEPENDENT = 268435456U,
GTK_MOZ_EMBED_FLAG_MODAL = 536870912U,
GTK_MOZ_EMBED_FLAG_OPENASDIALOG = 1073741824U,
GTK_MOZ_EMBED_FLAG_OPENASCHROME = 2147483648U
} GtkMozEmbedChromeFlags;
/* this is a singleton object that you can hook up to to get signals
that are not handed out on a per widget basis. */
#define GTK_TYPE_MOZ_EMBED_SINGLE (gtk_moz_embed_single_get_type())
#define GTK_MOZ_EMBED_SINGLE(obj) GTK_CHECK_CAST((obj), GTK_TYPE_MOZ_EMBED_SINGLE, GtkMozEmbedSingle)
#define GTK_MOZ_EMBED_SINGLE_CLASS(klass) GTK_CHEK_CLASS_CAST((klass), GTK_TYPE_MOZ_EMBED_SINGLE, GtkMozEmbedSingleClass)
#define GTK_IS_MOZ_EMBED_SINGLE(obj) GTK_CHECK_TYPE((obj), GTK_TYPE_MOZ_EMBED_SINGLE)
#define GTK_IS_MOZ_EMBED_SINGLE_CLASS(klass) GTK_CHECK_CLASS_TYPE((klass), GTK_TYPE_MOZ_EMBED)
typedef struct _GtkMozEmbedSingle GtkMozEmbedSingle;
typedef struct _GtkMozEmbedSingleClass GtkMozEmbedSingleClass;
struct _GtkMozEmbedSingle
{
GtkObject object;
void *data;
};
struct _GtkMozEmbedSingleClass
{
GtkObjectClass parent_class;
void (* new_window_orphan) (GtkMozEmbedSingle *embed,
GtkMozEmbed **newEmbed,
guint chromemask);
};
GTKMOZEMBED_API(GtkType, gtk_moz_embed_single_get_type, (void))
GTKMOZEMBED_API(GtkMozEmbedSingle *, gtk_moz_embed_single_get, (void))
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* gtkmozembed_h */

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,752 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 tw=80 et cindent: */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Christopher Blizzard.
* Portions created by Christopher Blizzard are Copyright (C) Christopher Blizzard. All Rights Reserved.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Christopher Blizzard <blizzard@mozilla.org>
* Ramiro Estrugo <ramiro@eazel.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include <stdio.h>
#include "gtkmozembed.h"
#include "gtkmozembed_common.h"
#include "gtkmozembedprivate.h"
#include "gtkmozembed_internal.h"
#include "EmbedPrivate.h"
#include "EmbedWindow.h"
#ifdef MOZ_GTKPASSWORD_INTERFACE
#include "EmbedPasswordMgr.h"
#include "nsIPassword.h"
#endif
#include "EmbedGlobalHistory.h"
//#include "EmbedDownloadMgr.h"
// so we can do our get_nsIWebBrowser later...
#include "nsIWebBrowser.h"
#include "nsIComponentManager.h"
#include "nsIServiceManager.h"
#include "nsIPref.h"
#include "nsICookieManager.h"
#include "nsIPermissionManager.h"
#include "nsNetCID.h"
#include "nsICookie.h"
#include "nsIX509Cert.h"
// for strings
#ifdef MOZILLA_INTERNAL_API
#include "nsXPIDLString.h"
#include "nsReadableUtils.h"
#include "nsString.h"
#else
#include "nsStringAPI.h"
#include "nsComponentManagerUtils.h"
#include "nsServiceManagerUtils.h"
#endif
// for plugins
#include "nsIDOMNavigator.h"
#include "nsIDOMPluginArray.h"
#include "nsIDOMPlugin.h"
#include <plugin/nsIPluginHost.h>
#include "nsIDOMMimeType.h"
#include "nsIObserverService.h"
//for security
#include "nsIWebProgressListener.h"
//for cache
#include "nsICacheService.h"
#include "nsICache.h"
#ifdef MOZ_WIDGET_GTK2
#include "gtkmozembedmarshal.h"
#define NEW_TOOLKIT_STRING(x) g_strdup(NS_ConvertUTF16toUTF8(x).get())
#define GET_TOOLKIT_STRING(x) NS_ConvertUTF16toUTF8(x).get()
#define GET_OBJECT_CLASS_TYPE(x) G_OBJECT_CLASS_TYPE(x)
#endif /* MOZ_WIDGET_GTK2 */
#ifdef MOZ_WIDGET_GTK
// so we can get callbacks from the mozarea
#include <gtkmozarea.h>
// so we get the right marshaler for gtk 1.2
#define gtkmozembed_VOID__INT_UINT \
gtk_marshal_NONE__INT_INT
#define gtkmozembed_VOID__STRING_INT_INT \
gtk_marshal_NONE__POINTER_INT_INT
#define gtkmozembed_VOID__STRING_INT_UINT \
gtk_marshal_NONE__POINTER_INT_INT
#define gtkmozembed_VOID__POINTER_INT_POINTER \
gtk_marshal_NONE__POINTER_INT_POINTER
#define gtkmozembed_BOOL__STRING \
gtk_marshal_BOOL__POINTER
#define gtkmozembed_VOID__INT_INT_BOOLEAN \
gtk_marshal_NONE__INT_INT_BOOLEAN
#define G_SIGNAL_TYPE_STATIC_SCOPE 0
#define NEW_TOOLKIT_STRING(x) g_strdup(NS_LossyConvertUTF16toASCII(x).get())
#define GET_TOOLKIT_STRING(x) NS_LossyConvertUTF16toASCII(x).get()
#define GET_OBJECT_CLASS_TYPE(x) (GTK_OBJECT_CLASS(x)->type)
#endif /* MOZ_WIDGET_GTK */
#define UNACCEPTABLE_CRASHY_GLIB_ALLOCATION(newed) PR_BEGIN_MACRO \
/* OOPS this code is using a glib allocation function which \
* will cause the application to crash when it runs out of \
* memory. This is not cool. either g_try methods should be \
* used or malloc, or new (note that gecko /will/ be replacing \
* its operator new such that new will not throw exceptions). \
* XXX please fix me. \
*/ \
if (!newed) { \
} \
PR_END_MACRO
#define ALLOC_NOT_CHECKED(newed) PR_BEGIN_MACRO \
/* This might not crash, but the code probably isn't really \
* designed to handle it, perhaps the code should be fixed? \
*/ \
if (!newed) { \
} \
PR_END_MACRO
// CID used to get the plugin manager
static NS_DEFINE_CID(kPluginManagerCID, NS_PLUGINMANAGER_CID);
// class and instance initialization
static void
gtk_moz_embed_common_class_init(GtkMozEmbedCommonClass *klass);
static void
gtk_moz_embed_common_init(GtkMozEmbedCommon *embed);
static GtkObjectClass *common_parent_class = NULL;
// GtkObject methods
static void
gtk_moz_embed_common_destroy(GtkObject *object);
guint moz_embed_common_signals[COMMON_LAST_SIGNAL] = { 0 };
// GtkObject + class-related functions
GtkType
gtk_moz_embed_common_get_type(void)
{
static GtkType moz_embed_common_type = 0;
if (!moz_embed_common_type)
{
static const GtkTypeInfo moz_embed_common_info =
{
"GtkMozEmbedCommon",
sizeof(GtkMozEmbedCommon),
sizeof(GtkMozEmbedCommonClass),
(GtkClassInitFunc)gtk_moz_embed_common_class_init,
(GtkObjectInitFunc)gtk_moz_embed_common_init,
0,
0,
0
};
moz_embed_common_type = gtk_type_unique(GTK_TYPE_BIN, &moz_embed_common_info);
}
return moz_embed_common_type;
}
static void
gtk_moz_embed_common_class_init(GtkMozEmbedCommonClass *klass)
{
GtkObjectClass *object_class;
object_class = GTK_OBJECT_CLASS(klass);
common_parent_class = (GtkObjectClass *)gtk_type_class(gtk_object_get_type());
object_class->destroy = gtk_moz_embed_common_destroy;
moz_embed_common_signals[COMMON_CERT_ERROR] =
gtk_signal_new("certificate-error",
GTK_RUN_LAST,
GET_OBJECT_CLASS_TYPE(klass),
GTK_SIGNAL_OFFSET(GtkMozEmbedCommonClass,
certificate_error),
gtkmozembed_BOOL__POINTER_UINT,
G_TYPE_BOOLEAN,
2,
GTK_TYPE_POINTER,
GTK_TYPE_UINT);
moz_embed_common_signals[COMMON_SELECT_LOGIN] =
gtk_signal_new("select-login",
GTK_RUN_LAST,
GET_OBJECT_CLASS_TYPE(klass),
GTK_SIGNAL_OFFSET(GtkMozEmbedCommonClass,
select_login),
gtk_marshal_INT__POINTER,
G_TYPE_INT,
1,
G_TYPE_POINTER);
moz_embed_common_signals[COMMON_REMEMBER_LOGIN] =
gtk_signal_new("remember-login",
GTK_RUN_LAST,
GET_OBJECT_CLASS_TYPE(klass),
GTK_SIGNAL_OFFSET(GtkMozEmbedCommonClass,
remember_login),
gtkmozembed_INT__VOID,
G_TYPE_INT, 0);
// set up our signals
moz_embed_common_signals[COMMON_ASK_COOKIE] =
gtk_signal_new("ask-cookie",
GTK_RUN_FIRST,
GET_OBJECT_CLASS_TYPE(klass),
GTK_SIGNAL_OFFSET(GtkMozEmbedCommonClass, ask_cookie),
gtkmozembed_VOID__POINTER_INT_STRING_STRING_STRING_STRING_STRING_BOOLEAN_INT,
G_TYPE_NONE, 9,
GTK_TYPE_POINTER,
GTK_TYPE_INT,
GTK_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE,
GTK_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE,
GTK_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE,
GTK_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE,
GTK_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE,
GTK_TYPE_BOOL,
GTK_TYPE_INT);
/*
moz_embed_common_signals[COMMON_CERT_DIALOG] =
gtk_signal_new("certificate-dialog",
GTK_RUN_LAST,
GET_OBJECT_CLASS_TYPE(klass),
GTK_SIGNAL_OFFSET(GtkMozEmbedCommonClass,
certificate_dialog),
gtk_marshal_BOOL__POINTER,
G_TYPE_BOOLEAN, 1, GTK_TYPE_POINTER);
moz_embed_common_signals[COMMON_CERT_PASSWD_DIALOG] =
gtk_signal_new("certificate-password-dialog",
GTK_RUN_FIRST,
GET_OBJECT_CLASS_TYPE(klass),
GTK_SIGNAL_OFFSET(GtkMozEmbedCommonClass,
certificate_password_dialog),
gtkmozembed_VOID__STRING_STRING_POINTER,
G_TYPE_NONE,
3,
GTK_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE,
GTK_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE,
GTK_TYPE_POINTER);
moz_embed_common_signals[COMMON_CERT_DETAILS_DIALOG] =
gtk_signal_new("certificate-details",
GTK_RUN_FIRST,
GET_OBJECT_CLASS_TYPE(klass),
GTK_SIGNAL_OFFSET(GtkMozEmbedCommonClass,
certificate_details),
gtk_marshal_VOID__POINTER,
G_TYPE_NONE,
1,
GTK_TYPE_POINTER);
moz_embed_common_signals[COMMON_HISTORY_ADDED] =
gtk_signal_new("global-history-item-added",
GTK_RUN_FIRST,
GET_OBJECT_CLASS_TYPE(klass),
GTK_SIGNAL_OFFSET(GtkMozEmbedCommonClass,
history_added),
gtk_marshal_VOID__STRING,
G_TYPE_NONE,
1,
GTK_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE);
moz_embed_common_signals[COMMON_ON_SUBMIT_SIGNAL] =
gtk_signal_new("on-submit",
GTK_RUN_LAST,
GET_OBJECT_CLASS_TYPE(klass),
GTK_SIGNAL_OFFSET(GtkMozEmbedCommonClass,
on_submit),
gtkmozembed_INT__VOID,
G_TYPE_INT, 0);
moz_embed_common_signals[COMMON_MODAL_DIALOG] =
gtk_signal_new("modal_dialog",
GTK_RUN_LAST,
GET_OBJECT_CLASS_TYPE(klass),
GTK_SIGNAL_OFFSET(GtkMozEmbedCommonClass,
modal_dialog),
gtkmozembed_INT__STRING_STRING_INT_INT_INT_INT,
G_TYPE_INT,
6,
G_TYPE_STRING, G_TYPE_STRING,
G_TYPE_INT, G_TYPE_INT,
G_TYPE_INT, G_TYPE_INT);
*/
#ifdef MOZ_WIDGET_GTK
gtk_object_class_add_signals(object_class, moz_embed_common_signals,
COMMON_LAST_SIGNAL);
#endif /* MOZ_WIDGET_GTK */
}
static void
gtk_moz_embed_common_init(GtkMozEmbedCommon *common)
{
// this is a placeholder for later in case we need to stash data at
// a later data and maintain backwards compatibility.
common->data = nsnull;
EmbedCommon *priv = EmbedCommon::GetInstance();
priv->mCommon = GTK_OBJECT(common);
common->data = priv;
EmbedGlobalHistory::GetInstance();
}
static void
gtk_moz_embed_common_destroy(GtkObject *object)
{
g_return_if_fail(object != NULL);
g_return_if_fail(GTK_IS_MOZ_EMBED_COMMON(object));
GtkMozEmbedCommon *embed = nsnull;
EmbedCommon *commonPrivate = nsnull;
embed = GTK_MOZ_EMBED_COMMON(object);
commonPrivate = (EmbedCommon *)embed->data;
if (commonPrivate) {
delete commonPrivate;
embed->data = NULL;
}
}
GtkWidget *
gtk_moz_embed_common_new(void)
{
GtkWidget *widget = (GtkWidget*) gtk_type_new(gtk_moz_embed_common_get_type());
gtk_widget_set_name(widget, "gtkmozembedcommon");
return (GtkWidget *) widget;
}
gboolean
gtk_moz_embed_common_set_pref(GtkType type, gchar *name, gpointer value)
{
g_return_val_if_fail (name != NULL, FALSE);
nsCOMPtr<nsIPref> pref = do_GetService(NS_PREF_CONTRACTID);
if (pref) {
nsresult rv = NS_ERROR_FAILURE;
switch (type) {
case GTK_TYPE_BOOL:
{
/* I doubt this cast pair is correct */
rv = pref->SetBoolPref(name, !!*(int*)value);
break;
}
case GTK_TYPE_INT:
{
/* I doubt this cast pair is correct */
rv = pref->SetIntPref(name, *(int*)value);
break;
}
case GTK_TYPE_STRING:
{
g_return_val_if_fail (value, FALSE);
rv = pref->SetCharPref(name, (gchar*)value);
break;
}
default:
break;
}
return NS_SUCCEEDED(rv);
}
return FALSE;
}
gboolean
gtk_moz_embed_common_get_pref(GtkType type, gchar *name, gpointer value)
{
g_return_val_if_fail (name != NULL, FALSE);
nsCOMPtr<nsIPref> pref = do_GetService(NS_PREF_CONTRACTID);
nsresult rv = NS_ERROR_FAILURE;
if (pref){
switch (type) {
case GTK_TYPE_BOOL:
{
rv = pref->GetBoolPref(name, (gboolean*)value);
break;
}
case GTK_TYPE_INT:
{
rv = pref->GetIntPref(name, (gint*)value);
break;
}
case GTK_TYPE_STRING:
{
rv = pref->GetCharPref(name, (gchar**)value);
break;
}
default:
break;
}
return NS_SUCCEEDED(rv);
}
return FALSE;
}
gboolean
gtk_moz_embed_common_save_prefs()
{
nsCOMPtr<nsIPrefService> prefService = do_GetService(NS_PREF_CONTRACTID);
g_return_val_if_fail (prefService != nsnull, FALSE);
if (prefService == nsnull)
return FALSE;
nsresult rv = prefService->SavePrefFile (nsnull);
return NS_SUCCEEDED(rv);
}
gint
gtk_moz_embed_common_get_logins(const char* uri, GList **list)
{
gint ret = 0;
#ifdef MOZ_GTKPASSWORD_INTERFACE
EmbedPasswordMgr *passwordManager = EmbedPasswordMgr::GetInstance();
nsCOMPtr<nsISimpleEnumerator> passwordEnumerator;
nsresult result = passwordManager->GetEnumerator(getter_AddRefs(passwordEnumerator));
PRBool enumResult;
for (passwordEnumerator->HasMoreElements(&enumResult) ;
enumResult == PR_TRUE ;
passwordEnumerator->HasMoreElements(&enumResult))
{
nsCOMPtr<nsIPassword> nsPassword;
result = passwordEnumerator->GetNext(getter_AddRefs(nsPassword));
if (NS_FAILED(result)) {
/* this almost certainly leaks logins */
return ret;
}
nsCString host;
nsPassword->GetHost(host);
nsCString nsCURI(uri);
if (uri) {
if (!StringBeginsWith(nsCURI, host)
// && !StringBeginsWith(host, nsCURI)
)
continue;
} else if (!passwordManager->IsEqualToLastHostQuery(host))
continue;
if (list) {
nsString unicodeName;
nsString unicodePassword;
nsPassword->GetUser(unicodeName);
nsPassword->GetPassword(unicodePassword);
GtkMozLogin * login = g_new0(GtkMozLogin, 1);
UNACCEPTABLE_CRASHY_GLIB_ALLOCATION(login);
login->user = ToNewUTF8String(unicodeName);
ALLOC_NOT_CHECKED(login->user);
login->pass = ToNewUTF8String(unicodePassword);
ALLOC_NOT_CHECKED(login->pass);
login->host = NS_strdup(host.get());
ALLOC_NOT_CHECKED(login->host);
login->index = ret;
*list = g_list_append(*list, login);
}
ret++;
}
#endif
return ret;
}
gboolean
gtk_moz_embed_common_remove_passwords(const gchar *host, const gchar *user, gint index)
{
#ifdef MOZ_GTKPASSWORD_INTERFACE
EmbedPasswordMgr *passwordManager = EmbedPasswordMgr::GetInstance();
if (index >= 0) {
passwordManager->RemovePasswordsByIndex(index);
} else {
passwordManager->RemovePasswords(host, user);
}
#endif
return TRUE;
}
gint
gtk_moz_embed_common_get_history_list(GtkMozHistoryItem **GtkHI)
{
gint count = 0;
EmbedGlobalHistory *history = EmbedGlobalHistory::GetInstance();
history->GetContentList(GtkHI, &count);
return count;
}
gint
gtk_moz_embed_common_remove_history(gchar *url, gint time) {
nsresult rv;
// The global history service
nsCOMPtr<nsIGlobalHistory2> globalHistory(do_GetService("@mozilla.org/browser/global-history;2"));
if (!globalHistory) return NS_ERROR_NULL_POINTER;
// The browser history interface
nsCOMPtr<nsIObserver> myHistory = do_QueryInterface(globalHistory, &rv);
if (!myHistory) return NS_ERROR_NULL_POINTER ;
if (!url)
myHistory->Observe(nsnull, "RemoveEntries", nsnull);
else {
EmbedGlobalHistory *history = EmbedGlobalHistory::GetInstance();
PRUnichar *uniurl = ToNewUnicode(NS_ConvertUTF8toUTF16(url));
rv = history->RemoveEntries(uniurl, time);
NS_Free(uniurl);
}
return 1;
}
GSList*
gtk_moz_embed_common_get_cookie_list(void)
{
GSList *cookies = NULL;
nsresult result;
nsCOMPtr<nsICookieManager> cookieManager =
do_GetService(NS_COOKIEMANAGER_CONTRACTID);
nsCOMPtr<nsISimpleEnumerator> cookieEnumerator;
result = cookieManager->GetEnumerator(getter_AddRefs(cookieEnumerator));
g_return_val_if_fail(NS_SUCCEEDED(result), NULL);
PRBool enumResult;
for (cookieEnumerator->HasMoreElements(&enumResult);
enumResult == PR_TRUE;
cookieEnumerator->HasMoreElements(&enumResult))
{
GtkMozCookieList *c;
nsCOMPtr<nsICookie> nsCookie;
result = cookieEnumerator->GetNext(getter_AddRefs(nsCookie));
g_return_val_if_fail(NS_SUCCEEDED(result), NULL);
c = g_new0(GtkMozCookieList, 1);
UNACCEPTABLE_CRASHY_GLIB_ALLOCATION(c);
nsCAutoString transfer;
nsCookie->GetHost(transfer);
c->domain = g_strdup(transfer.get());
nsCookie->GetName(transfer);
c->name = g_strdup(transfer.get());
nsCookie->GetValue(transfer);
c->value = g_strdup(transfer.get());
nsCookie->GetPath(transfer);
/* this almost certainly leaks g_strconcat */
if (strchr(c->domain,'.'))
c->path = g_strdup(g_strconcat("http://*",c->domain,"/",NULL));
else
c->path = g_strdup(g_strconcat("http://",c->domain,"/",NULL));
cookies = g_slist_prepend(cookies, c);
}
cookies = g_slist_reverse(cookies);
return cookies;
}
gint
gtk_moz_embed_common_delete_all_cookies(GSList *deletedCookies)
{
nsCOMPtr<nsIPermissionManager> permissionManager =
do_GetService(NS_PERMISSIONMANAGER_CONTRACTID);
if (!permissionManager)
return 1;
permissionManager->RemoveAll();
if (!deletedCookies)
return 1;
nsCOMPtr<nsICookieManager> cookieManager =
do_GetService(NS_COOKIEMANAGER_CONTRACTID);
if (!cookieManager)
return 1;
cookieManager->RemoveAll();
g_slist_free(deletedCookies);
return 0;//False in GWebStatus means OK, as opposed to gboolean in C
}
unsigned char *
gtk_moz_embed_common_nsx509_to_raw(void *nsIX509Ptr, guint *len)
{
if (!nsIX509Ptr)
return NULL;
unsigned char *data;
((nsIX509Cert*)nsIX509Ptr)->GetRawDER(len, (PRUint8 **)&data);
if (!data)
return NULL;
return data;
}
gint
gtk_moz_embed_common_get_plugins_list(GList **pluginArray)
{
nsresult rv;
nsCOMPtr<nsIPluginManager> pluginMan =
do_GetService(kPluginManagerCID, &rv);
if (NS_FAILED(rv)) {
g_print("Could not get the plugin manager\n");
return -1;
}
pluginMan->ReloadPlugins(PR_TRUE); //FIXME XXX MEMLEAK
nsCOMPtr<nsIPluginHost> pluginHost =
do_GetService(kPluginManagerCID, &rv);
if (NS_FAILED(rv))
return -1;
PRUint32 aLength;
pluginHost->GetPluginCount(&aLength);
if (!pluginArray)
return (gint)aLength;
nsIDOMPlugin **aItems = nsnull;
aItems = new nsIDOMPlugin*[aLength];
if (!aItems)
return -1; //NO MEMORY
rv = pluginHost->GetPlugins(aLength, aItems);
if (NS_FAILED(rv)) {
delete [] aItems;
return -1;
}
nsString string;
for (int plugin_index = 0; plugin_index < (gint) aLength; plugin_index++)
{
GtkMozPlugin *list_item = g_new0(GtkMozPlugin, 1);
UNACCEPTABLE_CRASHY_GLIB_ALLOCATION(list_item);
rv = aItems[plugin_index]->GetName(string);
if (!NS_FAILED(rv))
list_item->title = g_strdup(NS_ConvertUTF16toUTF8(string).get());
aItems[plugin_index]->GetFilename(string);
if (!NS_FAILED(rv))
list_item->path = g_strdup(NS_ConvertUTF16toUTF8(string).get());
nsCOMPtr<nsIDOMMimeType> mimeType;
PRUint32 mime_count = 0;
rv = aItems[plugin_index]->GetLength(&mime_count);
if (NS_FAILED(rv))
continue;
nsString single_mime;
string.SetLength(0);
for (int mime_index = 0; mime_index < mime_count; ++mime_index) {
rv = aItems[plugin_index]->Item(mime_index, getter_AddRefs(mimeType));
if (NS_FAILED(rv))
continue;
rv = mimeType->GetDescription(single_mime);
if (!NS_FAILED(rv)) {
string.Append(single_mime);
string.AppendLiteral(";");
}
}
list_item->type = g_strdup(NS_ConvertUTF16toUTF8(string).get());
if (!NS_FAILED(rv))
*pluginArray = g_list_append(*pluginArray, list_item);
}
delete [] aItems;
return (gint)aLength;
}
void
gtk_moz_embed_common_reload_plugins()
{
nsresult rv;
nsCOMPtr<nsIPluginManager> pluginMan =
do_GetService(kPluginManagerCID, &rv);
pluginMan->ReloadPlugins(PR_TRUE); //FIXME XXX MEMLEAK
}
guint
gtk_moz_embed_common_get_security_mode(guint sec_state)
{
GtkMozEmbedSecurityMode sec_mode;
switch (sec_state) {
case nsIWebProgressListener::STATE_IS_INSECURE:
sec_mode = GTK_MOZ_EMBED_NO_SECURITY;
//g_print("GTK_MOZ_EMBED_NO_SECURITY\n");
break;
case nsIWebProgressListener::STATE_IS_BROKEN:
sec_mode = GTK_MOZ_EMBED_NO_SECURITY;
//g_print("GTK_MOZ_EMBED_NO_SECURITY\n");
break;
case nsIWebProgressListener::STATE_IS_SECURE|
nsIWebProgressListener::STATE_SECURE_HIGH:
sec_mode = GTK_MOZ_EMBED_HIGH_SECURITY;
//g_print("GTK_MOZ_EMBED_HIGH_SECURITY");
break;
case nsIWebProgressListener::STATE_IS_SECURE|
nsIWebProgressListener::STATE_SECURE_MED:
sec_mode = GTK_MOZ_EMBED_MEDIUM_SECURITY;
//g_print("GTK_MOZ_EMBED_MEDIUM_SECURITY\n");
break;
case nsIWebProgressListener::STATE_IS_SECURE|
nsIWebProgressListener::STATE_SECURE_LOW:
sec_mode = GTK_MOZ_EMBED_LOW_SECURITY;
//g_print("GTK_MOZ_EMBED_LOW_SECURITY\n");
break;
default:
sec_mode = GTK_MOZ_EMBED_UNKNOWN_SECURITY;
//g_print("GTK_MOZ_EMBED_UNKNOWN_SECURITY\n");
break;
}
return sec_mode;
}
gint
gtk_moz_embed_common_clear_cache(void)
{
nsCacheStoragePolicy storagePolicy;
nsCOMPtr<nsICacheService> cacheService = do_GetService(NS_CACHESERVICE_CONTRACTID);
if (cacheService)
{
//clean disk cache and memory cache
storagePolicy = nsICache::STORE_ANYWHERE;
cacheService->EvictEntries(storagePolicy);
return 0;
}
return 1;
}
gboolean
gtk_moz_embed_common_observe(const gchar* service_id,
gpointer object,
const gchar* topic,
gunichar* data)
{
nsresult rv;
if (service_id) {
nsCOMPtr<nsISupports> service = do_GetService(service_id, &rv);
NS_ENSURE_SUCCESS(rv, FALSE);
nsCOMPtr<nsIObserver> Observer = do_QueryInterface(service, &rv);
NS_ENSURE_SUCCESS(rv, FALSE);
rv = Observer->Observe((nsISupports*)object, topic, (PRUnichar*)data);
} else {
//This is the correct?
nsCOMPtr<nsIObserverService> obsService =
do_GetService("@mozilla.org/observer-service;1", &rv);
if (obsService)
rv = obsService->NotifyObservers((nsISupports*)object, topic, (PRUnichar*)data);
}
return NS_FAILED(rv) ? FALSE : TRUE;
}

View File

@@ -0,0 +1,209 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 et cindent: */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Christopher Blizzard. Portions created by Christopher Blizzard are Copyright (C) Christopher Blizzard. All Rights Reserved.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Christopher Blizzard <blizzard@mozilla.org>
* Ramiro Estrugo <ramiro@eazel.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef gtkmozembed_common_h
#define gtkmozembed_common_h
#include "gtkmozembed.h"
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#include <stddef.h>
#include <gtk/gtk.h>
#ifdef MOZILLA_CLIENT
#include "nscore.h"
#else // MOZILLA_CLIENT
#ifndef nscore_h__
/* Because this header may be included from files which not part of the mozilla
build system, define macros from nscore.h */
#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)
#define NS_HIDDEN __attribute__((visibility("hidden")))
#else
#define NS_HIDDEN
#endif
#define NS_FROZENCALL
#define NS_EXPORT_(type) type
#define NS_IMPORT_(type) type
#endif // nscore_h__
#endif // MOZILLA_CLIENT
#ifdef XPCOM_GLUE
#define GTKMOZEMBED_API(type, name, params) \
typedef type (NS_FROZENCALL * name##Type) params; \
extern name##Type name NS_HIDDEN;
#else // XPCOM_GLUE
#ifdef _IMPL_GTKMOZEMBED
#define GTKMOZEMBED_API(type, name, params) NS_EXPORT_(type) name params;
#else
#define GTKMOZEMBED_API(type,name, params) NS_IMPORT_(type) name params;
#endif
#endif // XPCOM_GLUE
#define GTK_TYPE_MOZ_EMBED_COMMON (gtk_moz_embed_common_get_type())
#define GTK_MOZ_EMBED_COMMON(obj) GTK_CHECK_CAST((obj), GTK_TYPE_MOZ_EMBED_COMMON, GtkMozEmbedCommon)
#define GTK_MOZ_EMBED_COMMON_CLASS(klass) GTK_CHECK_CLASS_CAST((klass), GTK_TYPE_MOZ_EMBED_COMMON, GtkMozEmbedCommonClass)
#define GTK_IS_MOZ_EMBED_COMMON(obj) GTK_CHECK_TYPE((obj), GTK_TYPE_MOZ_EMBED_COMMON)
#define GTK_IS_MOZ_EMBED_COMMON_CLASS(klass) GTK_CHECK_CLASS_TYPE((klass), GTK_TYPE_MOZ_EMBED_COMMON)
typedef struct _GtkMozEmbedCommon GtkMozEmbedCommon;
typedef struct _GtkMozEmbedCommonClass GtkMozEmbedCommonClass;
struct _GtkMozEmbedCommon
{
GtkBin object;
void *data;
};
struct _GtkMozEmbedCommonClass
{
GtkBinClass parent_class;
gboolean (* certificate_error) (GObject *, GObject*, guint);
gint (* select_login) (GObject *, GList*);
gint (* remember_login) (GObject *);
void (* ask_cookie) (GObject * , gint , const gchar * , const gchar * , const gchar * ,
const gchar *, const gchar * , gboolean , gint , GObject *);
// void (* ask_cookie) (GObject * , gpointer , gint , const gchar * , const gchar * , const gchar * ,
// const gchar *, const gchar * , gboolean , gint , GObject *);
// gint (* modal_dialog) (GObject *, const gchar *, const gchar *, gint, gint, gint, gint);
// gboolean (* certificate_dialog) (GObject * , GObject *);
// void (*certificate_password_dialog) (GObject *, const gchar *, const gchar *, gchar **);
// void (*certificate_details) (GObject *, gpointer );
// gint (*on_submit) (GObject *);
// gint (*select_match) (GObject *, gpointer);
// void (*history_added) (GObject *, const gchar *, GObject*);
};
typedef enum
{
GTK_MOZ_EMBED_CERT_VERIFIED_OK = 0x0000,
GTK_MOZ_EMBED_CERT_UNTRUSTED = 0x0001,
GTK_MOZ_EMBED_CERT_NOT_VERIFIED_UNKNOWN = 0x0002,
GTK_MOZ_EMBED_CERT_EXPIRED = 0x0004,
GTK_MOZ_EMBED_CERT_REVOKED = 0x0008,
GTK_MOZ_EMBED_UNKNOWN_CERT = 0x0010,
GTK_MOZ_EMBED_CERT_ISSUER_UNTRUSTED = 0x0020,
GTK_MOZ_EMBED_CERT_ISSUER_UNKNOWN = 0x0040,
GTK_MOZ_EMBED_CERT_INVALID_CA = 0x0080
} GtkMozEmbedCertificateType;
typedef enum
{
GTK_MOZ_EMBED_LOGIN_REMEMBER_FOR_THIS_SITE,
GTK_MOZ_EMBED_LOGIN_REMEMBER_FOR_THIS_SERVER,
GTK_MOZ_EMBED_LOGIN_NOT_NOW,
GTK_MOZ_EMBED_LOGIN_NEVER_FOR_SITE,
GTK_MOZ_EMBED_LOGIN_NEVER_FOR_SERVER
} GtkMozEmbedLoginType;
/* GTK_MOZ_EMBED_CERT_USAGE_NOT_ALLOWED,
GTK_MOZ_EMBED_CA_CERT,
GTK_MOZ_EMBED_USER_CERT,
GTK_MOZ_EMBED_EMAIL_CERT,
GTK_MOZ_EMBED_SERVER_CERT
*/
/** GtkMozEmbedSecurityMode.
* Enumerates security modes.
*/
typedef enum
{
GTK_MOZ_EMBED_NO_SECURITY = 0,
GTK_MOZ_EMBED_LOW_SECURITY,
GTK_MOZ_EMBED_MEDIUM_SECURITY,
GTK_MOZ_EMBED_HIGH_SECURITY,
GTK_MOZ_EMBED_UNKNOWN_SECURITY
} GtkMozEmbedSecurityMode;
typedef struct _GtkMozCookieList GtkMozCookieList;
struct _GtkMozCookieList
{
gchar *domain; /** < The domain's name */
gchar *name; /** < The cookie's name */
gchar *value; /** < The cookie's value */
gchar *path; /** < The cookie's path */
};
typedef struct _GtkMozEmbedCookie GtkMozEmbedCookie;
struct _GtkMozEmbedCookie
{
gboolean remember_decision;
gboolean accept;
};
/** @struct GtkMozPlugin.
* Defines a Mozilla Plugin.
*/
typedef struct _GtkMozPlugin GtkMozPlugin;
struct _GtkMozPlugin
{
gchar *title; /** < Plugin title */
gchar *path; /** < Plugin path */
gchar *type; /** < Plugin type */
gboolean isDisabled; /** < is plugin enabled */
};
typedef struct _GtkMozLogin GtkMozLogin;
struct _GtkMozLogin
{
const gchar *user; /** < Plugin title */
const gchar *pass; /** < Plugin path */
const gchar *host; /** < Plugin type */
guint index;
};
GTKMOZEMBED_API(GtkType, gtk_moz_embed_common_get_type, (void))
GTKMOZEMBED_API(GtkWidget*, gtk_moz_embed_common_new, (void))
GTKMOZEMBED_API(gboolean, gtk_moz_embed_common_set_pref, (GtkType type, gchar*, gpointer))
GTKMOZEMBED_API(gboolean, gtk_moz_embed_common_get_pref, (GtkType type, gchar*, gpointer))
GTKMOZEMBED_API(gboolean, gtk_moz_embed_common_save_prefs, (void))
GTKMOZEMBED_API(gboolean, gtk_moz_embed_common_login, (GtkWidget *embed, const gchar* username))
GTKMOZEMBED_API(gboolean, gtk_moz_embed_common_remove_passwords, (const gchar *host, const gchar *user, gint index))
GTKMOZEMBED_API(gint, gtk_moz_embed_common_get_logins, (const char* uri, GList **list))
GTKMOZEMBED_API(gint, gtk_moz_embed_common_get_history_list, (GtkMozHistoryItem **GtkHI))
GTKMOZEMBED_API(gint, gtk_moz_embed_common_remove_history, (gchar *url, gint time))
GTKMOZEMBED_API(GSList*, gtk_moz_embed_common_get_cookie_list, (void))
GTKMOZEMBED_API(gint, gtk_moz_embed_common_delete_all_cookies,(GSList *deletedCookies))
GTKMOZEMBED_API(unsigned char*, gtk_moz_embed_common_nsx509_to_raw, (void *nsIX509Ptr, guint *len))
GTKMOZEMBED_API(gint, gtk_moz_embed_common_get_plugins_list, (GList **pluginArray))
GTKMOZEMBED_API(void, gtk_moz_embed_common_reload_plugins, (void))
GTKMOZEMBED_API(guint, gtk_moz_embed_common_get_security_mode, (guint sec_state))
GTKMOZEMBED_API(gint, gtk_moz_embed_common_clear_cache, (void))
GTKMOZEMBED_API(gboolean, gtk_moz_embed_common_observe, (const gchar*, gpointer, const gchar*, gunichar*))
/*typedef struct _GtkMozEmbedCertContext GtkMozEmbedCertContext;
struct _GtkMozEmbedCertContext
{
GObject * cert;
guint message;
GtkWidget *parent;
};*/
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* gtkmozembed_common_h */

View File

@@ -0,0 +1,313 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 tw=80 et cindent: */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Christopher Blizzard. Portions created by Christopher Blizzard are Copyright (C) Christopher Blizzard. All Rights Reserved.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Christopher Blizzard <blizzard@mozilla.org>
* Ramiro Estrugo <ramiro@eazel.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include <stdio.h>
#include "gtkmozembed.h"
#include "gtkmozembed_download.h"
#include "gtkmozembedprivate.h"
#include "gtkmozembed_internal.h"
#include "EmbedPrivate.h"
#include "EmbedWindow.h"
#include "EmbedDownloadMgr.h"
// so we can do our get_nsIWebBrowser later...
#include "nsIWebBrowser.h"
// for strings
#ifdef MOZILLA_INTERNAL_API
#include "nsXPIDLString.h"
#include "nsReadableUtils.h"
#else
#include "nsStringAPI.h"
#endif
#ifdef MOZ_WIDGET_GTK2
#include "gtkmozembedmarshal.h"
#define NEW_TOOLKIT_STRING(x) g_strdup(NS_ConvertUTF16toUTF8(x).get())
#define GET_TOOLKIT_STRING(x) NS_ConvertUTF16toUTF8(x).get()
#define GET_OBJECT_CLASS_TYPE(x) G_OBJECT_CLASS_TYPE(x)
#endif /* MOZ_WIDGET_GTK2 */
#ifdef MOZ_WIDGET_GTK
// so we can get callbacks from the mozarea
#include <gtkmozarea.h>
// so we get the right marshaler for gtk 1.2
#define gtkmozembed_VOID__INT_UINT \
gtk_marshal_NONE__INT_INT
#define gtkmozembed_VOID__STRING_INT_INT \
gtk_marshal_NONE__POINTER_INT_INT
#define gtkmozembed_VOID__STRING_INT_UINT \
gtk_marshal_NONE__POINTER_INT_INT
#define gtkmozembed_VOID__POINTER_INT_POINTER \
gtk_marshal_NONE__POINTER_INT_POINTER
#define gtkmozembed_BOOL__STRING \
gtk_marshal_BOOL__POINTER
#define gtkmozembed_VOID__INT_INT_BOOLEAN \
gtk_marshal_NONE__INT_INT_BOOLEAN
#define G_SIGNAL_TYPE_STATIC_SCOPE 0
#define NEW_TOOLKIT_STRING(x) g_strdup(NS_LossyConvertUTF16toASCII(x).get())
#define GET_TOOLKIT_STRING(x) NS_LossyConvertUTF16toASCII(x).get()
#define GET_OBJECT_CLASS_TYPE(x) (GTK_OBJECT_CLASS(x)->type)
#endif /* MOZ_WIDGET_GTK */
static void gtk_moz_embed_download_set_latest_object(GtkObject *o);
static GtkObject *latest_download_object = nsnull;
// class and instance initialization
guint moz_embed_download_signals[DOWNLOAD_LAST_SIGNAL] = { 0 };
static void gtk_moz_embed_download_class_init(GtkMozEmbedDownloadClass *klass);
static void gtk_moz_embed_download_init(GtkMozEmbedDownload *embed);
static void gtk_moz_embed_download_destroy(GtkObject *object);
GtkObject * gtk_moz_embed_download_new(void);
// GtkObject + class-related functions
GtkType
gtk_moz_embed_download_get_type(void)
{
static GtkType moz_embed_download_type = 0;
if (!moz_embed_download_type)
{
static const GtkTypeInfo moz_embed_download_info =
{
"GtkMozEmbedDownload",
sizeof(GtkMozEmbedDownload),
sizeof(GtkMozEmbedDownloadClass),
(GtkClassInitFunc)gtk_moz_embed_download_class_init,
(GtkObjectInitFunc)gtk_moz_embed_download_init,
0,
0,
0
};
moz_embed_download_type = gtk_type_unique(GTK_TYPE_OBJECT, &moz_embed_download_info);
}
return moz_embed_download_type;
}
static void
gtk_moz_embed_download_class_init(GtkMozEmbedDownloadClass *klass)
{
GtkObjectClass *object_class;
object_class = GTK_OBJECT_CLASS(klass);
object_class->destroy = gtk_moz_embed_download_destroy;
// set up our signals
moz_embed_download_signals[DOWNLOAD_STARTED_SIGNAL] =
gtk_signal_new("started",
GTK_RUN_FIRST,
GET_OBJECT_CLASS_TYPE(klass),
GTK_SIGNAL_OFFSET(GtkMozEmbedDownloadClass, started),
gtk_marshal_NONE__POINTER,
GTK_TYPE_NONE,
1,
G_TYPE_POINTER);
moz_embed_download_signals[DOWNLOAD_COMPLETED_SIGNAL] =
gtk_signal_new("completed",
GTK_RUN_FIRST,
GET_OBJECT_CLASS_TYPE(klass),
GTK_SIGNAL_OFFSET(GtkMozEmbedDownloadClass, completed),
gtk_marshal_NONE__NONE,
GTK_TYPE_NONE, 0);
moz_embed_download_signals[DOWNLOAD_FAILED_SIGNAL] =
gtk_signal_new("error",
GTK_RUN_FIRST,
GET_OBJECT_CLASS_TYPE(klass),
GTK_SIGNAL_OFFSET(GtkMozEmbedDownloadClass, error),
gtk_marshal_NONE__NONE,
GTK_TYPE_NONE, 0);
moz_embed_download_signals[DOWNLOAD_DESTROYED_SIGNAL] =
gtk_signal_new("aborted",
GTK_RUN_FIRST,
GET_OBJECT_CLASS_TYPE(klass),
GTK_SIGNAL_OFFSET(GtkMozEmbedDownloadClass, aborted),
gtk_marshal_NONE__NONE,
GTK_TYPE_NONE, 0);
moz_embed_download_signals[DOWNLOAD_PROGRESS_SIGNAL] =
gtk_signal_new("progress",
GTK_RUN_FIRST,
GET_OBJECT_CLASS_TYPE(klass),
GTK_SIGNAL_OFFSET(GtkMozEmbedDownloadClass, progress),
gtkmozembed_VOID__ULONG_ULONG_ULONG,
GTK_TYPE_NONE,
3,
G_TYPE_ULONG,
G_TYPE_ULONG,
G_TYPE_ULONG);
#ifdef MOZ_WIDGET_GTK
gtk_object_class_add_signals(object_class, moz_embed_download_signals,
DOWNLOAD_LAST_SIGNAL);
#endif /* MOZ_WIDGET_GTK */
}
static void
gtk_moz_embed_download_init(GtkMozEmbedDownload *download)
{
// this is a placeholder for later in case we need to stash data at
// a later data and maintain backwards compatibility.
download->data = nsnull;
EmbedDownload *priv = new EmbedDownload();
download->data = priv;
}
static void
gtk_moz_embed_download_destroy(GtkObject *object)
{
g_return_if_fail(object != NULL);
g_return_if_fail(GTK_IS_MOZ_EMBED_DOWNLOAD(object));
GtkMozEmbedDownload *embed;
EmbedDownload *downloadPrivate;
embed = GTK_MOZ_EMBED_DOWNLOAD(object);
downloadPrivate = (EmbedDownload *)embed->data;
if (downloadPrivate) {
delete downloadPrivate;
embed->data = NULL;
}
}
GtkObject *
gtk_moz_embed_download_new(void)
{
GtkObject *instance = (GtkObject *) gtk_type_new(gtk_moz_embed_download_get_type());
gtk_moz_embed_download_set_latest_object(instance);
return instance;
}
GtkObject *
gtk_moz_embed_download_get_latest_object(void)
{
return latest_download_object;
}
static void
gtk_moz_embed_download_set_latest_object(GtkObject *obj)
{
latest_download_object = obj;
return ;
}
void
gtk_moz_embed_download_do_command(GtkMozEmbedDownload *item, guint command)
{
EmbedDownload *download_priv = (EmbedDownload *) item->data;
if (!download_priv)
return;
if (command == GTK_MOZ_EMBED_DOWNLOAD_CANCEL) {
download_priv->launcher->Cancel(GTK_MOZ_EMBED_STATUS_FAILED_USERCANCELED);
download_priv->launcher->SetWebProgressListener(nsnull);
return;
}
if (command == GTK_MOZ_EMBED_DOWNLOAD_RESUME) {
download_priv->request->Resume();
download_priv->is_paused = FALSE;
return;
}
if (command == GTK_MOZ_EMBED_DOWNLOAD_PAUSE) {
if (download_priv->request) {
download_priv->request->Suspend();
download_priv->is_paused = TRUE;
}
return;
}
if (command == GTK_MOZ_EMBED_DOWNLOAD_RELOAD) {
if (download_priv->gtkMozEmbedParentWidget) {}
}
// FIXME: missing GTK_MOZ_EMBED_DOWNLOAD_STORE and GTK_MOZ_EMBED_DOWNLOAD_RESTORE implementation.
}
gchar*
gtk_moz_embed_download_get_file_name(GtkMozEmbedDownload *item)
{
EmbedDownload *download_priv = (EmbedDownload *) item->data;
if (!download_priv)
return nsnull;
return (gchar *) download_priv->file_name;
}
gchar*
gtk_moz_embed_download_get_url(GtkMozEmbedDownload *item)
{
EmbedDownload *download_priv = (EmbedDownload *) item->data;
if (!download_priv)
return nsnull;
// FIXME : 'server' is storing the wrong value. See EmbedDownloadMgr.cpp l. 189.
return (gchar *) download_priv->server;
}
glong
gtk_moz_embed_download_get_progress(GtkMozEmbedDownload *item)
{
EmbedDownload *download_priv = (EmbedDownload *) item->data;
if (!download_priv)
return -1;
return (glong) download_priv->downloaded_size;
}
glong
gtk_moz_embed_download_get_file_size(GtkMozEmbedDownload *item)
{
EmbedDownload *download_priv = (EmbedDownload *) item->data;
if (!download_priv)
return -1;
return (glong) download_priv->file_size;
}

View File

@@ -0,0 +1,123 @@
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Christopher Blizzard. Portions created by Christopher Blizzard are Copyright (C) Christopher Blizzard. All Rights Reserved.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Christopher Blizzard <blizzard@mozilla.org>
* Ramiro Estrugo <ramiro@eazel.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef gtkmozembed_download_h
#define gtkmozembed_download_h
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#include <stddef.h>
#include <gtk/gtk.h>
#ifdef MOZILLA_CLIENT
#include "nscore.h"
#else // MOZILLA_CLIENT
#ifndef nscore_h__
/* Because this header may be included from files which not part of the mozilla
build system, define macros from nscore.h */
#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)
#define NS_HIDDEN __attribute__((visibility("hidden")))
#else
#define NS_HIDDEN
#endif
#define NS_FROZENCALL
#define NS_EXPORT_(type) type
#define NS_IMPORT_(type) type
#endif // nscore_h__
#endif // MOZILLA_CLIENT
#ifdef XPCOM_GLUE
#define GTKMOZEMBED_API(type, name, params) \
typedef type (NS_FROZENCALL * name##Type) params; \
extern name##Type name NS_HIDDEN;
#else // XPCOM_GLUE
#ifdef _IMPL_GTKMOZEMBED
#define GTKMOZEMBED_API(type, name, params) NS_EXPORT_(type) name params;
#else
#define GTKMOZEMBED_API(type,name, params) NS_IMPORT_(type) name params;
#endif
#endif // XPCOM_GLUE
#define GTK_TYPE_MOZ_EMBED_DOWNLOAD (gtk_moz_embed_download_get_type())
#define GTK_MOZ_EMBED_DOWNLOAD(obj) GTK_CHECK_CAST((obj), GTK_TYPE_MOZ_EMBED_DOWNLOAD, GtkMozEmbedDownload)
#define GTK_MOZ_EMBED_DOWNLOAD_CLASS(klass) GTK_CHECK_CLASS_CAST((klass), GTK_TYPE_MOZ_EMBED_DOWNLOAD, GtkMozEmbedDownloadClass)
#define GTK_IS_MOZ_EMBED_DOWNLOAD(obj) GTK_CHECK_TYPE((obj), GTK_TYPE_MOZ_EMBED_DOWNLOAD)
#define GTK_IS_MOZ_EMBED_DOWNLOAD_CLASS(klass) GTK_CHECK_CLASS_TYPE((klass), GTK_TYPE_MOZ_EMBED_DOWNLOAD)
typedef struct _GtkMozEmbedDownload GtkMozEmbedDownload;
typedef struct _GtkMozEmbedDownloadClass GtkMozEmbedDownloadClass;
struct _GtkMozEmbedDownload
{
GtkObject object;
void *data;
};
struct _GtkMozEmbedDownloadClass
{
GtkObjectClass parent_class;
void (*started) (GtkMozEmbedDownload* item, gchar **file_name_with_path);
void (*completed) (GtkMozEmbedDownload* item);
void (*error) (GtkMozEmbedDownload* item);
void (*aborted) (GtkMozEmbedDownload* item);
void (*progress) (GtkMozEmbedDownload* item, gulong downloaded_bytes, gulong total_bytes, gdouble kbps);
};
typedef enum
{
GTK_MOZ_EMBED_DOWNLOAD_RESUME,
GTK_MOZ_EMBED_DOWNLOAD_CANCEL,
GTK_MOZ_EMBED_DOWNLOAD_PAUSE,
GTK_MOZ_EMBED_DOWNLOAD_RELOAD,
GTK_MOZ_EMBED_DOWNLOAD_STORE,
GTK_MOZ_EMBED_DOWNLOAD_RESTORE
} GtkMozEmbedDownloadActions;
GTKMOZEMBED_API(GtkType, gtk_moz_embed_download_get_type, (void))
GTKMOZEMBED_API(GtkObject *, gtk_moz_embed_download_new, (void))
GTKMOZEMBED_API(GtkObject *, gtk_moz_embed_download_get_latest_object, (void))
GTKMOZEMBED_API(void, gtk_moz_embed_download_do_command, (GtkMozEmbedDownload *item, guint command))
GTKMOZEMBED_API(void, gtk_moz_embed_download_do_command, (GtkMozEmbedDownload *item, guint command))
GTKMOZEMBED_API(void, gtk_moz_embed_download_do_command, (GtkMozEmbedDownload *item, guint command))
GTKMOZEMBED_API(void, gtk_moz_embed_download_do_command, (GtkMozEmbedDownload *item, guint command))
GTKMOZEMBED_API(gchar*, gtk_moz_embed_download_get_file_name, (GtkMozEmbedDownload *item))
GTKMOZEMBED_API(gchar*, gtk_moz_embed_download_get_url, (GtkMozEmbedDownload *item))
GTKMOZEMBED_API(glong, gtk_moz_embed_download_get_progress, (GtkMozEmbedDownload *item))
GTKMOZEMBED_API(glong, gtk_moz_embed_download_get_file_size, (GtkMozEmbedDownload *item))
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* gtkmozembed_download_h */

View File

@@ -0,0 +1,135 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 et cindent: */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla embedding.
*
* The Initial Developer of the Original Code is
* Benjamin Smedberg <benjamin@smedbergs.us>.
*
* Portions created by the Initial Developer are Copyright (C) 2005
* the Mozilla Foundation <http://www.mozilla.org/>. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
// This file is an implementation file, meant to be #included in a
// single C++ file of an embedding application. It is called after
// XPCOMGlueStartup to glue the gtkmozembed functions.
#include "gtkmozembed.h"
#include "gtkmozembed_internal.h"
#ifdef MOZ_WIDGET_GTK2
#include "gtkmozembed_common.h"
#include "gtkmozembed_download.h"
#endif
#include "nsXPCOMGlue.h"
#ifndef XPCOM_GLUE
#error This file only makes sense when XPCOM_GLUE is defined.
#endif
#ifdef MOZ_WIDGET_GTK2
#define GTKMOZEMBED2_FUNCTIONS \
GTKF(gtk_moz_embed_download_get_type) \
GTKF(gtk_moz_embed_download_new) \
GTKF(gtk_moz_embed_common_get_type) \
GTKF(gtk_moz_embed_common_new) \
GTKF(gtk_moz_embed_common_set_pref) \
GTKF(gtk_moz_embed_common_get_pref) \
GTKF(gtk_moz_embed_common_save_prefs) \
GTKF(gtk_moz_embed_common_remove_passwords) \
GTKF(gtk_moz_embed_common_get_history_list) \
GTKF(gtk_moz_embed_get_zoom_level) \
GTKF(gtk_moz_embed_set_zoom_level) \
GTKF(gtk_moz_embed_find_text) \
GTKF(gtk_moz_embed_clipboard) \
GTKF(gtk_moz_embed_notify_plugins) \
GTKF(gtk_moz_embed_get_context_info) \
GTKF(gtk_moz_embed_get_selection) \
GTKF(gtk_moz_embed_get_doc_info) \
GTKF(gtk_moz_embed_insert_text) \
GTKF(gtk_moz_embed_common_nsx509_to_raw) \
GTKF(gtk_moz_embed_common_observe) \
GTKF(gtk_moz_embed_get_shistory_list) \
GTKF(gtk_moz_embed_get_shistory_index) \
GTKF(gtk_moz_embed_shistory_goto_index) \
GTKF(gtk_moz_embed_get_server_cert) \
GTKF(gtk_moz_embed_get_nsIWebBrowser)
#else
#define GTKMOZEMBED2_FUNCTIONS
#endif
#define GTKMOZEMBED_FUNCTIONS \
GTKF(gtk_moz_embed_get_type) \
GTKF(gtk_moz_embed_new) \
GTKF(gtk_moz_embed_push_startup) \
GTKF(gtk_moz_embed_pop_startup) \
GTKF(gtk_moz_embed_set_path) \
GTKF(gtk_moz_embed_set_comp_path) \
GTKF(gtk_moz_embed_set_profile_path) \
GTKF(gtk_moz_embed_load_url) \
GTKF(gtk_moz_embed_stop_load) \
GTKF(gtk_moz_embed_can_go_back) \
GTKF(gtk_moz_embed_can_go_forward) \
GTKF(gtk_moz_embed_go_back) \
GTKF(gtk_moz_embed_go_forward) \
GTKF(gtk_moz_embed_render_data) \
GTKF(gtk_moz_embed_open_stream) \
GTKF(gtk_moz_embed_append_data) \
GTKF(gtk_moz_embed_close_stream) \
GTKF(gtk_moz_embed_get_link_message) \
GTKF(gtk_moz_embed_get_js_status) \
GTKF(gtk_moz_embed_get_title) \
GTKF(gtk_moz_embed_get_location) \
GTKF(gtk_moz_embed_reload) \
GTKF(gtk_moz_embed_set_chrome_mask) \
GTKF(gtk_moz_embed_get_chrome_mask) \
GTKF(gtk_moz_embed_single_get_type) \
GTKF(gtk_moz_embed_single_get) \
GTKMOZEMBED2_FUNCTIONS
#define GTKF(fname) fname##Type fname;
GTKMOZEMBED_FUNCTIONS
#undef GTKF
#define GTKF(fname) { #fname, (NSFuncPtr*) &fname },
static const nsDynamicFunctionLoad GtkSymbols[] = {
GTKMOZEMBED_FUNCTIONS
{ nsnull, nsnull }
};
#undef GTKF
static nsresult
GTKEmbedGlueStartup()
{
return XPCOMGlueLoadXULFunctions(GtkSymbols);
}

View File

@@ -0,0 +1,76 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 et cindent: */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Christopher Blizzard. Portions created by Christopher Blizzard are Copyright (C) Christopher Blizzard. All Rights Reserved.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Christopher Blizzard <blizzard@mozilla.org>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef gtkmozembed_internal_h
#define gtkmozembed_internal_h
#include "nsIWebBrowser.h"
#include "nsXPCOM.h"
#include <stdlib.h>
struct nsModuleComponentInfo;
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
GTKMOZEMBED_API(void,
gtk_moz_embed_get_nsIWebBrowser, (GtkMozEmbed *embed,
nsIWebBrowser **retval))
GTKMOZEMBED_API(PRUnichar*,
gtk_moz_embed_get_title_unichar, (GtkMozEmbed *embed))
GTKMOZEMBED_API(PRUnichar*,
gtk_moz_embed_get_js_status_unichar, (GtkMozEmbed *embed))
GTKMOZEMBED_API(PRUnichar*,
gtk_moz_embed_get_link_message_unichar, (GtkMozEmbed *embed))
GTKMOZEMBED_API(void,
gtk_moz_embed_set_directory_service_provider, (nsIDirectoryServiceProvider *appFileLocProvider))
GTKMOZEMBED_API(void,
gtk_moz_embed_set_app_components, (const nsModuleComponentInfo *aComps,
int aNumComps))
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* gtkmozembed_internal_h */

View File

@@ -0,0 +1,31 @@
BOOL:STRING
BOOL:STRING,STRING
BOOL:STRING,STRING,POINTER
BOOL:STRING,STRING,POINTER,INT
BOOL:STRING,STRING,POINTER,POINTER,STRING,POINTER
BOOL:STRING,STRING,POINTER,STRING,POINTER
BOOL:STRING,STRING,STRING,POINTER
INT:STRING,INT,INT,INT,INT,INT
INT:STRING,STRING,INT,INT,INT,INT
INT:STRING,STRING,UINT,STRING,STRING,STRING,STRING,POINTER
INT:VOID
STRING:STRING,STRING
VOID:BOOL
VOID:INT,INT,BOOL
VOID:INT,STRING
VOID:INT,STRING,STRING
VOID:INT,UINT
VOID:POINTER,INT,POINTER
VOID:POINTER,INT,STRING,STRING,STRING,STRING,STRING,BOOLEAN,INT
VOID:POINTER,STRING,BOOL,BOOL
VOID:STRING,INT,INT
VOID:STRING,INT,UINT
VOID:STRING,STRING
VOID:STRING,STRING,POINTER
VOID:STRING,STRING,STRING,ULONG,INT
VOID:STRING,STRING,STRING,POINTER
VOID:UINT,INT,INT,STRING,STRING,STRING,STRING
VOID:ULONG,ULONG,ULONG
BOOL:POINTER,UINT
VOID:POINTER
BOOL:STRING,STRING,POINTER

View File

@@ -0,0 +1,147 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 et cindent: */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Christopher Blizzard. Portions created by Christopher Blizzard are Copyright (C) Christopher Blizzard. All Rights Reserved.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Christopher Blizzard <blizzard@mozilla.org>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef gtkmozembedprivate_h
#define gtkmozembedprivate_h
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#include "gtkmozembed.h"
/* signals */
enum {
LINK_MESSAGE,
JS_STATUS,
LOCATION,
TITLE,
PROGRESS,
PROGRESS_ALL,
NET_STATE,
NET_STATE_ALL,
NET_START,
NET_STOP,
NEW_WINDOW,
VISIBILITY,
DESTROY_BROWSER,
OPEN_URI,
SIZE_TO,
DOM_KEY_DOWN,
DOM_KEY_PRESS,
DOM_KEY_UP,
DOM_MOUSE_DOWN,
DOM_MOUSE_UP,
DOM_MOUSE_CLICK,
DOM_MOUSE_DBL_CLICK,
DOM_MOUSE_OVER,
DOM_MOUSE_OUT,
SECURITY_CHANGE,
STATUS_CHANGE,
DOM_ACTIVATE,
DOM_FOCUS_IN,
DOM_FOCUS_OUT,
ALERT,
ALERT_CHECK,
CONFIRM,
CONFIRM_CHECK,
CONFIRM_EX,
PROMPT,
PROMPT_AUTH,
SELECT,
DOWNLOAD_REQUEST,
DOM_MOUSE_SCROLL,
DOM_MOUSE_LONG_PRESS,
DOM_FOCUS,
DOM_BLUR,
UPLOAD_DIALOG,
ICON_CHANGED,
MAILTO,
NETWORK_ERROR,
RSS_REQUEST,
EMBED_LAST_SIGNAL
};
// DOM_MOUSE_MOVE,
extern guint moz_embed_signals[EMBED_LAST_SIGNAL];
#if 0
enum {
COMMON_CERT_DIALOG,
COMMON_CERT_PASSWD_DIALOG,
COMMON_CERT_DETAILS_DIALOG,
COMMON_HISTORY_ADDED,
COMMON_ON_SUBMIT_SIGNAL,
COMMON_SELECT_MATCH_SIGNAL,
COMMON_MODAL_DIALOG,
COMMON_LAST_SIGNAL
};
#endif
enum {
COMMON_CERT_ERROR,
COMMON_SELECT_LOGIN,
COMMON_REMEMBER_LOGIN,
COMMON_ASK_COOKIE,
COMMON_LAST_SIGNAL
};
extern guint moz_embed_common_signals[COMMON_LAST_SIGNAL];
enum
{
DOWNLOAD_STARTED_SIGNAL,
DOWNLOAD_STOPPED_SIGNAL,
DOWNLOAD_COMPLETED_SIGNAL,
DOWNLOAD_FAILED_SIGNAL,
DOWNLOAD_DESTROYED_SIGNAL,
DOWNLOAD_PROGRESS_SIGNAL,
DOWNLOAD_LAST_SIGNAL
};
extern guint moz_embed_download_signals[DOWNLOAD_LAST_SIGNAL];
extern void gtk_moz_embed_single_create_window(GtkMozEmbed **aNewEmbed,
guint aChromeFlags);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* gtkmozembedprivate_h */

View File

@@ -0,0 +1,79 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications, Inc.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsISupports.idl"
[scriptable, uuid(CF39C2B0-1E4B-11d5-A549-0010A401EB10)]
/**
* An optional interface for clients wishing to access a
* password object
*
* @status FROZEN
*/
interface nsIPassword : nsISupports {
/**
* the name of the host corresponding to the login being saved
*
* The form of the host depends on how the nsIPassword object was created
*
* - if it was created as a result of submitting a form to a site, then the
* host is the url of the site, as obtained from a call to GetSpec
*
* - if it was created as a result of another app (e.g., mailnews) calling a
* prompt routine such at PromptUsernameAndPassword, then the host is whatever
* arbitrary string the app decided to pass in.
*
* Whatever form it is in, it will be used by the password manager to uniquely
* identify the login realm, so that "newsserver:119" is not the same thing as
* "newsserver".
*/
readonly attribute AUTF8String host;
/**
* the user name portion of the login
*/
readonly attribute AString user;
/**
* the password portion of the login
*/
readonly attribute AString password;
};

View File

@@ -0,0 +1,57 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 et cindent: */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Google Inc.
* Portions created by the Initial Developer are Copyright (C) 2005
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Darin Fisher <darin@meer.net>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsIPassword.idl"
/**
* This interface is supported by password manager entries to expose the
* fieldnames passed to nsIPasswordManagerInternal's addUserFull method.
*/
[scriptable, uuid(2cc35c67-978f-42a9-a958-16e97ad2f4c8)]
interface nsIPasswordInternal : nsIPassword
{
/**
* The name of the field that contained the username.
*/
readonly attribute AString userFieldName;
/**
* The name of the field that contained the password.
*/
readonly attribute AString passwordFieldName;
};

View File

@@ -1,248 +0,0 @@
#
### hostname: bl-bldlnx03.office.mozilla.org
### uname: Linux bl-bldlnx03.office.mozilla.org 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:54:20 EDT 2006 i686 i686 i386 GNU/Linux
##
#
#- tinder-config.pl - Tinderbox configuration file.
#- Uncomment the variables you need to set.
#- The default values are the same as the commented variables.
# $ENV{XPCOM_CC_DO_NOTHING}
#-----------------------------------------------------------------------------
# Default: 0
# Values: 0 | 1
# Purpose: Turn graydon's cycle collector on/off
#$ENV{XPCOM_CC_DO_NOTHING} = 0;
# $ENV{MOZ_PACKAGE_MSI}
#-----------------------------------------------------------------------------
# Default: 0
# Values: 0 | 1
# Purpose: Controls whether a MSI package is made.
# Requires: Windows and a local MakeMSI installation.
#$ENV{MOZ_PACKAGE_MSI} = 0;
# $ENV{MOZ_SYMBOLS_TRANSFER_TYPE}
#-----------------------------------------------------------------------------
# Default: scp
# Values: scp | rsync
# Purpose: Use scp or rsync to transfer symbols to the Talkback server.
# Requires: The selected type requires the command be available both locally
# and on the Talkback server.
#$ENV{MOZ_SYMBOLS_TRANSFER_TYPE} = "scp";
#- PLEASE FILL THIS IN WITH YOUR PROPER EMAIL ADDRESS
#$BuildAdministrator = "$ENV{USER}\@$ENV{HOST}";
#$BuildAdministrator = ($ENV{USER} || "cltbld") . "\@" . ($ENV{HOST} || "dhcp");
#- You'll need to change these to suit your machine's needs
#$DisplayServer = ':0.0';
#- Default values of command-line opts
#-
#$BuildDepend = 1; # Depend or Clobber
#$BuildDebug = 0; # Debug or Opt (Darwin)
#$ReportStatus = 1; # Send results to server, or not
#$ReportFinalStatus = 1; # Finer control over $ReportStatus.
#$UseTimeStamp = 1; # Use the CVS 'pull-by-timestamp' option, or not
#$BuildOnce = 0; # Build once, don't send results to server
$TestOnly = 1; # Only run tests, don't pull/build
#$BuildEmbed = 0; # After building seamonkey, go build embed app.
#$SkipMozilla = 0; # Use to debug post-mozilla.pl scripts.
#$SkipCheckout = 0; # Use to debug build process without checking out new source.
#$BuildLocales = 0; # Do l10n packaging?
# Tests
$CleanProfile = 1;
#$ResetHomeDirForTests = 1;
#$ProductName = "Mozilla";
$VendorName = 'mozilla';
#$RunMozillaTests = 1; # Allow turning off of all tests if needed.
$RegxpcomTest = 1;
$AliveTest = 1;
#$JavaTest = 0;
#$ViewerTest = 0;
#$BloatTest = 0; # warren memory bloat test
#$BloatTest2 = 0; # dbaron memory bloat test, require tracemalloc
#$DomToTextConversionTest = 0;
#$XpcomGlueTest = 0;
$CodesizeTest = 0; # Z, require mozilla/tools/codesighs
$EmbedCodesizeTest = 0; # mZ, require mozilla/tools/codesigns
#$MailBloatTest = 0;
#$EmbedTest = 0; # Assumes you wanted $BuildEmbed=1
$LayoutPerformanceTest = 1; # Tp
$LayoutPerformanceLocalTest = 1; # Tp
$DHTMLPerformanceTest = 1; # Tdhtml
#$QATest = 0;
$XULWindowOpenTest = 1; # Txul
$StartupPerformanceTest = 1; # Ts
$TestsPhoneHome = 1; # Should test report back to server?
$TestOnlyTinderbox = 1;
$DownloadBuildFile = 'firefox-3.0a7pre.en-US.linux-i686.tar.bz2';
$DownloadBuildURL = 'http://stage.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/fx-linux-tbox-trunk';
$DownloadBuildDir = 'firefox';
# If TestOnlyTinderbox is enabled, fetch the latest build info from tinderbox in a
# parseable format
$TinderboxServerURL = 'http://tinderbox.mozilla.org/showbuilds.cgi?tree=Firefox&quickparse=1';
$MatchBuildname = 'Linux fx-linux-tbox Depend Nightly';
$GraphNameOverride = "bl-bldlnx03_fx-linux-tbox-HEAD"; # Override name built from ::hostname() and $BuildTag
# $results_server
#----------------------------------------------------------------------------
# Server on which test results will be accessible. This was originally tegu,
# then became axolotl. Once we moved services from axolotl, it was time
# to give this service its own hostname to make future transitions easier.
# - cmp@mozilla.org
#$results_server = "build-graphs.mozilla.org";
$pageload_server = "spider.office.mozilla.org";
#
# Timeouts, values are in seconds.
#
#$CVSCheckoutTimeout = 3600;
#$CreateProfileTimeout = 45;
#$RegxpcomTestTimeout = 120;
$AliveTestTimeout = 5;
#$ViewerTestTimeout = 45;
#$EmbedTestTimeout = 45;
#$BloatTestTimeout = 120; # seconds
#$MailBloatTestTimeout = 120; # seconds
#$JavaTestTimeout = 45;
#$DomTestTimeout = 45; # seconds
#$XpcomGlueTestTimeout = 15;
#$CodesizeTestTimeout = 900; # seconds
#$CodesizeTestType = "auto"; # {"auto"|"base"}
#$LayoutPerformanceTestTimeout = 1200; # entire test, seconds
#$LayoutPerformanceLocalTestTimeout = 1200; # entire test, seconds
#$DHTMLPerformanceTestTimeout = 1200; # entire test, seconds
#$QATestTimeout = 1200; # entire test, seconds
#$LayoutPerformanceTestPageTimeout = 30000; # each page, ms
#$StartupPerformanceTestTimeout = 15; # seconds
#$XULWindowOpenTestTimeout = 150; # seconds
#$MozConfigFileName = 'mozconfig';
#$UseMozillaProfile = 1;
#$MozProfileName = 'default';
#- Set these to what makes sense for your system
#$Make = 'gmake'; # Must be GNU make
#$MakeOverrides = '';
#$mail = '/bin/mail';
#$CVS = 'cvs -q';
#$CVSCO = 'checkout -P';
# win32 usually doesn't have /bin/mail
#$blat = 'c:/nstools/bin/blat';
#$use_blat = 0;
# Set moz_cvsroot to something like:
# :pserver:$ENV{USER}%netscape.com\@cvs.mozilla.org:/cvsroot
# :pserver:anonymous\@cvs-mirror.mozilla.org:/cvsroot
#
# Note that win32 may not need \@, depends on ' or ".
# :pserver:$ENV{USER}%netscape.com@cvs.mozilla.org:/cvsroot
#$moz_cvsroot = $ENV{CVSROOT};
#- Set these proper values for your tinderbox server
#$Tinderbox_server = 'tinderbox-daemon@tinderbox.mozilla.org';
# Allow for non-client builds, e.g. camino.
#$moz_client_mk = 'client.mk';
#- Set if you want to build in a separate object tree
#$ObjDir = '';
# Extra build name, if needed.
$BuildNameExtra = "fx-linux-tbox perf test";
# User comment, eg. ip address for dhcp builds.
# ex: $UserComment = "ip = 208.12.36.108";
#$UserComment = 0;
#-
#- The rest should not need to be changed
#-
#- Minimum wait period from start of build to start of next build in minutes.
$BuildSleep = 1;
#- Until you get the script working. When it works,
#- change to the tree you're actually building
$BuildTree = 'MozillaExperimental';
$BuildTag = 'HEAD';
#$BuildConfigDir = 'mozilla/config';
#$Topsrcdir = 'mozilla';
$BinaryName = 'firefox-bin';
#
# For embedding app, use:
#$EmbedBinaryName = 'TestGtkEmbed';
#$EmbedDistDir = 'dist/bin'
#$ShellOverride = ''; # Only used if the default shell is too stupid
#$ConfigureArgs = '';
#$ConfigureEnvArgs = '';
#$Compiler = 'gcc';
#$NSPRArgs = '';
#$ShellOverride = '';
# Release build options
#$ReleaseBuild = 1;
#$clean_objdir = 1; # remove objdir when starting release cycle?
#$clean_srcdir = 1; # remove srcdir when starting release cycle?
#$shiptalkback = 1;
#$ReleaseToLatest = 1; # Push the release to latest-<milestone>?
#$ReleaseToDated = 1; # Push the release to YYYY-MM-DD-HH-<milestone>?
#$ReleaseGroup = ''; # group to set uploaded files to
#$build_hour = "8";
#$package_creation_path = "/xpinstall/packager";
# needs setting for mac + talkback: $mac_bundle_path = "/browser/app";
#$ssh_version = "2";
#$ssh_user = "cltbld";
#$ssh_server = "stage.mozilla.org";
#$ftp_path = "/home/ftp/pub/mozilla/nightly/experimental";
#$url_path = "http://ftp.mozilla.org/pub/mozilla.org/mozilla/nightly/experimental";
#$tbox_ftp_path = $ftp_path;
#$tbox_url_path = $url_path;
#$milestone = "trunk";
#$notify_list = "cmp\@mozilla.org";
#$stub_installer = 1;
#$sea_installer = 1;
#$archive = 0;
#$push_raw_xpis = 1;
# Reboot the OS at the end of build-and-test cycle. This is primarily
# intended for Win9x, which can't last more than a few cycles before
# locking up (and testing would be suspect even after a couple of cycles).
# Right now, there is only code to force the reboot for Win9x, so even
# setting this to 1, will not have an effect on other platforms. Setting
# up win9x to automatically logon and begin running tinderbox is left
# as an exercise to the reader.
#$RebootSystem = 0;
# LogCompression specifies the type of compression used on the log file.
# Valid options are 'gzip', and 'bzip2'. Please make sure the binaries
# for 'gzip' or 'bzip2' are in the user's path before setting this
# option.
#$LogCompression = '';
# LogEncoding specifies the encoding format used for the logs. Valid
# options are 'base64', and 'uuencode'. If $LogCompression is set above,
# this needs to be set to 'base64' or 'uuencode' to ensure that the
# binary data is transferred properly.
#$LogEncoding = '';
# Prevent Extension Manager from spawning child processes during tests
# - processes that tbox scripts cannot kill.
#$ENV{NO_EM_RESTART} = '1';

View File

@@ -1,250 +0,0 @@
#
#### hostname: bl-bldxp01.office.mozilla.org
#### uname: CYGWIN_NT-5.1 bl-bldxp01 1.5.19(0.150/4/2) 2006-01-20 13:28 i686 Cygwin
###
#
#- tinder-config.pl - Tinderbox configuration file.
#- Uncomment the variables you need to set.
#- The default values are the same as the commented variables.
# $ENV{XPCOM_CC_DO_NOTHING}
#-----------------------------------------------------------------------------
# Default: 0
# Values: 0 | 1
# Purpose: Turn graydon's cycle collector on/off
#$ENV{XPCOM_CC_DO_NOTHING} = 0;
# $ENV{MOZ_PACKAGE_MSI}
#-----------------------------------------------------------------------------
# Default: 0
# Values: 0 | 1
# Purpose: Controls whether a MSI package is made.
# Requires: Windows and a local MakeMSI installation.
#$ENV{MOZ_PACKAGE_MSI} = 0;
# $ENV{MOZ_SYMBOLS_TRANSFER_TYPE}
#-----------------------------------------------------------------------------
# Default: scp
# Values: scp | rsync
# Purpose: Use scp or rsync to transfer symbols to the Talkback server.
# Requires: The selected type requires the command be available both locally
# and on the Talkback server.
#$ENV{MOZ_SYMBOLS_TRANSFER_TYPE} = "scp";
#- PLEASE FILL THIS IN WITH YOUR PROPER EMAIL ADDRESS
#$BuildAdministrator = "$ENV{USER}\@$ENV{HOST}";
#$BuildAdministrator = ($ENV{USER} || "cltbld") . "\@" . ($ENV{HOST} || "dhcp");
#- You'll need to change these to suit your machine's needs
#$DisplayServer = ':0.0';
#- Default values of command-line opts
#-
#$BuildDepend = 1; # Depend or Clobber
#$BuildDebug = 0; # Debug or Opt (Darwin)
#$ReportStatus = 1; # Send results to server, or not
#$ReportFinalStatus = 1; # Finer control over $ReportStatus.
#$UseTimeStamp = 1; # Use the CVS 'pull-by-timestamp' option, or not
#$BuildOnce = 0; # Build once, don't send results to server
$TestOnly = 1; # Only run tests, don't pull/build
#$BuildEmbed = 0; # After building seamonkey, go build embed app.
#$SkipMozilla = 0; # Use to debug post-mozilla.pl scripts.
#$SkipCheckout = 0; # Use to debug build process without checking out new source.
#$BuildLocales = 0; # Do l10n packaging?
# Tests
$CleanProfile = 1;
#$ResetHomeDirForTests = 1;
#$ProductName = "Mozilla";
$VendorName = 'mozilla';
#$RunMozillaTests = 1; # Allow turning off of all tests if needed.
$RegxpcomTest = 0;
$AliveTest = 1;
#$JavaTest = 0;
#$ViewerTest = 0;
#$BloatTest = 0; # warren memory bloat test
#$BloatTest2 = 0; # dbaron memory bloat test, require tracemalloc
#$DomToTextConversionTest = 0;
#$XpcomGlueTest = 0;
$CodesizeTest = 0; # Z, require mozilla/tools/codesighs
$EmbedCodesizeTest = 0; # mZ, require mozilla/tools/codesigns
#$MailBloatTest = 0;
#$EmbedTest = 0; # Assumes you wanted $BuildEmbed=1
$LayoutPerformanceTest = 1; # Tp
$LayoutPerformanceLocalTest = 1; # Tp2
$DHTMLPerformanceTest = 1; # Tdhtml
#$QATest = 0;
$XULWindowOpenTest = 1; # Txul
$StartupPerformanceTest = 1; # Ts
$TestsPhoneHome = 1; # Should test report back to server?
# If TestOnlyTinderbox is enabled, fetch the latest build info from tinderbox in a
# parseable format
$TinderboxServerURL = 'http://tinderbox.mozilla.org/showbuilds.cgi?tree=MozillaExperimental&quickparse=1';
$MatchBuildname = 'WINNT 5.2 fxnewref-win32- Depend Fx-Newref';
#$GraphNameOverride = 'Fx-Trunk-win32-test1'; # Override name built from ::hostname() and $BuildTag
# $results_server
#----------------------------------------------------------------------------
# Server on which test results will be accessible. This was originally tegu,
# then became axolotl. Once we moved services from axolotl, it was time
# to give this service its own hostname to make future transitions easier.
# - cmp@mozilla.org
#$results_server = "build-graphs.mozilla.org";
$pageload_server = "spider.office.mozilla.org";
#
# Timeouts, values are in seconds.
#
#$CVSCheckoutTimeout = 3600;
#$CreateProfileTimeout = 45;
#$RegxpcomTestTimeout = 120;
$AliveTestTimeout = 45;
#$ViewerTestTimeout = 45;
#$EmbedTestTimeout = 45;
#$BloatTestTimeout = 120; # seconds
#$MailBloatTestTimeout = 120; # seconds
#$JavaTestTimeout = 45;
#$DomTestTimeout = 45; # seconds
#$XpcomGlueTestTimeout = 15;
#$CodesizeTestTimeout = 900; # seconds
#$CodesizeTestType = "auto"; # {"auto"|"base"}
#$LayoutPerformanceTestTimeout = 1200; # entire test, seconds
#$LayoutPerformanceLocalTestTimeout = 1200; # entire test, seconds
#$DHTMLPerformanceTestTimeout = 1200; # entire test, seconds
#$QATestTimeout = 1200; # entire test, seconds
#$LayoutPerformanceTestPageTimeout = 30000; # each page, ms
#$StartupPerformanceTestTimeout = 15; # seconds
#$XULWindowOpenTestTimeout = 150; # seconds
#$MozConfigFileName = 'mozconfig';
#$UseMozillaProfile = 1;
#$MozProfileName = 'default';
#- Set these to what makes sense for your system
#$Make = 'gmake'; # Must be GNU make
#$MakeOverrides = '';
#$mail = '/bin/mail';
#$CVS = 'cvs -q';
#$CVSCO = 'checkout -P';
# win32 usually doesn't have /bin/mail
#$blat = 'c:/nstools/bin/blat';
#$use_blat = 0;
# Set moz_cvsroot to something like:
# :pserver:$ENV{USER}%netscape.com\@cvs.mozilla.org:/cvsroot
# :pserver:anonymous\@cvs-mirror.mozilla.org:/cvsroot
#
# Note that win32 may not need \@, depends on ' or ".
# :pserver:$ENV{USER}%netscape.com@cvs.mozilla.org:/cvsroot
#$moz_cvsroot = $ENV{CVSROOT};
#- Set these proper values for your tinderbox server
#$Tinderbox_server = 'tinderbox-daemon@tinderbox.mozilla.org';
# Allow for non-client builds, e.g. camino.
#$moz_client_mk = 'client.mk';
#- Set if you want to build in a separate object tree
#$ObjDir = '';
# Extra build name, if needed.
$BuildNameExtra = 'fxnewref-win32-tbox perf test';
# User comment, eg. ip address for dhcp builds.
# ex: $UserComment = "ip = 208.12.36.108";
#$UserComment = 0;
#-
#- The rest should not need to be changed
#-
#- Minimum wait period from start of build to start of next build in minutes.
#$BuildSleep = 10;
#- Until you get the script working. When it works,
#- change to the tree you're actually building
$BuildTree = 'Firefox';
$BuildTag = 'HEAD';
#$BuildConfigDir = 'mozilla/config';
#$Topsrcdir = 'mozilla';
$BinaryName = 'firefox.exe';
#
# For embedding app, use:
#$EmbedBinaryName = 'TestGtkEmbed';
#$EmbedDistDir = 'dist/bin'
#$ShellOverride = ''; # Only used if the default shell is too stupid
#$ConfigureArgs = '';
#$ConfigureEnvArgs = '';
#$Compiler = 'gcc';
#$NSPRArgs = '';
#$ShellOverride = '';
# Release build options
#$ReleaseBuild = 1;
#$clean_objdir = 1; # remove objdir when starting release cycle?
#$clean_srcdir = 1; # remove srcdir when starting release cycle?
#$shiptalkback = 1;
#$ReleaseToLatest = 1; # Push the release to latest-<milestone>?
#$ReleaseToDated = 1; # Push the release to YYYY-MM-DD-HH-<milestone>?
#$ReleaseGroup = ''; # group to set uploaded files to
#$build_hour = "8";
#$package_creation_path = "/xpinstall/packager";
# needs setting for mac + talkback: $mac_bundle_path = "/browser/app";
#$ssh_version = "2";
#$ssh_user = "cltbld";
#$ssh_server = "stage.mozilla.org";
#$ftp_path = "/home/ftp/pub/mozilla/nightly/experimental";
#$url_path = "http://ftp.mozilla.org/pub/mozilla.org/mozilla/nightly/experimental";
#$tbox_ftp_path = $ftp_path;
#$tbox_url_path = $url_path;
#$milestone = "trunk";
#$notify_list = "cmp\@mozilla.org";
#$stub_installer = 1;
#$sea_installer = 1;
#$archive = 0;
#$push_raw_xpis = 1;
# Reboot the OS at the end of build-and-test cycle. This is primarily
# intended for Win9x, which can't last more than a few cycles before
# locking up (and testing would be suspect even after a couple of cycles).
# Right now, there is only code to force the reboot for Win9x, so even
# setting this to 1, will not have an effect on other platforms. Setting
# up win9x to automatically logon and begin running tinderbox is left
# as an exercise to the reader.
#$RebootSystem = 0;
# LogCompression specifies the type of compression used on the log file.
# Valid options are 'gzip', and 'bzip2'. Please make sure the binaries
# for 'gzip' or 'bzip2' are in the user's path before setting this
# option.
#$LogCompression = '';
# LogEncoding specifies the encoding format used for the logs. Valid
# options are 'base64', and 'uuencode'. If $LogCompression is set above,
# this needs to be set to 'base64' or 'uuencode' to ensure that the
# binary data is transferred properly.
#$LogEncoding = '';
# Prevent Extension Manager from spawning child processes during tests
# - processes that tbox scripts cannot kill.
#$ENV{NO_EM_RESTART} = '1';
# If tinderbox is running in a test-only mode, it needs to be able to download
# the latest build and unpack it rather than building it.
$TestOnlyTinderbox = 1;
$DownloadBuildFile = 'firefox-3.0a8pre.en-US.win32.zip';
$DownloadBuildURL = 'http://stage.mozilla.org/pub/mozilla.org/firefox/nightly/experimental/win32-newref/hourly-builds/latest-trunk';
$DownloadBuildDir = 'firefox';