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
David Cormier
68f24554d1
Remove global for variables
12 years ago
David Cormier
c251c3b74c
Fix is already defined errors
12 years ago
David Cormier
0912a2b55b
Remove extra comma and unnecessary semicolons
12 years ago
David Cormier
b23fb71d1d
Use strict comparators
12 years ago
David Cormier
e2a84470ce
Add missing semicolons
12 years ago
David Cormier
6d5573a148
Delete trailing whitespaces
12 years ago
David Cormier
cbf6bd9920
Use dot notation in models
12 years ago
Lorenz H-S
da748f911b
Keep message/command history for each channel
...
* Can be navigated with up/down arrow keys
* Currently entered text is preserved when going into history
* When choosing a history entry, previously entered but not submitted text will be restored to input buffer
Closes #75
12 years ago
Lorenz H-S
2cf47c6161
Visually highlight highlights
12 years ago
Lorenz H-S
9368f2480d
Open query when clicking nick in the sidebar
12 years ago
Lorenz H-S
f129460426
initalise lastread marker to last line initially fetched from server
12 years ago
Lorenz H-S
78121ff3a6
Add possibility to order channels hierarchically by server
12 years ago
Tor Hveem
3c01ad1b68
Fix bug with switching to core buffer when buffer is closed
12 years ago
Tor Hveem
4596c129f1
support extended colors in nicklist
12 years ago
Tor Hveem
e8e44d85ce
Maintained cached flatnicklist, maintain shownicklist cached value for
...
template
12 years ago
Philippe Proulx
0f1bde187a
Support colors in nick list
12 years ago
Tor Hveem
902f344d25
move logic into models, attempt at sorting
12 years ago
Tor Hveem
a06916f63e
Better styles for nicklist, implement UI for hiding
12 years ago
Tor Hveem
404f8c8cba
Implement nicklist
12 years ago
Tor Hveem
66963d8329
Style chat time. Hide lines with repeated time
12 years ago
Philippe Proulx
439734a49b
Optimize style attributes overriding
12 years ago
Philippe Proulx
9772da0095
Implement full support of WeeChat text styling
12 years ago
Tor Hveem
dbb2bcb8f9
Fix notify level
12 years ago
Tor Hveem
33ee9bd951
fix bug with new buffers and notify level
12 years ago
Tor Hveem
830c486af0
Regard the weechat buffer notify level
12 years ago
Tor Hveem
a9d469867a
Add Favio.js support. Fixes #28
12 years ago
Tor Hveem
2617dadb65
Simplify/clean up the unread and notification code
12 years ago
Tor Hveem
a9dcc68af2
Instead of using buffer.notification as a boolean, save number of
...
notifications into the variable. And when displaying unread messages
display unread notifications if any and if not then display number of
unreads.
12 years ago