Commit Graph

9597 Commits

Author SHA1 Message Date
Andrew Borodin
5a92bf096a Ticket #1980: increased minimal required version of GLib up to 2.8.
g_try_new, g_try_new0 and g_try_malloc0 macros
are available in Glib >= 2.8.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-01-28 15:10:00 +00:00
Enrico Weigelt, metux IT service
837295b62a Merge branch '1925_mcserver_conditional'
* 1925_mcserver_conditional:
  Added check for empty value of 'enable_mcserver' variable for more proper summary output.
  Ticket #1925: Fixed conditional compile of mcserver
2010-01-27 22:00:06 +01:00
Slava Zanko
8211adc425 Added check for empty value of 'enable_mcserver' variable for more proper summary output.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-27 21:56:46 +01:00
Enrico Weigelt, metux IT service
a295a9df47 Ticket #1925: Fixed conditional compile of mcserver 2010-01-27 21:56:46 +01:00
Slava Zanko
bf951d52ed Merge branch '1957_build_AIX'
* 1957_build_AIX:
  patches for AIX with ncurses support
2010-01-27 12:03:32 +02:00
Rainer Tammer
476145a0f5 patches for AIX with ncurses support
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-27 10:04:38 +02:00
Mikhail S. Pobolovets
2bbe975b2c git: .gitignore updated to current source tree state
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2010-01-26 19:05:37 +02:00
Andrew Borodin
e53f22a4c0 Syntax highlighting: added .HPP extension to the list of C/C++ sources.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-01-26 16:39:30 +00:00
Andrew Borodin
353dac2214 Merge branch '1935_edit_lock_fix'
* 1935_edit_lock_fix:
  Ticket #1935: Incorrect lock files check when hostname contains wide characters.
2010-01-26 13:21:17 +00:00
Andrew Borodin
70a41e4fed Ticket #1935: Incorrect lock files check when hostname contains wide characters.
Bug: in lock_extract_info() number of unicode characters
is used as number of bytes in string.

