]> granicus.if.org Git - neomutt/log
neomutt
7 years agoAdd the missing debug macro
Richard Russon [Mon, 27 Nov 2017 16:23:03 +0000 (16:23 +0000)]
Add the missing debug macro

The vital macro got lost from the earlier commit.

7 years agoFix stdout + stderr redirection in hcachever.sh
Pietro Cerutti [Mon, 27 Nov 2017 16:31:11 +0000 (16:31 +0000)]
Fix stdout + stderr redirection in hcachever.sh

7 years agomerge: more additions to libmutt
Richard Russon [Mon, 27 Nov 2017 00:09:26 +0000 (00:09 +0000)]
merge: more additions to libmutt

 * move signal functions to libmutt
 * standardise the naming of the signal functions
 * move exit syslist to libmutt
 * factor out ICONV_CONST from headers

7 years agofactor out ICONV_CONST from headers
Richard Russon [Wed, 22 Nov 2017 22:45:12 +0000 (22:45 +0000)]
factor out ICONV_CONST from headers

7 years agomove exit syslist to libmutt
Richard Russon [Fri, 24 Nov 2017 01:59:47 +0000 (01:59 +0000)]
move exit syslist to libmutt

7 years agostandardise the naming of the signal functions
Richard Russon [Thu, 23 Nov 2017 16:06:13 +0000 (16:06 +0000)]
standardise the naming of the signal functions

7 years agomove signal functions to libmutt
Richard Russon [Thu, 23 Nov 2017 02:32:06 +0000 (02:32 +0000)]
move signal functions to libmutt

7 years agodebug: Strip function names from debug messages 950/head
Richard Russon [Sun, 12 Nov 2017 20:33:32 +0000 (20:33 +0000)]
debug: Strip function names from debug messages

7 years agodebug: replace mutt_debug with a macro
Richard Russon [Wed, 13 Sep 2017 15:26:41 +0000 (16:26 +0100)]
debug: replace mutt_debug with a macro

The macro passes the file and line number to mutt_debug_real().

7 years agomerge: standardise the string formatting functions
Richard Russon [Sun, 26 Nov 2017 22:48:58 +0000 (22:48 +0000)]
merge: standardise the string formatting functions

There are lots of callback functions used by `mutt_expando_format()`.
These commits make sure they all have similar names and have similarly
named parameters and variables.

 * rename formatting functions
 * rename format parameters/variables
 * update format function comments
 * rearrange switch statements in format functions
 * light tidy of format functions

7 years agolight tidy of format functions
Richard Russon [Sun, 26 Nov 2017 02:53:14 +0000 (02:53 +0000)]
light tidy of format functions

7 years agorearrange switch statements in format functions
Richard Russon [Sun, 26 Nov 2017 02:44:39 +0000 (02:44 +0000)]
rearrange switch statements in format functions

7 years agoupdate format function comments
Richard Russon [Sun, 26 Nov 2017 02:32:18 +0000 (02:32 +0000)]
update format function comments

7 years agorename format parameters/variables
Richard Russon [Sun, 26 Nov 2017 02:28:55 +0000 (02:28 +0000)]
rename format parameters/variables

7 years agorename formatting functions
Richard Russon [Sun, 26 Nov 2017 01:30:53 +0000 (01:30 +0000)]
rename formatting functions

7 years agomerge: rename some variables
Richard Russon [Sun, 26 Nov 2017 22:46:28 +0000 (22:46 +0000)]
merge: rename some variables

The majority of the code uses the variable name 'buf' for a char buffer.
Most return-code variables are called 'rc'.

This mass rename makes the code more consistent.

 * buff -> buf
 * ret -> rc
 * rv -> rc

7 years agorename variables: rv -> rc
Richard Russon [Fri, 24 Nov 2017 15:45:50 +0000 (15:45 +0000)]
rename variables: rv -> rc

7 years agorename variables: ret -> rc
Richard Russon [Fri, 24 Nov 2017 15:39:49 +0000 (15:39 +0000)]
rename variables: ret -> rc

