1. 27 Dec, 2020 1 commit
  2. 23 Dec, 2020 1 commit
  3. 14 Dec, 2020 2 commits
  4. 22 Oct, 2020 2 commits
  5. 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
  6. 08 Sep, 2020 1 commit
  7. 17 Aug, 2020 1 commit
  8. 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
  9. 09 Jul, 2020 1 commit
  10. 31 Mar, 2020 1 commit
  11. 24 Mar, 2020 1 commit
  12. 02 Feb, 2020 1 commit
  13. 07 Jan, 2020 2 commits
  14. 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
  15. 18 Nov, 2019 1 commit
  16. 09 Oct, 2019 3 commits
  17. 04 Oct, 2019 2 commits
  18. 02 Oct, 2019 1 commit
  19. 19 Sep, 2019 3 commits
  20. 03 Sep, 2019 1 commit
    • Kjell Ahlstedt's avatar
      meson.build: Several minor improvements · 811848fa
      Kjell Ahlstedt authored
      Use the / operator instead of join_paths().
      Directory paths for installation are relative to {prefix} instead of absolute.
      Don't call meson.add_dist_script(), if it's a subproject.
      Use MESON_DIST_ROOT in extra-dist-cmd.sh.
      811848fa
  21. 20 Aug, 2019 1 commit
  22. 15 Aug, 2019 1 commit
  23. 11 Jun, 2019 1 commit
  24. 20 May, 2019 1 commit
  25. 17 May, 2019 2 commits
  26. 14 Apr, 2019 1 commit
    • Kjell Ahlstedt's avatar
      buildapp examples: Add meson.build files · f8932ff2
      Kjell Ahlstedt authored
      * examples/book/buildapp/README: Describe how to build with meson and ninja.
      * examples/book/buildapp/step1/install-cmd.sh:
      * examples/book/buildapp/step[1-9]/meson.build: New files
      f8932ff2
  27. 19 Mar, 2019 1 commit