Patrick Winnertz
1c287d798d
First bunch of mhl_mem_free removal patches
...
Signed-off-by: Patrick Winnertz <winnie@debian.org>
2009-02-05 23:36:58 +01:00
Patrick Winnertz
5920d13810
First bunch of reverting stuff from mhl to switch back to glib
...
This removes the usage of stdbool.h in favour of mhl/tyes.h as we have to revert everything one by one
Signed-off-by: Patrick Winnertz <winnie@debian.org>
2009-02-05 23:09:37 +01:00
Enrico Weigelt, metux IT service
0c97636212
fixed #240
2009-02-04 01:11:56 +01:00
Enrico Weigelt, metux IT service
8b38cf44da
manully merged 227_replace_g_free
2009-02-02 22:34:05 +01:00
Enrico Weigelt, metux IT service
035fa47c06
manually merged 228_replace_g_strdup
2009-02-02 21:28:01 +01:00
Enrico Weigelt, metux IT service
45964f373b
replaced gboolean by bool (from mhl/types.h)
2009-02-02 05:07:56 +01:00
Enrico Weigelt, metux IT service
f921cc40cd
replaced calls to g_strdup() by mhl_str_dup()
2009-01-30 20:10:40 +01:00
Enrico Weigelt, metux IT service
15d7d47c15
replaced g_free() by mhl_mem_free()
2009-01-30 19:28:35 +01:00
Pavel Tsekov
2f3df3af4e
* edit/bookmark.c: Update copyright notice.
...
* edit/edit.c: Likewise.
* edit/editcmd.c: Likewise.
* edit/editdraw.c: Likewise.
* edit/editkeys.c: Likewise.
* edit/editlock.c: Likewise.
* edit/editmenu.c: Likewise.
* edit/editoptions.c: Likewise.
* edit/editwidget.c: Likewise.
* edit/syntax.c: Likewise.
* src/background.c: Likewise.
* src/boxes.c: Likewise.
* src/complete.c: Likewise.
* src/execute.c: Likewise.
* src/ext.c: Likewise.
* src/file.c: Likewise.
* src/filegui.c: Likewise.
* src/fileopctx.c: Likewise.
* src/find.c: Likewise.
* src/hotlist.c: Likewise.
* src/key.c: Likewise.
* src/keyxdef.c: Likewise.
* src/layout.c: Likewise.
* src/learn.c: Likewise.
* src/listmode.c: Likewise.
* src/main.c: Likewise.
* src/panelize.c: Likewise.
* src/slint.c: Likewise.
* src/textconf.c: Likewise.
* src/tree.c: Likewise.
* src/treestore.c: Likewise.
* src/tty.c: Likewise.
* src/util.c: Likewise.
* src/utilunix.c: Likewise.
* src/view.c: Likewise.
* src/widget.c: Likewise.
* src/wtools.c: Likewise.
* src/x11conn.c: Likewise.
* vfs/cpio.c: Likewise.
* vfs/extfs.c: Likewise.
* vfs/fish.c: Likewise.
* vfs/ftpfs.c: Likewise.
* vfs/gc.c: Likewise.
* vfs/mcfs.c: Likewise.
* vfs/mcserv.c: Likewise.
* vfs/smbfs.c: Likewise.
* vfs/tar.c: Likewise.
2007-09-25 15:33:35 +00:00
Pavel Tsekov
23361694b6
* src/background.c: Use the correct form of FSF's name in the copyright
...
notice.
* src/boxes.c: Ditto.
* src/complete.c: Ditto.
* src/execute.c: Ditto.
* src/ext.c: Ditto.
* src/file.c: Ditto.
* src/filegui.c: Ditto.
* src/fileopctx.c: Ditto.
* src/fileopctx.h: Ditto.
* src/find.c: Ditto.
* src/hotlist.c: Ditto.
* src/key.c: Ditto.
* src/keyxdef.c: Ditto.
* src/layout.c: Ditto.
* src/learn.c: Ditto.
* src/listmode.c: Ditto.
* src/main.c: Ditto.
* src/panelize.c: Ditto.
* src/slint.c: Ditto.
* src/textconf.c: Ditto.
* src/tree.c: Ditto.
* src/treestore.c: Ditto.
* src/tty.c: Ditto.
* src/util.c: Ditto.
* src/utilunix.c: Ditto.
* src/view.c: Ditto.
* src/widget.c: Ditto.
* src/wtools.c: Ditto.
* src/x11conn.c: Ditto.
* vfs/cpio.c: Ditto.
* vfs/extfs.c: Ditto.
* vfs/fish.c: Ditto.
* vfs/ftpfs.c: Ditto.
* vfs/gc.c: Ditto.
* vfs/mcfs.c: Ditto.
* vfs/mcserv.c: Ditto.
* vfs/smbfs.c: Ditto.
* vfs/tar.c: Ditto.
* vfs/undelfs.c: Ditto.
* vfs/utilvfs.c: Ditto.
* vfs/vfs.c: Ditto.
* edit/bookmark.c: Ditto.
* edit/edit.c: Ditto.
* edit/edit.h: Ditto.
* edit/editcmd.c: Ditto.
* edit/editdraw.c: Ditto.
* edit/editkeys.c: Ditto.
* edit/editlock.c: Ditto.
* edit/editmenu.c: Ditto.
* edit/editoptions.c: Ditto.
* edit/editwidget.c: Ditto.
* edit/syntax.c: Ditto.
2007-09-24 09:28:32 +00:00
Leonard den Ottolander
4c9ca90e8a
* key.c (get_event): Eliminate timeouts on window resize event.
...
* layout.c (change_screen_size): Set winch_flag to 0 on entrance not exit of
function.
2006-11-08 13:37:24 +00:00
Pavel Tsekov
5978bcc196
* src/key.c (get_key_code): Do not blindly strip the eight bit of the
...
key code when the 'use_8th_bit_as_meta' flag is set. Only key codes
in the range 128 - 255 should be stripped, the rest must be left
intact.
2006-09-18 21:06:58 +00:00
Leonard den Ottolander
7fb17b353c
* key.c (check_selects): Get rid of the now redundant else.
2006-08-12 18:22:44 +00:00
Leonard den Ottolander
01d80ec3c7
* key.c (check_selects): Initialize retry to FALSE every time we enter
...
the do/while loop (bug introduced when incorrectly rewriting the
backward goto used by the original submitter).
2006-08-12 10:06:22 +00:00
Leonard den Ottolander
fc061342f4
* key.c (check_selects): Fix possible crash on reference to select list
...
element removed in callback.
2006-08-11 22:57:09 +00:00
Leonard den Ottolander
b7db76f81f
* key.c: Make escape key timeout user configurable via the
...
environment variable KEYBOARD_KEY_TIMEOUT_US (in microseconds).
2006-08-09 21:19:18 +00:00
Pavel Tsekov
ca2078a6ad
* src/key.c (xterm_key_defines): Add sequences for iTerm.
2006-02-05 15:27:49 +00:00
Roland Illig
58337baa8d
White-space and indentation fixes. Rewrote the expressions for the
...
*_PRESSED constants to emphasize they are in fact bit masks.
2006-01-07 12:49:08 +00:00
Leonard den Ottolander
9ac5ed8d4e
* key.c (xmouse_get_event): Catch GPM_DRAG event.
...
* mouse.c (enable_mouse, disable_mouse): Update printed escape sequence.
2005-09-28 17:21:53 +00:00
Leonard den Ottolander
81d7ee4f51
* key.c (xmouse_get_event): Disable double-click tracking for mouse wheel
...
events.
2005-08-25 20:36:40 +00:00
Roland Illig
1c8c676c76
* key.c: When the command line option -x is given, enable
...
additional key sequences that are typical for xterms.
* main.c: First parse command line arguments, then initialize
key sequences.
2005-07-20 20:29:08 +00:00
Pavel Roskin
1f60f44145
Update postal address of Free Software Foundation.
2005-05-27 03:35:10 +00:00
Andrew V. Samoilov
1bee4012b1
* keyxdef.c: Constify struct qnx_key_define_s typedef.
...
* key.c (get_modifier): Fixed dynamic loading of the Photon library for
shift keys, only current version of libph used now.
(qansi_key_defines): Swapped Gray '-' and '+' codes definitions, due to
fixed bugs in the QNX6's console driver.
2005-03-25 09:38:24 +00:00
Pavel Roskin
504faf19d4
* key.c (init_key): Load xterm_key_defines for terminals with
...
names starting with "rxvt".
2005-03-21 20:27:55 +00:00
Roland Illig
13a63f21c9
* x11conn.c: Separated X11 connection handling from key.c. Added
...
error handling for X11 errors and connection errors.
* x11conn.h: The interface for x11conn.h.
* key.c: Now using the x11conn code.
* Makefile.am: Added x11conn.{h,c}.
2005-03-10 09:44:36 +00:00
Roland Illig
fc85bdba7e
* *.c: Reordered header inclusion.
2005-02-08 09:04:03 +00:00
Roland Illig
d5da4d6b94
* key.c (use_8th_bit_as_meta): Use 8bit input as default.
...
From Vladimir Nadvornik <nadvornik * suse cz>
2004-11-07 12:37:24 +00:00
Andrew V. Samoilov
11c6534e70
* key.c (qansi_key_defines[]): Add support for qansi-m terminals.
...
Needed on QNX Neutrino. (correct_key_code): Likewise.
2004-09-26 00:58:47 +00:00
Andrew V. Samoilov
ee2e35afb4
* key.c (get_modifier): Recognize keyboard modifiers on Cygwin.
2004-09-14 17:18:25 +00:00
Roland Illig
03913065b4
* Code cleanup: Added const qualifier for variables and
...
function declarations where possible. No functional changes.
2004-08-29 23:27:40 +00:00
Roland Illig
8458240147
* Code cleanup: Added const qualifier for variables and
...
function declarations where possible. No functional changes.
2004-08-29 16:42:40 +00:00
Roland Illig
493febff35
Added more const-ness to a variable.
2004-08-16 17:45:38 +00:00
Dmitry Alexeyev
6147cf303e
* key.c (get_event): Treat all negative values of gpm_fd in the
...
same way. Add one more check that gpm is alive.
2003-12-24 07:21:34 +00:00
Pavel Roskin
12d78ba8df
* boxes.c: Include "../vfs/gc.h" if VFS is used.
...
* hotlist.c: Likewise.
* key.c: Likewise.
* main.c: Likewise.
* setup.c: Likewise.
2003-11-07 23:50:18 +00:00
Pavel Roskin
d35cffb9d9
Clean up includes.
2003-10-26 04:03:07 +00:00
Pavel Roskin
8c10c20881
* key.c (init_key_x11): Warning fix for gcc 3.3.2.
2003-10-25 04:19:10 +00:00
Pavel Roskin
f219b81311
* vfsdummy.h: New file to replace vfs.h if VFS is disabled.
...
* Makefile.am: Add vfsdummy.h.
* global.h [!USE_VFS]: Include vfsdummy.h. Fix files that
include vfs.h directly.
2003-10-11 08:54:31 +00:00
Pavel Roskin
9ad0e19d57
* key.c (xterm_key_defines): More sequences for gnome-terminal.
2003-09-24 07:06:08 +00:00
Pavel Roskin
aec581084e
Add even more sequences (for gnome-terminal this time).
2003-09-24 03:32:23 +00:00
Pavel Roskin
6683f6eae9
Also add Shift-Ins.
2003-09-23 07:01:57 +00:00
Pavel Roskin
a7032726f5
* key.c (xterm_key_defines): Add more sequences.
2003-09-23 06:58:34 +00:00
Pavel Roskin
7f99259757
* key.c (xterm_key_defines): Add keypad keys.
...
Reported by Vyacheslav Filyayev <vfilyayev@d2.khai.edu>
2003-09-09 16:30:14 +00:00
Pavel Roskin
d388773779
* key.c (xterm_key_defines): Add more sequences for xterm-179 by
...
Thomas E. Dickey.
2003-07-23 05:44:25 +00:00
Pavel Roskin
944d5c430b
* key.c (mc_bindings): Remove. Esc-">" and Esc-"<" are not
...
always the same as Home and End, at least in mcedit.
(get_key_code): Never ignore Escape outside known sequences.
* screen.c (panel_keymap): Add Esc-">" and Esc-"<".
* tree.c (tree_keymap): Likewise.
* widget.c (input_map): Likewise.
(listbox_key): Likewise.
(check_movement_keys): Likewise.
Reported by Miguel de Icaza <miguel@ximian.com>
2003-06-14 05:19:19 +00:00
Pavel Roskin
bd8919e567
* key.c (correct_key_code): Treat Shift-Backspace as Backspace.
2003-06-09 05:59:00 +00:00
Pavel Roskin
c09c4f0ffc
key.c (init_key): Fix crash if TERM is unset.
2003-05-30 19:56:43 +00:00
Pavel Roskin
f6b4657dcb
* key.c (xterm_key_defines): Add more sequences for xterm, rxvt
...
and konsole.
2003-03-14 16:52:33 +00:00
Andrew V. Samoilov
0fbccef3cc
* key.c: Use fputs() instead of fprintf().
...
(func_XOpenDisplay) [HAVE_GMODULE]: Move to init_key_x11().
(get_modifier) [__QNXNTO__]: Use g_snprintf() instead of unsafe sprintf().
2003-03-11 12:23:08 +00:00
Pavel Roskin
867704615b
* key.c (correct_key_code): Convert unrecognized 0177, Ctrl-h
...
and Ctrl-d into Delete and Backspace. Remove all references to
those keys in other files.
2003-03-10 20:27:54 +00:00
Pavel Roskin
44aac01193
* key.c (get_modifier) [__QNXNTO__]: Remove incorrect check for
...
the existance of libph.so.1.
2003-03-10 14:38:12 +00:00