1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-30 05:43:28 +01:00
Commit Graph

766 Commits

Author SHA1 Message Date
Jfreegman
4a8db6f098 Merge branch 'terminal_colors' of https://github.com/ooesili/toxic into ooesili-terminal_colors 2014-04-12 03:04:36 -04:00
Jfreegman
766ae685c2
add setting to disable terminal alerts 2014-04-11 21:47:09 -04:00
Jfreegman
e384f87a04
increase line message buffer size 2014-04-10 18:16:27 -04:00
Jfreegman
688564cfc2
merge 2014-04-08 17:23:19 -04:00
Jfreegman
4643996c3a
add audio settings for conf file 2014-04-08 17:20:21 -04:00
mannol1
eef5b4941f Merge pull request #121 from czarkoff/openbsd
Include "pthread.h"
2014-04-08 13:57:07 +02:00
Dmitrij D. Czarkoff
f54cd87abc Drop typedef redeclarations
C99 doesn't permit redeclaring typedefs in the same scope.
2014-04-08 12:11:10 +02:00
Dmitrij D. Czarkoff
be8a0de38d Include "pthread.h"
It isn't implicit on OpenBSD.
2014-04-08 12:09:42 +02:00
Jfreegman
cd0bccfbeb
remove leading 0 and am/pm for 12 hour timestamp in chat windows 2014-04-08 02:50:56 -04:00
Jfreegman
de3a28c6e6
create empty config file if none found && make default time 24 hours 2014-04-07 18:16:38 -04:00
Jfreegman
5976d33fef
settings_load needs to be before init_term 2014-04-07 06:22:51 -04:00
Jfreegman
e17b62c98b Merge branch 'master' of https://github.com/Tox/toxic 2014-04-07 06:04:15 -04:00
Jfreegman
92948abcf1 implement basic user settings 2014-04-07 06:03:45 -04:00
mannol
8ce1a3d3e9 Codec settings and MORE! 2014-04-06 23:56:49 +02:00
mannol
cb9622136c Merge remote-tracking branch 'upstream/master' 2014-04-06 23:26:02 +02:00
mannol
46b57feb2f Codec settings 2014-04-06 23:26:00 +02:00
Jfreegman
a9bcab4aee
fix possible memory leak 2014-04-06 05:20:46 -04:00
Wesley Merkel
b9290c8a83 Let user disable native colours with ./configure 2014-04-05 13:31:53 -06:00
Jfreegman
246a514e88
fix possible segfault 2014-04-02 18:57:11 -04:00
Jfreegman
20f126e1d8
fix possible segfault 2014-04-02 17:27:07 -04:00
Wesley Merkel
82027a5b4f Use default terminal fg/bg colors when we can. 2014-04-02 14:25:12 -06:00
Jfreegman
3b2010200d
possibly fix scrolling bug 2014-04-02 04:59:51 -04:00
Jfreegman
24cd6d772f
bigger history 2014-04-01 17:42:27 -04:00
Jfreegman
c46676daa5
buffer needs to be empty 2014-04-01 16:32:53 -04:00
Jfreegman
411ae8d0f5
off by 1 error 2014-04-01 04:43:52 -04:00
Jfreegman
e419299487
use correct types 2014-04-01 03:53:12 -04:00
Jfreegman
f3a8ba6ab3 small fix 2014-04-01 03:16:38 -04:00
Jfreegman
6d98f38128
forgot a few string nulls 2014-04-01 02:49:35 -04:00
Jfreegman
08f57de9e0
fix segfault and memory leak 2014-04-01 02:38:32 -04:00
Jfreegman
3b7e161149 don't send null terminated strings, and null terminate all incoming strings 2014-03-31 22:34:05 -04:00
Jfreegman
15815bf4bb
split big function up 2014-03-31 21:26:09 -04:00
Jfreegman
43a5ee2d4f
esc isn't printable 2014-03-30 21:31:20 -04:00
Grayson MacKenzie
f8a4312fdd Repaired window switching after widechar fix 2014-03-30 16:42:27 -04:00
Grayson MacKenzie
cce7892d94 Fixed character support 2014-03-30 16:40:13 -04:00
Jfreegman
1420618eb0 small fix 2014-03-30 01:22:40 -04:00
Jfreegman
52d6e8431f
fix 2014-03-29 21:16:25 -04:00
Jfreegman
1b89af9063
null fix 2014-03-29 05:44:20 -04:00
Jfreegman
d873181306
fix scrolling bug 2014-03-29 04:40:35 -04:00
Jfreegman
26640cda14 prevent screen from moving on input when in scroll mode 2014-03-28 19:52:26 -04:00
Jfreegman
21c48bde5c
string safety 2014-03-28 03:46:00 -04:00
Jfreegman
8c071fb208 fix potential segfaults 2014-03-28 01:46:09 -04:00
Jfreegman
b36a8fd8fa show percentage complete for file transfers 2014-03-27 23:05:50 -04:00
Jfreegman
94e936575e
fix memory leaks 2014-03-27 17:59:31 -04:00
Jfreegman
1b3c40b539
put help message in chatwindow box when in scroll mode 2014-03-27 05:08:48 -04:00
Jfreegman
bd5453002e
a few more fixes 2014-03-26 19:14:28 -04:00
Jfreegman
c218e104e7
a few fixes 2014-03-26 05:52:21 -04:00
Jfreegman
bb97f3e543 merge 2014-03-25 22:10:05 -04:00
Jfreegman
92c0f737ac . 2014-03-25 22:02:48 -04:00
Jfreegman
29b549e677 few fixes 2014-03-25 21:43:49 -04:00
Jfreegman
3baa830afb move log struct to proper place 2014-03-25 08:25:10 -04:00
Jfreegman
a5ce17f44e refactor groupchats to allow scrolling 2014-03-25 08:21:50 -04:00
Jfreegman
2f981ecb12 make audio messages compatible with new printing method 2014-03-25 04:39:44 -04:00
Jfreegman
5e941427d3 refactor prompt to allow scrolling 2014-03-25 03:17:22 -04:00
Jfreegman
a40b6b1b1b replace prompt's PromptBuf struct with a ChatContext for compatibility 2014-03-24 07:55:28 -04:00
Jfreegman
e5b6e0ad9f refactor chat history to allow scrolling 2014-03-24 07:18:58 -04:00
Sean Qureshi
5956c6acaf
Merge branch 'master' of https://github.com/mannol1/toxic 2014-03-23 15:32:51 -07:00
mannol
58f33fa1d6 Merge upstream 2014-03-23 22:54:56 +01:00
Jfreegman
7384440a3d small fix 2014-03-21 04:03:07 -04:00
Jfreegman
c1dfb741c9 typging change callback update 2014-03-20 20:59:54 -04:00
Jfreegman
d49e911fe4 type fixes 2014-03-19 03:14:08 -04:00
Jfreegman
50a37495f8 API update 2014-03-18 21:48:26 -04:00
Jfreegman
8bea44a44c properly handle invalid statuses 2014-03-18 19:34:02 -04:00
Jfreegman
3ad82cf3b1 fix bug in issue #104 2014-03-17 22:18:04 -04:00
Jfreegman
99e36195f7 make sure default statusmsg shows correct version 2014-03-17 20:38:30 -04:00
Jfreegman
d03a661635 Merge branch 'master' of https://github.com/Tox/toxic 2014-03-17 19:58:08 -04:00
mannol
705a55d1b5 Open devices when call starts instead of keeping them opened all the time 2014-03-18 00:50:15 +01:00
Grayson MacKenzie
e6c68143bd Fixed incorrectly handled error check for longchars 2014-03-16 20:18:31 -04:00
jin-eld
8024757e57 Fix toxic build when toxav is not available 2014-03-16 20:28:46 +01:00
Jfreegman
33a4e806e2 handle last online stuff properly & update toxic version 2014-03-16 03:31:48 -04:00
Jfreegman
c055af7348 retain last status on load and some changes to statusbars 2014-03-15 07:40:13 -04:00
Jfreegman
65eb185a9f attempt to make friendlist more visually appealing 2014-03-15 04:14:46 -04:00
Jfreegman
a68fc671e5 show "last seen" time for offline friends 2014-03-14 23:46:24 -04:00
mannol
79fbf0a31f Fixes and stuff... 2014-03-14 23:08:08 +01:00
Jfreegman
d29836845c get unix time more efficiently 2014-03-13 23:56:46 -04:00
Jfreegman
d8d198c81c rm unused argument for sort func 2014-03-13 23:30:44 -04:00
Jfreegman
ac82961bea fix bug and load previous status messages on boot 2014-03-13 07:34:14 -04:00
Jfreegman
9d52b6ab5d forgot a lock 2014-03-13 06:43:53 -04:00
Jfreegman
f6a85518bc implement multi-threading 2014-03-13 06:06:53 -04:00
Jfreegman
c37311ae36 an experiment gone horribly wrong 2014-03-12 18:48:25 -04:00
Jfreegman
ce76896eb3 easier way to format timestamps 2014-03-12 03:08:13 -04:00
Lehi Toskin
93fb9611f7 SPELLING IS FOR FOOLS 2014-03-11 19:54:09 -07:00
Sean
cc3513968e I don't even 2014-03-11 19:30:23 -07:00
Jfreegman
dd697d7af1 Merge branch 'master' of https://github.com/Tox/toxic 2014-03-11 20:00:12 -04:00
Jfreegman
a32d76ed16 fix 2014-03-11 20:00:03 -04:00
mannol
b210068c1d Fixed segfault 2014-03-12 00:25:13 +01:00
Jfreegman
0151b9b49f rm 'connecting' message and a few small fixes 2014-03-11 18:57:32 -04:00
mannol
ed3e9b476d This should fix segfault and remove one-line comments 2014-03-11 23:22:27 +01:00
Jman012
9f06331a0b Fixed another clang issue with bools that broek file sending. 2014-03-11 13:11:22 -07:00
Sean
a63cba645f Issue #89 workaround for a toxav_get_peer_id issue 2014-03-11 12:59:12 -07:00
Sean
9d50d52216 What a waste of a commit
Note to self, fixup rebase this before g finds it
2014-03-11 10:24:21 -07:00
Sean
6cb36e71fe I like using entire commits for tiny things 2014-03-11 10:21:35 -07:00
Sean
0b52de3773 Update groupchat.c 2014-03-11 10:19:14 -07:00
Sean
22ac65c4a9 Change John Doe to Anonymous 2014-03-11 10:09:20 -07:00
mannol
e6f285adc7 Update with latest core 2014-03-11 01:04:53 +01:00
mannol
a80da2b58f Merge remote-tracking branch 'upstream/master' 2014-03-11 00:58:18 +01:00
mannol
da924f07a9 Updated to latest core 2014-03-11 00:34:18 +01:00
Jman012
e8cd1417b7 Fixed clang error, disabling the execute module. 2014-03-08 23:42:37 -08:00
Jfreegman
d08feb2cc5 simplify popup drawing 2014-03-09 01:02:54 -05:00
Jfreegman
fe0641e981 add popup alert on friend delete 2014-03-08 23:57:21 -05:00
mannol
1fd07837ea Fixed build problems 2014-03-08 16:36:42 +01:00
mannol
6c2ae4ad24 Don't allow changing device while transmission is active 2014-03-08 02:09:11 +01:00
mannol
c678d41709 Now supporting device selection 2014-03-08 01:12:51 +01:00
mannol
63745afe09 Toxic now supports audio calls 2014-03-07 03:27:48 +01:00
mannol
416419a6e7 Toxic now supports audio calls 2014-03-07 03:14:04 +01:00
Jfreegman
33e16fe870 small optimization 2014-03-06 19:39:57 -05:00
mannol1
d712d6c898 Merge pull request #85 from micrictor/master
Fixing fall-back from IPv6 to IPv4
2014-03-05 18:11:55 +01:00
Michael R. Torres
2ae478d546 Fix fall-back from IPv6 to IPv4
Professionalism edits
2014-03-05 07:17:57 -08:00
Jfreegman
4b8de0d16d speed up friendlist loading on startup 2014-03-05 08:01:12 -05:00
Jfreegman
2fcfa954ab move file sender stuff to its own files 2014-03-05 05:06:21 -05:00
Jfreegman
675c8fa89f fix 2014-03-05 03:37:07 -05:00
Jfreegman
d1153f96ca small refactor for incoming file transfers 2014-03-05 03:31:12 -05:00
Michael
2f473300cd Fixing fallback from IPv6 to IPv4 2014-03-05 06:01:10 +00:00
Jfreegman
41292c1ded old server list wasn't being installed; default to DHTnodes in /usr/local/share/toxic 2014-03-04 03:17:48 -05:00
Jfreegman
6c9dbfe3bc Merge branch 'master' of https://github.com/Tox/toxic 2014-03-03 19:23:17 -05:00
Jfreegman
24b763bce6 simplify logging 2014-03-03 19:21:52 -05:00
Sean Qureshi
e41008bd4e Minor fixup 2014-03-03 07:55:10 -08:00
Jfreegman
7f38c3c6e7 add prompt logging support 2014-03-01 18:06:35 -05:00
Jfreegman
7109b8fa18 refactor logging functions to only handle chatlog pointers 2014-03-01 07:10:44 -05:00
Jfreegman
1e503b1080 fix 2014-02-27 23:38:15 -05:00
Jfreegman
4fb82cceaa save logging preference for friend chats and improve log command message 2014-02-27 23:33:00 -05:00
Jfreegman
46b046a209 make C-e and C-aa work like they do in bash and fix/format help messages 2014-02-27 18:55:18 -05:00
Jfreegman
6ee1f1ed0f fix 2014-02-26 21:30:27 -05:00
Jfreegman
044b731089 Fix bug 2014-02-26 21:00:35 -05:00
Jfreegman
d83ef1d8be update help messages 2014-02-26 19:45:11 -05:00
Jfreegman
9b57c05648 add command to turn logs on/off 2014-02-26 19:00:13 -05:00
Jfreegman
817f763589 give groupchat logs unique names 2014-02-26 17:15:34 -05:00
Jfreegman
8e4db369bc log events 2014-02-26 06:35:19 -05:00
Jfreegman
a61f5f6a6d properly close windows on exit 2014-02-26 05:23:11 -05:00
Jfreegman
5ff7065744 basic logging for groupchats 2014-02-26 03:51:26 -05:00
Jfreegman
831d8e5f24 implement chat logging 2014-02-26 01:51:06 -05:00
Jfreegman
b6613a015f add license info to source files 2014-02-25 02:28:24 -05:00
Jfreegman
2d9f4facf7 connect to limited number of nodes on init instead of all of them 2014-02-24 20:08:51 -05:00
Jfreegman
e7920d1da7 fix connection error codes 2014-02-24 19:41:02 -05:00
Jfreegman
eb09fceed7 fix bug and some cleanup 2014-02-24 19:18:43 -05:00
JFreegman
b308e19e6b Merge pull request #80 from viric/dhtservers
Fallback to loading /usr/share/toxic/DHTservers.
2014-02-24 02:17:14 -05:00
kl4ng
5187861b69 down arrow returns empty string if at end of history 2014-02-23 14:22:45 -05:00
Jfreegman
b018aa384e small fix and don't show typing alert for /commands 2014-02-23 05:38:44 -05:00
Jfreegman
5b9d3f6f62 fix segfault 2014-02-23 05:15:48 -05:00
Lluís Batlle i Rossell
6be1c907d9 Fallback to loading /usr/share/toxic/DHTservers.
First try ~/.config/tox/DHTservers, and fallback to the /usr/share
one if the former fails.

