janechat

Timeline
Login

Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 most recent check-ins

2026-07-22
13:05
src/ui-curses.c: ignore spaces at the beginning of the message and control characters anywhere when sending a message. leaf check-in: b1ce320239 user: silas tags: trunk
2025-09-23
12:38
src/janechat-attachment-handler.sh: prefer using run-mailcap over xdg-open check-in: de35eb9d70 user: silas tags: trunk
2025-09-20
16:34
src/janechat-attachment-handler.sh: try using xdg-open to open attachments. check-in: 545563c33f user: silas tags: trunk
2025-09-15
20:35
src/matrix.c: in matrix_login_alloc(), return NULL if matrix_send_sync_alloc() fails. check-in: d6c59cf35d user: silas tags: trunk
20:30
src/main.c: be more generic about possible reasons why log in failed. check-in: e03f3e657f user: silas tags: trunk
20:18
configure: fix handling of --enable-debug parameter. check-in: 4b8e3fd164 user: silas tags: trunk
2025-07-22
13:35
src/janechat-attachment-handler.sh: add audio/mpeg check-in: 777b1ac3b7 user: silas tags: trunk
2025-06-28
21:45
src/ui-curses.c: add the case when backspace is ASCII octal 008 character. check-in: 1b2c4e8464 user: silas tags: trunk
2025-06-22
22:20
configure: truncate config.h when running configure script again check-in: b33064dfb9 user: silas tags: trunk
2025-04-28
22:18
src/rooms.c: Improve comment. check-in: 9d75de782d user: silas tags: trunk
22:03
src: check if the user is already added to the run before trying to add they. Adds a new static function str_ss_eq() that compares two Str* objects. check-in: b5607a2756 user: silas tags: trunk
2025-04-27
14:45
src: Change what we did in [d5f5c68557]. Prefer not to assert the output of janechat-attachment-handler.sh at all. In practice, it makes implementing janechat-attachment-handler.sh easier and janechat handles gracefully the case when janechat-attachment-handler.sh exit with status 1, by doing nothing (because, then, it just calls janechat-attachment-handler.sh open subcommand, which does nothing if the file doesn't exist anyway). With old asserts, janechat was being aborted if we forgot to add a mimetype in janechat-attachment-handler.sh. check-in: cd1e26499e user: silas tags: trunk
14:34
src/janechat-attachment-handler.sh: prefer mpv over mplayer for audio and video files. check-in: 14e646aeee user: silas tags: trunk
14:33
src: when trying to view attachments, correctly handle the case when mimetype is not registered in janechat-attachment-handler.sh check-in: d5f5c68557 user: silas tags: trunk
14:15
src: Allow the user to set chatroom names in the client (janechat) in displayname variable. We don't try to set its name in the server anymore (so, delete matrix_set_room_name() function). Also, make calculated name be set in calculatedname variable (not in displayname variable anymore) and show it if neither displayname and name are set. check-in: 3d2095c793 user: silas tags: trunk
2025-04-25
21:37
Add compile level constants to config.h. check-in: b9b856d403 user: silas tags: trunk
21:31
Allow one to compile janechat with SSL (HTTPS) disabled, i.e., it will use plain HTTP. check-in: af982c8f6f user: silas tags: trunk
2024-10-23
00:34
tests/ui/ui-curses-fake.c: add messages to room in order to test curses UI. check-in: 82fdae12c2 user: silas tags: trunk
00:33
src/ui-curses.c: change line calculation logic to work with different curses implementations. See comments in the code for more information. check-in: 870c358efa user: silas tags: trunk
2024-07-18
16:29
src: Make inline functions static. See https://stackoverflow.com/questions/7762731/whats-the-difference-between-static-and-static-inline-function check-in: 13ffd58377 user: silas tags: trunk
16:18
src/Makefile: use gcc -std=gnu11 to include PATH_MAX in Alpine Linux check-in: d97bd3aa94 user: silas tags: trunk
16:11
Move debug feature to configure. We did this in [e8d80c1246] but forgot about CFLAGS. check-in: a07c4ac754 user: silas tags: trunk
16:07
src/matrix.h: include sys/select.h for fd_set definition. check-in: eb34eac81a user: silas tags: trunk
16:00
src/Makefile: reorganize compiler flags to work under Linux. check-in: 0e8e10daa2 user: silas tags: trunk
15:57
Move sanitizers and debug configuration to configure script. check-in: e8d80c1246 user: silas tags: trunk
2022-12-14
22:31
Create the "set sessionmute" and "unset sessionmute" commands to mute/unmute a room for the current session only (on the client, not on the server). check-in: b2e1092979 user: silas tags: trunk
2022-11-01
15:57
Support opening audio/mp4 files as well check-in: 1eddfff60e user: silas tags: trunk
2022-10-28
16:28
Support different forms of the audio/ogg mimetype check-in: 8e93a35531 user: silas tags: trunk
2022-10-25
13:53
Implement visualization of m.notice events check-in: cb7dbd05ca user: silas tags: trunk
13:40
Add a security feature by disabling protocols other than HTTPS. Thanks https://news.ycombinator.com/item?id=33306378 check-in: 1120f21fef user: silas tags: trunk
2022-10-24
22:24
After renaming a room, an m.room.name event is delivered in the timeline. Our filter was excluding it from /sync response and it let us a confusing why we weren't getting this event. After fixing the filter, other issues (documented withe TODO entry) were resolved. check-in: 7cc8650d4d user: silas tags: trunk
14:35
Add TODO entries to be solved later about HTTP_PUT requests not always working. check-in: 8ff1f88051 user: silas tags: trunk
14:33
Support renaming of a room check-in: 314265176f user: silas tags: trunk
13:43
Create json_object_build() and json_array_build() which allow us to build json_t* objects in a recursive manner, still C-idiomatic, but more akin to real JSON. check-in: 97b4e05aa9 user: silas tags: trunk
2022-10-22
22:18
Implement notify/dont_notify push rules. It was previously set client-side. Create new Matrix and UI events and also use curl's HTTP_PUT. check-in: 02ce52444f user: silas tags: trunk
13:03
Add workaround to update room display name after a new user joins it. Specially useful for direct message rooms. check-in: 36b689cc27 user: silas tags: trunk
13:02
Free variable as early as possible check-in: 0146dc6041 user: silas tags: trunk
12:40
Forgot to free json object here check-in: 4c88de7580 user: silas tags: trunk
12:38
Implement very basic reply to invites: just join the room we were invited to! check-in: e0fc8c849b user: silas tags: trunk
2022-09-24
18:54
Improve tests organization even better, now separated by directories check-in: b9f97c583f user: silas tags: trunk
18:26
Make better separation of unit tests and UI tests check-in: 67171929c6 user: silas tags: trunk
15:44
Allow developer to specify a different protocol schema and port in order to be able to connect to a test server, running on plain HTTP and different port. check-in: af89d0dbf0 user: silas tags: trunk
15:01
Delete debug line that was forgotten check-in: 47ce17a8c2 user: silas tags: trunk
2022-09-22
15:57
Start implementing room replacement supported by Matrix leaf check-in: a27c69496f user: silas tags: z/feat/matrix-room-replacement
15:34
Rename "space" -> "is_space" to indicate if the room is a Matrix space. This nomenclature is better for boolean vars. check-in: 59596b9bb5 user: silas tags: trunk
2022-09-20
19:01
Update tests check-in: b10f6f1193 user: silas tags: trunk
17:51
Fix scrolling problem. This bug happened when last message was being shown and the user it tried to scroll up. Instead of scrolling up half of a page (with CTRL-B), janechat showed messages from the first one. This was because top_line is a special case that was not handled correctly. Besides that, add tests for this case and add a [ctrl] function to virtterm so we can emulate CTRL sequences. check-in: d15d0da1b5 user: silas tags: trunk
2022-09-13
16:09
Add list of dependencies check-in: 82ef86400c user: silas tags: trunk
2022-09-10
14:48
Reorganize stuff Detail TODO entry better. Resort procs so we can call [term_clear] from [force_resize]. Make [term_clear] reset ::row and ::column too. check-in: a62b228cd6 user: silas tags: trunk
14:26
Add -. flag to feh, to scale image so it fits window size check-in: e28e6fa260 user: silas tags: trunk