| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* glib/glibmm/miscutils.cc: Return early from get_system_data_dirs()
and get_system_config_dirs() when C function returns NULL.
|
|
|
|
|
| |
Extended build_filename() to accept up to nine parameters.
Added a new testcase in tests/glibmm_buildfilename.
|
|
|
|
|
|
|
|
| |
* glib/glibmm/miscutils.[h|cc]: Wrappping g_get_system_data_dirs() and
g_get_system_config_dirs(), which were actually added in glib 2.6 but
not noticed by us until now.
Notice that these return std::vector<> instead of ArrayHandle, because we
have decided to do that for new APIs.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
2009-01-20 Deng Xiyue <manphiz@gmail.com>
* Change license header to mention Lesser General Public License
version 2.1 instead of Library General Public License, to be
consistent with COPYING.
svn path=/trunk/; revision=779
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-06-22 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/main.cc:
* glib/glibmm/main.h: Added SignalTimeout::connect_seconds()
as an equivalent for g_timeout_add_seconds() and took the improved
documentation from glib.
* glib/glibmm/miscutils.cc:
* glib/glibmm/miscutils.h: Added get_user_special_dir(), though we
should maybe wrap the enum.
Reimplemented many of the functions with the
convert_return_gchar_ptr_to_stdstring() and
convert_const_gchar_ptr_to_stdstring() functions to simplify them
and make them handle NULLs properly.
svn path=/trunk/; revision=420
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* glib/glibmm/miscutils.cc: Clean up the code a bit.
(get_application_name): Remove the code that checked the string for
valid UTF-8, and attempted conversion if not valid. I must have
been on crack when I wrote this, as the combination of conditions
that would cause the string to be invalid UTF-8 is quite unlikely.
If this is a valid concern at all, it should be filed as a GLib bug
and not worked around in glibmm.
(build_filename(const std::string&, const std::string&)): Just call
the plain g_build_filename() instead of building a temporary array
and passing that via ArrayHandle to the build_filename() overload
for containers.
(build_path): Remove the already deactivated custom implementation
from the time before g_build_pathv() was added to GLib.
* glib/glibmm/object.{cc,h}: Improve/fix a couple of comments.
(ConstructParams::ConstructParams): Add G_GNUC_NULL_TERMINATED
function attribute to make the compiler complain if the variadic
argument list is not terminated by a NULL pointer.
* glib/glibmm/ustring.{cc,h} (utf8_find_last_of): Avoid applying
bitwise logical operators directly to (possibly signed) operands
of char type. In order to avoid relying on implementation-defined
behavior, make sure that the operands are of unsigned integer type.
(ustring::is_ascii): Likewise,
(ustring_Iterator<T>::operator--): Likewise.
(get_unichar_from_std_iterator): De-obfuscate this highly optimized
piece of code, as the current stable release of GCC (4.1.2-pre on
my system) generates better assembler output without the voodoo.
svn path=/trunk/; revision=369
|
|
|
|
|
|
|
|
|
|
| |
2006-09-05 Jonathon Jongsma <jonathon.jongsma@gmail.com>
* docs/reference/Makefile.am: rebuild docs when a .h files changes in
glib/glibmm
* glib/glibmm/miscutils.cc:
* glib/glibmm/miscutils.h: wrap g_get_user_data_dir(),
g_get_user_config_dir(), and g_get_user_cache_dir()
|
| |
|
|
|
|
|
|
|
|
|
|
| |
2005-06-07 Cedric Gustin <cedric.gustin@swing.be>
* glib/glibmm/miscutils.cc: In get_home_dir, return an empty
string when HOME is not defined (Win9x). Bug #306310 from Michael
Hofmann.
* glib/glibmm/miscutils.h: Updated docstring for the get_home_dir
method.
|
|
|
|
|
|
|
|
|
| |
2005-01-09 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/misc_utils.[h|cc]: Added setenv() and unsetenv(),
wrapping new functions added in glib 2.4.
* glib/src/convert.[hg|ccg]: Added filename_display_name() and
filename_display_basename().
|
| |
|
|
|