Přemysl Eric Janouch
ab5ca0cf8b
Elaborate on avoiding XDG_RUNTIME_DIR
2020-10-26 23:09:23 +01:00
Přemysl Eric Janouch
f699b89dad
Reorder headers
2020-10-02 02:08:39 +02:00
Přemysl Eric Janouch
9244d2b657
Write a start marker to the DB event table
2020-10-02 01:55:46 +02:00
Přemysl Eric Janouch
4302fc4baf
Use an empty string rather than "broken"
...
If we fail to retrieve the title, then there is no title,
though this doesn't mean the same as "no window",
for which we have NULL.
2020-10-02 01:50:37 +02:00
Přemysl Eric Janouch
764dbaa126
Nullify a NULL concern
...
sqlite3_bind_text() is documented to bind NULL.
2020-10-02 01:37:08 +02:00
Přemysl Eric Janouch
7d4695d8bd
Ensure the inactivity alarm is launched on startup
...
We forgot to flush.
2020-10-02 01:32:19 +02:00
Přemysl Eric Janouch
3482ee66a3
Watch changes of WM_CLASS
...
There may be some interesting information in there.
Sometimes it may be hard to identify applications by their title.
2020-10-02 01:31:46 +02:00
Přemysl Eric Janouch
86b0579cb7
Write events to the SQLite database
2020-09-25 07:20:49 +02:00
Přemysl Eric Janouch
27a63e3414
Collect events in the main thread
2020-09-25 06:45:27 +02:00
Přemysl Eric Janouch
3dd4e69235
Update README.adoc
...
The last commit failed to update documentation.
2020-09-25 05:36:08 +02:00
Přemysl Eric Janouch
6e3f3c950d
Convert from Xlib xcb
...
This will make it easier to convert this project to Go/xgb later,
even though the SYNC extension isn't currently supported there.
So far unresolved: error handling.
2020-09-25 05:26:46 +02:00
Přemysl Eric Janouch
93c61425b3
Cleanup
2020-09-23 16:47:03 +02:00
Přemysl Eric Janouch
60bfaa1a97
Convert main source file from Vala to C
...
Bindings are incredible pain, this will be much easier.
2020-09-23 16:00:06 +02:00
Přemysl Eric Janouch
0d35950715
Bind to a control socket
...
So far using a lockfile, which kind of sucks.
We're going to connect to DBus directly, so we'll see
if it can't be used for our purposes in a simple way.
2020-09-22 23:39:58 +02:00
Přemysl Eric Janouch
e2d91aae1c
Use a GTK+ main loop, generate events in a thread
2020-09-22 23:39:57 +02:00
Přemysl Eric Janouch
b8242ff3c2
Open a database for writing, create a table
2020-09-22 14:11:10 +02:00
Přemysl Eric Janouch
906b45982c
Push events to an asynchronous queue, timestamped
2020-09-22 14:08:19 +02:00
Přemysl Eric Janouch
c9795fe01a
Add ability to build with Meson
...
So that vala-language-server can be used, see also
https://github.com/benwaffle/vala-language-server/issues/73
Works with both vim-lsp and Qt Creator, to some extent.
2020-09-17 09:20:39 +02:00
Přemysl Eric Janouch
487ea01334
Name change
2020-09-17 09:14:05 +02:00
Přemysl Eric Janouch
e80c8b5d86
README: mention a similar project
2018-06-30 07:48:35 +02:00
Přemysl Eric Janouch
bacd8f4013
Fix project version propagation
2018-06-24 05:35:16 +02:00
Přemysl Eric Janouch
02dce40afc
Update README
2018-06-24 05:34:05 +02:00
Přemysl Eric Janouch
5bd9844317
Relicense to 0BSD, update mail address
...
I've come to the conclusion that copyright mostly just stands in the way
of software development. In my jurisdiction I cannot give up my own
copyright and 0BSD seems to be the closest thing to public domain.
The updated mail address, also used in my author/committer lines,
is shorter and looks nicer. People rarely interact anyway.
2018-06-24 05:33:30 +02:00
Přemysl Eric Janouch
f611478ce4
CMakeLists.txt: fix variable name
2018-06-24 05:32:44 +02:00
Přemysl Eric Janouch
9a71c412e7
Fix and update LICENSE
2017-02-03 23:17:53 +01:00
Přemysl Eric Janouch
b8c929d3f4
Wrap lines in xext.vapi
2016-10-18 17:34:46 +02:00
Přemysl Eric Janouch
9d277c97d7
Rename xsync.vapi to xext.vapi
...
Since it also contains other stuff, the name is no longer appropriate.
2016-10-18 17:34:46 +02:00
Přemysl Eric Janouch
377fe478e2
Make Vala builds efficient under make, too
...
And some further finishing touches.
2016-10-18 17:34:42 +02:00
Přemysl Eric Janouch
6636df643e
Make Vala builds efficient with Ninja
2016-10-18 17:34:42 +02:00
Přemysl Eric Janouch
8052b2b754
Fix the Vala module for CMake
...
It failed to depend on local vapis. At least I understand it again.
2016-10-18 17:34:42 +02:00
Přemysl Eric Janouch
71617d4b14
Initial commit
2016-10-18 17:34:41 +02:00