Commit Graph

69 Commits

Author SHA1 Message Date
Daryl Poe db4d7862aa #574: fix for timezone redirection east of UTC; add more timezone synonyms 2012-08-02 12:33:58 -06:00
C-o-r-E f6bc87477d Merge remote-tracking branch 'upstream/master' 2012-07-30 16:02:47 -04:00
C-o-r-E ae6865a592 libfreerdp-core: cleaned up a bunch of debug printing
libfreerdp-local: disabled a block pertaining to the use of timezone rules. This seems to make timezone and time to be set correctly on the server side but Issue #574 should not (yet) be closed.
2012-07-30 15:52:45 -04:00
C-o-r-E 0182da3f2f libfreerdp-core: even more debug printf() 2012-07-28 23:37:25 -04:00
C-o-r-E 5aaaf58315 libfreerdp-core: more debug output for tracking timezone bug 2012-07-28 23:05:46 -04:00
C-o-r-E 644b48dd15 libfreerdp-core: added debug output 2012-07-28 20:14:47 -04:00
Marc-André Moreau d1322c756e libfreerdp-core: fix timezone finding and encoding 2012-07-28 19:30:21 -04:00
Marc-André Moreau 1d93dbab33 libfreerdp-core: fix timezone finding and encoding 2012-07-28 17:57:41 -04:00
C-o-r-E 1e48dc38ec Removed debug output 2012-07-28 15:04:07 -04:00
C-o-r-E e9d7c05bf5 client now successfuly sets the server's timezone 2012-07-28 00:43:54 -04:00
C-o-r-E 1fe8a1d161 fixed erroneous string modification 2012-07-28 00:11:09 -04:00
C-o-r-E a5c96251a1 fixed warning and added some more debug output 2012-07-28 00:07:37 -04:00
C-o-r-E 65c18d3924 Added support for timezone detection on redhad style systems using /etc/localtime 2012-07-27 23:53:35 -04:00
C-o-r-E b15f47c54b timezone stuff 2012-07-27 22:58:56 -04:00
C-o-r-E 55232b3ead added more debug output 2012-07-27 18:15:18 -04:00
C-o-r-E 37874db0e9 added some debug output 2012-07-27 17:38:45 -04:00
C-o-r-E 3cade53dad added some debug output 2012-07-27 17:12:15 -04:00
Julien Ropé 98d5b98465 Memory leak fixes.
Passed the code through a static analyzer and fixed all reported (and verified) potential memory leaks.
2012-05-16 11:33:57 +02:00
Matthew Mosesohn 556ee864b5 Fix time zone clock shift 2012-05-15 17:28:20 -04:00
David Sundstrom 91d2a046f9 Fix Solaris 10 compilation issues.
timezone.c:  local variable 'timezone' shadowed global variable of same name
memory.c  wide-string copy function on Solaris 10 is 'wsdup'
2012-05-04 15:11:30 -05:00
Mads Kiilerich 16478d8fad locale: update rdp scancodes according to Win CE "Translating Scan Codes to Virtual-Key Codes"
The values in @msdn{ms892480} seems to be what is used in TS_KEYBOARD_EVENT @msdn{cc240584}.

All the "XT Scan Code Translation Libraries" has been checked and integrated.
Only the Korean has been skipped. It is clearly something completely different
from everything else. The Japanese is just an extension of the US keyboard like
the others.
2012-03-29 01:25:49 +02:00
Mads Kiilerich a9296e976d locale: add Japanese backslash key with rdp scancode 7D and X key name AE13
Correct values for the keyboard fields in Client Core Data is required too.
2012-03-29 01:12:48 +02:00
Mads Kiilerich f799615c22 locale: drop Virtual-Key as intermediate format for xkbfile
There is no 1:1 mapping between Virtual-Key codes and the "scancodes" used in
the rdp protocol. Some examples are VK_RETURN and VK_DIVIDE and US keyboards
where two different physical keys with different "scancodes" in the protocol
map to the same Virtual-Key on the server. Another bad fit seems to be the
Japanese backslash key.

