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

472 Commits

Author SHA1 Message Date
foudfou
5ddf23a59d * fix merge: ChatStatusIcon.stopCrossFading() was defined twice
* fix: ChatStatusIcon.dropPixBuf() at right time
* cleaning
2013-05-30 22:52:01 +02:00
foudfou
9472fe22a2 Merge branch 'cross-fade' into v0.4.6rc2
Conflicts:
	src/modules/FiretrayChat.jsm
	src/modules/linux/FiretrayChatStatusIcon.jsm
2013-05-30 22:22:08 +02:00
foudfou
08bd79a1c9 * add chat_icon_blink, chat_icon_blink_style options
* fix MailChatPrefListener unregistering
* use GDK_INTERP_BILINEAR for gdk_pixbuf_composite
2013-05-10 15:33:50 +02:00
foudfou
c439efb036 Merge branch 'startup' into v0.4.6rc2 2013-05-01 15:45:35 +02:00
foudfou
2e064cae99 use |yield| in addition to nested timers for ChatStatusIcon fading
http://syzygy.st/javascript-coroutines/ is worth mentioning
2013-05-01 15:44:52 +02:00
foudfou
5882e3b9c5 use nested timers to mimic sleep()
thread.processNextEvent() is prohibited in Firefox (though used in
mozmill/util.js). Nested timers are a bit twisted and ugly. Need to check
|yield| and generators: http://unixpapa.com/js/sleep.html, dactyl/base.jsm
(K. Maglione)
2013-04-29 02:10:04 +02:00
foudfou
08828ce825 for Thunderbird, base startup event on the last restored window's map.
Unfortunately there is not equivalent "sessionstore-windows-restored" in TB
yet.  Many events related to windows are issued before windows are fully
realized. "mail-startup-done"/"mail-tabs-session-restored" are issued by *each*
window. "console-api-log-event" is not reliable and can be issued at relatively
early stage on heavy configs. So that the best solution is probably to count
restored windows ourselves...
2013-04-21 14:17:29 +02:00
foudfou
c4c5a3425b address compatibility warnings from AMO
https://addons.mozilla.org/en-US/developers/addon/firetray/file/203468/validation.
Not sure if we should not just drop compatibility...  We should be able to
support back to Gecko 4.0 but ctypes-utils.jsm uses features introduced in 7.0.
2013-04-19 22:09:40 +02:00
foudfou
55bd8ce670 bump version to 0.4.6 2013-04-14 16:07:36 +02:00
foudfou
2c5a99c159 fix start_hidden by hiding only when app not started
base startup event on "sessionstore-windows-restored" and
"console-api-log-event", instead of the first "before-first-paint", reverting
some of 29de64e5
2013-04-14 15:55:20 +02:00
foudfou
31149d40ad bump Zotero version to 4.* 2013-04-08 00:46:38 +02:00
foudfou
d43e992ed4 * use a pool of conversations for handling attention calling
* ignore messages from self (can be sent from other application)
2013-04-08 00:42:51 +02:00
foudfou
837901c301 Merge branch 'twitter-blink' into icon-blink
Conflicts:
	src/modules/FiretrayChat.jsm
2013-04-07 21:50:57 +02:00
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
208db6f906 implement experimental cross-fading for blinking chat icon 2013-04-01 02:58:15 +02:00
foudfou
4360e3f499 cleaning 2013-03-30 14:27:05 +01:00
foudfou
f3a988444e do chat icon blinking ourselves
gtk_status_icon_set_blinking() deprecated deprecated since version 2.22,
removed in GTK+ 3
2013-03-30 12:29:38 +01:00
foudfou
3aca4f64f1 support urgency hint 2013-03-30 01:12:35 +01:00
foudfou
53e3421a51 refactor startIconBlinkingMaybe() 2013-03-28 16:22:28 +01:00
foudfou
6b1bd0cfe6 cleaning 2013-03-21 08:57:17 +01:00
foudfou
8c1ae188b2 don't actually use libfirtray (nor display gtk version)
this would lead to shipping compiled version for multiple platforms...
2013-03-21 01:13:41 +01:00
foudfou
270807380d example of using libfirtray to display gtk version 2013-03-21 01:09:08 +01:00
foudfou
d91bfd1259 fix negative message count bug 2013-03-21 00:33:09 +01:00
foudfou
2b2812aee6 cleaning 2013-03-16 16:04:07 +01:00
foudfou
1765258679 cleaning 2013-03-11 17:02:07 +01:00
foudfou
1a90dbe179 add support for Zotero app 2013-03-11 16:03:49 +01:00
foudfou
bd83ca9304 * display popup menu window items for all application, not only browsers
* cleaning
2013-03-10 22:21:02 +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
4b01f24e94 add '-debug' to build dirname when applicable 2013-03-10 20:51:26 +01:00
foudfou
a7c753e5b3 keep long living references to timers 2013-03-10 17:29:32 +01:00
foudfou
b8b3b838cb add git rev to build dirname 2013-03-10 16:31:42 +01:00
foudfou
18c35bdf81 added locale sk-SK. thx Slavko slavino.sk 2013-02-22 23:58:11 +01:00
foudfou
2bbab71230 fix options' filepickers (#82)
Not sure as why the filepicker callback passed to |open()| is working in all
Mozilla's code without having an explicite |done| method...
2013-02-10 21:52:53 +01:00
foudfou
730a67939c slpash page when version change is now release-notes 2013-01-28 10:49:08 +01:00
foudfou
245ba3c66c bump to v0.4.5 2013-01-28 10:31:50 +01:00
foudfou
d77724d46b yet another attempt to fix restore maximized window. This is tricky because it
can break restore minimized (hides_on_minimize off)
2013-01-16 23:48:25 +01:00
foudfou
601554a63f oops, forgot FiretrayHandler.jsm in nsISupportsArray replaced by nsIArray 2012-12-30 22:47:43 +01:00
foudfou
6441cef235 nsISupportsArray replaced by nsIArray (Bug 820377) 2012-12-30 22:43:42 +01:00
foudfou
2215aa43d1 address v0.4.4 reviewer comments about namespace pollution 2012-12-20 13:38:38 +01:00
foudfou
6c4d21d4b3 attempt to fix restore maximized window 2012-12-20 13:36:24 +01:00
foudfou
c66d226f78 update README 2012-12-14 10:40:38 +01:00
foudfou
7d0a22364c add -firetrayPresent command-line switch 2012-12-13 19:55:30 +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
e312714c73 fix hidePrefPane() 2012-11-16 17:38:20 +01:00
foudfou
d17bcf9721 use filePicker.open() instead of deprecated show() - see Bug 731307 2012-11-09 13:26:48 +01:00
foudfou
4ff8e81d90 rename content logger to avoid collisions 2012-11-09 13:07:18 +01:00
foudfou
630b36b05e Merge branch 'gtk-version' 2012-10-19 22:11:46 +02:00