1. 22 May, 2022 1 commit
  2. 05 May, 2022 1 commit
  3. 23 Mar, 2022 2 commits
  4. 25 Feb, 2022 1 commit
  5. 23 Feb, 2022 1 commit
    • Kjell Ahlstedt's avatar
      Meson build: Add allow-network-access option · bb9c32ef
      Kjell Ahlstedt authored
      If false, xmllint and xsltproc are not allowed to fetch files
      over the network, and gtkmm-documentation requires the docbook5-xml
      and docbook-xsl packages (Ubuntu names, can have other names in
      other distros).
      bb9c32ef
  6. 22 Feb, 2022 1 commit
  7. 19 Feb, 2022 1 commit
    • Kjell Ahlstedt's avatar
      meson.build: Specify 'check' option in run_command() · c2db6599
      Kjell Ahlstedt authored
      The default value will be changed in future Meson releases.
      
      Don't use deprecated python3.path() and execute(..., gui_app: ...).
      Let import('python').find_installation() always find the python
      installation used to run Meson.
      c2db6599
  8. 26 Oct, 2021 1 commit
    • Kjell Ahlstedt's avatar
      index-in.docbook: Recommend Meson instead of Autotools · 1ef25a64
      Kjell Ahlstedt authored
      Modify
        2.2 "Installation", "Unix and Linux"
        3.2 "Basics", "Headers and Linking"
        27.1 "Internationalization and Localization", "Preparing your project"
        30 "Recommended Techniques"
      Describe building with Meson more, and building with Autotools less.
      1ef25a64
  9. 27 Sep, 2021 1 commit
  10. 23 Sep, 2021 2 commits
  11. 18 Jul, 2021 1 commit
  12. 06 May, 2021 1 commit
  13. 17 Mar, 2021 1 commit
  14. 27 Dec, 2020 1 commit
  15. 23 Dec, 2020 1 commit
  16. 14 Dec, 2020 2 commits
  17. 22 Oct, 2020 2 commits
  18. 18 Sep, 2020 1 commit
    • Kjell Ahlstedt's avatar
      Meson build: Drop dependence on Perl · a98d70d9
      Kjell Ahlstedt authored
      * tools/tutorial/insert_example_code.py: New Python file, equivalent to
      the insert_example_code.pl Perl file.
      
      The Perl file is still used when building with Autotools.
      a98d70d9
  19. 08 Sep, 2020 1 commit
  20. 17 Aug, 2020 1 commit
  21. 06 Aug, 2020 1 commit
    • Kjell Ahlstedt's avatar
      input example: Don't include build/config.h · fe7f6d21
      Kjell Ahlstedt authored
      The configuration with Autotools or Meson sets the compiler
      option -DDONT_HAVE_MKFIFO=1, if mkfifo() does not exist.
      Meson does not create build/config.h.
      This makes life easier for those who build with their own
      Makefile or CMake file or whatever.
      Fixes #11
      fe7f6d21
  22. 09 Jul, 2020 1 commit
  23. 31 Mar, 2020 1 commit
  24. 24 Mar, 2020 1 commit
  25. 02 Feb, 2020 1 commit
  26. 07 Jan, 2020 2 commits
  27. 25 Nov, 2019 5 commits
    • Daniel Boles's avatar
    • Daniel Boles's avatar
      Redo odd wording @ RadioBut.set_group(get_group()) · 15f1111a
      Daniel Boles authored
      constness isn't the issue here; rather it is the value class of the
      argument of set_group(). That method needs an lvalue reference as it
      modifies the Group by adding the RadioButton to it. That's why we can't
      `rb2.set_group( rb1.get_group() )`. But we can store the Group returned
      by get_group() in a variable and then pass that to set_group() calls.
      Not that there is much reason to, given join_group(), but it works fine.
      
      Then I got carried away and added a program listing showing it
      working... which, while mostly superfluous, does provide a nice
      opportunity to explain briefly that RadioButtonGroup is a handle type,
      meaning that it can be declared automatically and discarded by RAII
      without worrying about thusly releasing the RadioButtons from itself.
      That then informs readers for the next example that creates a new Group.
      
      This is the first use of either "lvalue" or "rvalue" in the docbook!
      That's either a good thing or a slippery, slippery slope to start on...
      
      !6
      15f1111a
    • Daniel Boles's avatar
      Drop pointless/confusing class around RadioButtons · d20787bb
      Daniel Boles authored
      The 2nd example seems to have been trying to be like the 1st, which put
      the 3 RadioButtons in a subclass of Window, for no real reason since
      they were never then added to said Window... but the 2nd omitted to
      declare its members and instead declared new local variables in the
      constructor with m_ prefixes, which were managed unlike the 1st example!
      
      Just drop all of that. There's no clear reason to use a containing class
      here. By not doing so, we can present both examples in a comparable way.
      
      !6
      d20787bb
    • Daniel Boles's avatar
      docb: Don't recommend `new` for an in-class member · 49e7c6ae
      Daniel Boles authored
      Instead, recommend an std::unique_ptr, which will destroy it via RAII,
      rather than requiring that the user remember to `delete` it and have to
      define a non-trivial destructor just to do that, which is just busywork.
      
      !7
      49e7c6ae
    • Daniel Boles's avatar
      Builder: Using derived widgets: Update for glibmm… · 2529aac2
      Daniel Boles authored
      …2.62, which as of Kjell’s simply epic recent commits, now supports us
      setting custom properties of gtkmm-derived widgets in .ui files for
      Builder. Also, slightly elaborate the bit about why you would want to!
      
      I also be optimistic here and presume that such properties could be made
      editable in Glade by using a custom catalog and property classes,
      though my Glade-fu is weak, so I can only hope I'm inferring that right.
      
      !5
      2529aac2
  28. 18 Nov, 2019 1 commit
  29. 09 Oct, 2019 3 commits