Armin Novak
e3f3343323
Fixed #5496 : Canadian keyboard mapping issue reported by @renaudn1981
2019-08-01 11:09:57 +02:00
Armin Novak
936ab9bb8b
Fixed sign-compare warnings
2019-04-05 09:13:24 +02:00
Peter Åstrand (astrand)
9aced5945a
Define scancodes for virtual keys, used by VNC servers
...
The list of fake keycodes can be found at:
https://cgit.freedesktop.org/xkeyboard-config/tree/keycodes/evdev#n290
This commit adds support for AltGr when xfreerdp is used in
TigerVNC/Xvnc and ThinLinc sessions.
2018-12-12 11:43:03 +01:00
Armin Novak
423d54d752
Fixed signedness casts.
2018-10-25 14:08:20 +02:00
Armin Novak
2a4b47aaac
Changed size iterator variables to size_t
2018-10-24 13:24:25 +02:00
Armin Novak
a5f0fa818f
Fixed freerdp_keyboard_layouts_free
2018-09-24 12:47:46 +02:00
akallabeth
668e347814
Merge pull request #4034 from blino/wayland-keymap
...
Reuse evdev/X11 keymap for wayland
2017-11-16 12:07:07 +01:00
Armin Novak
4eb5b8e349
Replaced atoi
2017-11-15 15:52:16 +01:00
Armin Novak
8b9e3fa51e
Fixed use of reserved keywords for include guards.
2017-07-20 09:35:41 +02:00
Armin Novak
0490aeb018
Fixed clang malloc integer overflow warnings.
2017-07-20 09:29:48 +02:00
Olivier Blin
3e5f8c6bdb
Reuse evdev/X11 keymap for wayland
2017-07-05 18:48:24 +02:00
Armin Novak
99c45405cb
Fixed GetEnvironmentVariable.
2017-03-03 12:43:00 +01:00
Norbert Federa
f71b6b46e8
fix string format specifiers
...
- fixed invalid, missing or additional arguments
- removed all type casts from arguments
- added missing (void*) typecasts for %p arguments
- use inttypes defines where appropriate
2016-12-16 13:48:43 +01:00
Armin Novak
943e295714
WLog using C99 compatible variadic macros.
2016-10-07 14:05:27 +02:00
Armin Novak
c7448c03fb
Added FREERDP_LOCAL
...
CMake 2.8 does not support default visibility on windows.
To allow building tests add the FREERDP_LOCAL define for each
function that is internal to FreeRDP.
When build with testing these functions are exported and available
for use by tests.
2016-10-06 13:43:09 +02:00
Marc-André Moreau
4d629a7999
freerdp: UWP porting
2016-03-29 16:03:15 -04:00
Armin Novak
447ac23aee
Refactored timezone functions.
2016-02-24 09:28:30 +01:00
Bernhard Miklautz
dd93fd2b3d
timezon: add support for tz package
...
Some distributions don't use /etc/localtime but /etc/TZ instead. If
/etc/localtime isn't find try this.
For details see #2818
2016-02-23 16:25:05 +01:00
Bernhard Miklautz
1cee185e3c
hardening: check fread and fwrite return values
2015-06-26 20:38:30 +02:00
Bernhard Miklautz
421b74e85e
client/locale: properly check popen return value
...
popen returns NULL if an error occurs and not < 0.
2015-06-22 19:23:58 +02:00
David FORT
7c3f8f33ab
Fixes for malloc / calloc + other fixes
...
This patch contains:
* checks for malloc return value + treat callers;
* modified malloc() + ZeroMemory() to calloc();
* misc fixes of micro errors seen during the code audit:
** some invalid checks in gcc.c, also there were some possible
integer overflow. This is interesting because at the end the data are parsed
and freed directly, so it's a vulnerability in some kind of dead code (at least
useless);
** fixed usage of GetComputerNameExA with just one call, when 2 were used
in misc places. According to MSDN GetComputerNameA() is supposed to return
an error when called with NULL;
** there were a bug in the command line parsing of shadow;
** in freerdp_dynamic_channel_collection_add() the size of array was multiplied
by 4 instead of 2 on resize
2015-06-22 19:21:47 +02:00
Bernhard Miklautz
77927c213e
android: fix misc compiler warnings
...
with gcc version arm-linux-androideabi-gcc (GCC) 4.8
2015-06-22 19:09:59 +02:00
Bernhard Miklautz
bf73f4e4f1
Fix unchecked strdups
...
* add missing checks
* adapt function return values where necessary
* add initial test for settings
2015-06-22 19:09:59 +02:00
tdb
aa0849224c
fix French bépo layout id to match the bépo.fr installer
2015-06-08 17:01:43 +02:00
tdb
c9e750214a
Add Bépo Layout
2015-06-05 10:52:40 +02:00
Bryan Everly
8c75127a67
Necessary changes to get latest branch working on OpenBSD 5.6
2015-04-21 14:42:06 -04:00
David FORT
27c5b5b224
Fix segfault when the xkb layout has no variants
...
This is a fix for #2399 : when there's no variants we should not try to scan them.
I have set the RDP US keyboard for the South African layout, if someone has a better
layout...
Note: we should probably set something that is not zero for other layouts
2015-03-30 21:16:18 +02:00
Marc-André Moreau
dfc1238523
Merge pull request #2447 from ivan-83/master
...
Fix poor sound quality with ALSA, add OSS sound system support, FreeBSD patches
2015-03-12 10:09:02 -04:00
Zhang Zhaolong
c31ee019fa
keyboard_layout: fix incorrect usage of realloc.
...
Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
2015-03-11 14:02:20 +08:00
ivan-83
f5dbe2c9a5
* FreeBSD timezone detection patch
2015-03-10 04:40:47 +03:00
Roland Kaufmann
d930431169
Forward layout ID of Programmer Dvorak to server
...
The Programmer Dvorak keyboard layout is supported by Xkb but support
in Windows is only available through an open-source add-on driver. It
is plausible that those that use this layout in X11 also installs this
driver on Windows instead of using the standard Dvorak variant there.
This changeset recognizes Programmer Dvorak as its own variant, and
assigns this a layout ID which matches the one used in the Windows
driver so that it will be selected when you logon. If this layout is
not available, it will now revert to the regular United States layout.
Tested with Ubuntu Precise 12.04 connecting to Windows 7 SP1.
2015-01-30 21:22:59 +01:00
Marc-André Moreau
8c98cbc247
libfreerdp-utils: remove old time utils
2014-11-12 13:45:03 -05:00
Armin Novak
a715e9ef50
Fixed compiler warnings.
2014-09-15 08:55:00 +02:00
Armin Novak
2f519d7f16
Replaced logging in libfreerdp with wlog defines.
2014-09-15 08:48:46 +02:00
Bernhard Miklautz
0313ca3622
libfreerdp: always build "MONOLITHIC"
...
"libfreerdp" consisted of multiple (small) single libraries. If the cmake
option MONOLITHIC was used only one library was build combining all of
the libfreerdp-* libraries.
The only exceptions to this are libfreerdp-server and libfreerdp-client these
are build as separate libraries.
This commit obsoltes non-monolithic builds and makes monolithic builds
the default. The cmake option MONOLITHIC is also removed.
2014-09-12 00:19:53 +02:00
Armin Novak
f4c133eaf8
Replaced custom logging mechanism with WLog wrapper.
2014-08-07 16:51:24 +02:00
Marc-André Moreau
61b35e2e8f
Merge pull request #1948 from jbd1986/fix-french-canadian
...
I am making several changes to clean up French Canadian keyboard defs.
2014-07-11 16:34:43 -04:00
Armin Novak
ad3255354d
Added WITH_LIBRARY_VERSIONING, allowing to build shared libraries without
...
SOVERSION information. (required by Android)
2014-07-11 11:53:58 +02:00
Bernhard Miklautz
6a49bcfe40
winpr: always build "monolitic"
...
winpr is now always build as single library.
The build option MONOLITHIC_BUILD doesn't influence this behavior anymore.
The only exception is winpr-makecert-tool which is still build as extra
library.
This obsoletes complex_libraries for winpr.
2014-07-10 11:10:58 +02:00
Justin DeFields
00b01f1b4e
I am making several changes to cleanup French Canadian, with the end result being: ca,fr -> Canadian French ca,fr-legacy -> Canadian English ca,eng -> Canadian English. Currently ca,fr isn't defined, ca,fr-legacy thinks it's Canadian French and it isn't anyway because the value is wrong for that definition, and ca,eng is US.
2014-07-08 16:51:50 -04:00
Hobby-Student
04ae1c8c76
FreeBSD compile errors - fix timezone
2014-05-02 18:27:03 +02:00
Hobby-Student
5d816027df
FreeBSD compile errors - fix typecast
2014-05-01 21:25:33 +02:00
Hobby-Student
18d70c6cda
FreeBSD compile errors - add comments
2014-05-01 15:24:11 +02:00
Hobby-Student
b0ab566d61
FreeBSD compile errors - fix typo #2
2014-05-01 15:19:09 +02:00
Hobby-Student
03315cebe8
FreeBSD compile errors
2014-05-01 15:09:35 +02:00
Bernhard Miklautz
b817e92e5e
cmake: mark required libraries for export
2014-04-23 10:16:02 +02:00
Daryl Poe
9897f72b97
add additional evdev key mappings for multimedia and Korean keyboards
2014-01-14 15:18:20 -07:00
Marc-André Moreau
55565e056c
freerdp: export targets
2013-10-28 23:06:39 -04:00
Benoît LeBlanc
ad77401d60
FreeRDP: fixed access violation crash that occurred on Windows, because the malloc and the free were performed in different libraries.
2013-07-25 10:22:57 -04:00
Marc-André Moreau
863b51f938
freerdp: merge with master
2013-06-28 12:50:24 -04:00
Marc-André Moreau
fc3324151c
libfreerdp-locale: fix C++ header
2013-04-28 20:16:04 -04:00
Nigel Reeves
777dff2d0b
Further changes to fix issue 574\685.
...
There appear to be some additional problems with the impact of daylight
savings time kicking in. Calculations of BIAS, Standard BIAS &
Daylight BIAS are wrong.
This is showing up with Outlook 2010 meeting appointments, for example
select America\Vancouver, appointments, once accepted get assigned an hour
early.
I have also applied a fix to correctly send the Timezone information
currently commented out of code referencing this issue number in
libfreerdp_locale/timezone.c function freerdp_time_zone_detect()
2013-04-08 14:42:49 +01:00
Hardening
7701c9d934
Replace printf(...) by fprintf(stderr, ...)
2013-03-28 23:06:34 +01:00
Marc-André Moreau
cc48e2a184
freerdp: merging with master
2013-03-11 13:25:23 -04:00
Martin Fleisz
e01caae318
locale: Fix compile error on Windows
2013-03-11 10:13:06 +01:00
Marc-André Moreau
2abd3d11bd
channels/rdpsnd/server: cleanup pdu creation
2013-03-07 16:04:25 -05:00
Marc-André Moreau
32d9f76c41
libwinpr-input: fix virtual key code definitions
2013-03-07 13:56:00 -05:00
Marc-André Moreau
72957e39eb
libwinpr-input: started mapping XKB keynames to virtual key codes
2013-03-06 17:43:41 -05:00
Marc-André Moreau
24a1275c91
libfreerdp-locale: cleanup layout detection
2013-03-06 16:35:50 -05:00
Marc-André Moreau
75f80d0198
libfreerdp-locale: cleanup solaris code
2013-03-06 12:50:25 -05:00
Marc-André Moreau
6c40fde892
libwinpr-input: map most evdev keycodes
2013-03-04 20:37:44 -05:00
Marc-André Moreau
7d75343e8e
libfreerdp-locale: cleanup Mac OS X keycode mapping
2013-03-03 19:30:01 -05:00
Marc-André Moreau
474f0469b4
libfreerdp-locale: add Mac OS X definitions
2013-03-03 18:13:12 -05:00
Marc-André Moreau
1dd901d611
libfreerdp-locale: fix loading virtual scancodes
2013-03-03 17:43:06 -05:00
Marc-André Moreau
44758bfe54
libfreerdp-locale: start moving some code to libwinpr-input
2013-03-03 16:30:31 -05:00
Marc-André Moreau
c0b33a1ae5
libfreerdp-locale: fix Mac OS X build
2013-02-28 22:06:29 -05:00
Marc-André Moreau
5687cd393d
libfreerdp-locale: remove old X11 keymaps
2013-02-28 14:49:56 -05:00
Marc-André Moreau
ddf4c6e0ff
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-02-27 09:38:39 -05:00
Jason Mealins
f8c4fa4938
Hard Coded and Keymap codes fixed for OS X
...
fixed right menu and both left and right windows keycodes
2013-02-25 17:13:19 -08:00
Jason Mealins
6da989258f
VK_RMENU defines right windows key
...
changing 71 to VK_RMENU
2013-02-25 12:25:07 -08:00
Jason Mealins
f8d0613e69
Fixing LWIN and RWIN keycode definitions
...
adding in the appropriate scancodes windows keys on mac os x
2013-02-25 12:18:03 -08:00
Marc-André Moreau
fe34a529d5
freerdp: fix build and warnings on Mac OS X
2013-02-21 21:09:42 -05:00
Marc-André Moreau
22ecaa85a7
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-01-29 14:01:33 -05:00
Marc-André Moreau
bc9d103e98
libfreerdp-locale: added static Mac OS X keymap
2013-01-29 00:26:17 -05:00
Bernhard Miklautz
f91b88f714
added missing defined() in #elif
...
gcc >= 4.4 requires a condition in #elif.
2013-01-25 17:50:40 +01:00
rdp.effort
0a6c6ec4f3
don't free xkb_layout or xkb_variant when it has not been set
2013-01-16 00:04:04 +01:00
Marc-André Moreau
5fb6312a1f
Merge github.com:FreeRDP/FreeRDP
2012-11-25 15:29:40 -05:00
Marc-André Moreau
84f358d3ce
Merge pull request #812 from bmiklautz/versioning
...
build: fixed library versioning
2012-11-25 12:29:29 -08:00
Marc-André Moreau
6b2db2d103
macosx: update client
2012-11-22 15:32:21 -05:00
Marc-André Moreau
8a32de3801
libfreerdp: purged source tree from deprecated memory utils
2012-11-21 21:22:06 -05:00
Marc-André Moreau
b3d8f79b5c
libfreerdp-utils: replace ARRAY_SIZE custom macro with ARRAYSIZE() windows macro
2012-11-21 20:50:28 -05:00
Bernhard Miklautz
9a33dbe826
build: fixed library versioning
...
Split version numbers into:
FREERDP_API_VERSION - the version of the API which is major.minor
FREERDP_VERSION - version of a release consisting of major.minor.revision (e.g. 1.1.0)
FREERDP_VERSION_FULL - like FREERDP_VERSION but with an optional "build" suffix (e.g 1.1.0-dev)
2012-11-18 17:07:33 +01:00
Marc-André Moreau
1c4a587ef1
windows: fix build
2012-11-11 17:23:57 -05:00
Marc-André Moreau
e62860ab29
cmake: replace FindOptionalPackage macros with FindFeature macros
2012-11-02 19:27:01 -04:00
Marc-André Moreau
6a592b5720
cmake: add WITH_SAMPLE, fix inclusion of X11 code
2012-10-13 20:55:28 -04:00
Marc-André Moreau
e764c81ad5
freerdp: fix building of libraries for Android
2012-10-13 20:31:01 -04:00
Marc-André Moreau
639bb0d79d
cmake: started simplifying monolithic build option
2012-10-13 15:20:39 -04:00
Marc-André Moreau
10f6b797cd
xfreerdp: fix compilation on Mac OS X
2012-10-09 13:04:41 -04:00
Marc-André Moreau
9d064171a7
freerdp: get rid of old types
2012-10-09 03:26:39 -04:00
Marc-André Moreau
1bf8a45519
freerdp: change uint8, sint8, uint16, sint16 to BYTE, INT8, UINT16, INT16
2012-10-09 03:01:37 -04:00
Marc-André Moreau
1ed644786c
freerdp: change boolean type to BOOL type
2012-10-09 02:38:39 -04:00
Marc-André Moreau
5612bc43f8
freerdp: change true/false to TRUE/FALSE
2012-10-09 02:31:28 -04:00
Marc-André Moreau
2df7aaad39
libfreerdp-utils: get rid of xstrdup in favor of WinPR _strdup
2012-10-08 23:42:01 -04:00
Marc-André Moreau
9909a12af5
libfreerdp-utils: get rid of xmalloc, xrealloc and xfree
2012-10-08 23:21:26 -04:00
Marc-André Moreau
e60a092d81
freerdp: fix headers
2012-10-08 23:02:04 -04:00
Marc-André Moreau
40eea7c76b
cmake: rename WITH_MONOLITHIC_BUILD to MONOLITHIC_BUILD
2012-10-08 22:55:06 -04:00
Marc-André Moreau
e828feccb7
cmake: organize solution folders
2012-10-04 09:42:23 -04:00
Marc-André Moreau
fcc9f91302
cmake: add support for solution groups
2012-09-30 22:58:59 -04:00
Marc-André Moreau
6dcc8e73ee
libfreerdp-utils: get rid of rdpBlob
2012-09-24 04:40:32 -04:00
Marc-André Moreau
867c169148
libfreerdp-locale: cleanup keyboard code
2012-09-22 14:27:30 -04:00