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

70 Commits

Author SHA1 Message Date
foudfou
7af80d0119 handle blinking on new messages for twitter accounts
No 'new-directed-incoming-message' event is issued on new messages for twitter
accounts, which seem to be considered chatrooms (instead of private
conversations).
2013-04-07 16:45:17 +02:00
foudfou
1a90dbe179 add support for Zotero app 2013-03-11 16:03:49 +01:00
foudfou
6fb8a15f22 * more accurate startup event detection
* when start_hidden, hide window on first x11.MapNotify instead of hiding all
  windows short after the "startup event".

  This prevents having visibility falsely corrected for windows that are
  displayed after the "startup event", and thus having to click twice on the
  tray icon to actually restore windows.
2013-03-10 21:39:34 +01:00
foudfou
a7c753e5b3 keep long living references to timers 2013-03-10 17:29:32 +01:00
foudfou
245ba3c66c bump to v0.4.5 2013-01-28 10:31:50 +01:00
foudfou
5dce03778d make firetray.Utils.timer() API more readable 2012-12-13 19:34:49 +01:00
foudfou
29de64e51f base the startup event on the first 'before-first-paint'
That lets the windows get well realized before we can hide them
(start_hidden). This is especially true for heavy configurations with numerous
addons (Lightning with multiple remote calendars for instance).
2012-12-13 19:11:58 +01:00
foudfou
c622e61e9d fix start_hidden again.
The wisest seems to let the window get fully realized, before hiding it.
2012-12-10 23:02:05 +01:00
foudfou
f039a3b427 bump version to v0.4.4 2012-11-26 21:38:48 +01:00
foudfou
1ec5ccf950 * fix double Messaging init when toggleNotifications() in pref UI
* fix multiple pref UI bugs due to obsolete ref to "pane1"
2012-09-11 23:53:07 +02:00
foudfou
90cd161f3c fix correctMailNotificationType() 2012-09-07 17:20:38 +02:00
foudfou
126842e5b7 bump version to v0.4.3 2012-09-06 19:21:22 +02:00
foudfou
194894afd4 * convert tabbox/tabpanels to prefpanes (preference UI) (thx Tango for icons!)
* change order of menu items for mail apps
* fix hide chat prefs when non-chat app
2012-09-06 19:07:22 +02:00
foudfou
23975110a5 * isolate Chat from Messaging
* fix icon update when changing icon preferences
* prevent double observer registration
* add keyboard shortcut for debugging preference window
2012-09-06 16:07:52 +02:00
foudfou
d0e2259e96 restrict logging to our addon 2012-09-04 17:48:54 +02:00
foudfou
ae0f41e1e4 Merge branch 'im'
Conflicts:
	src/defaults/preferences/prefs.js
	src/modules/FiretrayHandler.jsm
	src/modules/FiretrayMessaging.jsm
	src/modules/VersionChange.jsm
	src/modules/commons.js
	src/modules/linux/FiretrayStatusIcon.jsm
	src/modules/linux/FiretrayWindow.jsm
2012-09-04 00:25:29 +02:00
foudfou
ebe8ee37ba address comments from last review by Kris Maglione, mainly:
* rename commande line flag '-showHide' to '-firetray-showHide'
* drop use of AddonLogging.jsm in variable F, and use log4moz instead
* do not remove String.prototype.trim

