Commit Graph

9479 Commits

Author SHA1 Message Date
Milan Cermak
eaf0ff08bb Update Czech translations.
Some czech translations wont fit into columns with 80 chars terminal.
This patch reverts translation to older but fitting version.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-01-05 19:17:38 +03:00
Andrew Borodin
b9250160f1 Merge branch '1843_slow_edit'
* 1843_slow_edit:
  Some simple optimization of syntax highlighting engine.
  Ticket #1843: slow syntax highlighting engine in editor.
2010-01-05 13:05:54 +03:00
Andrew Borodin
b881a7b9ad Some simple optimization of syntax highlighting engine.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-01-05 12:19:41 +03:00
Andrew Borodin
39ddea87ee Ticket #1843: slow syntax highlighting engine in editor.
Initial step: some #include's arrangement.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-01-05 12:19:41 +03:00
Marcel Pol
e6dce1dcbc Updated Dutch translation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-01-03 20:01:05 +03:00
Enrico Weigelt, metux IT service
3900dfab71 Merge branch '1933_tcc_build_fixup'
* mco/1933_tcc_build_fixup:
  Ticket #1933 (samba: fixup for builds with tcc)
2010-01-03 13:45:56 +01:00
Andrew Borodin
f683bc78a7 Ticket #1933 (samba: fixup for builds with tcc)
Removed obsolete checks for header glob.h

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-01-03 11:09:26 +00:00
Ilia Maslakov
b1c97f6c5b Ticket #1915 (not finished comment)
fixed wrong not finished comment

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-01-02 23:58:23 +00:00
Yury V. Zaytsev
50825505ca Merge branch '1920_deba_debd_vfs_fix'
* 1920_deba_debd_vfs_fix:
  Ticket #1920: Issues with deba and debd VFS
2010-01-02 17:04:50 +01:00
Serhiy Storchaka
fc9c24c6f9 Ticket #1920: Issues with deba and debd VFS
Currently, deba and debd VFS contains fake directories a-la "14:21
DEBIAN", "14:21 CONTENTS". Items from DEBIAN directory (conffiles,
md5sums, ...) not accessible.

The patch fixes this issues.

Thanks to Serhiy Storchaka for the patch.
2010-01-02 17:04:18 +01:00
Enrico Weigelt, metux IT service
ae2b21f547 Merge branch '1915_smbfs_build_fixups'
* 1915_smbfs_build_fixups:
  Replaced WITH_SMBFS by ENABLE_VFS_SMB
  vfs/smb: removed own obsolete and broken substitution of strchr
  vfs/smb: configure script fixups (for breaks on -Werror)
  Ticket #1915: vfs/smb: fixed breakage on strcpy()/strcat()
2010-01-02 16:30:06 +01:00
Enrico Weigelt, metux IT service
8c9619cef1 Replaced WITH_SMBFS by ENABLE_VFS_SMB 2010-01-02 16:29:24 +01:00
Enrico Weigelt, metux IT service
c47852cbfe vfs/smb: removed own obsolete and broken substitution of strchr 2010-01-02 16:29:24 +01:00
Enrico Weigelt, metux IT service
3e034c77ac vfs/smb: configure script fixups (for breaks on -Werror) 2010-01-02 16:27:36 +01:00
Enrico Weigelt, metux IT service
304d876d5a Ticket #1915: vfs/smb: fixed breakage on strcpy()/strcat() 2010-01-02 16:27:36 +01:00
Enrico Weigelt, metux IT service
251bd24025 Merge remote branch 'mco/1693_filetypes_lyx'
* mco/1693_filetypes_lyx:
  Ticket #1693: viewing .lyx with lyxcat, opening with lyx.
2010-01-02 15:33:30 +01:00
Enrico Weigelt, metux IT service
bcbdf6235e Ticket #1693: viewing .lyx with lyxcat, opening with lyx.
Signed-off-by: Enrico Weigelt, metux IT service <weigelt@metux.de>
2010-01-02 16:53:01 +03:00
Enrico Weigelt, metux IT service
09e2003c1e Merge remote branch 'mco/1780_remove_errno_decl'
* mco/1780_remove_errno_decl:
  Removed calls to strerror() function from own libsamba implementation.
  Removing calls of strerror() function in mc-core
  Ticket #1780: removing own declaration of errno and strerror()
