Commit graph

1603 commits

Author SHA1 Message Date
Lorenz Hübschle-Schneider
f633993a93 Merge pull request #797 from torhve/syncfix
handlers: check for active buffer
2016-07-30 14:37:59 +02:00
Tor Hveem
03f8f2c511
electron: track window state (bounds, x, y) 2016-07-30 14:12:57 +02:00
Tor Hveem
f4257c35c3
handlers: check for active buffer
Check for active buffer before syncing unreads from WeeChat
2016-07-30 14:10:02 +02:00
Lorenz Hübschle-Schneider
afe03fd9ea Merge pull request #796 from torhve/resync
Periodic hotlist sync. Fixes #692
2016-07-29 14:34:47 +02:00
Tor Hveem
a527428763
Periodic hotlist sync. Fixes #692
There is a bug in WeeChat when hdata is null, which happens when the
hotlist is empty (meaning all buffers are read). Our websocket callback
machinery expects every command with id to return data, so this code in
current versions of WeeChat will lead to a slow leak. But I think lots
of things in our code will do this already so I'm not entirely sure it's
too problematic to let this patch go by.

We could use infolists instead of hdata, but that is cumbersome to parse
and less performant for WeeChat, and sends more data over the wire.

I propose we make a separate attempt at cleaning up the callbacks. Since
we store time on them we could have a cleanuptask that looks through
them and deletes old callbacks. Maybe @dcormier could have a look?
2016-07-29 14:12:46 +02:00
Tor Hveem
bc117aa8ce Merge pull request #792 from pmelanson/789-weechat-time-format
789 weechat time format
2016-07-28 14:29:28 +02:00
Ninjex
4971baefec Update plugin.js (#795)
The Asciinema cast plugin regex was faulty. Casts can have /[a-z]/ characters, not only digits /\d)
Here is a test cast for you to run: https://asciinema.org/a/29qfl1dwsgd25o91nfv3dvvbn

(squashed two commits --@lorenzhs)
2016-07-28 12:52:18 +02:00
Patrick Melanson
ce7715c794 Removed show timestamp [seconds] settings
Functionality is now replaced by changing
weechat's buffer_time_format. e.g. 24h time:
/set weechat.look.buffer_time_format %H:%M