7 years agorename variables: buff -> buf
Richard Russon [Fri, 24 Nov 2017 15:27:25 +0000 (15:27 +0000)]
rename variables: buff -> buf

7 years agomerge: trivial code improvements
Richard Russon [Sun, 26 Nov 2017 22:45:04 +0000 (22:45 +0000)]
merge: trivial code improvements

 * drop unused code in #if 0
 * doxygen: fix comments
 * fix shadow variable
 * drop duplicate prototype
 * remove unnecessary alloc checks
 * add logging around getaddrinfo()

7 years agoadd logging around getaddrinfo()
Richard Russon [Thu, 23 Nov 2017 20:25:48 +0000 (20:25 +0000)]
add logging around getaddrinfo()

If the user's networking isn't set up correctly, this call can
potentially take several seconds to timeout.

7 years agoremove unnecessary alloc checks
Richard Russon [Tue, 21 Nov 2017 16:59:48 +0000 (16:59 +0000)]
remove unnecessary alloc checks

7 years agodrop duplicate prototype
Richard Russon [Thu, 16 Nov 2017 23:35:50 +0000 (23:35 +0000)]
drop duplicate prototype

7 years agofix shadow variable
Richard Russon [Thu, 16 Nov 2017 03:21:55 +0000 (03:21 +0000)]
fix shadow variable

7 years agodoxygen: fix comments
Richard Russon [Thu, 16 Nov 2017 03:19:44 +0000 (03:19 +0000)]
doxygen: fix comments

7 years agodrop unused code in #if 0
Richard Russon [Fri, 24 Nov 2017 15:07:54 +0000 (15:07 +0000)]
drop unused code in #if 0

7 years agomerge: code style improvements
Richard Russon [Sun, 26 Nov 2017 22:39:41 +0000 (22:39 +0000)]
merge: code style improvements

 * standardise infinite loops
 * fix justify constants
 * insert braces
 * split ifs
 * fallthrough

7 years agoFix ansi escape sequences with both reset and color parameters
Kevin McCarthy [Sun, 19 Nov 2017 03:13:08 +0000 (19:13 -0800)]
Fix ansi escape sequences with both reset and color parameters

The initial 0 "reset/normal" was setting attr = ANSI_OFF, which was
subsequently being or'ed with ANSI_COLOR.

The color resolution was then checking for the ANSI_OFF bit and
turning all coloring off, even though ANSI_COLOR was also set.

Change the color resolution to check for "attr == ANSI_OFF" instead, so
the color isn't reset unless the reset occurs last in the sequence.