2010-01-02 10:04:08 +01:00
Slava Zanko
cbdf86f4f8 Removed calls to strerror() function from own libsamba implementation.
Please remember: own libsamba will dropped in near time (we will use libsmbclient instead)
Therefore no need to much changes in own deprecated code.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-02 07:11:01 +01:00
Slava Zanko
d5526e13dc Removing calls of strerror() function in mc-core
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-02 07:11:01 +01:00
Enrico Weigelt, metux IT service
f6637e4871 Ticket #1780: removing own declaration of errno and strerror() 2010-01-02 07:11:01 +01:00
Andrew Borodin
e5fdb34eae doc/NEWS: fixed changes for 4.7.0 version (since 4.7.0-pre4).
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-01-01 10:13:25 +03:00
Slava Zanko
316a241f0c Update doc/NEWS file for new release.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-30 22:23:01 +02:00
Slava Zanko
7f4f0cb660 Ticket #1905: Rework the versioning scheme.
We have a problem with the current mc-x.y.z-preW versioning scheme for
both Redhat and Debian. The problem is that

(1) mc-1:4.7.0-1.fc12.x86_64
(2) mc-1:4.7.0.pre4.231.g8cfffc5-1.fc12.x86_64

(1) is considered to be older than (2)

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-12-30 22:22:53 +02:00
Martin Zoubek
1985a2a269 Update Czech translation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-12-30 17:07:06 +03:00
Slava Zanko
00f38570e6 Merge branch '1916_nonvfs_fixup'
* 1916_nonvfs_fixup:
  Rewritten vfs_canon_and_translate() function for using glib functions.
  VFS: renamed USE_VFS to ENABLE_VFS
  VFS: fixed help description for --disable-vfs
  src/file.c: Fixed warning on unused parameter on non-vfs build
  VFS: removed duplicate O_LINEAR declaration in src/vfsdummy.h
  VFS: added non-vfs version of vfs_canon_and_translate()
  VFS: added non-vfs version of vfs_translate_path_n()
  VFS: added non-vfs version of vfs_get_encoding()
  VFS: fixing symbol clash on mc_ungetlocalcopy() at non-vfs build
  VFS: fixing symbol clash on mc_readlink() at non-vfs build
  VFS: fixing symbol clash on mc_utime() at non-vfs build
  VFS: fixing symbol clash on mc_write() at non-vfs build
  VFS: fixing symbol clash on mc_read() at non-vfs build
  VFS: fixing symbol clash on vfs_file_is_local() at non-vfs build
  VFS: fixing symbol clash on vfs_current_is_local() at non-vfs build
  VFS: fixing symbol clash on vfs_init() and vfs_shut() at non-vfs build
  VFS: fixed lots of missing includes to vfs/vfs.h
  Ticket #1916: non-vfs build fixups
2009-12-30 11:06:47 +02:00
Slava Zanko
c73e282823 Rewritten vfs_canon_and_translate() function for using glib functions.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-30 11:06:11 +02:00
Enrico Weigelt, metux IT service
ec1a52fb0a VFS: renamed USE_VFS to ENABLE_VFS 2009-12-30 11:06:11 +02:00
Enrico Weigelt, metux IT service
02a6a6994b VFS: fixed help description for --disable-vfs 2009-12-30 11:06:11 +02:00
Enrico Weigelt, metux IT service
c40d1c09bd src/file.c: Fixed warning on unused parameter on non-vfs build 2009-12-30 11:06:11 +02:00
Enrico Weigelt, metux IT service
bc0a91e931 VFS: removed duplicate O_LINEAR declaration in src/vfsdummy.h 2009-12-30 11:06:11 +02:00
Enrico Weigelt, metux IT service
43fa57ed65 VFS: added non-vfs version of vfs_canon_and_translate() 2009-12-30 11:06:10 +02:00
Enrico Weigelt, metux IT service
b3a0216000 VFS: added non-vfs version of vfs_translate_path_n() 2009-12-30 11:06:10 +02:00
Enrico Weigelt, metux IT service
2153b3c5cd VFS: added non-vfs version of vfs_get_encoding() 2009-12-30 11:06:10 +02:00
Enrico Weigelt, metux IT service
e2e490a054 VFS: fixing symbol clash on mc_ungetlocalcopy() at non-vfs build 2009-12-30 11:06:10 +02:00
Enrico Weigelt, metux IT service
9571b0ac15 VFS: fixing symbol clash on mc_readlink() at non-vfs build 2009-12-30 11:06:10 +02:00
Enrico Weigelt, metux IT service
1ee19ccdc2 VFS: fixing symbol clash on mc_utime() at non-vfs build 2009-12-30 11:06:10 +02:00
Enrico Weigelt, metux IT service
8cade48b13 VFS: fixing symbol clash on mc_write() at non-vfs build 2009-12-30 11:06:10 +02:00
Enrico Weigelt, metux IT service
1b11c35b2b VFS: fixing symbol clash on mc_read() at non-vfs build 2009-12-30 11:06:10 +02:00
Enrico Weigelt, metux IT service
54f302e2c9 VFS: fixing symbol clash on vfs_file_is_local() at non-vfs build 2009-12-30 11:06:09 +02:00
Enrico Weigelt, metux IT service
49c83d786c VFS: fixing symbol clash on vfs_current_is_local() at non-vfs build 2009-12-30 11:06:09 +02:00
Enrico Weigelt, metux IT service
b86788822d VFS: fixing symbol clash on vfs_init() and vfs_shut() at non-vfs build 2009-12-30 11:06:09 +02:00
Enrico Weigelt, metux IT service
80b3776c20 VFS: fixed lots of missing includes to vfs/vfs.h 2009-12-30 11:06:09 +02:00
Enrico Weigelt, metux IT service
03b6d00976 Ticket #1916: non-vfs build fixups
* removed accidentially merged unfinished mvfs stuff
* added missing AM_CONDITIONAL's for non-vfs build
* fixed clashes between vfs/vfs.h and src/vfsdummy.h
* added missing functions/inlines to non-vfs build
2009-12-30 11:06:09 +02:00
Slava Zanko
f287f204be Merge branch '1914_mcserv_unused_variable'
* 1914_mcserv_unused_variable:
  Ticket: #1914: src/mcserv.c: fixed break on unused parameter
