simon-git: halibut (main): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Sun Aug 15 09:09:11 BST 2021


TL;DR:
  5c3db60 Invent an errorstate to pass to all err_* functions.
  edaf724 Use errorstate to track fatal errors.
  a2d3439 Make some never-modified global variables const.
  a44aa6f Remove a couple of unused variables.
  6465037 Update the charset submodule.

Repository:     https://git.tartarus.org/simon/halibut.git
On the web:     https://git.tartarus.org/?p=simon/halibut.git
Branch updated: main
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2021-08-15 09:09:11

commit 5c3db60a2911efb18bdc823264b74d8045c407b9
web diff https://git.tartarus.org/?p=simon/halibut.git;a=commitdiff;h=5c3db60a2911efb18bdc823264b74d8045c407b9;hp=d9b77f148a76e65a270ad6087e0515605c813e36
Author: Simon Tatham <anakin at pobox.com>
Date:   Wed Jun 30 21:35:47 2021 +0100

    Invent an errorstate to pass to all err_* functions.

 biblio.c   |  15 +++---
 bk_html.c  |  42 ++++++++++------
 bk_info.c  |  39 ++++++++-------
 bk_man.c   |  11 +++--
 bk_paper.c |  21 ++++----
 bk_pdf.c   |   8 +--
 bk_ps.c    |   6 +--
 bk_text.c  |  15 +++---
 bk_whlp.c  |   6 +--
 contents.c |   4 +-
 error.c    | 120 ++++++++++++++++++++++----------------------
 halibut.h  | 165 ++++++++++++++++++++++++++++++++++---------------------------
 in_afm.c   |  42 ++++++++--------
 in_pf.c    |  32 ++++++------
 in_sfnt.c  |  88 ++++++++++++++++-----------------
 index.c    |   6 +--
 input.c    |  76 ++++++++++++++--------------
 keywords.c |  10 ++--
 main.c     |  33 +++++++------
 paper.h    |   6 +--
 ustring.c  |   4 +-
 21 files changed, 399 insertions(+), 350 deletions(-)

commit edaf724febe2f9c890ef1cfdf24a78d5c1da2b32
web diff https://git.tartarus.org/?p=simon/halibut.git;a=commitdiff;h=edaf724febe2f9c890ef1cfdf24a78d5c1da2b32;hp=5c3db60a2911efb18bdc823264b74d8045c407b9
Author: Simon Tatham <anakin at pobox.com>
Date:   Wed Jun 30 21:21:59 2021 +0100

    Use errorstate to track fatal errors.
    
    Now they should reliably cause a failure exit code, and also,
    any error during read_input will terminate the program before
    any output is written based on the resulting nonsense.

 error.c   | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 halibut.h |  3 +++
 main.c    | 23 +++++++++++++----------
 3 files changed, 70 insertions(+), 10 deletions(-)

commit a2d34397f4381baf9a1b6d7047d4a7d6a655d4b8
web diff https://git.tartarus.org/?p=simon/halibut.git;a=commitdiff;h=a2d34397f4381baf9a1b6d7047d4a7d6a655d4b8;hp=edaf724febe2f9c890ef1cfdf24a78d5c1da2b32
Author: Simon Tatham <anakin at pobox.com>
Date:   Sun Aug 15 08:25:52 2021 +0100

    Make some never-modified global variables const.

 in_sfnt.c | 52 ++++++++++++++++++++++++++--------------------------
 input.c   |  2 +-
 main.c    |  2 +-
 3 files changed, 28 insertions(+), 28 deletions(-)

commit a44aa6fc9d70dc61baba631de3c75cf74542dc84
web diff https://git.tartarus.org/?p=simon/halibut.git;a=commitdiff;h=a44aa6fc9d70dc61baba631de3c75cf74542dc84;hp=a2d34397f4381baf9a1b6d7047d4a7d6a655d4b8
Author: Simon Tatham <anakin at pobox.com>
Date:   Sun Aug 15 08:59:14 2021 +0100

    Remove a couple of unused variables.

 winchm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 64650379e35a7d6450bdc51b42e3df06c7c364cb
web diff https://git.tartarus.org/?p=simon/halibut.git;a=commitdiff;h=64650379e35a7d6450bdc51b42e3df06c7c364cb;hp=a44aa6fc9d70dc61baba631de3c75cf74542dc84
Author: Simon Tatham <anakin at pobox.com>
Date:   Sun Aug 15 09:07:06 2021 +0100

    Update the charset submodule.
    
    This brings in a few unrelated changes, but mostly what I wanted was
    the removal of further unused variables.

 charset | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the tartarus-commits mailing list