Regarding String.prototype.trim tough, it's unclear why its fallback definition
should be removed: MDN says it was introduced in JavaScript 1.8.1, but it seems
available in 1.7...
2012-09-03 01:51:32 +02:00
foudfou
866bbc1a2e IM icon changes according to IM global status 2012-08-13 12:07:57 +02:00
foudfou
82fae974d1 ctypes libs are tracked by firetray.Handler.
(sub)modules using ctypes libs just need to declare opened libs, which will be
ultimately closed by the Handler. Not only is this fancier, but also useful in
situations where we want to init()/shutdown() modules without closing libs used
by others (ex: IMStatusIcon)
2012-08-07 23:37:32 +02:00
foudfou
ee86eeed16 ignore 'im' server types for now, we'll be handling them later. 2012-08-03 23:52:38 +02:00
foudfou
c608058971 add 'im' to mail server types and have VersionChange hooks applied synchronously
This forces us to hard code the addon version :(
2012-08-03 15:53:36 +02:00
foudfou
de08f67324 * refactor SeniorSpielbergo's work
* keep only one mail trigger on msg count change
* refactor FiretrayMessaging.jsm
* cleaning
2012-05-25 01:18:28 +02:00
foudfou
e679619f19 Merge branch 'themable-icons'
Conflicts:
	src/chrome/content/options.js
	src/chrome/content/options.xul
	src/modules/FiretrayHandler.jsm
	src/modules/commons.js
	src/modules/linux/FiretrayStatusIcon.jsm
2012-04-07 23:06:54 +02:00
foudfou
f5e56dab81 * revert a7516e partly:
* support icedove/iceweasel/iceape (appId's are equivalent with FF, TB, SM)
  * have a nice "F" mandatory wrapper object (instead of the long "firetray")
* fix version anchor on the firetray splash page when opening a tab
2012-03-30 23:20:47 +02:00
foudfou
756367230c periodically clean prefs by removing removed accounts from excludedAccounts 2012-03-20 22:06:19 +01:00
foudfou
175f48661e add themable icon names to options 2012-03-13 12:51:40 +01:00
foudfou
bfb9f30b4a cleaning 2012-03-08 23:52:07 +01:00
foudfou
a7516e379e wrap "loose" variables and functions within a JavaScript object 2012-03-08 22:04:16 +01:00
foudfou
15dace0b32 * add 'message_count_type' option for counting unread or new messages.
* minor change to UI of mail preferences
* split pref 'mail_notification' into 'mail_notification_enabled',
  'mail_notification_type'

previous 'mail_notification' pref will be erased.
2012-02-09 00:03:29 +01:00
foudfou
f45f8f08c3 refactor VersionChange 2012-01-30 21:10:26 +01:00
foudfou
c3b3276348 fix: crash when quitting from popup menu 2012-01-26 11:37:41 +01:00
foudfou
2ee8fc1a91 * begin scroll-event handling on icon
* polish timer definitions
* set FIRETRAY_BROWSER_NEW_WINDOW_DELAY_MILLISECONDS = 0
2012-01-16 23:52:23 +01:00
foudfou
6fc5ff1a05 "Grab the latest iteration of ctypes-utils.jsm" from messagingmenu-extension 2012-01-15 22:47:00 +01:00
foudfou
ec57aa0c8c * fix pref pane (UIOptions)
* addon shutdown (close ctypes libs) on xpcom-will-shutdown
* ctypes libs that import glib also export it so it can be closed later
2012-01-15 20:47:47 +01:00
foudfou
24941550c0 * fix openBrowserWindow() when called from GtkMenuItem
* add openMailMessage() to popup menu
* add start_hidden option
* fix getXWindowDesktop()
2012-01-15 11:10:06 +01:00
foudfou
8786fbf56b * refactoring in FiretrayWindow.jsm
* minor refactoring in options.js
2012-01-07 16:06:10 +01:00
foudfou
90e8d8e852 * fix .xpi packaging
* move ctypes related modules to modules/ctypes/
2012-01-02 18:35:02 +01:00
foudfou
aadf727816 * complete per-window registration and show/hide handeling
* fix storage of Gdk-/GtkWindows pointers (ctypesMap.jsm)
2012-01-01 01:45:48 +01:00
foudfou
02c4f1d769 cleaning 2011-12-16 18:08:18 +01:00
foudfou
f178907781 isolate logging functionality into logging.jsm
LOG, WARN, ERROR still exported by commons.js for convenience
2011-12-14 22:00:01 +01:00
foudfou
b3b6d77c5b another unsuccessful attempt to detect minimize event (failed interpreting
XGetWindowProperty result)
2011-12-11 21:44:39 +01:00
foudfou
cced2289f6 * rename NOTIFICATION_* to FT_NOTIFICATION_* for disambiguation
* declare Cc,Ci,Cu locally instead of exporting them from common.js
  THIS BREAKS THE JS CONSOLE ! (among other things) as of Gecko-8 at least
2011-12-11 05:32:36 +01:00
foudfou
0acd053155 unsuccessful attempt to detect minimize event (XGetWindowProperty)
at this stage:
- we need to take the virtyal workspace into account
- JS console disappeared
2011-12-11 04:46:15 +01:00
foudfou
3c881dbb9d * options: make icon text color a preference
* options: possibility to disable icon notification
2011-11-06 17:42:43 +01:00
foudfou
4646612fae * options: fix Order preference sync
* options: display server types according to Order
* cleaning
2011-11-03 02:51:43 +01:00
foudfou
903f99f006 options: finished interaction btw. mail server types and accounts 2011-11-03 01:32:46 +01:00
foudfou
5ad5b3c3d4 * re-introduce dumpObj() useful for DOM elements
* merge server_types and excluded_accounts into one mail_accounts pref

This is visually more intuitive. So do we use the same tree for both. But we
store them into 2 different "branches" of the corresponding preference
object. We need to keep track of them separately because of account
creation/deletion.
2011-11-02 01:48:41 +01:00
foudfou
4d4c21b9f9 * drop dumpObj() in favour of LOG(JSON.stringify())
* UIoptions: add accounts to server types tree. WORK IN PROGRESS
2011-11-01 01:42:30 +01:00
foudfou
aa9e13a366 refactoring + make server_type a preference 2011-10-29 22:27:55 +02:00
foudfou
69746ffc86 option panel rework (trees...) WORK IN PROGRESS 2011-10-03 10:39:25 +02:00