glib/gobject
Philip Withnall 7b52ccbfc4 Revert "gio, glib: Use G_OS_DARWIN for code that is for such environments"
This reverts commit 476e33c3f3.

We’ve decided to remove `G_OS_DARWIN` in favour of recommending people
use `__APPLE__` instead. As per the discussion on #2802 and linked
issues,
 * Adding a new define shifts the complexity from “which of these
   platform-provided defines do I use” to “which platform-provided
   defines does G_OS_DARWIN use”
 * There should ideally be no cases where a user of GLib has to use
   their own platform-specific code, since GLib should be providing
   appropriate abstractions
 * Providing a single `G_OS_DARWIN` to cover all Apple products (macOS
   and iOS) hides the complexity of what the user is actually testing:
   are they testing for the Mach kernel, the Carbon and/or Cocoa user
   space toolkits, macOS vs iOS vs tvOS, etc

Helps: #2802
2022-11-07 11:30:32 +00:00
..
tests custom-dispatch: Change SPDX-License-Identifier to match license grant 2022-11-02 12:35:45 +00:00
gatomicarray.c Merge branch 'more-atomic-ops' into 'main' 2022-07-23 11:35:08 +00:00
gatomicarray.h Add SPDX license headers for LGPL-2.1-or-later to various files 2022-06-01 12:44:23 +01:00
gbinding.c gbinding: Explicitly ignore return values from g_param_value_validate() 2022-10-18 15:12:31 +01:00
gbinding.h Rename all visibility macros 2022-10-13 20:53:56 -04:00
gbindinggroup.c gobject: add GBindingGroup 2022-01-28 16:01:22 -08:00
gbindinggroup.h Rename all visibility macros 2022-10-13 20:53:56 -04:00
gboxed.c gboxed: Add GBookmarkFile as Boxed types 2022-10-14 16:40:56 +01:00
gboxed.h Rename all visibility macros 2022-10-13 20:53:56 -04:00
gclosure.c Replace all uses of G_VA_COPY with Standard C va_copy 2022-10-26 18:07:55 +01:00
gclosure.h Rename all visibility macros 2022-10-13 20:53:56 -04:00
genums.c Add SPDX license headers for LGPL-2.1-or-later to various files 2022-06-01 12:44:23 +01:00
genums.h Rename all visibility macros 2022-10-13 20:53:56 -04:00
glib-enumtypes.c.template Fix a Unicode typo 2021-07-29 10:09:27 -04:00
glib-enumtypes.h.template Rename all visibility macros 2022-10-13 20:53:56 -04:00
glib-genmarshal.in Replace all uses of G_VA_COPY with Standard C va_copy 2022-10-26 18:07:55 +01:00
glib-mkenums.in glib-mkenums: Specify output encoding as UTF-8 explicitly for non-English locale 2022-08-16 04:53:34 +09:00
glib-types.h gboxed: Add GBookmarkFile as Boxed types 2022-10-14 16:40:56 +01:00
gmarshal.c Replace all uses of G_VA_COPY with Standard C va_copy 2022-10-26 18:07:55 +01:00
gmarshal.h Rename all visibility macros 2022-10-13 20:53:56 -04:00
gobject_gdb.py py: Various flake8 cleanups 2020-11-17 15:50:07 +00:00
gobject_probes.d Add missing semicolons to gobject_probes.d 2012-10-15 19:48:44 -04:00
gobject_trace.h Add SPDX license headers for LGPL-2.1-or-later to various files 2022-06-01 12:44:23 +01:00
gobject-autocleanups.h Add SPDX license headers for LGPL-2.1-or-later to various files 2022-06-01 12:44:23 +01:00
gobject-query.c Merge branch 'more-spdx' into 'main' 2022-07-05 11:06:49 +00:00
gobject.c gobject: Only emit deprecation warnings for user-specified properties 2022-09-21 10:27:55 +01:00
gobject.h Rename all visibility macros 2022-10-13 20:53:56 -04:00
gobject.rc.in meson: build Windows resource files 2018-01-04 22:19:30 +01:00
gobject.stp.in glib: Namespace global tapset variables by soname 2016-11-23 10:50:39 +00:00
gobjectnotifyqueue.c Replace most GObject warnings with criticals 2022-08-09 13:18:47 -05:00
gparam.c Merge branch 'mcatanzaro/gtype-criticals' into 'main' 2022-09-19 14:35:12 +00:00
gparam.h Rename all visibility macros 2022-10-13 20:53:56 -04:00
gparamspecs.c Empty values are not valid GParamSpec 2022-09-25 14:20:24 +01:00
gparamspecs.h Rename all visibility macros 2022-10-13 20:53:56 -04:00
gsignal.c Merge branch 'mcatanzaro/gtype-criticals' into 'main' 2022-09-19 14:35:12 +00:00
gsignal.h Rename all visibility macros 2022-10-13 20:53:56 -04:00
gsignalgroup.c gobject/gsignalgroup: fix memory leaks on error 2022-05-17 17:34:06 +02:00
gsignalgroup.h Rename all visibility macros 2022-10-13 20:53:56 -04:00
gsourceclosure.c Add SPDX license headers for LGPL-2.1-or-later to various files 2022-06-01 12:44:23 +01:00
gsourceclosure.h Rename all visibility macros 2022-10-13 20:53:56 -04:00
gtype-private.h Merge branch 'more-spdx' into 'main' 2022-07-05 11:06:49 +00:00
gtype.c Fix function name typo in comment of gtype.c 2022-10-26 10:17:39 +08:00
gtype.h Revert "gio, glib: Use G_OS_DARWIN for code that is for such environments" 2022-11-07 11:30:32 +00:00
gtypemodule.c Replace most GObject warnings with criticals 2022-08-09 13:18:47 -05:00
gtypemodule.h Rename all visibility macros 2022-10-13 20:53:56 -04:00
gtypeplugin.c Add SPDX license headers for LGPL-2.1-or-later to various files 2022-06-01 12:44:23 +01:00
gtypeplugin.h Rename all visibility macros 2022-10-13 20:53:56 -04:00
gvalue.c Replace most GObject warnings with criticals 2022-08-09 13:18:47 -05:00
gvalue.h Rename all visibility macros 2022-10-13 20:53:56 -04:00
gvaluearray.c Add SPDX license headers for LGPL-2.1-or-later to various files 2022-06-01 12:44:23 +01:00
gvaluearray.h Rename all visibility macros 2022-10-13 20:53:56 -04:00
gvaluecollector.h Add SPDX license headers for LGPL-2.1-or-later to various files 2022-06-01 12:44:23 +01:00
gvaluetransform.c Add SPDX license headers for LGPL-2.1-or-later to various files 2022-06-01 12:44:23 +01:00
gvaluetypes.c gobject: Always ref-sink variants in g_object_set 2022-10-24 10:47:35 +01:00
gvaluetypes.h Rename all visibility macros 2022-10-13 20:53:56 -04:00
libgobject-gdb.py.in Rename gdb macros with _gdb suffix to avoid ns clashes 2016-05-23 10:52:10 -04:00
meson.build meson: Expose library build type as global variables 2022-10-31 14:08:31 +01:00