]> Devoid-pointer.net GitWeb - KLGD.git/log
KLGD.git
9 years agoBe more thread-safe in error handling master
Michal Malý [Sun, 4 Oct 2015 12:50:59 +0000 (14:50 +0200)]
Be more thread-safe in error handling

9 years agoRemove the "mutex_trylock" hack
Michal Malý [Sat, 26 Sep 2015 17:51:51 +0000 (19:51 +0200)]
Remove the "mutex_trylock" hack

9 years agoAdd a "spinning" alternative to plugin locking (might not be a good
Michal Malý [Wed, 23 Sep 2015 16:01:04 +0000 (18:01 +0200)]
Add a "spinning" alternative to plugin locking (might not be a good
idea!)

9 years agoDocumentation incorrectly mentioned spinlocks instead of mutexes
Michal Malý [Sun, 16 Aug 2015 13:28:57 +0000 (15:28 +0200)]
Documentation incorrectly mentioned spinlocks instead of mutexes

9 years agoExport klgd_free_command()
Michal Malý [Sun, 16 Aug 2015 13:27:03 +0000 (15:27 +0200)]
Export klgd_free_command()

9 years agoUse more flexible format of user data in klgd_command struct
Michal Malý [Wed, 12 Aug 2015 08:53:55 +0000 (10:53 +0200)]
Use more flexible format of user data in klgd_command struct

9 years agoMerge https://github.com/MadCatX/LinuxFF-KLGD
Michal Malý [Tue, 11 Aug 2015 23:47:13 +0000 (01:47 +0200)]
Merge https://github.com/MadCatX/LinuxFF-KLGD

9 years agoExtend user data in klgd_command struct by a union of either two u32 or
Michal Malý [Tue, 11 Aug 2015 22:45:24 +0000 (00:45 +0200)]
Extend user data in klgd_command struct by a union of either two u32 or
a pointer to arbitrary data.

9 years agoSimplify handling of partial failures when the command stream is built
Michal Malý [Tue, 11 Aug 2015 22:33:21 +0000 (00:33 +0200)]
Simplify handling of partial failures when the command stream is built

9 years agoAllow for arbitrary data to be stored with KLGD commands.
Michal Malý [Sun, 9 Aug 2015 16:51:06 +0000 (18:51 +0200)]
Allow for arbitrary data to be stored with KLGD commands.

9 years agoMerge pull request #2 from Eliasvan/patch-1
MadCatX [Sun, 9 Aug 2015 16:33:08 +0000 (18:33 +0200)]
Merge pull request #2 from Eliasvan/patch-1

Fix small typo in README

9 years agoFix small typo in README
Elias Vanderstuyft [Fri, 7 Aug 2015 12:16:50 +0000 (14:16 +0200)]
Fix small typo in README

9 years agoMerge pull request #1 from Eliasvan/master
MadCatX [Mon, 3 Aug 2015 06:51:04 +0000 (08:51 +0200)]
Merge pull request #1 from Eliasvan/master

Render images in doc.

9 years agoUpdate README.md
Elias Vanderstuyft [Mon, 3 Aug 2015 05:53:56 +0000 (07:53 +0200)]
Update README.md

Swap SVGs with PNGs.

9 years agoExport SVGs to PNGs for GitHub to properly render README.
Elias Vanderstuyft [Mon, 3 Aug 2015 05:52:14 +0000 (07:52 +0200)]
Export SVGs to PNGs for GitHub to properly render README.

9 years agoMerge branch 'master' of devoid-pointer.net:KLGD
Michal Malý [Sat, 1 Aug 2015 23:13:42 +0000 (01:13 +0200)]
Merge branch 'master' of devoid-pointer.net:KLGD

9 years agoStart work on improved error handling
Michal Malý [Sat, 1 Aug 2015 23:12:11 +0000 (01:12 +0200)]
Start work on improved error handling

9 years agoAdd documentation files.
Michal Malý [Mon, 27 Jul 2015 20:50:25 +0000 (22:50 +0200)]
Add documentation files.

9 years agoCreate LICENSE.md
MadCatX [Mon, 27 Jul 2015 10:56:36 +0000 (12:56 +0200)]
Create LICENSE.md

9 years ago- Set TRYAGAIN delay in milliseconds
Michal Malý [Sun, 26 Jul 2015 14:41:31 +0000 (16:41 +0200)]
- Set TRYAGAIN delay in milliseconds
- Improve debugging output

10 years agoReturn ints from stream manipulation functions for better error handling
Michal Malý [Fri, 19 Sep 2014 23:42:16 +0000 (01:42 +0200)]
Return ints from stream manipulation functions for better error handling

10 years agoExport append_stream() and free_stream()
Michal Malý [Thu, 18 Sep 2014 07:28:39 +0000 (09:28 +0200)]
Export append_stream() and free_stream()

10 years agoAdd quirk to prevent freeing of a plugin by KLGD.
Michal Malý [Thu, 28 Aug 2014 10:45:39 +0000 (12:45 +0200)]
Add quirk to prevent freeing of a plugin by KLGD.

10 years agoCheck fur null pointers in klgd_deinit()
Michal Malý [Wed, 27 Aug 2014 10:01:42 +0000 (12:01 +0200)]
Check fur null pointers in klgd_deinit()

10 years agoExport klgd_make_command() for use by modules
Michal Malý [Tue, 26 Aug 2014 18:46:04 +0000 (20:46 +0200)]
Export klgd_make_command() for use by modules

10 years agoFix compiler warning
Michal Malý [Tue, 26 Aug 2014 18:42:28 +0000 (20:42 +0200)]
Fix compiler warning

10 years agoAdd klgd_make_command() function to create commands from already
Michal Malý [Tue, 26 Aug 2014 18:40:05 +0000 (20:40 +0200)]
Add klgd_make_command() function to create commands from already
allocated byte arrays

10 years agoRemove the helper variable
Michal Malý [Tue, 26 Aug 2014 00:20:06 +0000 (02:20 +0200)]
Remove the helper variable

10 years ago- Allocate struct klgd_command correctly
Michal Malý [Mon, 25 Aug 2014 23:52:28 +0000 (01:52 +0200)]
- Allocate struct klgd_command correctly
- Prevent modification of bytes pointer in struct klgd_command

10 years agoFree command stream once its processed
Michal Malý [Wed, 13 Aug 2014 16:39:03 +0000 (18:39 +0200)]
Free command stream once its processed

10 years agoRework the command sending logic so that the actual command submission
Michal Malý [Wed, 13 Aug 2014 15:18:46 +0000 (17:18 +0200)]
Rework the command sending logic so that the actual command submission
is always asynchronous to plugin state changes.

This requires the HW-spec driver to use synchronous ways of delivering
commands to the device as the sumbission routine now blocks with a mutex
held until the HW-spec submission function returns.

10 years agoAllow plugins state unlocking without rescheduling
Michal Malý [Wed, 13 Aug 2014 09:54:56 +0000 (11:54 +0200)]
Allow plugins state unlocking without rescheduling

10 years agoMAJOR CHANEGS:
Michal Malý [Wed, 13 Aug 2014 08:44:40 +0000 (10:44 +0200)]
MAJOR CHANEGS:
- Add helper functions for command and stream manipulation
- Change KLGD x Plugin relationship. Plugins can and must lock the KLGD
  state when their internal data is manipulated
- Try to send the command stream again if a recoverable error occurs
  during sending

10 years agoDo not free plugins as they might be allocated statically
Michal Malý [Sun, 27 Jul 2014 15:53:04 +0000 (17:53 +0200)]
Do not free plugins as they might be allocated statically

10 years ago- Do not use printk unless we report error
Michal Malý [Sun, 27 Jul 2014 15:15:04 +0000 (17:15 +0200)]
- Do not use printk unless we report error
- Keep function definitions in alphabetical order

10 years ago- Allow for no init function in plugin
Michal Malý [Sun, 27 Jul 2014 13:56:25 +0000 (15:56 +0200)]
- Allow for no init function in plugin
- No extra data to plugin init (use private instead)
- Allow for synchronous send_command_stream() callback
- Move the module-speific macros out of the header file

10 years agoFix memory allocation checks in _init
Michal Malý [Sun, 27 Jul 2014 08:45:40 +0000 (10:45 +0200)]
Fix memory allocation checks in _init

10 years agoDo not post events to invalid plugins
Michal Malý [Sun, 27 Jul 2014 08:38:06 +0000 (10:38 +0200)]
Do not post events to invalid plugins

10 years agoDo not free empty plugin slots
Michal Malý [Sun, 27 Jul 2014 08:32:55 +0000 (10:32 +0200)]
Do not free empty plugin slots

10 years agoFix symbol exporting and qualify internal functions as static
Michal Malý [Sun, 27 Jul 2014 08:31:19 +0000 (10:31 +0200)]
Fix symbol exporting and qualify internal functions as static

10 years agoUse delayed workqueue instead of timer
Michal Malý [Fri, 25 Jul 2014 23:45:41 +0000 (01:45 +0200)]
Use delayed workqueue instead of timer

10 years agoAdd module license and description
Michal Malý [Fri, 25 Jul 2014 19:16:10 +0000 (21:16 +0200)]
Add module license and description

10 years agoFix argument for klgd_schedule_update()
Michal Malý [Fri, 25 Jul 2014 19:12:45 +0000 (21:12 +0200)]
Fix argument for klgd_schedule_update()

10 years agoImplement rudimentary deinitialization
Michal Malý [Fri, 25 Jul 2014 19:12:12 +0000 (21:12 +0200)]
Implement rudimentary deinitialization

10 years agoExport symbols for other modules to use
Michal Malý [Fri, 25 Jul 2014 19:05:24 +0000 (21:05 +0200)]
Export symbols for other modules to use

10 years agoExport klgf_notify_commands_sent()
Michal Malý [Fri, 25 Jul 2014 19:01:33 +0000 (21:01 +0200)]
Export klgf_notify_commands_sent()

10 years agoAdd some debugging output, this shall be useful quite soon
Michal Malý [Fri, 25 Jul 2014 19:00:01 +0000 (21:00 +0200)]
Add some debugging output, this shall be useful quite soon

10 years agoInitial commit
Michal Malý [Fri, 25 Jul 2014 18:56:15 +0000 (20:56 +0200)]
Initial commit