summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2.58.12.58.1glibmm-2-58Kjell Ahlstedt2019-03-172-2/+17
|
* Add few installation instructionsTapasweni Pathak2019-01-201-0/+8
|
* Gio::Settings: Fix typo in deprecation noticeDaniel Boles2019-01-081-1/+1
|
* Revert "Gio: Remove NO_GTYPE from some _WRAP_ENUMs"Kjell Ahlstedt2019-01-089-10/+17
| | | | | | This reverts commit 17e3b167900b95986babeb8fcabd335881ea4d53. The reverted commit added new ABI. It must not be added to the glibmm-2-58 branch.
* Gio: Remove NO_GTYPE from some _WRAP_ENUMsKjell Ahlstedt2019-01-079-17/+10
| | | | | | NO_GTYPE can't be used in _WRAP_ENUM if the enum is used in _WRAP_PROPERTY. The error is noticed only during execution of code that calls the generated property_*() method. Fixes #37
* gmmproc: _WRAP_ENUM and _WRAP_GERROR: Add gtype_func parameterKjell Ahlstedt2019-01-074-24/+40
| | | | | | The M4 macro _GET_TYPE_FUNC() does not generate correct function names for GDBus* enums. This fix makes it possible to specify the function name in the call to _WRAP_ENUM or _WRAP_GERROR. See issue #37
* tools/gen_scripts: Update for non-source-dir builds of glibmm-2.4Kjell Ahlstedt2019-01-031-3/+2
| | | | | jhbuild/modulesets/gnome-suites-core-deps-latest.modules has been changed to allow jhbuild to build glibmm-2.4 with builddir != sourcedir.
* tools/gen_scripts/init_generate.sh: glibmm -> glibmm-2.4Kjell Ahlstedt2018-12-281-10/+10
| | | | | init_generate.sh was too quickly copied from the master branch. glibmm-2.4 shall use its own scripts and extra_defs_gen files.
* docextract_to_xml.py: Add --exclude-file optionKjell Ahlstedt2018-12-282-20/+27
| | | | | | | | * tools/defs_gen/docextract.py: * tools/defs_gen/docextract_to_xml.py: Add -x or --exclude-file option. Useful when generating gio_docs.xml or (in gtkmm-3) gtk_docs.xml. Remove the -d and -o options, which have been accepted, but have done nothing.
* tools/gen_scripts: Update for non-source-dir buildsKjell Ahlstedt2018-12-2810-113/+132
| | | | | | | | | Most modules (e.g. glib) can be built in a directory separated from the source directory. Update the scripts that generate .defs and doc.xml files to handle that. See gtkmm!11. The environment variable JHBUILD_SOURCES is not used any more. Instead the environment variables GMMPROC_GEN_SOURCE_DIR and GMMPROC_GEN_BUILD_DIR are read. See comments in init_generate.sh.
* gio/src/filelist.am: Remove giomm_files_[hg|ccg]Kjell Ahlstedt2018-12-201-6/+0
| | | | | They are defined also in gio/src/filelist.gmake.am. They should have been removed from filelist.am when filelist.gmake.am was created.
* stringutils: Don't use @retval here eitherDaniel Boles2018-12-171-1/+1
| | | | | as pointed out by Kjell: https://gitlab.gnome.org/GNOME/gtkmm/merge_requests/9#note_389406
* Merge branch 'wip/dboles/retval-to-param-out-stable' into 'glibmm-2-58'Daniel Boles2018-12-172-8/+8
|\ | | | | | | | | fileutils|IOChannel: Don’t use @retval on out args [stable] See merge request GNOME/glibmm!7
| * fileutils|IOChannel: Don’t use @retval on out argsDaniel Boles2018-12-162-8/+8
|/ | | | | | | | | | as it is for documenting particular values of the return variable. Replace @retval with @param[out], and while here, reorder some arguments in doc comments to match the order they have in function argument lists. See https://gitlab.gnome.org/GNOME/gtkmm/merge_requests/9 for more disussion on the rationale for this.
* Gio::TlsConnection: Disable deprecation warnings from glibKjell Ahlstedt2018-12-062-2/+22
| | | | | | g_tls_connection_[set,get]_rehandshake_mode() have been deprecated in glib/gio. They can't be deprecated in the stable glibmm-2-58 branch now. This patch makes it possible to build glibmm-2.58.x against the newest glib.
* 2.58.02.58.0Kjell Ahlstedt2018-10-312-1/+6
|
* 2.56.12.56.1glibmm-2-56Kjell Ahlstedt2018-10-312-1/+21
|
* Add tools/gen_scripts/generate_all.shKjell Ahlstedt2018-10-311-0/+13
|
* Merge branch 'glibmm-2-56.nmake' into 'glibmm-2-56'Kjell Ahlstedt2018-10-3069-5558/+853
|\ | | | | | | | | Glibmm 2 56.nmake See merge request GNOME/glibmm!5
| * Update .gitignoreChun-wei Fan2018-10-291-3/+3
| | | | | | | | The Visual Studio build files are now in MSVC_NMake, not MSVC_201x.
| * Update build instructions in README.win32Chun-wei Fan2018-10-291-14/+25
| | | | | | | | | | Let people know how Visual Studio builds are now done via NMake Makefiles, and the various build options available.
| * build: Remove Visual Studio 2015 projectsChun-wei Fan2018-10-2941-5464/+0
| | | | | | | | Remove them as they have been superseded by the NMake Makefiles.
| * build: Add NMake MakefilesChun-wei Fan2018-10-2911-48/+776
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a set of NMake Makefiles that can be used to build glibmm with Visual Studio 2015 or later (2013 is not supported as it does not have enough C++-11 support). These NMake Makefiles are now dist'ed instead of the Visual Studio 2015 projects as it is intended that the NMake Makefiles will replace the Visual Studio projects, for maintenance reasons. Note that for the C++11 versions of glibmm, we name the DLLs and LIBs in the form of <library>-vc140-2_4.[dll|lib] or <library>-vc140-d-2_4.[dll|lib] since for both Visual Studio 2015 and 2017 builds as they both link to the Visual Studio v140 C/C++ runtimes.
| * build: Split out automake-specific items from filelist.am'sChun-wei Fan2018-10-2910-20/+40
| | | | | | | | | | This will prepare the filelist.am's to be also usable with the NMake Makefiles, so that they can be shared with the autotools build files.
| * builds: Rename MSVC_Net2015 as MSVC_NMakeChun-wei Fan2018-10-2947-8/+8
|/ | | | | This is to prepare the transition the Visual Studio build files into NMake Makefiles.
* tools/test_scripts/testheaders.sh: Fix a directory testKjell Ahlstedt2018-10-261-1/+1
|
* AsyncResult: Fix grammar error, <tt>ify enumeratorDaniel Boles2018-10-071-1/+1
| | | | | This was not a grammar error before C++ification! But let’s fix it anyway, and give the enumeration name some nice formatting as well.
* Avoid compiler warnings from function pointer conversionsKjell Ahlstedt2018-08-315-31/+32
| | | | | | | | | | | | | | gcc8 -Wextra prints a warning when a single reinterpret_cast is used for conversion between different types of function pointers. The previous fix with a union in Glib::bitwise_equivalent_cast<>() is not standard C++. Rename the function to Glib::function_pointer_cast<>(), and use two reinterpret_casts as recommended in gcc's documentation. * glib/src/optiongroup.ccg: Use a reinterpret_cast to convert from a function pointer to void*. That's possible now. It's "conditionally supported", starting with C++11. See https://github.com/libsigcplusplus/libsigcplusplus/issues/8
* MSVC builds: Ensure we build variantdbusstring.ccChun-wei Fan2018-08-293-0/+5
| | | | | ...this was an added source file that ought to be included. Also ensure that the corresponding header gets "installed".
* MSVC builds: Require Visual Studio 2015Chun-wei Fan2018-08-2948-92/+92
| | | | | | It was since 2.50.1 when we actually needed C++-11 features beyond what Visual Studio 2013 supports, so bump the required Visual Studio version to 2015, so that things will continue to build.
* configure.ac: Require glib-2.0 >= 2.55.1Kjell Ahlstedt2018-07-181-2/+2
| | | | | | and update the bug report address in AC_INIT. Fixes #29
* Avoid compiler warnings from function pointer conversionsKjell Ahlstedt2018-07-175-13/+29
| | | | | | | | | | | | gcc8 -Wextra prints a warning when reinterpret_cast is used for conversion between different types of function pointers. Avoid that by adding Glib::bitwise_equivalent_cast<>() with a union with members of the two types of function pointers. * glib/src/optiongroup.ccg: Use Glib::bitwise_equivalent_cast<>() to convert from a function pointer to void*. See https://github.com/libsigcplusplus/libsigcplusplus/issues/1
* Revert "Avoid compiler warnings from function pointer conversions"Kjell Ahlstedt2018-07-173-52/+8
| | | | | | This reverts commit 5d953603f30f0452cb9da35e3083a3fc145c3f57. This can be done in a better way by keeping the union in a template function.
* Avoid compiler warnings from function pointer conversionsKjell Ahlstedt2018-07-133-8/+52
| | | | | | | | gcc8 -Wextra prints a warning when reinterpret_cast is used for conversion between different types of function pointers. Avoid that by instead using a union with members of the two types of function pointers. See https://github.com/libsigcplusplus/libsigcplusplus/issues/1
* Glib::MainContext: g_main_context_wait() is deprecatedKjell Ahlstedt2018-07-052-12/+12
| | | | | * glib/glibmm/main.cc: Add G_GNUC_[BEGIN|END]_IGNORE_DEPRECATIONS. * glib/glibmm/main.h: Update the description of MainContext::wait().
* SocketClient: Take copy in RefPtrs for signal argsDaniel Boles2018-07-021-2/+2
| | | | | | | Without doing so, the C++ arguments take ownership of the C GObjects passed to the handler, so both go out of scope on exiting the handler. https://gitlab.gnome.org/GNOME/glibmm/issues/28
* AsyncResult: Bin obsolete docs re: initing GThreadDaniel Boles2018-05-201-3/+0
| | | | | | | | As the GLib Threads documentation states: “Since version 2.32, the GLib threading system is automatically initialized at the start of your program, and all thread-creation functions and synchronization primitives are available right away.”
* ustring: Fix wchar conversion on macOS with libc++Clemens Lang2018-04-261-3/+3
| | | | | | | | | | | | | | libc++ internally represents std::wstrings in UCS-4 just like libstdc++, but does not set the __STDC_ISO_10646__ define. This caused the code to fall back to calling iconv with the WCHAR_T source character set, which does not correctly convert these strings and leads to errors, for example in inkscape on startup. See https://trac.macports.org/ticket/56214 for an instance of such a problem. Re-use the UCS4 to UTF8 conversion code when libc++ is detected, which solves this. Bug 795338
* 2.56.02.56.0Kjell Ahlstedt2018-03-312-1/+45
|
* Gio::DesktopAppInfo: Add get_locale_string()Kjell Ahlstedt2018-03-291-1/+2
|
* Gio::Application: Add set_option_context_*()Kjell Ahlstedt2018-03-291-0/+4
| | | | | Add set_option_context_parameter_string(), set_option_context_summary(), set_option_context_description().
* Gio::Application: Add property_resource_base_path_string()Kjell Ahlstedt2018-03-212-6/+35
| | | | | | | property_resource_base_path() has the wrong return type, bool instead of std::string. It can't be fixed without breaking API/ABI. For now, deprecate property_resource_base_path() and add hand-coded property_resource_base_path_string() with the correct type. Bug 787496
* Glib::RefPtr: Add get()Kjell Ahlstedt2018-03-212-2/+19
| | | | Analogous to std::shared_ptr::get(). Bug 495762
* Glib::Module: Remove obsolete _IGNORE() directivesKjell Ahlstedt2018-03-201-2/+1
|
* Gio::AppInfo: Change some parameter namesKjell Ahlstedt2018-03-202-19/+19
|
* Gio::DataInputStream: Deprecate read_until() and friendsKjell Ahlstedt2018-03-202-13/+16
| | | | | Deprecate read_until(), read_until_async() and read_until_finish(). The corresponding glib functions have been deprecated.
* Gio::TlsClientConnection: Deprecate set/get/property_use_ssl3()Kjell Ahlstedt2018-03-201-10/+5
| | | | The corresponding glib functions have been deprecated.
* Glib, Gio: Regenerate docs.xml and .defs filesKjell Ahlstedt2018-03-2011-765/+4264
| | | | | | * tools/extra_defs_gen/generate_defs_gio.cc: Add an initial call to get_defs(G_TYPE_APPLICATION) to make sure the first call to get_defs() requests info on a GObject, not a GInterface.
* member.m4: Add _MEMBER_SET_STR, setter for stringsPavlo Solntsev2018-03-021-0/+21
| | | | | Introduce a macro to generate appropriate setter for a structure which has gchar* as a member. Bug 793778
* Gio::DataInputStream: Disable deprecation warnings from glibKjell Ahlstedt2018-02-152-3/+6
| | | | | | | g_data_input_stream_read_until(), _read_until_async() and _read_until_finish() have been deprecated in glib/gio. They can't be deprecated in the stable glibmm-2-54 branch now. This patch makes it possible to build glibmm-2.54.x against the newest glib.