Now strlen() is used instead of str_term_width() to calculate
string length. String length is calculated only one time.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-01-26 13:18:21 +00:00
Slava Zanko
173d2d4b90 Merge branch '1866_filesystem_reorganization'
* 1866_filesystem_reorganization: (27 commits)
  src/viewer/display.c: added forgotten #include "src/charsets.h"
  Removed src/pipethrough.* files.
  Move src/cons.saver into src/consaver/* subdir
  Changes for build after moving logging.[ch] into library
  Move logging.[ch] into library
  Changes for build after moving strutils into library
  Moved strecape.[ch] into library
  Added include of "fileloc.h" into subshell.c file
  Changes for build after moving interface includes
  Move all interface includes from subdirs lib/*/*.h into lib/*.h
  Reorganization of usage external libs
  Changes for build after moving strutil into lib
  Change maint/template.c matched with new place of global.h
  Moved strutil-related stuff from src into lib/strutil/*
  Changes for build after moving util.[ch]
  Moved src/util.[ch] into lib, also moved unixcompat.h and utilunix.c.
  Reorganization of sources. Part 2
  Reorganization of sources. Part 1.
  global.h Removed unneeded include of file "textconf.h"
  Reorganized pathes to files in '#include' directives
  ...
2010-01-26 10:30:48 +02:00
Slava Zanko
9104ad78e1 src/viewer/display.c: added forgotten #include "src/charsets.h"
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:26 +02:00
Slava Zanko
8172b511bb Removed src/pipethrough.* files.
Glib have fully-functional replacement:
http://library.gnome.org/devel/glib/stable/glib-Spawning-Processes.html

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:26 +02:00
Slava Zanko
862652bd1b Move src/cons.saver into src/consaver/* subdir
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:26 +02:00
Slava Zanko
545cb0a194 Changes for build after moving logging.[ch] into library
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:26 +02:00
Slava Zanko
2fa4d9b952 Move logging.[ch] into library
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:26 +02:00
Slava Zanko
e2f8a48ed8 Changes for build after moving strutils into library
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:26 +02:00
Slava Zanko
e07ba16b3b Moved strecape.[ch] into library
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:25 +02:00
Slava Zanko
108666b192 Added include of "fileloc.h" into subshell.c file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:25 +02:00
Slava Zanko
7c5212642e Changes for build after moving interface includes
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:25 +02:00
Slava Zanko
25155c311a Move all interface includes from subdirs lib/*/*.h into lib/*.h
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:25 +02:00
Slava Zanko
7815c9c7a8 Reorganization of usage external libs
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:24 +02:00
Slava Zanko
cd4dbf3a09 Changes for build after moving strutil into lib
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:24 +02:00
Slava Zanko
3a801603c5 Change maint/template.c matched with new place of global.h
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:24 +02:00
Slava Zanko
7fa24fbc9b Moved strutil-related stuff from src into lib/strutil/*
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:24 +02:00
Slava Zanko
c764f3b84c Changes for build after moving util.[ch]
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:24 +02:00
Slava Zanko
99abd3ab9a Moved src/util.[ch] into lib, also moved unixcompat.h and utilunix.c.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:23 +02:00
Slava Zanko
dbaff2b6f6 Reorganization of sources. Part 2
* moved src/fileloc.h into lib/fileloc.h
 * moved src/timefmt.h into lib/timefmt.h
 * removed unneedded includes into src/util.c

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:23 +02:00
Slava Zanko
93dbc46e9c Reorganization of sources. Part 1.
* moved src/global.h into lib/global.h
 * moved glibcompat.[ch] from ./src/ into ./lib/
 * moved fs.h from ./src/ into ./lib/

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:23 +02:00
Slava Zanko
8610cdfa80 global.h Removed unneeded include of file "textconf.h"
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:23 +02:00
Slava Zanko
39d5b94cac Reorganized pathes to files in '#include' directives 2010-01-26 10:30:22 +02:00
Slava Zanko
ddb9ada2e8 Changes in sources matched with mass movement of $(srcdir)/src/*/ into $(srcdir)/lib/*/
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:22 +02:00
Slava Zanko
4f11e4b665 Massive moved some dirs from $(srcdir)/src into $(srcdir)/lib
Moved subdirs:
 * filehighlight
 * mcconfig
 * search
 * skin
 * tty

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:22 +02:00
Slava Zanko
630efbd59a Moved dir $(srcdir)/syntax into $(srcdir)/misc/syntax
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:21 +02:00
Slava Zanko
43805741aa Changes in sources matched with movement of $(srcdir)/vfs into $(srcdir)/lib/vfs/mc-vfs
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:21 +02:00
Slava Zanko
52f6bed7d0 Moved dir $(srcdir)/vfs into $(srcdir)/lib/vfs/mc-vfs
Also, initial support of library directory.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:21 +02:00
Slava Zanko
f90725ad0d Changes in sources matched with movement of $(srcdir)/edit into $(srcdir)/src/editor
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:19 +02:00
Slava Zanko
871991dda0 Ticket #1866: Move edit/ and vfs/ directories into src/
Moved dir $(srcdir)/edit into $(srcdir)/src/editor

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:19 +02:00
Slava Zanko
c79e5939e6 Merge branch '1973_segfault_panel_format'
* 1973_segfault_panel_format:
  Ticket #1973: Segfault in 'Listing mode' dialog
2010-01-26 10:25:22 +02:00
Slava Zanko
9fdfbf64cb Ticket #1973: Segfault in 'Listing mode' dialog
Test case:
 * run mc
 * Select F9 => 'Left/Right' => 'Listing mode...'
 * [x] user Mini status
 * enter below: 'half type name | size+ | perm'
 * Press [< OK >] button

Fix issue: alloc new block of memory with initialization (filled by zero)

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:25:00 +02:00
Sergei Trofimovich
e9991314cf vfs/netutil.c: fix 'retval' memory leak in vfs_split_url when unbalanced '[' occurs
Thanks to cppckeck:
[./vfs/netutil.c:154]: (error) Memory leak: retval

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2010-01-22 20:34:15 +02:00
Ilia Maslakov
c03ade3252 Merge branch '1559_search_results_highlighting_fix'
* 1559_search_results_highlighting_fix:
  Ticket #1559 (Search results highlighting in mcedit is too subtle)
2010-01-21 16:16:24 +03:00
Ilia Maslakov
1da2c4113f Ticket #1559 (Search results highlighting in mcedit is too subtle)
changed default color pair for 'editbold' for more sensible.

    original issue:
    "It's a bit tricky to *search results of a search* in mcedit when default blue background is set.
    Default colour for search results highlighting should be probably changed to something more sensible;
    to my mind orange or red would be OK."

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-01-21 16:15:49 +03:00
Ilia Maslakov
734eff6025 Merge branch '1946_cursor_beyond_EOL_fix'
* 1946_cursor_beyond_EOL_fix:
  Ticket #1946 (Cursor beyond EOL has unusual default)
2010-01-21 16:09:25 +03:00
Andrew Borodin
9de980e2a4 Merge branch '1955_edit_symlink'
* 1955_edit_symlink:
  Ticket #1955: Incorrect input line length in 'Edit symlink' dialog window
2010-01-21 14:35:03 +00:00
Andrew Borodin
fef45001b0 Ticket #1955: Incorrect input line length in 'Edit symlink' dialog window
If symbolic link has a long name, the input line in 'Edit symlink'
dialog window is short. This bug is reproduces in non-C locales (KOI8-R,
UTF-8, etc).

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-01-21 14:34:46 +00:00
Ilia Maslakov
a04c1cf665 Ticket #1946 (Cursor beyond EOL has unusual default)
now 'Cursor beyond EOL' switched off by default.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-01-21 16:06:49 +03:00
Ilia Maslakov
6be399dc28 Merge branch '1945_editor_mark_all'
* 1945_editor_mark_all:
  Modified hotkeys in editor menu to resolve conflicts.
  little menu refactoring
  Ticket #1945 (new editor action - select all/mark all)
2010-01-20 13:12:20 +03:00
Andrew Borodin
77eb72383a Modified hotkeys in editor menu to resolve conflicts.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-01-20 13:08:38 +03:00
Ilia Maslakov
6c7a91939a little menu refactoring
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-01-20 13:08:37 +03:00