Supported time formats are 12h and 24h,
with seconds or no seconds.
2016-07-20 14:12:20 -04:00
Patrick Melanson
ac2966ff0b Base our time format off of weechat's config 2016-07-20 11:57:20 -04:00
Patrick Melanson
37ba46d379 Extended fetchConfValue with callbacks 2016-07-20 11:57:13 -04:00
Lorenz Hübschle-Schneider
6149aa8a07 Merge pull request #783 from pmelanson/782-timestamp-locale
Bufferline timestamps now try to detect locale
2016-07-12 09:34:15 +02:00
Lorenz Hübschle-Schneider
3524f185c2 Merge pull request #764 from Bakke/electron
Electron (Atom-Shell) support
2016-07-11 15:58:35 +02:00
Tor Hveem
863298a0eb Merge pull request #785 from glowing-bear/gist-trailing-slash
Gist plugin: ignore trailing slashes and anchors
2016-07-08 14:12:09 +02:00
Lorenz Hübschle-Schneider
1d6cbcb0e8 Merge pull request #786 from Gibstick/fix-bracket-nickcomplete
fix nick completion within brackets #781
2016-06-26 13:34:46 +02:00
Charlie Wang
fbb27cfb61 fix nick completion within brackets #781 2016-06-25 10:17:48 -04:00
Lorenz Hübschle-Schneider
bfb5af68b4 Gist plugin: ignore trailing slashes and anchors
Supersedes #783
2016-06-25 14:40:24 +02:00
Patrick Melanson
a0485b5801 Bufferline timestamps now try to detect locale 2016-06-18 11:51:51 -04:00
Tor Hveem
a3a05983fc Merge pull request #780 from vrutkovs/bootstrap
Update Bootstrap to 3.3.6
2016-05-23 11:39:11 +02:00
Vadim Rutkovsky
2232b537e1 Update Bootstrap to 3.3.6 2016-05-23 11:23:15 +02:00
Magnus Hauge Bakke
d683ae0c66 Merge pull request #2 from torhve/electron
Bump to electron 1.0
2016-05-18 07:31:00 +02:00
Lorenz Hübschle-Schneider
f7767cde73 Merge pull request #775 from vrutkovs/master
dark-spacious.css: use tr.bufferline to add spacing to the line instead of just message's td
2016-05-13 22:21:41 +02:00
Vadim Rutkovsky
1047f23691 dark-spacious.css: use tr.bufferline to add spacing to the line instead of just message's td 2016-05-13 12:37:06 +02:00
Tor Hveem
af15a00828
Bump to electron 1.0 2016-05-11 11:39:22 +02:00
Lorenz Hübschle-Schneider
2add0e66d2 Add dark-spacious theme to theme list 2016-04-22 16:40:43 +02:00
Tri Nguyen
8aa44c0d41 more readable messages with increased line-height (#769)
dark-spacious theme with more readable messages (increased line-height)
2016-04-22 16:39:23 +02:00
Lorenz Hübschle-Schneider
a4d0b4261b Merge pull request #773 from pelmers/ppp
Add a pastebin plugin
2016-04-22 09:18:20 +02:00
Peter Elmers
05f5629ba7 Please linter 2016-04-21 19:13:27 -05:00
Peter Elmers
0b98f4c8f6 Write a test 2016-04-21 18:42:38 -05:00
Peter Elmers
fa992e2fa5 Add a pastebin plugin 2016-04-21 18:37:51 -05:00
Lorenz Hübschle-Schneider
ddbca476b8 Merge pull request #772 from torhve/keyfix
Fix alt-< keybinding
2016-04-20 13:13:36 +02:00
Tor Hveem
dcc0f19fc5 Fix alt-< keybinding 2016-04-20 12:13:47 +02:00
Magnus Hauge Bakke
60a6111671 Update to electron 0.37.6 2016-04-19 10:23:59 +02:00
Tor Hveem
a08452548e Merge pull request #770 from glowing-bear/connectionlock
Add a lock on the connection
2016-04-13 17:33:26 +02:00
Lorenz Hübschle-Schneider
1edba41c4c Add a lock on the connection
This should fix #610 but needs more testing
2016-04-10 11:54:02 +02:00
Lorenz Hübschle-Schneider
88036119d6 Merge pull request #768 from tnguyen14/master
Make the settings close button more visible for dark themes
2016-04-10 11:01:14 +02:00
Tri Nguyen
3d1f49dfde Make the settings close button more visible for dark themes 2016-04-08 16:53:35 -04:00
Lorenz Hübschle-Schneider
6d3ef2f86b Merge pull request #767 from Bakke/buffer-search-improved
Use arrow keys to select buffer in buffer search
2016-04-08 13:39:26 +02:00
Magnus Hauge Bakke
2d6df2fffd Make number check for windows bagde future-proof 2016-04-06 13:14:39 +02:00
Magnus Hauge Bakke
7aad726269 Do not set dot badge for windows app 2016-04-06 10:29:28 +02:00
Magnus Hauge Bakke
bbb4d259be Use arrow keys to select buffer in buffer search 2016-04-06 09:20:23 +02:00
Magnus Hauge Bakke
570f293399 Update app unread badge to dot instead of punctuation 2016-04-06 09:15:21 +02:00
Magnus Hauge Bakke
08f6ec0f05 Make sed commands in makefile compatible with os x again 2016-04-03 19:45:29 +02:00
Magnus Hauge Bakke
ea0dc4805d Make sed commands in makefile compatible with os x 2016-04-03 17:07:20 +02:00
Magnus Hauge Bakke
eec07e7767 Add electron-packager as dev dependency + whitespace fix 2016-04-03 17:06:29 +02:00
Tor Hveem
85755b98d3 Merge pull request #766 from glowing-bear/katex
Switch math rendering to KaTeX
2016-04-03 15:39:44 +02:00
Lorenz Hübschle-Schneider
b8854a287a Switch math rendering to KaTeX 2016-04-03 15:26:14 +02:00
Tor Hveem
012189635c Include note about Electron in README 2016-04-03 14:06:28 +02:00
Tor Hveem
cf255756ae use new global to check for electron 2016-04-03 13:52:35 +02:00
Tor Hveem
382a5dc5c0 handle focus event, fix whitespace 2016-04-03 13:47:38 +02:00
Tor Hveem
1d52986bc6 use overlayicon on win32 2016-04-03 13:43:27 +02:00