This should allow people just starting toxic for the first time to
connect to the DHT.
2014-02-23 09:52:07 +00:00
Jfreegman
2b707f1d80 implemented typing status 2014-02-23 04:28:33 -05:00
mannol
fd86f01fd0 Started with audio 2014-02-23 00:00:34 +01:00
mannol
e775c51a06 Merge upsteam/master 2014-02-22 23:58:36 +01:00
Jfreegman
6269eafeaa Merge branch 'master' of https://github.com/Tox/toxic 2014-02-22 04:52:08 -05:00
Sean
352656230c HOW DO YOU FORGET ABOUT THIS FOR 6 MONTHS??? 2014-02-22 01:51:30 -08:00
Jfreegman
da6ef159e6 null check just incase 2014-02-22 04:50:47 -05:00
Jfreegman
9e2fde8d84 make status message version not hard-coded 2014-02-22 04:46:35 -05:00
Sean
aec16a22a4 Update prompt.c 2014-02-22 01:39:32 -08:00
Jfreegman
fd3604be44 small fix 2014-02-22 01:04:40 -05:00
Jfreegman
a4cb568558 small fix 2014-02-21 22:02:16 -05:00
Jfreegman
7e23afb57e make friendlist offline statuses bold 2014-02-21 21:24:33 -05:00
Jfreegman
2982dc6ddd show pseudo-unique identifier in friend chat windows 2014-02-21 21:21:12 -05:00
Jfreegman
4294e39b49 check connection only once per call 2014-02-21 01:57:13 -05:00
Jfreegman
d9142eb355 restructure main toxic loop 2014-02-21 00:45:29 -05:00
Jfreegman
69c467fa5f rm unnecessary file transfer limit 2014-02-20 07:47:19 -05:00
Jfreegman
eb2d6afa00 make own nick green in groupchats 2014-02-16 23:15:27 -05:00
Jfreegman
5f1ddcf5f6 make error msg more clear for normal users 2014-02-14 05:10:53 -05:00
Jfreegman
07089271cc prompt tab alealert when friend comes online 2014-02-13 06:24:58 -05:00
Jfreegman
c3d2ff6bfb couple fixes 2014-02-11 19:12:26 -05:00
Jfreegman
16b8f85d95 send name instead of full path with file send request 2014-02-11 18:52:04 -05:00
Jfreegman
1f06606c5b enforce toxic max name length in groupchats 2014-02-10 20:13:22 -05:00
Jfreegman
0dd588182b don't alert when you type your own nick in groupchat 2014-02-09 22:55:42 -05:00
Jfreegman
3cd15f3846 show number of online friends 2014-02-07 23:31:35 -05:00
Jfreegman
bd4b430fbb count_friendlist is too inefficient to use that way 2014-02-07 23:28:17 -05:00
Jfreegman
42cd80efe9 use API function for friend count instead of global var 2014-02-07 18:44:10 -05:00
Jfreegman
da99d776df fix 2014-01-30 22:03:26 -05:00
Jfreegman
ebf7d4517f don't modify name list when truncating nicks to fit in groupchat side panel 2014-01-30 22:01:08 -05:00
Jfreegman
a028de17cd how did that get there 2014-01-25 01:04:05 -05:00
Jfreegman
866cafbf1b timestamp for prompt connection and friend request alerts 2014-01-22 23:29:28 -05:00
Jfreegman
06b09cd981 correct value 2013-12-18 20:18:38 -05:00
Jfreegman
feefecb2ac fix a couple bugs 2013-12-18 20:18:02 -05:00
Jfreegman
d04f5fa102 beep when it should beep 2013-12-15 20:52:10 -05:00
Jfreegman
dfb5b16e7d show friend count and change friend delete key to delete 2013-12-14 19:29:45 -05:00
Jfreegman
14c9599a30 couple fixes 2013-12-14 15:38:21 -05:00
Jfreegman
c371c37bce had the names confused 2013-12-14 01:10:22 -05:00
Jfreegman
6f034d434a this makes more sense 2013-12-14 00:57:46 -05:00
Jfreegman
eb6d832e3e correct usage of wcwidth() 2013-12-14 00:36:58 -05:00
Jfreegman
10ae3865ca improve line history functionality 2013-12-14 00:36:06 -05:00
Jfreegman
34cc4314a5 added groupchat actions 2013-12-13 20:57:32 -05:00
AZ Huang
f3cdb3cd62 Fix groupchat cursor movement. 2013-12-12 13:55:42 +08:00
AZ Huang
bc8e737514 Fix wchar cursor movement. 2013-12-12 13:43:29 +08:00
Jfreegman
1dad3711c4 better error handling for failed string conversions 2013-12-12 00:37:29 -05:00
Jfreegman
12e1a60ca3 ugly partial fix for bug 2013-12-11 05:41:02 -05:00
Jfreegman
ff30a29df1 small improvement 2013-12-11 04:49:21 -05:00
Jfreegman
629041d465 simplify code a bit 2013-12-11 03:29:31 -05:00
Jfreegman
83a81f6db6 Merge branch 'master' of https://github.com/Tox/toxic 2013-12-11 00:21:42 -05:00
Jfreegman
9a5a598c5a add line history with up/down keys 2013-12-11 00:10:09 -05:00
naxuroqa
ab2be21942 api update to irungentoo/ProjectTox-Core@2d841fb791 2013-12-11 01:51:40 +01:00
Jfreegman
ccc0640dab put string helpers in own file 2013-12-10 03:03:45 -05:00
Jfreegman
44d9f7fe61 busy status mutes beeping 2013-12-09 19:25:09 -05:00
Jfreegman
4065715b78 split lists up so only commands that work in given window autocomplete 2013-12-09 17:56:20 -05:00
Jfreegman
674aa682e7 implement tab completion for commands 2013-12-08 18:14:57 -05:00
Jfreegman
9c2551b3b9 small fix 2013-12-08 16:10:52 -05:00
Jfreegman
f67725f636 improve tab completion 2013-12-08 15:49:47 -05:00
Jfreegman
5fc14a48db a few aesthetic changes 2013-12-08 05:45:23 -05:00
Jfreegman
df57adcc6d fix memory leaks and safer way to convert strings from wc to mb 2013-12-08 04:16:49 -05:00
Jfreegman
e834821348 replace name_compare with lib function 2013-12-08 01:18:10 -05:00
Jfreegman
b8b032e441 a few fixes, and make tab completion case insensitive 2013-12-08 01:07:22 -05:00
Jfreegman
4c27df32b0 add tab auto-complete function for groupchat names 2013-12-07 22:10:32 -05:00
Jfreegman
3804233c21 didnt mean to change that 2013-12-06 22:07:37 -05:00
Jfreegman
eb9d4361f0 Merge branch 'master' of https://github.com/Tox/toxic 2013-12-06 22:04:28 -05:00
Jfreegman
e224f92210 change keys toctrl-o and p due to weird bug with ctrl-[ 2013-12-06 22:03:35 -05:00
irungentoo
6089f02d57 If IPv6 fails, print something and try IPv4. 2013-12-06 21:43:57 -05:00
Jfreegman
d232538317 make ctrl-] [ keys switch pages 2013-12-06 20:56:30 -05:00
Jfreegman
f942982f4e alert user when name is mentioned in groupchat 2013-12-06 19:41:53 -05:00
Jfreegman
ce45580c83 partially fix bug where input line eats prompt messages 2013-12-06 05:07:35 -05:00
Jfreegman
18a7bbea3d fix 2013-12-05 23:05:16 -05:00
Jfreegman
7a14845790 add line kill and discard ability 2013-12-05 22:55:14 -05:00
Jfreegman
2ad238d69f cchange prompt to $ char and make timestamps blue 2013-12-05 03:29:39 -05:00
Jfreegman
70e8bdb409 fix line scrolling bug 2013-12-05 01:22:02 -05:00
Jfreegman
3740cb6763 fix prompt bug, improve comments, and give prompt its own window struct 2013-12-04 22:33:04 -05:00
Jfreegman
a57f94306a put back prompt char 2013-12-04 18:09:51 -05:00
Jfreegman
e3400e095b a few fixes and update version 2013-12-04 16:21:32 -05:00
Jfreegman
1517cbb6cb allow line editing in prompt window 2013-12-04 16:14:33 -05:00
Jfreegman
424ab7cd10 fix prompt user input mechanics 2013-12-04 03:57:03 -05:00
Jfreegman
a2af0bc047 don't sort after every friend add on statup 2013-12-04 01:08:26 -05:00
Jfreegman
2fde13530b fix bug 2013-12-04 00:44:37 -05:00
Jfreegman
db10c66922 API change 2013-12-03 18:06:28 -05:00
Jfreegman
88ebb06ba5 colour theme changes 2013-12-03 18:01:17 -05:00
Jfreegman
03ef257fdc small fix 2013-12-03 05:18:49 -05:00
Jfreegman
1a86327f9f allow groupchat sidebar to scroll 2013-12-03 03:44:02 -05:00
Jfreegman
ba750753a5 fix for possible divsion by zero 2013-12-02 18:34:14 -05:00
Jfreegman
7a89229375 allow friendlist to scroll up and down if friends overflow the window 2013-12-02 18:23:04 -05:00
AZ Huang
b0c60238f7 Add option to switch off ipv6. 2013-12-02 22:02:34 +08:00
Jfreegman
ca1644c23b fix 2013-12-01 17:08:57 -05:00
Jfreegman
f67cc479ec format consistency 2013-12-01 16:59:46 -05:00
Jfreegman
b1b2cc44df minor improvements 2013-12-01 16:57:05 -05:00
Jfreegman
192a06c4f0 fixed arrow printing bug 2013-12-01 13:25:03 -05:00
Jfreegman
49655e13a0 fix 2013-12-01 03:29:12 -05:00
Jfreegman
5850e1c333 line edit support for home, del and end keys 2013-12-01 02:58:21 -05:00
Jfreegman
37dd2bee2d Merge branch 'master' of https://github.com/Tox/toxic 2013-11-30 22:15:16 -05:00
Jfreegman
bb6b28b7c3 allow line editing via arrow keys in chat/groupchat windows 2013-11-30 22:12:43 -05:00
JFreegman
8f1da153a7 Merge pull request #59 from FullName/path-idx-real-fix
Fix partial fix: A slash in pos 0 still led to read access to pathname[-1].
2013-11-30 16:26:30 -08:00
Coren[m]
4f4a379a01 Fix partial fix: A slash in pos 0 still led to read access to pathname[-1]. 2013-11-30 22:14:09 +01:00
Jfreegman
c25296e65a fixes 2013-11-30 16:09:45 -05:00
Jfreegman
f6a6aecaf5 fix window related bugs and warn user when max window limit has been reached 2013-11-30 05:35:25 -05:00
Jfreegman
8ff907d719 wrong signal 2013-11-29 19:31:47 -05:00
Jfreegman
a02bbfa643 kill file transfer if writing fails 2013-11-29 19:26:59 -05:00
Jfreegman
57c2872b75 try to limit scope of globals 2013-11-29 18:52:21 -05:00
Jfreegman
7ad520f128 reduce syntactic complexity - these don't need to be void 2013-11-29 17:48:08 -05:00
AZ Huang
7ee84ce5e1 Fix typo. 2013-11-29 23:56:42 +08:00
AZ Huang
8c0ad1ef80 Fix corresponding API name changes in toxcore. 2013-11-29 23:14:59 +08:00
AZ Huang
e29ce6ab6f Fix API ret code changes of ToxCore 2013-11-29 18:30:40 +08:00
Jfreegman
b909ab37b7 add peer count to sidepanel 2013-11-29 01:30:10 -05:00
Jfreegman
04b394d6dd close file transfers on exit & fixes 2013-11-28 22:28:40 -05:00
Jfreegman
8cf3043dd3 Merge branch 'master' of https://github.com/Tox/toxic 2013-11-28 20:24:58 -05:00
Jfreegman
8584667ec9 don't need that 2013-11-28 20:24:44 -05:00
Jfreegman
d29e5dbe48 fixes 2013-11-28 20:23:37 -05:00
irungentoo
e21e5c18ff Fix possible crash. 2013-11-28 19:52:30 -05:00
Jfreegman
a98ec22fd6 improve window alert functionality 2013-11-28 19:45:28 -05:00
Jfreegman
2057e7bc4f couple fixes 2013-11-28 18:56:56 -05:00
irungentoo
7e0bc7768b Merge pull request #55 from aitjcize/fix-path-name
Fix trailing slashes which leads to segfault.
2013-11-28 05:43:07 -08:00
AZ Huang
8459d44506 Make sure friend message is null-terminated else generate garbate on screen. 2013-11-28 20:21:52 +08:00
Jfreegman
a04c8964ee add valid nick function 2013-11-28 02:53:43 -05:00
Jfreegman
7ca087b5e7 fix potential segfault 2013-11-27 22:46:09 -05:00
Jfreegman
663818156b don't allow empty nicks 2013-11-27 19:34:15 -05:00
Jfreegman
9c6662163b handle no-names more efficiently 2013-11-27 19:29:58 -05:00
AZ Huang
f71f07b0ad Add extra check to opened file opointer. 2013-11-28 03:31:10 +08:00
AZ Huang
bb5ee93c88 Fix trailing slashes which leads to segfault. 2013-11-28 03:27:44 +08:00
Jfreegman
eab41ccd3d a couple bug fixes 2013-11-27 01:54:22 -05:00
Jfreegman
5ad4bca7a9 uncomment 2013-11-26 22:16:18 -05:00
Jfreegman
53b1a297d2 move pointer inits and bug fix 2013-11-26 22:15:48 -05:00
Jfreegman
d00b9e26b7 fixes 2013-11-26 21:06:06 -05:00
Jfreegman
33ec2f96c2 rework peername list storing so no limit is needed 2013-11-26 20:45:08 -05:00
Jfreegman
8de666a349 a small fixes 2013-11-26 17:39:11 -05:00
Jfreegman
0a24137a58 rm debugging stuff 2013-11-25 20:20:51 -05:00
Jfreegman
5e37ddc0f8 testing groupchat stuff 2013-11-25 18:49:31 -05:00
Jfreegman
8dabfdc2da oops 2013-11-24 22:34:22 -05:00
Jfreegman
34511ada02 fix bug 2013-11-24 22:31:58 -05:00
Jfreegman
3470a5eef7 improve friendlis sorting function 2013-11-24 18:22:48 -05:00
Jfreegman
e625bffbb4 sort friendlist alphabetically 2013-11-24 17:12:24 -05:00
Jfreegman
d47429ecb7 fixed bug 2013-11-24 16:05:04 -05:00
Jfreegman
81230295cc fix possible bug 2013-11-24 15:18:05 -05:00
Jfreegman
4aa68c8251 sort names in groupchat sidepanel 2013-11-24 02:33:03 -05:00
Jfreegman
1064e8d144 made borders-lines crisp 2013-11-23 23:46:46 -05:00
Jfreegman
6d2bf72ed3 update version 2013-11-23 21:42:43 -05:00
Jfreegman
fb246f2527 don't need that 2013-11-23 21:30:31 -05:00
Jfreegman
f84ece13de Add groupchat side panel & add new callback 2013-11-23 21:19:59 -05:00
Jfreegman
d8da80914d alert chat window on file send/failure 2013-11-19 16:00:24 -05:00
Jfreegman
f43d735861 remove redundant cmd func args, use global prompt instead 2013-11-19 15:32:35 -05:00
Jfreegman
b16ff16abc move window blink/beep to a function 2013-11-19 02:31:22 -05:00
Jfreegman
83458c64ec move timeout test out of while loop 2013-11-18 22:22:18 -05:00
Jfreegman
b4c25c6ea9 that was changed for testing only 2013-11-18 18:54:50 -05:00
Jfreegman
140b8b4690 improve file sending 2013-11-18 18:52:46 -05:00
Jfreegman
1ed6d83ed3 show name for default friend request message. also don't print key. 2013-11-17 23:14:27 -05:00
Jfreegman
d69b82a7b4 bug fix 2013-11-17 22:28:22 -05:00
Jfreegman
246c9283d0 bold currently selected friend in friendlist 2013-11-17 19:45:53 -05:00
Jfreegman
73cc9bfcf2 simplify groupchat counter 2013-11-17 16:09:14 -05:00
Jfreegman
cf0840b80d small fixes 2013-11-17 15:45:26 -05:00
Jfreegman
e9ef2b1fc6 cflags were doing nothing 2013-11-15 21:36:05 -05:00
Jfreegman
40b79f5e69 consistent formatting for prototypes 2013-11-15 19:35:14 -05:00
Jfreegman
0f5fed577d fix friendlist drawing bugs 2013-11-15 17:03:24 -05:00
Jfreegman
8bbd796755 fix on_friendadded() 2013-11-15 14:59:49 -05:00
Jfreegman
e091b36b14 move prompt help command to global_commands.c 2013-11-15 14:38:58 -05:00
Jfreegman
c0d4070b96 small optimization 2013-11-15 02:26:26 -05:00
Jfreegman
3ceba62921 small optimization 2013-11-15 02:12:01 -05:00
Jfreegman
a0eac6a136 fix bug 2013-11-14 19:34:40 -05:00
Jfreegman
ee509a7cec add file sender timeouts 2013-11-14 19:14:54 -05:00
Jfreegman
be88c89e09 simplify pending groupchat handling 2013-11-12 17:26:13 -05:00
Jfreegman
9b7b401455 small fix 2013-11-12 16:53:41 -05:00
Jfreegman
5570b7c98a fix bug 2013-11-12 02:41:55 -05:00
Jfreegman
7542247c48 improve duplicate file handling 2013-11-12 02:18:43 -05:00
Jfreegman
704b787ec2 formatting 2013-11-12 01:50:04 -05:00
Jfreegman
649233b718 fix help message 2013-11-10 23:38:12 -05:00
Jfreegman
26d561eb77 some minor fixes 2013-11-10 23:17:46 -05:00
Jfreegman
bc4e089a65 generalize command matching loop 2013-11-10 13:23:47 -05:00
Jfreegman
5a7f26cfea replace more defines with enum 2013-11-10 01:23:07 -05:00
Jfreegman
16c11b33f3 replace defines with enum 2013-11-10 01:20:52 -05:00
Jfreegman
8643d14777 small fix 2013-11-09 22:08:25 -05:00
Jfreegman
1af9937dfd rm old/unused files 2013-11-09 21:44:48 -05:00
Jfreegman
549fc5ecb6 big refactor for command functionality 2013-11-09 21:43:56 -05:00
Jfreegman
89266c8eff display friendlist with online friends above offline 2013-11-09 02:50:32 -05:00
Jfreegman
706aed533d bit of cleanup 2013-11-02 20:32:35 -04:00
Jfreegman
3907edcdda this was right 2013-10-25 00:55:27 -04:00
Jfreegman
ae7087e760 fix 2013-10-25 00:33:00 -04:00
Jfreegman
3f7e60eaf4 small bug fix and formatting 2013-10-25 00:29:40 -04:00
Jfreegman
b9b3487581 fixed prompt input 2013-10-23 03:24:08 -04:00
Jfreegman
72565cdaec simplify execute function some more 2013-10-23 01:03:18 -04:00
Jfreegman
6595e2bce5 small fixes 2013-10-22 06:39:13 -04:00
Jfreegman
dee263704c make function constant time 2013-10-22 01:59:06 -04:00
Jfreegman
407d28bf5d awhen atoi returns 0 on invalid input we don't want that to count as valid 2013-10-20 07:16:26 -04:00
Jfreegman
77de8dd116 fixed bug that was causing random crashes 2013-10-20 02:11:23 -04:00
Jfreegman
957b335559 no longer need this 2013-10-20 01:27:45 -04:00
Jfreegman
4ad6853e2e rewrote execute function 2013-10-20 00:50:08 -04:00
Jfreegman
7a0951afc6 simplify string_is_empty 2013-10-18 23:58:33 -04:00
Jfreegman
0396ce6456 rm /msg command 2013-10-18 23:46:58 -04:00
Jfreegman
361c4cfafc adjusting max name length handling 2013-10-18 23:08:37 -04:00
Jfreegman
fe0ccf52e9 small fix 2013-10-18 22:18:48 -04:00
Jfreegman
e8d2f9418b fixed file sending queueing and other bugs 2013-10-18 01:35:08 -04:00
Jfreegman
34cc342010 handle duplicate files and another bug fix 2013-10-17 22:20:40 -04:00
Jfreegman
2ff1da396c refactored file saving/fixed bugs 2013-10-17 19:53:29 -04:00
Jfreegman
973bd3f396 save files to original name and some bug fixes 2013-10-17 06:13:28 -04:00
Jfreegman
7046772a03 fixed friend requests queueing 2013-10-16 17:59:56 -04:00
Jfreegman
958e77660e removed unneeded var, small fixes 2013-10-16 05:00:27 -04:00
Jfreegman
5f3293bfec fmove file send success message to chat window 2013-10-16 01:55:35 -04:00
Jfreegman
371fbc87a5 refactored sendfile and invite commands to not require names and to only work in chat windows 2013-10-13 19:09:20 -04:00
Jfreegman
75d356e52a format fixes 2013-10-11 04:42:30 -04:00
Jfreegman
17aead45ed put repeated code for printing time into a function 2013-10-11 01:11:43 -04:00
Jfreegman
2cff7c8b89 updated version 2013-10-11 00:32:00 -04:00
Jfreegman
ce302d2410 fix 2013-10-11 00:28:47 -04:00
Jfreegman
e60e4f4727 implemented file receving 2013-10-11 00:23:39 -04:00
Jfreegman
cb396c0e7c Implemented file sending 2013-10-10 04:52:05 -04:00
Jfreegman
8a2ffcd0ff fixed status bugs and made them case insensitive 2013-09-28 01:20:43 -04:00
Jfreegman
4ffb98dcdb make correct error message print 2013-09-27 22:12:52 -04:00
Jfreegman
38f6f446c4 bug and format fixes 2013-09-27 19:55:11 -04:00
Jfreegman
49a10e5a40 use touchwin instead of mvwin and this doesn't need its own function 2013-09-27 16:14:43 -04:00
irungentoo
7da72b79ef Added define that fixes text not being visible on rxvt-unicode. 2013-09-26 09:51:21 -04:00
irungentoo
e51ebd9c7c Attempted fix for setting bg color. 2013-09-26 08:51:12 -04:00
irungentoo
0c3767762e Fixed backspace key bug on xterm when toxic is compiled with widechar. 2013-09-26 07:52:17 -04:00
Jfreegman
7de4089695 oops 2013-09-26 00:35:50 -04:00
Jfreegman
39fc54972a > not having green text 2013-09-26 00:33:51 -04:00