1
0
mirror of https://github.com/moparisthebest/FireTray synced 2024-08-13 15:53:47 -04:00
Commit Graph

62 Commits

Author SHA1 Message Date
foudfou
2c25e98d9a remove mail server type definition checks 2011-09-27 01:47:20 +02:00
foudfou
10e8bb01cf fix mail server sorting 2011-09-27 01:46:45 +02:00
foudfou
1aa9e809de add chatzilla icon for standalone chatzilla support (not tested yet) 2011-09-27 01:22:16 +02:00
foudfou
f8a66ac2a5 minor refactoring for mail server types 2011-09-27 01:21:30 +02:00
foudfou
4acc9bcefc add order to mail server types 2011-09-27 00:55:13 +02:00
foudfou
9f324d18ff * add QueryInterfaces() helper
* add roadmap details in TODO
2011-09-26 10:02:51 +02:00
foudfou
1fff179304 dropped (planned) support for:
* Sunbird ("[Sunbird 1.0 beta1] is the last public Sunbird release by the
  Calendar Project. We recommend upgrading to [...] Lightening 1.0")
* Songbird (Linux support dropped since 2010:
  http://blog.songbirdnest.com/2010/04/02/songbird-singing-a-new-tune/)
2011-09-24 13:47:49 +02:00
foudfou
ad680a6477 fix options' UI 2011-09-24 13:15:38 +02:00
foudfou
d3b07c348d FireTray v0.4.0a2 2011-09-24 12:00:31 +02:00
foudfou
92e5a49a77 v0.1.2 2011-09-23 17:02:07 +02:00
foudfou
dccc716af3 sort mail servers in accounts_to_exclude option 2011-09-23 16:18:44 +02:00
foudfou
3d0aaae494 drop overly complicated exludeCondition for Accounts iterator 2011-09-23 00:47:48 +02:00
foudfou
acbbff4f7b refactoring: use Accounts iterator 2011-09-23 00:41:02 +02:00
foudfou
33fd0b47f7 add pref to exclude mail servers from checking 2011-09-22 20:13:43 +02:00
foudfou
fcab487297 added _getGdkWindowFromGtkWindow() and illustration code 2011-09-21 11:52:14 +02:00
foudfou
ee9a0b6089 first attempt to get a window handle (GdkWindow*) from a nsIDOMWindow.
Elegant solution lifted from Nils Maier (MiniTrayR).
We need now to work on GdkWindows (instead of GtkWindows) to be able to
gdk_window_add_filter().
2011-09-20 17:44:12 +02:00
foudfou
a02129828c cleaning 2011-09-20 10:43:02 +02:00
foudfou
835f4055aa fix gdk get visual depth 2011-09-20 09:58:15 +02:00
foudfou
bb048d490c v0.1.1 2011-09-19 18:35:53 +02:00
foudfou
0ccfb11cfc finish text icon implementation for displaying unread messages count in mail
applications
2011-09-19 18:33:45 +02:00
foudfou
74f9cf7da3 * replace Components.utils.reportError() with ERROR()
* prepare implementation of text icon
* prepare support of other Mozilla apps (Seamonkey)
2011-09-13 22:08:06 +02:00
foudfou
b62cdf9b78 continue implementation for text icon 2011-09-10 01:47:26 +02:00
foudfou
6737a670e5 convert lib declarations to use ctypes-utils.jsm (Chris Coulson)
grabbed from Mike Conley's messagingmenu extension
2011-09-10 01:03:35 +02:00
foudfou
d31f927830 begin implementation for text icon 2011-09-09 22:15:48 +02:00
foudfou
581036156b skip non-mail accounts for msg count 2011-09-08 11:33:34 +02:00
foudfou
0afe494dbf really fix icon path (xpi needs to be unpacked) 2011-09-08 01:49:33 +02:00
foudfou
11a238f21b fix icon path (retrieved from chrome-registery) 2011-09-08 00:55:34 +02:00
foudfou
25644e0a88 * rewrite LibGtkStatusIcon.jsm with XPCOMUtils (will need to watch for
xpcom-shutdown for closing libs !)
* icon handling moved to MoztIconLinux.jsm
* tray icon changes (icon+tooltip) according to unreadMsgCount
* strings (localization) provided by commons.js
2011-09-07 23:50:18 +02:00
foudfou
7ee2fddddd cleaning 2011-09-07 17:55:11 +02:00
foudfou
8986ca9cf7 add unread messages counting facility (messaging-related) 2011-09-07 16:24:14 +02:00
foudfou
8ab870aadb * add Quit functionallity to item in popupMenu
* fix Makefile for stripping LOG() calls
2011-09-03 01:07:14 +02:00
foudfou
4d19bb51d3 * dropped mozt.Debug in favour of AddonLogging.jsm
* start l10n
2011-09-02 22:41:03 +02:00
foudfou
7c30cd4714 cleaning 2011-08-29 02:42:37 +02:00
foudfou
b3835a7c8b add popup menu to tray icon (work in progress) 2011-08-29 02:40:14 +02:00
foudfou
f5b279298e * refactor handeling of 'close_hides': eventListeners("close") never removed
from windows. Pros: reads much simpler. Cons: unnecessary eventListeners (but
  not harmful either).
* experimental kb shortcut for hiding all windows (whatever the value of
  'close_hises')
* bumped to version 8.* (FF, TB)
2011-08-28 03:37:19 +02:00
foudfou
18e555d10d attempt to stabilize options' behaviour ('close_hides' for now)
Damn js refs ! Anyway, almost there... still have to get around the "about
closing multiple tabs"
2011-08-27 21:52:19 +02:00
foudfou
c7a89df4f0 add new icons 2011-08-27 19:52:01 +02:00
foudfou
5021a9bd31 cleaning 2011-08-27 17:40:27 +02:00
foudfou
e76f9bd4e6 correct libgtk-x11 name 2011-08-17 23:42:04 +02:00
foudfou
6e2ce65512 * remember and correct window positions when hiding/showing
* fix: prevent multiple handler/icon creations
* closing a window hides all windows
* add option for 'close_hides' (work in progress)
2011-08-15 22:39:25 +02:00
foudfou
46e0e2c5b6 * minimal platform check (work in progress)
* best practice try: remove event listeners
* minor refactoring
2011-08-14 15:38:20 +02:00
foudfou
ef190af251 singleton tray icon handler (avoid creation of multiple icons when new windows
created)

https://developer.mozilla.org/en/Using_JavaScript_code_modules
http://stackoverflow.com/questions/2275882/setting-a-preference-at-startup-in-firefox/2276772#2276772
2011-08-08 04:32:52 +02:00
foudfou
98ee40353e use Services.jsm and renamed modules to .jsm 2011-08-08 03:41:18 +02:00
foudfou
8e4e14c8f6 Merge branch 'hide'
Conflicts:
	src/chrome/content/overlay.js
	src/modules/LibGtkStatusIcon.js
2011-08-03 15:56:06 +02:00
foudfou
890c4579c3 Revert "new version of LibGtkStatusIcon.js with XPCOMUtils.defineLazyGetter()"
This reverts commit d85edced00.

First, it'll be easier to merge with hide/show feature. Then we prefer to keep
2 examples of js-ctypes libs: we still aren't clear about when/how to call
lib.close()...
2011-08-03 15:48:56 +02:00
foudfou
e9321f534b * enable show/hide from tray icon ! thx Neil !!
* fix Makefile
* use closures for GCallback_t

BUG: windows aren't restored at the same position, or with the same z-order
https://developer.mozilla.org/en/nsIWindowMediator#getZOrderXULWindowEnumerator%28%29

BUG: new window creates a new tray icon
2011-07-25 02:27:30 +02:00
foudfou
7a614a38a3 define GtkWidget struct with a 'parent' pointer pointer to itself - thx Benjamin Smedberg 2011-07-18 22:29:41 +02:00
foudfou
f2245d1ca0 * add LibC for logging to stderr
* try different approaches for hiding windows:
  - gather toplevel windows from nsIWindowMediator, but then unable to get
    NativeParentWindow (GdkWindow) in order to apply gdk_window_hide - damn it !
  - gather toplevel GdkWindows, but don't know exactly how to find out which
    belong to the application...
  - gather toplevel GtkWindows, but seem to get too many windows from
    gtk_window_list_toplevels()...
* problems understanding js-ctypes:
  - arguments passed to callbacks (see FunctionType), for ex: implementation of
    GFunc
  - definition of recursive structures, for ex: GtkWidget
2011-07-18 00:58:03 +02:00
foudfou
1b68487af8 add debug() facility to print to terminal stderr 2011-07-13 01:23:58 +02:00
foudfou
d85edced00 new version of LibGtkStatusIcon.js with XPCOMUtils.defineLazyGetter() 2011-07-11 18:59:12 +02:00