Commit Graph

54 Commits

Author SHA1 Message Date
Slava Zanko 08e9759283 Split file src/keybind.[ch] to lib/keybind.[ch] and src/keybind-defaults.[ch].
File src/cmddef.h now merged to lib/keybind.h

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:51:31 +03:00
Slava Zanko 045debaa8a Moved charsets.[ch] from src to lib directory
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-24 10:51:31 +03:00
Andrew Borodin 71364f88c3 Split lib/widget/widget.[ch] and lib/widget/wtools.[ch] files
...into small: one widget in one file.
Renamed most if WInput functions.
Minor optimization.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:51:30 +03:00
Slava Zanko 8b018db98f Some WIDGET-related stuff moved to lib/widget directory
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-24 10:51:30 +03:00
Andrew Borodin 53ad349a36 Moved time related stuff from lib/util.[ch] into lib/timefmt.[ch].
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:47 +03:00
Andrew Borodin 79133154b0 Moved hooks from lib/util.[ch] to new files lib/hook.[ch]
... and renamed Hook to hook_t.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:46 +03:00
Andrew Borodin c36a810c09 Fix of file panel encoding change w/o VFS support.
Now --disable-vfs doesn't mean the total disabling of VFS.
With --disable-vfs option, the localfs module is built
to use the change of file panel encoding.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-27 21:43:43 +04:00
Andrew Borodin b2ee413f03 Allow use file locking in various components of MC.
Renamed and moved src/editor/editloc.[ch] -> lib/lock.[ch].
Renamed lock handling functions.
Fixed library order in src/Makefile.am.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:44:22 +04:00
Slava Zanko f7c574b76e lib/Makefile.am: added lib/skin.h into distribution
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-02 18:01:18 +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 e07ba16b3b Moved strecape.[ch] into library
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 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 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 39d5b94cac Reorganized pathes to files in '#include' directives 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 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
Mikhail S. Pobolovets a55a505160 Move all stuff from lib to contrib
Also added template in contrib/distr for some distro-related files (spec, deb, ebuild, etc)
2009-05-08 15:12:48 +03:00
Slava Zanko 73159dbc32 Move all hints-files from lib to doc/hints 2009-05-08 13:23:42 +03:00
Pavel Roskin 6a728cb3f9 * lib/*.ti: Remove, these files are obsolete.
* lib/tdiff: Likewise.
* lib/xterm.tcap: Likewise.
* lib/Makefile.am: Remove obsolete files.  Don't install
README.xterm and xterm.ad, there are partly obsolete and can
break things if used as is.
2003-09-23 06:11:19 +00:00
Pavel Roskin c92b530b5f * lib/mc.hint.sr: Updated.
* lib/mc.menu.sr: New file - translated menu.
* lib/Makefile.am: Add mc.menu.sr.
* doc/sr/: New Serbian documentation.
* doc/Makefile.am: Add "sr" directory.
* configure.in: Add substitutions for new files.
2003-09-22 21:04:59 +00:00
Pavel Roskin a3a8b91ced Add mc.hint.sr. 2003-09-12 02:53:44 +00:00
Marco Ciampa 21b5823b5d Reset changes made in Makefile.am for mistake. 2002-11-05 18:42:57 +00:00
Marco Ciampa f203f0208e fixed creation mc-wrapper.csh & mc-wrapper.sh 2002-11-05 17:05:28 +00:00
Marco Ciampa 513941ad49 mc.sh & mc.csh creation fixed... 2002-11-05 16:53:16 +00:00
Pavel Roskin 68ace346be Fix to pass "make distcheck". 2002-11-01 18:21:14 +00:00
Pavel Roskin 83cb1dd047 * configure.in: Don't substitute mc.sh and mc.csh - it's now
done ...
* lib/Makefile.am: ... here.  Add wrappers for mc to avoid
defining complex shell scripts in functions and aliases.
* lib/mc-wrapper.csh.in: New file - template for the script
that runs mc and changes directory in csh.
* lib/mc-wrapper.sh.in: New file - template for the script
that runs mc and changes directory in sh.
2002-11-01 18:10:20 +00:00
Pavel Roskin 748e028d05 * */Makefile.am: Replace mclibdir with pkgdatadir to use "share"
directory for architecture-independent files.
2002-09-21 23:49:52 +00:00
Pavel Roskin 785ff75d4f * lib/mc.global: Remove, it duplicates the role of mc.lib.
* lib/mc.lib: Add contents of mc.global.
* lib/Makefile.am: Remove all references to mc.global.
2002-08-17 01:16:02 +00:00
Pavel Roskin 62a7a04fe5 * lib/mc.hlp.hu: Move ...
* doc/hu/mc.hlp.hu: ... here.  Make all necessary adjustments.
2002-08-14 06:18:48 +00:00
Pavel Roskin 56368fe9f2 * lib/xnc.hlp: Move ...
* doc/xnc.hlp: ... here.
* doc/Makefile.am: Necessary adjustments.
* lib/Makefile.am: Likewise.
* src/Makefile.am: Likewise.
2002-08-09 21:55:20 +00:00
Pavel Roskin 9b0385f063 * lib/ncurses.h: Remove.
* lib/Makefile.am: Remove ncurses.h.
2001-09-03 02:47:38 +00:00
Pavel Roskin d0ae217d83 * lib/startup.links: Remove.
* lib/README.desktop: Likewise.
* lib/Makefile.am: Remove all references to DESKTOP_FILES.
2001-08-24 18:39:59 +00:00
Pavel Roskin 0482535bf5 * doc-gnome/C/figs/Makefile.am: Don't install GNOME-specific
files if GNOME frontend is disabled.
* idl/Makefile.am: Likewise.
* lib/Makefile.am: Likewise.
* new_icons/Makefile.am: Likewise.
2001-08-21 04:43:03 +00:00
Andras Timar e04c443bb2 2001-08-19 Andras Timar <timar@gnome.hu>
* lib/Makefile.am: Added Hungarian hints
        * lib/mc.hint.hu: by Arpad Biro <biro_arpad@yahoo.com>
