Commit graph

66 commits

Author SHA1 Message Date
wiz
759aaf039a glib2: update to 2.56.2.
Overview of changes in GLib 2.56.2
==================================

* Support version 2 of the NetworkMonitor portal interface

* Bug fixes:
 740791 gio: cannot specify the source when joining a multicast group...
 755721 g_inotify_file_monitor_start called with nullpointer for dirn...
 773435 After g_get_home_dir() fails, a second use deadlocks
 793727 Use-after-free in emit_network_changed() of gnetworkmonitorba...
 794380 Build failure of gcocoanotificationbackend.c on OS X < 10.9
 794801 /network-monitor/add_networks fails if there is a proxy and g...
 795138 gobject build failure with gcc <= 4.7
 795234 Fix Jenkins CI build failures for network tests
 795406 Glib fails to build for Android
 795429 glib-genmarshal shows redundant "time" warning message agains...
 795711 gitlab-ci: update meson
 795735 Fix comparison for GVariant property values
 795802 gdbus-codegen doesn't accept --output-directory with --output...
 #1240 W32: g_get_system_data_dirs() works differently for C++ applic...
#1401 g_clear_handle_id: clear_func is nullable, despite documentatin...
#1452 GFileInfo: unable to retrieve correct modification time of link...
#1458 g_volume_get_mount returns NULL value after g_volume_mount_fini...

* Translation updates
 Russian
 Slovenian
2018-08-19 18:32:27 +00:00
jperkin
64934c2c9c glib2: Update workaround for older Darwin releases. 2018-08-01 17:43:25 +00:00
jperkin
5393242c73 *: Move SUBST_STAGE from post-patch to pre-configure
Performing substitutions during post-patch breaks tools such as mkpatches,
making it very difficult to regenerate correct patches after making changes,
and often leading to substituted string replacements being committed.
2018-07-04 13:40:07 +00:00
adam
213bd9be2b glib2: PLIST fix for Darwin; small pkglint cleanups 2018-04-23 08:26:50 +00:00
wiz
fa447c627a glib2: update to 2.56.1.
Reduce patches.

Overview of changes in GLib 2.56.1
==================================

* Bug fixes:
 793400	g_application_id_is_valid() not strict enough
 793578	gdatetime tests depend on Japanese translation of month names
 793645	test_month_names: Updated translations needed for el_GR, hr_HR, ru_RU
 794194 gobject_gdb.py: 'address' is a property of gdb.Value not a function
 794473 Remove duplicated option in gio.xml
 794506	glib-mkenums: Enters infinite loop if using typedef enum SomeIdentifier
 794528	Fix segfault caused by use-after-free in GPollFileMonitor
 794606	glib-2.56.0 fails to compile when res_nquery is not available
 794686	Date (except weekday) displayed in English

Overview of changes in GLib 2.56.0
==================================

* Bugs fixed:
 672777 Error in gdummyfile.c
 732184 GObject: warn on use of deprecated properties
 733338 Don't segfault in GNetworkMonitor when IPv6 support is unavailable
 742124 g_data_input_stream_read_upto()'s documentation should say that the...
 749206 GDateTime: month names in the genitive case
 768507 simplify qguark functions
 791457 Slow transfer rate when writing to smb/cifs
 793272 fix GCC 8.0's -Wcast-function-type warnings
 793300 g_hash_table_add() return value change in 2.40 not mentioned in docs
 793399 Fix some cases of -Wduplicated-branches
 793555 -Wimplicit-function-declaration when using g_abort()
 793565 GLib does not compile on macOS 10.13 due to .m file naming
 793597 gdbus-tool: Make --dest optional for emit again
 793635 Enable CI for GLib
 793880 gnetworkmonitor: Minor fixes based on code review
 793578 gdatetime tests depend on Japanese translation of month names
 794180 test_month_names fails unless installed

Overview of changes in GLib 2.55.2
==================================

* GFile now has API to get the path without copying

* A network monitor implementation for Windows has been added

