Commit Graph

180 Commits

Author SHA1 Message Date
Andrew Borodin 726991fc91 Remove check of uintptr_t type
...because we don't have the regex.c file anymore (see
9db4ae7e2f).

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-07-07 13:03:51 +04:00
Yury V. Zaytsev 462be175fd Typo fix in testdup.sh
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2011-02-21 00:12:34 +01:00
Ilia Maslakov aa8f4ffbf6 added shell script 'testdup.sh' for locate duplicate includes
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2011-02-16 20:37:31 +00:00
Ilia Maslakov bd3c950dce changed script maint/doctest to utf-8 support.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2011-02-16 20:21:01 +00:00
Slava Zanko 6376db2df1 maint/version.sh: removed bashizms.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-12-03 10:59:23 +03:00
Slava Zanko 4a1a758c25 maint: added some templates for newly created files
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-24 10:27:20 +03:00
Andrew Borodin bce8f71087 Fixed configure options description.
doc/INSTALL: fixed description of configure options.
maint/mc-test: fixed configure options.
maint/mctest: likewise.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-16 17:27:11 +04:00
Andrew Borodin 6a55c9320e Ticket #2279: mcserver is deprecated.
Removed mcserver and mcfs support.

Reasons:
(1) no longer builds
(2) no one is willing to support it
(3) possibly contains unfixed security holes
(4) makes no sense in view of the availability of FISH

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-17 18:36:54 +04: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
Sergei Trofimovich 1e94073c2d maint/version.sh: added quoting guards file variables
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-07-25 17:22:53 +03:00
Stan. S. Krupoderov 2967f4434a Remove GNU specific option from version.sh 2009-07-25 18:03:09 +04:00
Slava Zanko d9a72ea8c9 version.sh: Ticket 411 (make loops, rerunning configure ad infinitum)
version.h is dumped even when git is unavailable or broken
buildbot dislikes to fetch tags (git fetch --tags) => version.sh failure.
version.sh refused to create version.h when git is unavailable.

All those cases are hopefully fixed.

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-06-20 14:45:09 +03:00
Sergei Trofimovich 3e81dd57c1 version.sh: unbreak version.h generation (--git-dir needs path to bare repo)
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-06-16 20:33:24 +03:00
Oswald Buddenhagen a1864899d2 version.sh: fix typo
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-06-16 20:25:01 +03:00
Oswald Buddenhagen d327943f4d version.sh: more elegant extraction of old version
sed is rather powerful ;)

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-06-16 20:24:59 +03:00
Oswald Buddenhagen c7ba6209df version.sh: fix bashisms
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-06-16 20:24:58 +03:00
Oswald Buddenhagen 9a5c9cbc88 version.sh: don't suppress error messages from git availability check
otherwise there is no feedback at all.
as it happens, this also fixes a bashism

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-06-16 20:24:57 +03:00
Slava Zanko f606e64861 Version of project now formed automatically from current git-describe output
* File version.h will be created (or changed) automatically
 * Fixed versions for rpm packages - all '-' changed to '.' in RPM_VERSION variable
 * when version.h is changed (or deleted) ./configure script will be invoked

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-06-07 00:56:07 +03:00
Slava Zanko abcd23406d remove ChangeLog files from mc tree
Description by Sergei Trofimovich:

GNU ChangeLog? files are result of CVS stupidpity about changeset tracking.
Currently constantly updated ChangeLogs? diverge in different branches and cause collisions(!)
when 'git merge' (almost ANY SINGLE MERGE!).

Major changes can be described in NEWS file, minor changes can be autogenerated via 'git log'/'git shortlog'
and friends (if needed at all).
2009-05-27 14:53:23 +03:00
Slava Zanko 2ebdf91079 Merge branch 'm-utf-8'
* m-utf-8: (223 commits)
  Fix wildcard pattern in file select and file find dialogs
  Project builds with option --disable-charsets
  Deleted build-glib1.sh because glib1 don't work with utf-8
  fix building without --enable-charset
  Total replacement to mc_search stuff in all places
  Search engine: if found_len parameter NULL, then mc_search_run don't try to fill them
  src/view.c: Reworked search stuff to usage src/search
  refactoring: rename edit/editcmd_dialog.c:editcmd_dialog__get_search_types_list to
  Search engine: development of hex search complete
  Search engine: remove forgotten debug string and reindent file
  Search engine:
  configure.ac: if present glib-2.14 and higher, libpcre don't linked
  Search engine: now used regexp external engines:
  src/find.c: Fixed core dump if content search pattern no present
  edit/editcmd_dialogs.c: fixed state of search type between dialog window calls
  Find files: checkbox 'Regular expression' for content search now default unchecked
  Find files: changes for usage of new search engine:
  Fix copy of current/opposite path to command line: remove charset info from path
  src/Makefile.am: add some header files to Make-tracking
  Fixed editor menu reloading.