2009-12-30 11:03:42 +02:00
Enrico Weigelt, metux IT service
c4776385bc Ticket: #1914: src/mcserv.c: fixed break on unused parameter 2009-12-30 11:03:28 +02:00
Slava Zanko
f3b6436732 Merge branch '1913_unused_strfunc'
* 1913_unused_strfunc:
  Ticket: #1913: Fixed warn/break on unsed static function str_utf8_create_key_for_filename()
2009-12-30 11:01:32 +02:00
Enrico Weigelt, metux IT service
af2f1f650b Ticket: #1913: Fixed warn/break on unsed static function str_utf8_create_key_for_filename()
Unused static function causes build to break on -Werror.
Fixing this by commenting it out.
(not removing it since it might get used some day)

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-30 11:01:09 +02:00
Sergei Trofimovich
4c8dbd8f3b Merge branch '1906_crash_on_syntax'
* 1906_crash_on_syntax:
  Ticket #1906: edit: crash on file open whoen some Syntax files are absent (reported by pavlinux)
2009-12-27 10:24:12 +02:00
Sergei Trofimovich
4d9bc2923b Ticket #1906: edit: crash on file open whoen some Syntax files are absent (reported by pavlinux)
valgrind log snippet: (from here http://pavlinux.ru/vgmc.log)

> ==26750== HEAP SUMMARY:
> ==26750==     in use at exit: 0 bytes in 0 blocks
> ==26750==   ==26749== Invalid free() / delete / delete[]
> ==26749==    at 0x4A06DD8: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==26749==    by 0x48B5F9: edit_read_syntax_rules (syntax.c:766)
> ==26749==    by 0x48CDA7: edit_read_syntax_file (syntax.c:1140)
> ==26749==    by 0x48D06D: edit_load_syntax (syntax.c:1219)
> ==26749==    by 0x4762F6: edit_init (edit.c:834)
> ==26749==    by 0x4858FC: edit_file (editwidget.c:241)
> ==26749==    by 0x44D017: do_edit_at_line (cmd.c:304)
> ==26749==    by 0x44D098: do_edit (cmd.c:324)
> ==26749==    by 0x44D10E: edit_cmd (cmd.c:331)
> ==26749==    by 0x46C2E4: midnight_execute_cmd (main.c:1193)
> ==26749==    by 0x46CD41: midnight_callback (main.c:1690)
> ==26749==    by 0x4353F4: buttonbar_call (widget.c:2654)
> ==26749==  Address 0x60f8e10 is 0 bytes inside a block of size 30 free'd
> ==26749==    at 0x4A06DD8: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==26749==    by 0x48B32C: open_include_file (syntax.c:705)
> ==26749==    by 0x48B6E8: edit_read_syntax_rules (syntax.c:784)
> ==26749==    by 0x48CDA7: edit_read_syntax_file (syntax.c:1140)
> ==26749==    by 0x48D06D: edit_load_syntax (syntax.c:1219)
> ==26749==    by 0x4762F6: edit_init (edit.c:834)
> ==26749==    by 0x4858FC: edit_file (editwidget.c:241)
> ==26749==    by 0x44D017: do_edit_at_line (cmd.c:304)
> ==26749==    by 0x44D098: do_edit (cmd.c:324)
> ==26749==    by 0x44D10E: edit_cmd (cmd.c:331)
> ==26749==    by 0x46C2E4: midnight_execute_cmd (main.c:1193)
> ==26749==    by 0x46CD41: midnight_callback (main.c:1690)

We see doublefree memory corruption here, introduced by spurious 'g_free(error_file_name)'
of changeset:0c17219b2ab5cb5fe2e73f8d7cc9c11c755a3ae4 (syntax.c file)

The rest of code seems to store real syntax file name there.

Making code the same as part above: don't free 'error_file_name'

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-12-27 10:23:50 +02:00