The rdp scancodes are apparently undocumented and different from everything
else. The best we can do is to reverse engineer the protocol values and give
them some descriptive names and try to figure out how they relate to the native
scancodes on the supported platforms.
2012-03-29 01:12:48 +02:00
Mads Kiilerich 7f399c6020 locale: #define known rdp scancode values
For now they are named after the VK code they mostly correspond to.
2012-03-29 01:12:48 +02:00
Mads Kiilerich 94e9405202 locale: make RDP_SCANCODE a simple value type that easily can be passed around 2012-03-29 01:12:35 +02:00
Mads Kiilerich 6c4b4dcbed fix building on X11 without XKBFILE 2012-03-29 01:10:57 +02:00
Mads Kiilerich 7f67338e2d locale: debug statements and indentation 2012-03-24 02:01:12 +01:00
Mads Kiilerich 0acd3d5a98 locale: reintroduce sun keyboard layouts and fix sun compilation
Untested.
2012-03-24 01:57:10 +01:00
Mads Kiilerich 1b52843f74 locale: plug some xkb / keymap leaks 2012-03-24 01:57:10 +01:00
Mads Kiilerich b931891bed locale: don't fall back to keymap detection when xkbfile is used 2012-03-24 01:57:10 +01:00
Mads Kiilerich df80dff43d locale: reintroduce use of freerdp_detect_keyboard for default keyboard layout id 2012-03-24 01:57:10 +01:00
Mads Kiilerich f1fc6d0c25 locale: encapsulate X11_KEYCODE_TO_RDP_SCANCODE in keyboard.c 2012-03-24 01:57:10 +01:00
Mads Kiilerich 430d42aeac locale: encapsulate RDP_SCANCODE_TO_X11_KEYCODE in keyboard.c 2012-03-24 01:57:10 +01:00
Mads Kiilerich 25732265b2 locale: move conversion from xkb layout names to RDP IDs to xkb_layout_ids.c
Refactoring - no semantic changes.
2012-03-24 01:57:10 +01:00
Mads Kiilerich cdfb2fbaed locale: drop redundant VIRTUAL_KEY_CODE_TO_RDP_SCANCODE_TABLE
The same information can be found in VIRTUAL_KEY_CODE_TO_DEFAULT_RDP_SCANCODE_TABLE.

Refactoring - no semantic changes.
2012-03-24 01:57:09 +01:00
Mads Kiilerich da5ffe70ef locale: move keymap parsing to keyboard_keymap.c
Refactoring - no semantic changes.
2012-03-24 01:57:09 +01:00
Mads Kiilerich 9d69c9158c locale: clarify that WITH_XKBFILE is subordinate to WITH_X11
This should make no visible change in sane configurations.
2012-03-24 01:57:09 +01:00
Mads Kiilerich 3d57e65a65 locale: clarify internally what is xkbfile and what is xkb
Refactoring - no semantic changes.

--HG--
rename : libfreerdp-locale/keyboard_xkb.c => libfreerdp-locale/keyboard_xkbfile.c
rename : libfreerdp-locale/keyboard_xkb.h => libfreerdp-locale/keyboard_xkbfile.h
2012-03-24 01:57:09 +01:00
Mads Kiilerich 6c19f819e1 locale: move Virtual-Key Code definitions to virtual_key_codes.[ch]
Refactoring - no semantic changes.
2012-03-24 01:57:09 +01:00
Mads Kiilerich faab56aae6 locale: introduce freerdp_keyboard_get_virtual_key_code_from_name
Refactoring - no semantic changes.
2012-03-24 01:57:09 +01:00
Vic Lee ec9ca3e35f include: move config.h into private headers. 2012-03-12 19:14:56 +08:00
Marc-André Moreau f380a5a9a7 libfreerdp-utils: added time utils 2012-03-06 09:23:59 -05:00
Bernhard Miklautz dfae3edd86 timezone: Added missing ULL to get rid of compiler warnings 2012-03-01 15:30:20 +01:00
Mads Kiilerich 15169d0314 introduce generic ARRAY_SIZE macro 2012-02-28 18:11:11 +01:00
Marc-André Moreau 32a54130e7 xfreerdp: fix multiple memory leaks detected by valgrind 2012-02-27 10:55:49 -05:00
Marc-André Moreau 7a53ce4ff6 libfreerdp-locale: regenerate time zone table 2012-02-27 09:54:56 -05:00
Marc-André Moreau c036f1172b libfreerdp-locale: fix XKB keymap loading 2012-02-23 18:42:54 -05:00
Marc-André Moreau bc65c2d70f libfreerdp-locale: fix non-XKB keymap loading 2012-02-21 21:28:52 -05:00
Marc-André Moreau 8436f94e22 libfreerdp-locale: modify tables 2012-02-21 20:56:34 -05:00
Marc-André Moreau 8ca2219191 libfreerdp-locale: merging XKB maps for virtual key codes (extended and non-extended) 2012-02-21 20:34:26 -05:00