2009-05-07 13:01:01 +03:00
Slava Zanko 009e53198e Added autopoint to maint subdir (and modified autogen.sh) for successfull build on
all cool OSes :)
2009-04-30 20:46:01 +03:00
Mikhail S. Pobolovets 6a209bdb59 Simple doxygen description for files in edit directory.
Mostly \file and \brief tag added.
Some fixes for warnings with existing comments.

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-02-10 16:07:59 +02:00
Enrico Weigelt, metux IT service 4f9185a3ee Removed bundled slang 2009-02-02 04:23:06 +01:00
Roland Illig 1e97649438 The location of the Savannah CVS repository has changed. 2006-02-03 15:24:32 +00:00
Pavel Roskin d90475660e Really suppress msgmerge progress indicators. 2005-11-15 22:41:59 +00:00
Pavel Roskin 3d0a11bc51 Overwrite MSGMERGE_FLAGS, not MSGMERGE. 2005-11-15 22:14:44 +00:00
Pavel Roskin 4d7182a39f Use trap to catch and report failures. 2005-11-11 05:57:46 +00:00
Pavel Roskin ebc197834e Fix double spaces in CFLAGS. Suppress error messages from rpmbuild
when calculating the architecture.
2005-11-11 03:05:18 +00:00
Pavel Roskin 056c1da206 Use $RPMBUILD to find the rpm architecture. 2005-11-11 02:21:08 +00:00
Pavel Roskin 7d9bf6f403 Rename gettext_ui to Q_ for glib compatibility. 2005-10-04 15:22:35 +00:00
Pavel Roskin 55b23ed98d Prepend "new-" instead of appending ".new" so that special treatment
of files based on extensions is not affected.
2005-09-07 19:58:56 +00:00
Pavel Roskin 82fcec6544 Use msgmerge to regenerate all *.po files against the new mc.pot with the
line numbers.
2005-08-02 04:36:33 +00:00
Pavel Roskin 8129d1ae5e Generate mc.pot, upload it and *.po files to the FTP directory. 2005-07-27 20:00:41 +00:00
Pavel Roskin fef285babc Update base version to 4.6.1. 2005-07-25 14:22:59 +00:00
Roland Illig 48ff22779a ISO C90 headers may be included unconditionally. 2005-07-20 13:14:30 +00:00
Roland Illig 590d5c7ed9 Wrote a small rationale for using "global.h". 2005-07-18 11:33:36 +00:00
Roland Illig e62ae836a3 Automatically run "make check" after a successful "make build". 2005-07-04 10:09:48 +00:00
Roland Illig 2e316d011d Modified the template according to the multi-file project section on
http://www.gnu.org/licenses/gpl-howto.html .
2005-07-03 22:47:35 +00:00
Roland Illig d99bb2db9e Update the version number in the man pages, not only the date. 2005-06-08 00:13:08 +00:00
Roland Illig b01a803341 Replaced the release procedure with a new one that takes into account
that we have translators that need some time for translating, not just
three days. Also added the definition of CVS tags and branches.
2005-06-07 17:14:04 +00:00
Roland Illig 3ce4818b9b The error log files are printed to stdout instead of stderr. This makes it
easier to use a pager with mc-test.
2005-06-07 14:54:11 +00:00
Pavel Roskin 1f60f44145 Update postal address of Free Software Foundation. 2005-05-27 03:35:10 +00:00
Roland Illig deda7ecc93 Added really ugly shell quoting. But it works even for multiline values. 2005-05-18 23:39:47 +00:00
Roland Illig 50751f784c Added the possibility to set configuration variables via the command line. 2005-05-18 23:04:25 +00:00
Roland Illig 6cabb46ac9 Added an example configuration file for mc-test. 2005-05-15 11:33:37 +00:00
Pavel Roskin efcd09ed48 Fix rpmbuild command line. 2005-05-11 02:46:36 +00:00
Pavel Roskin 694ed84007 Don't assume that rpmbuild has necessary permissions for the user - use
our own directory.  Don't assume i386 architecture.
2005-05-11 01:55:50 +00:00
Pavel Roskin e56462d992 New file to look for duplicate includes. 2005-05-10 21:46:36 +00:00
Pavel Roskin 2d72a3f7b9 Clarify licensing statement. 2005-05-10 21:44:44 +00:00
Pavel Roskin 0c198ddc7b Revert overriding RPM target. It can lead to broken packages.
linux32 wrapper should be used instead.
2005-05-10 17:57:02 +00:00
Pavel Roskin 762ca4381b Check diff error code.
Exclude "pc" from comparison - it has a binary file.
Specify rpm target - useful when run on x86_64 in chroot.
Move MCVERSION to a more prominent place.
2005-05-10 17:46:25 +00:00
Roland Illig 81306e3b78 * mc-test: Made the number of stderr lines that are shown
configurable.
2005-04-26 12:12:59 +00:00
Roland Illig afc6f9b696 * mc-test: Removed the all_warnings testcase. 2005-04-26 12:08:54 +00:00
Roland Illig 1de14a2502 Fixed a typo (nice_value => mc_nice_value). 2005-04-09 09:11:49 +00:00
Pavel Roskin c5a443ca87 Move all development from /usr/src to $HOME/src.
Use lsb-rpm to make an LSB compatible package.
Force included S-Lang to avoid dependency problems.
2005-03-31 17:53:07 +00:00
Roland Illig 8a4f10f52f Added glib-1.2 testcase. 2005-02-27 22:08:21 +00:00
Roland Illig 303cf1ff16 Removed backslashes in the test_* functions. Now we are using global
variables instead of "child-process-private" variables. The Solaris
/bin/sh did not accept the backslashed version.
2005-02-23 20:05:14 +00:00
Roland Illig 64afc0126c Don't run the configure script when do_configure is set to "auto" and the
Makefile does already exist.
2005-02-23 17:27:25 +00:00
Roland Illig c2d0ec2f5f * mc-test: Added a configuration variable to select the tests
which are run.
2005-02-22 17:02:34 +00:00
Roland Illig d62267c199 * mc-test: When executing the "." command, always generate a
config file name containing a slash, as otherwise the config
	file would be searched in the $PATH.
