summaryrefslogtreecommitdiff
path: root/testing/toxic/prompt.c
AgeCommit message (Collapse)Author
2013-08-21Merge pull request #512 from manuel-arguelles/toxic_unicodeirungentoo
Add wide char support in toxic (issue #440)
2013-08-21Add wide char support in toxic (issue #440)Manuel Argüelles
Set current locale, use of get_wch instead of getch for reading, use wctomb and friends to convert back from wchar_t, link with cursesw. Unicode support is only added to chat windows.
2013-08-21Fixed segfault and added support for single quotes in toxicSanket Parmar
2013-08-20astyle --options=tools/astylerc -r ./*.{c,h}irungentoo
2013-08-20Refactor of core done.irungentoo
2013-08-20More refactoring done.irungentoo
2013-08-20fixed space handling in commands (issue #495)Michael Rose
2013-08-18Merge branch 'tox-bugs' of https://github.com/stqism/ToxCore into ↵irungentoo
stqism-tox-bugs
2013-08-18Ran it through astyleSean Qureshi
2013-08-18remove callback introduced temporarily during refactoringAaron Lipinski
2013-08-17Messenger stores / loads nicknameMichael Rose
new toxic command to show nickname (mynick)
2013-08-16Passed everything through astyle.irungentoo
2013-08-15Merge fixMichael Rose
2013-08-14small bug fixesJfreegman
2013-08-14Merge branch 'patch-6' of https://github.com/Astonex/ProjectTox-Core into prirungentoo
2013-08-15remove externs in favor of includesAaron Lipinski
2013-08-15prefer param over staticAaron Lipinski
Conflicts: testing/toxic/main.c
2013-08-14Update prompt.cAstonex
Make id uppercase.
2013-08-14Have toxic handle new no-spam values from friend requestAaron Lipinski
2013-08-13Fixed spam problem. (I broke the API so this will not build)irungentoo
The friend address is what the byte string that you give away for people to add you will be called. 1. Every friend address now contains a number set by the friend. This is to prevent someone from randomly spamming people in the DHT with friend requests and makes it so you need the person to actually give you the address in some way to send the friend request. This number is expected to be encrypted with the friend request. All requests that do not contain this number will be rejected. This means the spammer can no longer use the DHT to collect lists of valid addresses to spam. It also enables users to quickly change the number in case a spammer gets hold of the address and starts spamming it. 2. A 2 byte checksum will be added (not implemented yet) to prevent people from accidentally adding random strings as friends. (NOTE that this has nothing to do with the spam problem I just decided to add a placeholder for it now.)
2013-08-12Messenger refactor - redid work from pull request 79Chris Hall
Moves static state out of Messenger.c and into a Messenger struct Purely stylistic, no functional changes were made. This commit also changed all the callers of Messenger as they now have to pass an instance of the Messenger struct to messenger functions. Also removed some uses of the 'static' keyword at the beginning of function definitions when the function was already declared static, as these caused gcc to whine.
2013-08-10make argument handling (esp. of strings) more robustlukechampine
2013-08-09make toxic handle input in a more sane mannerLuke Champine
2013-08-08Merge pull request #393 from Nominate/patch-1irungentoo
Removed superfluous statusmsg
2013-08-08Removed superfluous statusmsgNominate
Users can just respecify their status with a message. This will also encourage users to think about which status is actually appropriate instead of just leaving the status alone.
2013-08-08oopsJfreegman
2013-08-08fix magic numbersJfreegman
2013-08-07Merge branch 'master' of http://github.com/irungentoo/ProjectTox-CoreMaxim Biro
Conflicts: core/Messenger.c core/Messenger.h
2013-08-07Merge branch 'master' of https://github.com/stqism/ProjectTox-Core into ↵irungentoo
pull-requests Conflicts: testing/toxic/prompt.c
2013-08-07Modified clients to properly work with the changesMaxim Biro
2013-08-07Manually merged prompt.c to upstreamSean Qureshi
2013-08-07Merge branch 'read-receipt' of https://github.com/stal888/ProjectTox-Core ↵irungentoo
into pull-requests Conflicts: testing/toxic/chat.c testing/toxic/prompt.c
2013-08-07Check for correct error value in toxic.Sebastian Stal
2013-08-07Fixed it not compilingSean Qureshi
2013-08-07Merge branch 'provide-status-type' of ↵irungentoo
https://github.com/jin-eld/ProjectTox-Core into pull-requests
2013-08-07Allow to set a specific userstatus type in toxicjin-eld
Use: status <type> <message>, where type is one of online away busy offline The message parameter is optional. To set only the status message, as it was before, use: statusmsg <message>
2013-08-07Manually merged my earlier commits with upstreamSean Qureshi
2013-08-07testing/toxic/prompt.c: changed execute() to ignore whitespace at end of ↵ptrasd
commands
2013-08-07testing/toxic/prompt.c: changed execute() to skip whitespace at start of commandptrasd
2013-08-06code format/clean upJfreegman
2013-08-06Merge branch 'master' of https://github.com/JFreegman/ProjectTox-Core into ↵irungentoo
JFreegman-master Conflicts: testing/toxic/prompt.c
2013-08-06Fixed formattingNominate
2013-08-06Update prompt.cNominate
2013-08-06Corrected wrap-aroundNominate
This should allow wrap-around and allow proper execution.
2013-08-06Stops line-spamming and clears before printing helpNominate
This addresses one issue in #340 perfectly and slightly improves the other.
2013-08-05Merge pull request #341 from stal888/userstatus-extirungentoo
An extension to user statuses.
2013-08-05chat window deleting and re-adding - it just werksJfreegman
2013-08-05Make test clients compatible with userstatus kindsSebastian Stal
No features were added, just fixed callbacks.
2013-08-05Grammar/aesthetic amendmentNominate
2013-08-05Added a 'clear' function to the promptNominate