bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #63635] [troff] support `hydefault` register or similar


From: G. Branden Robinson
Subject: [bug #63635] [troff] support `hydefault` register or similar
Date: Sat, 2 Mar 2024 01:26:23 -0500 (EST)

Update of bug#63635 (group groff):

                  Status:             In Progress => Fixed                  
             Open/Closed:                    Open => Closed                 
         Planned Release:                    None => 1.24.0                 

    _______________________________________________________

Follow-up Comment #1:


commit 62718e09cd435632b6d05b751205fa24fc88e79f
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Fri Mar 1 23:42:20 2024 -0600

    [troff]: Document new `hydefault` feature.
    
    * NEWS:
    * doc/groff.texi.in:
    * man/groff.7.man:
    * man/groff_diff.7.man: Do it.
    
    Fixes <https://savannah.gnu.org/bugs/?63635>.

commit ac229b0e9a6bf99b7c45a497b73bc6e7a06d2d69
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Fri Mar 1 22:36:36 2024 -0600

    [tmac]: Migrate localization pkgs to `hydefault`.
    
    [tmac]: Migrate localization packages to `hydefault` request.
    
    * tmac/cs.tmac:
    * tmac/de.tmac:
    * tmac/en.tmac:
    * tmac/es.tmac:
    * tmac/fr.tmac:
    * tmac/it.tmac:
    * tmac/ru.tmac:
    * tmac/sv.tmac: Set the hyphenation mode default appropriately per the
      hyphenation patterns and the value of the trap-awareness bit.
    
    * tmac/ja.tmac:
    * tmac/zh.tmac: Set the hyphenation mode default to zero.

commit 965de3c1a3d4417b05a15b1d0bdedb75d362123d
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Fri Mar 1 22:23:31 2024 -0600

    [troff]: `.hy` selects default hyphenation mode.
    
    * src/roff/troff/env.cpp (hyphenate_request): If given no argument, set
      hyphenation mode to the configured default.

commit dc39883e9fb9a3972a7f2d11bac297ad30bb0b6a
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Fri Mar 1 22:13:59 2024 -0600

    [troff]: Add new `hydefault` request.
    
    * src/roff/troff/env.cpp (set_hyphenation_mode_default): New function
      sets the environment's default hyphenation mode.
    
      (init_env_requests): Wire up `hydefault` to foregoing function.
    
    * src/roff/troff/env.h (class environment): Declare foregoing function
      as a friend, permitting mutator access.

commit 04c737951b9b232f06598ca8586c35bc898fe42d
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Fri Mar 1 21:26:54 2024 -0600

    [troff]: Add `.hydefault` read-only register.
    
    ...storing the environment's default hyphenation mode.
    
    * src/roff/troff/env.h (class environment): Add private member variable
      `hyphenation_mode_default` and declare public member function
      (accessor) `get_hyphenation_mode_default`.
    
    * src/roff/troff/env.cpp (environment::get_hyphenation_mode): Implement.
    
      (environment::environment): Initialize new member variable in ordinary
      and copy constructors.
    
      (environment::copy): Copy new member variable.
    
      (environment::print_env): Report environment's hyphenation mode
      default.
    
      (init_env_requests): Wire up hyphenation mode default value to
      `.hydefault` troff register.
    
      (class hyphenation_default_mode_reg): Add class.
    
      (hyphenation_default_mode_reg::get_string): Implement.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63635>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]