| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
As per Kjell's suggestions, make things more future-proof by marking all
_WRAP_ENUM()'s with 'decl_prefix GLIBMM_API'.
|
|
|
|
|
|
| |
This prepares for us to export symbols using compiler directives, so that we
can eventually retire gendef.exe. This also makes the scripts place GLIBMM_API
as appropriate for the generated Glib:Error classes and the wrap() method.
|
|
|
|
| |
No need to hand-code member functions that set a text string.
|
|
|
|
| |
Bug 786824
|
|
|
|
| |
It's changed from a plain enum to a scoped enum.
|
| |
|
|
|
|
|
|
| |
These don't have much in common with each other.
Like most of our move operations, they are completely untested,
though they could be.
|
|
|
|
|
|
|
|
|
| |
* glib/src/optioncontext.hg: Add class overview documentation
based on the C documentation, but reworded to match our C++ API.
This should now provide some clue about where to start other
than with our (well hidden) example code.
* glib/src/optiongroup.hg: Add documentation for the add_entry*()
methods.
|
|
|
|
|
|
|
| |
* gio/giomm/*.[h|cc]:
* gio/src/*.[hg|ccg]:
* glib/glibmm/*.[h|cc]:
* glib/src/*.[hg|ccg]: Strip trailing whitespace. Bug #681072.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/applicationcommandline.hg: Change a _CONVERSION (due to the
exclusion of gio_others.defs).
* gio/src/dbusintrospection.hg:
* gio/src/fileinfo.hg: Add _IGNORE.
* gio/src/fileiostream.hg:
* gio/src/fileoutputstream.hg: Correct an _IGNORE.
* gio/src/gio.defs: Don't include gio_others.defs. One of its entries is
wrong and all of them also exist (in correct form) in gio_methods.defs or
gio_signals.defs.
* glib/src/convert.hg:
* glib/src/regex.hg: Add _IGNORE.
* glib/src/date.hg:
* glib/src/fileutils.hg:
* glib/src/markup.hg:
* glib/src/optionentry.hg:
* glib/src/shell.hg:
* glib/src/spawn.hg:
* glib/src/thread.hg:
* glib/src/threads.hg:
* glib/src/unicode.hg:
* glib/src/uriutils.hg: Remove _IGNORE(g_iconv).
* glib/src/variantiter.hg: Add an _IGNORE. Remove _IGNORE(g_variant_iter_new).
|
|
|
|
| |
*.[hg|ccg]: Remove uselless Subversion tags.
|
|
|
|
|
|
|
|
|
|
|
| |
* glib/src/optiongroup.[hg|ccg]: Add add_entry() and add_entry_filename()
that take a slot. Add protected option_arg_callback().
An exception thrown by on_pre_parse() or on_post_parse() is propagated
to the error argument of g_callback_pre_parse() or post_parse_callback().
* glib/src/optionentry.hg: Add description of set_flags().
* examples/options/main.cc: Add more OptionEntries and callback functions
for parsing command option values.
Bug 589197 (Hubert Figuiere)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* glib/src/date.hg:
* glib/src/fileutils.hg:
* glib/src/markup.hg:
* glib/src/optionentry.hg:
* glib/src/shell.hg:
* glib/src/spawn.hg:
* glib/src/thread.hg:
* glib/src/unicode.hg:
* glib/src/uriutils.hg: For some reason, gmmproc thinks that g_iconv
should be wrapped in these files so include _IGNORE's so that it is
clear what has not been wrapped yet.
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-11 Murray Cumming <murrayc@murrayc.com>
* glib/src/optionentry.ccg:
* glib/src/optionentry.hg: Hand-code set_description(),
set_arg_description() and set_long_name(), to free any existing string,
to maybe fix a (possible) leak found by valgrind.
svn path=/trunk/; revision=651
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-27 Murray Cumming <murrayc@murrayc.com>
* gio/src/fileattribute.ccg:
* gio/src/fileattribute.hg: Split into
* gio/src/fileattributeinfo.ccg:
* gio/src/fileattributeinfo.hg: and
* gio/src/fileattributeinfolist.ccg:
* gio/src/fileattributeinfolist.hg
* gio/giomm.h:
* gio/src/Makefile_list_of_hg.am_fragment:
* gio/src/file.hg:
* gio/src/fileinfo.hg:
* gio/src/outputstream.hg:
* gio/src/seekable.hg:
* glib/src/optionentry.hg: Adapted.
* tools/pm/DocsParser.pm: substitute_identifiers():
Tried (unsuccessfully) to remove G:: prefixes in generated documentation.
svn path=/trunk/; revision=545
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-21 Murray Cumming <murrayc@localhost.localdomain>
* configure.in, scripts/cxx.m4, glibmm/glibmmconfig.h.in: Added new
compiler tests.
1. To see whether it allows use of non extern C functions
as extern C callbacks, because the Tru64 compiler does not
allow this, when using strict_ansi. We do not actually use this yet.
2. To see whether it allows us to define a template that uses an
undefined type, even if we do not use it before defining the type.
Tru64 does not allow this. That's probably correct.
* glib/glibmm/container.h: #ifdef out a dynamic_cast that Tru64
does not allow, and which I can not think of a better place to put.
See the comment in the code.
* glib/glibmm/containerhandler_helpers.h: When the compiler does not
alllow the GObject and GtkObject (dynamic_cast of) specializations
here, then put them in glib/glibmm/object.h and
gtkmm/gtk/src/object.hg instead.- needed by Tru64 compiler.
* glib/glibmm/value.h, value_custom.[h|cc]: Conditionally moved
the RefPtr Value specialization into object.h, as above.
* glib/src/ optiongroup.ccg, spawn.ccg, thread.ccg: Make C callacks
separate extern C.
* glib/src/optiongroup.ccg: Do not use the StringArrayHandle,
because the Tru64 compiler has problems with it - see comments
in code.
* glib/src/optionentry.hg: Remove the include of value.h, because
it is not used and it causes a Tru64 compile error in
optioncontext.cc because its templates are included before the
types that the template uses.
2005-01-19 Murray Cumming <murrayc@murrayc.com>
* configure.in, scripts/cxx.m4, glibmm/glibmmconfig.h.in: Added a
compiler test, because the IRIX MipsPro compiler does not allow the
inline initialization of ustring::npos.
* glib/glibmm/ustring.[h|cc]: When the compiler does not support the
inline initialization of npos, initialize it in the .cc file.
Declare partial specializations of the SequenceString inner class
inside the class - needed by IRIX MipsPro compiler.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-20 Murray Cumming <murrayc@murrayc.com>
* glib/src/iochannel.[hg|ccg], markup.[hg|ccg], optiongroup.ccg,
spawn.ccg, thread.ccg:
Make C callacks
separate extern C functions instead of static member functions, to
satisfy the IRIX MipsPro compiler. Unfortunately this means that
we export some private API.
* glib/src/optionentry.hg: Remove the include of value.h, because
it is not used and it causes a MipsPro compile error in
optioncontext.cc because its templates are included before the
types that the template uses.
* glib/src/optiongroup.ccg: Do not use the StringArrayHandle,
because the MipsPro compiler has problems with it - see comments
in code.
* configure.in, scripts/cxx.m4, glibmm/glibmmconfig.h.in: Added a
compiler test, because the IRIX MipsPro compiler does not allow us
to define a template that uses an undefined type, even if we do not
use it before defining the type. That's probably correct.
* glib/glibmm/containerhandler_helpers.h: When the compiler does not
alllow the GObject and GtkObject (dynamic_cast of) specializations
here, then put them in glib/glibmm/object.h and
gtkmm/gtk/src/object.hg instead.- needed by MipsPro (IRIX) compiler..
|
|
|
|
|
|
|
|
| |
2005-01-10 Murray Cumming <murrayc@murrayc.com>
* glibmm/src/optiongroup.[hg|ccg]: Added a castitem constructor
that always takes ownership, needed by Gtk::Main. Added the new
FLAG_REVERSE flag value. Added reference documentation.
|
|
|
|
|
|
|
|
| |
2005-01-09 Murray Cumming <murrayc@murrayc.com>
* glib/src/optionentry.[hg|cc]: Add add_entry(entry, bool&), to wrap
use of G_OPTION_ARG_NONE. Bug #163325 from Daniel Holbach.
* examples/options/main.cc: Use the new add_entry() overload.
|
|
|
|
|
|
|
| |
2004-11-21 Murray Cumming <murrayc@murrayc.com>
* glib/src/optionentry.[hg|ccg]: Removed OptionEntry enum and
set_arg_data(), because they are not needed any more.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-10-26 Murray Cumming <murrayc@murrayc.com>
* glib/src/optionentry.hg: Remove accessors for arg and arg_data.
* glib/src/optiongroup.[hg|ccg]: add_entry(): Remove arg_type parameter
and instead add overrides which take specific C++ value types.
Add CppOptionEntry inner class to hold information about each entry
and its dynamically allocated C value.
Add map_entries_ map to store them, so we can iterate over them during
post_parse.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-10-01 Murray Cumming <murrayc@murrayc.com>
* glib/src/option*.[hg|ccg], examples/options/main.cc: Rethought the
structure now that I see how the parts work together. Rearranged the
example to show how the parsing can fill values in member variables
of a derived OptionGroup class. However, 1. it crashes now, 2. we need
extra code to map the GOption C types to suitable C++ types, probably
by doing pre and post parsing to create temporary C types for the C++
types.
|
|
|
|
|
|
|
|
| |
2004-09-27 Murray Cumming <murrayc@murrayc.com>
* glib/src/option*.[hg|ccg]: Wrapped more methods, but I have still not
finished.
* examples/options/: Started an example.
|
|
2004-09-26 Murray Cumming <murrayc@murrayc.com>
* glib/src/glib_functions.defs: Regenerated with h2defs.py
* glib/src/: Added optionentry.[hg|ccg], optiongroup.[hg|ccg],
optioncontext.[hg|ccg].
|