Jeremy Mahieu
fdb24447c4
Missing semicolon
6 years ago
Jeremy Mahieu
60f834882a
Remove nicklist when weechat clears it and bring is back if it's filled again
6 years ago
Lorenz Hübschle-Schneider
263c5e8b00
Keep track of unread counts for servers' buffers for 'show only unread' view
...
Maintain unread info for all buffers belonging to a server. This info
is used to hide server buffers for which *no* associated buffer has
activity when 'Only show buffers with unread messages' is enabled.
Closes #1019
7 years ago
Lorenz Hübschle-Schneider
813fe93355
Don't put hidden angle brackets around actions and other non-messages
...
Fixes #616
7 years ago
Kasper Vaessen
f9e84f81ee
Implement repeated-prefix
9 years ago
Kasper Vaessen
216da6fdab
Nick list colors now also work without background color
9 years ago
Kasper Vaessen
55b4c6254b
Fixed nicks with background colours breaking in nicklist
9 years ago
Tor Hveem
65b4aaa97d
Ability to pin buffers. Fixes #778 .
...
This introduces ability to pin buffers using localvar storage in
WeeChat. At a later stage some UI should be introduced for this, like
discussed in #604 .
9 years ago
Jake Stevenson
bc72e8952c
Able to resume buffer
9 years ago
Patrick Melanson
ac2966ff0b
Base our time format off of weechat's config
9 years ago
Patrick Melanson
a0485b5801
Bufferline timestamps now try to detect locale
9 years ago
Tor Hveem
c9dbdc39e4
fetch weechat configuration variables
...
Usage: fetchConfValue('weechat.look.buffer_time_format')
will result in models.wconfig['weechat.look.buffer_time_format'] to be
set when the result returns from WeeChat.
Could maybe be extended to also call a callback when it's available if
needed.
10 years ago
Lorenz Hübschle-Schneider
ceceac78a2
Use buffer localvars instead of regex hackery
...
Fixes #589
10 years ago
Mukunda Modell
3b60f992b4
Switch to adjacent buffer with alt+arrow
...
Use alt+up and alt+down to switch to previous / next buffer.
Works when bufferlist is nested or flat.
This implements issue #511 .
10 years ago
Lorenz Hübschle-Schneider
507a39f68f
Don't show date change message for free buffers
...
This requires requesting the buffer type and handling the
apropriate event
10 years ago
Angus Gibson
117d9991ec
Handle hidden weechat buffers
...
This adds a new 'hidden' field to the Buffer model, which stays in sync
with weechat's notion of hidden buffers.
10 years ago
Tor Hveem
1f89a0ef0b
Use new version check
10 years ago
Tor Hveem
ec877ab224
Switch to buffer after issuing /query. Fixes #318
...
Save outgoing /query nicks to a list and then check that list when we
get a buffer title rename and then switch to the buffer if the name
matches any nick in the outgoing list. Reason to use title event instead
of buffer opened event is that buffer open event doesn't contain the
short name. That would require parsing and guessing full names and in
general be more complicated (but maybe more correct)
This patch can be further improved in the future to check for existing
buffers and switch to them if they already exist.
10 years ago
Tor Hveem
97b937f015
Use correct pointer string
10 years ago
Lorenz Hübschle-Schneider
78b33798c6
Fix commands for buffers whose fullname contain whitespace
...
Use pointers if Weechat version is recent enough (1.0+).
Otherwise, not marking stuff as read is probably the lesser evil than crashing weechat...
10 years ago
Tor Hveem
c71ce1b404
Use new command for "syncing" hotlist.
...
This patch also implements parsing version message and using that to
check that the WeeChat is new enough to use the new command.
10 years ago
Tor Hveem
99f396b652
Check that nicklist exists before updating.
10 years ago
Tor Hveem
7f82a24b91
Check that nicklist exists before updating.
10 years ago
Lorenz Hübschle-Schneider
1d4caa91cd
Parse colours in buffer title
...
Requires a WeeChat version including 013165209a
i.e., WeeChat 1.1 or a November 2014 nightly (or later)
(for previous versions, see https://github.com/weechat/weechat/issues/237 )
Fixes #308
11 years ago
Lorenz Hübschle-Schneider
d783d0e91b
Fix display of buffers without a short_name
11 years ago
Lorenz Hübschle-Schneider
9b7a778186
Fix non-#channels and single-symbol channels (#)
11 years ago
Lorenz Hübschle-Schneider
cd124cf5ff
Fix escaping in regex parsing buffer fullName
11 years ago
Lorenz Hübschle-Schneider
2475ad2c61
Bufferlist design attempt
11 years ago
Lorenz Hübschle-Schneider
a80db339f8
Use strict
...
Requires turning IrcUtils into an Angular service, because the global variable
trick won't work with use strict.
Reuse is still easily possible by removing the angular wrapping around it.
11 years ago
Lorenz Hübschle-Schneider
edb34144c7
Move current line into history when pressing down in input bar
11 years ago
Lorenz Hübschle-Schneider
a2073d893e
Fix buffer closing
...
0cbf5fc4 uncovered an old bug
Thanks for noticing, @torhve
11 years ago
Lorenz Hübschle-Schneider
abfa26d6ed
Clean up buffer model a bit
...
* use type local variable to determine whether to indent
* local_variables is not used, don't export/save it
11 years ago
Tor Hveem
f21cf4c046
Support clearing of buffer lines with command /c or /clear
11 years ago
Lorenz Hübschle-Schneider
36a35628e2
Fix bug where updateNickSpeak would fail on lines without a prefix
11 years ago
Tor Hveem
921e28d0e2
Remove the old and now unused flat nicklist
11 years ago
Tor Hveem
4e08a52f25
Use recent speaker instead of alphabetical nick tab complete
...
Use _ for sorting.
Fix jshint problems and naming things.
Fix comments
11 years ago
Lorenz Hübschle-Schneider
5e19ffd614
Ignore nicklist updates for buffers without a nicklist
11 years ago
Lorenz Hübschle-Schneider
203680ff58
Try to fetch all unread lines if that is a reasonable amount
...
Partially fixes #139 in that it tries to accomplish this, but until we can request
only non-filtered lines from WeeChat, the best thing we can do is guessing.
11 years ago
Lorenz Hübschle-Schneider
730c7dab8d
Load lines before nicklist
...
Nicklist is not nearly as important as the actual lines, load them first for better perceived performance. Parsing the nicklist can take a noticeable amount of time for channels with thousands of occupants.
This also improves/fixes the nicklist emptiness check
11 years ago
Lorenz Hübschle-Schneider
739c4de0ef
Add a isNicklistEmpty method to buffer model, speed up nicklist decision
...
Flattening the nicklist is really unnecessary. This method is 10x faster for short
nicklists, and much faster for buffers with lots of users.
11 years ago
Tor Hveem
bebc1c7bce
Remove duplicate bufferlist storage. Only use object
12 years ago
David Cormier
b09e328463
Reinitialize context when relay closes connection
...
Fixes #73
12 years ago
Lorenz Hübschle-Schneider
c5e548c8ab
Correctly set message text
...
There might be multiple parts to each message, e.g. if a plugin colourises
some parts of a message.
12 years ago
Tor Hveem
2452858853
Fix globals. Fix init
12 years ago
Tor Hveem
2aa1e02bea
New keybinding: Alt-< to switch to previous buffer. Same key as WeeChat
12 years ago
Lorenz Hübschle-Schneider
32bcb1c943
Fetch more lines on request
12 years ago
Lorenz H-S
7d386f04c2
Use strict comparison operators
12 years ago
Lorenz H-S
0cd4f04740
improve spacing and other syntactical stuff
12 years ago
Lorenz H-S
f0fe8be18a
Do channel indendation in CSS.
...
Fixes the issue with new query buffers' titles not being shown.
Doesn't introduce any new watchers
12 years ago
Lorenz H-S
b88b046222
Bind bufferlist only once where possible
12 years ago