| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* glib/glibmm/propertyproxy.h:
* glib/glibmm/property.h: Move the documentation about registering
properties from PropertyProxy to Property, which is the class that registers
custom properties. Add a code snippet to the documentation. Bug #523043.
|
|
|
|
|
|
|
|
| |
(bgo#737212)
* tools/pm/WrapParser.pm: when method used in _IGNORE or signal used
in _IGNORE_SIGNAL doesn't exists, there is a message posted on
stderr and also proper comment in a generated header.
|
| |
|
|
|
|
| |
Using the same uninformative deprecation message that the C API has.
|
| |
|
| |
|
|
|
|
|
| |
* MSVC_Net2010/glibmm-install.props: Fix Typo in creating path for
the *mmconfig.h headers.
|
|
|
|
|
|
|
|
|
|
|
| |
Mention that the new specialization for Stringify for const char[N] is to
avoid ambiguous constructor overloads for later versions of Visual C++.
* glib/glibmm/ustring.h: Mention in the comments for the
specialization on Stringify for const char[N] is for later
versions of Visual C++, to avoid ambiguous contructor overloads.
https://bugzilla.gnome.org/show_bug.cgi?id=736778
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a specialization for string literals in the form of const char[N]
as some compilers would take such things to have ambiguous constructor
overloads, such as Visual Studio, which take string literals in this form.
* glib/glibmm/ustring.h: Add a specialization for Stringify for
const char[N] so that ambiguous constructor overloads can be
avoided for string literals in this form.
https://bugzilla.gnome.org/show_bug.cgi?id=736778
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
/etc/fstab is a *nix only file, which would not normally exist under
Windows unless one is under Cygwin. Use the path for the Wordpad
application on Windows, which is a standard part of Windows; and use
/etc/fstab otherwise.
* tests/giomm_ioerror/main.cc:
* tests/giomm_simple/main.cc: Test for c:/windows/write.exe
(Wordpad application) on Windows, and use /etc/fstab otherwise.
https://bugzilla.gnome.org/show_bug.cgi?id=736778
https://bugzilla.gnome.org/show_bug.cgi?id=736778
|
|
|
|
|
|
|
|
|
| |
Don't generate .ilk files (incremental link files) for release builds.
* MSVC_Net2008/glibmm.vcproj:
* MSVC_Net2008/giomm.vcproj: Use optimize references for release
builds so that we don't link incrementally for release builds.
It is mainly a debug build option.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove the /vd2 compilation option, as it is no longer necessary[1], and
generate debug info (.pdb files, with little to no performance deficit),
to ease debugging release builds.
* MSVC_Net2010/glibmm.vcxproj:
* MSVC_Net2010/giomm.vcxproj: Remove /vd2 build option from the
builds, and generate .pdb files for release builds as well.
[1]: http://msdn.microsoft.com/en-us/library/7sf3txa8%28v=vs.100%29.aspx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove items from the projects that are no longer necessary to build
glibmm[1], and generate debug info (.pdb files, with little to no
performance defecit) for release builds as well. These changes also fixes
the builds of glibmm and gtkmm as the glibmm_interface_implementation test
now runs successfully, and the gtkmm demo program now starts without
crashing (although it still does crash when a window is being closed).
* MSVC_Net2008/*.vproj: Remove the build of blank.cpp and the /vd2
build options, as they are no longer needed.
* MSVC_Net2008/giomm.vcproj:
* MSVC_Net2008/glibmm.vcproj: Generate Debug Info for the Release
builds as well.
|
|
|
|
|
|
|
|
|
| |
There were some more m4-generated headers that need to be installed. Make
up for that.
* MSVC_Net2008/glibmm-install.vsprops:
* MSVC_Net2010/glibmm-install.props: "Install" the generated
headers indicated by glibmm_files_h_m4.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds an install project to the Visual Studio 2008 and 2010 projects,
which is used to install the built .dll and .lib, along with the headers
needed for glibmm and giomm, to make it easier to deploy amd use after
compilation.
* MSVC_Net2008/glibmm-install.vsprops:
* MSVC_Net2010/glibmm-install.props: New property sheets to
"install" built DLLs, LIBs and headers.
* MSVC_Net2008/install.vcproj:
* MSVC_Net2010/install.vcxproj: New projects to carry out the
"installation" process.
* MSVC_Net2008/glibmm.sln:
* MSVC_Net2010/glibmm.sln: Build the new install project
* MSVC_Net2008/filelist.am:
* MSVC_Net2010/filelist.am: Add the newly-added files for
distribution
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update the property sheets so that SIZEOF_WCHAR_T is defined as 2 when
the glibmm library is built. This ensures that the correct code path in
the ustring class is taken for Visual Studio builds, which avoids an
unhandled GLib::ConvertError exception.
* MSVC_Net2005/glibmm-build-defines.vsprops:
* MSVC_Net2008/glibmm-build-defines.vsprops:
* MSVC_Net2010/glibmm-build-defines.props: Define SIZEOF_WCHAR_T
when building glibmm so that ustring will use the correct code
path on Visual Studio builds.
|
|
|
|
|
| |
* MSVC_Net2010/filelist.am: Include the newly-added property
sheets.
|
|
|
|
|
|
|
| |
* tools/gen_scripts/h2def.py: removing inline methods body, removing
'static' and 'inline' keywords in function declaration, avoiding
double entries of the same method in generated *.def file by storing
method's names in a Set collection.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Give the Visual Studio 2005 projects, like the Visual Studio 2008 projects
in the previous commits, a much-needed overhaul and cleanup, so to ease
future maintenance, by consolidating commonly-used items into property
sheets.
* MSVC_Net2005/glibmm-build-defines.vsprops:
* MSVC_Net2005/glibmm-version-paths.vsprops: New property sheets to
consolidate commonly-used items, so that they can be referred to
from the projects and changes to them will only have to be done
here, which will greatly simplify maintenace of the projects.
* MSVC_Net2005/glibmm/glibmm.vcproj:
* MSVC_Net2005/giomm/giomm.vcproj:
and clean up by making use of the newly-added property sheets.
Update the paths accordingly. Remove unwanted/unneeded items in
them as well.
* MSVC_Net2005/examples/*/*.vcproj:
* MSVC_Net2005/tests/*/*.vcproj:
MSVC_Net2005/, and adjust the file paths in them accordingly.
Clean up by using the property sheets, and remove unwanted/
unneeded items. Remove the example_ and test_ prefixes from the
project names, and correct the source file names for the
socket-client and socket-server projects
* MSVC_Net2005/glibmm.sln: Update project names and paths
accordingly.
* MSVC_Net2005/filelist.am: Update file names and paths accordingly
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Give the Visual Studio 2010 projects, like the Visual Studio 2008 projects
in the previous commits, a much-needed overhaul and cleanup, so to ease
future maintenance, by consolidating commonly-used items into property
sheets.
* MSVC_Net2010/glibmm-build-defines.props:
* MSVC_Net2010/glibmm-version-paths.props: New property sheets to
consolidate commonly-used items, so that they can be referred to
from the projects and changes to them will only have to be done
here, which will greatly simplify maintenace of the projects.
* MSVC_Net2010/glibmm/glibmm.vcxproj:
* MSVC_Net2010/glibmm/glibmm.vcxproj.filters:
* MSVC_Net2010/giomm/giomm.vcxproj:
* MSVC_Net2010/giomm/giomm.vcxproj.filters: Move to MSVC_Net2010/,
and clean up by making use of the newly-added property sheets.
Update the paths accordingly. Remove unwanted/unneeded items in
them as well.
* MSVC_Net2010/examples/*/*.vcxproj:
* MSVC_Net2010/examples/*/*.vcxproj.filters:
* MSVC_Net2010/tests/*/*.vcxproj
* MSVC_Net2010/tests/*/*.vcxproj.filters: Move all the projects to
MSVC_Net2010/, and adjust the file paths in them accordingly.
Clean up by using the property sheets, and remove unwanted/
unneeded items. Remove the example_ and test_ prefixes from the
project names, and correct the source file names for the
socket-client and socket-server projects
* MSVC_Net2010/glibmm.sln: Update project names and paths
accordingly.
* MSVC_Net2010/filelist.am: Update file names and paths accordingly
|
|
|
|
|
|
| |
* MSVC_Net2008/glibmm-version-paths.vsprops:
* MSVC_Net2008/glibmm-build-defines.vsprops: Remove unneeded items
and move path-related item into glibmm-version-paths.vsprops
|
|
|
|
|
| |
* MSVC_Net2008/filelist.am: Change thread_pool.vcproj to
threadpool.vcproj, as that project file has been renamed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update the Visual Studio 2008 projects, and give them a cleanup, by moving
many repeated parts into property sheets. Similar changes to the Visual
Studio 2005 and 2010 project files will follow in the next few days.
* MSVC_Net2008/glibmm-version-paths.vsprops:
* MSVC_Net2008/glibmm-build-defines.vsprops: Add property sheets to
group together commonly-used items in the Visual Studio 2008
projects, like what is done in GLib.
* MSVC_Net2008/giomm/giomm.vcproj: Move to MSVC_Net2008, clean up
by using the property sheets and adjust the paths accordingly.
Also add the sources that are added to the giomm sources.
Simplify project names a bit.
* MSVC_Net2008/gendef/gendef.vcproj:
* MSVC_Net2008/glibmm/glibmm.vcproj:
* MSVC_Net2008/examples/compose/compose.vcproj:
* MSVC_Net2008/examples/dispatcher/dispatcher.vcproj:
* MSVC_Net2008/examples/dispatcher2/dispatcher2.vcproj:
* MSVC_Net2008/examples/keyfile/keyfile.vcproj:
* MSVC_Net2008/examples/markup/markup.vcproj:
* MSVC_Net2008/examples/options/options.vcproj:
* MSVC_Net2008/examples/properties/properties.vcproj:
* MSVC_Net2008/examples/regex/regex.vcproj:
* MSVC_Net2008/examples/resolver/resolver.vcproj:
* MSVC_Net2008/examples/thread/thread.vcproj:
* MSVC_Net2008/tests/glibmm_simple/glibmm_simple.vcproj:
* MSVC_Net2008/tests/giomm_simple/giomm_simple.vcproj: Move to
MSVC_Net2008/, and clean up by using the property sheets. Update
paths accordingly and simplify propject names a bit.
* MSVC_Net2008/examples/socket-client/socket-client.vcproj:
* MSVC_Net2008/examples/socket-server/socket-server.vcproj: Move to
MSVC_Net2008/, clean up by using the property sheets, and correct
the sources that are being built. Update paths accordingly too,
and simplify project names a bit.
* MSVC_Net2008/examples:
* MSVC_Net2008/tests: Remove directories as projects have been
moved to MSVC_Net2008/.
* MSVC_Net2008/filelist.am: Reflect on the movement of the project
files and also the added property sheets.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change allows developer to use custom exception handler, instead of
using Glib::exception_handlers_invoke() method. It might be useful, if
developer can't get access to a thread, where exception might appear, or
it is very difficult to register handler in this thread.
* tools/m4/signal.m4:
* tools/m4/vfunc.m4:
* tools/pm/Output.pm:
* tools/pm/WrapParser.pm: added additional parameter
to a _WRAP_VFUNC and _WRAP_SIGNAL, allowing write custom
exception handlers
|
|
|
|
|
|
|
| |
* tools/pm/Output.pm: When reordering parameters (cpp_type cpp_name{c_name}),
check that there really are C parameters with the given names.
A missing check together with a mis-spelt C parameter name can cause an
infinite loop in _WRAP_SIGNAL and _WRAP_VFUNC.
|
|
|
|
|
|
| |
* gio/src/dbusmessage.hg:
* gio/src/dbusobject.hg: Change parameter name 'interface' to 'iface',
to avoid compilation errors with MinGW. Bug #735137.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* examples/network/socket-client.cc:
* examples/network/socket-server.cc: Use Glib::OptionEntry, OptionGroup,
OptionContext instead of the glib equivalents.
|
|
|
|
|
|
| |
* examples/network/socket-client.cc:
* examples/network/socket-server.cc: Add --use-ipv6 command line option.
Bug #734094.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* gio/src/menu.hg: insert/prepend/append(): Make it possible to pass
detailed_action == 0 to the glib/gio functions. Bug #733203.
|
|
|
|
|
|
|
|
|
| |
* glib/glibmm/class.cc: Copy the default values of the interface properties
to the class's iface_properties_quark.
* glib/glibmm/property.cc: custom_set_property_callback(): Copy the
default values to object-specific data.
custom_get_property_callback(): Get object-specific value if it exists, else
class-specific default value. Bug #732746.
|
|
|
|
|
|
|
|
|
|
| |
* gio/giomm.h: Add giomm/simplepermission.h.
* gio/src/simplepermission.[hg|ccg]: New files.
* gio/src/filelist.am: Add simplepermission.hg.
* tools/extra_defs_gen/generate_defs_gio.cc: Add
G_TYPE_SIMPLE_PERMISSION (although SimplePermission has no
signals nor properties).
* See https://bugzilla.gnome.org/show_bug.cgi?id=732436
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/giomm.h: Add giomm/permission.h.
* gio/src/filelist.am: Add permission.hg.
* gio/src/gio_signals.defs: Add allowed, can-acquire, and
can-acquire properties.
* gio/src/gio_vfuncs.defs: Add vfuncs.
* gio/src/permission.[hg|ccg]: New files.
* tools/extra_defs_gen/generate_defs_gio.cc: Add
G_TYPE_PERMISSION.
* See https://bugzilla.gnome.org/show_bug.cgi?id=732436
|
|
|
|
| |
This approach is faster and recommended by GLib. Bug #731484.
|
|
|
|
|
|
|
|
|
|
|
| |
* glib/glibmm/class.[cc|h]:
* glib/glibmm/interface.cc:
* glib/glibmm/property.cc: Rename properties_quark and properties_type to
iface_properties_quark and iface_properties_type.
As custom_[set|get]_property_callback() in property.cc also sets and gets
user-defined properties, this naming choice may be confusing.
These names are intended for use by glibmm only. Renaming is not an
ABI/API break. Bug #731484.
|
| |
|
|
|
|
|
|
|
| |
* tools/pm/Function.pm: parse_param(): Allow multi-word parameter types,
as in _WRAP_METHOD(void set_button(unsigned int button = 0),
gtk_gesture_single_set_button).
Affects _WRAP_METHOD, _WRAP_SIGNAL, _WRAP_CTOR, _WRAP_CREATE, _WRAP_VFUNC.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/application.hg: Deprecate set_action_group().
* gio/src/desktopappinfo.hg: Deprecate set_desktop_env().
* gio/src/settings.[hg|ccg]: Deprecate list_schemas(), range_check() and
property_schema().
* gio/src/simpleactiongroup.hg: Define GLIB_DISABLE_DEPRECATION_WARNINGS
in the .cc file.
* gio/src/tlsconnection.hg: Deprecate [set|get]_use_system_certdb()
and property_use_system_certdb().
* gio/src/volumemonitor.hg: Deprecate adopt_orphan_mount() also in
the .cc file.
* glib/glibmm/filelist.am: Build only the glibmm_files_used.
* glib/src/filelist.am: Add glibmm_files_deprecated_hg. Move thread.hg
and valuearray.hg to it.
* glib/src/keyfile.hg: Deprecate one of the load_from_dirs() methods
also in the .cc file.
* glib/src/valuearray.hg: Deprecate the whole class Glib::ValueArray.
* tests/glibmm_valuearray/main.cc: Undefine GLIBMM_DISABLE_DEPRECATED.
|
|
|
|
|
|
|
| |
* tests/glibmm_interface_implementation/main.cc: Interface before
Glib::Object in the list of base classes. Test a custom property and
an interface with properties.
This patch is almost identical to the attachment in bug 697229 comment 14.
|
|
|
|
|
| |
* tools/pm/DocsParser.pm: A blank line after @deprecated and @newin tells
Doxygen where the accompanying text paragraph ends.
|