2001-08-19 18:36:26 +00:00
Abel Cheung 1d900645b8 Rename file to circumvent $LANGUAGE problem: mc.hint.zh_TW.Big5 -> mc.hint.zh 2001-08-16 02:16:46 +00:00
Pavel Roskin 50859eae37 * lib/Makefile.am: Remove space after backslash introduced in the
previous commit.
2001-08-03 03:15:03 +00:00
Abel Cheung 75295cb026 Added mc.hint.zh_TW.Big5 into lib/Makefile.am . 2001-08-02 23:09:50 +00:00
Pavel Roskin 52004b6b87 * lib/Makefile.am: Add mc.hint.nl. 2001-08-02 14:31:54 +00:00
Pavel Roskin 9377136375 * lib/mc.hint.nl: New file.
From Steef Boerrigter <sxmboer@sci.kun.nl>
* lib/Makefile.am: Add mc.hint.nl.
* lib/mc.hint: Remove ftp site.  Update copyright.
* lib/mc.hint.cs: Likewise.
* lib/mc.hint.es: Likewise.
* lib/mc.hint.it: Likewise.
* lib/mc.hint.pl: Likewise.
* lib/mc.hint.ru: Likewise.  Shorten some lines.
2001-08-01 16:56:26 +00:00
Pavel Roskin 36b103997c * lib/edit.spell.rc: New file. Invoke ispell on Ctrl-p in the editor.
* lib/Makefile.am: Add lib/edit.spell.rc.
2001-07-31 22:13:55 +00:00
Pavel Roskin 74ea91f34d * lib/Makefile.am: Make compatible with Automake 1.4 - remove
conditional variables from EXTRA_DIST.
2001-06-06 14:24:08 +00:00
Pavel Roskin 64b09e307a * lib/mc.charsets: New file. From Walery Studennikov.
* lib/Makefile.am: Distribute mc.charsets. Install it if
the charset support is enabled.
2001-05-31 01:17:21 +00:00
Pavel Roskin 8c4c142ac8 * lib/Makefile.am: Adjusted. 2001-03-02 16:51:36 +00:00
Pavel Roskin 3845f3053c * lib/mc-gnome.ext.in: Remove, it's not used.
* configure.in: Remove lib/mc-gnome.ext.
* lib/Makefile.am: Likewise.
2001-02-26 21:28:59 +00:00
Pavel Roskin 8a5680bc94 * lib/Makefile.am: Distribute files listed in LOCALIZED_HELP. 2001-01-09 18:42:52 +00:00
Andras Timar 92bf5e249d 2001-01-08 Szabolcs Ban <shooby@gnome.hu>
* lib/mc.hlp.hu: Added Hungarian help file from
	  tothb1@freemail.hu, Janos.Zana@elfiz2.kee.hu,
	  maci@integrity.hu, mfh47@freemail.hu
	* lib/Makefile.am: Added LOCALIZED_HELP for further
	  mc.hlp l10ns
	* src/cmd.c, src/dlg.c, src/tree.c, src/view.c,
	  gtkedit/editcmd.c: I18n of mc.hlp
2001-01-08 18:21:33 +00:00