Nantes Université

Skip to content
Extraits de code Groupes Projets
  1. avr. 20, 2023
  2. fév. 16, 2022
    • Apteryks's avatar
      Add alias for max order (#77) · 18945b31
      Apteryks a rédigé
      
      * cli/gcdmodel.cpp: Fix typos in comments.
      
      * cli/gcdmodel.cpp (CGcdData::fixModelAndSubmodelOrder): Fix typos in comments.
      
      * cli: Support "max" as an alias to the maximum value for the order switch.
      
      * cli/cmdline.cpp (parseArg): Understand "all" for the order switch.
      (showUsage): Document it.
      * cli/gcdmodel.cpp (CGcdData::fixModelAndSubmodelOrder): Ensure the
      root model order gets recomputed when "/o:max" was provided as argument.
      * cli/model.h (UNDEFINED_ORDER): Redefine as the minimum int value.
      (MAXIMUM_ORDER): New constant.
      * doc/pict.md: Document it.
      * test/arg/.tests: Add test.
      
      Co-authored-by: default avatarMaxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
  3. août 11, 2021
    • qykth-git's avatar
      Revert from multi-byte I/O to UTF-8 I/O (#61) · 55890379
      qykth-git a rédigé
      Multi-byte I/O dose too match for text input in some locale.
      
      For example, "," in numbers treat as decimal separator, not word separator.
      This makes "1,234" as "1234", not "1" and "234".
      
      Use "C.UTF-8" to avoid this problem.
    • qykth-git's avatar
      UTF- 8/ANSI input support for Unix (#60) · 4c9d411a
      qykth-git a rédigé
      * Use UTF-8 for multi-byte character I/O everywhare
      
      This fix is required for "libstdc++".
      Without this fix, "libstdc++" only works for 7bit ASCII.
      
      It fixes https://github.com/microsoft/pict/issues/24 .
      
      * Use current locale instead of fixed UTF-8 locale
      
      It is good for non-UTF-8 (ANSI/OEM) encoding input.
      Use environment variable "LANG" or "LC_CTYPE" to change input encoding.
      
      (example)
      $ LC_CTYPE="C.UTF-8" pict utf8-input.txt
      
      * Add document for non-ASCII (UTF-8/ANSI) input encoding
  4. nov. 20, 2020
  5. sept. 18, 2018
  6. avr. 10, 2017
  7. déc. 15, 2016
  8. nov. 06, 2016
  9. jan. 19, 2016
  10. oct. 19, 2015
  11. oct. 18, 2015
  12. oct. 16, 2015
Chargement en cours