History log of /haiku/src/bin/keymap/Keymap.h
Revision Date Author Comments
# 3f0a3bd5 13-Aug-2014 Jérôme Duval <jerome.duval@gmail.com>

fixed two warnings.

* top: unused variable, quick fix only.
* keymap: redefinition on some host systems (Ubuntu for instance).


# 204dee70 09-May-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Use libbe_build also on Haiku

This means the build tools will no longer be built against the host
platform's libbe, which avoids compatibility problems -- e.g. an
older Haiku host libbe may not have certain features the build tools
require -- and also makes the build behave more similiar on Haiku and
other platforms. The host libroot dependency still remains and is not
easy to get rid of.

Also remove some bits of BeOS/Dano/Zeta build support.


# 5091a866 11-Aug-2010 Jérôme Duval <korli@users.berlios.de>

To be validated as part of bug #6386. Update glibc regex to 2.11, headers/posix/regex.h included. This imposes some changes in some of our sources using the regex.h,
mostly bin tools and mail kit. The use of __USE_GNU macro is needed for instance when the expected regex implementation is the GNU one.


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


# 910f10f2 20-Apr-2010 Axel Dörfler <axeld@pinc-software.de>

* Added libshared_build.a, currently only contains Keymap.cpp.
* keymap and <build>keymap are now using the BKeymap class as a base as well.


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


# 3836be3e 24-Jun-2009 Axel Dörfler <axeld@pinc-software.de>

* Reworked GetKey() after Marcus' suggestions. Thanks for the extra motivation
to work on this :-)
* Also made it return "false" if there was no mapping, which will prevent empty
dead keys to be written now (ie. the output now looks exactly like our
sources).


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


# c454df7e 23-Jun-2009 Stephan Aßmus <superstippi@gmx.de>

This stuff is actually used on the build host platform as well...


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


# e27f2019 23-Jun-2009 Axel Dörfler <axeld@pinc-software.de>

* Added ability to save a "styles" attribute for StyledEdit. This implements
ticket #4032.


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


# 30dcc55d 23-Jun-2009 Axel Dörfler <axeld@pinc-software.de>

* More or less rewrote main.cpp to use getopt_long() instead of the self-made
argument evaluation. Also separated the evaluation from performing the
options, solving a TODO, and added long versions for the options.
* Changed Keymap methods to work on a path instead of entry_refs - this
simplifies the code a bit over the place.
* Added new option to load a source keymap directly (-s, --load-source).
* Renamed some methods to make clearer what they do.
* Added a way to directly write a source keymap to a file (by specifying the
-o option together with -d).
* Coding style cleanup, ordered Keymap methods in the order they are declared.


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


# dff0e735 23-Jul-2008 Maurice Kalinowski <mauricek@nowhere.fake>

julun+mauricek:
* Cygwin does not have regex support, so we use the one we already have in our glibc.
* Keymap.h has a automatic forward declaration of re_registers, which causes a compile break on Cygwin, but not on other platforms. So add a include for regex.h in the header and remove it in the source file.

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


# 1174007c 12-Apr-2008 Rene Gollent <anevilyak@gmail.com>

Modified bin/keymap's -h option to write a variable to the generated header
indicating the name of the keymap. Correspondingly, modified input_server
to use the aforementioned variable in order to write the name attribute
to ~/config/Key_map. This allows Keymap prefs to correctly recognize the name
of the default keymap on a fresh build.



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


# 37e0ed4a 01-Jun-2006 Axel Dörfler <axeld@pinc-software.de>

* Improved error output.
* Fixed some minor style issues.
* fChars was allocated with new[] but deleted with free() in the Keymap destructor.


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


# 2dd13cc8 10-Feb-2006 Jérôme Duval <korli@users.berlios.de>

fix some memory leaks


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


# 17049c45 18-Mar-2005 Axel Dörfler <axeld@pinc-software.de>

Moved bin/ directory out of apps/.


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


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

fixed two warnings.

* top: unused variable, quick fix only.
* keymap: redefinition on some host systems (Ubuntu for instance).


# 204dee708a999d5a71d0cb9497650ee7cef85d0a 09-May-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Use libbe_build also on Haiku

