1. 22 Mar, 2019 3 commits
    • Bastien Nocera's avatar
      settings-widget: Fix small memory leak · 87abd5aa
      Bastien Nocera authored
      The device path in the data struct was never freed even though we owned
      it. Small leak that only happened when pairing, so low impact.
      87abd5aa
    • Bastien Nocera's avatar
      client: Clarify return value's ownership · c49eb1d8
      Bastien Nocera authored
      bluetooth_client_setup_device_finish() stole the device path from the
      result object but didn't mention it. Clarify the ownership of the "path"
      return value.
      c49eb1d8
    • Bastien Nocera's avatar
      client: Fix bluetooth_client_set_trusted() not working · cb677b5c
      Bastien Nocera authored
      The guard was guarding against a local variable ("device") being
      NULL, instead guarding against one of the arguments ("device_path")
      being NULL. Depending on the compiler and runtime, this would probably
      fail most of the time, leading to problems using non-pairing devices
      after the initial setup.
      
      bluetooth_client_set_trusted: assertion 'device != NULL' failed
      
      Fixes: 27e88fc0
      cb677b5c
  2. 21 Mar, 2019 2 commits
  3. 20 Mar, 2019 1 commit
  4. 11 Mar, 2019 1 commit
  5. 13 Feb, 2019 1 commit
    • Terence Honles's avatar
      lib: Add oui for "Evoluent VerticalMouse 4" · 5479cd84
      Terence Honles authored
      The mouse's manual doesn't give any details on how to pair
      it, but it claims to be "Mac only", so the behaviour was likely
      the same one as Apple's own mice, with a "0000" pincode.
      This was tested successfully.
      5479cd84
  6. 06 Feb, 2019 9 commits
  7. 04 Feb, 2019 1 commit
  8. 30 Jan, 2019 2 commits
  9. 29 Jan, 2019 5 commits
  10. 27 Jan, 2019 2 commits
  11. 23 Jan, 2019 2 commits
  12. 17 Jan, 2019 1 commit
  13. 11 Jan, 2019 10 commits
    • Bastien Nocera's avatar
      Merge branch 'meson-improve' into 'master' · 0881b5b7
      Bastien Nocera authored
      Different meson improvements
      
      See merge request !6
      0881b5b7
    • Iñigo Martínez's avatar
      build: Improve GtkDoc documentation generation · df46998f
      Iñigo Martínez authored
      Since gnome-bluetooth was ported to meson, version has acquired
      a new parameter called `private_headers` which replaces the
      `--ignore-headers` argument in `scan_args` parameter.
      `--rebuild-types` argument is also not necessary because a types
      does exist already.
      
      `--sgml-mode` and `--output-format=xml` parameters are also not
      necessary because meson already handles them automatically.
      
      Finally, the `version.xml` is included now explicitly as a
      content file because previously it was copied as a workaround.
      df46998f
    • Iñigo Martínez's avatar
      build: Use generators placeholders · aaafb400
      Iñigo Martínez authored
      Functions derived from generators as `configure_file`,
      `custom_target` and `i18n.merge_file` can use placeholders like
      `@BASENAME@` that removes the extension from the input filename
      string.
      
      The output string has been replaced by this placeholder that
      allows in some cases the use of less variables.
      aaafb400
    • Iñigo Martínez's avatar
      build: Fix dependencies · 83c6246b
      Iñigo Martínez authored
      libgnome-bluetooth expose a number of includes in their public
      headers belonging to different libraries. Therefore, these libraries
      are indirect dependencies of the library to be built.
      
      With this in mind, required dependencies have been split in two
      sets, one formed by public dependencies and the other by private
      dependencies.
      
      The created `pkg-config` file now also use these new sets.
      83c6246b
    • Iñigo Martínez's avatar
      build: Remove unnecessary parameter · c84f5d8c
      Iñigo Martínez authored
      meson's `compile_resources` from `gnome` module is executed
      considering the current source directory as its source directory
      so there is no need to include it.
      c84f5d8c
    • Iñigo Martínez's avatar
      build: Remove duplicated argument · 6d26c14b
      Iñigo Martínez authored
      The `--warn-all` argument is already included by meson, so there is
      no need to include it explicitly.
      6d26c14b
    • Iñigo Martínez's avatar
      build: Add proper linker support check · aac29ac5
      Iñigo Martínez authored
      Since meson 0.46[0], meson has added support for checking properly
      link flags support. `version-script` link flag check has been
      changed to take advantage of this support.
      
      [0] http://mesonbuild.com/Release-notes-for-0-46-0.html#new-functions-has_link_argument-and-friends
      aac29ac5
    • Iñigo Martínez's avatar
      build: Do not use prefix on directory variables · e6e08123
      Iñigo Martínez authored
      Although usually directory variables are set by using the `prefix`
      directory, this might cause issues due to parameters that need
      relative directories.
      
      In order to ease the transition `prefix` directory has been stripped
      from directory variables and only has been appended when necessary.
      e6e08123
    • Iñigo Martínez's avatar
      build: Use / instead of join_paths · d88cd6af
      Iñigo Martínez authored
      Since meson 0.49, the `/` character can be used to join paths[0], so
      all the instances of `join_paths` have been replaced.
      
      Required meson version has been bumped to 0.49.
      
      [0] http://mesonbuild.com/Release-notes-for-0-49-0.html#joining-paths-with-
      d88cd6af
    • Iñigo Martínez's avatar
      build: Define meson information early · 9b6fcc3f
      Iñigo Martínez authored
      The used meson modules, default directories and includes have been
      moved to the start of the build file, just after project related
      information, so they are available early.
      
      The way `po` directory path is defined has also been changed to
      avoid the use of the `source_root` function.
      9b6fcc3f