iphydf
701c0e1e94
cleanup: Reduce the amount of "extern" in .c files.
...
There is no check at all that the types of externs actually match the
type of the definition. This just accidentally was not a problem, but now
the compiler helps a bit in keeping it that way.
2021-12-11 22:35:51 +00:00
jfreegman
27e20d6f44
Fix possible buffer overrun in python API
2021-11-26 18:57:40 -05:00
jfreegman
2fcbc4fa1c
Remove lots of duplicate code related to printing timestamps
2020-11-30 17:55:57 -05:00
jfreegman
312b38d253
A few small fixes
...
- Fix race condition in draw_peer()
- Handle realloc_peer_list() error
- Remove dead code in cmd_conference()
- Reduce scope of a few variable variables
- Fix possible buffer truncation in api.c
2020-11-19 14:23:32 -05:00
jfreegman
56e03a3f8b
No longer require quotes to enclose paths
2018-10-17 18:00:08 -04:00
jfreegman
0fea930c24
Convert deprecated uppercase enums to camelcase
2018-10-10 13:34:17 -04:00
jfreegman
a37bf300f9
Update astylerc to match toxcore & reformat all source files
2018-07-18 11:33:16 -04:00
jfreegman
221edb0012
add a .travis file and some build fixes
2018-02-26 02:34:38 -05:00
jfreegman
922c184195
Only include python libs when necessary
2017-06-06 19:03:40 -04:00
jfreegman
0136f22076
Fix UI bugs & format
...
This fixes a bug where lines would sometimes be incorrectly marked as unread, as well as
a bug where inbound messages would sometimes be coloured incorrectly
2017-06-01 16:46:12 -04:00
jakob
369f26932e
Fix error messages being printed when autorun_path is unset.
2017-05-23 19:12:53 -04:00
jakob
22ea522baf
Add "/run" to autocompleter and fix example Python script.
2017-05-22 20:47:56 -04:00
jakob
5ed26eda9b
Added constants to the Python interface for calls to execute.
2017-05-19 15:35:31 -04:00
jakob
6d2b90ac9f
Error reporting on failure of invoke_autoruns and solved issue with call to Py_FinalizeEx
2017-05-18 21:37:28 -04:00
jakob
02ea0fac44
get_status returns a string rather than an integer.
2017-05-17 08:39:29 -04:00
jakob
7d3d129624
Updated code style
2017-05-16 23:19:39 -04:00
jakob
b3ed8bc35c
Finalized and documented the Python scripting interface.
2017-05-16 20:31:23 -04:00
jakob
90210daca7
Python interface for getting the user's nickname/status and executing commands
2017-05-15 22:12:28 -04:00
jakob
0e13a1f1bc
Implemented a basic Python scripting engine, optional compilation.
2017-05-15 20:29:00 -04:00