This means the build tools will no longer be built against the host
platform's libbe, which avoids compatibility problems -- e.g. an
older Haiku host libbe may not have certain features the build tools
require -- and also makes the build behave more similiar on Haiku and
other platforms. The host libroot dependency still remains and is not
easy to get rid of.

Also remove some bits of BeOS/Dano/Zeta build support.


# 5091a866eccc1a92df825e582153d35b3b8d519f 11-Aug-2010 Jérôme Duval <korli@users.berlios.de>

To be validated as part of bug #6386. Update glibc regex to 2.11, headers/posix/regex.h included. This imposes some changes in some of our sources using the regex.h,
mostly bin tools and mail kit. The use of __USE_GNU macro is needed for instance when the expected regex implementation is the GNU one.


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


# 910f10f2fcf05e0973ffc60734515b369c103ca6 20-Apr-2010 Axel Dörfler <axeld@pinc-software.de>

* Added libshared_build.a, currently only contains Keymap.cpp.
* keymap and <build>keymap are now using the BKeymap class as a base as well.


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


# 3836be3e80b6526ead976b20ef23d3f0bcb56a1a 24-Jun-2009 Axel Dörfler <axeld@pinc-software.de>

* Reworked GetKey() after Marcus' suggestions. Thanks for the extra motivation
to work on this :-)
* Also made it return "false" if there was no mapping, which will prevent empty
dead keys to be written now (ie. the output now looks exactly like our
sources).


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


# c454df7e296714ae6e47e876dc70769a18fe7ca8 23-Jun-2009 Stephan Aßmus <superstippi@gmx.de>

This stuff is actually used on the build host platform as well...


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


# e27f20198782c62e6cd78d41a3f35d708b343920 23-Jun-2009 Axel Dörfler <axeld@pinc-software.de>

* Added ability to save a "styles" attribute for StyledEdit. This implements
ticket #4032.


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


# 30dcc55d0a860cde18da7c32ba5f7f66f50a8764 23-Jun-2009 Axel Dörfler <axeld@pinc-software.de>

* More or less rewrote main.cpp to use getopt_long() instead of the self-made
argument evaluation. Also separated the evaluation from performing the
options, solving a TODO, and added long versions for the options.
* Changed Keymap methods to work on a path instead of entry_refs - this
simplifies the code a bit over the place.
* Added new option to load a source keymap directly (-s, --load-source).
* Renamed some methods to make clearer what they do.
* Added a way to directly write a source keymap to a file (by specifying the
-o option together with -d).
* Coding style cleanup, ordered Keymap methods in the order they are declared.


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


# dff0e735eb7c81e1a7cb4429bd0a3fb09264cc1c 23-Jul-2008 Maurice Kalinowski <mauricek@nowhere.fake>

julun+mauricek:
* Cygwin does not have regex support, so we use the one we already have in our glibc.
* Keymap.h has a automatic forward declaration of re_registers, which causes a compile break on Cygwin, but not on other platforms. So add a include for regex.h in the header and remove it in the source file.

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


# 1174007caf16a1da0e3369b6955f427b8e0d41b5 12-Apr-2008 Rene Gollent <anevilyak@gmail.com>

Modified bin/keymap's -h option to write a variable to the generated header
indicating the name of the keymap. Correspondingly, modified input_server
to use the aforementioned variable in order to write the name attribute
to ~/config/Key_map. This allows Keymap prefs to correctly recognize the name
of the default keymap on a fresh build.



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


# 37e0ed4ace909ec0236ca34949d52a73a7e7be42 01-Jun-2006 Axel Dörfler <axeld@pinc-software.de>

* Improved error output.
* Fixed some minor style issues.
* fChars was allocated with new[] but deleted with free() in the Keymap destructor.


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


# 2dd13cc8fe70a413b72b2f81d8aae3d19e8db933 10-Feb-2006 Jérôme Duval <korli@users.berlios.de>

fix some memory leaks


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


# 17049c451a91f427aec94b944b75876b611103e7 18-Mar-2005 Axel Dörfler <axeld@pinc-software.de>

Moved bin/ directory out of apps/.


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