1. 14 Jan, 2020 1 commit
    • Alberts Muktupāvels's avatar
      pathbar: show webdav directories · 53e237d7
      Alberts Muktupāvels authored
      Currently pathbar is not updated for webdav directories and shows
      previous non-webdav location pathbar. The problem seems to be fact
      that last(?) parent is not local file in which case
      g_file_query_info_async returns "The specified location is not
      mounted" error.
      53e237d7
  2. 16 Nov, 2019 2 commits
  3. 07 Oct, 2019 3 commits
  4. 03 Sep, 2019 4 commits
  5. 25 Aug, 2019 1 commit
  6. 06 Aug, 2019 1 commit
    • John Lindgren's avatar
      Fix use-after-free due to unexpected unref of context->default_style. · 539a596e
      John Lindgren authored
      Segfault occurred when displaying two windows on different X11 displays.
      
      valgrind said:
      
      Invalid read of size 8
        at 0x4A20962: _gtk_style_init_for_settings (gtkstyle.c:398)
        by 0x49ED785: gtk_rc_get_style (gtkrc.c:2036)
        by 0x4AC39C2: gtk_widget_reset_rc_style (gtkwidget.c:6601)
      Address 0x70b8e80 is 560 bytes inside a block of size 1,024 free'd
        at 0x48399AB: free (vg_replace_malloc.c:530)
        by 0x51180D6: g_type_free_instance (in /usr/lib/libgobject-2.0.so.0.6000.6)
        by 0x49E98CE: gtk_rc_reset_styles (gtkrc.c:1702)
        by 0x49E9A0C: _gtk_rc_context_get_default_font_name (gtkrc.c:1740)
        by 0x4A20961: _gtk_style_init_for_settings (gtkstyle.c:396)
        by 0x49ED785: gtk_rc_get_style (gtkrc.c:2036)
        by 0x4AC39C2: gtk_widget_reset_rc_style (gtkwidget.c:6601)
      Block was alloc'd at
        at 0x483877F: malloc (vg_replace_malloc.c:299)
        by 0x51BD289: g_malloc (in /usr/lib/libglib-2.0.so.0.6000.6)
        by 0x519F673: g_slice_alloc (in /usr/lib/libglib-2.0.so.0.6000.6)
        by 0x51A62BA: g_slice_alloc0 (in /usr/lib/libglib-2.0.so.0.6000.6)
        by 0x5119141: g_type_create_instance (in /usr/lib/libgobject-2.0.so.0.6000.6)
        by 0x513563D: ??? (in /usr/lib/libgobject-2.0.so.0.6000.6)
        by 0x5136A54: g_object_new_with_properties (in /usr/lib/libgobject-2.0.so.0.6000.6)
        by 0x5136B51: g_object_new (in /usr/lib/libgobject-2.0.so.0.6000.6)
        by 0x49ED774: gtk_rc_get_style (gtkrc.c:2035)
        by 0x4AC39C2: gtk_widget_reset_rc_style (gtkwidget.c:6601)
      539a596e
  7. 18 Jun, 2019 2 commits
    • Chun-wei Fan's avatar
      Visual Studio builds: Fix previous commit · cd196c4f
      Chun-wei Fan authored
      I forgot to include configure.ac in the commit, which is needed.
      cd196c4f
    • Chun-wei Fan's avatar
      Visual Studio builds: "Add" Visual Studio 2019 projects · a63b70f1
      Chun-wei Fan authored
      Copy and update the relevant fields from the Visual Studio 2010 projects
      so that we can have project files that work out-of-the-box for Visual
      Studio 2019, as we did for Visual Studio 2012 through 2017.
      
      Also update the NMake Makefiles for building the introspection files
      so that we properly detect that we are building with Visual Studio 2019.
      a63b70f1
  8. 15 Mar, 2019 1 commit
  9. 14 Mar, 2019 1 commit
    • LRN's avatar
      Fix UAC manifest RC file · 6ae30826
      LRN authored
      CREATEPROCESS_MANIFEST_RESOURCE_ID is a macro defined in winbase.h,
      so we need an include to resolve that macro to its value, 1.
      
      Without that it stays as a literal CREATEPROCESS_MANIFEST_RESOURCE_ID,
      and ends up in the .exe file as-is, and Windows can't find it by that name,
      resulting in UAC manifest not working and gtk-update-icon-cache bringing
      up UAC prompt.
      6ae30826
  10. 12 Mar, 2019 2 commits
  11. 06 Mar, 2019 2 commits
  12. 21 Jan, 2019 1 commit
    • Chun-wei Fan's avatar
      MSVC introspection: Make more robust and avoid confusion · 6b558981
      Chun-wei Fan authored
      This updates the introspection build process that we also check on
      changes in the Makefiles when we generate the NMake Makefile snippets
      and file lists, so that any changes to the source file list can be
      reflected.  Also ensure that we build against the freshly-built
      libraries.
      
      Make the NMake Makefiles also output the built introspection items to
      the output directories of the various Visual Studio versions, according
      to the build configuration and architecture, so that we avoid confusion
      for different Visual Studio build configs.
      6b558981
  13. 09 Jan, 2019 1 commit
  14. 04 Jan, 2019 1 commit
  15. 21 Dec, 2018 6 commits
    • Chun-wei Fan's avatar
      Merge branch 'gtk-2-24.win.fixes' into 'gtk-2-24' · 8042e078
      Chun-wei Fan authored
      gtk/gtkiconcache.c: Fix running on GLib-2.57.3 or later on Windows
      
      See merge request !469
      8042e078
    • Chun-wei Fan's avatar
      gtk/gtkiconcache.c: Fix running on GLib-2.57.3 or later on Windows · 4612f0b3
      Chun-wei Fan authored
      In GLib-2.57.3 and later, GStatBuf may not be a struct stat on Windows,
      depending on the architecture and the compiler used, so we can't just
      call fstat() on the GStatBuf.
      
      Instead, we need to use the correct CRT function to call on the
      GStatBuf, which is as follows:
      
      -_fstat32() for Windows 32-bit builds on mingw-w64 and MSVC
      -_fstat64() for Windows 64-bit builds on mingw-w64
      -stat() for Windows 64-bit builds on MSVC, and on all other platforms.
      4612f0b3
    • Chun-wei Fan's avatar
      MSVC builds: Fix pkg-config file generation · 16682dd2
      Chun-wei Fan authored
      We are not passing in the correct architecture to the script that we use
      to generate the pkg-config files for Release/x86 builds and Debug/x64
      builds.  Fix this.
      16682dd2
    • Chun-wei Fan's avatar
      MSVC builds: Improve pkg-config files generation · 0b7ee988
      Chun-wei Fan authored
      Just link to Cairo instead of looking for the Cairo .pc file as the
      Cairo build system for Visual Studio currently does not generate a
      pkg-config file for us.  This will eliminate the need to hand-craft a
      pkg-config file for Cairo to be able to use the pkg-config files that we
      generate here.
      0b7ee988
    • Chun-wei Fan's avatar
      [gdk|gtk]/Makefile.am: Fix CFlags passed to introspecion on MSVC · 639688d3
      Chun-wei Fan authored
      Don't pass in G_LOG_DOMAIN=\"...\" to the CFlags that is passed into the
      generation the NMake Makefiles.  This will avoid the introspection scanner
      from choking because the resulting NMake Makefiles may not have that
      CFlag escaped properly, and it is not really needed for building the
      introspection binary.
      639688d3
    • Chun-wei Fan's avatar
      MSVC projects: "Install" libwimp.pdb · 417c4f9a
      Chun-wei Fan authored
      Also "install" the libwimp's (Win32 theme engine) PDB file, for
      completeness' sake, and to aid in debugging the item, if necessary.
      417c4f9a
  16. 01 Nov, 2018 3 commits
  17. 29 Oct, 2018 2 commits
  18. 30 Aug, 2018 1 commit
  19. 19 Aug, 2018 2 commits
    • Christoph Reiter's avatar
      Merge branch 'g_stat-and-GStatBuf' into 'gtk-2-24' · eec3ce0b
      Christoph Reiter authored
      Consistently use g_stat and GStatBuf
      
      See merge request !300
      eec3ce0b
    • Patrick Storz's avatar
      Consistently use g_stat and GStatBuf · 303858fa
      Patrick Storz authored
      Replace "stat struct" with "GStatBuf" and "stat" with "g_stat" where
      appropriate to fix cross-platform issues, specifically on Windows.
      
      Code should be identical on *nix but fixes some serious issues
      on Windows:
      - Field widths of "struct stat" are not constant on Windows.
        If the stat function does not match the stat struct used
        it will cause overwrites and undefined behavior
      - The Windows stat function needs a properly encoded filename.
        In many places we pass an UTF-8 encoded value which breaks as soon
        as non-ASCII characters are involved.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=787772
      303858fa
  20. 20 Jul, 2018 1 commit
  21. 14 Jul, 2018 2 commits