* Bugs fixed:
 520116 g_utf8_strlcpy()
 584284 g_data_input_stream_read_until_async behaves confusingly different f...
 605700 request for g_key_file_get_locale()
 658713 ngettext (plural forms) needed for "Message has %d file descriptors ...
 685442 windows GNetworkMonitor implementation
 723003 gsettings list-recursively reports some keys multiple times
 749583 GSequence performance improvements
 757284 Move G_DIR_SEPARATOR* and G_SEARCHPATH_SEPARATOR* into glibconfig.h
 760324 [PATCH] gkeyfile.c: find_file_in_data_dirs fails to return the path ...
 761102 Increase performance for main loop
 767976 GFile: Add g_file_peek_path()
 770335 gdbus-codegen: generated getter for 'ao' property is actually (trans...
 772989 Totem allows invalid urls that might cause segfault that's irrecover...
 790698 convert: test failure on NetBSD
 791015 gdbus-codegen: Split generation of header and source
 791622 Disable strict-aliasing in GLib
 792050 GResolver is not thread-safe
 792217 Deprecate GTlsClientConnection:use-ssl3
 792338 meson, autotools: figure out if mem barrier is needed for arm64 host...
 792351 gbookmarkfile: check length before dereferencing groups
 792364 gdbus-threading test method-calls-in-thread: assertion failed (elaps...
 792370 GNetworkMonitor: Rename "network-changed" signal argument
 792410 GDateTime new_from_iso8601 test broken in 2.55 on i386
 792432 flush stdout after logging (debug) messages
 792455 Improve docs of GSequence
 792499 deadlock on startup with TCP session bus
 792516 gconvert: More consistent handling of embedded NUL bytes
 792777 g_notification_set_urgent() unconditionally sets G_NOTIFICATION_PRIO...
 792780 gbytes should reference toplevel bytes when slicing with g_bytes_new...
 792856 off64_t isn't a part of C standard
 792862 gpollableoutputstream: document side effects of WOULD_BLOCK on D/TLS
 792903 Clarification between g_try_.. functions and their counterparts
 793006 High CPU load for GUnixMountsMonitor consumers
 793026 possible mem leak in g_mutex_impl_new
 793074 g_message() does not get -Wformat warnings when compiling with G_LOG...

Overview of changes in GLib 2.55.1
==================================

* Build:
 - The --enable-rebuilds configure option has been removed
 - The --with-charsetalias-dir configure option has been added

* GList and GSList now have autoptr support

* The gsettings list-schemas command has gained a --print-paths option

* Bugs fixed:
 346816 Refactor LIBDIR in libcharset Makefile
 508976 Does g_slist_sort preserve the order of equal elements?
 562334 2.18.2 break libglade on Solaris
 662802 systemtap multiarch issue
 684282 Add support static link of GIO modules
 692034 Install an invalidation notifier for GClosure in g_source_set_closure()
 694723 Get rid of REBUILD stuff in configure.ac
 697715 floating point precision problem in check test gst/gstvalue
 701156 testgobject assumes that the priv data follows the instance data
 720380 Segfault when using GDBusMenuModel on a peer-to-peer connection
 724383 glib: document restrictions on various foreach() functions
 724412 GLib mappedfile.c test uses g_get_user_runtime_dir instead of a tempo...
 724794 Fix "on on" typo in tap-driver.sh comment
 732003 gnode: Eliminate implicit signed-to-unsigned integer conversion
 734479 G_VALUE_HOLDS etc. cause -Wcast-qual warnings for a const GValue *
 737677 gmain: Make GSourceCallback thread-safe
 741167 gdbus-codegen fix for boxed out parameters
 748534 gtest: if a subprocess assertion fails, print its stdout and stderr
 749527 add weak pointer helpers similar to g_set_object
 749652 compilation errors with gcc 4.8
 754634 Update the list of Linux filesystem magic numbers used in get_fs_type
 756011 Fix up annotations for GBookmarkFile
 761102 Increase performance for main loop
 773980 GIR scanner doesn't interpret array type properly
 776147 gio/glocalfilemonitor.c doesn't handle case G_FILE_MONITOR_EVENT_MOVE...
 776195 -z nodelete configure check does not work on Solaris
 777075 Potential leak of memory pointed to by 'list'
 779413 Translated X-Geoclue-Reason string not used in a dialog window
 780309 gio/tests/appinfo build fails: gdesktopappinfo.c skipped on OS X
 780893 Reword licensing header for gdbus-codegen
 782057 Unit tests fail in run-assert-msg-test.sh
 784995 meson: some Windows improvements
 786796 gtk-doc build fails with meson
 788806 Impossible to build static glib via meson
 788936 Show mime type icons on OS X
 790416 g_date_time_format returns empty string on %r with German locale
 790588 Generated file missing from .gitignore
 790697 g_object_ref API should propagate parameter type
 790785 glib-tap: Add missing mkdir for .test generation rule
 790829 glib-genmarshal --body must not generate alias implementations
 790830 Mismatch between number of interface methods in text and example code
 790837 Meson: missing many configure options
 790839 GApplication command line: lacks parameter_string, summary and descri...
 790877 fix non-portable check in G_GNUC_CHECK_VERSION
 790894 Do not connect to the session bus when trying GProxyResolverPortal io...
 790896 docs/reference/README has broken link to http://www.gtk.org/rdp/
 790914 gdesktopappinfo: Downgrade a warning to a debug message
 790934 gtester doesn't handle skipped tests
 790948 GSourceFuncs documentation is confusing: when will dispatch be called?
 791036 Guard for g_output_stream_vprintf makes no sense
 791128 C runtime complains about bad arguments on each g_log() call
 791221 po/README.translators has no useful information in 2017
 791235 Fix gschema.dtd regarding flags.
 791267 Make gschema.dtd usable.
 791296 gtester-report: fix range usage when running as python3 app
 791318 GBytes: Improve documentation
 791325 Gio handling of thumbnail:: attribute namespace causes inconsistent b...
 791334 gbinding.c:898: The target object of type GNetworkAddress has no prop...
 791337 Crash opening URIs with g_desktop_app_info_launch_uris_with_spawn()
 791342 Add autoptr support for lists
 791460 meson: fixes for OSX
 791532 Implicit declaration of function ‘memcmp’ in gtestutils.h
 791622 Disable strict-aliasing in GLib
 791720 Criticals in gio/xdp-dbus.h leading to crash under flatpak
 791744 gmenumodel test sometimes fails: assertion failed (items_changed_coun...
 791745 not immediately clear whether g_test_slow() is in effect by default
 791906 GSocketListenerClass.event has wrong signature
 792064 gsettings list-schemas --print-paths
 792098 Binding: bind_property’s @notify func is nullable
 792099 gdbus-test-codegen: Cast to void* to printf "%p"
 792129 meson: skip optional linux/unix deps that default to true when buildi...
 792322 GLib-GIO:ERROR:gschema-compile.c:51:test_schema: child process (/gsch...
 792324 gkeyfile: Document need for KEEP_TRANSLATIONS with get_locale_string()

Overview of changes in GLib 2.55.0
==================================

* New API:
  - g_clear_handle_id, to simplify removing sources from the default mainloop
  - g_file_load_bytes, to make it more convenient to load files into GBytes

* Bugs fixed:
 330458 Sample code for the GLib Key-value parser
 483341 g_error and friends create warnings when not used in MSVC
 569375 g[u]intptr undocumented
 573251 documentation for g_seekable_truncate() needs some love
 629347 Missing annotations in GFile (was: Perf throws an exception in cur...
 630983 [PATCH] Type accuracy for result of strlen() in string utilities.
 632953 Clarify documentation of GValueTransform.
 636210 Document that pre-unmount is not guaranteed and backend-dependant
 656502 type information for GSettings::backend missing from .gir
 661442 Nautilus crashes when refreshing home folder after modifying ~/.co...
 668035 gtester-report broken with python 2.7.2 and glib 2.30.1
 670139 gbytes.c:try_steal_and_unref nit
 677233 (transfer full) annotation not correct for g_closure_new_simple re...
 679347 glocalfile seems to leak 'fstype'
 679467 Mention translation in g_warning() documentation
 689323 Variable scoping in gunixmounts.c
 691436 glib-mkenums output arch dependent
 695681 gsettings bash completion put error messages
 705331 AM_PATH_GLIB_2_0 macro fails with -Wstrict-prototypes -Werror
 706667 Fix permission denied error when installing from an nfs directory
 711809 gdbus-proxy: Fix erroneous timeout during following tests
 722256 gslist: Simplified node removal and got rid of some code duplication
 723655 Socket source is left in the poll after the socket is closed
 723743 g_child_watch_add() doesn't check for non-pids
 725014 g_settings_schema_source_ref should check for NULL pointer
 727346 docs: Escape some backslashes for markdown
 730296 gsignal: Fix a potential NULL pointer dereference
 731625 Improve test for darwin printf format-strings
 731705 gio/tests/desktop-app-info assumes /bin/true
 737278 Clarify relationship of g_application_quit() to hold count
 738176 Skip GSpawnChildSetupFunc closures in introspection
 740223 source_object for GAsyncResult should be nullable
 740791 gio: cannot specify the source when joining a multicast group (IGM...
 740826 glib doesn't know fuse filesystems
 742548 configure.ac: stay out of autoconf's namespace
 742997 Don't skip invalid enum values in schemas
 745723 -Wunused-but-set-variable work-around no longer sufficient
 749371 Use a GHashTable as a set when possible
 751738 Unused-variable warnings in glib/tests/autoptr.c
 752239 Missing dependency for python files in build file
 752240 Add DTLS support to GIO
 753459 GDateTime: Add conversion functions from/to ISO 8601 strings
 753521 g_subprocess_launcher_set_environ misses argument annotations
 754026 gfileutils: add some sanity checks
 756009 'const gchar* const *' gets incorrectly defaulted to utf8
 756103 Skip g_base64_decode_step() in introspection
 756128 Fix up annotations in gconvert
 756430 g_rw_lock_reader_lock() can return without locking, or error
 756470 Fix up annotations in gdataset.c
 756588 Fix up annotations on data/qdata API of GObject
 760022 Memory leak in gvariant-parser.c
 760109 [PATCH] Invalid GDate can't be g_boxed_copy()'d
 760716 Fix documentation regarding <glib/gprintf.h>
 765063 Update annotations for gio
 765552 Please set serial in .m4 files to prevent autoreconf failure on up...
 767215 GCC version number is interpreted as start of a list in docs for g...
 767239 Tautological comparisons in convert tests
 769674 some GIO tests' arbitrary timeouts are too short
 769846 gmessages: Add timestamp to g_log_writer_format_fields()
 770459 Tutorial article is slightly wrong
 773355 Incorrect documentation about stopping a signal emission from a hook
 774083 spelling mistakes in glib: charater
 776562 Add Intel C Compiler support for G_GNUC_BEGIN/END_IGNORE_DEPRECATI...
 777308 GModule win32: disable error dialog popup
 777310 gio/gasynchelper.c: fix cast from pointer to smaller int type on w...
 777956 gmessages: Update advice for G_LOG_DOMAIN
 779182 xdg-open fails with gio open for some uris
 779501 Type of GIConv given wrongly on web
 780202 introspection: Don't expose GValueArray.free
 780296 xdg-open/gnome-open doesn't work if service isn't started
 781598 gstdio.h should #include what it needs to work
 781867 various gvfsd-* wants to look in /boot/efi, causes unnecessary/ina...
 783210 build: Switch to sassc for generating style
 783270 Improve Visual Studio support for Meson builds
 783825 Suggest that asynchronous operations should invoke the callback in...
 786737 No g_variant_get() example for dicts
 786785 Commit #fe2a9887a8 breaks gdbus-codegen, cannot find its module so...
 787271 Make GListModel usable from G-I bindings
 787485 g_tls_backend_supports_dtls () returns true when the backend doesn't
 787551 Factor out some duplicated code in GParamSpec validation
 787581 tests: Add tests for g_slist_copy() and g_slist_copy_deep()
 787671 meson: Fix permissions of installed scripts
 787731 g_file_query_filesystem_info() wrongly reports "filesystem::readon...
 788138 glib-compile-resources: Fix leak of a GHashTable
 788180 G_FILE_ATTRIBUTE_ID_FILE is useless on W32
 788270 gmodule - failed to load symbol on Android 64bit
 788368 Race condition in GDbusObjectManagerClient
 788384 gtypes: Fix signedness of __builtin_bswap() usage
 788385 gtestutils: Explicitly cast args to g_assertion_message_cmpnum()
 788401 PATCH: MacOS build cannot detect content type from content - xdgmi...
 788467 Fatal errors and warnings should be reported as TAP
 788488 GFile-based API for g_build_filename()
 788489 gmain: add g_clear_source API
 788561 Document how to integrate GTest into your project
 788594 gdbus-tool doesn’t handle non-message-bus connections correctly
 788705 Allow building GLib on older Linux platforms
 788766 fixed a doc-typo in socket_get_remote_address
 788772 meson installs gdb scripts incorrectly
 788863 Add more filename type annotations for strings which can contain f...
 788880 gunixmounts: Update list of virtual file systems to ignore
 788927 Expose better API for detecting ‘system’ mounts
 788936 Show mime type icons on OS X
 788948 Document Autotools best practices for genmarshal/mkenums
 788975 Meson + Visual Studio: Can't find zlib.h with subprojects/zlib
 788978 Document XML has a syntax error
 788989 Use subdir-objects with Autotools
 788990 Include licensing information in output from glib-mkenums, glib-ge...
 789087 gint and guint misrepresented as functions
 789170 GFormatSizeFlags should have a value for bits
 789245 g_settings_bind() not conforming to lifecycle specification
 789444 Fix handling of length in g_utf8_make_valid
 789637 glib-mkenums: Fails when --ouput file does not exist
 789681 meson: Libmount support not built
 789723 [PATCH] gdbus-codegen: Call abspath() earlier
 789755 g_get_host_name: ensure return value is always UTF8 encoded
 789820 GPollFileMonitor is not cleaning up correctly
 790015 docs: Various linking and syntax fixes
 790030 GResource/GVariant fails to load from non-pointer aligned memory
 790093 gio-tool: fix inverted logic in monitor tool
 790126 gengiotypefuncs.py is missing from tarballs
 790147 build: Drop data-to-c.pl in favour of data-to-c.py
 790157 gmessages: Give examples of G_DEBUG with gdb in the documentation
 790272 file: add g_file_load_bytes()
 790275 avoid temporary string allocations in g_resources_enumerate_children
 790310 speedup path canonicalization in GResourceFile
2018-04-17 08:03:38 +00:00
wiz
1cfca0416f glib2: update to 2.54.3.
Overview of changes in GLib 2.54.3
==================================

* Bugs fixed:
 691436 glib-mkenums output arch dependent
 761102 Increase performance for main loop
 776147 gio/glocalfilemonitor.c doesn't handle case G_FILE_MONITOR_EVENT_MOVE...
 779182 xdg-open fails with gio open for some uris
 782057 Unit tests fail in run-assert-msg-test.sh
 785113 glib-mkenums Python port fixes
 788990 Include licensing information in output from glib-mkenums, glib-genma...
 789637 glib-mkenums: Fails when --ouput file does not exist
 789894 Text tool has color from previous line, when overwriting existing text
 790030 GResource/GVariant fails to load from non-pointer aligned memory
 790093 gio-tool: fix inverted logic in monitor tool
 790126 gengiotypefuncs.py is missing from tarballs
 790829 glib-genmarshal --body must not generate alias implementations
 790934 gtester doesn't handle skipped tests
 791235 Fix gschema.dtd regarding flags.
 791267 Make gschema.dtd usable.
 791296 gtester-report: fix range usage when running as python3 app
 791325 Gio handling of thumbnail:: attribute namespace causes inconsistent b...
 791334 gbinding.c:898: The target object of type GNetworkAddress has no prop...
 791337 Crash opening URIs with g_desktop_app_info_launch_uris_with_spawn()
 791720 Criticals in gio/xdp-dbus.h leading to crash under flatpak
 791744 gmenumodel test sometimes fails: assertion failed (items_changed_coun...
 791754 gdbus-peer test intermittently fails: assertion 'source->ref_count > ...
 791906 GSocketListenerClass.event has wrong signature

* Translation updates:
 Norwegian bokmål
2018-01-28 16:51:50 +00:00
jperkin
409f10e32d glib2: Fix building with ObjC on older Darwin. 2017-12-11 13:34:00 +00:00
prlw1
29ab853751 glib2-tools: remove pkgrevision as adam updated glib2 2017-11-07 15:53:11 +00:00
adam
8af3c78a1f glib2: updated to 2.54.2
GLib 2.54.2

* Bugs fixed:
 780296 Fix a race in gio open

* Translation updates:
 Catalan (Valencian)
 Nepali
 Slovak
 Slovenian
2017-11-07 12:04:05 +00:00
prlw1
5a83cb4ec4 Update glib2 to 2.54.1
glib-genmarshal and glib-menums have been ported to python. To keep
glib2 a python-free zone, these have been moved with gdbus-codegen
to py-glib2-tools.

Packages needing one of those tools to build can include
devel/glib2/buildtools.mk

The licence has been changed from LGPLv2+ to LGPLv2.1+.

A full changelog is available at:
https://git.gnome.org/browse/glib/tree/NEWS?h=2.54.1
2017-10-13 15:35:10 +00:00
wiz
a1e4174a9c Follow some http redirects. 2017-08-16 20:21:03 +00:00
prlw1
a75bd8ce3d Update glib2 to 2.52.3
Highlights include:
* OS X implementations of GContentType and GAppInfo have been added
* Memory leak fixes
* Minimal support for UUIDs has been added
* A new file attribute, G_FILE_ATTRIBUTE_RECENT_MODIFIED has been added
  to improve sorting of recent files
* glib-compile-resources grew a --generate-phony-targets flag
* GLib now installs a valgrind suppressions file for GLib and GIO
* glib-genmarshal and glib-mkenums have gained --output options
  for better build system integration
* New API: g_utf8_make_valid

+ Many bug fixes and translation updates. For a full list see:
https://git.gnome.org/browse/glib/tree/NEWS?h=2.52.3
2017-07-03 17:42:45 +00:00
prlw1
030fb8bfdc Update glib2 to 2.50.3
Overview of changes in GLib 2.50.3
==================================

* Bugs fixed:
 775309 Crash in gdbusauth
 775468 Improve log write supports color method on windows
 775517 Password input is echoed in the terminal
 775765 FDO notification withdrawal backend sends wrong ID to the server

* Translation updates:
 Simplified Chinese
2017-03-03 08:22:12 +00:00
maya
a3e5f9b515 glib2: don't build with libmount on linux, avoids spurious dependency
on libmount-dev (not provided in pkgsrc, linux only)

no response from maintainer yet.
this package being broken on bulk builds leads to 3472 dependents being
broken, so commit anyway.

from mutek in PR pkg/51681
2016-12-12 09:22:54 +00:00
prlw1
6c008cadfd Update glib2 to 2.50.2
- grew a "gio" tool for the equivalent of ls, mv, mount, which also
  builds on Windows. "gio tree" is quite nice.
- updated to Unicode 9.0.0.
- added structured logging.

Full list of changes available at:
https://git.gnome.org/browse/glib/tree/NEWS?h=2.50.2
2016-11-25 12:42:21 +00:00
prlw1
c980a6b042 Update glib2 to 2.48.2
Overview of changes in GLib 2.48.2
==================================

Bugs fixed:
 547200 g_utf8_find_next_char() issues
 673101 resource compiler dependency generation not working for generated files
 700756 GFile.new_for_path arguments misses (type filename) annotation
 725902 build: simplify dtrace configuration
 728207 gsocketservice: Documentation does not mention that is already active...
 730187 glocalfileoutputstream: Fix an FD leak in an error path
 746685 Doc: clarify that g_variant_get_data() can be used instead of g_varia...
 750257 GSettings changed signal should clearly state the order required
 753231 Memory is potentially used after free
 755439 Memory leak in gdbusproxy.c
 760115 gtestutils: add missing dash in seed argument's --help documentation
 760423 gio-querymodules prints error messages as question marks on some locales
 761810 gio: Support using GDBusObjectManagerServer at path /
 766211 Fix the upper bound in g_unichar_iswide_bsearch
 766899 Superflous HTML/XML comments
 766933 GSocketAddress leaks in gnetworkmonitornetlink.c:read_netlink_messages()
 767172 docs: Move GIO_USE_VFS to "okay for production" section
 767218 Remove a UTF-8 ellipsis from gsignal.h
 767824 Some UTC timezones incorrectly recognized on Windows 7
 767949 Typos in glib docs
 768453 Gdbus test: compilation fails due to -Werror=format-y2k errors
 768504 keyfile: g_key_file_get_double behavior doesn't follow documentation
 768551 Test failure: test_socket_address_to_string
 768560 gio/tests/gsettings: fix GSettings reference leaks in some tests
 768806 gdbus tool must swallow -- argument
 769027 Docs misleadingly imply G_CHECKSUM_SHA512 is available since 2.16

Translations updated:
 Indonesian
 Portuguese
 Turkish
2016-08-21 21:47:29 +00:00
prlw1
1df911fd45 Update glib2 to 2.48.1
Overview of changes in GLib 2.48.1
==================================

Bugs fixed:
 731988 glocalfile: Avoid a potential NULL pointer dereference
 747107 GVariant varargs documentation: g_variant_get() example
 747478 g_system_thread_set_name() is not implemented for gthread-win32
 748474 g_get_language_names() is not thread-safe
 748530 gthread: W32 implementation of g_get_num_processors() has lame fallback
 748806 GVariant: Better introduction to the concepts and its uses
 749606 tests: always remove app.desktop
 758174 Fix documentation typos
 758738 Usage of GType properties causes crashes due to gulong/gpointer mismatch
 762994 Race condition in GIO/AppFileChooser crashes Firefox/Gtk3
 763379 codegen: Add support for g_autoptr to gdbus-codegen generated objects
 763821 build: Also dist Systemtap files always for gobject/
 764092 gstrfuncs: Document the behaviour of g_strjoinv()
 764574 build: Fix all statfs() tests failing
 764575 tests: Fix compilation errors due to Y2K format problems
 764685 GApplication documentation about handling command-line options is confusing
 764754 '-' in application id: unbreak bus activation and notifications
 765959 socket: set fd field to -1 after closing socket
 765990 Visual Studio: Define inline only when necessary

Translations updated:
 Basque language
 Catalan
 Vietnamese
 zh_CN
2016-05-27 08:19:27 +00:00
jperkin
8850d74222 Remove call to Cocoa notification too. Ride previous change rather than
forcing a revbump as it only impacts a specific lesser-used platform.
2016-05-03 08:49:04 +00:00
jperkin
b62b755e0e Fix build on Darwin < 10.9 by disabling Cocoa notification support. 2016-04-26 15:26:44 +00:00
prlw1
e87e1424e5 Update glib2 to 2.48.0
- removed patch-gio_gtestdbus.c: applied upstream.
- removed patch-gio_gunixmounts.c: can no longer reproduce problem.

Overview of changes in GLib 2.48.0
==================================

 * a minor build fix in the name of determinism

 * a few coverity fixes

Bugs fixed:
 763617 giotypefuncs.c: Sort _get_type functions in the 'C' locale

Translations updated:
 Danish
 Italian

Overview of changes in GLib 2.47.92
===================================

 * gdbus-codegen now supports g_autoptr()

 * g_get_user_runtime_dir() now reliably returns an existing directory

 * g_array_remove_range() can now remove 0 items from the end of an array

 * Many fixes for Windows
   * build fixes
   * file monitoring
   * gsettings backend
   * streams
   * random numbers
   * wide character support

 * documentation improvements

 * other small bugfixes

Bugs fixed:
 724847 Segmentation fault on "gsettings list-recursively"
 743933 gapplication: add --app-id command line option
 756706 [PATCH] gio/gtestdbus.c: don't use non-standard %m printf modifier
 757506 gsettings: schema_list should use the passed schema's source
 760694 W32: Apps linked with -mwindows make cursor busy sometimes
 762202 g_win32_error_message improvements
 762637 build: Unconditionally dist tapset files
 762748 Undefined behavior
 762937 Mention that g_clear_error can be used with an "empty" GError
 763339 array: Support clearing an empty array with g_array_remove_range()
 763344 g_get_user_runtime_dir(): ensure directory exists
 763379 codegen: Add support for g_autoptr to gdbus-codegen–generated objects

Translations updated:
 Brazilian Portuguese
 Czech
 Finnish
 French
 Galician s
 German
 Greek
 Hebrew
 Hungarian
 Italian
 Kazakh
 Korean
 Latvian
 Lithuanian
 Occitan
 Polish
 Russian
 Serbian
 Slovak
 Slovenian
 Spanish
 Swedish

Overview of changes in GLib 2.47.6
==================================

* Windows usupport:
 - Fixes and improvements to the GSettings registry backend
 - Handle readability and writability of registry keys
 - Use Unicode registry APIs

* Bugs fixed:
760852 744772 761126 747927 761337 744570 761504 761550 761843
 744570 GString is missing (transfer none) annotations on many of its methods
 744772 systemtap and gdb scripts install in wrong place
 747927 Documentation: various small improvements
 760852 gdbusobjectmanagerserver: Clarify recommended ObjectManager paths
 761126 winiconv: update to upstream version
 761337 Fix some annotations
 761504 W32 registry GSettings backend does not use Unicode
 761550 Cannot build with default flags under Fedora rawhide (-Werror=format-...
 761843 gmacros.h is testing attributes with __has_feature (when compiling wi...

* Translation updates:
 Brazilian Portuguese
 Bulagarian
 Chinese (Taiwan)
 Hungarian
 Polish
 Slovak
 Slovenian
 Spanish
 Swedish


Overview of changes in GLib 2.47.5
==================================

* the system copy of PCRE is now used by default to implement GRegex.
  Configure with --with-pcre=internal if a system PCRE version
  is unavailable or undesired.

* interfaces for DTLS support have been added.  A new version of
  glib-networking will also be required.

* GDBusMethodInvocation now drops replies if the sender set the
  NO_REPLY_EXPECTED flag

* several GApplication fixes, including fixes for commandline arguments
  in interpreted languages on Windows

Bugs fixed:
 624186 Deprecate glib-gettext macros
 734095 gtk-demo.py of PyGObject fails to run on Windows (and likely other binding scripts using g_application_run())
 735754 Implement close on TLS GOutputStream
 748064 gnulib vfprintf returns desired (not actual) number of bytes, ignores errors
 752240 Add DTLS support to GIO
 755421 GDBus ignores NO_REPLY_EXPECTED flag in messages, leading to warnings on system bus
 756875 Include ntdef.h for NTSTATUS
 759554 g_application_run() calls g_main_context_default() repeatidly
 760199 gsettings: Install gettext ITS rules
 760215 G_LIKELY/_UNLIKELY macros need more parentheses
 760683 regex test: Check the expected PCRE exceptions at runtime

Translations updated:
 Brazilian Portuguese
 Czech
 German
 Lithuanian
 Swedish

Overview of changes in GLib 2.47.4
==================================

* The GApplication documentation has been improved in several areas.

* Bugs fixed:
 749092 gdb pretty-printers fail on Python 3 with a TypeError...
 757374 macros: clean up "inline" mess
 758641 Memory leak in g_dbus_proxy_new_for_bus_sync()
 759134 Add missing checks for gnulib vasnprintf()
 759408 Do not use uninitialized var
 756475 Stop supporting non-POSIX getpwuid_r, getgrgid_r
 757372 GApplication: destroy the impl on shutdown
 728099 macros: add G_GNUC_CHECK_VERSION() for compiler checks
 757299 glib-compile-resources: do not leak c_name
 758553 Fix gettext use
 758823 file monitors: reorder some code to avoid segfault
 756214 gsettings: Don't translate ""
 710243 Add GParamSpec object ref management annotations
 735696 xdgmime: Finer handling for cases where mmap() is not available
 752983 gapplication: Acquire the main context before running

* Translation updates:
 Swedish


Overview of changes in GLib 2.47.3
==================================

The inline cleanup in the last release accidentally removed three
symbols from libglib-2.0.so.  It is unlikely that this will have caused
any problems because these symbols were only backup symbols for
definitions exported as inlines in the header files, but ABI is ABI.

This release corrects only this problem.

Overview of changes in GLib 2.47.2
==================================

* We have formalised the assumption that all compilers that are
  interested in support 'static inline' and simplified the macros around
  this considerably.  Please watch for and report unintentional fallout.

* New API: hardware-assisted helpers for overflow-checked integer math.

* other fixes

Bugs fixed:
 696324 gtester-report doesn't work with Python 3.x
 719966 glib: Add missing (nullable) and (optional) annotations
 752837 gobject and glib-compile-resources rely on .CRT$XCU section, no longer works with Win 10 UCRT (VS 2015)
 755364 make gtkdoc-check happy again
 756134 Segmentation fault on calling g_simple_action_group_add_action with bad action constructor call
 756179 gwin32.c: Replace VerifyVersionInfoW() with RtlGetVersion() due to API deprecation
 756988 GSequence should document each function's complexity
 757294 Move G_POLLFD_FORMAT to glibconfig.h
 757374 macros: clean up "inline" mess
 757451 doc: fix g_task_attach_source() example
 757628 gio tests fail to build when cross compiling 2.46.1
 757693 Invalid free in g_local_file_trash()
 757742 Fix up annotations in ghash.c
 758181 GTask: fix wrong example code

Translations updated:
 Greek
 Hebrew
 Hungarian
 Norwegian bokmål
 Portuguese
 Scottish Gaelic
 Simplified Chinese
 Spanish

Overview of changes in GLib 2.47.1
==================================

* The Unicode support has been updated to version 8.0 of the Unicode standard

* GDesktopAppInfo no longer sets the DISPLAY environment variable when
  launching apps. This is now done in the GAppLaunchContext implementations
  when appropriate

* Bug fixes:
 664740 Key-value file parser, space after integer
 687223 cleverer GThreadPool management
 692085 stderr and stdout are not always file descriptors 1 and 2
 697907 Add interface for socket-like things (GSocket, DTLS, etc)
 735754 Implement close on TLS GOutputStream
 737116 Add functions to print GSocketConnectables and addresses as strings
 743011 Minor additions to GError documentation
 749161 undefined reference to `__imp__stat32i64'
 749314 Cannot restore a just-trashed file
 751924 Add recvmmsg()-like API on GSocket
 752240 Add DTLS support to GIO
 752837 gobject and glib-compile-resources rely on .CRT$XCU section, no longer...
 753310 Remove `#pragma GCC system_header` from gmessages.h
 753935 Update example namespace and class names in GObject tutorial
 754855 Object instantiation documentation refers to example that no longer ex...
 754983 Wayland: g_desktop_app_info_launch_uris_with_spawn() forces DISPLAY va...
 754994 g_date_time_get_second () sometimes returns an off-by-one result
 755083 Clarify in G_ADD_PRIVATE that it is safe to call _get_instance_private...
 755351 Example still contains g_autoptr(gchar)
 755355 Move GStrv to glib.h so it can be used with g_auto()
 755374 g_variant_get_child(): flatten-first logic on '&'
 755496 glib 2.46 fails GStreamer test suite
 755609 glib 2.46.0 breaks Sun Java JVM 1.8.0.60
 755766 gvalue: The g_auto cleanup function assert if value is G_VALUE_INIT
 755795 2.46 considers empty files as octet-stream rather than text (leads to...
 755961 Fix up annotations in gbytes.c
 756053 MSVC doesn't understand the symbol 'msghdr'
 756054 MSVC linker error due to 'g_socket_send_message_with_timeout()'
 756077 testutils: remove internal ABI comment
 756099 g_main_context_query(): Annotate @n_fds as (in) parameter
 756139 musl: ctors called in the wrong order
 756179 gwin32.c: Replace VerifyVersionInfoW() with RtlGetVersion() due to AP...
 756251 The documentation of G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START is confusing
 756255 GOutputStream swallowing errors in splice with G_OUTPUT_STREAM_SPLICE...
 756316 GSequence should provide fast api to check if empty
 756382 snprintf used on Windows with VS2015 doesn't support %n
 756477 gio/gthreadedresolver.c has outdated copy of bionic headers (for android)
 756550 gtypes.h: Make G_MININTn literals negative
 756875 Include ntdef.h for NTSTATUS
 756952 giomodule: return a copy of module name

* Translation updates:
 Basque
 Czech
 Serbian
 Serbian Latin
 Vietnamese


Overview of changes in GLib 2.46.0
==================================

* Disable runtime-deprecation warnings

* Fix marshalling of flags on bigendian 64bit architectures

* Translation updates
 Brazilian Portuguese
 Danish
 German
 Latvian
 Russian
 Turkish


Overview of changes in GLib 2.45.8
==================================

* utf8 validation and utf8-to-ucs4 conversion are faster

* Small speedups to property change notification

* Various other small optimizations for GQuark, GData

* Bugs fixed:
 696426 GParamSpecTypeInfo do not need to be static
 735429 Cleanup MSVC Project Files Generation
 738504 Optimize UTF-8 decoding by unrolling branches and expressions
 742903 Add missing (transfer) annotation to GString
 748633 g_set_object order of operations
 754431 Fix build of glib/gstrfuncs.c on Windows
 754560 gioerror: Add more mappings for WinSock error codes
 754582 Glib cannot compile
 754601 Make g_strerror work with non-glibc POSIX systems
 754636 tests/unicode-encoding test fails for glib 2.45.7 on x86-64
 754788 more g_strerror stuff
 754831 autocleanups: Add GString type
 754924 Improve test coverage of g_utf8_validate() by added known-...
 754986 Avoid unnecessary signal emission during draw

* Translation updates:
 Italian
 Kazakh
 Korean
 Lithuanian
 Slovenian
 Swedish


Overview of changes in GLib 2.45.7
==================================

* Add G_FILE_ATTRIBUTE_STANDARD_IS_VOLATILE for use by non-POSIX-like
  backends (e.g. cloud storage).

* GFileMonitor: Make the inotify backend work with atomic renames again

* GSettings: change notification is again working unconditionally

* GListStore has a sort function now

* Test infrastructure:
 - Tests are now required to have unique names
 - TAP support has been improved
 - A macro for asserting that two memory regions have identical content
   has been added

* Bugs fixed:
 708525 A "g_file_query_info" on the file path "/sys/kernel/debug/hid"...
 742849 inotify: send paired events to both sides
 744060 Update GObject tutorial documentation to use G_DECLARE_FINAL_T...
 747364 Fix GError leak in g_file_query_writable_namespaces()
 749492 Support file creation time on FreeBSD and NetBSD
 752769 (g_socket_receive_message | g_socket_send_message) performance
 753745 glib-genmarshal still needed for cross-compilation
 754152 Add g_list_store_sort
 754211 Memory leak in g_file_enumerator_iterate ()
 754264 GLib 2.44 certificate chain construction fails if the PEM incl...
 754283 gtestutils: add g_assert_cmpmem()
 754284 gtestutils: print the TAP test plan first, not last
 754286 misc gtestutils fixes
 754307 size of array '_GStaticAssertCompileTimeAssertion_3387' is neg...


* Translation updates:
 Chinese (Taiwan)
 French
 Galician
 Greek
 Hebrew
 Hungarian
 Indonesian
 Polish
 Portuguese


Overview of changes in GLib 2.45.6
==================================

* Fix a test failure and a build failure

Overview of changes in GLib 2.45.5
==================================

* GNetworkMonitor now provides information about metered networks

* g_mem_set_vtable has been deprecated; it has not been working for
  quite a while. The recommendation is to use valgrind, or replace
  malloc itself.

* Bugs fixed:
 656325 Make GDBusInterfaceVTable binding friendly
 741779 Documentation tweaks addressing real-world API misuses
 741822 Fails to build with VS 2015
 742386 gdbusconnection: Don't g_printerr() when exiting
 743018 gobject: Add more cross-links between documentation pages
 750282 Add g_network_monitor_get_network_metered() to get if the connection...
 751358 GFileMonitor doesn't react to "mv some-file watched-file"
 751592 Stop using GMemVtable
 751598 Stop 'handle-local-options' propagation when callback reports an err...
 751610 g_str_hash produces collisions with strings of length 2
 751751 Wrong docs of g_async_queue_remove
 752210 gdbus command crashes with SIGSEGV
 752656 gdbusconnection: Fix signal subscription documentation
 752767 Fix typo in g_hash_table_replace() documentation
 753278 gdbus: Don't use g_assert_no_error() GDBusObjectManagerServer
 753285 g_menu_item_set_icon fails if called with NULL icon

* Translation updates:
 Catalan
 Czech
 French
 Indonesian
 Lithuanian
 Norwegian bokmål
 Slovak
 Spanish
 Thai
 Turkish


Overview of changes in GLib 2.45.4
==================================

* Bugs fixed:
 727829 win32: glibconfig.h.win32 updates
 741901 Clang cannot know that g_error don't return
 746339 GSocket kills process when fd is not a socket
 747676 gio/tests/socket fails: test_fd_roundtrip
 748610 Some tests fail with non-English locales
 749911 g_inet_address_to_string broken on XP/2003
 749912 g_inet_address_new_from_string broken on XP/2003
 750625 Should dismiss Software Updates Available notification after...
 750807 G_BREAKPOINT doesn't work as intended on Darwin
 751160 gtask does unnecessary work
 751672 -Wduplicate-decl-specifier in glib/tests/keyfile.c
 751731 GFile/DirectoryMonitor emit move events with other_file=NULL
 751737 gio/tests/appmonitor test fails in 2.45.3
 751798 Wrong enum type used in some test-cases
 752089 make gsocketservice::active a property
 752293 small cleanup: use list_free_full

* Translation updates:
 Greek
 Hebrew
 Portuguese


Overview of changes in GLib 2.45.3
==================================

* Improve performance of g_signal_handler_disconnect for signals
  with many handlers

* GDBus has gained a new call flag to allow interactive authorization

* GSettings:
 - New API: g_settings_schema_list_keys
 - Deprecated: g_settings_list_keys

* OS X:
 - Implement GNotification
 - Bump the OS X requirement to 10.9

* Windows:
 - Add registry reading API
 - Reimplement GAppInfo using registry information

* Bugs fixed:
 666831 Support URI opening on W32
 728489 property action with inverted boolean state
 730168 Incorrect annotation on g_action_group_get_action_state_type return...
 733325 Several regex tests fail with pcre3 8.35
 734888 GLib has no helper functions to work with W32 Registry
 737009 signal handler lookup doesn't scale
 738185 Misleading language about "file name encoding" in the docs on g_env...
 738504 Optimize UTF-8 decoding by unrolling branches and expressions
 739122 glib not handling -1 return ("no limit") from sysconf (_SC_THREAD_S...
 739424 gnome-shell crashes when files are added, deleted, or modified in $...
 739616 DBus; Add new call flag to allow interactive authorization
 740308 Add g_settings_schema_list_keys() method
 740516 RFE: please provide an introspectible version of g_log_set_handler
 741788 Document GSettings build system integration
 745013 GBinding not thread safe
 747146 Implement GNotification on OSX
 747941 try XDG_RUNTIME_DIR/bus before falling back to X11 autolaunch (dbus...
 748727 Filechooser dialog shows no icons for directories on W32
 749693 GActionGroupExporter: flush queue on requests
 750203 GNetworkMonitorNetlink hangs in user namespace
 750322 gapplication: Make sure --help output is translated
 750344 GTlsInteractionClass is missing from doc
 750369 Various GBinding cleanups
 750386 Race condition in g_io_condition_get_type
 750399 Typo "equilalent" in glib documentation's glib-Error-Reporting.html...
 750573 GTlsDatabaseClass is not documented
 750918 genmarshal: silence register storage class warnings
 751122 gsocket: avoid unnecessary g_socket_cond_wait() in _send_messages()
 479730 The "g_key_file_set_comment" interface prepends '#' character to...

* Translation updates:
 Hungarian
 Spanish


Overview of changes in GLib 2.45.2
==================================

* Improve error reporting in glib-compile-schemas.

* Add introspection annotations to GListStore.

* Bugs fixed:
 696749 win32 : failed to compile because of careless mistake in the code
 723394 const parameter to GtkPopover gtk_popover_set_pointing_to
 724113 gdbus-connection-loss test can fail on slow machines
 725981 tap-driver.sh: internal error getting exit status
 733325 Several regex tests fail with pcre3 8.35
 744895 Unknown or unsupported transport 'this-should-not-be-used-and-will...
 747882 gtype: Bump allowed number of children
 748534 gtest: if a subprocess assertion fails, print its stdout and stderr
 748612 de_DE locale used in option-context test is not supported by FreeBSD
 748614 Double unref in g_socket_listener_add_inet_port
 748834 glocalfilemonitor: Emit notification on rate limit change
 749079 gdbus-peer test: TCP tests can fail with ECONNRESET due to a race...
 749080 gdatetime test: fails if close to rollover between seconds
 749180 gnetworkaddress: add return type annotation to parse methods
 749352 g_binding_unbind() fails when source is also the target
 749353 GBinding does not connect to the detailed notify signal

* Translation updates:
 Catalan
 French
 Slovak
 Thai


Overview of changes in GLib 2.45.1
==================================

* The GSettings schema compiler, glib-compile-schemas has been changed
  to reject schema xml that has duplicate <summary> or <description>
  elements. Such elements typically occur when translations are merged
  into the schema, with xml:lang attributes. This is not the correct
  way to translate schemas. Instead keep the translations in the .mo
  file and set the gettext-domain attribute on the <schemalist> element.

* The file monitoring infrastructure has been rewritten, and all backends
  have seen major improvements.

  The inotify backend is reporting events with less delay (no event will
  be delayed more than 10ms) and wakeups due to file monitoring have been
  significantly reduced. A CHANGES_DONE event will also be sent when new
  files appear.

  The poll implementation is now using the thread default main context.

  The fam implmentation is now running in the worker thread.

  The fen implementation has been removed, since it was unmaintained.

* The GSettings schema compiler, glib-compile-schemas, is more strict
  about rejecting schemas with xml:lang style merged translations.
  Schema translations should be done by specifying the gettext domain
  in the xml, and keeping the translations in gettext. To avoid breaking
  already-installed schemas, this change is only taking effect when
  you use the --strict option.

* The hardcoded 10-thread limit of GTask's thread pool has been removed,
  since it was prone to causing deadlocks. The thread pool is now allowed
  to grow dynamically and will shrink back over time.

* GSimpleAsyncResult has been deprecated in favor of GTask.

* The algorithm used by GAppInfo to find default handlers for mime types
  has been tweaked to prefer apps that handle the specific subtype over
  default handlers for a generic supertype.

* Bug fixes:
 627285 inotify file monitor hardwired delay
 631597 Segmentation fault in append_escaped_text
 661767 merge/improve various bits of run-in-thread functionality
 687223 cleverer GThreadPool management
 711547 win32: silence some build warnings
 719966 glib: Add missing (nullable) and (optional) annotations
 726447 Possibly an error in text string
 728663 W32: wrong stat struct is used when built with MinGW-w64
 728669 W32: GLocalFile can't measure size of files larger than 2^32...
 730188 gsocket: Document FD ownership with g_socket_new_from_fd()
 733325 Several regex tests fail with pcre3 8.35
 738207 Add a way to set SO_SENDBUF and SO_RECVBUF on listener (and...
 739850 GClosure: add valgrind hints
 741791 gmain: Save errno when handling unix signals
 744282 gvfs-open for application/x-virt-viewer changed behaviour bet...
 745255 Add support for copying sessions between GTlsClientConnections
 745745 gdbus: fix out-of-bound array access
 745821 Don't use __alloc_size__ attribute with clang
 746749 GLib-GIO:ERROR:inotify-kernel.c:327:ik_source_dispatch: ass...
 746753 Glib-compile-resources --generate-header not using ".h" as ...
 747209 glib-compile-schemas ought to reject repeated <summary> and...
 747349 Conversion of gdbus to use GTask causes deadlocks
 747363 gatomic: Add missing new line in API doc comment
 747472 Don't ignore already-installed schemas with multiple <summa...
 747541 gdbus segfaults with invalid --dest
 747772 Having hardcoded utf8 strings in the source code does not p...
 748019 gsocketconnection: Fix copy-pasto in documentation
 748177 not all test schemas are distributed, "make distcheck" fails

* Translation updates:
 Basque
 Czech
 Danish
 Finnish
 German
 Hebrew
 Icelandic
 Norwegian bokmål
 Russian
 Turkish
2016-04-07 18:33:05 +00:00
jperkin
a7efdccd6c Use OPSYSVARS. 2016-02-25 12:12:47 +00:00
prlw1
98f0b6033c Update glib to 2.44.1
Highlights from the release notes:

* Don't redefine typedefs to avoid build problems on OpenBSD
* Improve the default application algorithm
* Bump the number of children a GType can have
* GUnixMountMonitor now properly supports multiple main contexts
* many documentation improvements and cleanups.  We are now
  approaching a point where the documentation is 100% complete and the
  xml will build without warnings.  This will probably be enabled by
  default in the next cycle.
* new support for HTTP proxies in GIO
* new GTask:completed property
* use "private" futexes in order to further improve the performance of
  the contended case of GMutex and g_bit_lock()
* GApplication now has an "is-busy" property, allowing one to query the
  effective busy state.
* new GSimpleIOStream class to construct a GIOStream from an arbitrary
  GInputStream and GOutputStream
* GApplication: new API for marking 'busy' state according to the value
  of a boolean property on another object
* GOptionGroup: add binding support (boxed type, annotation fixes, etc.)
* GType now has type declaration macros G_DECLARE_DERIVABLE_TYPE,
  G_DECLARE_FINAL_TYPE and G_DECLARE_INTERFACE, which significantly reduce
  the boilerplate needed for GObject types and interfaces.
* g_autoptr and g_auto are macros for declaring variables with automatic
  cleanup. They only work with gcc and clang.
* GListModel is a new interface that represents a dynamic list of GObjects.
* GListStore is a GSequence-based implementation of GListModel.
* Support thread names on OS X
* g_simple_action_set_state_hint: New function to set the state hint
  of GSimpleActions
* g_win32_check_windows_version: New function to check Windows version
* g_settings_schema_list_children and g_settings_schema_key_get_name
* add g_set_object() convenience function
* GNetworkMonitor: check if NM is not running and don't crash
* fix some races with g_mkdir_with_parents
* fix some warnings in MSVC
* avoid use of G_STRLOC in G_OBJECT_WARN_INVALID_PSPEC in order to save
  on static strings
* fix some content type vs. mime issues
* documentation improvements
* GSocket: avoid unnecessary g_socket_wait_condition() for blocking sockets
* Implement GContentType on OSX
* New function: g_strv_contains
* New function: g_network_address_new_loopback
* New function: g_socket_send_messages
* A new GNetworkMonitor implementation using NetworkManager provides
  more detailed connectivity information
* GQueue now accepts NULL as a sibling in g_queue_insert_before() and
  g_queue_insert_after()
* Need to disable SSLv3 in glib-networking
* GObject gained a debug option to provide instance counts. To use it,
  set GOBJECT_DEBUG=instance-count and call g_type_get_instance_count().
* GOption now has a strict POSIX mode in which it stops parsing arguments
  as soon as a non-option argument is encountered.
* ... and many other bug fixes.
* Many translations updated.

For full details see:

https://git.gnome.org/browse/glib/tree/NEWS?h=glib-2-44
2015-06-10 23:00:05 +00:00
prlw1
b95fc274e9 Update glib2 to 2.42.2
Overview of changes in GLib 2.42.2
==================================

* Bugs fixed:
 712570 Hang in g_threaded_socket_service_func
 719455 g_file_make_directory_with_parents() can erroneously throw...
 727829 win32: glibconfig.h.win32 updates
 734946 Implement GContentType on OSX
 741024 glist: Mention that g_list_length() is bad for checking li...
 741654 [patch] gobject: don't use G_STRLOC in G_OBJECT_WARN_INVAL...
 741788 Document GSettings build system integration
 741807 Add thread name support on OS X and iOS
 742851 avoid MSVC warnings in G_STMT_END
 743508 polkitd fails to start: patch for gio/gcredentialsprivate.h
 743936 handle unsigned modifier for long long in internal printf

* Translation updates:
 Swedish
2015-03-14 01:24:54 +00:00
prlw1
6bfa269dd1 Update glib2 to 2.42.1
Overview of changes in GLib 2.42.1
==================================

* This release disables deprecation warnings by default

* Bugs fixed:
 728256 gcredentials: add NetBSD support (no more patch-gio_gioenums.h)
 736806 gtask: Fix reference count loop causing leaks
 737143 Include <stdint.h> in glib/valgrind.h
 738170 g_byte_array_new_take() doesn't initialize array->alloc
 738197 g_cond_timed_wait() doesn't time out on Mac OS X

* Translation updates:
 Bengali (India)
 Bulgarian
 Gujarati
 Italian
 Norwegian bokmål
 Telugu
2014-11-29 17:55:07 +00:00
wiz
cda18437be Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. 2014-10-09 14:05:50 +00:00
prlw1
ccf77e5de9 Update glib to 2.42.0
Patches removed:
- patch-ba
    Fixed in 4f775b7b and 369c8bd5 (Bug 583330)
- patch-gio_gcredentials.c
  patch-gio_gcredentialsprivate.h
  patch-gio_gsocket.c
  patch-gio_gunixcredentialsmessage.c
  patch-gio_tests_credentials.c
    Fixed in 3428bba1 and e763d934 (Bugs 728256 735819)
- patch-glib_gmessages.c
    Fixed in ab9f63fa (Bug 720708)

Patches changed:
- patch-gio_gioenums.h
    Still need 45344f36 (Bug 728256)
- patch-ak (=> patch-aa)
    Hunk 9 fixed in 74ec9470

Highlights from the release notes:

* GApplication now has binding-friendly API to handle
  commandline options: g_application_add_main_option

* G_GNUC_BEGIN_IGNORE_DEPRECATIONS works with clang

* g_clear_pointer and g_clear_object no longer use atomics

* The Unicode support has been updated to version 7.0
  of the Unicode standard

* GNotification now supports priorities for notifications

* GCredentials has gained NetBSD support

* GMutex now uses a faster, native implementation on Linux

* Many bugfixes found by static analysis, including potential fd leaks
  and NULL pointer dereferences.

* Increased use of (nullable) attribute on out values and return types
  now that it is supported (mostly from porting Vala metadata).

* use XDG_CURRENT_DESKTOP for OnlyShowIn/NotShowIn handling of desktop
  files, deprecating g_desktop_app_info_set_desktop_env()

* add support for g_desktop_app_info_get_implementations() to find
  desktop files that have an Implements= line for a given interface

* GHmac has gained SHA-512 support

* support the new mimeapps specification (most notably, moving the
  assoications/defaults configuration to ~/.config/mimeapps.list).

* libgobject is now linked -Wl,-z,nodelete when possible to avoid errors
  when gobject is used from a module for a program that does not itself
  use gobject and that module is unloaded/reloaded

* ... and many other bug fixes.

* Many translations updated.

For full details see:

https://git.gnome.org/browse/glib/tree/NEWS?h=glib-2-42
2014-10-07 23:18:36 +00:00
adam
6d824a2d24 Changes 2.40.2:
This release contains several BSD-related fixes backported from master
which failed to make it into the last release.
2014-10-07 06:29:21 +00:00
jperkin
3843fa8aad Add a comment explaining why we need to force --with-libiconv=gnu for
the ICONV_TYPE=gnu case.  Suggested by wiz.
2014-09-08 08:44:54 +00:00
jperkin
2adfb98bee Put back CONFIGURE_ARGS.gnu-iconv, it is required for the ICONV_TYPE=gnu
case to avoid conflicts between the native libiconv and iconv.h from GNU
libiconv and ensure only GNU libiconv is used.  Discussed with prlw1.
2014-09-08 08:33:59 +00:00
prlw1
442b8970e5 Update glib2 to 2.40.0
Patches removed:
- patch-ai
    Fixed in e3fa9c9a (Bug 583321)
- patch-cj
    Fixed in c58a7b8c (Bugs 641350 711047)
- patch-gio_gdbusmessage.c
    Fixed in 0167c334
- patch-gio_gfile.c
    Fixed in 091e4660 (Bug 721034)
- patch-gio_glocalfile.c
    Fixed in 7eb1e5fc (Bug 708860)
- patch-ap and
- patch-aq
    Credentials have changed, see below
Patches changed:
- patch-aa
    Second chunk fixed in 838b49ea (Bug 711600)
- patch-ba
    Third chunk fixed in 7cf221aa
    Reworked Bug 583330
Patches added:
- patch-glib_gmessages.c
    Closes PR pkg/48318, fixed in 7328089e (Bug 720708)
- patch-gio_gcredentials.c
- patch-gio_gcredentialsprivate.h
- patch-gio_gioenums.h
- patch-gio_gsocket.c
- patch-gio_gunixcredentialsmessage.c
- patch-gio_tests_credentials.c
    Attempt at gcredential support for NetBSD (Bug 728256)


Highlights from changes:

 * Disable IPv6 testcases on machines without IPv6
 * Document that it is a bad idea to match on generic error codes
 * This release introduces a hard dependency on present and functioning
   clock_gettime() and CLOCK_MONOTONIC.  It also introduces a
   dependency on pthread_condattr_setclock() unless your system
   happens to have pthread_cond_timedwait_relative_np() (as do Mac
   OS and Android).  This release is known to be broken with at
   least GNU/Hurd, pending addition of working
   pthread_condattr_setclock(CLOCK_MONOTONIC) there.
 * New API: g_str_to_ascii()
 * fix a crasher in code from gdbus-codegen
 * improvements to gobject gdb helper script
 * Portability:
   - fix a deadlock issue with kqueue on FreeBSD
   - work around a quirk in the sunstudio compiler
   - rename a variable to avoid clashing with a macro definition of
     'environ' on some platforms (like mingw)
   - use POSIX-specified <poll.h> over <sys/poll.h>
   - many improvements to Visual Studio projects and and some build
     fixes for Windows
 * tests
   - a very large number of improvements in test coverage
   - don't report skipped tests as failures
   - return 77 if we skip all tests in an executable
   - improve gtest documentation and fix some minor issues
   - fix g_test_trap_reached_timeout() return value
   - remove some dead code uncovered during test coverage expansion
   - Use tap mode for installed tests too, when using tap
 * fix races in unix signal handling
 * make our GVariant-based commandline tools (glib-compile-schemas,
   gdbus, gapplication) print out GVariant parse errors in context
 * GApplication now has a --gapplication-service command line switch to
   turn any GApplication into a service
 * improve compatibility of GApplication and GOptionContext
 * fix gsettings.m4 wrt. builddir != srcdir with non-recursive make
 * use a directory monitor in GKeyfileSettingsBackend
 * improve robustness of some GIcon classes
 * Portability
   - Remove alleged support for OS/2
   - Remove alleged support for BeOS
   - Remove alleged support for last-millennium Unixes
   - Require C90 compliance
   - Require POSIX.1 (1990) compliance on Unix
   - Require GNU make
 * GSettings fixes/improvements
   - GSettingsSchema API is now more powerful and consistent
   - new GSettingsSchemaKey API allows accessing metadata for keys:
     type, default value, range and the long-awaited support for summary
     and description
   - GSettingsSchemaSource gains support for listing schemas within a
     source.  Deprecate the global API that did this for the default
     source.
   - 'gsettings list-schemas' now works properly with --schemadir
   - deprecate a bunch of now-redundant functionality on GSettings
   - add API to GSettings for getting the default value of a key (as set
     by the sysadmin)
   - add API to GSettings for determining if the user has assigned a
     particular value to a key (ie: we are not just reading the default)
   - ignore qualified tags and attributes appearing in schema files
 * Applications/Actions
   - make GSimpleAction a bit more strict with respect to state changes
     that would violate the interface (ie: by changing the state type
     after construction)
   - throw an error when attempting to 'Describe' a non-existent action
     via D-Bus instead of returning a bogus description
   - throw an error when attempting to invoke unsupported methods on an
     Application (eg: 'Open' on an app that doesn't HANDLES_OPEN)
     instead of emitting a g_critical() in context of the app (which is
     not itself at fault for the errant call)
 * Appinfo
   - substantially rework GDesktopAppInfo to reduce the amount of disk
     accesses that are performed in common situations
   - add a new class: GAppInfoMonitor for discovering when applications
     are installed/removed
   - add a new g_desktop_app_info_search() API for searching for
     installed applications by name, keywords, etc.
 * GMarkup: add new G_MARKUP_IGNORE_QUALIFIED flag for skipping over
   "qualified" tags and attributes (those with a colon in the name, such
   as 'my:tag')
 * GDBus
   - ignore qualified tags, as above
   - GTestDBus: unset all D-Bus addresses (such as STARTER) to ensure
     that test programs don't pick them up
   - add new session_bus_run() convenience in the tests and use it
 * GRand: use real random data as a seed on win32 and use the
   timestamp/pid/uid fallback only on UNIX machines where we can't open
   '/dev/urandom'.  This may cause issues with older mingw32 releases
   due to a missing prototype for the rand_s() API.
 * Many win32 (and particularly MSVC) portability fixes.  Many
   additional tests are now runnable when building with MSVC.
 * Due to early testing of the (soon to land) GCleanup framework, a very
   large number of memory errors have been found and fixed (mostly in
   the testcases, but some in glib itself).
 * GIO:
   - some more seeking cleanups: particularly on GLocalFileInputStream
   - don't leave a .trashinfo file around if trashing a file fails
   - Add a request_certificate virtual method to GTlsInteraction
 * GNotification
   - new API for sending persistent notifications via the desktop shell
   - notifications persist when the application has quit and clicking on
     them can restart the application with an action (via
     DBusActivatable)
 * GSubprocess
   - new API for launching subprocesses
   - nice GIO integration like async functions, cancellability, etc.
   - a convenient communicate() API inspired by the same API in Python
   - related: the gspawn API now has a CLOEXEC flag for the created
     pipes for stdin/stdout/stderr
 * New gapplication(1) commandline tool
   - intended to be used with DBusActivatable apps
   - can be used for launching apps, opening files, invoking application
     actions and listing apps and actions
   - bash tab completion is supported
 * GDesktopAppInfo changes:
   - g_file_get_path() can implicitly cause a FUSE mount so don't call
     it until we know we need it (for an app that doesn't support URIs)
   - don't crash when trying to load from a keyfile with
     DBusActivatable=true
   - remove some dead code, refactor the search path handling a bit and
     do a large-scale whitespace cleanup (prep work for the pending
     desktop file index)
 * File monitors
   - fix broken handling of mount point monitoring
   - remove some strange use of GObject::constructor() from the base
     class and inotify backend
   - fix GFileMonitor to work in the non-default main context even when
     the main context is not running (or is blocked)
   - add internal private API for easily creating a file monitor in the
     GLib worker thread
 * GSettings
   - g_settings_list_children: only list viable schemas.  This fixes a
     longstanding issue where 'gsettings list-recursively' will crash
     when there are invalid schemas installed
   - don't accept invalid paths on g_settings_new_with_path, etc.
 * GIO
   - GFile now has a thumbnail::is-valid attribute to check if the
     thumbnail in thumbnail::path needs to be regenerated
   - GDBusProxy now has a flag to control autostarting of services at
     construction time
   - for GSeekable, properly introduce the concept of "resizable" vs.
     "fixed-sized" streams in the docs, explaining the expected
     semantics of the interface in each case
   - fix some cases in GMemoryOutputStream that were violating the above
     expectations (which may cause a slight API incompatibility)
   - clean up GCredentials code and add support for Hurd and Solaris
   - improve splicing by using different codepaths for the case where we
     have real _read_async() and _write_async() implementations on the
     stream vs. the case where they are internally emulated (via
     dispatching the sync variant of the call in a thread)
 * GKeyFile
   - fix a leak in g_key_file_get_(u)int64 when we fail to parse the
     value as an integer
   - add long-requested API g_key_file_save_to_file()
 * Portability improvements
   - avoid using O_DIRECTORY on platforms that don't have it
   - be careful about systems that define SOCK_CLOEXEC but don't
     actually support it (like Hurd)
   - only use SA_RESTART if it exists
 * Other small API changes/additions
   - a pair of functions to support matching strings for the type of
     search functionality that you'd expect to have with things like
     GtkSearchBar.  This will also be used by the desktop file index.
   - g_str_is_ascii() with obvious purpose
   - g_test_expect_message() no longer appears to allow you to catch
     G_LOG_ERROR messages
 * GMainContext/GSource
   - fix handling of overflowing the 'next source id' counter
   - g_source_remove() will now throw a critical in the case that you
     try to remove a non-existent source.  We expect that there is some
     code in the wild that will fall afoul of this new critical but
     considering that we now reuse source IDs, this code is already
     broken and should probably be fixed.
   - simplify handling of the 'current dispatching source' to not
     require use of a linked list
 * GObject
   - the long-broken (and leaky) pattern of destroying a just-allocated
     object from inside of a custom GObject::constructor is now
     officially completely illegal and will abort the program
 * Unicode: update to 6.3.0
 * Many bug fixes
 * Many translation updates

For full details see:
https://git.gnome.org/browse/glib/tree/NEWS?id=2.40.0
2014-09-05 20:49:55 +00:00
tron
0a2f8b7437 Fix build with GCC (4.8?) under Solaris. 2013-12-28 14:41:55 +00:00
obache
3b7d1aff6b Last glib2 put on ftp.gtk.org is 2.34, so drop it from MASTER_SITES. 2013-12-10 05:18:46 +00:00
prlw1
5d6972655d Update glib2 to 2.38.2
Patches removed:
- patch-ce:                      fixed in 690d6b97 (Bug 697386)
- patch-gio_gcontenttype.c:      committed as ab5aa2aa
- patch-gio_glocalfile.c:        fixed in 584358 (Bug 698348)
- patch-gio_gthreadedresolver.c: fixed in 8372f22b
- patch-glib_gfileutils.c:       fixed in 8372f22b
- patch-glib_gmarkup.c: :        fixed in 8372f22b
- patch-glib_gstrfuncs.c:        fixed in 8372f22b

Patches changed:
- patch-aa: last 3 hunks removed as committed as 996edb0 (Bug 706958)
- patch-ah: last 2 hunks removed as something similar in 8372f2
- patch-ak: last 3 hunks removed as committed as 996edb0 (Bug 706958)
- patch-ba: hunk 9 removed as committed as d47430 (Bug 697365)


Overview of changes from GLib 2.38.1 to 2.38.2
===============================================

 * GCancellableSource will now dispatch for each time a cancellable is
   cancelled (ie: in the case that it was reset) but this is still
   considered undefined behaviour

 * fix g_source_add_child_source() thread safety issues

 * add workaround for buggy D-Bus daemons when path-matching on '/'

 * fallback to pathname queryinfo to help g_file_copy() work on gvfs
   filesystems that don't implement query_info_on_read()

 * don't crash if loading a DBusActivatable application from keyfile

 * fix crash when replacing a symlink with another using GIO

 * add a fallback for '-symbolic' icons to the non-symbolic form

Overview of changes from GLib 2.38.0 to 2.38.1
===============================================

 * Fix error code checks when SOCK_CLOEXEC is defined but not supported
   (fix support for GNU/Hurd)

 * g_settings_list_children: only list viable schemas
   (fix gsettings list-recursively crashes with invalid schemas installed)

 * GDBusObjectManagerClient: Fix typo in the /org/freedesktop/DBus path
   when adding match rules

 * Various -Werror=format-nonliteral fixes

 * gmessages: fix clang annotations to work with older versions

 * gio: don't dist (generated file) gnetworking.h

 * Restore gl_GLIBC21 to configure; needed for libcharset

Translations:
 Catalan (Valencian)
 Norwegian bokmål
 Russian
 Serbian

What's new in Glib 2.38
========================

 * Application support

  - GIO now provides an implementation of Desktop Actions from the
    desktop entry specification

  - GApplication now implements the org.freedesktop.Application
    interface as per the desktop entry specification, allowing for
    standards-based D-Bus launching of GLib-based applications

  - GDesktopAppInfo now supports DBusActivatable as per the desktop
    entry specification, allowing GLib-based applications to use D-Bus
    to launch other applications

  - GApplication now has a "busy" flag that can be set on an application
    to allow the shell to show that it is busy

 * GObject

  - the private offset for a given class type is now always constant.
    This was done by reorganising the memory layout of instances so that
    the private data comes before the "official" pointer for the object
    (ie: at a negative offset).  Valgrind macros were added to mitigate
    any problems that this may have caused.

  - a new G_DEFINE_TYPE_WITH_PRIVATE has been added along with a
    generated function *_get_instance_private() that can now serve as an
    equally-performing alternative to ->priv pointers in instances
    (allowing memory savings)

  - new G_PRIVATE_FIELD, G_PRIVATE_FIELD_P and G_PRIVATE_OFFSET macros
    provide a convenient method of converting between named variables in
    private structures and their (now constant) offsets

  - installing properties on a GObjectClass must now be done from
    class_init.  It is no longer valid to install them after class_init
    has returned.

  - it is now possible to manually break a GObject property binding
    without destroying one of the objects involved

 * Icons

  - the requirements for implementing the GIcon interface have changed
    in order to make it possible to consume all implementations of GIcon
    with a finite number of cases

  - a new GBytesIcon type was added for an icon represented by an
    in-memory binary blob in a known image format (ideally png).

  - new APIs g_icon_serialize() and g_icon_deserialize() replace the old
    to/from_string APIs and will always work, irrespective of which
    types have been initialised in the calling process, allowing for a
    serialised GdkPixbuf to be deserialised in a process that doesn't
    have GdkPixbuf

  - support for icons has been added to GMenuModel using the new APIs

 * Actions and menus

  - GPropertyAction provides a convenient way of creating a stateful
    property corresponding to a property on a GObject, such as the
    "visible-child-name" property of a GtkStack

  - new API g_menu_remove_all()

  - we now have established rules about what is a "valid" action name
    and an API to check them

  - a new API for converting detailed action names to and from the
    split-out name and parameter value (as GVariant)

  - for backwards compatibility, invalid action names can still be used
    with most functions, but this is not recommended

 * Other GIO

  - GDBus now supports services that wish to handle some of all
    properties on an interface asynchronously, without requiring the
    service to reimplement the entire org.freedesktop.DBus.Properties
    interface

  - GFile now has a new _measure_disk_usage() (and async) API for
    recursively determining the amount of disk space used by a
    particular directory (akin to 'du').

  - asynchronous version of g_file_trash() and g_file_make_directory()
    have been added

 * Other new API

  - GRegex has a new function to query the maximum lookbehind length to
    allow for regexp matching on streams

  - GVariant has two new APIs for constructing strings that allow
    avoiding copies in some cases: g_variant_new_take_string() and
    g_variant_new_printf()

 * Testing

  - we can now generate TAP output

  - new support functions for simplifying the process of dealing with
    data files for srcdir != builddir and installed test cases

  - g_test_trap_subprocess() provides a portable alternative to
    g_test_trap_fork()

 * Other

  - GLib now builds on Android against the bionic C library

Overview of changes from GLib 2.37.93 to 2.38.0
================================================

* fix the documentation for GSourceFuncs

* fix compilation on OS X/ppc64

Bugs fixed: 708445, 647145

Translations updated:
 Danish
 French
 Portuguese
 Punjabi

Overview of changes from GLib 2.37.92 to 2.37.93
================================================

* a couple of bugfixes in the new g_file_measure_disk_usage() API

* updated Traditional Chinese translation

Overview of changes from GLib 2.37.7 to 2.37.92
===============================================

* new API g_file_measure_disk_usage() similar to du(1)

* minor fixes

* Translation updates:
 Assamese
 Belarusian
 Brazilian Portuguese
 Catalan
 Czech
 Galician
 German
 Hungarian
 Indonesian
 Italian
 Korean
 Korean
 Latvian
 Lithuanian
 Polish
 Serbian
 Slovenian
 Spanish

Overview of changes from GLib 2.37.6 to 2.37.7
==============================================

* GDateTime now supports %:z formatting variations
  for timezones. This is a GNU date extension.

* Bugs fixed:
 685387 Segfault with GObject.signal_handler_is_connected()...
 686786 g_socket_get_available_bytes() returns wrong value ...
 705027 GSocket GSource not threadsafe on Windows
 706469 Fix G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE documentation
 706706 Fix Gir annotations on g_loadable_icon_load_finish
 706888 gtype: fix a no-op assertion
 706958 configure.ac: fix atomic opts detection
 707092 "File Utilities" page for GLib documentation doesn'...
 707151 gdatetime: Extend the '%z' timezone format

* Translation updates:
 Catalan
 Hungarian
 Japanese
 Polish
 Slovak
 Tamil


Overview of changes from GLib 2.37.5 to 2.37.6
==============================================

* Tests using the g_test facilities can now generate TAP output

* Bugs fixed:
 680926 generic type fallback logic is broken for -symbolic
 684327 setting null icon to icon list
 689245 GSocket unable to reuse (address,port) on Mac OS X
 692125 Support TAP as GTest output format
 693335 build: fix dtrace-related warnings
 696633 gdbus-codegen trips over unicode chars when using python 3.x
 696970 Compiling 2.36.0 for win64 fails
 697185 GSocket – Allow specifying the multicast interface from...
 700268 Add support for using the clang analyzer
 701318 Add G_SPAWN_DEFAULT to GSpawnFlags
 701529 glib/tests/gdatetime: use UTC time in test_GDateTime_diff()
 701800 a new approach to reporting critical errors
 702674 g_date_time_new_utc crash
 704165 GLib.IOChannel read_unichar() fails
 705075 Simplify g_get_tmp_dir()
 705152 Race in glib/task.test
 705398 gtype: Fix typo in g_type_class_add_private() error message
 705570 Check ref_count in g_object_notify_by_pspec
 705600 Deprecate GSimpleActionGroup functions?

* Updated translations:
 Assamese
 Brazilian Portuguese
 Czech
 Dutch
 Galician
 Gujarati
 Hebrew
 Italian
 Lithuanian
 Marathi
 Norwegian bokmål
 Russian
 Slovenian
 Spanish
 Thai
 Traditional Chinese


Overview of changes from GLib 2.37.4 to 2.37.5
==============================================

* Implement the Desktop Action specification: In the case that the
  application is a GApplication and DBusActivatable, actions from the
  desktop file are translated into GActions that have been added to
  the  application with g_action_map_add_action().

* GPropertyAction is a new type of GAction that represents the value
  of a property on an object, and allows to change the value when
  activated.

* GNetworkMonitorNetlink can now handle default routes via a device.

* The gsettings tool now reports failure to write a key (e.g. because
  the key was locked down)

* Miscellaneous new api:
 - g_variant_new_printf
 - g_action_print_detailed_name
 - g_regex_get_max_lookbehind

* Bugs fixed:
 664444 Support additional application actions in .desktop files
 684123 glib build only tries -D_GNU_SOURCE if glibc is detected
 689794 support incremental matching
 699259 add org.freedesktop.Application support to GIO
 700460 rewrite tests to not rely on precise timing of timeouts
 701511 updates to various GSource types
 701609 gnetworkmonitornetlink: handle default route via device
 703270 add GPropertyAction
 704157 GAction: add function for printing detailed names
 704250 Doc: various fixes
 704267 regression gsourceclosure: segfault in gedit file chooser
 704322 glib-unix: fix handling of multiple signal source for the...
 704424 No error when failing to override a locked key
 704447 Fix build/use of g_child_watch_closure_callback on Windows
 704523 g_thread_create_full() can dereference NULL pointer
 704543 Add implementations for G_GNUC_*_IGNORE_DEPRECATIONS for ...
 704567 gdbusnameowning: Don't spew an error if we're releasing a...
 704585 libc printf can give mixed-case strings for NaN and Inf
 704587 FTBFS: statfs_result is undeclared for statvfs()
 704699 gmain: Reset signal handlers to default when source is
 704704 AI_NUMERICSERV cannot be used with ai_socktype = 0
 704873 inotify: don't assume mainloop is running
 704999 glib/convert.test crashing due to lack of iconv cache
 704931 GMenuModel: add annotations to virtual functions

* Translation updates:
 Assamese
 Czech
 German
 Gujarati
 Spanish
 Tamil


Overview of changes from GLib 2.37.3 to 2.37.4
==============================================

* Bugs fixed:
 701283 g_source_add_child_source() segfault
 702147 inconsistency of G_STRFUNC
 703191 new private macros interact poorly with versioning macros
 703254 Doc: various fixes
 703407 g_spawn_async() keeps child_pid_report_pipe open in child process
 703437 GDBusConnection: be more careful with async GetAll
 703478 Missing G_BEGIN/END_DECLS in gsettingsschema.h

* Translation updates:
 Catalan

Overview of changes from GLib 2.37.2 to 2.37.3
==============================================

* add a new API for instance private data: G_DEFINE_TYPE_WITH_PRIVATE

* fix timestamps in tarball to prevent automake from being required to
  build the unmodified source

* add new D-Bus API for async property handling

* add back fsync() on ext4 for g_file_set_contents() after it was
  discovered that despite statements in the ext4 documentation
  suggesting that this is safe, it is not safe.

* Translations:
 Italian
 Norwegian bokmål

* Bugs fixed:
 698375 - D-Bus async properties
 700350 - timestamp issue
 701560 - fsync issue (fixed again)
 700035 - new API for instance private data

Overview of changes from GLib 2.37.1 to 2.37.2
==============================================

* The GLib test utilities have grown some file-related APIs
  to support tests that can be used installed and uninstalled.

* Installing properties after class initialization is deprecated,
  and will trigger a warning.

* GApplication:
 - Support org.freedesktop.Application, including D-Bus activation
   from desktop files
 - Set prgname to appid for services

* Bugs fixed:
 549783 gtester lacks framework for tests with data files
 692848 Fix property example in gobject tutorial
 698018 Add an explicit g_binding_release()
 698614 GObject: prevent installing properties after init
 699259 add org.freedesktop.Application support to GIO
 699959 g_file_copy(): Ensure we create private files by default
 700123 Test failure: g_inet_socket_address_get_scope_id
 700725 GIcon: NULLify the `type' out param in the sync methods too
 701401 gtest: add function for testing for WINE
 701456 Error in gnome/glib/gio/tests/file.c
 701474 Error building glibmm due to extra comma in glib/gtestutils.h
 701560 various improvements for g_file_set_contents()
 701680 GFileEnumerator: Add some documentation about ordering
 701878 Check wakeup() before iteration(TRUE) doesn't block

* Translations:
 Assamese
 Czech
 Galician
 Gujarati
 Kannada
 Marathi
 Odia
 Polish
 Slovenian
 Spanish
 Telugu


Overview of changes from GLib 2.37.0 to 2.37.1
==============================================

 * add support for installed tests:
   https://live.gnome.org/GnomeGoals/InstalledTests

 * add a new g_test_trap_subprocess() that works on Windows as a
   replacement for the (now deprecated) g_test_trap_fork()

 * support for explicitly cancelling a gobject property binding

 * performance improvements for signal argument handling

 * stop using `quotes' in very many log messages generated by GLib, for
   favour of 'this style'.  This may cause testcases in other packages
   to fail if they were matching on the previous text.

 * improve manpages: add missing arguments and flags

Translations:
 Aragonese
 Assamese
 Gujarati
 Hindi
 Kannada
 Norwegian bokmål
 Odia
 Slovenian
 Spanish
 Tamil
 Telugu

Bugs fixed:
 679683 replace g_test_trap_fork()
 694380 Improve signal argument collection performance
 695233 Strings require plural forms
 697849 spelling fixes in cross.xml and running.xml
 698877 GProxyAddressEnumerator calls g_network_address_parse_uri without port
 698981 [PATCH] test /gdbus/connection/large_message could hang forever
 699079 Prototype support for installed tests
 699485 [PATCH] tests/mappedfile: Also handle ENOMEM
 699493 SOCKS5 proxy code crashes if it cannot authenticate
 699500 gbitlock: fix this to not unconditionally use futex emulation
 699779 [PATCH] G_GNUC_FORMAT: documentation error
 700263 m4macros/glib-gettext.m4: Don't use AC_HEADER_STDC
 700714 [PATCH] gtestutils: Ensure test subprocesses don't dump core
 700746 Use 'dumb quotes' rather than `really dumb quotes'
2013-12-08 13:08:59 +00:00
ryoon
dda02c174d Introduce --disable-maintainer-mode to CONFIGURE_ARGS.
Suggested by obache@, thank you.
And remove pre-configure target, it is obsoleted by --disable-maintainer-mode.
2013-09-19 11:45:22 +00:00
ryoon
99a89cab01 Touch more dependency files, fix build on DragonFly/amd64 3.4.1. 2013-09-17 16:42:00 +00:00
richard
b3eac05dc4 Overview of changes fron GLib 2.36.2 to 2.36.4
==============================================

This change addresses a major issue: despite assurances in the
documentation for the ext4 filesystem, it is still unsafe to omit a call
to fsync() when doing atomic replaces, as per g_file_set_contents().
Some patches have gone into the kernel already, but we are putting the
fsync() back for safety reasons.

There have also been win32 improvements and a fix where
GNetworkMonitor failed to detect the connection with some VPN
configurations.

Translation updates:
 Assamese
 Brazilian Portuguese
 Catalan
 Czech
 Galician
 German
 Indonesian
 Kannada
 Lithuanian
 Marathi
 Polish
 Punjabi
 Russian
 Serbian
 Slovenian
 Spanish
2013-08-17 11:52:36 +00:00
wiz
29a9695933 Update to 2.36.3:
Overview of changes fron GLib 2.36.2 to 2.36.3
==============================================

* Bug fixes:
 692848 Fix property example in gobject tutorial
 696857 GThreadedResolver: set an error if no records could be found
 697849 spelling fixes of 'runtine' and 'adresses' in cross.xml a...
 699779 G_GNUC_FORMAT: documentation error
 699959 g_file_copy(): Ensure we create private files by default
 701560 various improvements for g_file_set_contents()
 701680 GFileEnumerator: Add some documentation about ordering

* Translation updates:
 Kannada
2013-06-14 21:04:03 +00:00
prlw1
8ab703f4be Update glib2 to 2.36.2
gdbus-codegen has grown a --xml-files option for introspection XML files.

* Bug fixes:
 697887 GVariant: fix transfer annotation
 699485 tests/mappedfile: Also handle ENOMEM
 699493 SOCKS5 proxy code crashes if it cannot authenticate
 699500 gbitlock: fix this to not unconditionally use futex emu...
        Fix a hang in pidgin

* Translation updates:
 Indonesian
 Italian
 Lithuanian
 Norwegian bokmål
 Polish
 Serbian
 Slovenian
2013-05-31 22:53:23 +00:00
tron
07ef0418ec Fix build under Mac OS X by surpressing the GCC compiler option
"-Werror=missing-prototypes". At least one of the system header files
("emmintrin.h") cannot be compiled with this constraint.
2013-04-20 09:18:36 +00:00
prlw1
bdf696f96b Update glib to 2.36.1
Among many bugfixes, changes and translations:

 * GIO now has kqueue support for GFileMonitor (BSDs, Mac OS)
 * GTask (the new GAsyncResult implementation) has landed
 * We now install a public "gnetworking.h" header that can be used to
   include the relevant OS-dependent networking headers. This does not
   really abstract away unix-vs-windows however; error codes, in
   particular, are incompatible.

See NEWS file http://git.gnome.org/browse/glib/plain/NEWS?id=2.36.1 for details.

Patches removed:
- patch-aj:
    Per PR pkg/41601: Bug 133344 is closed and compile tested by Joern Clausen
- patch-at:
    Fixed in b26fb3ae (Bug 687600)
- patch-cf:
    Adds sys/param.h - if still needed, should go into gnetworking.h.in
    XXX might still be needed
- patch-cg:
    Fixed (or changed anyway) in 6f8f1f70 and 52a81a7d (Bug 688681)
- patch-ci:
    Fixed in a33aaad0 (Bug 637013)
- patch-glib_goption.c:
    Fixed in f9a6a974
- patch-glib_tests_include.c:
    Fixed in d2b7ee62 (Bug 672406)

Patches changed:
- patch-ak:
    First chunk fixed in 5fbdd3aa (Bug 691011)
- patch-ap:
    Added NetBSD support to g_credentials_get_unix_pid()
    First chunk fixed in b377e696 (Bug 623187)
- patch-aq:
    First chunk fixed in b8c13a01 (Bug 688109)

Patches added:
- patch-gio_glocalfile.c (Reported as Bug 698348)
2013-04-19 22:21:41 +00:00
drochner
61ebb64ac2 update to 2.34.3
changes:
-bugfixes
-translation updates
2012-12-14 19:20:19 +00:00
adam
c8c97463ec Changes 2.34.2:
* Bug fixes:
 649302 Add support for GNU/FreeBSD
 672924 Add annotations for g_filename_from_uri()
 685995 Crash in g_menu_exporter_name_vanished
 686091 Invalid reads in g_bytes_unref_to_data
 686185 g_date_time_format Transcoding Fails on OSX
 686213 Half open TCP sockets remain open after soup...
 686662 introduce explicitly-sized enum types, depre...
 686786 g_socket_get_available_bytes() returns wrong...
 687089 g_dbus_connection_export_menu_model(): fix a...
 687540 In Trash folder, Nautilus misinterprets "\n"...
 687541 GSignalQuery param_types field needs array a...
 687600 gfileutils.c performs invalid cast of (varar...
 687801 tests/buffered-input-stream: Fix size of par...
2012-11-13 21:23:07 +00:00
asau
e1ab7079b6 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-31 11:16:30 +00:00
drochner
e7ca406ea6 update to 2.34.1
changes:
-bugfixes
-translation updates
2012-10-19 17:54:57 +00:00
jmmv
fffebb7526 Explicitly disable the creation of manpages so that the presence of
xsltproc and Docbook packages do not enable this unexpectedly.  Fixes
the build whenever manpages get enabled for some reason, as the PLIST
does not account for them.
2012-10-09 18:57:54 +00:00
prlw1
4f8409cfa0 Update glib2 and therefore gdbus-codegen and gio-fam to 2.34.0
- patch-ar and patch-as to avoid dependending on python are no longer
  necessary since the introduction of --disable-modular-tests
- patch-co has been committed to glib in 2360d04e
- other patches cargo culted across
- statfs test was fixed in glib with commit afa82ae8
- no longer provide man pages as that requires docbook & xsltproc

Many changes in glib since 2.32.4, especially GDBus improvements.
See NEWS file http://git.gnome.org/browse/glib/plain/NEWS?id=2.34.0 for details.
2012-10-06 20:44:04 +00:00
drochner
169452e2f2 update to 2.32.4
changes: bugfixes
2012-07-24 18:23:38 +00:00
reed
b7387c28d9 change to working generic HOMEPAGE 2012-05-23 17:27:19 +00:00
adam
932aec1624 Changes 2.32.3:
* Bug fixes:
 Correct a typo in the ELF configure check
 Reset LIBS after the ELF configure check
 Fix GIO/GObject Visual C++ projects
 gio: fix error handling in async case of GProxy...
 GConverterInputStream: fix an infinite loop...
* Translation updates:
 Bulgarian
 Catalan
 Czech
 German
 Japanese
 Slovenian
 Telugu
2012-05-15 09:20:15 +00:00
adam
5e53b3f935 Changes 2.32.2:
* GApplication: can now have a NULL application ID
* g_clear_object: fix warnings when using it on C++ (due to lack of
  ability to implicitly cast void*)
* GDBus:
 - add our own implementation of the message bus for use on Windows only
 - fix up a few bugs that use of this bus uncovered in GDBus
 - escape nonce files in dbus addressess (think 'c:\')
 - support initial underscores in dbus codegen namespace (for private)
* Fix misdetection of GNUstep as Cocoa (for the MacOS GSettings backend)
* make sure configure fails if AC_CHECK_ALIGNOF cannot detect the alignment
* GAppInfo: overwrite the DISPLAY only if it is set in the launch context
* glib/tests/date: force US locale running the GDateTime tests
* GSocketControlMessage: Don't warn about unknown messages
* Resources:
 - fix broken use of GVDB on big endian machines
 - set a 'display name' so that pretty file names appear in Gtk CSS
   warning messages
* GMainContext:
 - block child sources when blocking the parent
 - introduce more testcases for child sources
* Translations updates:
 Brazilian Portuguese
 French
 Galician
 Italian
 Lithuanian
 Polish
 Polish
 Serbian
 Simplified Chinese
 Spanish
* Bug fixed:
 619026 avoid warning in gutils.h when using gcc with -Wconversion
 669260 Open/Save dialog hangs waiting for data with libsoup
 671249 GApplication: Allow a null application_id?
 672786 goa-daemon: action in notification doesn't work
 673409 g_resource_lookup_data may return stale data pointer
 674172 glib-2.32.1 misdetects GNUstep as Cocoa
 674345 cssprovider: Make sure to print out file name in css warnings
 674483 broken configure results when cross-compiling with gcc >= 4.5
2012-05-01 18:45:51 +00:00