(closes #3689)

7 years agofallthrough
Richard Russon [Sat, 25 Nov 2017 00:18:30 +0000 (00:18 +0000)]
fallthrough

7 years agotidy: clang-format
Richard Russon [Thu, 23 Nov 2017 15:48:25 +0000 (15:48 +0000)]
tidy: clang-format

7 years agosplit ifs
Richard Russon [Fri, 24 Nov 2017 16:49:23 +0000 (16:49 +0000)]
split ifs

7 years agoinsert braces
Richard Russon [Fri, 24 Nov 2017 14:46:24 +0000 (14:46 +0000)]
insert braces

7 years agofix justify constants
Richard Russon [Fri, 24 Nov 2017 15:14:33 +0000 (15:14 +0000)]
fix justify constants

7 years agostandardise infinite loops
Richard Russon [Fri, 24 Nov 2017 14:13:02 +0000 (14:13 +0000)]
standardise infinite loops

7 years agofix out-of-tree builds
Richard Russon [Wed, 22 Nov 2017 00:48:48 +0000 (00:48 +0000)]
fix out-of-tree builds

7 years agoRemove vim syntax file from the main repo
Guillaume Brogi [Tue, 21 Nov 2017 10:56:03 +0000 (11:56 +0100)]
Remove vim syntax file from the main repo

The syntax file is now in an extension at https://github.com/neomutt/neomutt.vim

7 years agoMigrate code to use mutt_file_chmod{,_add,_rm} functions
Reis Radomil [Sat, 18 Nov 2017 16:47:32 +0000 (17:47 +0100)]
Migrate code to use mutt_file_chmod{,_add,_rm} functions

Migrate the old code to use the new functions mutt_file_chmod(),
mutt_file_chmod_add(), mutt_file_chmod_rm() instead of plain chmod().

7 years agoAdd chmod() wrappers to library
Reis Radomil [Sat, 18 Nov 2017 08:40:25 +0000 (09:40 +0100)]
Add chmod() wrappers to library

Add functions for changing/adding/removing permissions of files.

mutt_file_chmod          - set permissions
mutt_file_chmod_add      - add permissions
mutt_file_chmod_add_stat - add permissions
mutt_file_chmod_rm       - remove permissions
mutt_file_chmod_rm_stat  - remove permissions

The *_stat functions accept an additional optional stat structure
parameter, which must point to the stat structure of the file.
Using the *_stat functions can save a call to stat() as the stat
structure does not need to be queried by the mutt_file_chmod_* function.

7 years agobuild: fix update-po target
Richard Russon [Thu, 16 Nov 2017 23:31:57 +0000 (23:31 +0000)]
build: fix update-po target

7 years agomerge: Standardise the names of the muttlib functions
Richard Russon [Thu, 16 Nov 2017 17:37:04 +0000 (17:37 +0000)]
merge: Standardise the names of the muttlib functions

 * rename lib to mutt
 * rename base64 functions
 * rename buffer functions
 * rename date functions
 * rename file functions
 * rename hash functions
 * rename list functions
 * rename mapping functions
 * rename mbyte functions
 * rename md5 functions
 * rename memory functions
 * rename sha1 functions
 * rename string functions

7 years agorename string functions 955/head
Richard Russon [Thu, 16 Nov 2017 01:37:37 +0000 (01:37 +0000)]
rename string functions

7 years agorename sha1 functions
Richard Russon [Thu, 16 Nov 2017 01:37:19 +0000 (01:37 +0000)]
rename sha1 functions

7 years agorename memory functions
Richard Russon [Thu, 16 Nov 2017 01:36:55 +0000 (01:36 +0000)]
rename memory functions

7 years agorename md5 functions
Richard Russon [Thu, 16 Nov 2017 01:36:39 +0000 (01:36 +0000)]
rename md5 functions

7 years agorename mbyte functions
Richard Russon [Thu, 16 Nov 2017 02:30:25 +0000 (02:30 +0000)]
rename mbyte functions

7 years agorename mapping functions
Richard Russon [Thu, 16 Nov 2017 01:36:21 +0000 (01:36 +0000)]
rename mapping functions

7 years agorename list functions
Richard Russon [Thu, 16 Nov 2017 02:22:46 +0000 (02:22 +0000)]
rename list functions

7 years agorename hash functions
Richard Russon [Thu, 16 Nov 2017 01:36:11 +0000 (01:36 +0000)]
rename hash functions

7 years agorename file functions
Richard Russon [Thu, 16 Nov 2017 02:07:04 +0000 (02:07 +0000)]
rename file functions

7 years agorename date functions
Richard Russon [Thu, 16 Nov 2017 01:34:42 +0000 (01:34 +0000)]
rename date functions

7 years agorename buffer functions
Richard Russon [Thu, 16 Nov 2017 02:49:14 +0000 (02:49 +0000)]
rename buffer functions

7 years agorename base64 functions
Richard Russon [Thu, 16 Nov 2017 01:34:03 +0000 (01:34 +0000)]
rename base64 functions

7 years agorename lib to mutt
Richard Russon [Thu, 16 Nov 2017 00:54:03 +0000 (00:54 +0000)]
rename lib to mutt

7 years agomerge: upstream fixes (mutt/default)
Richard Russon [Wed, 15 Nov 2017 23:57:37 +0000 (23:57 +0000)]
merge: upstream fixes (mutt/default)

 * Note which ssl config vars are GnuTLS or OpenSSL only
 * Add message count to $move quadoption prompt
 * Add %R (number of read messages) for $status_format
 * Updated French translation
 * Add $change_folder_next option to control mailbox suggestion order
 * Fix $smart_wrap to not be disabled by whitespace-prefixed lines
 * Remove useless else branch in the $smart_wrap code

7 years agoRemove useless else branch in the $smart_wrap code. (see #3857)
Kevin McCarthy [Wed, 15 Nov 2017 22:53:24 +0000 (14:53 -0800)]
Remove useless else branch in the $smart_wrap code. (see #3857)

Thanks to Vincent Lefèvre for noticing the nested else was redundant,
since buf_ptr is already set to "buf + cnt" after the format_line()
call.

This allows us to merge the inner and outer if statement, resulting in
simpler code.

7 years agoFix $smart_wrap to not be disabled by whitespace-prefixed lines. (closes #3857)
Kevin McCarthy [Wed, 15 Nov 2017 22:53:19 +0000 (14:53 -0800)]
Fix $smart_wrap to not be disabled by whitespace-prefixed lines. (closes #3857)

changeset:737102af74eb fixed a folded header display issue with $smart_wrap
by disabling $smart_wrap for lines beginning with whitespace.

Unfortunately, this turns off smart wrapping in the body of an email
too, even when the line has other whitespace breaks in it.

An earlier commit, changeset:125076e0fdfa added an infinite loop fix
when MUTT_PAGER_NSKIP is set, by disabling the smart_wrap if the space
backtracking went to the beginning of the line.  That is, a line
beginning with 1+ whitespace followed by a single long word.

Extend this second commit by always disabling the smart_wrap in that
case, not just when MUTT_PAGER_NSKIP is set.  This also solves the
folded header issue without other side effects.

7 years agoAdd $change_folder_next option to control mailbox suggestion order.
Kevin McCarthy [Sat, 11 Nov 2017 23:49:15 +0000 (15:49 -0800)]
Add $change_folder_next option to control mailbox suggestion order.

This patch is out of the Gentoo package maintained by Fabian Groffen.
From the link below, it appears the original author was Simon Burge.

I made some minor changes to get it to apply correctly, and cleaned up
the documentation a bit.

Original patch description:
This patch brings back the original behaviour of change-folder, which
some people find more useful.  It suggests the next folder in your
mailboxes list that has new mail measured from the current folder,
instead of the first folder from your mailboxes list in any case.  This
prevents starvation of folders defined at the back of your list ;)
See discussion: http://thread.gmane.org/gmane.mail.mutt.devel/12457

7 years agoUpdated French translation.
Vincent Lefevre [Sat, 11 Nov 2017 18:13:40 +0000 (19:13 +0100)]
Updated French translation.

7 years agoAdd %R (number of read messages) for $status_format.
Vincent Lefevre [Sat, 11 Nov 2017 17:59:31 +0000 (18:59 +0100)]
Add %R (number of read messages) for $status_format.

7 years agoAdd message count to $move quadoption prompt.
Kevin McCarthy [Fri, 10 Nov 2017 21:06:43 +0000 (13:06 -0800)]
Add message count to $move quadoption prompt.

Display the number of messages that will be moved in the quadoption
prompt, which might prove helpful for some people.

Thank you to Daan van Rossum for suggesting the improvement.

7 years agoNote which ssl config vars are GnuTLS or OpenSSL only. (closes #3781)
Kevin McCarthy [Wed, 8 Nov 2017 20:57:50 +0000 (12:57 -0800)]
Note which ssl config vars are GnuTLS or OpenSSL only. (closes #3781)

It was not obvious that the ssl_ca_certificates_file was only for
GnuTLS, or that the ssl_usesystemcerts was only for OpenSSL.

7 years agomerge: library moves/improvements
Richard Russon [Wed, 15 Nov 2017 22:37:54 +0000 (22:37 +0000)]
merge: library moves/improvements

 * build: rename headers.c to header.c
 * build: move *_free functions
 * doxygen: add custom layout
 * lib: tidy headers
 * lib: move NLS magic to message.c
 * lib: move function to file.c
 * lib: move functions to string.c
 * lib: move function to list.c
 * lib: move functions to mbyte.c

7 years agomerge: add <edit-or-view-raw-message>
Richard Russon [Wed, 15 Nov 2017 21:36:54 +0000 (21:36 +0000)]
merge: add <edit-or-view-raw-message>

 * Rename OP_EDIT_MESSAGE to OP_EDIT_RAW_MESSAGE
 * neomutt-syntax.vim: Add highlight rules for new functions
 * doc: Document new mutt functions in manual
 * editmsg.c: Implement mutt_view_message() function
 * Add `<{edit,edit-or-view,view}-raw-message>` functions

7 years agoAdd `<{edit,edit-or-view,view}-raw-message>` functions 948/head
Reis Radomil [Wed, 15 Nov 2017 20:53:03 +0000 (21:53 +0100)]
Add `<{edit,edit-or-view,view}-raw-message>` functions

Add mutt-functions `<edit-raw-message>`, `<edit-or-view-raw-message>`
and `<view-raw-message>`.

`<view-raw-message>` is a binding for the C-function
`mutt_view_message()`, which opens the raw message as a read-only file
in an external editor.

`<edit-or-view-raw-message>` is a dispatcher function: If the mailbox
is writable then this is the same as `<edit-raw-message>`, otherwise it
is the same as `<view-raw-message>`.

`<edit-raw-message>` is a synonym for `<edit>` whose name coherent with
the naming scheme of the other two functions introduced.

Change default key binding of `e` from `edit` to
`edit-or-view-raw-message`. This allows viewing the raw message in an
external editor also in read-only mailboxes.

7 years agoeditmsg.c: Implement mutt_view_message() function
Reis Radomil [Wed, 15 Nov 2017 20:53:03 +0000 (21:53 +0100)]
editmsg.c: Implement mutt_view_message() function

Add mutt_view_message() function, which opens the selected message or
the tagged messages as a read-only file in an external editor. This
function is similar to mutt_edit_message() but does not allow modifying
the message.

A usage scenario might be to view the message source code in an editor.

Note: This patch only adds C functions. It does not add any mutt-functions.

7 years agodoc: Document new mutt functions in manual
Reis Radomil [Wed, 15 Nov 2017 20:53:03 +0000 (21:53 +0100)]
doc: Document new mutt functions in manual

Document the new mutt functions `edit-or-view-raw-message` and
`view-raw-message`.

Amend description of `edit` function to mention the two new functions.

7 years agoneomutt-syntax.vim: Add highlight rules for new functions
Reis Radomil [Wed, 15 Nov 2017 20:53:03 +0000 (21:53 +0100)]
neomutt-syntax.vim: Add highlight rules for new functions

Add syntax rules for the new functions `edit-or-view-raw-message` and
`view-raw-message`.

7 years agoRename OP_EDIT_MESSAGE to OP_EDIT_RAW_MESSAGE
Reis Radomil [Wed, 15 Nov 2017 20:52:14 +0000 (21:52 +0100)]
Rename OP_EDIT_MESSAGE to OP_EDIT_RAW_MESSAGE

This brings the constant name in line with the description of its
corresponding mutt-function and paves the way for a coherent name scheme
in the upcoming 'edit-raw-message' family of mutt-functions.

7 years agomerge: small coverity fixes
Richard Russon [Wed, 15 Nov 2017 15:46:30 +0000 (15:46 +0000)]
merge: small coverity fixes

 * fix typos
 * fix leak in mutt_select_file()
 * fix leak in mutt_compose_attachment()
 * highlight preproc-like variable
 * add pointer checks to gpgme
 * check retval of REGCOMP()
 * check retval of strtok()
 * check retval of mutt_save_attachment()
 * check retval of mutt_account_get{user,pass,login}()
 * check retval of mutt_system()

7 years agocheck retval of mutt_system() 953/head
Richard Russon [Mon, 13 Nov 2017 13:16:32 +0000 (13:16 +0000)]
check retval of mutt_system()

`mutt_system()` returns int, so check accordingly.

Also, make sure we log if any calls fail.

7 years agocheck retval of mutt_account_get{user,pass,login}()
Richard Russon [Mon, 13 Nov 2017 12:58:07 +0000 (12:58 +0000)]
check retval of mutt_account_get{user,pass,login}()

Functions `mutt_account_getuser()`, `mutt_account_getpass()` and
`mutt_account_getlogin()` all return int, so check accordingly.

Also, make sure we log if any calls fail.

7 years agocheck retval of mutt_save_attachment()
Richard Russon [Mon, 13 Nov 2017 02:23:25 +0000 (02:23 +0000)]
check retval of mutt_save_attachment()

7 years agocheck retval of strtok()
Richard Russon [Mon, 13 Nov 2017 01:57:37 +0000 (01:57 +0000)]
check retval of strtok()

7 years agocheck retval of REGCOMP()
Richard Russon [Sun, 12 Nov 2017 23:58:17 +0000 (23:58 +0000)]
check retval of REGCOMP()

`REGCOMP()` wraps `regcomp()` which returns int.

7 years agoadd pointer checks to gpgme
Richard Russon [Mon, 13 Nov 2017 11:42:45 +0000 (11:42 +0000)]
add pointer checks to gpgme

7 years agohighlight preproc-like variable
Richard Russon [Mon, 13 Nov 2017 02:39:04 +0000 (02:39 +0000)]
highlight preproc-like variable

`allow_skip` is only set in one place in a `#ifdef`d block.
This effectively makes it a preprocessor condition.
By changing its name to capitals we let Coverity know how we're using
the variable.

7 years agofix leak in mutt_compose_attachment()
Richard Russon [Mon, 13 Nov 2017 01:36:08 +0000 (01:36 +0000)]
fix leak in mutt_compose_attachment()

Move the `mutt_free_body()` before the two `goto bailout`s.

7 years agofix leak in mutt_select_file()
Richard Russon [Mon, 13 Nov 2017 00:39:27 +0000 (00:39 +0000)]
fix leak in mutt_select_file()

7 years agofix typos
Richard Russon [Tue, 14 Nov 2017 00:39:58 +0000 (00:39 +0000)]
fix typos

7 years agoMake sure objects are not compiled before git_ver.h is generated
Pietro Cerutti [Tue, 14 Nov 2017 15:39:47 +0000 (15:39 +0000)]
Make sure objects are not compiled before git_ver.h is generated

7 years agoautosetup: expand --everything in `neomutt -v`
Richard Russon [Sat, 11 Nov 2017 23:40:23 +0000 (23:40 +0000)]
autosetup: expand --everything in `neomutt -v`

7 years agodoxygen: document parameter functions
Richard Russon [Sun, 12 Nov 2017 02:26:13 +0000 (02:26 +0000)]
doxygen: document parameter functions

7 years agodoxygen: document envelope functions
Richard Russon [Sun, 12 Nov 2017 02:22:06 +0000 (02:22 +0000)]
doxygen: document envelope functions

7 years agodoxygen: document address functions
Richard Russon [Sun, 12 Nov 2017 02:20:43 +0000 (02:20 +0000)]
doxygen: document address functions

7 years agodocs: add a sentence to quasi-delete docs
Richard Russon [Sat, 11 Nov 2017 23:20:57 +0000 (23:20 +0000)]
docs: add a sentence to quasi-delete docs

7 years agoCleanup "SSL is unavailable" error in mutt_conn_find
Pietro Cerutti [Thu, 9 Nov 2017 17:03:52 +0000 (17:03 +0000)]
Cleanup "SSL is unavailable" error in mutt_conn_find

- Remove the sleep
- Be more informative about the failed connection

Issue #934

7 years agoSanitize mutt_copy_message* APIs
Pietro Cerutti [Thu, 9 Nov 2017 08:50:52 +0000 (08:50 +0000)]
Sanitize mutt_copy_message* APIs

7 years agorename public functions with a leading underscore
Richard Russon [Tue, 7 Nov 2017 15:11:18 +0000 (15:11 +0000)]
rename public functions with a leading underscore

7 years agorename static functions with a leading underscore
Richard Russon [Tue, 7 Nov 2017 15:11:14 +0000 (15:11 +0000)]
rename static functions with a leading underscore

7 years agoCorrect spelling mistakes.
Edward Betts [Thu, 9 Nov 2017 09:38:53 +0000 (09:38 +0000)]
Correct spelling mistakes.

7 years agodoc: display_filter escape sequence
Richard Russon [Wed, 8 Nov 2017 16:47:29 +0000 (16:47 +0000)]
doc: display_filter escape sequence

Issue #897

7 years agofix: drop capability aliases
Richard Russon [Wed, 1 Nov 2017 05:14:22 +0000 (05:14 +0000)]
fix: drop capability aliases

`CapabilityAliases` was a list of alternative names (just one) for IMAP
capability strings.  This isn't necessary.  We can put the strings in
`Capabilities` and fix the enumeration.

```c
enum ImapCaps
{
  ...
  X_GM_EXT1,
  X_GM_ALT1 = X_GM_EXT1,
  ...
};
```

7 years agobug: imap gmail search
Richard Russon [Wed, 1 Nov 2017 05:13:59 +0000 (05:13 +0000)]
bug: imap gmail search

The order of strings in Capabilities should match the enums in ImapCaps.

7 years agoDo not turn CRLF into LF when dealing with transfer-encoding=base64 (#920)
Pietro Cerutti [Wed, 8 Nov 2017 12:01:30 +0000 (12:01 +0000)]
Do not turn CRLF into LF when dealing with transfer-encoding=base64 (#920)

Fixes #722

7 years agoCheck that OpenSSL md5 supports -r before using it (#915)
Pietro Cerutti [Wed, 8 Nov 2017 12:01:21 +0000 (12:01 +0000)]
Check that OpenSSL md5 supports -r before using it (#915)

* Check that OpenSSL md5 supports -r before using it

Fixes #914

* Remove unused variable assignment

Fixes #914

7 years agomerge: trivial code fixes/changes
Richard Russon [Tue, 7 Nov 2017 14:40:35 +0000 (14:40 +0000)]
merge: trivial code fixes/changes

 * move test to the right place
 * Remove unnecessary semicolon
 * build: fix shadow variable warning
 * refactor malloc/calloc
 * ignore temporary build files
 * fix copyright messages
 * fix plain unsigned
 * unused prototypes, whitespace
 * Standardise spelling s/RfC/RFC/
 * alias drop self

7 years agoalias drop self 926/head
Richard Russon [Sat, 4 Nov 2017 14:31:54 +0000 (14:31 +0000)]
alias drop self

struct Alias began:

```c
struct Alias
{
  struct Alias *self; /* XXX - ugly hack */
  ...
```

There didn't seem to be any reason for this pointer.
The two places that allocate a new Alias, immediately set the self
pointer to the object.  No users of `self` test it first.

7 years agoStandardise spelling s/RfC/RFC/
Richard Russon [Thu, 2 Nov 2017 14:29:21 +0000 (14:29 +0000)]
Standardise spelling s/RfC/RFC/

7 years agounused prototypes, whitespace
Richard Russon [Wed, 1 Nov 2017 04:24:02 +0000 (04:24 +0000)]
unused prototypes, whitespace

7 years agofix plain unsigned
Richard Russon [Wed, 1 Nov 2017 02:29:43 +0000 (02:29 +0000)]
fix plain unsigned

Be specific.  Replace `unsigned` with `unsigned int`.