X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=NEWS;h=80b5640a89da3cb158851720e217c45f694ae5a5;hb=76cecf061b377d30e5422cdddb1fb9d19c52421d;hp=e7e136c00d25ee2600628c17b59a97364708fc87;hpb=2b6cf583d264c101c72f4f7554925a0612b58e08;p=platform%2Fupstream%2Fglib.git diff --git a/NEWS b/NEWS index e7e136c..80b5640 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,624 @@ +Overview of changes from GLib 2.35.1 to 2.35.2 +============================================== + +Note that the incompatible change to the ->constructed() vfunc that was +made in the last unstable release (2.35.1) has been reverted due to +causing regressions in applications. + +A new incompatible change has been introduced in this version: it is no +longer permitted to add interfaces to a class after the first +instantiation (or more strictly: after g_type_class_ref()). Bug #687659 +is tracking this. + +Two private symbols (g_menu_{attribute,link}_hash_iter_get_type) which +were accidentally exported have also been properly hidden. This may +cause some tools to issue warnings about ABI mismatch. + +The remaining changes should be relatively harmless: + + * GIO now has kqueue support for GFileMonitor (BSDs, Mac OS) + + * New g_variant_new_from_bytes() API + + * UNIX signal sources now allow watching SIGUSR1 and SIGUSR2 + + * Many pedantic cleanups to adhere to a higher level of -W use + + * GTask changes to avoid a deadlock + + * many cleanups/fixes for Windows + + * Boxing for GPollFD, GIOChannel, GBytes, GByteArray + + * Fix URL-encoding of trashed files + + * Many other docs and annotations fixes + +Translations: + + Galician + Gujarati + Lithuanian + Serbian + Slovak + Slovenian + +Bugs closed: + + 649302 Add support for GNU/FreeBSD + 668842 [GSocket] Add caching for the sender address in g_socket_receive_from() + 672924 Add annotations for g_filename_from_uri() + 673229 glib: Use Returns:, not @returns + 677062 (partial) GVariant: Make g_variant_new_from_bytes() public, add more GBytes API + 686185 g_date_time_format Transcoding Fails on OSX + 686191 g_mutex_get_impl() should use g_atomic_pointer_get() + 686797 Box GPollFD to make it introspectable + 686810 [regression] Infinite wait in g_task_run_in_thread_sync() + 686822 possible dlopen()/dlclose() issue with automatic g_type_init() + 686839 mkinstalldirs: Move to glib-mkinstalldirs + 686895 file-info: catch thumbnail files in large directory as well + 686898 g_unix_signal_source_new: Allow SIGUSR1 and SIGUSR2 + 686920 gdbus: Allow GDBusObjectManagerClient to work on peer connections + 686921 Remove some of the repetition from gio/tests/Makefile.am + 687075 g_spawn_sync diagnostic incorrectly complains about SIGCHLD + 687089 g_dbus_connection_export_menu_model(): fix a crash + 687098 Repeated g_timeout_add* use can lead to guint overflow + 687385 Add some stricter CFLAGS, fix up the code + 687441 ABI break in master: g_menu_attribute_hash_iter_get_type, g_menu_link_hash_iter_get_type removed + 687516 typo in string: KB should be kB + 687540 In Trash folder, Nautilus misinterprets "\n" in filename as a line break + 687541 GSignalQuery param_types field needs array annotation + 687600 gfileutils.c performs invalid cast of (varargs) open to non-vararg type + 687698 plural forms needed + 687700 ending spaces + 687742 Add support for internal linkage to glib-compile-resources + 687801 tests/buffered-input-stream: Fix size of parameter passed + 688109 win32 warning/error fixes + 688255 'make check' regressed in 138f4c1 because GMarkup error messages changed + 688338 [PATCH] gobject/gtype.c: Fix spelling of »exceed« + 688370 GDBusError documentation improvement for client-side + 688378 g_socket_join_multicast_group not working + 688518 gio-kqueue: use O_EVTONLY on MacOS + + + +Overview of changes from GLib 2.34.0 to 2.35.1 +============================================== + +These two changes in particular may be slightly incompatible. Please +give feedback if they cause trouble: + + * Signal handlers connected with g_signal_connect_object() are now + automatically disconnected on target object destruction + + * The ->constructed vfunc is now called after all properties are set + +The remaining changes should not cause problems. + + * g_type_init() is no longer necessary and has been deprecated + + * GTask (the new GAsyncResult implementation) has landed + + * GLib version macros updated + + * Update to Unicode 6.2 + + * Thread safety fixes for GFileMonitor in non-default main contexts + + * GTimeZone support for old-format zoneinfo database (as on Mac OS) + + * g_settings_bind() now works with non-canonical property names + + * Fix crashes related to NULL connection passed to + GBusNameVanishedCallback and document this situation + +* Bugs fixed: + 118536 Make g_signal_connect_object'ed handlers disconnect when the data object is destroyed + 661767 merge/improve various bits of run-in-thread functionality + 682950 GFileMonitor crashing on high event count when running in different thread + 683642 Missing g_content_type_get_symbolic_icon + 684882 Gsettings should spaw a warning when binding against a low_underscored_property + 684909 codegen: Explicitly close output + 684912 Update to Unicode 6.2 + 685037 g_strcmp0: Returns shall include values less and greater than zero + 685069 Leak in glib-compile-resources + 685208 missing g_return_if_fail + 685608 [Patch] Port gio tests from pygobject to pygi + 685697 Documentation typo in g_dbus_interface_skeleton_has_connection() + 685733 Call ->constructed() after all properties are set + 685787 gtestdbus: correct documentation typos + 685995 Crash in g_menu_exporter_name_vanished + 686091 Invalid reads in g_bytes_unref_to_data + 686119 dtrace, gobject_probes.d, the last three probes - semicolon missing + 686161 Deprecate g_type_init() + 686231 GBusNameVanishedCallback: document NULL connection + 686458 slightly increase poll duration in test_timed_wait + +* Translations updated + Catalan (Valencian) + Czech + Danish + Italian + Lithuanian + Norwegian bokmål + Slovenian + +Overview of changes from GLib 2.33.14 to 2.34.0 +=============================================== + +* Bug fixes: + 654239 g_type_init()'s docs have no statement about how to... + 674620 Update GSettings migration guide for intltool updates + 676034 Fix doc annotation for g_ptr_array_ref() + 684278 Fix GIO build on Windows + +* Translation updates: + Brazilian Portuguese + British English + Bulgarian + Catalan + Galician + German + Hebrew + Hindi + Hungarian + Kannada + Latvian + Marathi + Spanish + Telugu + + +Overview of changes from GLib 2.33.12 to 2.33.14 +================================================ + + * CVE-2012-3524: don't run dbus-launch from setuid binaries + + * g_content_type_get_generic_icon_name(): + new API for getting the icon name for a mime type + + * Introspection fixes: + - GDBusConnection nullability fixes + - give a box type to GTimeZone + + * Drop GVFS_INOTIFY_DIAG + + * Add a new "Writing GLib Applications" section to the reference + documentation with general info on security, threads, etc. + + * gwin32mount.c: Fix syntax error + + * gresource tests: srcdir != builddir fixes + + * tests/gvariant: Fix test on big endian architectures + + * Fix regression in g_shell_parse_argv() + +Bugs fixed: + 562907 g_shell_parse_argv() mishandles # (hash) + 683167 g_time_zone_new not introspectable + 683384 /gvariant/checksum-basic failure on big endian machines + 683641 Typo in gwin32mount.c + 683744 have a way to get the generic icon name for a mime type + +Translation updates: + Assamese + Belarusian + British English + Czech + Danish + French + Galician + German + Greek + Hebrew + Indonesian + Indonesian + Korean + Lithuanian + Marathi + Marathi + Polish + Portuguese + Punjabi + Russian + Serbian + Slovenian + Traditional Chinese + +Overview of changes from GLib 2.33.10 to 2.33.12 +================================================ + +* Add a G_DEFINE_QUARK macro + +* Add symbolic icon support to drive, volume, and mount, file + and content types + +* Add API to allow thread-safe access to the same qdata item + +* Bugs fixed: + 562907 g_shell_parse_argv() mishandles # (hash) + 627240 add G_DEFINE_QUARK + 672329 memory leaks in gutils.c and glib tests + 673012 Stable byte-level specification for normal form + 674805 gdbusproxy async test is broken + 679835 gvariant format string parsing (and assertions)... + 682075 gdbus: Fix double free and use after free of ob... + 682101 Provide a way to get a symbolic icon for a device + 682222 test_method_calls_on_proxy: assertion failed (e... + 682284 mount-op: use gint64 instead of guint64 for tim... + 682386 "make check" fails due to sys/resource.h not be... + 682560 leak fixes + 682586 gsettings-tool: make list-recursively really re... + 682819 EINTR-harden all the things + 682833 Handle EINTR for open() + 682849 drop the global lock for g_object_weak_ref + 682965 gdbus-tool: Check return value of strrchr() + 683088 gdbus-codegen: fix error when wrong interface n... + Fix the build with gtk-doc-stub + Don't crash if set_app_info is called before ad... + +* Translation updates + Assamese + Galician + Greek + Indonesian + Japanese + Latvian + Lithuanian + Norwegian bokmål + Polish + Portuguese + Punjabi + Russian + Spanish + Traditional Chinese + Vietnamese + + +Overview of changes from GLib 2.33.8 to 2.33.10 +=============================================== + +* New GTest API for testcases where log output is expected: + g_test_expect_message() + +* GMenuItem now has 'get' accessors and a construct-from-GMenuModel API + +* GVariant now has a function to check a format-string for type + compatibility + +* win32: We now use overlapped IO to support multiple asynchronous + operations (ie: reading and writing) at the same time. + +* GMappedFile: Add g_mapped_file_get_bytes() + +* The problems with g_file_make_directory_with_parents() should be + resolved. + +* The long-standing issues with placeholder generation of manpages are + now resolved. + +* gtlscertificate: Add GBytes based certificate and private-key props + +* build: Switch back to using AS_IF for conditionals + +* test coverage improvements, documentation improvements, leak fixes + +* Bugs fixed + 326931 Better docs for G_GNUC_* + 550433 g_test_init doesn't recognize --help + 600751 GCompletion should better document if and how items memory is managed + 628193 Miscellaneous string fixes + 637460 man glib-genmarshal is hard to use + 674483 broken configure results when cross-compiling with gcc >= 4.5 + 677065 GMappedFile: Add g_mapped_file_get_bytes() + 679288 win32: use overlapped events for streams + 679556 it's hard to use gtest when g_warning() is expected + 680823 g_file_make_directory_with_parents: Fix error propagation + 681319 gtlscertificate: Add certificate-bytes and private-key-bytes props + 681336 man pages not built if --enable-gtk-doc not specified + 681413 build: Switch back to using AS_IF for conditionals + 681501 gmem: array only partially filled with memcpy + 681854 Documentation fix for Howto compile a program with glib + 682025 Documentation correction + 682067 Fix problems with CLEANFILES and automake-1.11.1 + +* Translations updated: + Lithuanian + Spanish + Galician + Telugu + Serbian + Assamese + Marathi + Indonesian + Traditional Chinese + +Overview of changes from GLib 2.33.6 to 2.33.8 +============================================== + +* GIO now has a g_file_delete_async function + +* The defaults for GThreadPools max_unused_threads + and max_idle_time values have been changed to + 2 and 15*1000, respectively. + +* Bugs fixed: + 661767 merge/improve various bits of run-in-thread functionality + 680074 undefined symbol "get_C_locale" + 680121 g_cancellable_source_new: don't use a file descriptor + 680148 gthread: check for definition of PR_SET_NAME + 680310 Sorting of access points by strengh not working + 680704 g_utf8_strup() crash + 68076a0 GFile: Add g_file_delete_async() + 680787 Add .dir-locals.el to tell Emacs users not to use tabs... + 680823 g_file_make_directory_with_parents: Fix error propagation + 680994 STATIC_ASSERT in GDBusError docs don't have much utility + 681116 gtlscertificate: Add g_tls_certificate_equal() function + 681118 gtlsdatabase: Don't complain if no callbacks for async... + 669331 try to get gio tests working a little better on win32 + 674314 Make gtk-doc not a hard dependency of GLib + 674800 gclosure: generic marshaller leaks return value + 675524 gsocket: FIONREAD undeclared (needs sys/filio.h) + 679509 use after free in g_dbus_action_group_describe_all_done() + 679996 gobject docs minor cleanup + 680459 Extra newline char in local implementation of g_applic... + 680505 object_path memory leak in gdbusobjectproxy.c + 680831 Deprecate and remove g_slice_[sg]et_config.* + 680912 gchecksum: Add g_compute_checksum_for_bytes() + 681151 checksum: Use functions instead of macros when buildin... + 681158 gtlscertificate: Don't confuse certificate and public ... + +* Translation updates: + Galician + German + Gujarati + Hebrew + Norwegian bokmål + Serbian + Slovenian + + +Overview of changes from GLib 2.33.4 to 2.33.6 +============================================== + +* GAsyncInitable: partially revert the init_finish changes, + some applications were found to rely on behaviour that + was broken by these changes + +* Bugs fixed: + 679617 win32: fix g_get_environ() + 679968 Add some annotations to GBytes, GVariantType... + 680111 GIOScheduler assumes GCancellable "cancelled... + +* Translation updates: + Spanish + +Overview of changes from GLib 2.33.3 to 2.33.4 +============================================== + +* GMainContext: the source list has been reorganzied to + avoid O(n) behaviour + +* GRegex: Update included PCRE to 8.31 and expose new + functionality in 8.x versions of PCRE + +* GMountOperation gained a ::show-unmount-progress signal + which provides information about slow unmount operations + +* Bugs fixed: + 616892 gio: Add a boxed type for GFileAttributeMatcher + 619329 g_source_attach() O(n) in number of sources + 639771 g_dir_read_name() can also return NULL on error + 661767 merge/improve various bits of run-in-thread fun... + 667375 GAsyncInitable subclassing (and async subclassi... + 671545 Constify collect and lcopy strings in GTypeValu... + 674452 SEGFAULT in gio contenttype test + 674898 Deal with GLIB_VERSION_MIN_REQUIRED/MAX_ALLOWED... + 675504 Fix up GObject interface documentation + 677064 GString: Tweak documentation, add g_string_free... + 677578 error in PCRE error code conversion + 677579 update GRegexError for newer PCRE error codes + 678066 gdbus codegen does not work with python3 + 678273 unicode othercasing is wrong in gregex + 678576 GIOScheduler performance enhancements + 678758 GTlsInteraction unlocks an unlocked mutex + 678808 GTestDBus issues + 678881 Test failures in /socket/timed_wait in some cas... + 678941 /contenttype/guess test case failure + 678944 gio returns the wrong default applications for ... + 678949 wrong definition of ulong_bool for 64 bit big e... + 678959 /mainloop/timeouts race condition: assertion fa... + 679193 update included pcre to 8.31 + 679258 The 'Since' tag for G_SOURCE_CONTINUE and G_SOU... + 679473 Don't generate invalid property names + 679691 Add g_spawn_check_exit_status() + 679671 GDBusNodeInfo: the XML string must contain exac... + 676111 mount-operation: add show-unmount-progress signal + 679691 win32: fix build g_spawn_check_exit_status() wi... + 679813 Documentation bug on http://developer.gnome.org... + +* Translation updates: + Assamese + Belarusian + Bulgarian + Galician + Greek + Norwegian bokmål + Polish + Spanish + Traditional Chinese + Vietnamese + + +Overview of changes from GLib 2.33.2 to 2.33.3 +============================================== + +This release contains mostly bugfixes, cleanups and performance +improvements (including many fixes contributed by Colin on the advice of +Coverity). There are a few notable externally-visible changes: + +* Thumbnails are now in XDG_CACHE_HOME + +* new GDBus API: per-thread g_dbus_connection_get_last_serial() + +* GUnixOutputStream now has a can_poll() implementation + +* New deep copy APIs for G(S)List: g_(s)list_copy_deep + +* Bugs fixed: + 518309 Incorrect data*dir path in glib-gettextize output + 566994 Safer passing of -framework flag + 672889 GLib.utf8_validate does segfault + 673253 Not strict enough autconf test for libelf + 675024 adds g_list_copy_deep() and g_slist_copy_deep + 675168 prepare for thumbnails to move to XDG_CACHE_HOME + 675966 gresolver: More robust parsing of DNS responses + 676594 [Patch] fix g_reload_user_special_dirs_cache + 676825 Implement g_dbus_connection_get_last_serial () + 677235 Clarify the comment at the top of gmarshal.list + 677527 OS X: gthread/spawn-async selftest failure + 677718 GDBusProxy: treat org.freedesktop.systemd1.Masked error as non-fatal + 677770 GUnixOutputStream does not implement can_poll + 677782 Install bash completion files in /usr/share + 677817 g_key_file_to_data adds extra blank lines in some cases + 677952 Missing annotation for GDBusConnection signal "closed" + 678052 g_wakeup_acknowledge is called too often. + 678273 unicode othercasing is wrong in gregex + 678333 gdbus-codegen code causes warnings under -Wfloat-equal + +* Translations updated: + Arabic + Assamese + Galecian + Greek + Spanish + Telugu + +Overview of changes from GLib 2.33.1 to 2.33.2 +============================================== + +* GLIB_VERSION_MIN_REQUIRED now defaults to the current stable version + +* GIO input and output stream classes have grown GBytes-based methods + +* GApplication now has hooks to register D-Bus objects before the bus + name is taken + +* Bugs fixed: + 605976 add g_type_ensure(), to ensure that a type has... + 660851 Breakage of code due to changes in the GThread... + 666386 Empathy doesn't open Redirect URI with particu... + 671139 need (transfer async) for io stream buffers + 672329 memory leaks in gutils.c and glib tests + 672548 g_utf8_validate: @str shouldn't end up annotat... + 674111 Provide an accessor for MimeType desktop entry... + 674483 broken configure results when cross-compiling ... + 674634 Add g_clear_pointer() + 674777 What's the (transfer) of g_variant_lookup()? + 675309 gkeyfile: Fix annotations for g_key_file_load_... + 675446 gfile: Plug memory leak in g_file_make_directo... + 675509 add extra dbus hooks + 675832 Incomplete gsettings bash auto-completion + 676208 The tmpl parameter to g_file_new_tmp can be NULL + 676265 GNetworkMonitor leaks a lot of memory + 676277 Document that g_app_info_create_from_commandli... + 676397 g_environ_* should work with NULL envp + 676398 g_spawn_* should take PATH from the passed env... + 676478 Broken gzip decoding + 676594 [Patch] fix g_reload_user_special_dirs_cache + 676816 Add more GLIB_AVAILABLE_IN_* + 676937 Document notify signal deduplication with free... + +* Translation updates: + Czech + French + German + Greek + Japanese + Russian + Slovenian + Spanish + + +Overview of changes from GLib 2.32.1 to 2.33.1 +============================================== + +* GApplication + - can now have a NULL application ID + - add accessors for determining dbus connection and object path + +* g_clear_object: fix warnings when using it on C++ (due to lack of + ability to implicitly cast void*) +* add g_clear_pointer as a generic form of g_clear_object + +* 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) + - add GTestDBus for bringing up a session bus for testing purposes + - gdbus-codegen: Avoid warnings in generated code + - GDBusAuthObserver: Add a way to control what authentication mechanisms to use + - + +* 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 + - add accessor for StartupWMClass + +* glib/tests/date: force US locale running the GDateTime tests + +* 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 + +* GResolver: add support for MX, TXT, NS and SOA records + +* GSocketControlMessage: Don't warn about unknown messages + +* GIO: + - implement GSeekable for the data and buffered stream classes + - implement GPollable for many more classes as well + - fix GConverterInputStream infinite loop when fill_buffer returns an error + - fileinfo: document the correct type for trash::orig-path + +* test coverage improvements and general fixes + +* new 2.34 stuff: version macros, docs index section, etc. + +* Build: + - add --disable-modular-tests build option + - don't require host binaries if tests are not enabled for cross-builds + +* Translations updated + Brazilian Portuguese + Bulgarian + Czech + French + Galician + German + Hebrew + Hindi + Italian + Norwegian bokmål + Polish + Russian + Russian + Serbian + Simplified Chinese + Slovenian + Spanish + Telugu + Overview of changes from GLib 2.32.0 to 2.32.1 ==============================================