Commit Graph

80 Commits

Author SHA1 Message Date
103e532c02 Merge pull request #6 from PPN-SD/fix_build
fix build c23
2025-07-29 21:56:22 +02:00
Nicolas PARLANT
ad59739005 drop really old ifdef and fix C23
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
2025-07-28 19:14:01 +02:00
Nicolas PARLANT
ba1513796b missing include
>getopt.c:386:30: error: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)';
>      ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
>  386 |       if (optind != argc && !strcmp (argv[optind], "--"))
>      |                              ^

Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
2025-07-28 18:09:41 +02:00
b93a60572b Remove an obsolete macro. 2024-09-28 12:36:22 +02:00
1938d25ced Update the copyright statement. 2024-09-28 12:35:18 +02:00
7b7bafd5f8 Re-arrange the TODO list for readability. 2024-09-27 23:42:13 +02:00
eec14b33ff Fix a typo. 2024-09-27 23:41:15 +02:00
fdab5e8c5e Automake settings
Omit the contrib subdirectory from the distribution tarball.
2024-09-27 11:11:11 +02:00
66dd5fed23 Git settings
- Clean up the .gitignore file.
- Treat Info pages as binary files.
2024-09-27 10:46:40 +02:00
4cb77488bc Bump the version to 0.7.13. 0.7.13 2024-09-23 21:34:04 +02:00
6f8e688a46 Merge branch 'master' of github.com:dspiljar/mboxgrep 2024-09-23 16:04:20 +02:00
d8f44235f5 Fix Automake to include AUTHORS.md. 2024-09-23 14:37:53 +02:00
6e9600426a Minor update to the man and info pages
Sync the examples section, refer to RFC 4155 for the mbox mailbox
format, and add URLs to Gitea and Github.
2024-09-23 13:15:05 +02:00
b4d3034c8c Minor update to the man and info pages
Sync the examples section, refer to RFC 4155 for the mbox mailbox
format, and add URLs to Gitea and Github.
2024-09-23 12:59:51 +02:00
9515236244 Merge branch 'mbox_cleanup' 2024-09-20 23:43:29 +02:00
a790494133 Code refactoring
Refactor of mbox_open(). Checking for a "postmark" line, i.e. whether
the file is an mbox mailbox, has been moved to mbox_check_postmark().
2024-09-20 22:18:30 +02:00
ec8062309d Readability of the news file
Headings in the news file now refer to changes in the current version,
as opposed to changes since the last version.
2024-09-20 13:48:55 +02:00
631998a849 Code refactoring
Partial refactor of mbox_open(). Opening of file descripts has been
moved to mbox_fdopen().
2024-09-20 13:11:06 +02:00
bd64536e89 Function prototype
Use an enum type instead of a string to define the file opening mode.
2024-09-19 22:40:20 +02:00
b30f2f2362 Suppress "Not an mbox folder" error messages on empty files. 2024-09-19 00:24:21 +02:00
1a63374e73 Move file locking code to a separate function.
Failure to lock a file is now fatal.
2024-09-18 23:48:21 +02:00
efc6f92cdb Update the TODO list. 2024-09-13 15:54:50 +02:00
191b24433f Mention the contributors and convert to Markdown. 2024-09-11 18:07:50 +02:00
40b6f8799f Merge branch 'giachello-master' 2024-09-11 13:47:18 +02:00
Giovanni Iachello
13bf23b9a2 fix autoconf on Windows 2024-09-10 22:39:39 -07:00
c732d4f949 Phrasing
Clarify that the parameter to the "-o" switch is a MAILBOX instead of a
FOLDER (which could be confused with an ordinary filesystem folder).

Added per Roman Nezval's comment.
2023-12-29 00:59:25 +01:00
7255fae5d0 Bump the version to 0.7.12a. 0.7.12a 2023-05-21 15:09:44 +02:00
03407c7afb Correction of Automake macros
Fix Automake macros to include the license file and other files and
directories in the distribution tarball.
2023-05-21 12:05:18 +02:00
dd5fefe22d Update the TODO list and bump the version to 0.7.12. 0.7.12 2023-05-20 20:34:23 +02:00
cbba5c2a33 Remove config.h.in from the git repo, as it is autogenerated. 2023-05-20 20:09:23 +02:00
27082f9629 Minor updates of the documentation. 2023-05-18 13:43:09 +02:00
d17f37b3c5 Include the contrib subdirectory in the distribution tarball. 2023-05-18 13:35:35 +02:00
e004f116b7 Merge branch 'pcre2-port' 2023-05-17 19:40:41 +02:00
e5409a897d Port to the pcre2 library. 2023-05-17 17:58:59 +02:00
55aa25eca3 Add migration from pcre to pcre2 to the TODO list. 2023-05-08 22:54:58 +02:00
7ebef4a322 Fix a compile error caused by an extra curly bracket. 2023-04-22 17:36:28 +02:00
d04349e9b4 Minor code cleanup and fix a compilation warning. 2023-04-19 23:04:57 +02:00
c19253d080 Check command-line options for conflicting matchers and actions. 2023-04-19 21:55:25 +02:00
3040f9c363 Fix Automake macros. Remove autogenerated files from the git repo. 2023-03-28 00:59:16 +02:00
033063befc Version bump to 0.7.11. 0.7.11 2023-03-24 15:18:53 +01:00
7720415afa Updates to the news and installation instructions. 2023-03-24 15:00:06 +01:00
68c0ddee91 Merge branch 'automake' 2023-03-24 14:10:14 +01:00
53d3381cd4 Merge branch 'automake' of git.datatipp.se:dspiljar/mboxgrep into automake 2023-03-24 13:50:10 +01:00
c02deefbd5 Utilize GNU Automake instead of manually written Makefile.in files. 2023-03-24 13:47:16 +01:00
b7006b77b5 Utilize GNU Automake instead of manually written Makefile.in files. 2023-03-23 22:10:04 +01:00
43e7695eac Update the basic documentation. 2023-03-08 15:19:20 +01:00
844dc84974 Ignore backup files. 2023-03-07 16:54:41 +01:00
ee2489483b Code cleanup and indentation.
C source files (with the exception of third-party files, i.e. getopt and
md5) have been indented with GNU indent.

The indentation "standard" has been documented in the readme file.
2023-03-07 16:51:33 +01:00
882a38f908 Refinement of the TODO list. 2023-03-01 20:53:15 +01:00
29a1add6f0 Updates to the news and todo list. 0.7.10 2023-02-23 12:59:33 +01:00