summaryrefslogtreecommitdiff
path: root/tools/gmmproc.in
Commit message (Collapse)AuthorAgeFilesLines
* Prepare existing files for building with MesonKjell Ahlstedt2020-03-011-1/+3
| | | | | | | | * examples/network/resolver.cc: Don't include config.h. It's not used. * glib/glibmm/ustring.cc: Check if GLIBMM_SIZEOF_WCHAR_T is defined. * tools/generate_wrap_init.pl.in: * tools/gmmproc.in: Change '\@' to '\ @'. Meson's configure_file() removes a backslash immediately before an at-sign.
* Update the Free Software Foundation address in copyright noticesKjell Ahlstedt2017-08-301-2/+1
| | | | Bug 786824
* gmmproc: Change messages that MS Visual Studio can misunderstandKjell Ahlstedt2014-12-011-3/+8
| | | | | | | * tools/gmmproc.in: * tools/pm/DocsParser.pm: * tools/pm/Output.pm: Change messages that MS Visual Studio can misunderstand. https://mail.gnome.org/archives/gtkmm-list/2014-November/msg00044.html
* gmmproc: Use an environment variable for the return mismatches.José Alburquerque2013-06-091-7/+7
| | | | | | | | * tools/gmmproc.in: Check for the GMMPROC_RETURN_MISMATCHES environment variable and use its value as the default for the internal boolean '$main::return_mismatches' variable which when true makes gmmproc report if the return type in a _WRAP_METHOD() does not match the C function return type.
* gmmproc: Write glibmm version in generated files.Kjell Ahlstedt2013-06-071-2/+5
| | | | | | | | | * tools/gmmproc.in: Use autoconf's substitution variable @PACKAGE_VERSION@. * tools/m4/base.m4: _START() macro: Add argument glibmm_version. * tools/pm/Output.pm: output_temp_g1(): Add argument glibmm_version. The problems with gtkmm 2.24.3 (bug 697835 and bug 700495) show that it can be useful to easily see which version of gmmproc/glibmm has generated a file.
* tools: Remove blank lines in files.José Alburquerque2013-04-291-2/+2
|
* gmmproc: Verify that void methods should not return a value.José Alburquerque2013-03-221-10/+17
| | | | | | | | | | | | | | | | | | | | | | | | * tools/gmmproc.in: ($main::return_mismatches): Add boolean to store whether method return mismatches should be checked. Make it false by default. (parse_command_line_args): Add logic to parse a new --return-mismatches option to specify if gmmproc should verify that void methods should not return a value. (print_usage): Modify the usage message to describe the new option. For convenience, output the source for which there are unwrapped functions, properties and signals. * tools/pm/DocsParser.pm (remove_example_code): Also output the source being processed when the example code is removed (for convenience). * tools/pm/Output.pm (error): Once more, output the source being processed when an error occurs, for convenience. (convert_args_cpp_to_c): Add a check for when the C++ method for which the parameters are being converted returns void but the C function does not return void. If the added option above is specified, output a warning. Bug #696364.
* tools: Recursive whitespace cleanup in folder.José Alburquerque2011-06-051-1/+1
|
* Gmmproc: Warn about unwrapped properties.Krzesimir Nowak2011-01-051-1/+2
| | | | | | | | * tools/gmmproc.in: When displaying a list of unwrapped properties, ignore the ones that are nonreadable and construct only. * tools/pm/Property.pm: Added entity_type member initialized with 'property' value to Property class, which allows us to sort out which unwrapped entities are actually properties.
* Slightly clean up gross Perl code in gmmproc.inDaniel Elstner2009-09-111-29/+22
| | | | | * tools/gmmproc.in: Try not to abuse Perl too much, and get rid of the 'no warnings' hammer.
* Prepend tools/pm/ to Perl include pathDaniel Elstner2009-08-181-17/+9
| | | | | | | | | * g{lib,io}/src/Makefile.am (gmmproc): Pass -I$(top_srcdir)/tools/pm to the Perl interpreter when invoking the local gmmproc, so that it will pick up the modules from the source tree instead of an existing glibmm installation. * tools/gmmproc.in (BEGIN): Substitute @GLIBMM_MODULE_NAME@ instead of hard-coding the location.
* Get rid of all Makefile.am in the MSVC dirsDaniel Elstner2009-08-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | * MSVC_Net2005/**/Makefile.am: Delete recursive build files. * MSVC_Net2008/**/Makefile.am: ditto. * MSVC_Net2005/filelist.am: New file. Recursively list all files that should go into the distribution. * MSVC_Net2008/filelist.am: ditto. * configure.ac (AC_CONFIG_FILES): Remove all Makefile outputs to the MSVC subdirectories. Combine all the remaining output files into a single argument to just one AC_CONFIG_FILES call. Follow through with a number of TODO comments and remove some old cruft which is no longer used anywhere in the module. (AC_CONFIG_COMMANDS): Copy the configuration header files into the MSVC subdirectories by making config.status execute custom configuration commands. This is easier than doing it at the Makefile level, where it was previously implemented. * Makefile.am: Include the filelist.am files from the MSVC subdirectories. (SUBDIRS): Remove MSVC_Net200[58] directories from the list. (dist_noinst_DATA): Distribute the MSVC project files. * tools/gmmproc.in: Substitute @PERL@ instead of @PERL_PATH@. * tools/generate_wrap_init.pl.in: ditto.
* fix the fix.Murray Cumming2004-04-111-1/+1
|
* Removed the mergecdocs option - because we always want to merge C docs, toMurray Cumming2004-01-051-10/+1
| | | | | | | | 2004-01-03 Murray Cumming <murrayc@usa.net> * tools/gmmproc.in, pm/WrapParser.pm, DocsParser.pm: Removed the mergecdocs option - because we always want to merge C docs, to avoid accidental upload of half-complete docs.
* Corrected location of installed .pm files. They are now in a glibmm-2.3Murray Cumming2003-05-311-1/+1
| | | | | | | 2003-05-31 Murray Cumming <murrayc@usa.net> * tools/gmmproc.in: Corrected location of installed .pm files. They are now in a glibmm-2.3 folder instead of a glibmm-2.4 folder.
* Removed RefPtr<>::is_null() to encourate use of more pointer-like operatorMurray Cumming2003-01-271-9/+4
| | | | | | | | | 2003-01-27 Murray Cumming <murrayc@usa.net> * glib/glibmm/refptr.h: Removed RefPtr<>::is_null() to encourate use of more pointer-like operator bool() instead. Wanted to remove clear() too, but there is no =0 equivalent yet. * tools/gmmproc.in: Change harcoded gtkmm-2.0/m4 path to glibmm-2.4/m4.
* Renamed gtkmmproc to gmmproc.Murray Cumming2003-01-211-0/+253
2003-01-21 Murray Cumming <murrayc@usa.net> * Renamed gtkmmproc to gmmproc.