2005-02-22 03:54:01 +00:00
Roland Illig 6f4c5ac110 Added MAKE=${mc_make} to the configure arguments. 2005-02-18 19:26:11 +00:00
Roland Illig 2f08bc1c8f Added my own testsuite for the Midnight Commander. Unlike the existing
one, it does not need to have a clean working directory. Instead, it
fetches the source code from a CVS repository, autoconfigures it and
builds various versions of the Midnight Commander.
2005-02-17 22:47:08 +00:00
Roland Illig d23e3fae53 * template.c: #include <config.h> unconditionally. 2005-02-09 19:46:32 +00:00
Roland Illig 68249252cb * template.c: Updated header inclusion section. 2005-02-08 09:06:51 +00:00
Roland Illig 8dea136109 * How to include header files properly. 2005-02-08 09:05:14 +00:00
Roland Illig a8de548480 Added a template for new C files. 2005-02-07 00:06:16 +00:00
Roland Illig c1e388d724 * systems.txt: A list of system configurations that we have access
to for testing the Midnight Commander.
2005-01-21 11:26:24 +00:00
Pavel Roskin d448a65825 Don't exclude *.po from diff. This is needed to have newly added *.po files
in the patch.
2004-09-03 07:16:57 +00:00
Pavel Roskin b1494c9876 Use "-U 1" instead of "-u1" to satisfy GNU diff 2.8.1. 2004-01-23 22:05:14 +00:00
Pavel Roskin b995c294d4 Rename configure.in to configure.ac. 2004-01-22 06:35:03 +00:00
Pavel Roskin bc89c5fb10 Use more portable syntax for functions. 2003-11-20 22:07:06 +00:00
Pavel Roskin 5ced321632 Moved to the top level directory. 2003-11-20 19:44:11 +00:00
Pavel Roskin 05b1a3f2c1 Add enable_netcode=no to the last "rarely used" configuration. 2003-10-29 08:18:15 +00:00
Pavel Roskin 565d65cc7a Suppress progress indicator from msgmerge.
Factorize "make distcheck".
2003-10-26 02:58:58 +00:00
Pavel Roskin 189dadab90 Remove DVI test, it breaks on documentation in Russian on Debian/unstable. 2003-10-26 01:31:06 +00:00
Pavel Roskin 17dcf7ed78 Disable background support in minimal configuration. 2003-10-26 01:00:17 +00:00
Pavel Roskin 6f5feb27cd Add copyright.
Output tabs, not spaces.
2003-10-15 16:56:26 +00:00
Pavel Roskin dffb87e481 Discard libraries with absolute path.
Sort the output and group by object files.
2003-10-15 16:51:21 +00:00
Pavel Roskin 07d3a2cdaa Exclude *.o files with absolute path. 2003-10-14 23:10:25 +00:00
Pavel Roskin 49ca3dc449 New file - find unreferenced global symbols in cross-reference linker maps. 2003-10-14 23:04:01 +00:00
Pavel Roskin 0f822eb355 Force glib 1.2.x in the maximal coverage test. 2003-09-23 20:24:09 +00:00
Pavel Roskin dc41843825 Force using glib 1.2.x. 2003-09-22 21:07:59 +00:00
Pavel Roskin 99a4576359 Make some variables overridable by the environment.
Create a function to try curl and wget.
Try curl first.
2003-09-17 23:28:02 +00:00
Pavel Roskin 7f5fbac2e2 Use own private directory for making RPM package. 2003-07-23 16:24:57 +00:00
Pavel Roskin 6ec35d7ceb Try /usr/src/rpm before /usr/src/redhat 2003-07-23 06:41:31 +00:00
Pavel Roskin 44b8819b9a Remove dashes from the version in the RPM package.
Use exact name of the RPM package.
2003-06-18 05:59:17 +00:00
Pavel Roskin 9e147de291 Use more specific mask for mc rpm to avoid matching the debuginfo package
on Red Hat 9.
2003-06-18 05:26:58 +00:00
Pavel Roskin 6b97e4575f Add gettext. glib2 requires it. 2003-06-06 04:20:47 +00:00
Pavel Roskin fadd10cc6e Script to compile mc against glib2. 2003-06-06 03:24:03 +00:00
Pavel Roskin ff2ffada8c Script to compile mc against static glib-1.2.10. 2003-06-06 02:26:24 +00:00
Pavel Roskin b46fa982f2 Restore FTP directory for snapshots. 2003-06-05 15:57:09 +00:00
Pavel Roskin 84d9703786 Fix spacing after addresses in double quotes.
Optimize match for leading numeric date.
2003-06-02 18:14:57 +00:00
Pavel Roskin 4ea9dcf71c Add script to format ChangeLog in the current directory. 2003-05-30 23:09:23 +00:00
Pavel Roskin dbfc50456f Put snapshots to the web site temporarily until FTP is restored. 2003-05-20 16:02:58 +00:00
Pavel Roskin d667648fd5 Exclude from diff *.po and *.gmo files, but not the whole po directory. 2003-02-21 03:00:28 +00:00
Pavel Roskin eb91a357d2 Change base version to 4.6.0. 2003-02-05 19:42:14 +00:00
Pavel Roskin 2eac95dda3 Don't forget to update configure.in. 2003-02-05 18:00:59 +00:00
Pavel Roskin fc1319fd31 Remove obsolete with_tm_x_support=yes 2003-01-24 19:37:41 +00:00
Pavel Roskin 5a1e6494b0 Update the base version. 2003-01-22 14:43:15 +00:00
Pavel Roskin 9b2632690d Change base version to 4.6.0-pre2. 2002-12-26 22:05:26 +00:00