Philip Withnall
e23ea40aaa
gwin32: Fix two minor string leaks
...
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Fixes : #2891 , #2892
2023-01-23 11:50:34 +00:00
Philip Withnall
5942cd7984
gio: Add SPDX license headers automatically
...
Add SPDX license (but not copyright) headers to all files which follow a
certain pattern in their existing non-machine-readable header comment.
This commit was entirely generated using the command:
```
git ls-files gio/*.[ch] | xargs perl -0777 -pi -e 's/\n \*\n \* This library is free software; you can redistribute it and\/or\n \* modify it under the terms of the GNU Lesser General Public/\n \*\n \* SPDX-License-Identifier: LGPL-2.1-or-later\n \*\n \* This library is free software; you can redistribute it and\/or\n \* modify it under the terms of the GNU Lesser General Public/igs'
```
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Helps: #1415
2022-05-18 09:18:52 +01:00
Руслан Ижбулатов
cb994350c4
GWin32Mount: Don't use SHGetFileInfoW() for mount displaynames
...
This function can create long delays when used on disconnected
or just weird volumes. Use IShellFolder::GetDisplayNameOf() instead.
Fixes #2096
2021-03-31 13:30:03 +00:00
Руслан Ижбулатов
d1c542254f
GWin32Mount: Don't use SHGetFileInfoW() for icons
...
This function can cause significant delays when the mounted volume
is disconnected or just weird. Use IExtractIconW::GetIconLocation()
instead.
Theoretically, this should require COM to be initialized, but in my tests
this code worked just fine without calling CoInitializeEx().
2021-03-31 13:30:02 +00:00
Ole André Vadla Ravnås
0ab51f8d4e
gwin32: Always use unicode APIs
...
Instead of the legacy ANSI ones. This also means GLib behaves correctly
when built with unicode preprocessor defines.
2021-01-05 21:42:59 +01:00
Sébastien Wilmet
3bf4a720c3
gio/: LGPLv2+ -> LGPLv2.1+
...
Sub-directories inside gio/ already processed in a previous commit:
- fam/
- gdbus-2.0/ (which contains only codegen/)
- gvdb/
- inotify/
- tests/
- win32/
- xdgmime/
Other sub-directories inside gio/:
- completion/: no license headers
- kqueue/: not LGPL, BSD-style license
https://bugzilla.gnome.org/show_bug.cgi?id=776504
2017-05-29 19:53:34 +02:00
Dan Winship
a8eedd00a7
gio: fix a leftover GSimpleAsyncResult usage
...
And remove remaining unnecessary gsimpleasyncresult.h includes
2015-08-07 09:50:16 -04:00
Xavier Claessens
74c22150cf
docs: fix up docs issues in gio/
2015-02-05 16:20:43 +01:00
Rico Tzschichholz
e0e52b60ea
docs: Fix broken gtk-doc formatting
2014-08-18 14:08:41 +02:00
Daniel Mustieles
078dbda148
Updated FSF's address
2014-01-31 14:31:55 +01:00
Dan Winship
b8c13a01b6
win32: misc warning fixes
...
https://bugzilla.gnome.org/show_bug.cgi?id=688109
2012-11-15 14:19:06 -05:00
LRN
59ad2acfc5
gwin32mount.c: Fix syntax error
...
Signed-off-by: Colin Walters <walters@verbum.org>
https://bugzilla.gnome.org/show_bug.cgi?id=683641
2012-09-09 10:49:45 -04:00
William Jon McCann
a2dca48bf7
Add symbolic icon support to drive, volume, and mount
...
We need symbolic icon support for display in Nautilus.
https://bugzilla.gnome.org/show_bug.cgi?id=682101
2012-08-30 11:04:43 -04:00
Matthias Clasen
1b28408b8b
Spelling fixes
...
Spelling fixes in comments and docs, provided by
Kjartan Maraas in bug 657336.
2011-08-29 14:49:32 -04:00
Ryan Lortie
5b946e0504
gio/: fully remove gioalias hacks
2010-07-07 19:53:22 -04:00
Matthias Clasen
8907bfee86
Fix up GIO docs
2009-11-29 22:54:16 -05:00
Tor Lillqvist
f709eda798
Don't unref icon if NULL.
...
2008-09-04 Tor Lillqvist <tml@novell.com>
* gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
NULL.
svn path=/trunk/; revision=7439
2008-09-04 20:41:50 +00:00
Sven Neumann
8d37a7964d
gfilenamecompleter.c glocaldirectorymonitor.c gmountoperation.c
...
2008-08-11 Sven Neumann <sven@gimp.org>
* gfilenamecompleter.c
* glocaldirectorymonitor.c
* gmountoperation.c
* gunionvolumemonitor.c
* gunixmount.c
* gunixmounts.c
* gunixvolume.c
* gunixvolumemonitor.c
* gvolumemonitor.c
* gwin32mount.c
* gwin32volumemonitor.c: use canonical signal names.
svn path=/trunk/; revision=7339
2008-08-11 19:45:08 +00:00
Tor Lillqvist
d4fd1ea15d
Remove unused code. Whitespace cleanup.
...
2008-08-08 Tor Lillqvist <tml@novell.com>
* gwin32mount.c: Remove unused code. Whitespace cleanup.
svn path=/trunk/; revision=7322
2008-08-08 06:38:05 +00:00
Cody Russell
43d6efbb46
Fixed some include problems.
...
2008-07-01 Cody Russell <bratsche@gnome.org>
* gio/gwin32appinfo.c:
* gio/gwin32mount.c: Fixed some include problems.
svn path=/trunk/; revision=7130
2008-07-02 01:52:37 +00:00
Johan Dahlin
761424465a
Include "config.h" instead of <config.h> Command used: find -name
...
2008-06-21 Johan Dahlin <jdahlin@async.com.br>
* *.[ch]: Include "config.h" instead of <config.h>
Command used:
find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
Rubberstamped by Mitch
svn path=/trunk/; revision=7092
2008-06-22 15:10:51 +00:00
Hans Breuer
b696a978ea
bits and pieces from gtk-2-12 and gunix*.[hc] to make the file chooser
...
2008-06-17 Hans Breuer <hans@breuer.org>
* gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
access again on win32, see bug #538127
* giomodule.c : ensure GWin32VolumeMonitor is registered
* glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
* Makefile.am makefile.msc : updated
svn path=/trunk/; revision=7055
2008-06-17 21:40:04 +00:00