Kim Woelders
048c7bd36c
comms: Simplify _CommsFindCommsWindow()
...
No need to check with XGetGeometry(). If XGetWindowProperty() succeeds
we are good.
2023-12-23 15:10:30 +01:00
Kim Woelders
a85954ad53
comms: Some trivial changes
2023-12-23 14:53:44 +01:00
Kim Woelders
9561cc6cdc
comms: Refactor atom handling code
2023-12-23 14:52:39 +01:00
Kim Woelders
4ff99896e0
api: Move comms stuff to separate file
2023-12-23 13:53:13 +01:00
Kim Woelders
d7b1d0c813
api: Cosmetics
...
- Rename ECommsGet() to CommsHandleClientMessage()
- Rename ECommsWaitForMessage() to CommsWaitForMessage()
- Normally use Epplet_wait_for_ipc(), not CommsWaitForMessage() internally
2023-12-16 17:12:32 +01:00
Kim Woelders
59b3428054
api: Enable launching epplets into window mode e16
2023-12-16 17:12:32 +01:00
Kim Woelders
3a0345032f
api: Eliminate redundant dd
2023-12-11 19:06:28 +01:00
Kim Woelders
1ee805ce65
api: Simplify Estrdup()
...
Assume we have strdup() like everywhere else in the epplets code.
2023-12-11 19:06:28 +01:00
Kim Woelders
917c8f8b84
api: Use InputOnly window for comms
2023-12-11 19:06:28 +01:00
Kim Woelders
ab7d23cab1
spec file: Drop ancient obsoletes
2023-12-11 19:06:27 +01:00
Kim Woelders
f96b9c3b66
autofoo: Drop pkg_revision, cleanups
2023-12-11 19:06:27 +01:00
Kim Woelders
8b60be897b
autofoo: Rework git tag/release stuff
...
- Add 'release' target to make dist without git tag in rpm name and
version string.
- Use .git-src (not .git) to test if we are building from git.
(Now same as e16 and others).
2023-12-11 19:06:27 +01:00
Kim Woelders
b79b167d28
E-Exec.c: Cosmetics
2023-12-11 19:04:20 +01:00
Kim Woelders
b57411ca2b
api: Introduce Epplet_wc_callback_t
...
Avoiding some indent instability.
2023-12-11 19:04:20 +01:00
Kim Woelders
1c619b8e56
Change formatting style
...
No tabs, more like K&R.
Also switch to indent 2.2.13.
2023-12-11 19:04:20 +01:00
Andrew Savchenko
a700d6b982
Include <sys/select.h> for fd_set
...
When fd_set is used <sys/select.h> should be included.
On glibc it is done implicitly via other headers,
on musl it must be explicitly provided.
Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
2022-08-01 19:33:33 +02:00
Kim Woelders
429be12d46
Add date and git tag (if built from git checkout) to rpm file name
2022-03-10 08:36:00 +01:00
Kim Woelders
5204d9f184
E-Slides: Use non-deprecated IPC commands
2022-03-10 07:46:05 +01:00
Kim Woelders
ef5b344116
Change Epplet_send_ipc() to printf() style
...
And eliminate ECommsSend().
2022-03-10 07:46:01 +01:00
Kim Woelders
a95cebeea1
api.c: Avoid graphics exposure events
2022-01-22 17:35:35 +01:00
Kim Woelders
513441bb49
Version 0.17
2022-01-18 21:05:20 +01:00
Kim Woelders
cccf876f07
New ChangeLog, drop ancient ones
...
Using script to gerenate ChangeLog from the git log, starting from first
version tag.
2022-01-18 20:23:50 +01:00
Kim Woelders
18f79e7ef4
Fix gcc12 warning
...
Also change malloc/memset to calloc and remove some unnecessary casts.
2022-01-18 18:54:31 +01:00
Kim Woelders
23cb0977a4
Trivial cleanups around *alloc functions
...
- Replace malloc+memset with calloc
- Remove unnecessary casts
- Some cosmetics
2022-01-18 18:51:43 +01:00
Kim Woelders
acefe58f1b
E-Net: Enable specifying device in config (no UI).
2021-09-03 06:08:40 +02:00
Kim Woelders
397463459b
Fix bad memory access in draw_flame()
2021-09-02 19:58:04 +02:00
Kim Woelders
284a5039f9
E-Pinger: Fix potential buffer overrun
2021-09-02 19:58:04 +02:00
Kim Woelders
4f25ca8cd2
E-Wireless: Fix bad memory access
...
And a couple of cleanups.
2021-09-02 19:58:04 +02:00
Kim Woelders
beae0b229a
E-Mountbox: Fix potential segv when parsing /etc/fstab
2021-09-02 19:58:04 +02:00
Kim Woelders
c6c19d3411
E-MemWatch: Drop ancient (<2.6) kernel support (fixing bad memory access)
2021-09-02 19:58:04 +02:00
Kim Woelders
9e2045a54b
Epplet_load_config(): Fix memory leak when called more than once
2021-09-02 19:57:55 +02:00
Kim Woelders
b09b798681
Bump .so file version (added symbols)
2021-09-02 07:16:31 +02:00
Kim Woelders
b76845e265
Introduce Epplet_Exit()
...
Avoiding some code duplication.
2021-09-02 07:16:31 +02:00
Kim Woelders
b436df8d7a
Centralize setting up atexit(Epplet_cleanup)
2021-09-02 07:16:31 +02:00
Kim Woelders
d1ca9c1c1c
Drop pointer test for free()
2021-09-02 07:16:30 +02:00
Kim Woelders
87a3dbceac
Change E[v]snprintf -> [v]snprintf
2021-08-31 07:49:36 +02:00
Kim Woelders
9cb4561227
Indent tweaks, cleanups
2021-08-31 07:47:46 +02:00
Kim Woelders
9d0e6438db
Drop unnecessary headers
2021-08-31 07:11:23 +02:00
Kim Woelders
83e1e71bee
Introduce Epplet_adjust_priority()
...
Avoiding some code duplication.
2021-08-31 07:11:23 +02:00
Kim Woelders
a128ce65ce
Drop snprintf source
...
Nobody hasn't got that these days.
Also drop some unused autofoo stuff.
2021-08-31 07:11:23 +02:00
Kim Woelders
b0cbcb1f8a
Add option to build with asan
2021-08-31 07:11:11 +02:00
Kim Woelders
b0192f9165
Drop old hint stuff
...
Has probably been obsolete for more than a decade by now.
2021-08-23 14:40:42 +02:00
Kim Woelders
c0fb557700
Drop obsolete AC_HEADER_SYS_WAIT
2021-08-23 14:40:42 +02:00
Kim Woelders
901f4af699
Eliminate obsolete AC_HEADER_TIME
2021-03-26 16:33:08 +01:00
Kim Woelders
effc4cc774
Use fabs(), not abs() on doubles
2020-12-09 18:05:49 +01:00
Kim Woelders
9b37aee247
configure.ac: Drop unnecessary prefix stuff
2020-03-07 10:26:53 +01:00
Kim Woelders
e3e1717145
Fix incorrect check for __attribute__ ((unused)))
...
Worked with gcc which allows nested functions but not with
clang-analyzer which doesn't.
2020-02-08 08:41:32 +01:00
Kim Woelders
3274b92440
autogen.sh: Add -n as alternative to NOCONFIGURE
2020-02-08 08:41:32 +01:00
Kim Woelders
a17caca4c7
Update .gitignore
2020-02-08 08:41:32 +01:00
Kim Woelders
0d88c6d795
Enable visibility hiding by default
...
Makes next to no difference in sizes.
Let's just do it anyway.
2019-03-13 19:25:12 +01:00