Updated FSF's address
[platform/upstream/glib.git] / NEWS
diff --git a/NEWS b/NEWS
index f0e2277..3c3ea68 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,301 @@
+Overview of changes from GLib 2.39.2 to GLib 2.39.3
+===================================================
+
+No major changes this release -- mostly lots of small fixes and
+improvements in test coverage.
+
+ * 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
+
+Bugs fixed
+ 141251  poll(2) is in <poll.h>, not <sys/poll.h> per SUS standard
+ 613732  [PATCH] gobject.py: Don't install frame filters when GDB does not support them
+ 708212  g_variant_parser_error_get_quark() has unexpected name.
+ 710965  GApplication: add --gapplication-service switch
+ 711090  periodic failure of spawn-multithreaded async testcase
+ 712171  gsettings.m4: @GSETTINGS_RULES@: Support srcdir != builddir with nonrecursive make
+ 712630  Revert "gsettings m4: check for .xml in src/builddir"
+ 715028  GVariant: add way to print context of parse errors
+ 719344  Fix the various test programs (or GLib itself) on Windows
+ 720263  gtestutils: skipping a test should count as success, not failure
+ 720539  gdbus-codegen: Fix crasher in goa-using apps
+ 720635  Make gdb pretty-printers compatible with Python3
+ 720891  g_settings_get_child does not inherit the backend
+ 721034  glib 2.38.2 cannot be compiled with SunStudio Compiler under Solaris
+ 721059  g_subprocess_launcher_set_environ vs "environ"
+ 721074  kqueue: deadlock
+ 721087  Missing -lselinux in pkg-config --libs --static gio-2.0
+ 721324  Error message is printed to stdout
+ 721624  Regression in GTest framework reorders existing test cases
+ 721625  backwards NEWS entry about g_source_remove change
+ 721796  insufficient escaping in g_dbus_annotation_info_generate_xml()
+ 721947  Improve GApplication ⇔ GOptionContext compatibility 
+
+Translations updated:
+ Brazilian Portuguese
+ Galician
+ Greek
+ Hebrew
+
+Overview of changes from GLib 2.39.1 to GLib 2.39.2
+===================================================
+
+* 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
+
+* Bugs fixed:
+ 113075 support "nonnull" attribute
+ 159528 g_ptr_array_remove_range()
+ 307947 The check for growing stack pointer in configure can fail
+ 607016 docs should mention property notification order
+ 671557 Fun with integers and g_key_file_load_from_data()
+ 676761 don't use g_critical for a runtime error
+ 690525 g_file_replace_contents_async doesn't copy its @conten...
+ 691608 Support compilation with clang 3.2
+ 697585 g_variant_builder_add's doc example is leaking
+ 697828 g_hash_table_add() should return a boolean
+ 702862 gdbus-codegen : look for deps in default install path
+ 703522 Reference leak in GvariantBuilder documentation
+ 705902 g_get_current_dir() should check PWD env var and retur...
+ 708274 Added GObject Introspection annotations to genums.c
+ 710519 Portability schmortability
+ 710741 some mainloop instrumentation
+ 710983 Test failures on powerpc
+ 711047 Enable the build of the various test programs on Windo...
+ 711051 Add basic test for the GNotification gtk backend
+ 711088 gbacktrace: Don't close stderr when running gdb
+ 711103 gmessages: Add g_info macro for G_LOG_LEVEL_INFO
+ 711178 appinfo test problems
+ 711546 utf8: report allocation error
+ 711640 gdesktopappinfo: Rank Keywords matches higher than Gen...
+ 711751 Fix memory leaks in libglib tests
+ 711753 gthread-posix: Don't use gslice allocated GRecMutex
+ 711796 glib-tap.mk: fix to actually use the TAP driver
+ 711800 fix g_test_set_nonfatal_assertions()
+ 711801 giomodule: Allow overriding source directory gio modul...
+ 711805 gdbus-connection: Fix race condition in test
+ 711806 gtestdbus: Don't destroy GSource twice
+ 711807 gtestdbus: Properly close server connections
+ 711871 Broken and misleading configure check for growing stack
+ 712136 'O_CLOEXEC' undeclared (first use in this function)
+ 712148 Add system bus support to GTestDBus
+ 712171 gsettings.m4: @GSETTINGS_RULES@: Support srcdir != bui...
+ 712314 AIX port: splice(); major()/minor(); libtool library order
+ 712315 GSettings: More docs for deprecated _list_schemas()
+ 712393 gobject: Box GMappedFile
+ 712547 GSocketClient "event" not useful for determining resol...
+ 715164 Clang static analysis fixes
+ 719395 GPtrArray add g_ptr_array_insert
+ 719402 Crashes when startup
+ 719472 leak in generated proxy-side property-setter
+ 719687 fix or remove g_trap_object_ref
+ 719809 Signal connection ids are always > 0 if successful
+ 719837 gdbus-connection: Work around race in connection tests
+ 719884 Fix documentation typos in GTask and GCancellable examples
+ 719979 g_settings_get: check validity of format string
+ 720080 Truncating a GMemoryOutputStream to a larger size cause...
+ 720210 gdataset: Remove unused define
+ 720236 Allow clean simple use of g_test_trap_subprocess() 
+
+* Translations updates:
+ Italian
+ Lithuanian
+ Simplified Chinese
+ Spanish
+
+
+Overview of changes from GLib 2.39.0 to GLib 2.39.1
+====================================================
+
+ * 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
+
+Translations updated:
+ Assamese
+ Galician
+ Greek
+ Spanish
+ Tamil
+
+Bugs fixed:
+ 635641 schema compiler should ignore unknown attributes
+ 637257 g_tls_client_connection_gnutls_retrieve_function needs to be able to block
+ 637956 GKeyfileSettingsBackend should ignore file deletions
+ 645453 keys from base schema missing from extended schema
+ 665634 g_dbus_node_info_new_for_xml() errors on unknown attributes in XML files
+ 668232 Unable to get description and summary for a key
+ 668233 Unable to determine if a key is set to the default / what the default value is
+ 680838 Need g_settings_schema_source_get_schemas()
+ 683017 API for accessing GSettings Schema metadata
+ 687185 org.gtk.Actions.Describe doesn't return an error for non-existing action names
+ 687202 If trashing fails, the ".trashinfo" file is not removed
+ 695558 The --schemadir option has no effect
+ 696424 GSimpleAction.state property is not right
+ 697348 GTestDBus should unset DBUS_STARTER_ADDRESS, DBUS_STARTER_BUS_TYPE
+ 710133 Emit backward compatible code with gdbus-codegen
+ 710691 glib-networking: locking during implicit handshake
+ 710738 GRand has lame fallback for Windows
+ 710859 Typo in gio docs
+ 710885 Two fixes for GApplication
+ 710962 error: 'F_DUPFD_CLOEXEC' undeclared (first use in this function)
+ 710964 Add g_hash_table_get_key_array()
+ 710991 test: g_debug messages shouldn't affect g_assert_expected_messages
+ 711016 g_settings_list_keys () segfaults for empty schemas
+ 711048 glocalfileinputstream.c allows skip past end of file
+ 711049 Fix build of GLib-GIO 2.39.x on Windows/MSVC
+ 711064 Adding child source to blocked source can cause a segfault
+ 711070 Copying a symlink over another one segfaults
+ 711099 gapplication test failure
+ 711520 GDesktopAppInfo: allow more than one level of legacy folder prefixes
+ 711556 Add GAppInfoMonitor
+ 711557 Add g_desktop_app_info_search()
+ 711600 trivial portability fix
+ 711632 The desktop-app-info test fails during make check
+ 711754 gmain: Fix use of uninitialized memory in sigaction structure
+ 711755 private: Use threading primitives correctly in private test
+ 711756 gthreadpool: Don't pass bad data to GThreadPool sorter
+ 711768 Fix memory leaks in libgmodule tests
+ 711775 utils: Don't free memory owned by glib in test
+ 711782 boxed: Fix double free in boxed unit tests
+ 711803 gsubprocess: Fix a number of leaks and a segfault
+ 711808 gtestdbus: Fix leak of GMainLoop 
+
 Overview of changes from GLib 2.38.0 to GLib 2.39.0
 ====================================================
 
@@ -117,7 +415,7 @@ Overview of changes from GLib 2.38.0 to GLib 2.39.0
 
    - fix handling of overflowing the 'next source id' counter
 
-   - g_source_remove() will not throw a critical in the case that you
+   - 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