History log of /haiku/src/add-ons/input_server/filters/shortcut_catcher/KeyInfos.cpp
Revision Date Author Comments
# 6e0950ff 16-Dec-2022 Jérôme Duval <jerome.duval@gmail.com>

Shortcuts: accept consumer keys for shortcuts

for now the hexadecimal code will be displayed.

Change-Id: Id5594f2d806cbd391ece8740332947e92814e238
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5915
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>


# 8f5c2071 23-Jul-2020 Adrien Destugues <adrien.destugues@opensource.viveris.fr>

Avoid Tracker crashes when input_server is broken

Missing error checks when calling input_server can lead to Tracker
crashes.
Add the missing error checks.

Thanks to mmlr for helping investigate the problem!

Change-Id: Ie7f3e00c1267b594eafc77a1613e186cf38e5277
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3068
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 3aeed660 07-Aug-2014 Jérôme Duval <jerome.duval@gmail.com>

include strings.h where appriopriate...

instead or additionally to string.h, in preparation for functions move.
* moves str[n]casecmp() functions and others to strings.h.
* strings.h doesn't include string.h anymore.
* this solves #10949


# 1ecf19b8 12-Jun-2014 John Scipione <jscipione@gmail.com>

shortcut_catcher: style overhaul


# d323ad67 06-Jun-2013 Jérôme Duval <jerome.duval@gmail.com>

shortcut_catcher: fixed out of bounds access and a sign warning.

* normal_map is an array with a length of 128


# 74983a5f 07-Jan-2012 Philippe Saint-Pierre <stpere@gmail.com>

shortcut_catcher: memory leak fixes

memory allocated in get_key_map(..) wasn't released.

CID 5696, CID 5697, CID 1699, CID 1700


# be2b0592 30-Oct-2009 Fredrik Modeen <fredrik@modeen.se>

So here it goes..
I hope I have fixed all parts that don't follow our guidelines. (that python script was good start)
This is the filter..

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33847 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3aeed6607cd07762c0e709633c012b3a632dbad9 07-Aug-2014 Jérôme Duval <jerome.duval@gmail.com>

include strings.h where appriopriate...

instead or additionally to string.h, in preparation for functions move.
* moves str[n]casecmp() functions and others to strings.h.
* strings.h doesn't include string.h anymore.
* this solves #10949


# 1ecf19b82f7ebecaebf9611cd11badaa09fae087 12-Jun-2014 John Scipione <jscipione@gmail.com>

shortcut_catcher: style overhaul


# d323ad67085f21c23ef9f74e7ac74243f5a0130f 06-Jun-2013 Jérôme Duval <jerome.duval@gmail.com>

shortcut_catcher: fixed out of bounds access and a sign warning.

* normal_map is an array with a length of 128


# 74983a5f69cef9ef4e0d316ec79123e7015b3256 07-Jan-2012 Philippe Saint-Pierre <stpere@gmail.com>

shortcut_catcher: memory leak fixes

memory allocated in get_key_map(..) wasn't released.

CID 5696, CID 5697, CID 1699, CID 1700


# be2b059224841fae64b916b5ee308924fd3f7bf3 30-Oct-2009 Fredrik Modeen <fredrik@modeen.se>

So here it goes..
I hope I have fixed all parts that don't follow our guidelines. (that python script was good start)
This is the filter..

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33847 a95241bf-73f2-0310-859d-f6bbb57e9c96