Tor Hveem
30fd4794e9
Do not automatically switch to newly open buffer.
...
Fixes #279
11 years ago
Lorenz Hübschle-Schneider
f374bebc4e
Turn notimestamp into a positive setting (showtimestamp)
11 years ago
Lorenz Hübschle-Schneider
ce2a4e89da
Show timestamps on mobile by default
...
This is overriden by the setting
11 years ago
Lorenz Hübschle-Schneider
86f4c7308b
Image plugin: case insensitive regex
...
Fixes #305
11 years ago
Lorenz Hübschle-Schneider
e53f614a04
Fix tab-completion of empty string
...
Closes #301
11 years ago
Lorenz Hübschle-Schneider
6b99efb4ac
Handle _buffer_localvar_{add,remov}ed events
...
fixes indendation of newly opened buffers
11 years ago
Lorenz Hübschle-Schneider
703953a0f6
Rename highlightNick to addMention
...
...because that's what it does
11 years ago
Tor Hveem
71ecdb2608
Log unhandled events
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
3d9619abaf
Fix nick clicking
...
- move to correct scope
- use Angular input model instead of accessing DOM directly
- nicklist has changed, adapt to that
11 years ago
Lorenz Hübschle-Schneider
28d3bde907
inputBar.sendMessage: remove unused variable
11 years ago
Tor Hveem
06f3e50684
Fix problems with inputbar history and nick complete
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
Lorenz Hübschle-Schneider
64af1f357c
Fix query notifications on first connect
...
Fixes #284
11 years ago
Tor Hveem
91b0ddc259
Fix syntax. Emit relaydisconnect so connect button changes
11 years ago
Tor Hveem
3f595ea0ac
Don't send empty commands, use angular model instead of accessing
...
element value directly. Fixes problem with pressing enter will send
previous value in history.
11 years ago
Tor Hveem
695c429c4f
Only support the weechat defaults for clearing buffer
11 years ago
Tor Hveem
fbfeec8fca
Change the connect button text based on connection status
11 years ago
Tor Hveem
d2f11ad89d
Catch DOMException
11 years ago
Tor Hveem
f21cf4c046
Support clearing of buffer lines with command /c or /clear
11 years ago
Lorenz Hübschle-Schneider
84270655ee
Don't send input bar contents on buffer switch
...
Fixes #277
11 years ago
Lorenz Hübschle-Schneider
aab111bb80
Fix that bug where only one line was loaded
...
Let me tell the story backwards:
For some reason, only one line would be fetched in `fetchMoreLines`, but
neither `numLines` nor `buffer.requestedLines` were `undefined`. The
paramater `numLines` must have had some strange value, though.
`connection.fetchMoreLines` is invoked through the main controllers
`$scope.fetchMoreLines`, which sets the parameter to `$scope.lines` if it was
undefined before. That value is computed in `$scope.calculateNumLines`,
which takes the height of the lines area and divides it by the height of the first
bufferline. This computation is retriggered on every `resize` event.
The first bufferline is the 'fetch more lines' link at the top of the window. If the
currently active buffer doesn't have more lines, it is hidden with `ngHide`,
causing its `clientHeight` property to be `0`, and the number of lines to be
fetched `$scope.lines = Infinity` (due to a division by zero).
In `connection.fetchMoreLines`, the following request is then made:
`"buffer:0x" + buffer.id + "/own_lines/last_line(-" + numLines + ")/data"`
to which WeeChat responds with one line. Voilà, there's your mess.
11 years ago
Lorenz Hübschle-Schneider
36a35628e2
Fix bug where updateNickSpeak would fail on lines without a prefix
11 years ago
Lorenz Hübschle-Schneider
d363121556
Remove unnecessary uses of jQuery and dead code
...
Native code is faster anyways ;)
11 years ago
Lorenz Hübschle-Schneider
1d2e5f1d0b
Better countWatchers
...
The old one missed a few, two on the input and the one in the title.
This version also doesn't use jQuery
From: http://stackoverflow.com/a/18539624 by StackOverflow user "plantian"
11 years ago
Tor Hveem
20a8289072
Revert the revertion of multiline and clean it up for new directive.
11 years ago
Lorenz Hübschle-Schneider
9f46e656cb
Improve youtube matching URL
...
closes #266
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
b91241744c
Improve youtube matching URL
...
closes #266
11 years ago
Lorenz Hübschle-Schneider
58f7c9b9be
Improve nick clicking in buffer
...
* focus input line (stops keyboard from disappearing on mobile)
* add a space after the colon (and detect that in multiple highlight detection)
11 years ago
Lorenz Hübschle-Schneider
e732d72550
Detect self-signed cert errors
11 years ago
Lorenz Hübschle-Schneider
3ad76d2ff3
Don't ng-repeat function calls, they're expensive
...
See http://tech.small-improvements.com/2013/09/10/angularjs-performance-with-large-lists/
11 years ago
Lorenz Hübschle-Schneider
ac4e130198
Fix the one-line-only-bug
...
Fixes #247
11 years ago
Lorenz Hübschle-Schneider
76d7572622
Highlight user when clicking their nick
11 years ago
Lorenz Hübschle-Schneider
16664cefc0
Double-tap escape to disconnect
11 years ago
Lorenz Hübschle-Schneider
fdbf639201
Don't modify buffer in document visibility change handler if not connected
11 years ago
Lorenz Hübschle-Schneider
10bbb63929
Move cursor to end when navigating history
...
Fixes #244
11 years ago
Felix Eckhofer
cd6ee96ae7
Use https for dailymotion
11 years ago
David Cormier
8d94dffec9
Rename isMobileDevice to isMobileUi
...
Right now we are only checking the width screen so we are not
detecting anything that is mobile specific. Will rename to
isMobileDevice when we introduce more specific checks.
11 years ago
Felix Eckhofer
3ed3df9ede
Only hide bufferlist when switching to mobile
...
Showing the keyboard on mobile will trigger a resize event, therefore
trying to use the bufferlist filter will actually hide the bufferlist
making the feature unusable. Bug introduced by 554b1669
.
11 years ago
Lorenz Hübschle-Schneider
0e3bf78087
Fix bug where no (more) lines were loaded despite there being more
11 years ago
Lorenz Hübschle-Schneider
0ff0c995d4
remove trailing commas
11 years ago
Felix Eckhofer
9d0fb6b0cd
Update path to icon for notifications
11 years ago
Lorenz Hübschle-Schneider
54bb156f01
Add notification count to notifications
11 years ago
Lorenz Hübschle-Schneider
554b16698a
Show sidebar when switching from mobile to desktop view
...
(or the other way around)
11 years ago
Lorenz Hübschle-Schneider
a51e5c17ae
Don't irc linky #foo after forward / backward slashes
...
This broke some URLs like http://caniuse.com/#feat=flexbox
11 years ago
Lorenz Hübschle-Schneider
90b29cc5ad
Don't update read marker if no more lines could be fetched
...
Fixes disappearing read marker (set to -1)
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