bea
0a042f78fb
redesign the window with flatlaf
2026-10-01 23:44:30 +02:00
bea
9c36b2f2a3
report movement ticks to a listener
2026-10-01 23:44:30 +02:00
bea
5bf0a5e74d
swap the fat jar to the shade plugin
2026-10-01 23:41:17 +02:00
bea
43a3251bac
decouple the key listener from the main window
2026-10-01 23:35:19 +02:00
bea
2a4795773a
feed the automation settings into the movers
2026-10-01 23:34:11 +02:00
bea
f89af040b9
track user presence by time instead of poll count
2026-10-01 23:32:08 +02:00
bea
8b869fe4e9
add a persistent settings store
2026-10-01 23:30:41 +02:00
bea
a3c750c479
keep local debug info
2026-10-01 23:26:53 +02:00
bea
77497fd9f7
clean up on cmd-q and forced exits
2026-10-01 23:10:41 +02:00
bea
b6e6080435
add copyright notice
2026-10-01 22:48:15 +02:00
bea
a2e623be70
log at info level
2026-10-01 22:48:15 +02:00
bea
cb6fad3fde
add the maven wrapper
2026-10-01 22:48:15 +02:00
bea
7982bce49f
pin assembly plugin and bump sonar plugin
2026-10-01 22:48:15 +02:00
bea
1b01320c1d
register the native hook only once
2026-10-01 22:48:15 +02:00
bea
5dc332e28d
give the mouse back when the user returns mid-movement
2026-10-01 22:48:15 +02:00
bea
4a7b4267f5
feed keyboard activity into the away detection
2026-10-01 22:48:15 +02:00
bea
10c31b6834
Merge remote-tracking branch 'origin/main'
...
# Conflicts:
# pom.xml
2026-09-29 12:24:47 +02:00
bea
e65adc314c
open every permission pane the app needs
2026-09-29 12:20:15 +02:00
bea
ca99bc0533
let the permissions dialog retry the hook
2026-09-29 12:15:47 +02:00
bea
fc526bfed5
enable native access in the packaged runtime
2026-09-29 12:11:08 +02:00
bea
93a64ca1f3
ask for permissions instead of exiting when the hook fails
2026-09-29 12:10:42 +02:00
bea
005f22c581
add jpackage profile to build a macos app
2026-09-29 12:04:06 +02:00
bea
42dc8bbda8
add menu bar tray icon
2026-09-29 12:03:20 +02:00
bea
efbd96cd92
use proper swing components
2026-09-29 12:03:04 +02:00
bea
f1b4e65998
use system look and feel
2026-09-29 12:02:53 +02:00
bea
4ea3c00916
run movements and clicks on virtual threads
2026-09-29 12:02:42 +02:00
bea
923aa74499
bump log4j to 2.26.1
2026-09-29 12:02:05 +02:00
bea
c95e660c2c
fix away detection, pause while user is present
2026-09-29 11:58:03 +02:00
bea
ed90b246d6
add first unit tests
...
the ci has always had a 'mvn test' step, but there was nothing to
test. add junit 6 and pin surefire 3.6.0, extract the os detection
into a testable fromOsName method, and cover the movement step math
- including the axis-aligned cases that used to produce infinite
steps and never converge.
2026-09-29 11:51:13 +02:00
bea
e551d24bff
fix scheduling, threading and movement bugs
...
scheduling:
- cursor mover created a new java.util.timer for every movement and never
cancelled it, leaking a live thread roughly every 10 seconds; timers are
replaced by a single shared scheduledexecutorservice with daemon threads,
shut down when the automation stops.
clicks:
- the double click sequence used thread.sleep() inside a timer task, blocking
the scheduler thread; it is now scheduled as one-shot actions on the shared
scheduler, with the same pacing as before.
- stopping the automation now also cancels in-flight movements and pending
clicks, instead of letting them run to completion.
movement math:
- when the destination shared one coordinate with the starting position, the
step on the other axis was computed as length/0 = infinity, and the stop
condition checked one axis with || instead of &&, so a movement could stop
(and click) before reaching its destination. steps are now guarded and the
movement stops only when both axes have converged.
ui and lifecycle:
- the app could not be closed: closing the window only hid it, and ESC
unregistered the hotkey without exiting. the window now exits cleanly on
close, stopping the automation and unregistering the native hook.
- toggleRunning() was called from the jnativehook thread and touched swing
components off the EDT; UI updates are now marshalled to the EDT.
- the hotkey thrashed: key repeats re-fired the toggle while ctrl+alt was
held, and any other key pressed with the combo held toggled it too. it now
fires exactly once, when the combo is completed.
away-detection (CursorMoveListener) stays intentionally unscheduled: it cannot
tell the user's movements apart from the app's own, and will be reworked in a
future iteration.
2026-09-29 11:51:06 +02:00
bea
f910caf8ef
fix broken log4j2 configuration
...
the file logger appender was removed in a previous change, but its
appenderref was left behind, making log4j2 complain about a missing
FileAppender at every startup.
2026-09-29 11:50:59 +02:00
bea
45cdabae7c
bump to jdk 25
...
replace maven.compiler.source/target with maven.compiler.release,
update ci images to maven:3-eclipse-temurin-25, and fix the jar
name pattern in the readme while at it.
2026-09-29 11:50:51 +02:00
bea
7c0a1cfb04
Merge pull request 'Update dependency org.apache.logging.log4j:log4j-core to v2.24.3' ( #3 ) from renovate/org.apache.logging.log4j-log4j-core-2.x into main
...
continuous-integration/drone/push Build is passing
Reviewed-on: #3
2025-03-23 12:28:22 +01:00
bea
550446c439
Merge pull request 'Update dependency org.apache.logging.log4j:log4j-api to v2.24.3' ( #2 ) from renovate/org.apache.logging.log4j-log4j-api-2.x into main
...
continuous-integration/drone/push Build is passing
Reviewed-on: #2
2025-03-23 12:28:14 +01:00
bea
825e1aa700
Merge pull request 'Configure Renovate' ( #1 ) from renovate/configure into main
...
continuous-integration/drone/push Build is passing
Reviewed-on: #1
2025-03-23 12:09:53 +01:00
bea
f90ad4af5c
fix deploy!
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/production Build is passing
2025-03-09 10:40:28 +01:00
bea
a93273252a
fix deploy (:D)
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/production Build is failing
2025-03-09 00:18:48 +01:00
bea
56e2d4a6ad
fix deploy (...)
continuous-integration/drone/push Build is passing
2025-03-09 00:16:05 +01:00
bea
8606af095e
fix promote jdk
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/production Build is failing
2025-03-08 23:56:55 +01:00
bea
55fdc93557
fix promote
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/production Build is failing
2025-03-08 23:52:28 +01:00
bea
f43f21e768
only run verify ci on push
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/production Build is failing
2025-03-08 23:47:56 +01:00
bea
4f4fd21be1
fix drone deploy
continuous-integration/drone/push Build was killed
2025-03-08 23:45:48 +01:00
bea
f1c846af37
fix drone
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/production Build was killed
2025-03-08 23:40:09 +01:00
bea
9db0d86b31
fix deploy
continuous-integration/drone/push Build encountered an error
2025-03-08 23:39:31 +01:00
bea
d57d021749
implement deploy to maven repo
continuous-integration/drone/push Build is failing
2025-03-08 22:21:39 +01:00
bea
93eef9b53f
fix code smells
continuous-integration/drone/push Build is passing
2025-03-08 22:10:57 +01:00
bea
f5f976bc14
update sonar droneci command
continuous-integration/drone/push Build is passing
2025-03-08 22:06:55 +01:00
bea
d6654caafa
update pom build version
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is passing
2025-03-08 21:53:53 +01:00
bea
a770d3d0b5
update sonar java plugin version
continuous-integration/drone/push Build is failing
2025-03-08 21:48:49 +01:00
bea
b002da349b
update ci jdk to v21
continuous-integration/drone/push Build is failing
2025-03-08 20:01:06 +01:00
bea
4f9783004e
update readme
continuous-integration/drone/push Build is failing
2025-03-08 19:57:35 +01:00
bea
a0f959ed2f
update readme
continuous-integration/drone/push Build is failing
2025-03-08 19:54:52 +01:00
bea
e53dc862b6
remove file logger
2025-02-06 12:22:39 +01:00
bea
8ab50d7e81
remove ocr leftovers
continuous-integration/drone/push Build is passing
2024-08-06 10:27:20 +02:00
bea
399db2b27c
fix typo
continuous-integration/drone/push Build is passing
2024-08-06 10:24:27 +02:00
bea
7ca9431fea
start correct versioning scheme
continuous-integration/drone/push Build is passing
2024-08-06 10:22:28 +02:00
bea
86bc795fe4
update readme
continuous-integration/drone/push Build is passing
2024-08-06 10:19:09 +02:00
bea
41d414fb7e
update readme
continuous-integration/drone/push Build is passing
2024-08-06 10:16:01 +02:00
bea
8b048d71ed
update readme
continuous-integration/drone/push Build is passing
2024-08-06 10:15:32 +02:00
bea
059b445e01
update readme
continuous-integration/drone/push Build is passing
2024-08-06 10:14:06 +02:00
bea
bc14aa40fe
update readme
continuous-integration/drone/push Build is passing
2024-08-06 10:08:15 +02:00
bea
5b63e9cb29
update readme
continuous-integration/drone/push Build is passing
2024-08-06 10:00:00 +02:00
bea
19ca8a713b
update readme
continuous-integration/drone/push Build is passing
2024-08-06 09:59:31 +02:00
bea
c97a3038f2
change multiple small things
continuous-integration/drone/push Build is passing
2024-08-06 00:35:46 +02:00
bea
8ef9ea9288
Add timestamp screenshot for MacOS on debugging UI
continuous-integration/drone/push Build is passing
2024-08-05 23:52:13 +02:00
bea
bef4913447
update readme.md
continuous-integration/drone/push Build is passing
2024-08-05 23:16:58 +02:00
bea
4d2d3403d6
Fix build error
continuous-integration/drone/push Build is passing
2024-08-05 21:41:39 +02:00
bea
7cc01d9d29
Fix build error
continuous-integration/drone/push Build is failing
2024-08-05 21:38:53 +02:00
bea
c3c1b99f1b
Improve code quality
continuous-integration/drone/push Build is failing
2024-08-05 21:36:44 +02:00
bea
9ad074bb51
Optimize imports
continuous-integration/drone/push Build is passing
2024-08-05 21:30:08 +02:00
bea
a6c43fd646
Improve button and keystrokes handling
continuous-integration/drone/push Build is passing
2024-08-05 21:29:02 +02:00
bea
ab1a0a753c
Re-interrupt method
continuous-integration/drone/push Build is passing
2024-08-05 20:57:14 +02:00
bea
3e4c490183
Update gitignore
continuous-integration/drone/push Build is passing
2024-08-05 20:50:26 +02:00
bea
48f12a1640
Fix clicking on clock every X times
2024-08-05 20:50:03 +02:00
bea
b038098c3c
Refactor packages and add GUI with start button
continuous-integration/drone/push Build is passing
2024-08-05 20:39:14 +02:00
bea
9c0b3290f7
Use SecureRandom
continuous-integration/drone/push Build is passing
2024-08-05 19:28:35 +02:00
bea
d55817f463
Use logger instead of raw logging
continuous-integration/drone/push Build is passing
2024-08-05 19:25:21 +02:00
bea
7567552c1a
Do not use infinite loop
continuous-integration/drone/push Build is passing
2024-08-05 19:24:00 +02:00
bea
15bf2f80a1
Add readme
continuous-integration/drone/push Build is passing
2024-08-05 19:21:51 +02:00
bea
46265e99b1
Improve linting
continuous-integration/drone/push Build is passing
2024-08-05 19:18:44 +02:00
bea
d841288db7
Update .drone.yml
continuous-integration/drone/push Build is passing
2024-08-05 19:11:19 +02:00
bea
593603aec2
Update .drone.yml
continuous-integration/drone/push Build is failing
2024-08-05 19:10:42 +02:00
bea
e3c708e49d
Remove SonarQube from DroneCI
continuous-integration/drone/push Build is passing
2024-08-05 19:07:23 +02:00
bea
06eac10bbf
Fix config
continuous-integration/drone/push Build is failing
2024-08-05 19:06:39 +02:00
bea
2e67f9b150
Update DroneCI integration with SonarQube
continuous-integration/drone/push Build encountered an error
2024-08-05 19:05:49 +02:00
bea
64bc9a4313
Add DroneCI support
continuous-integration/drone/push Build is passing
2024-08-05 18:54:51 +02:00
bea
e4d429a88f
start
2024-08-05 18:51:10 +02:00
bea
acd4d28490
initial commit
2024-08-05 18:51:10 +02:00