glib2 1.0.3-x86-mingw32 → 1.1.0-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ext/glib2/extconf.rb +1 -0
- data/ext/glib2/glib2.def +23 -0
- data/ext/glib2/rbgcompat.h +19 -5
- data/ext/glib2/rbglib.c +607 -160
- data/ext/glib2/rbglib.h +81 -26
- data/ext/glib2/rbglib2conversions.h +57 -0
- data/ext/glib2/rbglib_bookmarkfile.c +117 -107
- data/ext/glib2/rbglib_completion.c +37 -26
- data/ext/glib2/rbglib_convert.c +42 -30
- data/ext/glib2/rbglib_error.c +20 -10
- data/ext/glib2/rbglib_fileutils.c +48 -37
- data/ext/glib2/rbglib_i18n.c +24 -14
- data/ext/glib2/rbglib_int64.c +24 -16
- data/ext/glib2/rbglib_iochannel.c +146 -204
- data/ext/glib2/rbglib_iochannel_win32_socket.c +56 -0
- data/ext/glib2/rbglib_iochannelerror.c +49 -0
- data/ext/glib2/rbglib_keyfile.c +171 -182
- data/ext/glib2/rbglib_maincontext.c +107 -92
- data/ext/glib2/rbglib_mainloop.c +34 -21
- data/ext/glib2/rbglib_messages.c +53 -44
- data/ext/glib2/rbglib_pollfd.c +37 -26
- data/ext/glib2/rbglib_shell.c +29 -22
- data/ext/glib2/rbglib_shellerror.c +34 -0
- data/ext/glib2/rbglib_source.c +49 -36
- data/ext/glib2/rbglib_spawn.c +50 -61
- data/ext/glib2/rbglib_spawnerror.c +53 -0
- data/ext/glib2/rbglib_threads.c +28 -16
- data/ext/glib2/rbglib_timer.c +35 -24
- data/ext/glib2/rbglib_ucs4.c +79 -0
- data/ext/glib2/rbglib_unichar.c +209 -0
- data/ext/glib2/rbglib_unicode.c +34 -584
- data/ext/glib2/rbglib_utf16.c +78 -0
- data/ext/glib2/rbglib_utf8.c +259 -0
- data/ext/glib2/rbglib_utils.c +95 -91
- data/ext/glib2/rbglib_win32.c +52 -45
- data/ext/glib2/rbglibdeprecated.c +56 -0
- data/ext/glib2/rbglibdeprecated.h +34 -0
- data/ext/glib2/rbgobj_boxed.c +40 -33
- data/ext/glib2/rbgobj_closure.c +45 -34
- data/ext/glib2/rbgobj_convert.c +19 -9
- data/ext/glib2/rbgobj_enumflags.c +109 -0
- data/ext/glib2/rbgobj_enums.c +67 -646
- data/ext/glib2/rbgobj_flags.c +522 -0
- data/ext/glib2/rbgobj_fundamental.c +19 -6
- data/ext/glib2/rbgobj_object.c +90 -81
- data/ext/glib2/rbgobj_param.c +78 -83
- data/ext/glib2/rbgobj_paramspecs.c +20 -12
- data/ext/glib2/rbgobj_signal.c +248 -193
- data/ext/glib2/rbgobj_strv.c +20 -10
- data/ext/glib2/rbgobj_type.c +153 -149
- data/ext/glib2/rbgobj_typeinstance.c +49 -39
- data/ext/glib2/rbgobj_typeinterface.c +37 -27
- data/ext/glib2/rbgobj_typemodule.c +39 -29
- data/ext/glib2/rbgobj_typeplugin.c +36 -26
- data/ext/glib2/rbgobj_value.c +41 -11
- data/ext/glib2/rbgobj_valuearray.c +59 -23
- data/ext/glib2/rbgobj_valuetypes.c +27 -17
- data/ext/glib2/rbgobject.c +26 -40
- data/ext/glib2/rbgobject.h +38 -20
- data/ext/glib2/rbgprivate.h +87 -5
- data/ext/glib2/rbgutil.c +52 -238
- data/ext/glib2/rbgutil.h +55 -42
- data/ext/glib2/rbgutil_callback.c +47 -12
- data/ext/glib2/rbgutil_list.c +173 -0
- data/ext/glib2/rbgutil_list.h +85 -0
- data/ext/glib2/rbgutildeprecated.c +252 -0
- data/ext/glib2/rbgutildeprecated.h +63 -0
- data/lib/1.8/glib2.so +0 -0
- data/lib/1.9/glib2.so +0 -0
- data/lib/glib-mkenums.rb +2 -2
- data/lib/glib2.rb +2 -25
- data/lib/glib2/deprecatable.rb +149 -0
- data/lib/gnome2-raketask.rb +45 -15
- data/lib/gnome2-win32-binary-downloader.rb +1 -1
- data/lib/mkmf-gnome2.rb +37 -18
- data/test/test_flags.rb +129 -0
- data/test/test_key_file.rb +6 -2
- data/test/test_spawn.rb +33 -0
- data/vendor/local/bin/gdbus.exe +0 -0
- data/vendor/local/bin/gio-querymodules.exe +0 -0
- data/vendor/local/bin/glib-compile-schemas.exe +0 -0
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +2 -2
- data/vendor/local/bin/glib-mkenums +1 -1
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
- data/vendor/local/bin/libgio-2.0-0.dll +0 -0
- data/vendor/local/bin/libglib-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
- data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/etc/bash_completion.d/gdbus-bash-completion.sh +33 -0
- data/vendor/local/etc/bash_completion.d/gsettings-bash-completion.sh +67 -0
- data/vendor/local/include/gio-win32-2.0/gio/gwin32inputstream.h +79 -0
- data/vendor/local/include/gio-win32-2.0/gio/gwin32outputstream.h +78 -0
- data/vendor/local/include/glib-2.0/gio/gapplication.h +13 -7
- data/vendor/local/include/glib-2.0/gio/gioenums.h +16 -5
- data/vendor/local/include/glib-2.0/glib/gconvert.h +2 -0
- data/vendor/local/include/glib-2.0/glib/gdir.h +2 -0
- data/vendor/local/include/glib-2.0/glib/gfileutils.h +2 -0
- data/vendor/local/include/glib-2.0/glib/giochannel.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gspawn.h +2 -0
- data/vendor/local/include/glib-2.0/glib/gutils.h +6 -2
- data/vendor/local/include/glib-2.0/glib/gvarianttype.h +10 -10
- data/vendor/local/include/glib-2.0/gobject/gtype.h +1 -1
- data/vendor/local/include/glib-2.0/gobject/gvalue.h +9 -1
- data/vendor/local/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0.def +1 -0
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
- data/vendor/local/lib/gmodule-2.0.lib +0 -0
- data/vendor/local/lib/gobject-2.0.lib +0 -0
- data/vendor/local/lib/gthread-2.0.lib +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
- data/vendor/local/manifest/{glib-dev_2.28.1-1_win32.mft → glib-dev_2.28.8-1_win32.mft} +33 -20
- data/vendor/local/manifest/{glib_2.28.1-1_win32.mft → glib_2.28.8-1_win32.mft} +3 -3
- data/vendor/local/share/aclocal/gsettings.m4 +83 -0
- data/vendor/local/share/doc/{glib-2.28.1 → glib-2.28.8}/COPYING +0 -0
- data/vendor/local/share/doc/{glib-dev-2.28.1 → glib-dev-2.28.8}/COPYING +0 -0
- data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +0 -0
- data/vendor/local/share/gtk-doc/html/gio/GAction.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +115 -32
- data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +329 -312
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +95 -40
- data/vendor/local/share/gtk-doc/html/gio/GDBusError.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +6 -4
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +21 -11
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +9 -7
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +11 -4
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/application.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/async.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch26.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch27.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch28.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch28s02.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch28s03.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch28s04.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch28s05.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch28s06.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch28s07.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch29.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch29s02.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch29s03.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch29s04.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch29s05.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch29s06.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/extending.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +9 -9
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +6 -5
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +8 -8
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +8 -8
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +7 -5
- data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/icons.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/index.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/networking.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/settings.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/tls.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/tools.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/types.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/utils.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +8 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +26 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +99 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +147 -49
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +123 -94
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +52 -47
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +4 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +5 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +6 -6
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +83 -48
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +6 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +287 -52
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +19 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +17 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +16 -8
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +6 -6
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +47 -47
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +8 -8
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +49 -49
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +49 -49
- data/vendor/local/share/gtk-doc/html/glib/glib.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +35 -35
- data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +1 -0
- data/vendor/local/share/gtk-doc/html/glib/tools.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +11 -11
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +8 -3
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +5 -3
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/index.html +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +2 -2
- data/vendor/local/share/locale/af/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/gdbus.1 +249 -0
- data/vendor/local/share/man/man1/gio-querymodules.1 +44 -0
- data/vendor/local/share/man/man1/glib-compile-schemas.1 +86 -0
- data/vendor/local/share/man/man1/glib-genmarshal.1 +2 -2
- data/vendor/local/share/man/man1/glib-gettextize.1 +80 -0
- data/vendor/local/share/man/man1/glib-mkenums.1 +2 -2
- data/vendor/local/share/man/man1/gobject-query.1 +2 -2
- data/vendor/local/share/man/man1/gsettings.1 +153 -0
- data/vendor/local/src/dieterv/packaging/glib_2.28.8-1_win32.log +2919 -0
- data/vendor/local/src/dieterv/packaging/glib_2.28.8-1_win32.sh +157 -0
- metadata +45 -13
- data/ChangeLog +0 -3513
- data/vendor/local/src/tml/packaging/glib_2.28.1-1_win32.log +0 -2775
- data/vendor/local/src/tml/packaging/glib_2.28.1-1_win32.sh +0 -62
@@ -0,0 +1,34 @@
|
|
1
|
+
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
|
2
|
+
/*
|
3
|
+
* Copyright (C) 2011 Ruby-GNOME2 Project Team
|
4
|
+
* Copyright (C) 2005 Masao Mutoh
|
5
|
+
*
|
6
|
+
* This library is free software; you can redistribute it and/or
|
7
|
+
* modify it under the terms of the GNU Lesser General Public
|
8
|
+
* License as published by the Free Software Foundation; either
|
9
|
+
* version 2.1 of the License, or (at your option) any later version.
|
10
|
+
*
|
11
|
+
* This library is distributed in the hope that it will be useful,
|
12
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
14
|
+
* Lesser General Public License for more details.
|
15
|
+
*
|
16
|
+
* You should have received a copy of the GNU Lesser General Public
|
17
|
+
* License along with this library; if not, write to the Free Software
|
18
|
+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
19
|
+
* MA 02110-1301 USA
|
20
|
+
*/
|
21
|
+
|
22
|
+
#include "rbgprivate.h"
|
23
|
+
|
24
|
+
#define RG_TARGET_NAMESPACE cShellError
|
25
|
+
|
26
|
+
void
|
27
|
+
Init_glib_shellerror(void)
|
28
|
+
{
|
29
|
+
VALUE RG_TARGET_NAMESPACE = G_DEF_ERROR2(G_SHELL_ERROR, "ShellError", mGLib, rb_eRuntimeError);
|
30
|
+
|
31
|
+
rb_define_const(RG_TARGET_NAMESPACE, "BAD_QUOTING", INT2FIX(G_SHELL_ERROR_BAD_QUOTING));
|
32
|
+
rb_define_const(RG_TARGET_NAMESPACE, "EMPTY_STRING", INT2FIX(G_SHELL_ERROR_EMPTY_STRING));
|
33
|
+
rb_define_const(RG_TARGET_NAMESPACE, "FAILED", INT2FIX(G_SHELL_ERROR_FAILED));
|
34
|
+
}
|
data/ext/glib2/rbglib_source.c
CHANGED
@@ -1,19 +1,30 @@
|
|
1
1
|
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
2
|
+
/*
|
3
|
+
* Copyright (C) 2011 Ruby-GNOME2 Project Team
|
4
|
+
* Copyright (C) 2005 Masao Mutoh
|
5
|
+
*
|
6
|
+
* This library is free software; you can redistribute it and/or
|
7
|
+
* modify it under the terms of the GNU Lesser General Public
|
8
|
+
* License as published by the Free Software Foundation; either
|
9
|
+
* version 2.1 of the License, or (at your option) any later version.
|
10
|
+
*
|
11
|
+
* This library is distributed in the hope that it will be useful,
|
12
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
14
|
+
* Lesser General Public License for more details.
|
15
|
+
*
|
16
|
+
* You should have received a copy of the GNU Lesser General Public
|
17
|
+
* License along with this library; if not, write to the Free Software
|
18
|
+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
19
|
+
* MA 02110-1301 USA
|
20
|
+
*/
|
11
21
|
|
12
22
|
#include "rbgprivate.h"
|
13
23
|
|
14
24
|
static ID id_call;
|
15
25
|
|
16
26
|
/*****************************************/
|
27
|
+
#if !GLIB_CHECK_VERSION(2,30,0)
|
17
28
|
static void
|
18
29
|
source_free(GSource *source)
|
19
30
|
{
|
@@ -31,8 +42,10 @@ g_source_get_type(void)
|
|
31
42
|
(GBoxedFreeFunc)source_free);
|
32
43
|
return our_type;
|
33
44
|
}
|
45
|
+
#endif
|
34
46
|
/*****************************************/
|
35
47
|
|
48
|
+
#define RG_TARGET_NAMESPACE cSource
|
36
49
|
#define _SELF(s) ((GSource*)RVAL2BOXED(s, G_TYPE_SOURCE))
|
37
50
|
|
38
51
|
/*
|
@@ -41,7 +54,7 @@ GSource* g_source_new (GSourceFuncs *source_funcs,
|
|
41
54
|
*/
|
42
55
|
|
43
56
|
static VALUE
|
44
|
-
|
57
|
+
rg_attach(VALUE self, VALUE context)
|
45
58
|
{
|
46
59
|
return UINT2NUM(g_source_attach(_SELF(self),
|
47
60
|
RVAL2BOXED(context, G_TYPE_MAIN_CONTEXT)));
|
@@ -49,46 +62,46 @@ source_attach(VALUE self, VALUE context)
|
|
49
62
|
|
50
63
|
#if GLIB_CHECK_VERSION(2,12,0)
|
51
64
|
static VALUE
|
52
|
-
|
65
|
+
rg_destroyed_p(VALUE self)
|
53
66
|
{
|
54
67
|
return CBOOL2RVAL(g_source_is_destroyed(_SELF(self)));
|
55
68
|
}
|
56
69
|
#endif
|
57
70
|
|
58
71
|
static VALUE
|
59
|
-
|
72
|
+
rg_set_priority(VALUE self, VALUE priority)
|
60
73
|
{
|
61
74
|
g_source_set_priority(_SELF(self), NUM2INT(priority));
|
62
75
|
return self;
|
63
76
|
}
|
64
77
|
|
65
78
|
static VALUE
|
66
|
-
|
79
|
+
rg_priority(VALUE self)
|
67
80
|
{
|
68
81
|
return INT2NUM(g_source_get_priority(_SELF(self)));
|
69
82
|
}
|
70
83
|
|
71
84
|
static VALUE
|
72
|
-
|
85
|
+
rg_set_can_recurse(VALUE self, VALUE can_recurse)
|
73
86
|
{
|
74
87
|
g_source_set_can_recurse(_SELF(self), RVAL2CBOOL(can_recurse));
|
75
88
|
return self;
|
76
89
|
}
|
77
90
|
|
78
91
|
static VALUE
|
79
|
-
|
92
|
+
rg_can_recurse_p(VALUE self)
|
80
93
|
{
|
81
94
|
return CBOOL2RVAL(g_source_get_can_recurse(_SELF(self)));
|
82
95
|
}
|
83
96
|
|
84
97
|
static VALUE
|
85
|
-
|
98
|
+
rg_id(VALUE self)
|
86
99
|
{
|
87
100
|
return UINT2NUM(g_source_get_id(_SELF(self)));
|
88
101
|
}
|
89
102
|
|
90
103
|
static VALUE
|
91
|
-
|
104
|
+
rg_context(VALUE self)
|
92
105
|
{
|
93
106
|
GMainContext* context = g_source_get_context(_SELF(self));
|
94
107
|
return BOXED2RVAL(context, G_TYPE_MAIN_CONTEXT);
|
@@ -101,7 +114,7 @@ source_func(gpointer func)
|
|
101
114
|
}
|
102
115
|
|
103
116
|
static VALUE
|
104
|
-
|
117
|
+
rg_set_callback(VALUE self)
|
105
118
|
{
|
106
119
|
VALUE func = rb_block_proc();
|
107
120
|
G_RELATIVE(self, func);
|
@@ -119,21 +132,21 @@ void g_source_set_callback_indirect (GSource *source,
|
|
119
132
|
*/
|
120
133
|
|
121
134
|
static VALUE
|
122
|
-
|
135
|
+
rg_add_poll(VALUE self, VALUE fd)
|
123
136
|
{
|
124
137
|
g_source_add_poll(_SELF(self), RVAL2BOXED(fd, G_TYPE_POLL_FD));
|
125
138
|
return self;
|
126
139
|
}
|
127
140
|
|
128
141
|
static VALUE
|
129
|
-
|
142
|
+
rg_remove_poll(VALUE self, VALUE fd)
|
130
143
|
{
|
131
144
|
g_source_remove_poll(_SELF(self), RVAL2BOXED(fd, G_TYPE_POLL_FD));
|
132
145
|
return self;
|
133
146
|
}
|
134
147
|
|
135
148
|
static VALUE
|
136
|
-
|
149
|
+
rg_current_time(VALUE self)
|
137
150
|
{
|
138
151
|
GTimeVal timeval;
|
139
152
|
g_source_get_current_time(_SELF(self), &timeval);
|
@@ -149,28 +162,28 @@ gboolean g_source_remove_by_user_data (gpointer user_data);
|
|
149
162
|
*/
|
150
163
|
|
151
164
|
void
|
152
|
-
Init_glib_source()
|
165
|
+
Init_glib_source(void)
|
153
166
|
{
|
154
|
-
VALUE
|
167
|
+
VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(G_TYPE_SOURCE, "Source", mGLib);
|
155
168
|
|
156
169
|
id_call = rb_intern("call");
|
157
170
|
|
158
|
-
|
171
|
+
RG_DEF_METHOD(attach, 1);
|
159
172
|
#if GLIB_CHECK_VERSION(2,12,0)
|
160
|
-
|
173
|
+
RG_DEF_METHOD_P(destroyed, 0);
|
161
174
|
#endif
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
175
|
+
RG_DEF_METHOD(set_priority, 1);
|
176
|
+
RG_DEF_METHOD(priority, 0);
|
177
|
+
RG_DEF_METHOD(set_can_recurse, 1);
|
178
|
+
RG_DEF_METHOD_P(can_recurse, 0);
|
179
|
+
RG_DEF_METHOD(id, 0);
|
180
|
+
RG_DEF_METHOD(context, 0);
|
181
|
+
RG_DEF_METHOD(set_callback, 0);
|
182
|
+
RG_DEF_METHOD(add_poll, 1);
|
183
|
+
RG_DEF_METHOD(remove_poll, 1);
|
184
|
+
RG_DEF_METHOD(current_time, 0);
|
172
185
|
|
173
186
|
/* GLib::Source.remove is moved to rbglib_maincontext.c */
|
174
187
|
|
175
|
-
G_DEF_SETTERS(
|
188
|
+
G_DEF_SETTERS(RG_TARGET_NAMESPACE);
|
176
189
|
}
|
data/ext/glib2/rbglib_spawn.c
CHANGED
@@ -1,18 +1,30 @@
|
|
1
1
|
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
|
2
|
-
|
2
|
+
/*
|
3
|
+
* Copyright (C) 2011 Ruby-GNOME2 Project Team
|
4
|
+
* Copyright (C) 2004 Masao Mutoh
|
5
|
+
* Copyright (C) 2004 Kazuhiro NISHIYAMA
|
6
|
+
*
|
7
|
+
* This library is free software; you can redistribute it and/or
|
8
|
+
* modify it under the terms of the GNU Lesser General Public
|
9
|
+
* License as published by the Free Software Foundation; either
|
10
|
+
* version 2.1 of the License, or (at your option) any later version.
|
11
|
+
*
|
12
|
+
* This library is distributed in the hope that it will be useful,
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
15
|
+
* Lesser General Public License for more details.
|
16
|
+
*
|
17
|
+
* You should have received a copy of the GNU Lesser General Public
|
18
|
+
* License along with this library; if not, write to the Free Software
|
19
|
+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
20
|
+
* MA 02110-1301 USA
|
21
|
+
*/
|
3
22
|
|
4
|
-
rbglib_spawn.c -
|
5
|
-
|
6
|
-
$Author: sakai $
|
7
|
-
$Date: 2007/07/08 02:40:12 $
|
8
|
-
|
9
|
-
Copyright (C) 2004 Masao Mutoh
|
10
|
-
Copyright (C) 2004 Kazuhiro NISHIYAMA
|
11
|
-
|
12
|
-
**********************************************************************/
|
13
23
|
#include "rbgprivate.h"
|
14
24
|
#include "rbglib.h"
|
15
25
|
|
26
|
+
#define RG_TARGET_NAMESPACE mSpawn
|
27
|
+
|
16
28
|
static ID id_call;
|
17
29
|
static ID id_new;
|
18
30
|
|
@@ -25,7 +37,7 @@ child_setup(gpointer func)
|
|
25
37
|
}
|
26
38
|
|
27
39
|
static VALUE
|
28
|
-
|
40
|
+
rg_m_async_with_pipes(VALUE self, VALUE working_directory, VALUE argv, VALUE envp, VALUE flags)
|
29
41
|
{
|
30
42
|
GError *err = NULL;
|
31
43
|
gboolean ret;
|
@@ -41,8 +53,8 @@ rbglib_m_spawn_async_with_pipes(VALUE self, VALUE working_directory, VALUE argv,
|
|
41
53
|
}
|
42
54
|
|
43
55
|
gargv = (gchar **)RVAL2STRV(argv);
|
44
|
-
genvp = (gchar **)
|
45
|
-
ret = g_spawn_async_with_pipes(
|
56
|
+
genvp = (gchar **)RVAL2STRV_ACCEPT_NIL(envp);
|
57
|
+
ret = g_spawn_async_with_pipes(RVAL2CSTR_ACCEPT_NIL(working_directory),
|
46
58
|
gargv, genvp, NUM2INT(flags),
|
47
59
|
(GSpawnChildSetupFunc)child_setup,
|
48
60
|
(gpointer)func,
|
@@ -53,7 +65,7 @@ rbglib_m_spawn_async_with_pipes(VALUE self, VALUE working_directory, VALUE argv,
|
|
53
65
|
g_free(genvp);
|
54
66
|
if (!ret)
|
55
67
|
RAISE_GERROR(err);
|
56
|
-
|
68
|
+
|
57
69
|
return rb_ary_new3(4, INT2NUM((gint)child_pid),
|
58
70
|
rb_funcall(rb_cIO, id_new, 1, INT2NUM(standard_input)),
|
59
71
|
rb_funcall(rb_cIO, id_new, 1, INT2NUM(standard_output)),
|
@@ -61,7 +73,7 @@ rbglib_m_spawn_async_with_pipes(VALUE self, VALUE working_directory, VALUE argv,
|
|
61
73
|
}
|
62
74
|
|
63
75
|
static VALUE
|
64
|
-
|
76
|
+
rg_m_async(VALUE self, VALUE working_directory, VALUE argv, VALUE envp, VALUE flags)
|
65
77
|
{
|
66
78
|
GError *err = NULL;
|
67
79
|
gboolean ret;
|
@@ -76,8 +88,8 @@ rbglib_m_spawn_async(VALUE self, VALUE working_directory, VALUE argv, VALUE envp
|
|
76
88
|
}
|
77
89
|
|
78
90
|
gargv = (gchar **)RVAL2STRV(argv);
|
79
|
-
genvp = (gchar **)
|
80
|
-
ret = g_spawn_async(
|
91
|
+
genvp = (gchar **)RVAL2STRV_ACCEPT_NIL(envp);
|
92
|
+
ret = g_spawn_async(RVAL2CSTR_ACCEPT_NIL(working_directory),
|
81
93
|
gargv, genvp, NUM2INT(flags),
|
82
94
|
(GSpawnChildSetupFunc)child_setup, (gpointer)func,
|
83
95
|
&child_pid, &err);
|
@@ -90,7 +102,7 @@ rbglib_m_spawn_async(VALUE self, VALUE working_directory, VALUE argv, VALUE envp
|
|
90
102
|
}
|
91
103
|
|
92
104
|
static VALUE
|
93
|
-
|
105
|
+
rg_m_sync(VALUE self, VALUE working_directory, VALUE argv, VALUE envp, VALUE flags)
|
94
106
|
{
|
95
107
|
GError *err = NULL;
|
96
108
|
gboolean ret;
|
@@ -107,8 +119,8 @@ rbglib_m_spawn_sync(VALUE self, VALUE working_directory, VALUE argv, VALUE envp,
|
|
107
119
|
}
|
108
120
|
|
109
121
|
gargv = (gchar **)RVAL2STRV(argv);
|
110
|
-
genvp = (gchar **)
|
111
|
-
ret = g_spawn_sync(
|
122
|
+
genvp = (gchar **)RVAL2STRV_ACCEPT_NIL(envp);
|
123
|
+
ret = g_spawn_sync(RVAL2CSTR_ACCEPT_NIL(working_directory),
|
112
124
|
gargv, genvp, NUM2INT(flags),
|
113
125
|
(GSpawnChildSetupFunc)child_setup, (gpointer)func,
|
114
126
|
&standard_output, &standard_error,
|
@@ -141,7 +153,7 @@ rbglib_m_spawn_sync(VALUE self, VALUE working_directory, VALUE argv, VALUE envp,
|
|
141
153
|
}
|
142
154
|
|
143
155
|
static VALUE
|
144
|
-
|
156
|
+
rg_m_command_line_sync(G_GNUC_UNUSED VALUE self, VALUE str)
|
145
157
|
{
|
146
158
|
GError *err = NULL;
|
147
159
|
const gchar *command_line;
|
@@ -178,7 +190,7 @@ rbglib_m_spawn_command_line_sync(VALUE self, VALUE str)
|
|
178
190
|
}
|
179
191
|
|
180
192
|
static VALUE
|
181
|
-
|
193
|
+
rg_m_command_line_async(G_GNUC_UNUSED VALUE self, VALUE str)
|
182
194
|
{
|
183
195
|
GError *err = NULL;
|
184
196
|
const gchar *command_line;
|
@@ -197,7 +209,7 @@ rbglib_m_spawn_command_line_async(VALUE self, VALUE str)
|
|
197
209
|
#define RVAL2GPID(value) ((GPid)NUM2INT(pid))
|
198
210
|
|
199
211
|
static VALUE
|
200
|
-
|
212
|
+
rg_m_close_pid(VALUE self, VALUE pid)
|
201
213
|
{
|
202
214
|
g_spawn_close_pid(RVAL2GPID(pid));
|
203
215
|
return Qnil;
|
@@ -206,51 +218,28 @@ rbglib_m_spawn_close_pid(VALUE self, VALUE pid)
|
|
206
218
|
#endif
|
207
219
|
|
208
220
|
void
|
209
|
-
Init_glib_spawn()
|
221
|
+
Init_glib_spawn(void)
|
210
222
|
{
|
211
|
-
VALUE
|
212
|
-
VALUE cSpawnError = G_DEF_ERROR2(G_SPAWN_ERROR, "SpawnError", mGLib, rb_eIOError);
|
223
|
+
VALUE RG_TARGET_NAMESPACE = rb_define_module_under(mGLib, "Spawn");
|
213
224
|
|
214
225
|
id_call = rb_intern("call");
|
215
226
|
id_new = rb_intern("new");
|
216
227
|
|
217
228
|
/* glib/gspawn.h */
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
229
|
+
RG_DEF_MODFUNC(async_with_pipes, 4);
|
230
|
+
RG_DEF_MODFUNC(async, 4);
|
231
|
+
RG_DEF_MODFUNC(sync, 4);
|
232
|
+
RG_DEF_MODFUNC(command_line_sync, 1);
|
233
|
+
RG_DEF_MODFUNC(command_line_async, 1);
|
223
234
|
#ifdef HAVE_G_SPAWN_CLOSE_PID
|
224
|
-
|
235
|
+
RG_DEF_MODFUNC(close_pid, 1);
|
225
236
|
#endif
|
226
237
|
|
227
|
-
rb_define_const(
|
228
|
-
rb_define_const(
|
229
|
-
rb_define_const(
|
230
|
-
rb_define_const(
|
231
|
-
rb_define_const(
|
232
|
-
rb_define_const(
|
233
|
-
rb_define_const(
|
234
|
-
|
235
|
-
rb_define_const(cSpawnError, "FORK", INT2NUM(G_SPAWN_ERROR_FORK));
|
236
|
-
rb_define_const(cSpawnError, "READ", INT2NUM(G_SPAWN_ERROR_READ));
|
237
|
-
rb_define_const(cSpawnError, "CHDIR", INT2NUM(G_SPAWN_ERROR_CHDIR));
|
238
|
-
rb_define_const(cSpawnError, "EACCES", INT2NUM(G_SPAWN_ERROR_ACCES));
|
239
|
-
rb_define_const(cSpawnError, "EPERM", INT2NUM(G_SPAWN_ERROR_PERM));
|
240
|
-
rb_define_const(cSpawnError, "E2BIG", INT2NUM(G_SPAWN_ERROR_2BIG));
|
241
|
-
rb_define_const(cSpawnError, "ENOEXEC", INT2NUM(G_SPAWN_ERROR_NOEXEC));
|
242
|
-
rb_define_const(cSpawnError, "ENAMETOOLONG", INT2NUM(G_SPAWN_ERROR_NAMETOOLONG));
|
243
|
-
rb_define_const(cSpawnError, "ENOENT", INT2NUM(G_SPAWN_ERROR_NOENT));
|
244
|
-
rb_define_const(cSpawnError, "ENOMEM", INT2NUM(G_SPAWN_ERROR_NOMEM));
|
245
|
-
rb_define_const(cSpawnError, "ENOTDIR", INT2NUM(G_SPAWN_ERROR_NOTDIR));
|
246
|
-
rb_define_const(cSpawnError, "ELOOP", INT2NUM(G_SPAWN_ERROR_LOOP));
|
247
|
-
rb_define_const(cSpawnError, "ETXTBUSY", INT2NUM(G_SPAWN_ERROR_TXTBUSY));
|
248
|
-
rb_define_const(cSpawnError, "EIO", INT2NUM(G_SPAWN_ERROR_IO));
|
249
|
-
rb_define_const(cSpawnError, "ENFILE", INT2NUM(G_SPAWN_ERROR_NFILE));
|
250
|
-
rb_define_const(cSpawnError, "EMFILE", INT2NUM(G_SPAWN_ERROR_MFILE));
|
251
|
-
rb_define_const(cSpawnError, "EINVAL", INT2NUM(G_SPAWN_ERROR_INVAL));
|
252
|
-
rb_define_const(cSpawnError, "EISDIR", INT2NUM(G_SPAWN_ERROR_ISDIR));
|
253
|
-
rb_define_const(cSpawnError, "ELIBBAD", INT2NUM(G_SPAWN_ERROR_LIBBAD));
|
254
|
-
rb_define_const(cSpawnError, "FAILED", INT2NUM(G_SPAWN_ERROR_FAILED));
|
255
|
-
|
238
|
+
rb_define_const(RG_TARGET_NAMESPACE, "LEAVE_DESCRIPTORS_OPEN", INT2NUM(G_SPAWN_LEAVE_DESCRIPTORS_OPEN));
|
239
|
+
rb_define_const(RG_TARGET_NAMESPACE, "DO_NOT_REAP_CHILD", INT2NUM(G_SPAWN_DO_NOT_REAP_CHILD));
|
240
|
+
rb_define_const(RG_TARGET_NAMESPACE, "SEARCH_PATH", INT2NUM(G_SPAWN_SEARCH_PATH));
|
241
|
+
rb_define_const(RG_TARGET_NAMESPACE, "STDOUT_TO_DEV_NULL", INT2NUM(G_SPAWN_STDOUT_TO_DEV_NULL));
|
242
|
+
rb_define_const(RG_TARGET_NAMESPACE, "STDERR_TO_DEV_NULL", INT2NUM(G_SPAWN_STDERR_TO_DEV_NULL));
|
243
|
+
rb_define_const(RG_TARGET_NAMESPACE, "CHILD_INHERITS_STDIN", INT2NUM(G_SPAWN_CHILD_INHERITS_STDIN));
|
244
|
+
rb_define_const(RG_TARGET_NAMESPACE, "FILE_AND_ARGV_ZERO", INT2NUM(G_SPAWN_FILE_AND_ARGV_ZERO));
|
256
245
|
}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
|
2
|
+
/*
|
3
|
+
* Copyright (C) 2011 Ruby-GNOME2 Project Team
|
4
|
+
* Copyright (C) 2004 Masao Mutoh
|
5
|
+
* Copyright (C) 2004 Kazuhiro NISHIYAMA
|
6
|
+
*
|
7
|
+
* This library is free software; you can redistribute it and/or
|
8
|
+
* modify it under the terms of the GNU Lesser General Public
|
9
|
+
* License as published by the Free Software Foundation; either
|
10
|
+
* version 2.1 of the License, or (at your option) any later version.
|
11
|
+
*
|
12
|
+
* This library is distributed in the hope that it will be useful,
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
15
|
+
* Lesser General Public License for more details.
|
16
|
+
*
|
17
|
+
* You should have received a copy of the GNU Lesser General Public
|
18
|
+
* License along with this library; if not, write to the Free Software
|
19
|
+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
20
|
+
* MA 02110-1301 USA
|
21
|
+
*/
|
22
|
+
|
23
|
+
#include "rbgprivate.h"
|
24
|
+
#include "rbglib.h"
|
25
|
+
|
26
|
+
#define RG_TARGET_NAMESPACE cSpawnError
|
27
|
+
|
28
|
+
void
|
29
|
+
Init_glib_spawnerror(void)
|
30
|
+
{
|
31
|
+
VALUE RG_TARGET_NAMESPACE = G_DEF_ERROR2(G_SPAWN_ERROR, "SpawnError", mGLib, rb_eIOError);
|
32
|
+
|
33
|
+
rb_define_const(RG_TARGET_NAMESPACE, "FORK", INT2NUM(G_SPAWN_ERROR_FORK));
|
34
|
+
rb_define_const(RG_TARGET_NAMESPACE, "READ", INT2NUM(G_SPAWN_ERROR_READ));
|
35
|
+
rb_define_const(RG_TARGET_NAMESPACE, "CHDIR", INT2NUM(G_SPAWN_ERROR_CHDIR));
|
36
|
+
rb_define_const(RG_TARGET_NAMESPACE, "EACCES", INT2NUM(G_SPAWN_ERROR_ACCES));
|
37
|
+
rb_define_const(RG_TARGET_NAMESPACE, "EPERM", INT2NUM(G_SPAWN_ERROR_PERM));
|
38
|
+
rb_define_const(RG_TARGET_NAMESPACE, "E2BIG", INT2NUM(G_SPAWN_ERROR_2BIG));
|
39
|
+
rb_define_const(RG_TARGET_NAMESPACE, "ENOEXEC", INT2NUM(G_SPAWN_ERROR_NOEXEC));
|
40
|
+
rb_define_const(RG_TARGET_NAMESPACE, "ENAMETOOLONG", INT2NUM(G_SPAWN_ERROR_NAMETOOLONG));
|
41
|
+
rb_define_const(RG_TARGET_NAMESPACE, "ENOENT", INT2NUM(G_SPAWN_ERROR_NOENT));
|
42
|
+
rb_define_const(RG_TARGET_NAMESPACE, "ENOMEM", INT2NUM(G_SPAWN_ERROR_NOMEM));
|
43
|
+
rb_define_const(RG_TARGET_NAMESPACE, "ENOTDIR", INT2NUM(G_SPAWN_ERROR_NOTDIR));
|
44
|
+
rb_define_const(RG_TARGET_NAMESPACE, "ELOOP", INT2NUM(G_SPAWN_ERROR_LOOP));
|
45
|
+
rb_define_const(RG_TARGET_NAMESPACE, "ETXTBUSY", INT2NUM(G_SPAWN_ERROR_TXTBUSY));
|
46
|
+
rb_define_const(RG_TARGET_NAMESPACE, "EIO", INT2NUM(G_SPAWN_ERROR_IO));
|
47
|
+
rb_define_const(RG_TARGET_NAMESPACE, "ENFILE", INT2NUM(G_SPAWN_ERROR_NFILE));
|
48
|
+
rb_define_const(RG_TARGET_NAMESPACE, "EMFILE", INT2NUM(G_SPAWN_ERROR_MFILE));
|
49
|
+
rb_define_const(RG_TARGET_NAMESPACE, "EINVAL", INT2NUM(G_SPAWN_ERROR_INVAL));
|
50
|
+
rb_define_const(RG_TARGET_NAMESPACE, "EISDIR", INT2NUM(G_SPAWN_ERROR_ISDIR));
|
51
|
+
rb_define_const(RG_TARGET_NAMESPACE, "ELIBBAD", INT2NUM(G_SPAWN_ERROR_LIBBAD));
|
52
|
+
rb_define_const(RG_TARGET_NAMESPACE, "FAILED", INT2NUM(G_SPAWN_ERROR_FAILED));
|
53
|
+
}
|