Patrick Winnertz
589ffd0b10
Use g_snprintf instead of snprintf as we switch back to glib
...
Signed-off-by: Patrick Winnertz <winnie@debian.org>
2009-02-05 23:49:00 +01:00
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
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
e4a4f77ac2
replaced g_snprintf() by snprintf()
2009-02-01 20:03:28 +01:00
Enrico Weigelt, metux IT service
15d7d47c15
replaced g_free() by mhl_mem_free()
2009-01-30 19:28:35 +01:00
Patrick Winnertz
537b55b46e
Move this var into if condition as it's only needed there
2009-01-14 23: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
Pavel Tsekov
139e48183f
* src/color.h: Add a new color pair.
...
* src/color.c: Likewise.
* edit/editdraw.c (print_to_widget): Make tabs and trailing whitespace
characters visible.
(edit_draw_this_line): Likewise.
2007-08-27 12:06:02 +00:00
Leonard den Ottolander
59e59d9e3b
* edit/editdraw.c (edit_draw_this_line): Remove unused variable book_mark.
2006-12-04 22:44:50 +00:00
Roland Illig
ad9acbde44
Moved printwstr() from src/slint.c to edit/editdraw.c.
2005-09-05 02:14:29 +00:00
Roland Illig
ad8b819a48
* editdraw.c (render_edit_text): Removed unused variables.
2005-08-15 21:38:33 +00:00
Roland Illig
dee3850ee4
* editdraw.c (render_edit_text): Removed unused variable.
2005-08-15 21:37:34 +00:00
Pavel Roskin
1f60f44145
Update postal address of Free Software Foundation.
2005-05-27 03:35:10 +00:00
Leonard den Ottolander
8994b8bbec
Added casts on 2 parameters to g_snprintf.
2005-04-27 21:02:59 +00:00
Roland Illig
ecc08f6c60
* edit.h: Removed unnecessary #include directives ...
...
* *.c: ... and added them here.
2005-02-22 17:00:36 +00:00
Roland Illig
e501886d58
* editdraw.c: Renamed redraw_labels to buttonbar_redraw.
...
* editwidget.c: Likewise. Renamed define_label_data to
buttonbar_set_label_data.
2005-02-08 09:50:16 +00:00
Roland Illig
e5e3a8f87d
* editcmd.c: Fixed whitespacing issues.
...
* editdraw.c: Likewise.
* syntax.c: Likewise.
2005-02-07 20:32:17 +00:00
Roland Illig
05d2881a71
* *.c: Removed trailing whitespace.
2005-02-07 07:31:19 +00:00
Roland Illig
020455853d
* editdraw.c (edit_status): Changed some variables from size_t to
...
int to avoid GCC warnings.
2005-01-28 01:34:48 +00:00
Roland Illig
067e407cf7
* editdraw.c (edit_status): Fixed drawing bug with ncurses.
2005-01-27 22:14:58 +00:00
Andrew V. Samoilov
bfee231c11
* editdraw.c (edit_status): Don't output extra characters on the
...
status line.
(print_to_widget): Don't use addch() with negative offset to skip
over excessive columns. Output only those columns that should be
displayed on the screen.
2004-11-10 14:11:27 +00:00
Roland Illig
63cae58f20
* editdraw.c (edit_status): Expand the filename field in the status
...
line to 16 characters even if the actual filename is shorter.
2004-10-23 13:14:14 +00:00
Roland Illig
283441db92
* editdraw.c (status_string): Removed unused parameter.
...
(edit_status): Rewrote to allow longer filenames to be displayed
completely whenever possible.
2004-09-24 11:13:11 +00:00
Pavel Roskin
8bc40b44f0
Fix includes not to rely on $(top_srcdir) being in the include path.
2003-10-29 08:54:22 +00:00
Pavel Roskin
729a855b29
* edit-widget.h: Stop misusing "unsigned char" for boolean.
...
Eliminate have_frame - it's unused. Adjust all dependencies.
2003-07-08 23:46:01 +00:00
Pavel Roskin
aaf569bd48
* edit.h: Don't inclide malloc.h. Use g_malloc() and g_free()
...
instead. Adjust all dependencies.
2002-12-15 18:55:53 +00:00
Pavel Roskin
5c0e8be6ca
"Privatize" font-related defines.
2002-11-30 19:59:02 +00:00
Pavel Roskin
18de4488e3
* edit-widget.h: Move typedef WEdit and file names ...
...
* edit.h: ... here. Don't include edit-widget.h. Adjust all
dependencies.
2002-11-29 03:01:06 +00:00
Pavel Roskin
7969f851bb
* edit.h: Decentralize includes.
2002-11-14 19:38:26 +00:00
Pavel Roskin
e741be7a5d
* *.c: Fix all global functions without declarations - declare,
...
make static or remove.
2002-11-13 04:32:00 +00:00
Pavel Roskin
0106eebda6
* editwidget.c (edit_adjust_size): Use find_buttonbar().
2002-11-12 23:35:25 +00:00
Pavel Roskin
b2fd313167
* edit.c: Include charset.h unconditionally, use new conversion
...
functions that don't require ifdefs.
* edit_key_translator.c: Likewise.
* editcmd.c: Likewise.
* editdraw.c: Likewise.
2002-10-30 23:56:49 +00:00
Pavel Roskin
540ffe0db3
* editdraw.c (print_to_widget): Eliminate use of floating point.
...
Change all callers.
2002-10-06 21:08:20 +00:00
Pavel Roskin
da7e82d253
Global removal of RCS Id: flags.
2002-09-26 23:13:45 +00:00
Pavel Roskin
50c15654ef
* edit.h: Move style definitions ...
...
* editdraw.c: ... here. Multiply them by 256. Remove unused
styles.
(print_to_widget): Don't divide style by 256. Simplify logic
since we only have 4 styles now.
2002-09-23 23:05:15 +00:00
Pavel Roskin
6d1beed458
* edit.c (edit_move_forward3): Use caret notation for code 127
...
and below code 32.
* editdraw.c (edit_draw_this_line): Likewise. Print '.' for
other non-printable characters and remove this code from ...
(print_to_widget): ... here.
2002-09-23 22:32:47 +00:00
Pavel Roskin
07de958369
* edit.c (edit_move_forward3): Show 'r' as ^M.
...
* editdraw.c (edit_draw_this_line): Likewise. Use MOD_ABNORMAL
attribute.
From Alexander Varakin <avarakin00@hotmail.com>
2002-09-23 07:13:11 +00:00
Andrew V. Samoilov
9f80054302
* editdraw.c (status_string): Remove font_width argument.
...
(edit_status): Fix calculation to use last column in the status string.
2002-09-20 15:15:43 +00:00
Pavel Roskin
3a93326ce7
* editoptions.c: Make some variables static.
...
* edit.h: Take extern declaratrions from all C files.
2002-08-19 01:23:24 +00:00
Pavel Roskin
75666df0fe
* edit.h [!HAVE_SLANG]: Enable syntax highlighting.
...
* editdraw.c [!HAVE_SLANG]: Respect attributes for color pairs
by using MY_COLOR_PAIR macro.
2002-07-14 21:43:53 +00:00
Pavel Roskin
a23618b2ef
* edit.h (struct key_word): Remove unused "bg" field, rename
...
"fg" to "color", since it keeps all color information.
* syntax.c (edit_get_syntax_color): Replace "fg" and "bg"
arguments with a single argument "color".
Adjust all dependencies.
2002-07-14 17:56:47 +00:00
Pavel Roskin
bb989f677a
* editdraw.c (edit_draw_this_line): Fix setting MOD_ABNORMAL
...
attribute.
(print_to_widget): Fix displaying non-printable characters with
ncurses. Set color for every character even if syntax
highlighting is not compiled - it's needed to reset color after
non-printable characters.
2002-07-14 07:49:24 +00:00
Pavel Roskin
4655fbbb6b
* editdraw.c (edit_status): Use EDITOR_NORMAL_COLOR instead of
...
NORMAL_COLOR.
* syntax.c (edit_get_syntax_color) [!HAVE_SYNTAXH]: Likewise.
2002-07-14 06:17:02 +00:00
Pavel Roskin
817602f8af
* editdraw.c (edit_scroll_screen_over_cursor): Do nothing if the
...
edit widget has zero width or height.
2002-01-23 00:12:17 +00:00
Andrew V. Samoilov
23bdcf3d1e
* editdraw.c (edit_render): Eliminate f. It's only written
...
but never read.
2001-11-28 12:31:48 +00:00
Pavel Roskin
d1caf46603
* bookmark.c: Eliminate all code disabled for the text edition.
...
* edit-widget.h: Likewise.
* editcmd.c: Likewise.
* editdraw.c: Likewise.
* editoptions.c: Likewise.
2001-09-07 18:56:07 +00:00
Pavel Roskin
b44a4e19c6
Copy all necessary files from gtkedit.
...
* Makefile.in (EDITLINKS): Merge with EDITSRC, remove all
references.
2001-08-24 18:23:17 +00:00
Paul Sheer
2d93c2e0ff
removeing these files. Makefile will create symlinks
1998-09-15 21:20:29 +00:00
Paul Sheer
f36e99f150
*** empty log message ***
1998-09-14 21:26:41 +00:00