Philippe Proulx
d332635a4e
Fix message time display
12 years ago
Philippe Proulx
8a07be5aef
weechat-protocol.js: factor common commands formatting code
12 years ago
Philippe Proulx
7780a66264
weechat-protocol.js: file header: mention command formatting
12 years ago
Philippe Proulx
4f07d6048f
weechat-protocol.js: add comments to formatting functions
12 years ago
Philippe Proulx
257b4f01cf
weechat-protocol.js: add command formatting helper functions
12 years ago
Philippe Proulx
bd4bfe0cb3
weechat-protocol.js: fix hash table parsing
12 years ago
Philippe Proulx
187f22036b
weechat-protocol.js: stricter slicing and type checking
12 years ago
Philippe Proulx
f05fb72aaa
weechat-protocol.js: comment object and methods
12 years ago
Philippe Proulx
74192c3df4
weechat-protocol.js: implement hash table parsing
12 years ago
Philippe Proulx
de163d6bc9
weechat-protocol.js: add time parsing and factor "number as string" code
12 years ago
Philippe Proulx
fef3e7542a
weechat-protocol.js: move getSlice()
12 years ago
Philippe Proulx
0c02cae6a9
weechat-protocol.js: clean _uia2s()
12 years ago
Philippe Proulx
df7d21f63f
weechat-protocol.js: use pointer instead of slicing
...
I don't know if this changes anything to performance, but my instinct
tells me that it's better to update a pointer within a big array to get
slices than creating a new slice each time.
Perhaps the JS engine is clever enough to not create a copy each time
and only update its internal references of the array bounds, but just
in case...
12 years ago
Philippe Proulx
c12f56c614
weechat-protocol.js: uniformize code
12 years ago
Philippe Proulx
7011f8f6b9
weechat-protocol.js: put similar methods nearby
12 years ago
Philippe Proulx
f2b44a4e6b
weechat-protocol.js: prepend _ to private methods names
12 years ago
Philippe Proulx
5a14c1a412
weechat-protocol.js: uiatos -> uia2s
12 years ago
Philippe Proulx
3a9ccc4098
weechat-protocol.js: refactor with prototype
12 years ago
Philippe Proulx
9bdcb814ab
weechat-protocol.js: clean code (indentation/trailing spaces)
12 years ago
Philippe Proulx
a7f3412b5d
protocol.js -> weechat-protocol.js
...
This makes it more clear that this script's code parses the WeeChat
protocol specifically.
12 years ago
David Cormier
320b143687
Removes console.log calls and adds amazing comments
12 years ago
David Cormier
7fa45cbc4f
Names gui buffer hda call
...
Removes the need for alternate message handling
12 years ago
David Cormier
987a3b4933
Moves event identification function in protocol
12 years ago
David Cormier
9a4bdad55d
Supports accentuated characters
12 years ago
David Cormier
0df3112d8d
Displays buffer content in main window
...
Handles the weechat _buffer_line_added event and displays every
new line in the main buffer.
12 years ago
David Cormier
4bebd3af79
Implements principal protocol
...
Passes test: it properly interprets all data given by weechat's
test command.
12 years ago
David Cormier
f5869438b7
basic support for weechat protocol based on weechat.js
13 years ago