"Fossies" - the Fresh Open Source Software Archive 
Member "glibmm-2.74.0/ChangeLog.pre-2-36-2" (19 Sep 2022, 507837 Bytes) of package /linux/misc/glibmm-2.74.0.tar.xz:
As a special service "Fossies" has tried to format the requested text file into HTML format (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
1 2013-06-10 José Alburquerque <jaalburquerque@gmail.com>
2
3 Gen Scripts: Minor clean up of the description of the scripts.
4
5 * tools/gen_scripts/gio_generate_docs.sh:
6 * tools/gen_scripts/gio_generate_enums.sh:
7 * tools/gen_scripts/gio_generate_extra_defs.sh:
8 * tools/gen_scripts/gio_generate_methods.sh:
9 * tools/gen_scripts/glib_generate_docs.sh:
10 * tools/gen_scripts/glib_generate_enums.sh:
11 * tools/gen_scripts/glib_generate_extra_defs.sh:
12 * tools/gen_scripts/glib_generate_methods.sh:
13
14 2013-06-09 José Alburquerque <jaalburquerque@gmail.com>
15
16 gmmproc: Use an environment variable for the return mismatches.
17
18 * tools/gmmproc.in: Check for the GMMPROC_RETURN_MISMATCHES
19 environment variable and use its value as the default for the internal
20 boolean '$main::return_mismatches' variable which when true makes
21 gmmproc report if the return type in a _WRAP_METHOD() does not match
22 the C function return type.
23
24 2013-06-07 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
25
26 gmmproc: Write glibmm version in generated files.
27
28 * tools/gmmproc.in: Use autoconf's substitution variable @PACKAGE_VERSION@.
29 * tools/m4/base.m4: _START() macro: Add argument glibmm_version.
30 * tools/pm/Output.pm: output_temp_g1(): Add argument glibmm_version.
31
32 The problems with gtkmm 2.24.3 (bug 697835 and bug 700495) show that it can
33 be useful to easily see which version of gmmproc/glibmm has generated a file.
34
35 2013-06-06 José Alburquerque <jaalburquerque@gmail.com>
36
37 Gio::DBusInterfaceSkeleton: Constant corrections.
38
39 * gio/src/dbusinterfaceskeleton.hg (get_info): Add a const get_info()
40 method returning a constant InterfaceInfo and make the original one
41 non-constant.
42 (has_connection): Accept the Connection as constant because it should
43 not be modified.
44 * tools/m4/convert_gio.m4: Add a needed conversion.
45
46 2013-06-05 José Alburquerque <jaalburquerque@gmail.com>
47
48 giomm: Add the Gio::DBus::InterfaceSkeleton class.
49
50 * gio/src/dbusinterfaceskeleton.{ccg,hg}:
51 * gio/src/filelist.am: Add the sources wrapping the methods,
52 properties and signals and list the sources in the list of files to be
53 built.
54 * gio/src/gio_signals.defs:
55 * tools/extra_defs_gen/generate_defs_gio.cc: Add the
56 GDBUSInterfaceSkeleton GType to the properties and signals defs
57 generation tool and regenerate the .defs file.
58 * tools/m4/convert_gio.m4: Add the conversions for the wrapped
59 methods, properties and signals.
60
61 2013-06-04 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
62
63 Glib::MainContext: Fix a small error in the documentation of acquire().
64
65 * glib/glibmm/main.h: Change "context is the owner" to "thread is the owner".
66
67 2013-06-04 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
68
69 tests: Fix the glibmm_mainloop test.
70
71 * tests/glibmm_mainloop/main.cc: Make it work as expected whichever thread
72 executes first.
73
74 2013-06-02 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
75
76 tests: Add the glibmm_mainloop test.
77
78 * tests/glibmm_mainloop/main.cc: New file. Tests MainContext and MainLoop,
79 including MainContext::invoke().
80 * tests/Makefile.am: Add glibmm_mainloop/test. Bug #668184.
81
82 2013-06-02 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
83
84 Glib::MainContext: Add invoke().
85
86 * glib/glibmm/main.[h|cc]: Add Glib::MainContext::invoke(). Bug #668184.
87
88 2013-05-21 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
89
90 Add missing includes in glibmm.h and bytearray.hg.
91
92 * glib/glibmm.h:
93 * glib/src/bytearray.hg: Add missing includes.
94
95 2013-05-21 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
96
97 tools: Improve the testheaders.sh script.
98
99 * tools/test_scripts/testheaders.sh: Stop if pkg-config fails.
100
101 2013-05-18 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
102
103 tools: Add the testheaders.sh script.
104
105 * tools/test_scripts/testheaders.sh: New file. Compiles each specified header
106 file, one at a time. Bug #697835.
107
108 2013-05-18 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
109
110 tools: Add the testmmh.sh script.
111
112 * tools/test_scripts/testmmh.sh: New file. Checks if all header files are
113 included in a <name>mm.h file. Bug #699993.
114
115 2013-05-14 José Alburquerque <jaalburquerque@gmail.com>
116
117 Custom Interface Properties: Use base finalize function to free data.
118
119 * glib/glibmm/class.cc (Class::clone_custom_type): Specify a custom
120 base finalize function for the custom type which would free the
121 properties data that might exist due to properties of implemented
122 interfaces being overridden. This is better than having an interface
123 finalize function because the custom type could implement several
124 interfaces which would mean that the interface finalize function would
125 execute more than once as opposed to just once for the base finalize
126 function.
127 * glib/glibmm/class.h (Class::interface_finalize_function): Replace
128 with Class::custom_class_base_finalize_function().
129
130 * glib/glibmm/interface.cc (Interface_Class::add_interface): Do not
131 specify a custom interface finalize function.
132
133 (Interface::Interface(const Interface_Class&): Also initialize the
134 property GValues using g_param_value_set_default() so that they are
135 initialized with the default values of the properties and not just the
136 default value of the GValue type.
137
138 Bug #697229.
139
140 2013-05-07 José Alburquerque <jaalburquerque@gmail.com>
141
142 UnixSocketAddress: Add the "path-as-array" property.
143
144 * gio/src/unixsocketaddress.hg:
145
146 2013-05-07 Michael Kruglos <space3000@gmail.com>
147
148 glibmm: Wrapped Base64 functionality from glib.
149
150 glib/encoding and decoding are wrapped.
151 step by step and in-place decoding are not wrapped.
152 (they're too low level for C++, and they're available from the C library.)
153
154 Bug #611589.
155
156 2013-04-29 José Alburquerque <jaalburquerque@gmail.com>
157
158 gmmproc: Output.pm: Use a better name for the c param mappings hash.
159
160 * tools/pm/Output.pm (output_wrap_meth, convert_args_cpp_to_c,
161 get_ctor_properties): Replace the 'cpp_param_mappings' variable name
162 with 'c_param_name_mappings' which describes the function of the hash
163 a little better.
164
165 2013-04-29 José Alburquerque <jaalburquerque@gmail.com>
166
167 DBusConnection: Correct a misplaced #endif G_OS_UNIX.
168
169 * gio/src/dbusconnection.hg: Move the #endif from below the
170 call_finish _WRAP_METHOD() to below the non-cancellable call method
171 declaration. It worked as it was because what was generated by
172 gmmmproc was an #ifdef G_OS_UINX/#endif embedded in an outer #ifdef
173 G_OS_UNIX/#endif but it's how it should be now.
174
175 2013-04-29 José Alburquerque <jaalburquerque@gmail.com>
176
177 Value: Remove unneeded whitespace in source files.
178
179 * glib/glibmm/value.cc:
180 * glib/glibmm/value.h:
181 * glib/glibmm/value_custom.cc:
182 * glib/glibmm/value_custom.h:
183 * glib/src/value_basictypes.cc.m4:
184 * glib/src/value_basictypes.h.m4:
185
186 2013-04-29 José Alburquerque <jaalburquerque@gmail.com>
187
188 Output.pm: convert_args_c_to_cpp(): Reverse mappings hash correctly.
189
190 * tools/pm/Output.pm (convert_args_c_to_cpp): Reverse the hash that
191 maps from parameter names to indexes to a hash that maps from
192 indexes to parameter names correctly (by dereferencing the hash
193 reference) so that parameter reordering for virtual functions works
194 for all Perl versions.
195
196 Bug #698989 (David Evans, John Ralls)
197
198 2013-04-29 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
199
200 gmmproc: Fix _WRAP_SIGNAL(custom_c_callback) for void func().
201
202 * tools/m4/signal.m4: If custom_c_callback is specified, and the signal
203 handler takes no arguments and returns void, generate a SignalProxyInfo
204 structure with pointers to local functions instead of
205 &Glib::SignalProxyNormal::slot0_void_callback. Bug #605728.
206
207 2013-04-25 José Alburquerque <jaalburquerque@gmail.com>
208
209 Interface: Add a comment about overriding properties in constructor.
210
211 * glib/glibmm/interface.cc (Interface(onst Interface_Class&)): Explain
212 what is happening with the lines that override the properties of the
213 implemented interface, if any, for a custom type.
214
215 2013-04-25 José Alburquerque <jaalburquerque@gmail.com>
216
217 Settings: Wrap the properties.
218
219 * gio/src/settings.hg:
220
221 2013-04-25 José Alburquerque <jaalburquerque@gmail.com>
222
223 Implement derived interface properties in the present.
224
225 * glib/glibmm/class.cc (Class::properties_quark): Initialize this
226 GQuark which is used to store/get the data used for setting and
227 getting the properties of the interfaces that a custom type overrides.
228 (Class::interface_finalize_function): Add this function which
229 once invoked frees the property data stored as qata in the GType and
230 allocated/appended to in the Glib::Interface constructor below.
231 * glib/glibmm/class.h: Declare the interface_finalize_function above.
232 Also declare the quark used to store/get the property data and the
233 typedef data type of the property data.
234
235 * glib/glibmm/interface.cc (Interface_Class::add_interface): Specify a
236 custom interface finalize function when adding the interface so that
237 the resources allocated for handling the derived interface properties
238 can be freed if the type is a custom interface type.
239 (Interface::Interface(const Interface_Class&)): Modify the constructor
240 so that when dealing with a custom interface type, it gets a list of
241 the properties of the interface to be added and overrides these by
242 appending appropriate GValues to the data used to handle
243 getting/setting properties that is stored as qdata in the GType. The
244 constructor uses g_param_spec_overrided() to override the properties
245 of the implemented interface and g_object_install_property() to
246 install the properties.
247
248 * glib/glibmm/property.cc (PropertyBase::install_property): Rewrite
249 this method so that the acquired generated id's of custom implemented
250 properties does not collide with the id's of properties of implemented
251 interfaces that have been overridden in a custom type. This is done
252 by offsetting the acquired generated id (by addition) with the number
253 of already existing properties (the ones that have been overridden).
254 (custom_get_property_callback): Rewrite this function (which gets
255 properties for custom types) so that if the property id is less than
256 or equal to the number of overridden interface properties (which would
257 mean that an overridden interface property should be gotten) the
258 correct overridden interface property is gotten. Otherwise, a custom
259 property should be retrieved, in which case the id is offset (by
260 subtraction) when the PropertyBase is retrieved from the id which
261 would ensure getting the correct PropertyBase.
262 (custom_set_property_callback): Rewrite this function as the above
263 custom_get_property_callback was rewritten.
264
265 2013-04-18 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
266
267 Glib::Source: Fix the destruction and deletion.
268
269 * glib/glibmm/main.cc: Keep the Glib::Source wrapper until the GSource
270 instance has been destroyed and all RefPtr<Source> have been deleted.
271 Keep a separate ref count in glibmm. Bug #561885.
272
273 2013-04-14 José Alburquerque <jaalburquerque@gmail.com>
274
275 ByteArray: get_data(): Add a const version.
276
277 * glib/src/bytearray.{ccg,hg}: Make the already existing get_data()
278 method non-constant and add a constant one returning a const array as
279 is done in general in *mm modules.
280
281 2013-04-12 José Alburquerque <jaalburquerque@gmail.com>
282
283 Tls Client Test: Update to test the TlsDatabase class.
284
285 * tests/giomm_tls_client/main.cc: Slightly cleaned it up from the
286 first commit. Lookup the issuer's certificate in the database which
287 is found when I run the test.
288
289 2013-04-12 José Alburquerque <jaalburquerque@gmail.com>
290
291 TlsDatabase: Make sure the cancellable param is optional in methods.
292
293 * gio/src/tlsdatabase.hg: Use the {.?} gmmproc parameter option for
294 the cancellable to ensure that it is optional (so that there are
295 methods that don't require a cancellable for the methods that have
296 one).
297
298 2013-04-11 José Alburquerque <jaalburquerque@gmail.com>
299
300 ByteArray: Add size() and get_data() methods.
301
302 * glib/src/bytearray.{ccg,hg}: Add these methods so that accessing
303 the underlying GByteArray's data and len members (which is how it is
304 done in the C API) is just as easy with glibmm. Also use _WRAP_METHOD
305 to wrap the create() method.
306
307 2013-04-09 José Alburquerque <jaalburquerque@gmail.com>
308
309 gmmproc: Parse the argument list of methods correctly.
310
311 * tools/pm/Function.pm (parse_param): When splitting the argument
312 list split the parameter '{...}' options out and separately and deal
313 with them in their own 'elsif' which is more clear and avoids code
314 duplication. Also, don't split the '<...>' matches greedily because
315 that causes problems when a Glib::RefPtr<> parameter has a default
316 value.
317
318 This problem was discovered while trying to not use the optional
319 parameter syntax for the Gio::TlsCertificate::verify() method by using
320 a default value for the 'trusted_ca' parameter although upon
321 investigation it became clear that keeping the syntax (and the method
322 overloads) would be useful because a verify() with no parameters can
323 be used to verify things about a certificate unrelated to the identity
324 and the trusted_ca (see the TlsCertificateFlags enum that the method
325 returns).
326
327 2013-04-08 José Alburquerque <jaalburquerque@gmail.com>
328
329 Interface: Fix a small typo.
330
331 * glib/glibmm/interface.cc:
332
333 2013-04-07 José Alburquerque <jaalburquerque@gmail.com>
334
335 Gio::TlsServerConnection: Wrap it just like TlsClientConnection.
336
337 * gio/src/tlsserverconnection.{ccg,hg}: Use a custom cast constructor
338 just as in TlsClientConnection because this class too derives from
339 Glib::Interface and Gio::TlsConnection though it only derives from
340 GInterface in the C API. It would have the same problems described in
341 the commit fixing the TlsClientCOnnection class (the next to the last
342 one).
343
344 2013-04-07 José Alburquerque <jaalburquerque@gmail.com>
345
346 Tests: Add a basic test for the Tls* API.
347
348 * tests/giomm_tls_client/main.cc: The test basically works though it
349 would be good to test more thoroughly the TlsDatabase API.
350
351 2013-04-07 José Alburquerque <jaalburquerque@gmail.com>
352
353 Gio::TlsClientConnection: Make the class work correctly.
354
355 * tools/m4/class_interface.m4 (_CUSTOM_CTOR_CAST): Add a new macro so
356 that classes wrapped by the _CLASS_INTERFACE() macro can implement a
357 custom cast constructor. This is so that classes like
358 Tls[Client|Server]Connection, that derive from Glib::Interface but
359 should also derive from a Glib::Object derived type, though they do
360 not do so in the C API, don't produce warnings from an attempt to set
361 the non-existent properties of the GObject derived type when an
362 attempt to construct the C object is made in the default Glib::Object
363 constructor. Glib::wrap_auto_interface<>(), which is called by
364 Glib::wrap() for interfaces, uses the cast constructor to create the
365 wrapper which calls the cast constructor of Glib::Interface. If the
366 Glib::Object derived base class of the wrapper has a default
367 constructor, that constructor is then called which leads to the
368 Glib::Object default constructor being called, which tries to
369 construct the C object and set its properties thus producing the
370 property setting warnings. A custom cast constructor can chain up to
371 the cast constructor of the Glib::Object derived type thus avoiding
372 the call to the Glib::Object default constructor and the non-existent
373 property setting warnings.
374 * glib/glibmm/interface.cc:
375 * glib/glibmm/interface.h (Interface): Add a default constructor so
376 that in the cases above (when the cast constructor of the
377 Glib::Object's derived type is used), the compiler can find a
378 Glib::Interface default constructor to use. Using the Glib::Interface
379 cast constructor as well as the cast constructor of the Glib::Object
380 derived type would cause "ObjectBase::initialize() called twice
381 for the same GObject" errors.
382
383 2013-04-06 Murray Cumming <murrayc@murrayc.com>
384
385 Add a test of implementing an interface.
386
387 * tests/Makefile.am:
388 * tests/glibmm_interface_implementation/main.cc: Add a very simple
389 test that implements an interface, with a vfunc implementation and
390 make sure that the vfunc is called when the caller method is called.
391
392 2013-04-02 José Alburquerque <jaalburquerque@gmail.com>
393
394 ByteArray: Add a Glib::Value<> template specialization for it.
395
396 * glib/src/bytearray.{ccg,hg}: Add the specialization for ByteArray so
397 that getting/setting properties of that type work. Also added a
398 Glib::ByteArray::get_type() method required for the specialization to
399 compile.
400
401 This is the master branch for glibmm 2.37/8.
402 See also the glibmm-2-36 branch.
403
404 2013-03-31 José Alburquerque <jaalburquerque@gmail.com>
405
406 TlsCertificate: Use std::string for data instead of char*.
407
408 * gio/src/tlscertificate.{ccg,hg} (TlsCertificate): Use a std::string
409 in the data constructor instead of a char* because it is more C++
410 like. Remove the default value for the length argument so there is no
411 ambiguity with the file constructor (which also uses std::string for
412 the filename).
413 (create_from_pem): Renamed from create() so that there is no ambiguity
414 with the other file create() methods (one with a filename argument and
415 the other with a filename and key file arguments). Handwrote the
416 method in the .ccg file (_WRAP_CREATE does not allow a custom method
417 name).
418 (property_certificate_pem): Use a std::string instead of a char* for
419 the property type in keeping with the use of std::string for pem data.
420
421 These changes are for when the Tls* classes are re-added to the build.
422
423 2013-03-31 José Alburquerque <jaalburquerque@gmail.com>
424
425 Credentials: Add the get_unix_pid() method.
426
427 * gio/src/credentials.hg: Add the new method wrapping the
428 g_credentials_get_unix_pid() C function.
429
430 2013-03-27 José Alburquerque <jaalburquerque@gmail.com>
431
432 Gio::Tls*: Correct some referencing errors.
433
434 * gio/src/tlscertificate.hg (get_issuer):
435 * gio/src/tlsclientconnection.hg (get_server_identity):
436 * gio/src/tlsconnection.hg (get*_certificate): Use refreturn in the
437 wrapping of these because the C API does not reference the object when
438 returning it.
439
440 2013-03-27 José Alburquerque <jaalburquerque@gmail.com>
441
442 giomm.h: Also remove the tlsfiledatabase.h include.
443
444 * gio/giomm.h: Remove the include from here so that make check will
445 not fail.
446
447 * gio/src/error.hg (TlsError): A minor correction in the 'EOF'
448 substitution regular expression.
449
450 2013-03-26 José Alburquerque <jaalburquerque@gmail.com>
451
452 TlsFileDatabase: Remove the class until its usage is more clear.
453
454 * gio/src/filelist.am (tlsfiledatabase.hg): Remove from the build
455 until it is more clear how the class should be used.
456
457 2013-03-26 José Alburquerque <jaalburquerque@gmail.com>
458
459 TlsError: Rename the EOF enum value.
460
461 * gio/src/error.hg (EOF): Rename it to ENDOFFILE to avoid a clash with
462 another definition of the identifier somewhere else which breaks the
463 gtkmm build.
464
465 2013-03-26 Murray Cumming <murrayc@murrayc.com>
466
467 GTlsFileDatabase: Use std::string for filenames.
468
469 * gio/src/tlsfiledatabase.hg: The anchor parameter
470 and property are for a filename, so we should use
471 std::string, because filenames are of unknown
472 encoding.
473
474 2013-03-26 Murray Cumming <murrayc@murrayc.com>
475
476 Gio: Correct TlsDatabase/TlsFileDatbase derivation.
477
478 * gio/src/tlsdatabase.hg:
479 * gio/src/tlsfiledatabase.hg: TlsFileDatabase
480 should derive from TlsDatabase, not the other
481 way around. However, we do not use TlsFileDatabase,
482 and it is odd (an interface that requires a
483 non-interface other than GObject) so maybe we should
484 not provide it yet anyway.
485
486 2013-03-25 Murray Cumming <murrayc@murrayc.com>
487
488 Gio: Add some TODOs about changing the base classes.
489
490 * gio/src/actionmap.hg
491 * gio/src/pollableinputstream.hg
492 * gio/src/pollableoutputstream.hg
493 * gio/src/remoteactiongroup.hg:
494 We should probably derive from their prerequisite
495 (required) classes instead. These were added in
496 glibmm 2.34.
497
498 2013-03-25 José Alburquerque <jaalburquerque@gmail.com>
499
500 giomm: Wrap the GTlsError GError.
501
502 * gio/src/error.hg: Wrap the GTlsError GError in this file.
503
504 * gio/src/tlsclientconnection.hg:
505 * gio/src/tlsconnection.hg: Have default true values for boolean
506 setter methods in these classes.
507
508 * gio/src/tlsfiledatabase.hg: Clarify a TODO.
509 * gio/src/dbuserror.hg: Whitespace.
510
511 2013-03-25 Murray Cumming <murrayc@murrayc.com>
512
513 Gio::DesktopAppInfo: Added some methods.
514
515 * gio/src/desktopappinfo.hg: Added has_key(),
516 get_string() and get_boolean().
517
518 2013-03-25 Murray Cumming <murrayc@murrayc.com>
519
520 Gio::SocketClient: Added some methods.
521
522 * gio/src/socketclient.hg: Added get/set_tls(),
523 get/set_tls_validation_flags(), get/set_proxy_resolver().
524 Added timeout, tls, enable-proxy, tls-validation, and
525 proxy-resolver properties.
526 Added the event signal.
527 * tools/m4/convert_gio.m4: Added necessary conversions.
528
529 2013-03-25 Chun-wei Fan <fanc999@yahoo.com.tw>
530
531 Visual Studio Projects: Fix and update.
532
533 * Fix Visual C++ projects for glibmm and giomm as numerous
534 sources have been added for the addition of APIs so that
535 these libraries can be properly built
536
537 * Also make the project files work better with the GLib Visual C++
538 builds (which are currently supported in the GLib source
539 distribution), so that the files from the GLib build can be picked
540 up by the glibmm projects when the Glib sources and glibmm sources
541 are extracted in the same root folder (for example,
542 c:\foo\glib-2.35.9 and c:\foo\glibmm-2.35.9)
543
544 * Fix the resolver project files for Visual C++ 2008/2010 for having
545 the wrong executable output name
546
547 2013-03-24 José Alburquerque <jaalburquerque@gmail.com>
548
549 Tls[Client|Server]Connection: Add the create() methods.
550
551 * gio/src/tlsclientconnection.hg:
552 * gio/src/tlsserverconnection.hg: Add the create() methods, wrapping
553 the *_new() functions of these classes. Since these classes are
554 interfaces, it is not possible to use _WRAP_CTOR/WRAP_CREATE() to wrap
555 the new functions.
556
557 Also make these classes derive from TlsConnection which is their base
558 class (see [1][2][3][4]). Its odd because the base class is a GObject
559 and the derived ones are GInterfaces, but that's how the C API has
560 done it. Hopefully it will not be a problem.
561
562 [1] https://developer.gnome.org/gio/stable/GTlsConnection.html#GTlsConnection.description
563 [2] https://developer.gnome.org/gio/stable/GTlsConnection.html#GTlsConnection.derived-interfaces
564 [3] https://developer.gnome.org/gio/stable/GTlsClientConnection.html#GTlsClientConnection.description
565 [4] https://developer.gnome.org/gio/stable/GTlsServerConnection.html#GTlsServerConnection.description
566
567 2013-03-24 José Alburquerque <jaalburquerque@gmail.com>
568
569 gio/src/tls*.ccg: Remove empty namespaces.
570
571 * gio/src/tlsconnection.ccg:
572 * gio/src/tlsdatabase.ccg:
573 * gio/src/tlsinteraction.ccg: Remove empty namespaces and unneeded
574 includes.
575
576 * gio/src/gio_extra_objects.defs: Add GTlsBackend to avoid a gmmproc
577 documentation warning.
578
579 2013-03-22 José Alburquerque <jaalburquerque@gmail.com>
580
581 gmmproc: Verify that void methods should not return a value.
582
583 * tools/gmmproc.in: ($main::return_mismatches): Add boolean to store
584 whether method return mismatches should be checked. Make it false by
585 default.
586 (parse_command_line_args): Add logic to parse a new
587 --return-mismatches option to specify if gmmproc should verify that
588 void methods should not return a value.
589 (print_usage): Modify the usage message to describe the new option.
590
591 For convenience, output the source for which there are unwrapped
592 functions, properties and signals.
593
594 * tools/pm/DocsParser.pm (remove_example_code): Also output the source
595 being processed when the example code is removed (for convenience).
596 * tools/pm/Output.pm (error): Once more, output the source being
597 processed when an error occurs, for convenience.
598 (convert_args_cpp_to_c): Add a check for when the C++ method for which
599 the parameters are being converted returns void but the C function
600 does not return void. If the added option above is specified, output
601 a warning.
602
603 Bug #696364.
604
605 2013-03-22 José Alburquerque <jaalburquerque@gmail.com>
606
607 TlsPassword: Correct its constructor parameter order.
608
609 * gio/src/tlspassword.hg (TlsPassword): Reorder its parameters so that
610 the flag comes last with a default parameter.
611 (create): Do the same for its create() method.
612
613 2013-03-22 José Alburquerque <jaalburquerque@gmail.com>
614
615 TlsDatabase: Const and optional parameter corrections.
616
617 * gio/src/tlsdatabase.hg: The "interaction" parameters in the methods
618 are all optional (see the C API docs).
619 (verify_chain):
620 (verify_chain_async):
621 (verify_chain_vfunc):
622 (verify_chain_async_vfunc): Make these methods const because the
623 database should not be changed by verifying a certificate's chain.
624 (create_certificate_handle_vfunc): Make the certificate constant
625 because it should not change when creating a handle for it.
626
627 2013-03-21 José Alburquerque <jaalburquerque@gmail.com>
628
629 TlsConnection: Correct its base class derivation.
630
631 * gio/src/tlsconnection.hg: The class should derive from
632 Gio::IOStream, not Glib::Object as in the C API. Also add the
633 get_peer_certificate() methods.
634
635 2013-03-21 José Alburquerque <jaalburquerque@gmail.com>
636
637 TlsCertificate: Wrap its single virtual function.
638
639 * gio/src/tlscertificate.hg: Wrap the "verify" virtual function. Also
640 add a default value to the length parameter of the constructor
641 accepting a data character array.
642 * gio/src/gio_vfuncs.defs: Add the virtual function definition so that
643 it is recognized.
644
645 2013-03-21 Murray Cumming <murrayc@murrayc.com>
646
647 Gio::FileInfo: Added get_deletion_date().
648
649 * glib/src/fileenumerator.hg: Wrap the new
650 g_file_info_get_deletion_date() function.
651 * tools/m4/convert_glib.m4: Add a necessary conversion.
652
653 2013-03-21 Murray Cumming <murrayc@murrayc.com>
654
655 Gio::FileEnumerator: Added get_child().
656
657 * glib/src/fileenumerator.hg: Wrap the new
658 g_file_enumerator_get_child() function.
659
660 2013-03-21 Murray Cumming <murrayc@murrayc.com>
661
662 Glib::VariantBase: Added check_format_string().
663
664 * glib/src/variant.hg:
665 Wrap the new g_variant_check_format_string()
666 function.
667
668 2013-03-21 Murray Cumming <murrayc@murrayc.com>
669
670 Gio::AsyncResult: Added is_tagged().
671
672 * gio/src/applicationcommandline.hg:
673 Wrapped the new g_async_result_is_tagged()
674 function.
675
676 2013-03-21 Murray Cumming <murrayc@murrayc.com>
677
678 Gio::ApplicationCommandLine: Added some methods.
679
680 * gio/src/applicationcommandline.hg:
681 Added get_stdin() and create_file_for_arg(),
682 wrapping new C functions.
683
684 2013-03-21 Murray Cumming <murrayc@murrayc.com>
685
686 Regenerated the -signals.defs files.
687
688 * gio/src/gio_signals.defs: Regenerated using
689 tools/gen_scripts/gio_generate_extra_defs.sh.
690
691 2013-03-19 Murray Cumming <murrayc@murrayc.com>
692
693 Regenerated the -methods.defs files.
694
695 * gio/src/gio_methods.xml:
696 * glib/src/glib_functions.xml:
697 * glib/src/gmodule_functions.xml:
698 * glib/src/gobject_functions.xml: Regenerated using
699 tools/gen_scripts/gio_generate_methods.sh and
700 tools/gen_scripts/glib_generate_methods.sh,
701 with a slight hand-edit to avoid the problem in
702 gioschedule.h with h2def.py (see previous commit).
703
704 2013-03-19 Murray Cumming <murrayc@murrayc.com>
705
706 h2def.py: Handle GLIB_AVAILABLE_IN_ALL
707
708 * tools/defs_gen/h2def.py: Do not just ignore
709 functions prefixed with GLIB_AVAILABLE_IN_ALL.
710 This handles the latest glib/gio/gactiongroup.h file.
711
712 However, we still need to handle the new
713 GLIB_DEPRECATED_IN_2_36_FOR(old_func) form
714 now used in glib/gio/gioschedule.h.
715
716 2013-03-19 Murray Cumming <murrayc@murrayc.com>
717
718 Regenerated the -enums.defs files.
719
720 * gio/src/gio_enums.xml:
721 * glib/src/glib_enums.xml: Regenerated using
722 tools/gen_scripts/gio_generate_enums.sh and
723 tools/gen_scripts/glib_generate_enums.sh.
724
725 2013-03-19 Murray Cumming <murrayc@murrayc.com>
726
727 Regenerated the -docs.xml files.
728
729 * gio/src/gio_docs.xml:
730 * glib/src/glib_docs.xml: Regenerated using
731 tools/gen_scripts/gio_generate_docs.sh and
732 tools/gen_scripts/glib_generate_docs.sh.
733 2.35.9:
734
735 2013-03-13 José Alburquerque <jaalburquerque@gmail.com>
736
737 TlsFileDatabase: Use _WRAP_METHOD() to wrap the create() method.
738
739 * gio/src/tlsfiledatabase.{ccg,hg}: It can't be properly wrapped using
740 _WRAP_CTOR()/WRAP_CREATE() yet but it can be wrapped using
741 _WRAP_METHOD(). (I don't know why I thought it had to be
742 handwrapped.)
743
744 2013-03-12 José Alburquerque <jaalburquerque@gmail.com>
745
746 TlsFileDatabase: Add a TODO.
747
748 * gio/src/tlsfiledatabase.hg:
749
750 2013-03-12 José Alburquerque <jaalburquerque@gmail.com>
751
752 TlsFileDatabase: Wrap the create() method.
753
754 * gio/src/tlsfiledatabase.{ccg,hg}: Manually wrap it because
755 presently the *_new() function does more than call g_initable_new().
756
757 2013-02-26 José Alburquerque <jaalburquerque@gmail.com>
758
759 Tls*: Add the rest of the (unwrapped) properties, methods and vfuncs.
760
761 * gio/src/tlscertificate.{ccg,hg}: Wrap the "certificate" property.
762 * gio/src/tlsclientconnection.hg: Add the get_accepted_cas() methods
763 and the "accepted-cas" property.
764 * gio/src/tlsdatabase.hg: Add the lookup_certificates_issued_by*()
765 methods and virtual functions. Correct a TlsCertificate conversion
766 for the virtual functions so that the underlying GObject is properly
767 copied from the C++ wrapper.
768 * tools/m4/convert_gio.m4: Add a ByteArray conversion.
769
770 * gio/src/tlspassword.hg: Clarify a TODO.
771
772 * glib/glibmm.h: Add bytes.h and bytearray.h to the includes.
773
774 2013-02-25 José Alburquerque <jaalburquerque@gmail.com>
775
776 glibmm: Add ByteArray.
777
778 * glib/src/bytearray.{ccg,hg}:
779 * glib/src/filelist.am: Add the new sources for the ByteArray class
780 that wraps GByteArray and include the sources in the build. Some of
781 the GTls* API uses GByteArray so it is necessary to wrap it.
782 * glib/src/glib_extra_objects.defs: Include an object definition for
783 GByteArray to avoid a gmmproc documentation warning.
784 * tools/m4/convert_glib.m4: Add a GByteArray conversion so the sources
785 can be processed properly.
786
787 2013-02-25 Pavel Vasin <rat4vier@gmail.com>
788
789 AppInfo::get_all(): Fix ownerships
790
791 Bug #694505
792
793 2013-02-25 José Alburquerque <jaalburquerque@gmail.com>
794
795 TlsDatabase: Virtual function const correction.
796
797 * gio/src/tlsdatabase.hg (create_certificate_handle_vfunc): Make it
798 const because it does not modify the database.
799
800 2013-02-24 José Alburquerque <jaalburquerque@gmail.com>
801
802 Tls[Database|Interaction]: Add the virtual functions.
803
804 * gio/src/tlsdatabase.hg:
805 * gio/src/tlsinteraction.hg: Add the virtual functions. It is
806 necessary to wrap GByteArray to wrap the remaining three virtual
807 functions of TlsDatabase.
808
809 2.35.8 (unstable);
810
811 2013-02-21 Murray Cumming <murrayc@murrayc.com>
812
813 Fix the build with --enable-warnings=fatal.
814
815 * glib/src/threads.hg: The GThread definition is now deprecated,
816 meaning it should only be used via a pointer.
817 However, we depend on it, so this temporarily undefs the
818 deprecation, so we can still use those checks elsewhere in the build.
819 It looks like we will have to do a third version of Glib::Threads,
820 after already replacing Glib::Thread.
821 This fixes make distcheck.
822
823 2013-02-21 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
824
825 Signal*::connect(): Make them less thread-unsafe.
826
827 * glib/glibmm/main.cc: Make SignalTimeout::connect(), connect_seconds(),
828 SignalIdle::connect() and SignalChildWatch::connect() less thread-unsafe
829 by moving conn_node->install() to before g_source_attach().
830 * glib/glibmm/main.h: Describe that the Signal*::connect*() methods that
831 return a sigc::connection are not thread-safe. Bug #396958.
832
833 2013-02-20 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
834
835 Signal[Timeout|Idle]::connect_once() docs: Warn about thread-unsafety.
836
837 * glib/glibmm/main.cc: Fix an incomplete comment.
838 * glib/glibmm/main.h: SignalTimeout::connect_once(), connect_seconds_once(),
839 SignalIdle::connect_once(): Describe the caution necessary because
840 sigc::trackable-derived objects are not thread-safe. Bug #396963.
841
842 2013-02-20 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
843
844 ThreadPool::push() docs: Note that sigc::trackable is not thread-safe.
845
846 * glib/glibmm/threadpool.h: push(): Describe how sigc::trackable-derived
847 classes can be used in a thread-safe way.
848 * glib/src/threads.hg: create(): Correct the description added in the
849 previous commit. Bug #512348.
850
851 2013-02-20 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
852
853 Threads::Thread::create(): Update the documentation.
854
855 * examples/thread/thread.cc: Don't derive from sigc::trackable.
856 * glib/src/threads.hg: create(): Describe how sigc::trackable-derived classes
857 can be used in a thread-safe way. Bug #512348.
858
859 2013-01-30 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
860
861 Predefine G_OS_UNIX or G_OS_WIN32 in Doxygen's configuration file.
862
863 * docs/reference/Doxyfile.in: Predefine either G_OS_UNIX or G_OS_WIN32,
864 depending on HOST_WINDOWS_NATIVE. Update to Doxygen 1.8.3 status.
865 * glib/src/iochannel.hg: Remove the DOXYGEN_SHOULD_SKIP_THIS that was added
866 just to get Windows-specific methods included in the documentation.
867
868 2013-01-30 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
869
870 DBus::[Connection|Proxy]: Change ifdef G_OS_LINUX to ifdef G_OS_UNIX.
871
872 * gio/src/dbusconnection.[ccg|hg]:
873 * gio/src/dbusproxy.[ccg|hg]: Change G_OS_LINUX to G_OS_UNIX. Glib does not
874 define G_OS_LINUX. Correct function declarations for DBus::Proxy::call().
875
876 2013-01-29 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
877
878 gmmproc: Improve the conversion of documentation to Doxygen format.
879
880 * tools/defs_gen/docextract.py: Handle 'Since ' without a colon.
881 * tools/m4/signal.m4:
882 * tools/pm/Output.pm: When a function declaration is surrounded by
883 ifdef/endif, put its documentation inside the ifdef/endif.
884 * tools/pm/DocsParser.pm: Handle 'Since ' without a colon. Escape most
885 backslashes, not just \r and \n. Convert more <tags> to something that
886 Doxygen understands.
887
888 2013-01-27 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
889
890 Documentation: Fix many warnings from Doxygen.
891
892 * gio/src/gio_docs_override.xml:
893 * glib/src/glib_docs_override.xml: Move "Since: n.m" from the <return> to the
894 <description> entries. gmmproc adds a period at the end of the @return
895 Doxygen command, and Doxygen warns for "@newin{n,m}.".
896 * glib/glibmm/interface.h:
897 * glib/glibmm/stringutils.h:
898 * glib/glibmm/vectorutils.h:
899 * gio/src/*.hg:
900 * glib/src/*.hg: (Here "*" means "many", not "all") Examples of changes:
901 Add missing @param. Change names of parameters, to make them equal in
902 function declaration and @param command. Change "@name" to "@a name".
903 Change "<ulink url=" to "<a href=".
904
905 2013-01-17 José Alburquerque <jaalburquerque@gmail.com>
906
907 TlsConnection: Wrap the virtual functions.
908
909 * gio/src/tlsconnection.hg: Wrap the three virtual functions that were
910 left as TODO's now that it's possible to wrap virtual functions with
911 slots.
912 * tools/m4/vfunc.m4: Use 'retval' instead of 'result' for variables
913 that store the result of the C base virtual function invocation and
914 the C++ virtual function invocation because 'result' conflicts with
915 the AsyncResult 'result' parameter of the handshake_finish_vfunc().
916
917 2013-01-16 José Alburquerque <jaalburquerque@gmail.com>
918
919 gmmproc: _WRAP_VFUNC: Support the wrapping of slots.
920
921 * tools/pm/WrapParser.pm (on_wrap_vfunc): Add support for parsing the
922 additional 'slot_name', 'slot_callback', and 'no_slot_copy' options
923 that do the same thing as the corresponding _WRAP_METHOD options (ie.
924 specify the name of the C++ slot parameter, the name of the callback
925 function and whether to use the original slot or a copy of it,
926 respectively. Also pass the options along to:
927 (output_wrap_vfunc): Store the options in the C++ virtual function
928 object so they can be tested for when converting the parameters and
929 composing the _VFUNC* m4 macro calls.
930 * tools/pm/Output.pm (output_wrap_vfunc_cc):
931 - Append the additional 'slot_type', 'slot_name' and 'no_slot_copy'
932 parameters to the _VFUNC_CC m4 macro invocation so that it can include
933 code for the vfunc to copy the slot parameter and pass it on to the C
934 function.
935 - Also append the additional 'slot_type' and 'c_data_param_name' to
936 the _VFUNC_PCC m4 macro so that it knows the slot type and the C
937 gpointer parameter name that contains the slot so that the macro can
938 generate code to extract the slot from the data parameter and pass the
939 slot on to the C++ virtual function.
940 (convert_args_c_to_cpp):
941 - Rewritten so that it loops through the C++ parameters so that it is
942 possible to re-order the parameters using the existing mapping
943 functionality that allows parameters to be re-ordered for the
944 _WRAP_[CREATE|CTOR|METHOD] macros. Also re-written so that it knows
945 how to deal with slot parameters.
946 * tools/m4/vfunc.m4 (_VFUNC_PCC): Modified to accept the additional
947 'slot_type' and 'c_data_param_name' arguments and to insert code to
948 extract the slot from the C gpointer data parameter to be passed on
949 to the C++ virtual function.
950 (_VFUNC_CC): Modified to accept the additional 'slot_type',
951 'slot_name' and 'no_slot_copy' arguments and to insert code to either
952 copy the slot in a 'slot_copy' variable or set the variable to the
953 actual slot (if it's so been specified) which is then passed on to the
954 C function.
955
956 2013-01-16 José Alburquerque <jaalburquerque@gmail.com>
957
958 gmmproc: _WRAP_[CREATE|CTOR|METHOD]: Allow any order of {} options.
959
960 * tools/pm/Function.pm: Make it possible to use any order desired of
961 the options to specify whether parameters should be optional or should
962 be re-ordered in the _WRAP_* directives.
963
964 2013-01-14 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
965
966 Gio::File: Remove refreturn to avoid memory leaks.
967
968 * gio/src/file.hg: Remove the refreturn argument from _WRAP_METHOD for read()
969 and 13 other methods. The glib functions add a ref.
970 Change @newin2p24 to @newin{2,24}. Bug #691606.
971
972 2013-01-09 José Alburquerque <jaalburquerque@gmail.com>
973
974 giomm.h: Add the tls[client|server]connection.h headers.
975
976 * gio/giomm.h: Add the two new headers.
977
978 2013-01-08 José Alburquerque <jaalburquerque@gmail.com>
979
980 giomm: Add the Tls[Client|Server]Connection classes.
981
982 * gio/src/tlsclientconnection.{ccg,hg}: Add the new client sources
983 wrapping the methods and properties.
984 * gio/src/tlsserverconnection.{ccg,hg}: Add the new server sources
985 wrapping its single property.
986 * gio/src/filelist.am: Include the new sources in the list of files to
987 be built.
988 * gio/src/enums.hg: Add the TlsAuthenticationMode enum needed for the
989 server class here because it is documented in the Tls Overview section
990 of the C API's documentation and not as part of any other class.
991 * tools/m4/convert_gio.m4: Add a necessary conversion.
992
993 * gio/src/tlsdatabase.{ccg,hg}: Fix the includes so that the
994 tlscertificate.h header file does not have to be included in the .h
995 file but instead in the .c file.
996
997 2013-01-07 José Alburquerque <jaalburquerque@gmail.com>
998
999 giomm.h: Add the new tls*.h headers.
1000
1001 * gio/giomm.h: Add the
1002 tls[connection|database|filedatabase|interaction].h headers.
1003
1004 2013-01-07 José Alburquerque <jaalburquerque@gmail.com>
1005
1006 Tls[Database|Interaction|Passowrd]: Const corrections.
1007
1008 * gio/src/tlsdatabase.hg (verify_chain):
1009 (verify_chain_async): Accept the SocketConnectable as a const because
1010 it is used to check for certificates that have been pinned (marked as
1011 good) for a specific domain in a browser session and not modified.
1012 (lookup_certificate_issuer)
1013 (lookup_certificate_issuer_async): Accept the TlsCertificate for which
1014 to look for the issuer as const because it is not modified according
1015 to the docs.
1016 * gio/src/tlsinteraction.hg (ask_password):
1017 (ask_password_async)
1018 (invoke_ask_password): Accept the TlsPassword as non-const because the
1019 docs say that it is filled in by the methods, not used to compare a
1020 user entry with an existing password.
1021 * gio/src/tlspassword.hg (get_value_vfunc):
1022 (get_default_warning_vfunc): Make these const because they are getter
1023 functions.
1024 * tools/m4/convert_gio.m4: Adjust the conversions according to above
1025 changes.
1026
1027 2013-01-07 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
1028
1029 gmmproc: _WRAP_ENUM: Skip enum constants whose names are deleted.
1030
1031 * tools/pm/Enum.pm, build_element_list(): If a custom substitution argument
1032 in _WRAP_ENUM() removes all of an enum constant's name, exclude that constant
1033 from the element list. Useful for GdkEventType. Bug #544694.
1034
1035 2013-01-07 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
1036
1037 gmmproc: Improve the search for documentation of enums.
1038
1039 * tools/pm/Enum.pm, build_element_list(): Search for value documentation
1040 before custom substitutions are applied to the element name. Bug #544694.
1041
1042 2013-01-03 José Alburquerque <jaalburquerque@gmail.com>
1043
1044 giomm: Add the TlsConnection class.
1045
1046 * gio/src/filelist.am:
1047 * gio/src/tlsconnection.{ccg,hg}: Add the new sources wrapping the
1048 methods, properties and signals of the new class. Also add the
1049 sources to the list of files to be built and add the virtual
1050 functions as a TODO.
1051 * gio/src/gio_vfuncs.defs: Add the definitions of the virtual
1052 functions of the class for when the virtual functions are wrapped.
1053 * tools/m4/convert_gio.m4: Add conversions relevant to wrapping the
1054 class.
1055
1056 2013-01-03 José Alburquerque <jaalburquerque@gmail.com>
1057
1058 TlsDatabase: Add a TODO to wrap virtual functions.
1059
1060 * gio/src/tlsdatabase.hg: Add the virtual functions but as a TODO so
1061 that the parameters can be properly ordered according to the order in
1062 the methods.
1063 * gio/src/gio_vfuncs.defs: Add the virtual function definitions for
1064 when the vfuncs are wrapped.
1065
1066 * gio/src/tlscertificate.hg: Do not wrap a write-only construct-only
1067 property.
1068
1069 2013-01-03 José Alburquerque <jaalburquerque@gmail.com>
1070
1071 TlsDatabase: Reorder parameters so that flags can have defaults.
1072
1073 * gio/src/tlsdatabase.hg (lookup_certificate_issuer):
1074 (lookup_certificate_issuer_async): Reorder the parameters in these
1075 methods as is done in the other methods so that the flag parameter can
1076 be last and have a default value.
1077
1078 2013-01-03 José Alburquerque <jaalburquerque@gmail.com>
1079
1080 giomm: Add the TlsDatabase class which implements TlsFileDatabase.
1081
1082 * gio/src/filelist.am:
1083 * gio/src/tlsdatabase.{ccg,hg}: Add the sources wrapping the C
1084 functions and include the sources in the list of files to be built.
1085 * tools/m4/convert_gio.m4: Add the necessary conversions for the
1086 wrapped methods in the sources.
1087
1088 * gio/src/tlsfiledatabase.hg: Add a TODO.
1089
1090 2013-01-02 José Alburquerque <jaalburquerque@gmail.com>
1091
1092 giomm: Add the TlsFileDatabase interface.
1093
1094 * gio/src/filelist.am:
1095 * gio/src/tlsfiledatabase.{ccg,hg}: Add the new sources wrapping a
1096 single property and include them in the list of files to be built.
1097 * gio/src/tlsinteraction.hg: Correct a typo.
1098
1099 2013-01-01 José Alburquerque <jaalburquerque@gmail.com>
1100
1101 giomm: Add the TlsInteraction class.
1102
1103 * gio/src/tlsinteraction.{ccg,hg}:
1104 * gio/src/filelist.am: Add the sources wrapping the C functions and
1105 include the sources in the build.
1106 * gio/src/gio_vfuncs.defs: Add the virtual functions of the class.
1107 The vfuncs are not wrapped yet so that gmmproc can be modified so that
1108 virtual functions with slot parameters can be wrapped as is already
1109 possible with methods.
1110 * tools/m4/convert_gio.m4: Add necessary conversions.
1111
1112 2012-12-28 José Alburquerque <jaalburquerque@gmail.com>
1113
1114 gmmproc: _WRAP_METHOD: Ensure that slot parameters can be optional.
1115
1116 * tools/pm/Output.pm (output_wrap_meth): Only pass the slot parameters
1117 to the m4 _*METHOD() macros if convert_args_cpp_to_c() signals that a
1118 possible slot parameter should be included.
1119 (convert_args_cpp_to_c): Add a boolean called 'include_slot' to the
1120 objCppfunc object that is by default false that is set when a slot
1121 parameter is encountered and should converted.
1122
1123 2012-12-28 José Alburquerque <jaalburquerque@gmail.com>
1124
1125 Variant: Allow containing complex types in arrays and in variants.
1126
1127 * glib/src/variant.hg (Variant< Variant<T> >): Add a new class capable
1128 of containing any Variant<>. The class is just like
1129 Variant<VariantBase> except that with it, it is now possible to store
1130 and handle complex variant types in a variant easily in a C++ way.
1131 The modified test below exemplifies.
1132 (Variant< std::vector<T> >::create): Create a Variant<> for each of
1133 the members in the vector and then use g_variant_builder_add_value()
1134 to add the underlying GVariant of the wrapped elements in the builder
1135 instead of using the variadic g_variant_builder_add() function which
1136 causes problems when dealing with types that are more complex than
1137 basic ones.
1138 (Variant< std::vector<T> >::get_child): Rewritten to get the child as
1139 a GVariant, wrap the GVariant in a Variant<> and then get its value
1140 instead of assuming that the array in the variant is a fixed array of
1141 basic types so that complex types are supported in arrays.
1142 (Variant< std::vector<T> >::get): Rewritten as get_child() above so
1143 that the elements in the array are gotten as a GVariant, wrapped in a
1144 Variant<> and then retrieved and placed in the resulting vector,
1145 again, to ensure that a vector of complex types can be stored in a
1146 variant.
1147 * tests/glibmm_variant/main.cc: Modify the test to ensure that any
1148 type other than basic ones are supported.
1149
1150 2012-12-28 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
1151
1152 Gio::Action: Add more documentation of get_state_hint() and get_state().
1153
1154 * gio/src/action.hg: get_state_hint() and get_state() returns void, which
1155 makes them useless. That can't be fixed until the next ABI break. Explain in
1156 the documentation what to do instead of calling these methods. Bug #690134.
1157
1158 2012-12-27 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
1159
1160 SignalProxy: Fix the documentation, especially of connect_notify().
1161
1162 * glib/src/signalproxy.h.m4: Many small fixes of the documentation, and a
1163 more thorough rewrite of the doc of SignalProxy[0-6]::connect_notify().
1164 Bug #126213, comment 5.
1165
1166 2012-12-18 Andrew Potter <agpotter@gmail.com>
1167
1168 VariantBase: Add operator for BoolExpr (const void*).
1169
1170 * glib/src/variant.{ccg,hg}: Adds operator BoolExpr.
1171 Also deletes relational operators to prevent unexpected conversion.
1172 Bug #690121.
1173
1174 2012-12-13 Andrew Potter <agpotter@gmail.com>
1175
1176 SimpleAction: Fix stateful action constructor typo, allowing use.
1177
1178 * gio/src/simpleaction.hg: Fix 'sate' typo to 'state', allowing
1179 the constructor to be used. Bug #690122.
1180
1181 2012-12-12 Andrew Potter <agpotter@gmail.com>
1182
1183 Threads: Add create(slot, name).
1184
1185 * glib/src/threads.{ccg,hg}: Add a method to create named threads.
1186
1187 Bug #689863.
1188
1189 2012-11-20 Andrew Potter <agpotter@gmail.com>
1190
1191 VariantType: Add create_tuple().
1192
1193 * glib/src/varianttype.{ccg,hg}: Add the method following the style of
1194 VariantContainerBase::create_tuple(), completing a TODO.
1195
1196 Bug #688682.
1197
1198 2012-11-20 José Alburquerque <jaalburquerque@gmail.com>
1199
1200 VariantType: Correct the referencing in the create*() methods.
1201
1202 * tools/m4/convert_glib.m4: Correct the 'GVarianType*' to VariantType
1203 conversion to not take an extra reference when wrapping the
1204 GVariantType in the VariantType.
1205 * glib/src/variant.hg:
1206 * glib/src/varianttype.hg: Also move the 'const GVariantType'
1207 conversion from the global glib convert file (above) to these local
1208 files because it takes an extra reference of the GVariantType.
1209
1210 Bug #688440 (Andrew Potter).
1211
1212 2012-11-18 José Alburquerque <jaalburquerque@gmail.com>
1213
1214 gmmproc: Documentation: Adjust if the method has a slot param.
1215
1216 * tools/pm/WrapParser.pm (on_wrap_method): Pass the objCppfunc object
1217 to the DocParser::lookup_documentation() subroutine so that it can
1218 decide if the final parameter of the C function should be excluded
1219 from the docs. The final parameter (which would be a gpointer
1220 user_data parameter) would be omitted if the C++ method has a slot
1221 parameter.
1222 * tools/pm/DocsParser.pm (lookup_documentation): Pass the objCppfunc
1223 on to the append_parameter_docs() subroutine which does what's
1224 described above.
1225 (append_parameter_documentation): Decide whether to skip the final C
1226 parameter as described above. Also rename 'callback' parameters to
1227 'slot' and use '@a slot' instead of '@a callback' in the main
1228 description.
1229 (substitute_identifiers): Replace C *Callback types to C++ Slot*
1230 types.
1231
1232 Bug #688587.
1233
1234 2012-11-18 José Alburquerque <jaalburquerque@gmail.com>
1235
1236 gmmproc: _WRAP_METHOD: Support wrapping methods with slots.
1237
1238 * tools/pm/WrapParser.pm (on_wrap_method): Add code to parse the
1239 additional 'slot_name', 'slot_callback' and 'no_slot_copy' options.
1240 - The 'slot_name' options specifies the name of the slot parameter in
1241 the C++ method declaration.
1242 - The 'slot_callback' option specifies the name of the callback to
1243 pass to the C function.
1244 - The 'no_slot_copy' option specifies that the actual slot should be
1245 passed to the C function in the data parameter and not a copy. By
1246 default, a copy is used.
1247 * tools/pm/Output.pm (output_wrap_meth): Pass the new slot options
1248 along to the *METHOD() m4 macros.
1249 (convert_args_cpp_to_c):
1250 - If there is a slot parameter, ignore the final user_data parameter
1251 in the C function when comparing the argument count in the C++
1252 method and the C function.
1253 - Convert a possible slot parameter to the address of the specified
1254 slot callback (with the 'slot_callback' option). Report an error if
1255 no callback has been specified.
1256 - Pass a 'slot_copy' variable as the final user data parameter to the
1257 C function. The variable is declared by the _*METHOD() m4 macros.
1258 * tools/m4/method.m4 (_METHOD):
1259 (_STATIC_METHOD):
1260 - Accept the new 'slot_type', 'slot_name' and 'no_slot_copy' options
1261 which specify the C++ slot type (without the const and the &), the
1262 C++ slot parameter name and whether to create a copy of the slot or
1263 not respectively.
1264 - Insert code to declare a 'slot_copy' variable that is either a copy
1265 of the slot or a pointer to the actual C++ slot based on the
1266 'no_slot_copy' option.
1267
1268 Bug #688587.
1269
1270 2012-11-15 José Alburquerque <jaalburquerque@gmail.com>
1271
1272 giomm.h: Include the tlspassword.h header file.
1273
1274 * gio/giomm.h:
1275
1276 2012-11-14 Debarshi Ray <debarshir@src.gnome.org>
1277
1278 ustring docs: The global locale should be set when using C++ streams.
1279
1280 * glib/glibmm/ustring.h: Replace output.imbue(std::locale("")) by
1281 std::locale::global(std::locale("")) in the description of how to use
1282 std::ostringstream. Bug #661588.
1283
1284 2012-11-13 José Alburquerque <jaalburquerque@gmail.com>
1285
1286 giomm: Add the TlsPassword class.
1287
1288 * gio/src/tlspassword.{ccg,hg}:
1289 * gio/src/filelist.am: Add the new sources containing the constructor,
1290 methods, properties and virtual functions and include the sources in
1291 the build.
1292 * gio/src/gio_vfuncs.defs: Add the GTlsPassword virtual functions so
1293 that they are recognized by gmmproc.
1294 * tools/m4/convert_gio.m4: Add an enum conversion.
1295
1296 2012-11-13 José Alburquerque <jaalburquerque@gmail.com>
1297
1298 giomm: Add the GTls* GTypes to the extra defs generation utility.
1299
1300 * tools/extra_defs_gen/generate_defs_gio.cc: Add the GTypes.
1301 * gio/src/gio_signals.defs: And regenerate the signal and property
1302 defs file.
1303
1304 2012-11-13 José Alburquerque <jaalburquerque@gmail.com>
1305
1306 giomm.h: Re-add an accidentally removed include.
1307
1308 * gio/giomm.h: Re-add 'simpleaction.h' which was accidentally removed.
1309 Also re-sort the includes by the base filename (without the .h) as
1310 they were before.
1311
1312 2012-11-12 José Alburquerque <jaalburquerque@gmail.com>
1313
1314 giomm.h: Include missing headers.
1315
1316 * gio/giomm.h: Include all the headers generated from the .hg files.
1317
1318 2012-11-11 José Alburquerque <jaalburquerque@gmail.com>
1319
1320 giomm: Add the TlsCertificate class.
1321
1322 * gio/src/filelist.am:
1323 * gio/src/tlscertificate.{ccg,hg}: Add the sources wrapping the
1324 constructors, methods and (most) properties and include the sources in
1325 the build.
1326 * gio/src/enums.hg: Add the TlsCertificateFlags enum (wrapping the C
1327 enum).
1328 * tools/extra_defs_gen/generate_defs_gio.cc: Add the GTlsCertificate
1329 GType to the list of types for which signal and property defs are to
1330 be generated.
1331 * gio/src/gio_signals.defs: Regenerate the signal and property defs
1332 file.
1333 * tools/m4/convert_gio.m4: Add necessary conversions.
1334
1335 * gio/src/gio_extra_objects.defs: Add TlsClientConnection to avoid a
1336 gmmproc docs warning.
1337
1338 2012-11-08 José Alburquerque <jaalburquerque@gmail.com>
1339
1340 gmmproc: _WRAP_CTOR: Handle *_new() functions with a final GError**.
1341
1342 * tools/pm/WrapParser.pm (on_wrap_ctor): Add code to parse an
1343 additional "errthrow" optional option in a _WRAP_CTOR() macro.
1344 * tools/pm/Output.pm (output_wrap_ctor): Pass the "errorthrow" option
1345 along as a string to:
1346 (get_ctor_properties): Ignore the final GError** parameter of the C
1347 *_new() function because it does not form part of the property list
1348 that the constructor to has to set.
1349
1350 Bug #687959.
1351
1352 2012-11-07 José Alburquerque <jaalburquerque@gmail.com>
1353
1354 DesktopAppInfo: Add some new getter methods.
1355
1356 * gio/src/desktopappinfo.hg: Add the get_keywords(),
1357 get_startup_wm_class(), get_generic_name(), get_show_in(),
1358 get_nodisplay() and get_categories() getter methods wrapping the
1359 corresponding C functions.
1360
1361 2012-11-06 José Alburquerque <jaalburquerque@gmail.com>
1362
1363 Variant: Don't refsink variants created using the custom cast ctor.
1364
1365 * glib/src/variant.ccg:
1366 * glib/src/variant.hg:
1367 * glib/src/variant_basictypes.cc.m4: Remove the call to
1368 g_variant_ref_sink() in the create() methods of the variant types that
1369 use the custom cast constructor to wrap the newly created C object
1370 because the custom cast constructor already refsinks the object if
1371 necessary.
1372
1373 2012-11-06 José Alburquerque <jaalburquerque@gmail.com>
1374
1375 MemoryOutputStream: Add the steal_as_bytes() method.
1376
1377 * gio/src/memoryoutputstream.{ccg,hg}: Add the method that wraps the
1378 corresponding C function.
1379
1380 2012-11-06 José Alburquerque <jaalburquerque@gmail.com>
1381
1382 AppInfo: Add create_duplicate().
1383
1384 * gio/src/appinfo.{hg,ccg}: Add the new method (which creates a
1385 duplicate of the AppInfo). Also, use gmmproc's optional parameter
1386 functionality to wrap the launch_default_for_uri() method without the
1387 optional AppLaunchContext parameter.
1388
1389 2012-11-06 José Alburquerque <jaalburquerque@gmail.com>
1390
1391 Variant< std::vector<std::string> >: Add create_from_object_paths().
1392
1393 * glib/src/variant.hg: Add the new method that creates a variant of
1394 vector of strings out of object paths. This is so the type of the
1395 variant is rightly set to G_VARIANT_TYPE_OBJECT_PATH_ARRAY and not
1396 G_VARIANT_TYPE_BYTESTRING_ARRAY in case some application needs to make
1397 a distinction.
1398 Also _IGNORE the g_variant_get_objv() and g_variant_dup_objv()
1399 functions because it's possible to get object paths from a variant of
1400 vector of strings if it contains them with the existing getter
1401 methods because object paths are merely strings.
1402 * glib/src/variantiter.hg: Add an _IGNORE.
1403 * glib/src/checksum.ccg:
1404 * glib/src/convert.ccg: Whitespace.
1405
1406 2012-11-05 José Alburquerque <jaalburquerque@gmail.com>
1407
1408 Regenerate the XML docs files for glibmm and giomm.
1409
1410 * gio/src/gio_docs.xml:
1411 * glib/src/glib_docs.xml: These files now include enum XML
1412 documentation.
1413 * glib/src/glib_extra_objects.defs: Add IOChannel to avoid a gmmproc
1414 documentation warning.
1415
1416 2012-11-04 José Alburquerque <jaalburquerque@gmail.com>
1417
1418 gmmproc: Make enum documentation possible.
1419
1420 * tools/defs_gen/docextract.py (enum_name_pattern): Add a new regular
1421 expression that recognizes gtk-doc enum comment blocks (though
1422 imperfectly because it also catches things such as structure comment
1423 blocks).
1424 (identifier_patterns): Append the new enum_name_pattern to the list of
1425 patterns used to test each gtk-doc block's identifier to see what type
1426 of block it is.
1427 (parse_file): Do not add a particular gtk-doc block if it has been
1428 marked as a block initially thought to be an enum comment block but
1429 later found not to be so.
1430 (skip_to_identifier): Mark the current comment block as an enum type
1431 if the enum_name_pattern matches the identifier.
1432 (process_params): Mark the current block as invalid if the block was
1433 recognized as an enum type but no parameters are found or if any of
1434 the parameter names are not all caps.
1435 (parse_dir): Include .h files for processing because gtk-doc enum
1436 comment blocks are included in those files.
1437 * tools/defs_gen/docextract_to_xml.py: Add an option to not print out
1438 enum docs. Assume that enum docs should be printed out by default.
1439 * tools/pm/DocsParser.pm (parse_on_start):
1440 (parse_on_end): Add logic to correctly parse an <enum> tag (which is
1441 just like the already existing <function> and <signal> tags. The only
1442 difference is in the name of the tags. The function name syntax is
1443 the same as a C function name, the signal name has the form
1444 'CStructName::signal-name' while the enum name has the form
1445 'CEnumName')
1446 (lookup_enum_description): Add this subroutine that gets the
1447 the description of the specified enum.
1448 (lookup_enum_value_documentation): Add this subroutine that gets the
1449 description of an enum value as a Doxygen block.
1450 (lookup_documentation): Use the new remove_example_code subroutine
1451 described below.
1452 (remove_example_code): Add this subroutine that removes example code
1453 from the specified text so that it can be used in other places.
1454 * tools/pm/Enum.pm (c_prefix): Add a new field to the class storing
1455 the enum's C prefix. This field is used when looking up an enum's
1456 value documentation.
1457 (parse_values): Modified to store the C prefix of the enum.
1458 (build_element_list): Modified to lookup the documentation of the
1459 values of the enum and insert the Doxygen block just before each
1460 value. This allows Doxygen to document each value of the enum.
1461 * tools/pm/Output.pm (output_wrap_enum): Modified to lookup
1462 the description of the enum previously parsed by the DocParser and
1463 merge it with an already passed in comment for the enum which is then
1464 passed as before to the _ENUM macro.
1465 * tools/m4/enum.m4: Whitespace correction.
1466
1467 Bug #544694.
1468
1469 2012-11-04 Murray Cumming <murrayc@murrayc.com>
1470
1471 MountOperation: Correct an ABI break.
1472
1473 * gio/src/mountoperation.hg: Use the no_default_handler option with
1474 the new _WRAP_SIGNAL() to avoid a new on_*() vfunc increasing the size
1475 of the class. This got into the 2.34.0 release at the last moment
1476 but it seems better to correct it before people use it than to leave it.
1477
1478 2012-11-05 José Alburquerque <jaalburquerque@gmail.com>
1479
1480 UnixConnection: Remove the const receive_credentials_finish() method.
1481
1482 * gio/src/unixconnection.hg: It doesn't make sense and there are no
1483 other const *_finish() methods in giomm. Further, it's not needed for
1484 getting a const Credentials. That's already possible with the
1485 existing receive_credentials_finish() method.
1486
1487 2012-11-04 José Alburquerque <jaalburquerque@gmail.com>
1488
1489 UnixConnection: Add [receive|send]_credentials_[async|finish]().
1490
1491 * gio/src/unixconnection.{ccg,hg}: Add the new methods (adding
1492 non-cancellable versions for the async methods) wrapping the
1493 corresponding C functions.
1494 * gio/src/socketconnection.hg: Typo.
1495
1496 2012-11-04 José Alburquerque <jaalburquerque@gmail.com>
1497
1498 ThemedIcon: Wrap the "names" property.
1499
1500 * gio/src/themedicon.hg:
1501
1502 2012-11-04 José Alburquerque <jaalburquerque@gmail.com>
1503
1504 SocketConnection: Add connect*() and is_connected() methods.
1505
1506 * gio/src/socketconnection.{ccg,hg}: Add connect(), connect_async(),
1507 connect_finish() and is_connected() methods (wrapping the
1508 corresponding C functions).
1509 * gio/src/resolver.hg: Add an _IGNORE.
1510
1511 2012-11-04 José Alburquerque <jaalburquerque@gmail.com>
1512
1513 docextract_to_xml.py: Replace : with ':' in generated XML files.
1514
1515 * tools/defs_gen/docextract_to_xml.py: Otherwise gmmproc reports
1516 errors if this entity is encountered when trying to parse the XML
1517 documentation.
1518
1519 2012-11-01 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
1520
1521 gmmproc: Improve the documentation of properties.
1522
1523 * tools/m4/property.m4: Change "the property of the value" to "the value of
1524 the property". Make the description of the return value different for
1525 PropertyProxy, PropertyProxy_ReadOnly and PropertyProxy_WriteOnly.
1526
1527 2012-10-30 José Alburquerque <jaalburquerque@gmail.com>
1528
1529 Resolver: Add lookup_records() and lookup_records_finish().
1530
1531 * glib/glibmm/containerhandle_shared.h: Add TypeTraits specializations
1532 for VariantBase (for the futre) and VariantContainerBase.
1533 * gio/src/resolver.hg: Add the new methods (mentioned above) because
1534 the VariantContainerBase TypeTraits specialization allows the vector
1535 utilities to convert to/from GVariants in a GList correctly.
1536
1537 2012-10-29 José Alburquerque <jaalburquerque@gmail.com>
1538
1539 Resolver: Add the lookup_records_async() methods.
1540
1541 * gio/src/resolver.{ccg,hg}: Add the methods (cancellable and
1542 non-cancellable versions) adding TODO's about wrapping the remaining
1543 related methods (lookup_records() and lookup_records_finish()).
1544 * tools/m4/convert_gio.m4: Add a necessary enum conversion.
1545 * glib/src/variant.hg: Typo discovered while adding above methods.
1546
1547 2012-10-29 José Alburquerque <jaalburquerque@gmail.com>
1548
1549 Add some TODO's.
1550
1551 * gio/src/menuitem.hg:
1552 * gio/src/menumodel.hg: Add TODO's about possibly adding methods to
1553 the classes in these files (these TODO's were added a few days ago and
1554 being commited now). Also add a TODO about an unwrapped signal in
1555 MenuModel.
1556 * glib/src/glib_extra_objects.defs: Add GArray to the list of objects
1557 to avoid a gmmproc documentation warning.
1558
1559 2012-10-29 Mark Vender <markv743@yahoo.co.uk>
1560
1561 Strip trailing whitespace.
1562
1563 * gio/giomm/*.[h|cc]:
1564 * gio/src/*.[hg|ccg]:
1565 * glib/glibmm/*.[h|cc]:
1566 * glib/src/*.[hg|ccg]: Strip trailing whitespace. Bug #681072.
1567
1568 2012-10-25 José Alburquerque <jaalburquerque@gmail.com>
1569
1570 ContentType: Fix typo in the content_type_get_symbolic_icon() name.
1571
1572 * gio/giomm/contenttype.cc: The name was misspelled because the 'o'
1573 and 'l' in 'symbolic' were interchanged. The name is correctly
1574 spelled in the .h file so I guess it's safe to rename it in the .cc
1575 file for 2.34 and the master branch.
1576
1577 2012-10-24 José Alburquerque <jaalburquerque@gmail.com>
1578
1579 DBus::[Connection|Proxy]: Use ifdefs for the UnixFDList call*() methods.
1580
1581 * gio/src/dbusconnection.hg:
1582 * gio/src/dbusproxy.hg: Place the call*() methods taking a UnixFDList
1583 parameter within '#ifdef G_OS_UNIX' ifdefs because the UnixFDList
1584 class exists only on the Unix platform.
1585
1586 2012-10-24 José Alburquerque <jaalburquerque@gmail.com>
1587
1588 Remove the use of g_type_init() because it has been deprecated.
1589
1590 * glib/glibmm/wrap.cc:
1591 * tools/extra_defs_gen/generate_defs_gio.cc:
1592 * tools/extra_defs_gen/generate_defs_glib.cc: The docs for the
1593 function says that the GType system is initialized automatically now
1594 as of 2.36.
1595 * tools/extra_defs_gen/generate_extra_defs.cc: Whitespace correction.
1596
1597 2.34.0:
1598
1599 2012-10-21 Murray Cumming <murrayc@murrayc.com>
1600
1601 Add some documentation.
1602
1603 * gio/src/dbusintrospection.hg:
1604 * gio/src/dbusserver.ccg:
1605 * gio/src/inputstream.hg:
1606 * gio/src/menu.hg:
1607 * gio/src/menuitem.hg:
1608 * gio/src/outputstream.hg:
1609 * glib/src/threads.hg: Deal with some TODOS, mostly
1610 adding documentation based on the C documentation.
1611
1612 2012-10-21 Murray Cumming <murrayc@murrayc.com>
1613
1614 Create only .tar.xz tarballs.
1615
1616 * configure.ac: This is what ftp.gnome.org wants, so this avoids
1617 it doing any repackaging.
1618
1619 2.33.14:
1620
1621 2012-10-12 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
1622
1623 gmmproc: Add 3-argument @newin.
1624
1625 * tools/pm/DocsParser.pm: Convert "Since: 1.2.3" to "@newin{1,2,3}".
1626 Some C projects (goocanvas, grilo, gstreamer) use "Since: 1.2.3", instead of
1627 "Since: 1.2". The corresponding C++ projects need an ALIAS for this @newin
1628 in Doxyfile.in, like in mm-common/skeletonmm/doc/reference/Doxyfile.in.
1629
1630 2012-10-08 José Alburquerque <jaalburquerque@gmail.com>
1631
1632 FileInfo: set_attribute_strings(): Const correction.
1633
1634 * gio/src/fileinfo.hg: Pass the attr_value vector as a const
1635 std::vector<>& and not just a std::vecto<>&. I must not have been
1636 paying attention to what I was doing when wrapping this.
1637
1638 2012-10-07 Murray Cumming <murrayc@murrayc.com>
1639
1640 Require the latest mm-common.
1641
1642 * configure.ac: This should avoid us creating tarballs without
1643 the mm-common improvements.
1644
1645 2012-10-06 Murray Cumming <murrayc@murrayc.com>
1646
1647 MenuItem: get_attribute(): Remove const overload / make it const.
1648
1649 * gio/src/menuitem.hg: It does not make sense to have a return
1650 by value that is const.
1651 * gio/src/menuattributeiter.hg:
1652 * gio/src/menumodel.hg: Add TODOs for a future ABI break, so we can
1653 fix the same problem here.
1654
1655 2012-10-04 José Alburquerque <jaalburquerque@gmail.com>
1656
1657 MenuItem: Rename the get_attribute_value() methods to get_attribute().
1658
1659 * gio/src/menuitem.hg: Rename the just added methods to just
1660 get_attribute() instead of get_attribute_value() to make the method
1661 name shorter. Also deprecate the set_attribute_value() method and add
1662 a set_attribute() method to go with the newly renamed get_attribute()
1663 methods.
1664
1665 2012-10-03 José Alburquerque <jaalburquerque@gmail.com>
1666
1667 MountOperation: Wrap the "show-unmount-progesss" signal.
1668
1669 * gio/src/mountoperation.hg:
1670
1671 2012-10-03 José Alburquerque <jaalburquerque@gmail.com>
1672
1673 MenuItem: Add the get_attribute_value() methods.
1674
1675 * gio/src/menuitem.hg: Add the methods (const and non-const versions)
1676 and overloads without the VariantType parameter which can be null,
1677 wrapping the g_menu_item_get_attribute_value() function.
1678 (MenuItem): Add an overload for the "label" and "submenu" constructor
1679 without the label parameter which can be null.
1680 (create): Do the same for the create() method of the constructor
1681 above.
1682 * gio/src/menumodel.hg: Add an _IGNORE (completing a TODO).
1683
1684 2012-10-03 José Alburquerque <jaalburquerque@gmail.com>
1685
1686 IOStream: Add the splice_async() and splice_finish() methods.
1687
1688 * gio/src/iostream.{ccg,hg}: Add cancellable and non-cancellable
1689 versions of the splice_async() method wrapping the corresponding C
1690 function. Add the splice_finish() method wrapping the corresponding C
1691 function. Also add the class docs.
1692
1693 2012-10-02 José Alburquerque <jaalburquerque@gmail.com>
1694
1695 FileInfo, FileAttributeMatcher: Wrap some unwrapped functions.
1696
1697 * gio/src/fileinfo.hg (FileAttributeMatcher): Add the
1698 create_difference() and to_string() methods wrapping the
1699 g_file_attribute_matcher_subtract() and the
1700 g_file_attribute_matcher_to_string() functions.
1701 (FileInfo): Add the has_namespace(), [get|set]_attribute_status(),
1702 and [get|set]_attribute_strings() methods wrapping the
1703 g_file_info_has_namespace(), g_file_info_[get|set]_attribute_status(),
1704 and g_file_info_[get|set]_attribute_stringv() functions.
1705 * tools/m4/convert_gio.m4: Add an enum and FileAttributeMatcher
1706 conversions.
1707
1708 2012-10-02 José Alburquerque <jaalburquerque@gmail.com>
1709
1710 VariantIter: Correct an _IGNORE.
1711
1712 * glib/src/variantiter.hg:
1713
1714 2012-10-01 José Alburquerque <jaalburquerque@gmail.com>
1715
1716 VariantIter: Add init() method.
1717
1718 * glib/src/variantiter.hg: Wrap the g_variant_iter_init() function.
1719 * tools/m4/convert_glib.m4: Add a necessary conversion.
1720 * glib/src/varianttype.hg: Add an _IGNORE.
1721
1722 2012-10-01 Murray Cumming <murrayc@murrayc-desktop>
1723
1724 DBus::Proxy: Add call(), call_sync() and call_finish() for unix_fd_list.
1725
1726 * gio/src/dbusproxy.[hg|ccg]: Add method overloads for the call methods
1727 that take a GUnixFDList. This is based on the similar methods in
1728 dbusconnection.[hg|ccg].
1729
1730 2012-10-01 Murray Cumming <murrayc@murrayc.com>
1731
1732 DBusConnection: Fix a typo in implementation.
1733
1734 * gio/src/dbusconnection.ccg:
1735 g_dbus_connection_call_with_unix_fd_list() was mistyped. I wonder why
1736 the compiler did not complain.
1737
1738 2012-09-30 José Alburquerque <jaalburquerque@gmail.com>
1739
1740 ActionGroup: Add the query_action() methods.
1741
1742 * tools/m4/base.m4:
1743 * tools/m4/convert_base.m4:
1744 * tools/m4/filelist.am:
1745 * tools/m4/initialize.m4:
1746 * tools/m4/initialize_base.m4:
1747 * tools/m4/initialize_gio.m4:
1748 * tools/m4/initialize_glib.m4:
1749 * tools/m4/initialize_glibmm.m4: Move the _INITIALIZE macros into
1750 their own files as is done for the _CONVERT macros so that some basic
1751 types that are common (like initializing a bool& from a gboolean) can
1752 be defined once and used in other circumstances.
1753
1754 * gio/src/dbusconnection.hg: Move an _INITIALIZATION macro to the
1755 general files above (the gio initialize file).
1756
1757 * gio/src/actiongroup.hg: Add the query_action() methods (the needed
1758 _INITIALIZATION macros are in the glib initialize file).
1759
1760 * tools/pm/Output.pm (convert_args_cpp_to_c): Correct the indentation
1761 of the declarations of the C output variables and the setting of the
1762 C++ output parameters from the C variables for methods that use the
1763 output parameter feature of gmmproc.
1764
1765 2012-09-30 José Alburquerque <jaalburquerque@gmail.com>
1766
1767 RegEx: Add the get_has_cr_or_lf() method.
1768
1769 * glib/src/regex.hg:
1770
1771 2012-09-25 José Alburquerque <jaalburquerque@gmail.com>
1772
1773 gmmproc: Make the output param feature work for single indirection.
1774
1775 * tools/pm/Output.pm (convert_args_cpp_to_c): When inserting C object
1776 initializations for C objects that will be used to set output
1777 parameters, initialize the C object to a "default constructed" object
1778 of the same type if there is single indirection and not zero to ensure
1779 successful compilation in that case.
1780 * tools/m4/method.m4: Whitespace correction of the body of generated
1781 non-static methods. This ensures each statement is on its own line
1782 and that there are no blank lines to make methods as compact as
1783 possible.
1784
1785 Bug #662371.
1786
1787 2.33.13:
1788
1789 2012-09-25 Murray Cumming <murrayc@murrayc.com>
1790
1791 gio_docs.xml: Replace : with :.
1792
1793 * gio/src/gio_docs.xml: This fixes the build.
1794
1795 2012-09-24 Murray Cumming <murrayc@murrayc.com>
1796
1797 Update the *_methods defs files.
1798
1799 * gio/src/gio_methods.defs:
1800 * glib/src/glib_functions.defs:
1801 * glib/src/gobject_functions.defs: Updated with tools/gen_scripts/
1802
1803 2012-09-24 Murray Cumming <murrayc@murrayc.com>
1804
1805 Update the docs XML files.
1806
1807 * gio/src/gio_docs.xml:
1808 * glib/src/glib_docs.xml: Updated with tools/gen_scripts/
1809
1810 2012-09-24 José Alburquerque <jaalburquerque@gmail.com>
1811
1812 Converter[Input|Output]Stream: Correct whitespace typos.
1813
1814 * gio/src/converterinputstream.hg:
1815 * gio/src/converteroutputstream.hg:
1816
1817 2012-09-24 José Alburquerque <jaalburquerque@gmail.com>
1818
1819 giomm: Add the Converter[Input|Output]Stream classes.
1820
1821 * gio/src/converterinputstream.{ccg,hg}:
1822 * gio/src/converteroutputstream.{ccg,hg}:
1823 * gio/src/filelist.am: Add the new sources adding the constructors,
1824 create methods, the methods and properties of the new classes. Add
1825 the sources to the build.
1826 * gio/src/gio_signals.defs:
1827 * tools/extra_defs_gen/generate_defs_gio.cc: Add the two new GTypes to
1828 the extra defs generation utility and regenerate the signal and
1829 property defs file to get the properties of the new classes.
1830 * tools/m4/convert_gio.m4: Add the necessary Converter conversions.
1831
1832 2012-09-20 José Alburquerque <jaalburquerque@gmail.com>
1833
1834 giomm: Add the PollableOutputStream interface.
1835
1836 * gio/src/pollableoutputstream.{ccg,hg}:
1837 * gio/src/filelist.am: Add the sources adding the new interface
1838 methods and virtual functions and include the sources in the build.
1839 * gio/src/gio_extra_objects.defs: Add the new object in this file to
1840 avoid a gmmproc documentation warning.
1841 * gio/src/gio_vfuncs.defs: Add the new interface virtual functions.
1842
1843 2012-09-20 José Alburquerque <jaalburquerque@gmail.com>
1844
1845 giomm: Add the PollableInputStream interface.
1846
1847 * gio/src/pollableinputstream.{ccg,hg}:
1848 * gio/src/filelist.am: Add the sources adding the new interface
1849 methods and virtual functions and include the sources in the build.
1850 * gio/src/gio_extra_objects.defs: Mention the new object in this file
1851 to avoid the gmmproc documentation warnings.
1852 * gio/src/gio_vfuncs.defs: Add the new interface virtual functions but
1853 alphabetize the existing entries by class name.
1854
1855 2012-09-19 José Alburquerque <jaalburquerque@gmail.com>
1856
1857 _WRAP_VFUNC: Prepend @throws clause to vfuncs that throw errors.
1858
1859 * tools/pm/Output.pm (output_wrap_vfunc_h): Prepend a Doxygen @throws
1860 clause to the declaration of virtual functions that throw Glib::Error.
1861
1862 2012-09-18 José Alburquerque <jaalburqu@svn.gnome.org>
1863
1864 Gio::DBus::Connection: Add the call_[finish|sync]() with UnixFDLists.
1865
1866 * gio/src/dbusconnection.{hg,ccg}: Add the methods using gmmproc's
1867 output parameter functionality. Also add the cancellable and
1868 non-cancellable asynchronous call() methods that were #ifdef'ed out
1869 because of the missing call_finish() method.
1870 * tools/m4/convert_gio.m4: Add a necessary enum conversion.
1871
1872 Bug #662371.
1873
1874 2012-09-18 José Alburquerque <jaalburqu@svn.gnome.org>
1875
1876 gmmproc: _WRAP_METHOD: Allow setting parameters from C output params.
1877
1878 * tools/m4/convert_base.m4 (_INITIALIZATION): Insert newlines between
1879 a possible series of statements that has been specified as an
1880 initialization. For example, the declaration, assignment and the
1881 g_free() call would each be on a seperate line in the following (from
1882 datainputstream.hg):
1883
1884 _INITIALIZATION(`std::string&',`return-char*',`char* tmp = $4; $3 = tmp; g_free(tmp)')
1885
1886 * tools/pm/Function.pm (FLAG_PARAM_OPTIONAL):
1887 (FLAG_PARAM_OUTPUT): Added new constant flags representing if a
1888 parameter is optional or if it is an output parameter.
1889 (EXPORT_OK): Exported the above flags so they can be used in other
1890 modules.
1891 (param_optional): Renamed to param_flags. Redesigned it to store a
1892 possible combination of both flags above and not just if a parameter
1893 is optional.
1894 (parse_param): Modified the subroutine to look for an '>>' in a
1895 possible '{.*}' following the current parameter name which would
1896 signal that the parameter is an output parameter. The syntax for
1897 signaling if a parameter is optional, is an output parameter or should
1898 be mapped to a specific C parameter would be:
1899
1900 cpp_param_name{c_param_name>>?}
1901
1902 c_param_name means that the C++ parameter should be mapped to the C
1903 parameter no matter the parameter order of either. The '>>' means
1904 that the parameter should be set from the C parameter because the C
1905 parameter is an output parameter. Finally, the '?' means that the
1906 parameter is optional thus overloads should be generated without that
1907 paramter. All three components within the {} are optional. A '.' may
1908 be used instead of the c parameter name if the C++ parameter name is
1909 the same as the C parameter name.
1910
1911 (possible_args_list): Modified to use the param_flags variable.
1912
1913 * tools/pm/Output.pm (output_wrap_vfunc_h): Modified to receive the
1914 new return type from convert_args_cpp_to_c() (see below).
1915 (output_wrap_meth): Modified to receive the new return from
1916 convert_args_cpp_to_c (see below) and pass them to the _METHOD() and
1917 _STATIC_METHOD() macros.
1918 (convert_args_cpp_to_c): Modified to generate a
1919 list of C declarations for any possible C output parameters and to
1920 generate a list of _INITIALIZE() macros to initialize the C++
1921 parameters from the C output parameters. The function returns an array
1922 of three strings (the convert macros, the possible C declarations and
1923 the _INITIALIZE() macros in that order).
1924
1925 * tools/pm/WrapParser.pm (string_split_commas): Modified the
1926 subroutine to ignore '>>' if they are in '{}' (so that the '>>' can
1927 signal that a parameter should be set from a C output parameter.
1928
1929 * tools/m4/method.m4 (_METHOD, _STATIC_METHOD): Rewrote to accept
1930 C declarations of possible C output parameters and _INITIALIZE macros
1931 which would initialize the appropriate C++ parameters from the output
1932 variables and insert them appropriately in the generated code.
1933
1934 Bug #662371.
1935
1936 2012-09-18 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
1937
1938 Improve the use of _IGNORE. Don't use gio_others.defs.
1939
1940 * gio/src/applicationcommandline.hg: Change a _CONVERSION (due to the
1941 exclusion of gio_others.defs).
1942 * gio/src/dbusintrospection.hg:
1943 * gio/src/fileinfo.hg: Add _IGNORE.
1944 * gio/src/fileiostream.hg:
1945 * gio/src/fileoutputstream.hg: Correct an _IGNORE.
1946 * gio/src/gio.defs: Don't include gio_others.defs. One of its entries is
1947 wrong and all of them also exist (in correct form) in gio_methods.defs or
1948 gio_signals.defs.
1949 * glib/src/convert.hg:
1950 * glib/src/regex.hg: Add _IGNORE.
1951 * glib/src/date.hg:
1952 * glib/src/fileutils.hg:
1953 * glib/src/markup.hg:
1954 * glib/src/optionentry.hg:
1955 * glib/src/shell.hg:
1956 * glib/src/spawn.hg:
1957 * glib/src/thread.hg:
1958 * glib/src/threads.hg:
1959 * glib/src/unicode.hg:
1960 * glib/src/uriutils.hg: Remove _IGNORE(g_iconv).
1961 * glib/src/variantiter.hg: Add an _IGNORE. Remove _IGNORE(g_variant_iter_new).
1962
1963 2012-09-18 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
1964
1965 gmmproc: Improve the search for unwrapped methods.
1966
1967 * tools/pm/GtkDefs.pm: lookup_method_set_weak_mark(): New function.
1968 get_unwrapped(): Correct the search when methods from more than one class
1969 have been wrapped.
1970 GtkDefs::Function::new(): Take into account that a method (g_iconv) may be
1971 nameless. After this change the patch of g_iconv in glib_functions.defs.patch
1972 is probably unnecessary but harmless.
1973 * tools/pm/WrapParser.pm: on_wrap_method_docs_only(), on_wrap_ctor():
1974 Call GtkDefs::lookup_method_set_weak_mark().
1975 on_wrap_method(): Call GtkDefs::lookup_method_set_weak_mark() if the method
1976 is static.
1977
1978 2012-09-14 José Alburquerque <jaalburquerque@gmail.com>
1979
1980 _CLASS_GOBJECT: Allow classes to have custom wrap() functions.
1981
1982 * tools/m4/class_gobject.m4 (_CUSTOM_WRAP_FUNCTION): Add this new
1983 macro which can be used in _CLASS_GOBJECT classes so that if they want
1984 they can write their own implementation of their Glib::wrap()
1985 function. This is useful for modules such as gstreamermm that want to
1986 keep certain classes (like the plug-ins) from being registered on
1987 startup but then do a one time registration of the wrap_new() function
1988 in the Glib::wrap() function before calling Glib::wrap_auto() which
1989 can then find the wrap_new() function if necessary.
1990
1991 Bug #684006.
1992
1993 2012-09-14 José Alburquerque <jaalburquerque@gmail.com>
1994
1995 generate_wrap_init.pl: Allow classes in files to not be registered.
1996
1997 * tools/m4/class_shared.m4: Add a new _NO_WRAP_INIT_REGISTRATION macro
1998 used in the generate_wrap_init.pl script to recognize a file whose
1999 classes should not be registered by wrap_init().
2000 * tools/generate_wrap_init.pl.in (exclude_from_wrap_init): Include a
2001 hash map to determine if the classes in a file should not be
2002 registered with the wrapping system by the wrap_init() function.
2003 (main): Modified to see if the new _NO_WRAP_INIT_REGISTRATION macro is
2004 used in a file and store a true/false value in the hash map for the
2005 specified file. Also, modified to not include the includes, the
2006 *_get_type() function declarations, the wrap_new() function
2007 declarations and the *::get_type() invocations of the classes in the
2008 file marked for no registration.
2009
2010 Bug #684006.
2011
2012 2012-09-16 Murray Cumming <murrayc@murrayc.com>
2013
2014 File: Add remove_async() and remove_finish().
2015
2016 * gio/src/file.[hg|ccg]: As for the sync version, we
2017 rename delete to remove, because the sync vesion would be
2018 delete(), which uses a C++ keyword.
2019
2020 2012-09-15 Murray Cumming <murrayc@murrayc.com>
2021
2022 Simplified lots of code by using the {?} _WRAP_METHOD() syntax.
2023
2024 * gio/src/application.[hg|ccg]:
2025 * gio/src/bufferedinputstream.[hg|ccg]:
2026 * gio/src/datainputstream.[hg|ccg]:
2027 * gio/src/dataoutputstream.[hg|ccg]:
2028 * gio/src/dbusconnection.[hg|ccg]:
2029 * gio/src/fileenumerator.[hg|ccg]:
2030 * gio/src/initable.[hg|ccg]:
2031 * gio/src/inputstream.[hg|ccg]:
2032 * gio/src/iostream.[hg|ccg]:
2033 * gio/src/outputstream.[hg|ccg]:
2034 * gio/src/resolver.[hg|ccg]:
2035 * gio/src/seekable.[hg|ccg]:
2036 * gio/src/socket.[hg|ccg]:
2037 * gio/src/socketaddressenumerator.[hg|ccg]:
2038 * gio/src/socketclient.[hg|ccg]: This relatively new gmmproc syntax lets
2039 us avoid the manual implementations and declarations just to have
2040 overloads without the Cancellable parameters.
2041 * gio/src/unixconnection.hg: This had no method overloads without
2042 Cancellable parameters but now it does.
2043
2044 2012-09-15 Murray Cumming <murrayc@murrayc.com>
2045
2046 Gio::File: Correct the commit again
2047
2048 * gio/src/file.[hg|ccg]: make_directory() was missing a {?}.
2049
2050 2012-09-15 Murray Cumming <murrayc@murrayc.com>
2051
2052 Gio::File: Correct the previous commit.
2053
2054 * gio/src/file.[hg|ccg]: Do not use {?} with query_file_type()
2055 because it cannot cope with also having a default parameter value
2056 on an earlier parameter.
2057
2058 2012-09-15 Murray Cumming <murrayc@murrayc.com>
2059
2060 Gio::File: Simplify the code by using {?} in _WRAP_METHOD()
2061
2062 * gio/src/file.[hg|ccg]: This relatively new gmmproc syntax lets
2063 us avoid the manual implementations and declarations just to have
2064 overloads without the Cancellable parameters.
2065
2066 2012-09-15 Murray Cumming <murrayc@murrayc.com>
2067
2068 AppLaunchContext: Add setenv(), unsetenv() and get_environment().
2069
2070 * gio/src/applaunchcontext.hg: Wrap these C functions.
2071
2072 2012-09-12 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
2073
2074 Use std::time_t instead of ::time_t.
2075
2076 * build/c_std.m4:
2077 * glib/src/date.[hg|ccg]: Use std::time_t instead of ::time_t. Only
2078 std::time_t is required to be declared in <ctime>, which is recommended
2079 instead of <time.h> in C++ programs.
2080
2081 2012-09-12 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
2082
2083 Use std::size_t and std::ptrdiff_t.
2084
2085 * glib/glibmm/arrayhandle.h:
2086 * glib/glibmm/containers.h:
2087 * glib/glibmm/listhandle.h:
2088 * glib/glibmm/slisthandle.h:
2089 * glib/glibmm/vectorutils.h: Use std::size_t and std::ptrdiff_t instead
2090 of ::size_t and ::ptrdiff_t. Only the std versions are required to be
2091 declared in <cstddef>.
2092 * examples/network/resolver.cc:
2093 * glib/glibmm/containerhandle_shared.h:
2094 * glib/glibmm/helperlist.h:
2095 * glib/glibmm/main.h:
2096 * glib/glibmm/vectorutils.cc: Use std::size_t instead of ::size_t.
2097 * glib/src/convert.hg: Use std::size_t instead of ::size_t in a comment.
2098 * glib/glibmm/property.cc:
2099 * glib/glibmm/ustring.h: Use std::ptrdiff_t instead of ::ptrdiff_t.
2100
2101 2.33.12:
2102
2103 2012-09-07 Murray Cumming <murrayc@murrayc.com>
2104
2105 Socket: Remove create_source() again.
2106
2107 * gio/src/socket.hg:
2108 * tools/m4/convert_glib.m4: Comment out
2109 create_source() because Glib::Source (in main.h)
2110 does not have a Glib::wrap(). Maybe it should.
2111
2112 2012-09-07 Murray Cumming <murrayc@murrayc.com>
2113
2114 Socket. Add several methods.
2115
2116 * gio/src/socket.hg: Added create_source(),
2117 get_available_bytes(), get_ttl(), set_ttl(),
2118 get_broadcast(), set_broadcast(),
2119 get_multicast_loopback(), set_multicast_loopback(),
2120 get_multicast_ttl(), set_multicast_ttl(),
2121 join_multicast_group(), leave_multicast_group(),
2122 and properties.
2123 * tools/m4/convert_glib.m4: Added a conversion for
2124 GIOSource.
2125
2126 2012-09-07 Murray Cumming <murrayc@murrayc.com>
2127
2128 Volume: Add get_sort_key().
2129
2130 * gio/src/volume.hg: Wrap g_volume_get_sort_key().
2131
2132 2012-09-07 Murray Cumming <murrayc@murrayc.com>
2133
2134 ContentType: get_icon(): Fix a refcount error.
2135
2136 * gio/giomm/contenttype.cc: get_icon(): Take a reference.
2137
2138 2012-09-07 Murray Cumming <murrayc@murrayc.com>
2139
2140 MenuItem: Add get_link().
2141
2142 * gio/src/menuitem.hg: Wrap g_menu_item_get_link().
2143
2144 2012-09-07 Murray Cumming <murrayc@murrayc.com>
2145
2146 Gio: DBusAuthObserver: Add allow_mechanism().
2147
2148 * gio/src/dbusauthobserver.hg: Add the allow_mechanism()
2149 method and signal.
2150
2151 2012-09-07 Murray Cumming <murrayc@murrayc.com>
2152
2153 Application: Add get_dbus_*() methods.
2154
2155 * gio/src/application.hg: Add get_dbus_connection()
2156 and get_dbus_object_path().
2157 * tools/m4/convert_gio.m4: Added a necessary conversion.
2158
2159 2012-09-06 Murray Cumming <murrayc@murrayc.com>
2160
2161 Tell the documentation generator about GMenu.
2162
2163 * gio/src/gio_extra_objects.defs: Add GMenu to avoid
2164 a warning from gmmproc.
2165
2166 2012-09-06 Murray Cumming <murrayc@murrayc.com>
2167
2168 Regenerated some glib .defs.
2169
2170 * glib/src/glib_docs.xml:
2171 * glib/src/glib_enums.defs:
2172 * glib/src/glib_functions.defs:
2173 * glib/src/gobject_functions.defs:
2174
2175 2012-09-06 Murray Cumming <murrayc@murrayc.com>
2176
2177 Regenerate other gio .defs.
2178
2179 * gio/src/gio_docs.xml:
2180 * gio/src/gio_signals.defs: Regenerated.
2181
2182 2012-09-06 Murray Cumming <murrayc@murrayc.com>
2183
2184 Add get_symbolic_icon() methods.
2185
2186 * gio/src/gio_methods.defs: Regenerated.
2187 * gio/giomm/contenttype.[h|cc]: Add get_symbolic_icon().
2188 * gio/src/drive.hg: Add get_symbolic_icon().
2189 * gio/src/fileinfo.hg: Add get_symbolic_icon().
2190 * gio/src/mount.hg: Add get_symbolic_icon().
2191 * gio/src/volume.hg: Add get_symbolic_icon().
2192
2193 2012-09-06 José Alburquerque <jaalburquerque@gmail.com>
2194
2195 Converter: Correct the "convert" virtual function.
2196
2197 * gio/src/converter.hg (convert_vfunc): Have the virtual function
2198 throw the final GError parameter of the C function instead of
2199 including it in the C++ parameter list. This is done by using the
2200 recently added _WRAP_VFUNC functionality.
2201
2202 2012-09-05 José Alburquerque <jaalburquerque@gmail.com>
2203
2204 gmmproc: _WRAP_VFUNC: Handle virtual functions that throw GErrors.
2205
2206 * tools/pm/WrapParser.pm (on_wrap_vfunc): Modified so that _WRAP_VFUNC
2207 recognizes an optional "errthrow" parameter as is done in
2208 _WRAP_METHOD.
2209 (output_wrap_vfunc): Modified to tag the located virtual function
2210 definition as one that will be wrapped by a C++ method that throws the
2211 final C GError parameter.
2212 * tools/pm/Output.pm (output_wrap_vfunc_cc): Modified to pass an
2213 optional "errthrow" string to _VFUNC_CC and _VFUNC_PCC so that they
2214 can include the proper code for the getting and throwing of the
2215 GError. Also modified to pass the "errthrow" string to the
2216 convert_args_cpp_to_c() so that it process the C++ method as one
2217 throwing a Glib::Error.
2218 (convert_args_c_to_cpp): Modified to ignore the final GError if the
2219 C function has been marked as one that will be wrapped by a C++ method
2220 throwing the final C GError parameter.
2221
2222 * tools/m4/vfunc.m4 (_VFUNC_PCC): Modified to recognize a final
2223 "errthrow" string parameter in which case code is inserted to declare
2224 a local parameter in which to store the C GError and then throw
2225 it as a Glib::Error if an error was received when the underlying C
2226 function is called in the virtual function callback.
2227 (_VFUNC_CC): Also modified to recognize a final "errthrow" string
2228 parameter inserting code to store and then throw a possibly obtained
2229 GError as a Glib::Error in the C++ virtual function when calling the
2230 underlying C virtual function.
2231
2232 Bug #683460.
2233
2234 2012-09-04 José Alburquerque <jaalburquerque@gmail.com>
2235
2236 giomm: Add the ZlibDecompressor and the CharsetConverter classes.
2237
2238 * gio/src/charsetconverter.{ccg,hg}:
2239 * gio/src/zlibdecompressor.{ccg,hg}:
2240 * gio/src/filelist.am: Add the new sources wrapping the C functions
2241 and properties in the corresponding classes. Include the sources in
2242 the build.
2243 * gio/src/gio_signals.defs:
2244 * tools/extra_defs_gen/generate_defs_gio.cc: Add the GTypes for the C
2245 types in the property and signal generation utility and regenerate the
2246 defs file so the properties of the new classes can be wrapped.
2247
2248 * gio/src/zlibcompressor.hg: Make the constructor protected and not
2249 private (typo).
2250
2251 2012-09-03 José Alburquerque <jaalburquerque@gmail.com>
2252
2253 giomm: Add the ZlibCompressor class.
2254
2255 * gio/src/zlibcompressor.{ccg,hg}:
2256 * gio/src/filelist.am: Add the ZlibCompressor class which derives from
2257 the Converter interface wrapping the C functions and properties and
2258 include the sources in the build.
2259 * tools/extra_defs_gen/generate_defs_gio.cc:
2260 * gio/src/gio_signals.defs: Add the GZlibCompressor GType to the
2261 properties and signals generation utility and regenerate the defs
2262 file.
2263 * tools/m4/convert_gio.m4: Add the new enum conversion.
2264
2265 2012-09-02 José Alburquerque <jaalburquerque@gmail.com>
2266
2267 giomm: Add the Converter interface.
2268
2269 * gio/src/converter.{ccg,hg}: Add the source files wrapping the C
2270 functions as methods and wrapping the virtual functions.
2271 * gio/src/filelist.am: Include the sources in the build.
2272 * gio/src/gio_vfuncs.defs: Add the necessary virtual function
2273 definitions so the virtual functions can be wrapped.
2274 * tools/m4/convert_gio.m4: Add the new enum and flag conversions.
2275
2276 2012-09-01 Murray Cumming <murrayc@murrayc.com>
2277
2278 Avoid warnings from documenation generation.
2279
2280 * gio/src/gio_docs.xml: Replace : with :
2281
2282 2012-09-01 Murray Cumming <murrayc@murrayc.com>
2283
2284 Gio::AppInfo: Wrap some new methods.
2285
2286 * gio/src/appinfo.hg: Add get_display_name(),
2287 set_as_last_used_for_type() and get_supported_types().
2288
2289 2012-09-01 Murray Cumming <murrayc@murrayc.com>
2290
2291 Regenerate .defs.
2292
2293 * gio/src/gio_docs.xml:
2294 * gio/src/gio_methods.defs:
2295 * gio/src/gio_signals.defs:
2296 * glib/src/glib_docs.xml:
2297 * glib/src/glib_enums.defs:
2298 * glib/src/glib_functions.defs:
2299 * glib/src/gobject_functions.defs: Regenerate using tools/gen_scripts/
2300
2301 2012-09-01 Murray Cumming <murrayc@murrayc.com>
2302
2303 Gio: ProxyAddress: Wrap some new methods.
2304
2305 * gio/src/proxyaddress.hg: Add get_destination_protocol()
2306 and get_uri().
2307
2308 2012-09-01 Murray Cumming <murrayc@murrayc.com>
2309
2310 Gio: Menu, MenuModel: Wrap some new methods.
2311
2312 * gio/src/menu.hg: Add append_section().
2313 * gio/src/menumodel.hg: Add is_mutable() and get_n_items().
2314
2315 2.33.4:
2316
2317 2012-08-01 Murray Cumming <murrayc@murrayc.com>
2318
2319 gio_extra_objects: Mention GMenuItem.
2320
2321 * gio/src/gio_extra_objects.defs:
2322 This helps the documentation generator.
2323
2324 2012-07-28 Krzesimir Nowak <qdlacz@gmail.com>
2325
2326 Add a test checking whether floating variants are always sunk.
2327
2328 * tests/glibmm_variant/main.cc: New test.
2329 Bug #680407
2330
2331 2012-07-28 Krzesimir Nowak <qdlacz@gmail.com>
2332
2333 Implement custom cast constructor for VariantBase.
2334
2335 * glib/src/variant.hg:
2336 * glib/src/variant.ccg: Use _CUSTOM_CTOR_CAST macro and implement
2337 cast constructor. This is needed, because we always want to sink
2338 a GVariant.
2339 Bug #680407
2340
2341 2012-07-28 Krzesimir Nowak <qdlacz@gmail.com>
2342
2343 Add _CUSTOM_CTOR_CAST macro for _CLASS_OPAQUE_COPYABLE.
2344
2345 * tools/m4/class_opaque_copyable.m4: New macro.
2346 Bug #680407
2347
2348 2012-07-26 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
2349
2350 Glib::Threads:[Rec]Mutex: Add wrap() functions.
2351
2352 * glib/src/threads.[hg|ccg]: Add Mutex* wrap(GMutex*) and
2353 RecMutex* wrap(GRecMutex*). Bug #483790.
2354
2355 2012-07-22 Krzesimir Nowak <qdlacz@gmail.com>
2356
2357 Properly wrap g_key_file_load_from_dirs().
2358
2359 * glib/src/keyfile.hg:
2360 * glib/src/keyfile.ccg: The just deprecated wrapper was
2361 incorrectly passing an array wrapper for full_path parameter when
2362 it should pass a std::string&, because full_path is an output
2363 parameter. Added handwritten wrapper passing proper parameter.
2364
2365 2012-07-22 Krzesimir Nowak <qdlacz@gmail.com>
2366
2367 Wrap g_variant_type_peek_string() by hand.
2368
2369 * glib/src/gvarianttype.hg:
2370 * glib/src/gvarianttype.ccg: The wrapped function does not return
2371 a C string (it is not NULL terminated), so std::string(str, size)
2372 constructor needs to be used. I wonder how glibmm_variant test
2373 passed through all distchecks so far...
2374
2375 2012-07-16 Murray Cumming <murrayc@murrayc.com>
2376
2377 Show get_type() in the API documentation.
2378
2379 * tools/m4/class_boxedtype.m4:
2380 * tools/m4/class_boxedtype_static.m4:
2381 * tools/m4/class_gobject.m4:
2382 * tools/m4/class_interface.m4: Move the static get_type()
2383 functions out of the ifdef so that doxygen can see them,
2384 because they are sometimes needed, for instance when
2385 implementing a custom container.
2386 Bug #670212 (Mark Vender).
2387
2388 2012-07-10 Krzesimir Nowak <qdlacz@gmail.com>
2389
2390 Glib::Checksum: Fix a typo.
2391
2392 * glib/src/checksum.hg: Should be *_SHOULD_*, not *_SHOUD_*.
2393
2394 2.33.3:
2395
2396 2012-07-10 Murray Cumming <murrayc@murrayc.com>
2397
2398 Gio::InetSocketAddress: Added get_flowinfo() and get_scope_id()
2399
2400 * gio/src/inetsocketaddress.hg: And add the properties.
2401
2402 2012-07-10 Murray Cumming <murrayc@murrayc.com>
2403
2404 Gio::OutputStream: Add write_bytes().
2405
2406 * tools/m4/convert_glib.m4:
2407 * gio/src/outputstream.[hg|ccg]: Add write_bytes(), write_bytes_async(),
2408 and write_bytes_finish().
2409
2410 2012-07-10 Murray Cumming <murrayc@murrayc.com>
2411
2412 Added Glib::Bytes and Gio::InputStream::read_bytes().
2413
2414 * glib/src/bytes.[hg|ccg]:
2415 * glib/src/filelist.am:
2416 * tools/m4/convert_glib.m4: Added a simple GBytes wrapper.
2417 * gio/src/inputstream.[hg|ccg]: Added read_bytes(), read_bytes_async()
2418 and read_bytes_finish() using the new Glib::Bytes type.
2419
2420 2012-07-10 Murray Cumming <murrayc@murrayc.com>
2421
2422 Gio::DBus::Connection: Add get_last_serial().
2423
2424 * gio/src/dbusconnection.hg: Wrap g_dbus_connection_get_last_serial().
2425
2426 2012-07-02 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
2427
2428 generate_wrap_init.pl: Add _INCLUDE_IN_WRAP_INIT, _GMMPROC_WRAP_CONDITIONALLY.
2429
2430 * tools/generate_wrap_init.pl.in: Handle _INCLUDE_IN_WRAP_INIT and
2431 _GMMPROC_WRAP_CONDITIONALLY.
2432 * tools/m4/class_shared.m4: Add _INCLUDE_IN_WRAP_INIT and
2433 _GMMPROC_WRAP_CONDITIONALLY. Bug #678883.
2434
2435 2012-07-01 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
2436
2437 Update .gitignore.
2438
2439 * .gitignore: Add /glib/glibmm/threads.[h|cc]. Update /examples/dbus/*.
2440
2441 2.33.2:
2442
2443 2012-06-19 Murray Cumming <murrayc@murrayc.com>
2444
2445 gio_signals.defs: Regenerate.
2446
2447 * gio/src/gio_signals.defs: Regenerate with gen_scripts.
2448
2449 2012-06-19 Murray Cumming <murrayc@murrayc.com>
2450
2451 gen_scripts: Correct some comments/documentation.
2452
2453 * tools/gen_scripts/gio_generate_extra_defs.sh:
2454 * tools/gen_scripts/glib_generate_extra_defs.sh:
2455 These do not need JHBUILD_SOURCES to be defined.
2456
2457 2012-06-13 Murray Cumming <murrayc@murrayc.com>
2458
2459 Updated the *docs.xml files.
2460
2461 * gio/src/gio_docs.xml:
2462 * glib/src/glib_docs.xml: Used the gen_scripts.
2463
2464 2012-06-13 Murray Cumming <murrayc@murrayc.com>
2465
2466 Updated the methods .defs.
2467
2468 * gio/src/gio_methods.defs:
2469 * glib/src/glib_functions.defs:
2470 * glib/src/gobject_functions.defs: Used the gen_scripts.
2471
2472 2012-06-13 Murray Cumming <murrayc@murrayc.com>
2473
2474 Updated the enums .defs.
2475
2476 * gio/src/gio_enums.defs:
2477 * glib/src/glib_enums.defs: Used the gen_scripts.
2478
2479 2012-06-13 Murray Cumming <murrayc@murrayc.com>
2480
2481 Simplify the gen_scripts slightly.
2482
2483 * tools/gen_scripts/gio_generate_docs.sh:
2484 * tools/gen_scripts/gio_generate_enums.sh:
2485 * tools/gen_scripts/gio_generate_methods.sh:
2486 * tools/gen_scripts/glib_generate_docs.sh:
2487 * tools/gen_scripts/glib_generate_enums.sh:
2488 * tools/gen_scripts/glib_generate_methods.sh:
2489 Do not require changes to PATH.
2490
2491 2.33.1 (unstable):
2492
2493 2012-06-08 Michał Wróbel <michal.wrobel@flytronic.pl>
2494
2495 Thread::RecMutex: Don't initialize this as a GStaticMutex.
2496
2497 The previous code (removed here) depended on an implementation
2498 detail of GStaticRecMutex, which was changed in this glib commit:
2499 http://git.gnome.org/browse/glib/commit/?id=2b281e40f32b7916d856dcc95e6f8fe625fcff03
2500
2501 This change avoids a deadlock with that version of glib.
2502 Note that Thread::* is deprecated anyway, which is lucky because we do not
2503 know for sure that this fix is enough.
2504 Bug #677291
2505
2506 2012-06-04 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
2507
2508 Glib::add_exception_handler(): Fix misplaced endif.
2509
2510 * glib/glibmm/exceptionhandler.h: Fix a misplaced endif, which has made
2511 Doxygen exclude add_exception_handler() from the documentation.
2512
2513 2012-05-28 Murray Cumming <murrayc@murrayc.com>
2514
2515 Application: Pass 0 (NULL) rather than "" to GApplication.
2516
2517 * gio/src/application.ccg: It is annoying that GApplication (and other
2518 C code) distinguishes, of course.
2519
2520 2012-05-27 Murray Cumming <murrayc@murrayc.com>
2521
2522 Gio::Application: Allow the application ID to be empty.
2523
2524 * configure.ac: Depend on the latest unstable glib release (2.33.1).
2525 * gio/src/application.hg: constructor, create(): Add a default
2526 (empty string) parameter for the application ID, because this may
2527 now be empty if you do not need the full GApplication functionality.
2528
2529 2012-04-21 Kalev Lember <kalevlember@gmail.com>
2530
2531 Gio: Start wrapping GResource.
2532
2533 * gio/src/resource.[hg|ccg]: Add Gio::ResourceError so that the
2534 resource handling functions in gtkmm could use it. The rest of the
2535 GResource API is unwrapped.
2536 * gio/src/filelist.am: List new resource.hg file.
2537 Bug #674545.
2538
2539 2012-04-17 Krzesimir Nowak <qdlacz@gmail.com>
2540
2541 Miscutils: Fix typos.
2542
2543 * glib/glibmm/miscutils.cc: Return early from get_system_data_dirs()
2544 and get_system_config_dirs() when C function returns NULL.
2545
2546 2.32.0:
2547
2548 2012-04-05 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
2549
2550 gmmproc: Add macro _CUSTOM_CTOR_CAST in _CLASS_BOXEDTYPE.
2551
2552 * tools/m4/class_boxedtype.m4: Add macro _CUSTOM_CTOR_CAST.
2553 Bug #511136, comment 20.
2554
2555 2012-04-10 Chun-wei Fan <fanc999@src.gnome.org>
2556
2557 Update Visual Studio projects
2558
2559 * Fix Visual C++ projects for glibmm and giomm as numerous
2560 sources have been added for the addition of APIs so that
2561 these libraries can be properly built
2562
2563 2012-04-04 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
2564
2565 Glib::Dispatcher: Don't send messages to a deleted Dispatcher.
2566
2567 * glib/glibmm/dispatcher.h: Add missing usage rules.
2568 * glib/glibmm/dispatcher.cc: Avoid delivering messages to deleted Dispatchers.
2569 Don't block message delivery while a second main loop is running.
2570 Bug #651942.
2571
2572 2012-04-04 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
2573
2574 Make SignalTimeout,SignalIdle::connect_once() more thread safe.
2575
2576 * glib/glibmm/main.cc: Call SourceConnectionNode::install() before
2577 g_source_attach(). Suggested by Chris Vine. Bug #396963 comments 15-18.
2578
2579 2012-04-03 Murray Cumming <murrayc@murrayc.com>
2580
2581 Some improvements to the documentation in the previous commit.
2582
2583 * glib/glibmm/property.h:
2584
2585 2012-04-03 Mark Vender <markv743@yahoo.co.uk>
2586
2587 Document Glib::Property and Glib::PropertyBase
2588
2589 * glib/glibmm/property.h:
2590 Bug #673291
2591
2592 2012-04-03 Murray Cumming <murrayc@murrayc.com>
2593
2594 Slight rewrite of the documenation in the previous commit.
2595
2596 * tools/m4/class_interface.m4:
2597
2598 2012-04-03 Mark Vender <markv743@yahoo.co.uk>
2599
2600 gmmproc: Generate the documentation of default constructors of interface classes.
2601
2602 Bug #673213
2603
2604 2012-04-03 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
2605
2606 Make SignalTimeout,SignalIdle::connect_once() more thread safe.
2607
2608 * glib/glibmm/main.cc: Don't create a sigc::connection in the connect_once()
2609 methods. Bug #396963.
2610
2611 2012-03-30 Murray Cumming <murrayc@murrayc.com>
2612
2613 Regenerate .defs files.
2614
2615 * gio/src/gio_docs.xml:
2616 * gio/src/gio_enums.defs:
2617 * gio/src/gio_signals.defs:
2618 * glib/src/glib_docs.xml:
2619 * glib/src/glib_enums.defs:
2620 * glib/src/glib_functions.defs:
2621 * glib/src/gobject_functions.defs: Regenereated using
2622 the scripts.
2623
2624 2.31.22:
2625
2626 2012-03-26 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
2627
2628 gmmproc: _WRAP_SIGNAL(): Mark deprecated signals in the _p.h and .cc files.
2629
2630 * tools/pm/WrapParser.pm: output_wrap_signal(): Pass $deprecated to
2631 output_wrap_default_signal_handler_[h|cc]().
2632 * tools/pm/Output.pm: output_wrap_default_signal_handler_[h|cc]():
2633 Take a 'deprecated' bool parameter and pass it to _SIGNAL_P[H|CC]().
2634 * tools/m4/signal.m4: _SIGNAL_PROXY(): Add deprecation info to the .cc file.
2635 _SIGNAL_PH(), _SIGNAL_PCC(): Take a 'deprecated' bool parameter.
2636
2637 2012-03-26 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
2638
2639 gmmproc: _WRAP_PROPERTY(): Fix mixed-up deprecation and documentation.
2640
2641 * tools/pm/Output.pm: Add $deprecated in the first call to _PROPERTY_PROXY().
2642 * tools/m4/property.m4: Correct comments in .cc files by swapping #endif's
2643 in _PROPERTY_PROXY().
2644
2645 2012-03-25 Murray Cumming <murrayc@murrayc.com>
2646
2647 Gio: Move AppLaunchContext into its own header file.
2648
2649 * gio/src/appinfo.[hg|ccg]: Move the AppLaunchContext class into:
2650 * gio/src/applaunchcontext.[hg|ccg]:
2651 This helps gmmproc, for instance when deriving from it for
2652 Gdk::AppLaunchContext.
2653
2654 2012-03-25 José Alburquerque <jaalburquerque@gmail.com>
2655
2656 Action, DBusObject: Ensure vfunc callbacks return valid memory.
2657
2658 * gio/src/action.hg (get_name_vfunc_callback):
2659 * gio/src/dbusobject.hg (get_object_path_vfunc_callback):
2660 (get_interfaces_vfunc_callback): Ensure that the return values of the
2661 virtual functions of these callbacks are properly copied by correcting
2662 the appropriate conversions so that the callbacks don't return empty
2663 memory.
2664
2665 2012-03-23 Murray Cumming <murrayc@murrayc.com>
2666
2667 ActionGroup: list_actions_vfunc(): Do not return freed memory.
2668
2669 * gio/src/actiongroup.hg: list_actions vfunc: Correct the conversion,
2670 doing a deep copy of the array of strings.
2671
2672 2012-03-23 Murray Cumming <murrayc@murrayc.com>
2673
2674 gmmproc: _WRAP_SIGNAL(): Allow signals to be deprecated.
2675
2676 * tools/pm/WrapParser.pm: on_wrap_signal(): Parse an optional
2677 deprecated "the explanation" parameter.
2678 * tools/pm/Output.pm: output_wrap_signal_decl(): Take a deprecated bool
2679 and deprecated_docs, passing them to the m4 macro.
2680 * tools/m4/signal.m4: _SIGNAL_PROXY(): Take a deprecated bool parameter
2681 and use it to ifdef-out the signal declaration.
2682 However, we cannot put the ifdef around the default signal handler,
2683 because that would break ABI.
2684
2685 2012-03-22 Murray Cumming <murrayc@murrayc.com>
2686
2687 Gio: MenuItem: set_action_and_target(): Add one without the variant.
2688
2689 * gio/src/menuitem.[hg|ccg]: set_action_and_target(): Rename to
2690 set_action() and add a set_action() with just the action name,
2691 because the GVariant* is optional.
2692
2693 2012-03-22 Murray Cumming <murrayc@murrayc.com>
2694
2695 Gio: SimpleAction: Add a parameter that takes no VariantType.
2696
2697 * gio/src/simpleaction.[hg|ccg]: The GVariantType* is optional.
2698
2699 2012-03-22 Murray Cumming <murrayc@murrayc.com>
2700
2701 Gio: Menu, MenuItem: Add default parameter values.
2702
2703 * gio/src/menu.hg:
2704 * gio/src/menuitem.hg: Let the detailed_description parameters be
2705 empty.
2706
2707 2012-03-22 Murray Cumming <murrayc@murrayc.com>
2708
2709 Gio: Add Menu and MenuItem.
2710
2711 * tools/extra_defs_gen/generate_defs_gio.cc: Mention the new GTypes here,
2712 though they do not seem to have any properties or signals.
2713
2714 * gio/src/filelist.am:
2715 * gio/src/menu.[hg|ccg]:
2716 * gio/src/menuitem.[hg|ccg]: Add these classes, as a way to create
2717 the Gio::MenuModel for Gtk::Application::set_app_menu() and set_menubar().
2718 * tools/m4/convert_gio.m4: Add MenuItem conversion.
2719 * gio/giomm.h: Mention the new headers here.
2720
2721 2012-03-22 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
2722
2723 Dispatcher examples: Use Glib::signal_idle().connect_once().
2724
2725 * examples/thread/dispatcher.cc: Use Glib::signal_idle().connect_once().
2726 * examples/thread/dispatcher2.cc: Use Glib::signal_idle().connect_once().
2727 Rename class Dispatcher to ThreadDispatcher. Bug #396963
2728
2729 2012-03-15 Murray Cumming <murrayc@murrayc.com>
2730
2731 Fix some warnings found by clang++.
2732
2733 * glib/glibmm/class.cc: registered_derived_type(): Use (void*)0 instead
2734 of NULL to avoid a missing sentintel warning.
2735
2736 2012-03-16 José Alburquerque <jaalburquerque@gmail.com>
2737
2738 Gio::DBus::Object: Add the signals of the interface.
2739
2740 * gio/src/dbusobject.hg: Add the signal_interface_[added|removed]()
2741 signals of the interface.
2742 * tools/extra_defs_gen/generate_defs_gio.cc: Add the GDBusObject GType
2743 to the signal and properties generation utility.
2744 * gio/src/gio_signals.defs: Regenerate the defs file to get the
2745 signals of the interface.
2746 * tools/m4/convert_gio.m4: Add a necessary conversion for wrapping the
2747 signals.
2748
2749 * gio/src/dbusinterface.hg: Whitespace corrections.
2750
2751 2012-03-15 José Alburquerque <jaalburquerque@gmail.com>
2752
2753 DateTime: Correct the declaration of the TimeVal struct.
2754
2755 * glib/src/datetime.hg: It was declared as a class but is in fact a
2756 struct. I also built the jhbuild c++ sources (as gtkmm was) using
2757 clang++ out of curiosity which discovered this.
2758
2759 2012-03-14 José Alburquerque <jaalburquerque@gmail.com>
2760
2761 Gio::DBus: Add the Interface and Object interfaces.
2762
2763 * gio/src/dbusinterface.{ccg,hg}:
2764 * gio/src/dbusobject.{ccg,hg}:
2765 * gio/src/filelist.am: Add the new sources and include them in the
2766 list of files to be built.
2767 * gio/src/gio_vfuncs.defs: Add the virtual function definitions for
2768 the new interfaces.
2769 * tools/m4/convert_gio.m4: Add conversions for the new interfaces.
2770
2771 2012-03-12 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
2772
2773 Glib::Threads::Private, Glib::Dispatcher: Delete Glib::DispatchNotifier.
2774
2775 * glib/src/thread.hg: Add missing @deprecated.
2776 * glib/src/threads.hg: Add Private::replace(). Add documentation to Private.
2777 * glib/glibmm/dispatcher.cc: Use Private::replace() instead of set().
2778 Bug #671587.
2779
2780 2.31.20:
2781
2782 2012-03-03 Murray Cumming <murrayc@murrayc.com>
2783
2784 Gio::Application: Add quit().
2785
2786 * gio/src/application.hg: Wrap g_application_quit().
2787
2788 2012-03-02 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
2789
2790 Signal*: Better description of the connect*() methods.
2791
2792 * glib/glibmm/main.h: Mention that returning false from a bool-returning
2793 handler disconnects the handler. Other minor changes of the descriptions.
2794 Bug #669906.
2795
2796 2012-03-02 Murray Cumming <murrayc@murrayc.com>
2797
2798 h2defs.py: Ignore the new GDK_AVAILABLE_IN_* macros.
2799
2800 * tools/defs_gen/h2def.py: Strip these macros so we can actually
2801 parse the latest headers.
2802
2803 2012-03-01 José Alburquerque <jaalburquerque@gmail.com>
2804
2805 gmmproc: Allow destructors to be documented.
2806
2807 * tools/m4/base.m4 (SECTION_DTOR_DOCUMENTATION): Add a new section in
2808 which to store a destructor's documentation.
2809 * tools/m4/class_shared.m4 (_DOCUMENT_DTOR): Add a new macro which
2810 takes text and places it in a Doxygen comment block sending the
2811 comment block to the new section above. The text can be multiline.
2812 The macro assumes that any lines below the first, if any, have at
2813 least one space preceding them. If the text is a single line, it can
2814 be double quoted (the double quotes are removed).
2815 * tools/m4/class_boxedtype.m4:
2816 * tools/m4/class_gobject.m4:
2817 * tools/m4/class_interface.m4:
2818 * tools/m4/class_opaque_copyable.m4: Modify these so that any Doxygen
2819 comment block sent to the new section above is inserted in the
2820 generated declaration of the destructor.
2821
2822 Bug #668918.
2823
2824 2012-02-29 José Alburquerque <jaalburquerque@gmail.com>
2825
2826 Generation Scripts: Don't assume the root directory is glibmm.
2827
2828 * tools/gen_scripts/gio_generate_docs.sh:
2829 * tools/gen_scripts/gio_generate_enums.sh:
2830 * tools/gen_scripts/gio_generate_extra_defs.sh:
2831 * tools/gen_scripts/gio_generate_methods.sh:
2832 * tools/gen_scripts/glib_generate_docs.sh:
2833 * tools/gen_scripts/glib_generate_enums.sh:
2834 * tools/gen_scripts/glib_generate_extra_defs.sh:
2835 * tools/gen_scripts/glib_generate_methods.sh: Modify them so that they
2836 assume that they reside in the tools/gen_scripts directory and find
2837 the root of glibmm based on that instead of assuming that the name of
2838 the root directory is glibmm.
2839
2840 * gio/src/gio_enums.defs.patch: Add this patch file to streamline the
2841 enum generation so that keeping the custom Gio::HOST_WAS_NOT_FOUND
2842 enum value is easier.
2843
2844 2012-02-29 Murray Cumming <murrayc@murrayc.com>
2845
2846 Add back our custom Gio::HOST_WAS_NOT_FOUND enum value.
2847
2848 * gio/src/gio_enums.defs: This is easy to lose, but we always
2849 notice during make check.
2850
2851 2012-02-28 José Alburquerque <jaalburquerque@gmail.com>
2852
2853 tools: Add XML docs and defs generation scripts.
2854
2855 * tools/gen_scripts/gio_generate_docs.sh:
2856 * tools/gen_scripts/gio_generate_enums.sh:
2857 * tools/gen_scripts/gio_generate_extra_defs.sh:
2858 * tools/gen_scripts/gio_generate_methods.sh:
2859 * tools/gen_scripts/glib_generate_docs.sh:
2860 * tools/gen_scripts/glib_generate_enums.sh:
2861 * tools/gen_scripts/glib_generate_extra_defs.sh:
2862 * tools/gen_scripts/glib_generate_methods.sh: Add these scripts to
2863 generate the XML docs and defs files for glibmm and giomm. A
2864 'JHBUILD_SOURCES' variable pointing to the jhbuild root source
2865 directory needs to be defined and the various tools (like h2def.py,
2866 enum.pl, etc.) need to be in the command path for these scripts to run
2867 successfully. They generate the appropriate files, patch them if
2868 necessary, and place them in the correct place. All that's needed is
2869 to run the scripts.
2870
2871 * gio/src/gio_docs.xml:
2872 * gio/src/gio_enums.defs:
2873 * gio/src/gio_methods.defs:
2874 * gio/src/gio_signals.defs:
2875 * glib/src/glib_docs.xml:
2876 * glib/src/glib_enums.defs:
2877 * glib/src/glib_functions.defs:
2878 * glib/src/gmodule_functions.defs:
2879 * glib/src/gobject_enums.defs:
2880 * glib/src/gobject_functions.defs: Regenerate all the XML and defs
2881 files to ensure that the scripts work.
2882
2883 * glib/src/glib_enums.defs.patch: Add this patch file so that it isn't
2884 necessary to manually edit the defs file.
2885 * gio/src/gio_signals.defs.patch:
2886 * glib/src/glib_functions.defs.patch: Update these patch files so the
2887 defs files patch successfully.
2888
2889 Bug #668918.
2890
2891 2012-02-28 José Alburquerque <jaalburquerque@gmail.com>
2892
2893 docextract_to_xml.py: Generate signal docs by default.
2894
2895 * tools/defs_gen/docextract_to_xml.py: Change the --with-signals
2896 option to --no-signals and assume that signal documentation should be
2897 generated by default. The --no-signals option requests that the docs
2898 not be generated.
2899
2900 Bug #668918.
2901
2902 2012-02-28 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
2903
2904 DBus::Error, DBus::Proxy: Fix interaction with generate_wrap_init.pl.
2905
2906 * gio/src/dbuserror.hg: Remove now unnecessary declaration of friend
2907 Gio::wrap_init().
2908 * gio/src/dbusproxy.hg: Add _GMMPROC_EXTRA_NAMESPACE(DBus). Bug #640029.
2909
2910 2012-02-28 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
2911
2912 Fix exceptions thrown by Thread::create() and Threads::Thread::create.
2913
2914 * glib/src/thread.ccg: create(): Call g_thread_try_new() instead of
2915 g_thread_new(). Throw a Glib::ThreadError when appropriate, instead of calling
2916 Glib::Error::throw_exception(), which would throw Glib::Threads::ThreadError.
2917 * glib/src/threads.ccg:create(): Call g_thread_try_new() instead of
2918 g_thread_new(). Remove parameter 'joinable'.
2919 * glib/src/threads.hg: Remove parameter 'joinable'. Remove comments about
2920 non-joinable threads and thread priorities.
2921 * examples/network/resolver.cc:
2922 * examples/network/socket-client.cc:
2923 * examples/network/socket-server.cc:
2924 * examples/thread/dispatcher.cc:
2925 * examples/thread/dispatcher2.cc:
2926 * examples/thread/thread.cc: Remove parameter 'joinable' in calls to
2927 Glib::Threads::Thread::create(). Bug #640029.
2928
2929 2012-02-28 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
2930
2931 Fix the build with --disable-deprecated-api.
2932
2933 * glib/glibmm/main.cc: Call get_time() instead of the deprecated
2934 get_current_time(), when GLIBMM_DISABLE_DEPRECATED is defined.
2935 * glib/src/thread.[hg|ccg]: Use _IS_DEPRECATED instead of
2936 _DEPRECATE_IFDEF_{START|END}. _DEPRECATE_IFDEF_{START|END} does not include
2937 code generated by gmmproc within #ifndef/#endif.
2938 * glib/src/threads.ccg: Change catch(Glib::Thread::Exit&) to
2939 catch(Glib::Threads::Thread::Exit&).
2940 * glib/src/threads.hg: Add _GMMPROC_EXTRA_NAMESPACE(Threads).
2941 * glib/src/valuearray.hg:
2942 * gio/src/application.hg: #undef G_DISABLE_DEPRECATED in the .cc file.
2943 * tools/m4/class_shared.m4: Define _IS_DEPRECATED. Bug #640029.
2944
2945 2012-02-28 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
2946
2947 generate_wrap_init.pl: Improve reg. of exception classes in sub-namespaces.
2948
2949 * tools/generate_wrap_init.pl.in: When there are exception classes in sub-
2950 namespaces, create extra wrap_init() functions in those namespaces, and
2951 register the exception classes from there. wrap_init() is a friend that makes
2952 a pointer to the private throw_func(), and that's easier if wrap_init() is
2953 declared in the same namespace as the exception class. Bug #640029.
2954
2955 2012-02-28 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
2956
2957 generate_wrap_init.pl: Improve it for deprecated files and sub-namespaces.
2958
2959 * tools/generate_wrap_init.pl.in: Note that _IS_DEPRECATED deprecates a
2960 whole file. Keep track of sub-namespaces for _CLASS_GOBJECT and
2961 _CLASS_GTKOBJECT (not just for _WRAP_GERROR). Ignore macros in comments.
2962 Bug #640029.
2963
2964 2.31.18.1:
2965
2966 2012-02-26 José Alburquerque <jaalburquerque@gmail.com>
2967
2968 h2def.py: Handle types such as 'const gchar* const *' for functions.
2969
2970 * tools/defs_gen/h2def.py (clean_func): Make deprecated handling more
2971 general so that macros such as GDK_DEPRECATED and GDK_DEPRECATED_FOR()
2972 are also stripped. Also replace '* const' with '*-const' in the
2973 constants processing section so that types such as 'const gchar*
2974 const*' (which are now used in the declaration of functions such as
2975 gtk_about_dialog_get_authors()) are correctly processed.
2976
2977 2012-02-26 José Alburquerque <jaalburquerque@gmail.com>
2978
2979 Gio::DBus::[ActionGroup|MenuModel]: Have get() and not create() methods.
2980
2981 * gio/src/dbusactiongroup.hg:
2982 * gio/src/dbusmenumodel.hg: Have get() methods to get instances of
2983 theses classes and not create() methods as is done in
2984 Gio::Application.
2985
2986 Bug #637445.
2987
2988 2012-02-24 Murray Cumming <murrayc@murrayc.com>
2989
2990 gmmproc: _WRAP_PROPERTY(): Allow properties to be deprecated.
2991
2992 * tools/m4/property.m4: get_docs(): Take optional documentation_docs
2993 too, like DocsParser::lookup_documentation().
2994 * tools/pm/Output.pm: output_wrap_property(): Take a deprecated bool
2995 and deprecated_docs, adding the ifdef if necessary and passing
2996 it to the _PROPERTY_PROXY() m4 macro, with the amended documentation.
2997 * tools/pm/Property.pm: _PROPERTY_PROXY(): Take a deprecated bool
2998 parameter and add the ifndef if necessary.
2999 * tools/pm/WrapParser.pm: on_wrap_property(): Parse an optional
3000 deprecated "the explanation" parameter.
3001
3002 2012-02-24 José Alburquerque <jaalburquerque@gmail.com>
3003
3004 Gio::Application, Gio::DBus::AuthObserver: Typos.
3005
3006 * gio/src/application.hg:
3007 * gio/src/dbusauthobserver.hg:
3008
3009 2012-02-24 José Alburquerque <jaalburquerque@gmail.com>
3010
3011 Gio::Application: Add missing virtual functions and methods.
3012
3013 * gio/src/application.{ccg,hg}: Add the rest of the virtual functions
3014 -- all except the one with a GVariantBuilder parameter because that
3015 type is not wrapped yet. Also add the [set|get]_default() methods
3016 wrapping the respective C functions.
3017 * gio/src/gio_vfuncs.defs: Add the rest of GApplication's virtual
3018 function definitions so they can be wrapped.
3019 * tools/m4/convert_gio.m4: Add GApplication conversions.
3020
3021 2012-02-24 José Alburquerque <jaalburquerque@gmail.com>
3022
3023 giomm: Add class docs to recently added Application related classes.
3024
3025 * gio/src/actionmap.hg:
3026 * gio/src/dbusactiongroup.hg:
3027 * gio/src/dbusmenumodel.hg:
3028 * gio/src/menuattributeiter.hg:
3029 * gio/src/menulinkiter.hg:
3030 * gio/src/remoteactiongroup.hg:
3031
3032 2012-02-24 José Alburquerque <jaalburquerque@gmail.com>
3033
3034 MenuModel: Add the attribute and link constants.
3035
3036 * gio/src/dbusmenumodel.hg:
3037 * gio/src/menumodel.ccg: Add the class documentation. Also add the
3038 attribute and link constants from the C API in enums and re-wrap the
3039 existing methods to use the enums (this was adapted from gstreamermm).
3040
3041 2012-02-23 José Alburquerque <jaalburquerque@gmail.com>
3042
3043 giomm: Add the DBus::MenuModel class.
3044
3045 * gio/src/dbusmenumodel.{ccg,hg}: Add the sources wrapping a single
3046 create() method.
3047 * gio/src/filelist.am: Add the sources to the list of files to be
3048 built.
3049
3050 2012-02-23 José Alburquerque <jaalburquerque@gmail.com>
3051
3052 Gio::DBus::Connection: Add the MenuModel export/unexport methods.
3053
3054 * gio/src/dbusconnection.{ccg,hg}: Add the two new methods, wrapping
3055 the two functions in the GMenuModel exporter API:
3056 http://developer.gnome.org/gio/2.31/gio-GMenuModel-exporter.html
3057 * tools/m4/convert_gio.m4: Add necessary conversions.
3058
3059 2012-02-22 José Alburquerque <jaalburquerque@gmail.com>
3060
3061 giomm: MenuModel, MenuAttributeIter: Correct typos.
3062
3063 * gio/src/menuattributeiter.hg (get_next): Remove extra (unneeded)
3064 parameter to the _WRAP_METHOD_DOCS_ONLY macro.
3065 * gio/src/menumodel.ccg: Whitespace.
3066
3067 2012-02-22 José Alburquerque <jaalburquerque@gmail.com>
3068
3069 giomm: Add the MenuModel and Menu[Attribute|Link]Iter classes.
3070
3071 * gio/src/menuattributeiter.{ccg,hg}:
3072 * gio/src/menulinkiter.{ccg,hg}:
3073 * gio/src/menumodel.{ccg,hg}:
3074 * gio/src/filelist.am: Add the sources for the classes and include
3075 them in the list of source files to build.
3076 * tools/m4/convert_gio.m4:
3077 * tools/m4/convert_glib.m4: Add the necessary conversions.
3078
3079 2012-02-22 José Alburquerque <jaalburquerque@gmail.com>
3080
3081 Gio::Application: Derive from the ActionGroup interface.
3082
3083 * gio/src/application.hg: As is done in the C API.
3084
3085 2.31.18:
3086
3087 2012-02-20 José Alburquerque <jaalburquerque@gmail.com>
3088
3089 Gio::DBus::Connection: Add the ActionGroup export/unexport methods.
3090
3091 * gio/src/dbusconnection.{ccg,hg}: Add the two new methods, wrapping
3092 the two functions in the new GActionGroup exporter API:
3093 http://developer.gnome.org/gio/2.31/gio-GActionGroup-exporter.html
3094
3095 2012-02-20 José Alburquerque <jaalburquerque@gmail.com>
3096
3097 giomm: Add the DBus::ActionGroup class.
3098
3099 * gio/src/dbusactiongroup.{ccg,hg}: Add the sources, wrapping the
3100 create() method.
3101 * gio/src/filelist.am: Include the sources in the build.
3102
3103 2012-02-20 José Alburquerque <jaalburquerque@gmail.com>
3104
3105 giomm: Add the RemoteActionGroup interface.
3106
3107 * gio/src/remoteactiongroup.{ccg,hg}:
3108 * gio/src/filelist.am: Add the sources, wrapping the methods and
3109 virtual functions, and include them in the list of files to be built.
3110 * gio/src/gio_vfuncs.defs: Add the GRemoteActionGroup virtual
3111 functions.
3112
3113 * gio/src/applicationcommandline.hg: Add the class documentation
3114 block.
3115
3116 2012-02-16 José Alburquerque <jaalburquerque@gmail.com>
3117
3118 h2def.py: Handle deprecated functions.
3119
3120 * tools/defs_gen/h2def.py: The g_application_set_action_group() and
3121 the g_volume_monitor_adopt_orphan_mount() functions are wrapped but
3122 not generated because they have been deprecated in their header files
3123 by using a GLIB_DEPRECATED macro before the function declaration.
3124 Modify this tool to strip the macro so the functions are recognized.
3125 * gio/src/gio_methods.defs: Regenerate so the missing method
3126 definitions are included.
3127
3128 2012-02-15 José Alburquerque <jaalburquerque@gmail.com>
3129
3130 giomm: Add the ActionMap interface.
3131
3132 * gio/src/actionmap.{ccg,hg}:
3133 * gio/src/filelist.am: Add the new sources.
3134
3135 * gio/src/gio_methods.defs: Regenerate to get the new ActionMap
3136 methods.
3137 * gio/src/gio_vfuncs.defs: Add the ActionMap virtual functions.
3138
3139 * gio/src/application.hg:
3140 * gio/src/simpleactiongroup.hg: These classes implement the new
3141 interface.
3142
3143 * gio/src/gio_extra_objects.defs: Add new objects so that there are no
3144 missing define-object warnings from gmmproc.
3145
3146 2012-02-15 José Alburquerque <jaalburquerque@gmail.com>
3147
3148 reviewed by: <delete if not using a buddy>
3149
3150 * gio/src/actionmap.ccg:
3151 * gio/src/actionmap.hg:
3152
3153 2012-02-14 José Alburquerque <jaalburquerque@gmail.com>
3154
3155 gmmproc: docs: Remove possible parens in gtk-doc signal references.
3156
3157 * tools/pm/DocsParser.pm: Discard possible parenthesis following a
3158 gtk-doc signal reference. This avoids a double set of parenthesis
3159 appearing in the documentation.
3160
3161 Bug #668918.
3162
3163 2012-02-14 José Alburquerque <jaalburquerque@gmail.com>
3164
3165 Gio::DBus::Proxy: Add a TODO.
3166
3167 * gio/src/dbusproxy.hg: Add a TODO.
3168 * gio/src/filemonitor.hg: Typo.
3169 * tools/pm/DocsParser.pm (convert_tags_to_doxygen): Allow <listitem>
3170 tags to not be on a line by themselves also (as was done with the
3171 <itemizedlist> tag.
3172
3173 2012-02-14 José Alburquerque <jaalburquerque@gmail.com>
3174
3175 Remove unnecessary signal docs.
3176
3177 * gio/src/dbusserver.hg:
3178 * gio/src/drive.hg: Remove signal docs from .hg files that is now
3179 automatically included by gmmproc.
3180
3181 2012-02-14 José Alburquerque <jaalburquerque@gmail.com>
3182
3183 Regenerate XML docs for glibmm and giomm.
3184
3185 * gio/src/gio_docs.xml:
3186 * glib/src/glib_docs.xml: Regenerate these, now including the signal
3187 docs so that gmmproc can include their docs in the source generation
3188 process.
3189
3190 2.31.16.1:
3191
3192 2012-02-13 José Alburquerque <jaalburquerque@gmail.com>
3193
3194 gmmproc: docs: Convert signal and property names correctly.
3195
3196 * tools/pm/DocsParser.pm (substitute_identifiers): Search for gtk-doc
3197 property and signal references and convert them to appropriate C++
3198 names so that they are referenced correctly in the documentation.
3199
3200 Bug #668918.
3201
3202 2012-02-08 José Alburquerque <jaalburquerque@gmail.com>
3203
3204 gmmproc: DocsParser.pm (convert_tags_to_doxygen): Correct typo.
3205
3206 * tools/pm/DocsParser.pm (convert_tags_to_doxygen): Make the newline
3207 following the <itemizedlist> tags optional when converting them to
3208 Doxygen format (in case the tags are not necessarily on a line by
3209 themselves).
3210
3211 2012-02-08 José Alburquerque <jaalburquerque@gmail.com>
3212
3213 gmmproc: Translate the <itemizedlist> tags in docs correctly.
3214
3215 * tools/pm/DocsParser.pm (lookup_documentation): Typo.
3216 (convert_tags_to_doxygen): Add substitutions to convert gtk-doc
3217 <itemizedlist> tags to Doxygen format. For example, see
3218 Gtk::ToolItem's "create-menu-proxy" and "toolbar-reconfigured"
3219 signal docs.
3220
3221 2012-02-07 José Alburquerque <jaalburquerque@gmail.com>
3222
3223 docextract_to_xml.py: Add some HTML entity conversions.
3224
3225 * tools/defs_gen/docextract_to_xml.py: Add some HTML entity
3226 conversions that produce errors when processed by gmmproc.
3227
3228 2012-02-07 José Alburquerque <jaalburquerque@gmail.com>
3229
3230 gmmproc: Method generation: Fix indentation of void methods.
3231
3232 * tools/m4/method.m4: Make sure that the generated line in methods
3233 returning void is indented properly (by two spaces). Before, there
3234 was no indentation (see for example the Entry::set_inner_border()
3235 method).
3236
3237 2012-02-03 José Alburquerque <jaalburquerque@gmail.com>
3238
3239 gmmproc: Add documentation to wrapped signals.
3240
3241 * tools/m4/signal.m4: Add docs to the on_*() default handlers
3242 referring the users to the signal_*() docs.
3243 * tools/pm/DocsParser.pm (parse_on_start):
3244 (parse_on_end): Allow the <signal></signal> tags from the generated
3245 XML docs to be processed in a similar way as the <function></function>
3246 tags are processed. The docs of the signals are stored as
3247 "Class::a_signal_name" in the hash.
3248 (append_parameter_docs): Skip the first parameter for signals also
3249 because the first parameter of signals is the object for which the
3250 signal is triggered.
3251 (lookup_documentation): Generalize the no docs warning to include
3252 signals also.
3253 * tools/pm/Function.pm (get_refdoc_comment): Modify the subroutine to
3254 accept the docs of the signal (that the DocsParser stores) and include
3255 the prototype of the slot in the docs.
3256 * tools/pm/Output.pm (output_wrap_sig_decl): Modify the subroutine to
3257 look up the documentation of the signal which it then passes to
3258 get_refdoc_comment() so that the documentation of the signal from the
3259 generated XML is included in the declaration of the signal.
3260
3261 Bug #668918 (Mark)
3262
3263 2.31.16:
3264
3265 2012-01-30 TS <t.sailer@alumni.ethz.ch>
3266
3267 Dispatcher: Fix the build on win32.
3268
3269 * glib/glibmm/dispatcher.cc: Mention the new Threads:: namespace in the
3270 ifdefed win32 code.
3271
3272 2011-12-08 Haikel Guemar <karlthered@gmail.com>
3273
3274 thread.h: Move calls to deprecated glib functions into thread.cc.
3275
3276 * glib/src/thread.[hg|ccg]: Move calls to deprecated glib functions
3277 from thread.h into new public helper functions, so they are only
3278 used in our .cc file. This avoids warnings in application compiles
3279 just because they happen to include this header.
3280
3281 2.31.2:
3282
3283 2011-11-24 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
3284
3285 Make class Glib::Threads::Private buildable with --enable-warnings=fatal.
3286
3287 * glib/src/threads.hg: G_PRIVATE_INIT(destructor_func) is used only in an
3288 initialization.
3289
3290 2011-11-23 Murray Cumming <murrayc@murrayc.com>
3291
3292 Add Glib::Threads::* in threads.h, deprecating everything in thread.h
3293
3294 * glib/src/filelist.am:
3295 * glib/src/thread.[hg|ccg]: Deprecate the whole file, adding
3296 deprecation doxygen comments to all API.
3297 * glib/src/threads.[hg|ccg]: A new Threads namespace containing
3298 equivalents for everything in thread.h, implemented using
3299 only non-deprecated glib API. This was necessary because we had
3300 to break the ABI to do this.
3301 * glib/glibmm.h: Include threads.h
3302
3303 * glib/glibmm/main.[h|cc]: Added a wait() method overload that
3304 takes the new types, deprecating the existing wait() method.
3305
3306 * examples/network/resolver.cc:
3307 * examples/network/socket-client.cc:
3308 * examples/network/socket-server.cc:
3309 * examples/thread/dispatcher.cc:
3310 * examples/thread/dispatcher2.cc:
3311 * examples/thread/thread.cc:
3312 * examples/thread/threadpool.cc:
3313 * glib/glibmm/dispatcher.cc:
3314 * glib/glibmm/exceptionhandler.cc:
3315 * glib/glibmm/threadpool.[h|cc]: Use the new Glib::Threads::* types
3316 instead of thread.h.
3317
3318 2011-11-23 Murray Cumming <murrayc@murrayc.com>
3319
3320 Avoid a deprecation warning in implelementation of deprecated API.
3321
3322 * glib/glibmm/main.cc: Define GLIB_DISABLE_DEPRECATION_WARNINGS
3323 to avoid a warning about g_source_get_current_time(),
3324 which we must use in our own deprecated code.
3325
3326 2011-11-23 Murray Cumming <murrayc@murrayc.com>
3327
3328 class.cc: Avoid compiler warnings when using -std=c++0x with g++.
3329
3330 * glib/glibmm/class.cc: Add casts because GTypeQuery::class_size
3331 and instance_size are guint but GTypeInfo::class_size and
3332 instance_size are guint16.
3333
3334 2011-11-18 Murray Cumming <murrayc@murrayc.com>
3335
3336 Require glibmm 2.2.10 so that make check works.
3337
3338 * configure.ac: Bug #663686 (Michael Biebl)
3339
3340 2011-11-16 Hub Figuière <hub@figuiere.net>
3341
3342 Ensure template parameter has a space before to avoid trigraphs.
3343 (Gtkmm bug #663303)
3344
3345 * tools/m4/property.m4: Ensure template parameter has a space
3346 before to avoid trigraphs.
3347
3348 2011-10-26 José Alburquerque <jaalburqu@svn.gnome.org>
3349
3350 giomm: Add some unwrapped methods and properties.
3351
3352 * gio/src/drive.hg: Add get_sort_key().
3353 * gio/src/emblemedicon.hg: Add clear_emblems().
3354 * gio/src/fileicon.hg: Add the "file" property.
3355 * gio/src/inetaddress.hg: Add address_equal().
3356 * gio/src/mount.hg: Add get_sort_key().
3357 * gio/src/socket.hg: Add the "timeout" property.
3358 * gio/src/socketaddress.hg: Add the "family" property.
3359 * tools/m4/convert_gio.m4: Add a necessary conversion.
3360
3361 2011-10-26 José Alburquerque <jaalburqu@svn.gnome.org>
3362
3363 gmmproc: Example Removal: Also remove code in </programlisting> tags.
3364
3365 * tools/pm/DocsParser.pm (lookup_documentation): Also remove code in
3366 <programlisting>...</programlisting> tags.
3367
3368 2011-10-26 Murray Cumming <murrayc@murrayc.com>
3369
3370 Avoid use of deprecated API in tests and examples.
3371
3372 * tests/Makefile.am:
3373 * examples/Makefile.am: Disable deprecated API.
3374 * examples/network/socket-client.cc:
3375 * examples/network/socket-server.cc:
3376 * examples/thread/dispatcher.cc:
3377 * examples/thread/dispatcher2.cc:
3378 * examples/thread/thread.cc: Remove calls to Glib::thread_init(), instead
3379 calling Glib::init() where that side-effect was also intended.
3380
3381 2011-10-26 Murray Cumming <murrayc@murrayc.com>
3382
3383 threadpool example: Use Mutex instead of StaticMutex.
3384
3385 * examples/thread/threadpool.cc: The advantage of StaticMutex was that
3386 it would silently do nothing if threads were not initialized. That
3387 was never a useful distinction in this example anyway.
3388 Also remove the deprecated thread_init() call.
3389 * glib/src/thread.ccg: Mutex: Add a TODO about not using the deprecated
3390 API.
3391
3392 2011-10-26 Murray Cumming <murrayc@murrayc.com>
3393
3394 Fix the deprecation ifdefs.
3395
3396 * glib/src/thread.hg: Move the deprecation ifdefs to avoid affecting
3397 non-deprecated API.
3398
3399 2.31.0.1:
3400
3401 2011-10-26 Murray Cumming <murrayc@murrayc.com>
3402
3403 Avoid an unused-parameter compiler warning.
3404
3405 * glib/src/thread.ccg: thread_init(): Comment out the vtable parameter.
3406
3407 2011-10-26 Murray Cumming <murrayc@murrayc.com>
3408
3409 thread.h: Allow use of this without causing deprecation compiler warnings.
3410
3411 * glib/src/thread.hg: undef and then redefine G_DISABLE_DEPRECATED, and
3412 define GLIB_DISABLE_DEPRECATION_WARNINGS, if G_DISABLE_DEPRECATED is
3413 defined, so we can use the deprecated API in this header (though only in
3414 our own deprecated API).
3415
3416 * tools/generate_wrap_init.pl.in: Include glibmm.h instead of glib.h so
3417 we can include thread.h first (via glibmm.h) instead of only later.
3418 This seems more logical than explicitly including thread.h in all
3419 (even non-glibmm) generated wrap_init.cc files.
3420
3421 * tools/m4/base.m4:
3422 * glib/glibmm.h:
3423 * glib/glibmm/dispatcher.cc:
3424 * glib/glibmm/exceptionhandler.cc:
3425 * glib/glibmm/main.cc:
3426 * examples/thread/thread.cc:
3427 * examples/thread/threadpool.cc: Adjust the includes to include thread.h
3428 first.
3429
3430 2011-10-26 Murray Cumming <murrayc@murrayc.com>
3431
3432 Move IOCondition from main.h to iochannel.h and autogenerate it.
3433
3434 * glib/src/iochannel.hg: Use _WRAP_ENUM() for IOCondition instead of
3435 hand-coding it in
3436 * glib/glibmm/main.h:
3437 though this requires some manual editing of
3438 * glib/src/glib_enums.defs: due to the weird defines that GioChannel uses for
3439 its values. See the comment.
3440 * glib/glibmm/streamiochannel.cc: Adjust the includes.
3441 This avoids the need to include glib.h from main.h.
3442
3443 2011-10-26 Murray Cumming <murrayc@murrayc.com>
3444
3445 Avoid some deprecation compiler warnings.
3446
3447 * gio/src/file.hg:
3448 * gio/src/volumemonitor.hg:
3449 * glib/src/date.hg: Add GLIB_DISABLE_DEPRECATION_WARNINGS to
3450 SECTION_CC_PRE_INCLUDES to avoid compiler warnings with the new glib
3451 deprecation system.
3452 * glib/src/value_basictypes.cc.m4: undef them here too, because
3453 g_value_set_char() and g_value_get_char() are deprecated.
3454
3455 2011-10-26 Murray Cumming <murrayc@murrayc.com>
3456
3457 Thread: Move deprecated parts together.
3458
3459 * glib/src/thread.hg: This simplifies things a bit.
3460
3461 2011-10-25 José Alburquerque <jaalburqu@svn.gnome.org>
3462
3463 gmmproc: Don't include C code examples found in the XML docs.
3464
3465 * tools/pm/DocsParser.pm (lookup_documentation): Remove the C example
3466 code from the attained documentation of the specified function. Print
3467 a warning that the example code has been removed if that is the
3468 case. Include the function name in the warning so that it is known
3469 where the examples are in case it is convenient to translate them.
3470 (convert_tags_to_doxygen): No longer convert tags and symbols that
3471 signal example code to Doxygen format since they are removed with the
3472 example code.
3473
3474 Bug #650544
3475
3476 2011-10-25 Murray Cumming <murrayc@murrayc.com>
3477
3478 giomm/wrap_init.h: Remove the glibmm.h include from here too.
3479
3480 * gio/giomm/wrap_init.[h|cc]: Move the #include into the .cc file.
3481 * gio/giomm.h: Add an #include glibmm.h here instead.
3482
3483 2011-10-25 Murray Cumming <murrayc@murrayc.com>
3484
3485 gmmproc: Include <glibmm.h> in .cc files for convenience.
3486
3487 * tools/m4/base.m4: Add an include <glibmm.h> line to the .cc files.
3488 * glib/src/optioncontext.ccg: Rename a namespace to avoid a clash.
3489
3490 It is more useful to keep the general glibmm.h include out of headers.
3491
3492 2011-10-24 José Alburquerque <jaalburqu@svn.gnome.org>
3493
3494 gmmproc: Don't include <glibmm.h> by default in generated files.
3495
3496 * tools/m4/base.m4: Include <glibmm/ustring.h> and <sigc++/sigc++.h>
3497 by default in header files of generated files in modules other than
3498 glibmm. This should make compilation faster for those modules.
3499
3500 * gio/src/*.{h,cc}g:
3501 * gio/giomm/slot_async.cc: Adjust includes according to the above
3502 change.
3503
3504 Bug #662597
3505
3506 2.31.0:
3507
3508 2011-10-25 Murray Cumming <murrayc@murrayc.com>
3509
3510 Regenerated more defs.
3511
3512 * gio/src/gio_enums.defs: Regenerated with enums.pl.
3513 * gio/src/gio_methods.defs: Regenerated with h2defs.py.
3514 * glib/src/glib_functions.defs:
3515 * glib/src/gobject_functions.defs: Regenereated with h2defs.py
3516 * glib/src/glib_deprecated_functions.defs: Added this file.
3517 * glib/src/glib.defs: Mention the new file.
3518
3519 2011-10-25 Murray Cumming <murrayc@murrayc.com>
3520
3521 Do not use gthread-2.0.
3522
3523 * configure.ac: Do not use gthread-2.0 at all, because it only contains
3524 empty functions so it is better to just not call them.
3525 Require the latest glib version, to avoid people using this version of
3526 glibmm with a version of glib that would need g_thread_init().
3527 * glib/src/thread.ccg: thread_init(): Do not call g_thread_init() because
3528 it now does nothing and would require linking to gthread-2.0.
3529
3530 2011-10-25 Murray Cumming <murrayc@murrayc.com>
3531
3532 Fix the make check build by always linking to gthread-2.0.
3533
3534 * configure.ac: Always use gthread-2.0 because there is now no advantage to
3535 not doing that, because threading is now always enabled in glib.
3536 Remove the separate GTHREAD* variables.
3537 * glib/glibmm/Makefile.am:
3538 * gio/giomm/Makefile.am:
3539 * tests/Makefile.am:
3540 * tools/Makefile.am:
3541 * examples/Makefile.am: Remove use of the GTHREAD* variables..
3542 * examples/network/resolver.cc: Remove the non-threading option and code that
3543 uses it.
3544
3545 2011-10-25 Murray Cumming <murrayc@murrayc.com>
3546
3547 Regenerate enums defs.
3548
3549 * glib/src/glib_enums.defs, gobject_enums.defs: Regenerated with enums.pl.
3550 * glib/src/glib_deprecated_enums.defs: Added this file.
3551 * glib/src/filelist.am: Mention the new file.
3552 * glib/src/glib.defs: Mention the new file and actually mention
3553 gobject_enums.defs.
3554
3555 2011-10-23 José Alburquerque <jaalburqu@svn.gnome.org>
3556
3557 Gio::DBus::Connection: Temporarily remove newly added call() methods.
3558
3559 * gio/src/dbusconnection.{ccg,hg}: Remove the newly added call()
3560 methods with a UnixFDList parameter until the call_finish() method
3561 with a UnixFDList parameter is added also.
3562
3563 * gio/src/credentials.hg:
3564 * gio/src/dbusmessage.ccg:
3565 * gio/src/dbusmessage.hg: Typos.
3566
3567 2011-10-21 Murray Cumming <murrayc@murrayc.com>
3568
3569 Thread: Use g_thread_new() instead of g_thread_create().
3570
3571 * glib/src/thread.[hg|ccg]: create(): Replace use of (deprecated)
3572 g_thread_create() with g_thread_new(), ignoring the joinable parameter.
3573 create(lots of parameters): Deprecate this, because the parameters are
3574 ignored by g_thread_create_full() now.
3575
3576 2011-10-21 Murray Cumming <murrayc@murrayc.com>
3577
3578 Deprecated thread_init(), Thread::joinable(), *_priotity(), etc.
3579
3580 * glib/src/thread.[hg|ccg]: Deprecate thread_init(), thread_supported,
3581 Thread::joinable(), Thread::set_priority(), Thread::get_priority() and
3582 ThreadPriority.
3583
3584 2011-10-16 José Alburquerque <jaalburqu@svn.gnome.org>
3585
3586 gmmproc: Remove M4 warnings due to commas in return types.
3587
3588 * tools/m4/convert_base.m4 (__HASH2): Appropriately quote the
3589 pushdef() arguments and the m4_ifelse() arguments due to some warnings
3590 generated because of the newly wrapped method in the
3591 ApplicationCommandLine class (get_platform_data()) which has a comma
3592 in the return type. The wrapping was successful even with the warning
3593 but the return type was still being split when passed to this macro.
3594 Document what the macro does.
3595 (_CONVERT): Typos.
3596 (_CONVERSION):
3597 (_INITIALIZATION): Document what parameters are allowed for these
3598 macros.
3599
3600 2011-10-13 José Alburquerque <jaalburqu@svn.gnome.org>
3601
3602 Gio::DBus::Connection: Correct UnixFDList class forward declaration.
3603
3604 * gio/src/dbusconnection.hg: Place the class declaration in the Gio
3605 namespace and not in the Gio::DBus namespace which is incorrect to fix
3606 the build. There was a '-Werror' option in the CXXFLAGS variable of
3607 my ~/.jhbuildrc file which was causing deprecation warnings to break
3608 the build so I did not verify the previous to last commit, sorry.
3609
3610 2011-10-13 José Alburquerque <jaalburqu@svn.gnome.org>
3611
3612 Date: set_time(): Use g_date_set_time_t() instead of g_date_set_time().
3613
3614 * glib/src/date.ccg: The latter function is deprecated. This fixes
3615 the build with the master branch of glib with deprecations disabled
3616 though there's one small error related to the Threads discussion on
3617 the mailing list that will still have to be looked at.
3618
3619 2011-10-13 José Alburquerque <jaalburqu@svn.gnome.org>
3620
3621 DBusMethodInvocation: Add UnixFDList return_value() method overload.
3622
3623 * gio/src/dbusmethodinvocation.hg: Add the method overload.
3624 * gio/src/dbusmessage.hg: Add an _IGNORE.
3625
3626 2011-10-13 Murray Cumming <murrayc@murrayc.com>
3627
3628 Do not include glib/gvarianttype.h.
3629
3630 * glib/src/thread.hg: Include glib.h instead. The recent glib version
3631 has a pragma that complains about this.
3632
3633 2011-10-12 José Alburquerque <jaalburqu@svn.gnome.org>
3634
3635 Gio::DBus::Connection: Add UnixFDList call() method overloads.
3636
3637 * gio/src/dbusconnection.{ccg,hg}: Add cancellable and
3638 non-cancellable UnixFDList call() methods. The TODO's are for when
3639 gmmproc can possibly handle setting C++ parameters from C output
3640 parameters properly which may be possible with a few changes.
3641
3642 2011-10-12 José Alburquerque <jaalburqu@svn.gnome.org>
3643
3644 VariantContainerBase: Add create_maybe().
3645
3646 * glib/src/variant.{ccg,hg}: Add a create_maybe() method because it
3647 was discussed on the mailing list. Clearly the variant classes are
3648 not intended for general use. However, this method is added just
3649 so that the API is more complete.
3650
3651 2011-10-11 José Alburquerque <jaalburqu@svn.gnome.org>
3652
3653 DataInputStream: Add read_line_utf8() and read_line_finish_utf8().
3654
3655 * gio/src/datainputstream.hg: Add the two methods and their overloads
3656 using the new gmmproc parameter reordering, optional parameter
3657 signaling and output parameter signaling functionality. It's not
3658 difficult to write the _INITIALIZATION and _WRAP_METHOD macros but
3659 they may not be readily understandable. I think they are, but I could
3660 be wrong.
3661
3662 2011-10-11 José Alburquerque <jaalburqu@svn.gnome.org>
3663
3664 gmmproc: _WRAP_METHOD: Use {OUT} instead of {RET} for output params.
3665
3666 * tools/pm/Output.pm: Use {OUT} instead of {RET} to signify that a
3667 parameter is an output parameter because it is probably more
3668 intuitive.
3669 * tools/m4/convert_base.m4 (_INITIALIZE): Don't quote the C return
3670 because otherwise the macros in it aren't expanded when the macro is
3671 used. This could be because of the recent M4 changes in the previous
3672 to the last commit.
3673
3674 2011-10-11 José Alburquerque <jaalburqu@svn.gnome.org>
3675
3676 ApplicationCommandLine: Add the get_platform_data() method.
3677
3678 * gio/src/applicationcommandline.hg:
3679
3680 2011-10-10 José Alburquerque <jaalburqu@svn.gnome.org>
3681
3682 gmmproc: _WRAP_METHOD: Allow return types to have commas.
3683
3684 * tools/pm/WrapParser.pm (string_split_commas): Modify so that when
3685 splitting by commas, '<' and '>' are taken into account by levels as
3686 is done with '(' and ')'. This so that if a return type in a
3687 _WRAP_METHOD has a comma (which is possible, e.g. with std::map<>) the
3688 return type is not split incorrectly.
3689 (read_file): Modified so that '<' and '>' are tokens by which to
3690 split.
3691 * tools/pm/Output.pm (output_wrap_meth): Add `' around the return type
3692 when calling the _METHOD() and _STATIC_METHOD() M4 macros so that
3693 commas don't split the return type into more than one argument.
3694 * tools/m4/method.m4: Do the same (for the return type) in _METHOD()
3695 and _STATIC_METHOD() when calling the _CONVERT() macro for the same
3696 reason as above.
3697
3698 Bug #661401
3699
3700 2011-10-10 José Alburquerque <jaalburqu@svn.gnome.org>
3701
3702 SimpleAction: Wrap the signals and properties.
3703
3704 * gio/src/simpleaction.hg: Wrap the signals using the
3705 no_default_handler option because there are no signal members exposed
3706 in the GSimpleActionClass struct (in fact, there is no
3707 GSimpleActionClass struct). Also wrap the properties.
3708
3709 2011-10-10 José Alburquerque <jaalburqu@svn.gnome.org>
3710
3711 Application, {,Simple}Action{,Group}: Update @newins{}'s.
3712
3713 * gio/src/action.hg:
3714 * gio/src/application.hg:
3715 * gio/src/simpleaction.hg:
3716 * gio/src/simpleactiongroup.hg:
3717
3718 * gio/src/applicationcommandline.hg: Add bug URL to a TODO.
3719
3720 2011-10-10 José Alburquerque <jaalburqu@svn.gnome.org>
3721
3722 ApplicationCommandLine: Update a TODO.
3723
3724 * gio/src/applicationcommandline.hg:
3725
3726 2011-10-09 José Alburquerque <jaalburqu@svn.gnome.org>
3727
3728 Re-add Application and related class so they can be finished.
3729
3730 * gio/giomm.h:
3731 * gio/src/action.ccg:
3732 * gio/src/action.hg:
3733 * gio/src/actiongroup.ccg:
3734 * gio/src/actiongroup.hg:
3735 * gio/src/application.ccg:
3736 * gio/src/application.hg:
3737 * gio/src/applicationcommandline.ccg:
3738 * gio/src/applicationcommandline.hg:
3739 * gio/src/filelist.am:
3740 * gio/src/simpleaction.ccg:
3741 * gio/src/simpleaction.hg:
3742 * gio/src/simpleactiongroup.ccg:
3743 * gio/src/simpleactiongroup.hg:
3744
3745 2011-09-27 Krzesimir Nowak <qdlacz@gmail.com>
3746
3747 Fix h2def.py not parsing function starting with G_GNUC_* macros.
3748
3749 * tools/defs_gen/h2def.py: Strip some G_GNUC_* macros that are known
3750 to be placed before return type of function prototype.
3751 Fixes bug #660225.
3752
3753 2.30.0
3754
3755 2011-09-27 Murray Cumming <murrayc@murrayc.com>
3756
3757 Gio::DBus::Server: Add constructors.
3758
3759 * gio/src/dbusserver.[hg|ccg]: Uncomment the constructors now that bug #639478
3760 has been fixed, though nobody has tried to use this yet.
3761
3762 2011-09-27 Murray Cumming <murrayc@murrayc.com>
3763
3764 Regenerated .defs files.
3765
3766 * glib/src/glib_functions.defs:
3767 * glib/src/gobject_functions.defs:
3768 * glib/src/gmodule_functions.defs:
3769 * gio/src/gio_functions.defs: Regenerated with h2defs.py, though see
3770 bug #660225 .
3771 * glib/src/datetime.hg: Added an m4 conversion that is now necessary.
3772
3773 2011-09-26 Murray Cumming <murrayc@murrayc.com>
3774
3775 Remove Application and friends, because they are still not ready.
3776
3777 * gio/src/action.[hg|ccg]:
3778 * gio/src/actiongroup..[hg|ccg]:
3779 * gio/src/application.[hg|ccg]:
3780 * gio/src/applicationcommandline..[hg|ccg]:
3781 * gio/src/simpleaction..[hg|ccg]:
3782 * gio/src/simpleactiongroup.[hg|ccg]: Removed.
3783 * gio/src/filelist.am:
3784 * goi/giomm.h: Do not mention them.
3785 See bug #637445#c29
3786
3787 2011-09-22 José Alburquerque <jaalburqu@svn.gnome.org>
3788
3789 Action, ActionGroup: Wrap virtual functions.
3790
3791 * gio/src/gio_vfuncs.defs: Add virtual function definitions for the
3792 Action and ActionGroup classes.
3793 * gio/src/action.hg:
3794 * gio/src/actiongroup.hg: Wrap the virtual functions.
3795 * tools/m4/convert_gio.m4: Correct a VariantType return conversion.
3796
3797 2011-09-22 José Alburquerque <jaalburqu@svn.gnome.org>
3798
3799 giomm: Add SimpleActionGroup.
3800
3801 * gio/src/simpleactiongroup.{ccg,hg}:
3802 * gio/src/filelist.am: Add sources and include them in the build file
3803 list.
3804 * tools/m4/convert_gio.m4: Add necessary conversions.
3805 * gio/src/simpleaction.hg: Added class doc title.
3806
3807 2011-09-21 José Alburquerque <jaalburqu@svn.gnome.org>
3808
3809 SimpleAction: Add create() methods.
3810
3811 * gio/src/simpleaction.hg: Add two forgotten create methods for the
3812 class. Also filed bug #659783 about not being able to wrap the
3813 signals.
3814
3815 2011-09-21 José Alburquerque <jaalburqu@svn.gnome.org>
3816
3817 giomm: Add SimpleAction, an implementation of the Action interface.
3818
3819 * gio/src/simpleaction.{ccg,hg}:
3820 * gio/src/filelist.am: Add the sources and include them in the list of
3821 files that should be processed.
3822
3823 * tools/extra_defs_gen/generate_defs_gio.cc: Add G_SIMPLE_ACTION_TYPE
3824 to the list of types for which properties and signals should be
3825 generated.
3826 * gio/src/gio_signals.defs: Regenerate with above to get the
3827 properties and signals of new class.
3828
3829 2011-09-20 José Alburquerque <jaalburqu@svn.gnome.org>
3830
3831 ActionGroup: Wrap remaining methods.
3832
3833 * gio/src/actiongroup.hg: Add the get_action_parameter_type(),
3834 get_action_state_type(), get_action_state_hint(), and
3835 get_action_state() methods which were TODO's.
3836
3837 2011-09-20 José Alburquerque <jaalburqu@svn.gnome.org>
3838
3839 giomm: Add Action class wrapping GAction.
3840
3841 * gio/src/action.{ccg,hg}:
3842 * gio/src/filelist.am: Add the new sources wrapping the methods and
3843 signals of GAction and include them in the list of files to be built.
3844
3845 * tools/extra_defs_gen/generate_defs_gio.cc: Add G_TYPE_ACTION to
3846 the list of types for which signals and properties should be
3847 generated.
3848 * gio/src/gio_signals.defs:
3849 * gio/src/gio_methods.defs: Regenerate to get the new methods and
3850 properties being wrapped.
3851
3852 * gio/src/gio_extra_objects.defs: Add Action to the list of extra
3853 objects so gmmproc's documentation generation does not produce
3854 warnings because of it. Also added DBusNodeInfo and Proxy.
3855
3856 * tools/m4/convert_gio.m4: Alphabetized the conversion by groups
3857 pertaining to types. Removed the Variant return conversions which
3858 take copies.
3859 * glib/src/variant.hg: Moved the conversions here because they are
3860 specific to the methods in this class, specifically get_child() and
3861 get().
3862
3863 2011-09-17 José Alburquerque <jaalburqu@svn.gnome.org>
3864
3865 gmmproc: DocParser: Correct the removal of link tags.
3866
3867 * tools/pm/DocsParser.pm (convert_tags_to_doxygen): Make the matching
3868 of the characters of a link tag not greedy so that the first
3869 occurrence of the final '>' is accepted in a match instead of a
3870 possible later one pertaining to a different tag altogether. Also
3871 translate '|[' and ']|' to '@code' and '@endcode' respectively.
3872
3873 Bug #650544
3874
3875 2.29.13:
3876
3877 2011-09-06 José Alburquerque <jaalburqu@svn.gnome.org>
3878
3879 Variant< std::vector<std::string> >: Ensure correct creation.
3880
3881 * glib/src/variant.ccg (Variant< std::vector<std::string> >::create):
3882 Use g_variant_new_bytestring_array() to create the variant instead of
3883 a builder to avoid an unknown bug.
3884 Bug #657030 (Aurimas Černius)
3885
3886 2011-09-06 Murray Cumming <murrayc@murrayc.com>
3887
3888 giomm: Variant< vector<std::string> > (array of bytestrings): Fixes.
3889
3890 * glib/src/variant.ccg: create(): Use VariantType::to_string.c_str() instead
3891 of reinterpret_cast. I have no idea why we ever used reinterpret_cast.
3892 * tests/glibmm_variant/main.cc: Add a simple test for this VariantType
3893 specialization, though it still fails.
3894 Bug #657030 (Aurimas Černius)
3895
3896 2011-09-02 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
3897
3898 gmmproc: Correct handling of constversion etc. in _WRAP_METHOD.
3899
3900 * tools/pm/WrapParser.pm: The parameters refreturn, errthrow, and
3901 constversion in _WRAP_METHOD was applied also to following instances
3902 wrapping the same C function. Bug #657751, comment 5.
3903
3904 2.29.12:
3905
3906 2011-08-25 Chun-wei Fan <fanc999@src.gnome.org>
3907
3908 Update Visual Studio projects
3909
3910 * Made line endings on the VS 2010 solution file to have Windows-
3911 style EOL so that it works properly
3912
3913 2011-08-22 José Alburquerque <jaalburqu@svn.gnome.org>
3914
3915 TimeZoneMonitor: Remove as was done in glib.
3916
3917 * gio/src/filelist.am:
3918 * gio/src/timezonemonitor.{ccg,hg}: Remove sources and the mention
3919 from the build.
3920 * glib/src/timezone.hg (refresh_local): Remove this method as the
3921 function that it wraps was also removed from glib.
3922 * tools/extra_defs_gen/generate_defs_gio.cc
3923 (G_TYPE_TIME_ZONE_MONITOR): Remove this GType from the list of types
3924 for which properties and signals are generated.
3925
3926 See the glib commit:
3927 http://git.gnome.org/browse/glib/commit/?id=5b68b49b2072c371c72ee96175e3d6a727eb5e8b
3928
3929 2011-08-22 Murray Cumming <murrayc@murrayc.com>
3930
3931 configure: Require the latest libsigc++.
3932
3933 * configure.ac: Because our tests require it.
3934
3935 2011-08-03 Murray Cumming <murrayc@murrayc.com>
3936
3937 giomm: Application: local_command_line_vfunc(): Use references for parameters.
3938
3939 * gio/src/application.hg: Use references instead of pointers, now that
3940 we know how these paramters are actually used. See bug #643478.
3941
3942 2011-08-03 Murray Cumming <murrayc@murrayc.com>
3943
3944 Add back Gio::Application and friends so we can try to finish them.
3945
3946 * gio/src/actiongroup.[hg|ccg]:
3947 * gio/src/application.[hg|ccg]:
3948 * gio/src/applicationcommandline.[hg|ccg]:
3949 See http://mail.gnome.org/archives/gtkmm-list/2011-March/msg00062.html
3950
3951 2.29.11:
3952
3953 2011-07-19 Murray Cumming <murrayc@murrayc.com>
3954
3955 Add reftpr_sigc_bind test case.
3956
3957 * tests/glibmm_refptr_sigc_bind/main.cc:
3958 * tests/Makefile.am: Add a new test case from Kjell Ahlstedt, to test a fix
3959 in libsigc++. See bug #564005#c14.
3960
3961 2011-07-19 Murray Cumming <murrayc@murrayc.com>
3962
3963 Add h2defs.py and docextract_to_xml.py, removed from pygboject.
3964
3965 * tools/defs_gen/definitions.py:
3966 * tools/defs_gen/defsparser.py:
3967 * tools/defs_gen/docextract.py:
3968 * tools/defs_gen/docextract_to_xml.py:
3969 * tools/defs_gen/h2def.py:
3970 * tools/defs_gen/scmexpr.py: Add h2def.py and docextract_to_xml.py,
3971 and any .py files that they use, because they were removed from pygobject.
3972 * tools/Makefile.am: Add these to EXTRA_DIST.
3973
3974 2011-07-18 José Alburquerque <jaalburqu@svn.gnome.org>
3975
3976 gmmproc: _STRUCT_NOT_HIDDEN: Make macro local to class only.
3977
3978 * tools/m4/class_shared.m4 (STRUCT_NOT_HIDDEN): Undefine the boolean
3979 variable that signals that the typedefs generated by gmmproc should
3980 not be generated once the _STRUCT_NOT_HIDDEN macro is used so that it
3981 doesn't affect all the classes defined in a file.
3982
3983 2011-07-12 Murray Cumming <murrayc@murrayc.com>
3984
3985 AppInfo: Add launch() taking one file, and launch_uri() taking one URI.
3986
3987 * gio/src/appinfo.[hg|ccg]: Add launch() overloads that take a single
3988 Gio::File, for convenience.
3989 Also add launch_uri() to take a single URI.
3990
3991 2011-07-12 Murray Cumming <murrayc@murrayc.com>
3992
3993 AppInfo::launch(): Correct the parameter type.
3994
3995 * gio/src/appinfo.hg: g_app_info_launch() takes a GList of GFile, not of
3996 strings. Also use a vector instead of a ListHandle, as per our new convention.
3997 It is acceptable to change this API/ABI because this method could never
3998 possibly have been used by any application without crashes, so this can't
3999 make anything worse.
4000 Also add an overload without the launch_context parameter, using the new {?}
4001 syntax.
4002 Luckily we did not implement the vfuncs, or maybe we disabled them because of
4003 the crashes.
4004
4005 2011-07-12 Murray Cumming <murrayc@murrayc.com>
4006
4007 AppInfo::launch_uris(): Corrected (with deprecation) and add overload.
4008
4009 * gio/src/appinfo.[hg|ccg]: Deprecate the existing method and add one that
4010 takes a C++ AppLaunchContext instead of a GAppLaunchContext*.
4011 Also add an overload with no AppLaunchContext, using the new {?} syntax.
4012
4013 2.29.10:
4014
4015 2011-06-29 Murray Cumming <murrayc@murrayc.com>
4016
4017 Add -Wformat-security to the --enable-warnings=fatal build.
4018
4019 * configure.ac: This seems to be popular now.
4020
4021 2011-06-19 José Alburquerque <jaalburqu@svn.gnome.org>
4022
4023 giomm: Add TimeZoneMonitor.
4024
4025 * tools/extra_defs_gen/generate_defs_gio.cc: Add the
4026 G_TYPE_TIME_ZONE_MONITOR type to the list of types for which signals
4027 and properties should be generated.
4028 * gio/src/gio_signals.defs:
4029 * gio/src/gio_signals.defs.patch: Regenerate the signal and properties
4030 defs file and add a patch file so it does not have to be edited
4031 manually.
4032 * gio/src/gio_methods.defs:
4033 * gio/src/gio_methods.defs.patch: Regenerate the methods defs file and
4034 add a patch file as above.
4035
4036 * gio/src/filelist.am:
4037 * gio/src/timezonemonitor.{ccg,hg}: Add the sources and mention them
4038 in the build so they are processed.
4039 * tools/m4/convert_gio.m4: Add a necessary conversion.
4040
4041 2011-06-16 José Alburquerque <jaalburqu@svn.gnome.org>
4042
4043 DateTime, TimeZone: Use classes without Glib::RefPt<>.
4044
4045 * glib/src/datetime.hg:
4046 * glib/src/timezone.hg: Since these classes are immutable (like
4047 Glib::VariantBase), remove the need to use these classes with
4048 Glib::RefPtr<> by using the _CLASS_OPAQUE_COPYABLE macro instead of
4049 the _CLASS_OPAQUE_REFCOUNTED macro. This should make using the
4050 classes a little less tedious.
4051 * tools/m4/convert_glib.m4: Modify the corresponding conversions
4052 according to the above.
4053
4054 2011-06-15 José Alburquerque <jaalburqu@svn.gnome.org>
4055
4056 DateTime: Add methods and create() methods not creating now instances.
4057
4058 * glib/src/glib_functions.defs: h2def.py missed the g_date_time_add*()
4059 functions because they were preceded by an unknown macro, namely
4060 G_GNUC_WARN_UNUSED_RESULT, so temporarily removed the macros and
4061 regenerated this file to get the definitions for those functions.
4062 h2def.py will probably have to be modified to skip over those macros
4063 properly in the future. Also corrected the
4064 g_date_time_[compare|hash|equal] definitions so that the functions
4065 could be wrapped as method members of DateTime.
4066 * glib/src/glib_functions.defs.patch: Added this patch file so future
4067 editing of the above file should not be necessary.
4068 * glib/src/datetime.hg: Added the missing create() and the rest of the
4069 methods.
4070 * tools/m4/convert_glib.m4: Added necessary conversions.
4071
4072 2011-06-14 José Alburquerque <jaalburqu@svn.gnome.org>
4073
4074 TimeZone: Const corrections.
4075
4076 * glib/src/timezone.hg: Correct the constness of the TimeZone for some
4077 methods.
4078
4079 2011-06-14 José Alburquerque <jaalburqu@svn.gnome.org>
4080
4081 TimeZone: Const corrections.
4082
4083 * glib/src/timezone.hg: Correct the constness of the TimeZone for some
4084 methods.
4085
4086 2011-06-14 José Alburquerque <jaalburqu@svn.gnome.org>
4087
4088 Increase the Glib requirement to 2.29.8.
4089
4090 * configure.ac: The requirement was increased in the previous to the
4091 last commit but make sure it is shown clearly in the ChangeLog and in
4092 git.
4093
4094 2011-06-14 José Alburquerque <jaalburqu@svn.gnome.org>
4095
4096
4097 glibmm: Add TimeZone and partial DateTime classes.
4098
4099 * glib/src/datetime.{ccg,hg}:
4100 * glib/src/timezone.{ccg,hg}:
4101 * glib/src/filelist.am: Add the new sources and mention them in the
4102 build structure so they are processed.
4103 * glib/src/glib_extra_objects.defs: Include object definitions of the
4104 new classes so there are no gmmproc warnings when parsing the docs.
4105 * tools/m4/convert_glib.m4: Add necessary conversions.
4106
4107 2011-06-14 José Alburquerque <jaalburqu@svn.gnome.org>
4108
4109
4110 glibmm: Regenerate the defs and xml doc files.
4111
4112 * glib/src/glib_docs.xml:
4113 * glib/src/glib_enums.defs:
4114 * glib/src/glib_functions.defs:
4115 * glib/src/gobject_enums.defs:
4116 * glib/src/gobject_functions.defs: Regenerate with Glib 2.29.8 to get
4117 the new functions enums and docs.
4118
4119 * configure.ac: Increase the Glib requirement to 2.29.8.
4120
4121 2.28.1:
4122
4123 2011-06-13 Kalev Lember <kalev@smartlink.ee>
4124
4125 Removed doctooldir variable from pkgconfig files
4126
4127 * glib/glibmm{,-uninstalled}.pc.in: Removed doctooldir variable now
4128 that the scripts are in mm-common.
4129 https://bugzilla.redhat.com/show_bug.cgi?id=712474
4130 Bug #652461
4131
4132 2011-06-13 José Alburquerque <jaalburqu@svn.gnome.org>
4133
4134 m4 Macros: _INITIALZE: Modify so that $1 substitutes C++ type w/o &.
4135
4136 * tools/m4/convert_base.m4 (_INITIALIZE): Changed the macro so that $1
4137 substitutes the C++ type without the final ampersand (&) for
4138 convenience.
4139
4140 2011-06-12 José Alburquerque <jaalburqu@svn.gnome.org>
4141
4142 gmmproc: Use '.' instead of '-' in parameter reordering.
4143
4144 * tools/pm/Function.pm (parse_param): Use a '.' instead of a '-' to
4145 signify that the C++ parameter name should be used as the C parameter
4146 name to map the current C++ parameter to.
4147
4148 2011-06-09 José Alburquerque <jaalburqu@svn.gnome.org>
4149
4150 Gio::DBus::Connection::emit_signal(): Say why convert empty strings.
4151
4152 * gio/src/dbusconnection.ccg (emit_signal): Explain why empty strings
4153 are converted to NULL when passed to the C API.
4154
4155 2011-06-08 José Alburquerque <jaalburqu@svn.gnome.org>
4156
4157 Gio::DBus::Connection::emit_signal(): Replace empty strings with NULL.
4158
4159 * gio/src/dbusconnection.ccg (emit_signal): Pass NULL to the C
4160 function call where strings are empty allowing emitting signals to all
4161 listeners.
4162
4163 Bug #645072 (Yannick Guesnet).
4164
4165 2011-06-07 José Alburquerque <jaalburqu@svn.gnome.org>
4166
4167 M4 Macros: Rename the _INITIALIZER macro to _INITIALIZATION.
4168
4169 * tools/m4/convert_base.m4 (_INITIALIZER): Rename the macro to
4170 _INITIALIZATION to be more consistent with the _CONVERSION macro.
4171
4172 2011-06-07 José Alburquerque <jaalburqu@svn.gnome.org>
4173
4174 gmmproc: _WRAP_METHOD: Add the possibility of an output parameter.
4175
4176 * tools/pm/Output.pm (output_wrap_meth): Modified to test if there is
4177 a parameter mapping in the current C++ function from the hypothetical
4178 C name 'RET' to a C++ parameter index. If so, that parameter is
4179 treated as an output parameter. This allows wrap statements such as:
4180
4181 _WRAP_METHOD(static void get_finish(Glib::RefPtr<Connection>&
4182 conn{RET}, const Glib::RefPtr<AsyncResult>& res), g_bus_get_finish,
4183 errthrow
4184 )
4185
4186 Where the 'conn' parameter is an output parameter. The output
4187 parameter name and type are passed to the _STATIC_METHOD and _METHOD
4188 macros (along with the wrap line number).
4189
4190 (convert_args_cpp_to_c): Modified to process the C++ parameters
4191 dealing with the possibility of an output parameter.
4192
4193 * tools/pm/Function.pm: Typo.
4194
4195 * tools/m4/method.m4 (_METHOD):
4196 (_STATIC_METHOD): Both modified to accept an optional output parameter
4197 name, type and wrap line number and if they exist to ensure that the
4198 output parameter is correctly set to the return of the C function. To
4199 do that it uses the new _INITIALIZE macro.
4200
4201 * tools/m4/convert_base.m4 (_INITIALIZER):
4202 (_INITIALIZE): Add macros (similar to the _CONVERSION/_CONVERT
4203 macros) used to record how to initialize a C++ type from a C type and
4204 later to initialize an output parameter of the C++ type. The
4205 _INITIALIZER macro has much the same syntax as the _CONVERSION macro.
4206 For example:
4207
4208 _INITIALIZER(`Glib::RefPtr<Connection>&',`GDBusConnection*',
4209 `$3 = Glib::wrap($4)')
4210
4211 Describes how to initialize a C++ reference to a Glib::RefPtr that
4212 contains a Gio::DBus::Connection from its corresponding C type. $3
4213 represents the output parameter name and $4 represents the C return.
4214
4215 The _INITIALIZE macro can then be appropriately used by the _METHOD
4216 and _STATIC_METHOD macros to initialize the output parameters passed
4217 to them by gmmproc.
4218
4219 2011-06-06 José Alburquerque <jaalburqu@svn.gnome.org>
4220
4221 gmmproc: _WRAP_[CREATE|CTOR|METHOD]: Support parameter reordering.
4222
4223 * tools/pm/Function.pm (param_mappings): Add a new hash member mapping
4224 C parameter names to C++ parameter indices. The map is specified by
4225 appending a {name[?]} to the desired C++ parameter name in the C++
4226 method declaration. A '-' in place of a C parameter name means to use
4227 the C++ parameter name.
4228 (parse_param): Modified to detect parameter mappings and set the
4229 appropriate mapping in the above new member. No mappings occur if
4230 none are specified.
4231 * tools/pm/Output.pm (convert_args_cpp_to_c):
4232 (get_ctor_properties): Modified to use the new C param names to C++
4233 param indices mappings member above to allow reordering of parameters
4234 in the C++ method declaration.
4235
4236 2011-06-05 José Alburquerque <jaalburqu@svn.gnome.org>
4237
4238 gmmproc: Do not use NULL for optional parameters or properties.
4239
4240 * tools/pm/Output.pm (convert_args_cpp_to_c):
4241 (get_ctor_properties): Substitute 0 instead of NULL for optional
4242 parameters or properties.
4243
4244 2011-06-04 Murray Cumming <murrayc@murrayc.com>
4245
4246 Fix the build with --enable-warnings=fatal.
4247
4248 * tests/glibmm_nodetree/main.cc: Comment out a set-but-not-used
4249 variable.
4250
4251 2011-06-01 José Alburquerque <jaalburqu@svn.gnome.org>
4252
4253 gmmproc: Use NULL for optional properties.
4254
4255 * tools/pm/Output.pm(get_ctor_properties): Use NULL instead of
4256 static_cast<char*>(0) for properties that are optional as is done in
4257 convert_args_cpp_to_c().
4258
4259 2011-06-01 José Alburquerque <jaalburqu@svn.gnome.org>
4260
4261 gmmproc: _WRAP_[CREATE|CTOR]: Add optional parameter functionality.
4262
4263 * tools/pm/Function.pm (new_ctor): Modified to initialize the new
4264 param_optional and possible_args_list members.
4265 * tools/pm/FunctionBase.pm (args_names_only): Typo.
4266 (get_declaration): Make sure that spacing is correct if the
4267 declaration is a constructor's declaration.
4268 * tools/pm/Output.pm (output_wrap_meth): Store the number of possible
4269 declarations instead of computing it each time in the for loop.
4270 (output_wrap_ctor):
4271 (output_wrap_create): Modified as output_wrap_meth() to loop through
4272 the list of the possible combination of arguments to output
4273 convenience overloads for the constructors and create() methods.
4274 (get_ctor_properties): Modified as convert_args_cpp_to_c() to accept
4275 an optional index specifying which argument list out of the possible
4276 ones to use and to insert a static_cast<char*>(0) for optional
4277 parameters not in the specified argument list.
4278 * tools/m4/class_gobject.m4: Added a blank line after the create()
4279 methods definitions.
4280
4281 2011-05-31 José Alburquerque <jaalburqu@svn.gnome.org>
4282
4283 gmmproc: _WRAP_METHOD: Add optional parameter functionality.
4284
4285 * tools/pm/Function.pm (param_optional): Add new member bool array to
4286 represent which parameters are optional.
4287 (possible_args_list): Add new member string array containing a list of
4288 the possible argument combination based on existing optional
4289 parameters.
4290 (possible_args_list): Added recursive function to generate the list of
4291 possible parameter combinations. The first in the list (the zeroth
4292 element) always includes all the paramters.
4293 (new): Modified to initialize the new members above.
4294 (parse_param): Modified to see if parameters are optional by checking
4295 if the name ends with '{?}'.
4296 * tools/pm/FunctionBase.pm (args_names_only):
4297 (args_types_and_names):
4298 (args_types_and_names_with_default_values): Modified to accept an
4299 optional index representing the desired argument list to use out of
4300 the possible combinations.
4301 (get_declaration): New subroutine returning any of the possible
4302 declarations based on optional arguments.
4303 (get_num_possible_args_list): New subroutine returning the number of
4304 possible combination of arguments.
4305 * tools/pm/Output.pm (output_wrap_meth): Modified to loop through the
4306 possible arguments list and generate a _METHOD or _STATIC_METHOD for
4307 all the possible combination of arguments.
4308 (convert_args_cpp_to_c): Modified as above to accept an optional index
4309 parameter representing the argument list for which to generate
4310 _CONVERT macros. For optional arguments a NULL is placed in the C
4311 function call.
4312
4313 2011-05-27 Kjell Ahlstedt <kjellahl@src.gnome.org>
4314
4315 gmmproc: Protect documentation with m4 quotes.
4316
4317 * tools/pm/DocsParser.pm:
4318 * tools/pm/Output.pm: Method documentation read from xxx_docs.xml, and
4319 property documentation read from xxx_signals.defs are better protected with
4320 m4 quotes and __BT__ and __FT__ macros in the input to the m4 macro
4321 processor. Bug #603930
4322
4323 2.28.1:
4324
4325 2011-05-05 José Alburquerque <jaalburqu@svn.gnome.org>
4326
4327 Extra Defs Tool: Only generate properties that the GType owns.
4328
4329 * tools/extra_defs_gen/generate_extra_defs.cc: Modify the extra defs
4330 generation tool to generate properties that the given GType owns.
4331 g_object_interface_list_properties() includes all properties, even the
4332 properties of possible base classes, but those properties should be
4333 generated for the base classes and not for a derived GType.
4334
4335 2011-05-03 Kalev Lember <kalev@smartlink.ee>
4336
4337 gmmproc: Put guards around generated includes in wrap_init.cc
4338
4339 * tools/generate_wrap_init.pl.in: Store include filenames in a hashmap
4340 (key: filename, value: cppname) so it is possible to print
4341 _DISABLE_DEPRECATED and G_OS_WIN32 guards around them. Bug #649182
4342
4343 2011-05-03 Fan, Chun-wei <fanc999@ahoo.com.tw>
4344
4345 Update the VS 2008 project files.
4346
4347 * MSVC_Net2008/giomm/giomm.vcproj:
4348 * MSVC_Net2008/glibmm/glibmm.vcproj: Mention new source files.
4349
4350 2011-05-03 Fan, Chun-wei <fanc999@ahoo.com.tw>
4351
4352 Update the VS 2010 project files.
4353
4354 * MSVC_Net2010/giomm/giomm.vcxproj:
4355 * MSVC_Net2010/giomm/giomm.vcxproj.filters:
4356 * MSVC_Net2010/glibmm/glibmm.vcxproj:
4357 * MSVC_Net2010/glibmm/glibmm.vcxproj.filters: Mention new source files.
4358
4359 2011-05-03 Fan, Chun-wei <fanc999@ahoo.com.tw>
4360
4361 Update the VS 2005 project files.
4362
4363 * MSVC_Net2005/giomm/giomm.vcproj:
4364 * MSVC_Net2005/glibmm/glibmm.vcproj: Mention new source files.
4365
4366 2011-05-02 Kalev Lember <kalev@smartlink.ee>
4367
4368 gmmproc: Factored some copy-pasted code out to a common function
4369
4370 * tools/generate_wrap_init.pl.in: Added print_with_guards() subroutine
4371 and replaced all _DISABLE_DEPRECATED and G_OS_WIN32 guard printing with
4372 calls to print_with_guards().
4373
4374 2011-05-03 Volker Grabsch <bugzilla.gnome.org@v.notjusthosting.com>
4375
4376 Examples build: Use the GLIB_COMPILE_SCHEMAS variable.
4377
4378 * examples/Makefile.am: Instead of hard-coding glib-compile-schemas.
4379 This was an issue in cross-toolchain environments.
4380 Bug #648485.
4381
4382 2011-05-02 Kalev Lember <kalev@smartlink.ee>
4383
4384 Gio::DBus::Message: Fixed includes for WIN32
4385
4386 * gio/src/dbusmessage.hg: Added G_OS_UNIX guards around unixfdlist.h
4387 include. Bug #649168
4388
4389 2011-04-26 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
4390
4391 gmmproc: GtkDefs::split_tokens() uses split() instead of substr().
4392
4393 * tools/pm/GtkDefs.pm: GtkDefs::split_tokens() splits the string with
4394 split() instead of substr(). substr() can be very inefficient when splitting
4395 a utf8 string. Bug #644037
4396
4397 2011-04-06 Murray Cumming <murrayc@murrayc.com>
4398
4399 Minor documentation improvements.
4400
4401 * gio/src/proxy.hg:
4402 * gio/src/proxyaddress.hg:
4403 * gio/src/proxyresolver.hg:
4404 * gio/src/socketcontrolmessage.hg:
4405 * gio/src/unixcredentialsmessage.hg:
4406 * gio/src/unixfdlist.hg:
4407 * gio/src/unixfdmessage.hg: Added these to NetworkIO doxygen group.
4408 * glib/glibmm.h: Mention Gio::Settings.
4409
4410 2011-04-06 Murray Cumming <murrayc@murrayc.com>
4411
4412 DBus docs: Add a descripton for the doxygen group.
4413
4414 * gio/src/dbusconnection.hg: Expand the defgroup doxygen comment block.
4415
4416 2.28.0:
4417
4418 2011-04-05 Murray Cumming <murrayc@murrayc.com>
4419
4420 DBusServer: Add overview documentation.
4421
4422 * gio/src/dbusserver.hg: Based on my documentation patch for GDBusServer
4423 in bug #646425.
4424
4425 2011-04-04 Murray Cumming <murrayc@murrayc.com>
4426
4427 ThemedIcon: Remove a property as suggested by a TODO.
4428
4429 * gio/src/themedicon.hg: The name property is write-only and construct-only
4430 so we should not have any API for it.
4431 Noticed by Kjell Ahlstedt.
4432
4433 2011-04-04 Murray Cumming <murrayc@murrayc.com>
4434
4435 Gio::Settings: Really add list_schemas().
4436
4437 * gio/src/gio_others.defs: Add g_settings_list_schemas(), though we do not
4438 actually use this defnition yet. See below. This must be hand-written
4439 because h2defs.py gets confused by the return type.
4440 * gio/src/settings.[hg|ccg]: list_schemas(): Make this static and hand-code
4441 it because gmmproc is confused by the declaration when it is static.
4442 Noticed by Kjell Ahlstedt.
4443
4444 2011-04-02 Murray Cumming <murrayc@murrayc.com>
4445
4446 Gio::DBus examples: Renamed one and removed one.
4447
4448 * examples/dbus/server.cc: Rename this to server_without_bus.cc to make its
4449 purpose clearer. This is not the common case. It is for private peer-to-peer
4450 connections not involving the usual session or system buses, or any bus
4451 for that matter. Meaning, for instance, that it does not assign names or
4452 provide introspection, I think.
4453 * examples/dbus/peer.cc: Removed this because it seems like just a
4454 complicated version of the server_without_bus example, and this is not in sync
4455 with the C versoin. Well, we should probably add a client for the server
4456 example.
4457 * examples/Makefile.am: Adapted.
4458
4459 2011-04-02 Murray Cumming <murrayc@murrayc.com>
4460
4461 Slight cleanup to D-Bus example code.
4462
4463 * examples/dbus/server.cc:
4464 * examples/dbus/session_bus_service.cc: Remove code to handle the now
4465 non-existant GetStdOut D-Bus method. That code was left over from an earlier
4466 version of an example.
4467
4468 2011-04-02 Murray Cumming <murrayc@murrayc.com>
4469
4470 Gio::DBus::NodeInfo::lookup_interface(): Add a method overload with no name.
4471
4472 * gio/src/dbusintrospection.[hg|ccg]: Add a lookup_interface() method overload
4473 that just returns the first interface, avoiding the need to specify the name
4474 when there is only one interface. The C API will not do this itself:
4475 See bug #646417.
4476 * examples/dbus/peer.cc:
4477 * examples/dbus/server.cc:
4478 * examples/dbus/session_bus_service.cc: Use the new method to simplify the
4479 code slightly.
4480
4481 2011-04-02 Murray Cumming <murrayc@murrayc.com>
4482
4483 Gio::DBus::Connection: Added a register_method() overload with no vtable.
4484
4485 * gio/src/dbusconnection.[hg|ccg]: This makes sense now that the C API's
4486 documentation was improved in bug #646419.
4487
4488 2011-04-01 Murray Cumming <murrayc@murrayc.com>
4489
4490 Added a simple example of a D-Bus session bus service.
4491
4492 * examples/dbus/session_bus_service.cc: This uses Gio::DBus::own_name().
4493 * examples/Makefile.am: Mention the new test.
4494 * examples/dbus/server.cc: Mention the return (out) value for the GetTime
4495 method here too, and catch an exception.
4496
4497 2011-04-01 Murray Cumming <murrayc@murrayc.com>
4498
4499 Gio::DBus: Minor API changes.
4500
4501 * gio/src/dbusconnection.[hg|ccg]: register_object(), register_subtree():
4502 Take the VTable by reference, not pointer. register_object() can take a NULL
4503 but that needs documentation (see the bug mentioned) and a future method
4504 overload.
4505 * gio/src/dbusmethodinvocation.ccg: get_parameters(): Return a
4506 VariantContainerBase instead of taking a VariantBase output parameter,
4507 because this is always a tuple. Well, I think so: See the bug mentioned.
4508 * gio/src/dbusmethodinvocation.hg: return_value(): Take a VariantContainerBase
4509 instead of a VariantBase, because this is always a tuple.
4510 return_gerror(), return_error_literal(): Rename them both to return_error().
4511 * glib/src/variant.hg: VariantContainerBase::create_tuple(): Add a method
4512 overload that takes a single VariantBase, for convenience, so that applications
4513 don't need to create a single-item vector.
4514 * examples/dbus/busserver.cc: Adapted.
4515 * examples/dbus/busserver.cc: Rename to server.cc and actually implement it,
4516 though I am currently confused about whether this server's object should be
4517 available on an existing bus. Maybe we should use Gio::DBus::own_name()
4518 instead of Gio::DBus::Server.
4519
4520 2011-04-01 Murray Cumming <murrayc@murrayc.com>
4521
4522 Rename a D-Bus client example.
4523
4524 * examples/dbus/userbus.cc: Rename to client_bus_listnames.cc to make it
4525 more obvious what it does.
4526
4527 2011-03-31 Murray Cumming <murrayc@murrayc.com>
4528
4529 DBusProxy: Rename type_map_changed_properties to MapChangeProperties.
4530
4531 * gio/src/dbusproxy.[hg|ccg]: Use our normal convention for container
4532 typedefs.
4533
4534 2011-03-30 Murray Cumming <murrayc@murrayc.com>
4535
4536 Use the latest mm-common.
4537
4538 * configure.ac: Require the latest version.
4539 * doc/Makefile.am: Don't specify the mm-common .pl files to distribute
4540 because mm-common now does this automatically.
4541
4542 2.27.99.2:
4543
4544 2011-03-29 Murray Cumming <murrayc@murrayc.com>
4545
4546 Variant: Rename get(index) to get_child(index).
4547
4548 * glib/src/variant.[hg|ccg]: Rename all get() methods that return children
4549 to get_child() to make the API clearer and to avoid ambiguity with get()
4550 methods that return the underlying type instead.
4551 * examples/dbus/peer.cc:
4552 * examples/dbus/userbus.cc:
4553 * tests/glibmm_variant/main.cc: Adapted.
4554 https://bugzilla.gnome.org/show_bug.cgi?id=644207#c7
4555 (Yannick Guesnet)
4556
4557 2011-03-29 Murray Cumming <murrayc@murrayc-desktop>
4558
4559 FileUtils: Correct my previous commit.
4560
4561 * glib/src/fileutils.ccg:
4562 * glib/src/iochannel.ccg: Do not create a ustring instead of a std::string.
4563
4564 2011-03-29 Murray Cumming <murrayc@murrayc.com>
4565
4566 Use the utility functions for creating strings.
4567
4568 * gio/src/dbuserrorutils.ccg:
4569 * gio/src/dbusownname.ccg:
4570 * gio/src/dbusutils.ccg:
4571 * gio/src/dbuswatchname.ccg:
4572 * glib/src/fileutils.ccg:
4573 * glib/src/iochannel.ccg:
4574 * glib/src/markup.ccg:
4575 * glib/src/variant.ccg: Use convert_const_gchar_ptr_to_ustring() and
4576 convert_const_gchar_ptr_to_stdstring(), simplifying code and sometimes
4577 avoiding crashes with NULL const char*.
4578
4579 2011-03-29 Murray Cumming <murrayc@murrayc.com>
4580
4581 Variant<std::string>::get(): Correct my custom implementation.
4582
4583 * glib/src/variant.ccg: Really call g_variant_get_bytestring().
4584
4585 2011-03-29 Murray Cumming <murrayc@murrayc.com>
4586
4587 Variant: Move constructor definitions into the .cc file.
4588
4589 * glib/src/variant.[hg|ccg]: The implementations of constructors for
4590 template specializations do not need to be inline. This lets us fix them
4591 later without requiring recompilation of applications.
4592
4593 2011-03-29 Murray Cumming <murrayc@murrayc.com>
4594
4595 Variant: Really declare the cast_dyamic() specialization for ustring.
4596
4597 * glib/src/variant.[hg|ccg]: Mention the specialization in the .h file instead
4598 of just in the .cc file.
4599 Also write a custom Variant<std::string>::get() implementation because this
4600 can be used for types other than just bytestring.
4601 * tests/glibmm_variant/main.cc: Add tests for the new casts.
4602
4603 2011-03-28 Krzesimir Nowak <qdlacz@gmail.com>
4604
4605 ArrayHandle: Make it compilable with MSVC 2005, 2008, 2010.
4606
4607 * glib/glibmm/arrayhandle.h: Put operator std::container methods
4608 definitions inside class template definition. Also added decrementation
4609 operators for ArrayHandleIterator for MSVC 2005.
4610 Bug #645851 (Fan, Chun-wei)
4611
4612 2011-03-28 Murray Cumming <murrayc@murrayc.com>
4613
4614 Variant: Use the VARIANT_TYPE_* constants.
4615
4616 * glib/src/variant.ccg: Use the constants instead of creating static members.
4617
4618 2011-03-28 Murray Cumming <murrayc@murrayc.com>
4619
4620 VariantType: Capitalize the standard types.
4621
4622 * glib/src/varianttype.[hg|ccg]: Use, for instance VARIANT_TYPE_STRING instead
4623 of VariantTypeString. This seems more appropriate for a constant and is the
4624 style used by gtkmm's STOCK_* items, which this is based on.
4625 * glib/src/variant.ccg: Adapt.
4626
4627 2011-03-28 Murray Cumming <murrayc@murrayc.com>
4628
4629 Variant: Add cast_dynamic<> specializations for strings.
4630
4631 * glib/src/variant.[hg|ccg]: Add cast_dynamic() specializations for
4632 Vector<std::string> and Vector<Glib::ustring>, because this type seems
4633 appropriate for multiple types. For instance, see
4634 http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#g-variant-get-string
4635 Thanks to Povietkin Konstantin.
4636
4637 2.27.99.1:
4638
4639 2011-03-27 Murray Cumming <murrayc@murrayc.com>
4640
4641 Gio::DBus*: More use of VariantContainerBase.
4642
4643 * gio/src/dbusconnection.hg:
4644 * gio/src/dbusinterfacevtable.hg: Correct the documentation.
4645 * gio/src/dbusproxy.[hg|cgg]: call(): Take a VariantContainerBase instead of
4646 a VariantBase.
4647 signal: Provide a VariantContainerBase instead of a VariantBase, though this
4648 is not documented as necessarily being a tuple, though it is multiple
4649 values.
4650
4651 2011-03-27 Murray Cumming <murrayc@murrayc.com>
4652
4653 Balanced Tree: Clean up the documentation.
4654
4655 * glib/src/balancedtree.hg: Use doxygen syntax.
4656
4657 2011-03-25 Murray Cumming <murrayc@murrayc.com>
4658
4659 Gio::DBus: Use VariantContainerBase for tuple Variants.
4660
4661 * gio/src/dbusconnection.[hg|ccg]:
4662 * gio/src/dbusproxy.ccg.[hg|ccg]: call_sync(), call(), call_finish():
4663 Use VariantContainerBase, instead of VariantBase, for GVariants that are
4664 documented as being tuples. Because the type is known we can also use
4665 it as a simple return type instead of an output parameter.
4666 * tools/m4/convert_gio.m4: Added a necessary conversion.
4667 * examples/dbus/peer.cc:
4668 * examples/dbus/userbus.cc: Adapted. These already correctly assumed that
4669 the type should be VariantContainerBase.
4670
4671 2.27.99:
4672
4673 2011-03-24 Murray Cumming <murrayc@murrayc.com>
4674
4675 Remove Gio::Application and friends for now because they are not finished.
4676
4677 * gio/src/actiongroup.[hg|ccg]:
4678 * gio/src/application.[hg|ccg]:
4679 * gio/src/applicationcommandline.[hg|ccg]: Removed these temporarily
4680 because we removed Gtk::Application temporarily from gtkmm.
4681 See http://mail.gnome.org/archives/gtkmm-list/2011-March/msg00062.html
4682
4683 2011-03-24 Murray Cumming <murrayc@murrayc.com>
4684
4685 Regenerate the XML for the C API documentation.
4686
4687 * gio/src/gio_docs.xml:
4688 * glib/src/glib_docs.xml: Regenerated with docextract_to_xml.py.
4689
4690 2011-03-24 Murray Cumming <murrayc@murrayc.com>
4691
4692 Gio: Remove SettingsBackend.
4693
4694 * gio/src/settingsbackend.[hg|ccg]: Remove these because we do not know yet
4695 if implementing GSettings backends is useful or encouraged, and our wrapper
4696 is unimplemented, requiring an ABI break to fix it when adding the virtual
4697 methods.
4698 * gio/src/filelist.am: Remove mention of the files.
4699 * gio/src/settings.hg: Remove use of SettingsBackend here too. Unfortunately
4700 this might have been slightly useful but we cannot provide this API without
4701 freezing a SettingsBackend API.
4702
4703 2011-03-24 Murray Cumming <murrayc@murrayc.com>
4704
4705 More minor documentation corrections.
4706
4707 * gio/src/dbusauthobserver.hg:
4708 * gio/src/dbusconnection.hg:
4709 * gio/src/dbusmessage.hg:
4710 * gio/src/dbusmethodinvocation.hg:
4711 * gio/src/dbusproxy.hg:
4712 * gio/src/dbusserver.hg:
4713 * gio/src/dbussubtreevtable.hg:
4714 * glib/src/varianttype.hg: More fixes since the change from DBus* to DBus::.
4715
4716 2011-03-24 Murray Cumming <murrayc@murrayc.com>
4717
4718 Documentation: Change DBus to D-Bus.
4719
4720 * glib/src/varianttype.hg: Use the correct name for D-Bus.
4721 I made the same change in the C documentation.
4722
4723 2011-03-24 Murray Cumming <murrayc@murrayc.com>
4724
4725 Variant: Improved the documentation, based on the C documentation.
4726
4727 * glib/src/variant.hg: Also changed two methods to take std::string by
4728 const &.
4729
4730 2011-03-24 Murray Cumming <murrayc@murrayc.com>
4731
4732 Avoid a tarball dependency on mm-common.
4733
4734 * configure.ac: Add a call to MM_CONFIG_DOCTOOL_DIR() telling it to
4735 copy the files locally and use them from there.
4736 * docs/Makefile.am: Dist the copied files, so that the build does not
4737 try to use the versions installed by mm-common.
4738
4739 2.27.98:
4740
4741 2011-03-23 Murray Cumming <murrayc@murrayc.com>
4742
4743 Gio::DBus::InterfaceVTable: Make the tuple clearer.
4744
4745 * gio/src/dbusinterfacevtable.[hg|ccg]: SlotInterfaceMethodCall: Change
4746 the VariantBase type to a VariantContainerBase, because this is a tuple,
4747 so people should get the children. This makes it more obvious.
4748 DBusInterfaceVTable_MethodCall_giomm_callback(): Adapt.
4749 Suggested by Michael Edwards.
4750
4751 2011-03-23 Murray Cumming <murrayc@murrayc.com>
4752
4753 Gio::DBus: Move InterfaceVTable and SubtreeVTable to their own files.
4754
4755 * gio/src/dbusinterfacevtable.[hg|ccg]:
4756 * gio/src/dbussubtreevtable.[hg|ccg]: Moved code here from
4757 * gio/src/dbusconnection.[hg|ccg].
4758 * gio/src/filelist.am: Mention the new files.
4759
4760 2011-03-21 Murray Cumming <murrayc@murrayc.com>
4761
4762 Correct some range checks to use >= instead of just >.
4763
4764 * glib/glibmm/stringutils.cc: Glib::Ascii::strtod():
4765 * glib/src/variant.[hg|ccg]: get(): Correct the range check. This would
4766 previously not have caught all wrong ranges.
4767 Thanks to Michael Edwards.
4768
4769 2011-03-20 Krzesimir Nowak <qdlacz@gmail.com>
4770
4771 Vectorutils, ArrayHandle: Check for NULL pointers.
4772
4773 * glib/glibmm/vectorutils.[h|cc]: Don't crash in compute_array_size2, when
4774 NULL is passed - in that case just return 0. Also, array_to_vector method
4775 return empty vector in such case.
4776 * glib/glibmm/arrayhandle.[h|cc]: Set array_size to zero if passed array
4777 is NULL.
4778 * tests/glibmm_null_vectorutils/main.cc: New test for NULL arrays and lists
4779 for vectorutils.
4780 * tests/glibmm_null_containerhandle/main.cc: New test for NULL arrays and lists
4781 for containerhandles.
4782 * tests/Makefile.am: Added new tests to build.
4783
4784 2011-03-21 Murray Cumming <murrayc@murrayc.com>
4785
4786 Date: Document that some methods return *this, and why.
4787
4788 * glib/src/date.hg: Thanks to Kjell Ahlstedt:
4789 http://mail.gnome.org/archives/gtkmm-list/2011-March/msg00049.html
4790
4791 2.27.97:
4792
4793 2011-03-16 Murray Cumming <murrayc@murrayc.com>
4794
4795 Variant: Remove unncessary Glib:: namespace qualification.
4796
4797 * glib/src/variant.[hg|ccg]
4798 * glib/src/variantiter.hg:
4799 * glib/src/varianttype.hg: Remove the unnecessary Glib:: namespace
4800 qualification in the API and documentation.
4801
4802 2011-03-16 Murray Cumming <murrayc@murrayc.com>
4803
4804 Gio::Variant: Add some get() method overloads.
4805
4806 * glib/src/variant.[hg|ccg]: Variant<VariantBase>: Add a get(VariantBase&)
4807 along with the existing VariantBase get().
4808 VariantContainerBase: Added a VariantBase get() to match the existing
4809 get(VariantBase&). Both seem useful, particularly now that we can
4810 cast_dynamic them.
4811
4812 VariantContainerBase::get() should maybe be renamed to get_child() too.
4813
4814 2011-03-16 Murray Cumming <murrayc@murrayc.com>
4815
4816 Dbus::Proxy: properties_changed signal: Avoid namespace qualifiers in header.
4817
4818 * gio/src/dbusproxy.[h|ccg]: Add a typedef to the .ccg file to help the
4819 compiler so we do not need the namespace qualifiers in the API.
4820
4821 2011-03-16 Yannick Guesnet <Yannick.Guesnet@univ-rouen.fr>
4822
4823 DBus::Proxy: Added signal properties_changed
4824
4825 * gio/src/dbusproxy.hg: Add signal properties_changed.
4826 * gio/src/gio_signals.defs: Change the type of a parameter of
4827 signal g-properties-changed from "GStrv" to
4828 "const gchar * const *" to match the signal declaration.
4829
4830 Bug #644886
4831
4832 2011-03-16 Murray Cumming <murrayc@murrayc.com>
4833
4834 Gio::Variant: Use _WRAP_METHOD() instead of hand-coding.
4835
4836 * glib/src/variant.[hg|ccg]: Use _WRAP_METHOD() for two hand-coded methods.
4837
4838 2011-03-16 Yannick Guesnet <Yannick.Guesnet@univ-rouen.fr>
4839
4840 Variant: Added Variant<VariantBase>::get().
4841
4842 * glib/src/variant.[ccg|hg]: Added Variant<VariantBase>::get().
4843 * tests/glibmm_variant/main.cc: Add some tests.
4844
4845 This is useful because Variant<VariantBase> can be manipulate as other
4846 variants of type Variant<T>. This allow, for example, to define variants
4847 of type Variant<std::map<ustring, VariantBase> >.
4848
4849 Bug #644207.
4850
4851 2011-03-14 Yannick Guesnet <Yannick.Guesnet@univ-rouen.fr>
4852
4853 Variant: Add a cast method.
4854
4855 * gio/src/glib/src/variant.[ccg|hg]: Add a VariantBase::cast_dynamic()
4856 static method.
4857 * tests/glibmm_variant/main.cc: Add some tests.
4858
4859 This is useful because VariantBase can and will be passed by value sometimes
4860 and DBus may have actual Variant types whose underlying type will not be
4861 known at compile time (this note was by Murray).
4862
4863 Bug #644146
4864
4865 2011-03-16 Murray Cumming <murrayc@murrayc.com>
4866
4867 Fix missing doc-install.pl problem with the tarball build.
4868
4869 * configure.ac: Remove the call to MM_CONFIG_DOCTOOL_DIR() so we do not copy
4870 the mm-common doc utils into glibmm and do not try to use local copies of
4871 them. This is what gtkmm and other modules do so it makes sense to do it now
4872 for glibmm now that glibmm is not the one that supplies these for pkg-config.
4873 This fixes bug #644829 (David Ronis) with the tarball build and
4874 Ubuntu launchpad bug
4875 https://bugs.launchpad.net/ubuntu/+source/glibmm2.4/+bug/735856
4876 (Krzysztof Klimonda)
4877
4878 However, I can see the point of distributing copies in the tarball, which
4879 could make the tarball build not need mm-common at all. But if we want that
4880 then we should decide to do it for gtkmm and other modules too.
4881
4882 2.27.96:
4883
4884 2011-03-15 Murray Cumming <murrayc@murrayc.com>
4885
4886 Do not install the doctool/*.pl scripts, such as doc-install.pl.
4887
4888 * docs/Makefile.am: These were already installed by mm-common too, and are
4889 now discovered via pkg-config from mm-common-util, by the existing
4890 macro. No changes should be necessary to other modules, though autogen.sh
4891 might need to be run again.
4892
4893 2011-03-11 Murray Cumming <murrayc@murrayc.com>
4894
4895 FileInfo: Added more TODOs about using ustring instead of std::string.
4896
4897 * gio/src/fileinfo.hg:
4898 See https://bugzilla.gnome.org/show_bug.cgi?id=615950#c7
4899 (Kjell Ahlstedt)
4900
4901 2011-03-11 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
4902
4903 Tell gmmproc that it reads and writes UTF-8 files.
4904
4905 * tools/pm/GtkDefs.pm:
4906 * tools/pm/Output.pm:
4907 * tools/pm/WrapParser.pm: Add 'use open IO => ":utf8";'. Bug #644037
4908
4909 2011-03-09 Murray Cumming <murrayc@murrayc.com>
4910
4911 FileInfo: Add TODOs about using ustring instead of std::string.
4912
4913 * gio/src/fileinfo.hg: The C documentation says that some of these are
4914 UTF-8.
4915 See https://bugzilla.gnome.org/show_bug.cgi?id=615950#c4
4916 (Kjell Ahlstedt)
4917
4918 2011-03-09 Murray Cumming <murrayc@murrayc.com>
4919
4920 DBus::InterfaceVTable: Use g_error_copy() where appropriate.
4921
4922 * gio/src/dbusconnection.ccg: DBusInterfaceVTable_SetProperty_giomm_callback(),
4923 DBusInterfaceVTable_GetProperty_giomm_callback(): Copy the GError instead of
4924 just copying the pointer, because it will be freed along with the parent
4925 Glib::Error.
4926 Bug #644008 (Yannick.Guesnet)
4927
4928 2011-03-04 Murray Cumming <murrayc@murrayc.com>
4929
4930 Gio::Application::open(file): Fix this.
4931
4932 * gio/src/application.ccg: There should be one item, not two.
4933
4934 2011-03-04 Murray Cumming <murrayc@murrayc.com>
4935
4936 Gio::Application: open(): Added a single-file method overload.
4937
4938 * gio/src/application.[hg|ccg]: Added an open() overload that takes a single
4939 Gio::File instead of a vector of Gio::Files.
4940
4941 2011-03-04 Murray Cumming <murrayc@murrayc.com>
4942
4943 Gio::Application: Fix a signal definition.
4944
4945 * gio/src/application.hg: The command-line signal returns an int, not a bool.
4946
4947 2011-03-04 Murray Cumming <murrayc@murrayc.com>
4948
4949 Gio::Application: Added get_environ().
4950
4951 * gio/src/gio_others.defs: Add a hand-written definition for this, because
4952 h2defs.py ignores functions with this return type.
4953 * gio/src/applicationcommandline.hg: Wrap the function.
4954
4955 2011-03-04 Murray Cumming <murrayc@murrayc.com>
4956
4957 ApplicationCommandLine: Use std::string instead of ustring in some API.
4958
4959 * gio/src/applicationcommandline.hg: The C documentation says that some
4960 return strings could be non-UTF-8.
4961
4962 2011-02-28 Murray Cumming <murrayc@murrayc.com>
4963
4964 Application: Wrap the local_command_line vfunc, though it is not finished.
4965
4966 * gio/src/application.hg:
4967 * gio/src/gio_vfuncs.defs: Wrap the local_command_line vfunc, though see
4968 the bug report in the comment.
4969
4970 2.27.95:
4971
4972 2011-02-24 Murray Cumming <murrayc@murrayc.com>
4973
4974 tests: Remove remaining use of std::cout.
4975
4976 * tests/giomm_ioerror/main.cc:
4977 * tests/giomm_simple/main.cc: Hid some use of std::cout that I missed in my
4978 previous commit.
4979
4980 2011-02-24 Murray Cumming <murrayc@murrayc.com>
4981
4982 tests: Use EXIT_* for clarity.
4983
4984 * tests/*.cc: Use EXIT_SUCCESS rather than 0 because I think that is clearer.
4985
4986 2011-02-24 Murray Cumming <murrayc@murrayc.com>
4987
4988 Actually run all tests, and check some failures.
4989
4990 * tests/Makefile.am: Add all tests to TESTS so they are really run during
4991 make check, instead of just built.
4992 * tests/giomm_asyncresult_sourceobject/main.cc:
4993 * tests/giomm_ioerror/main.cc:
4994 * tests/giomm_simple/main.cc:
4995 * tests/glibmm_bool_arrayhandle/main.cc:
4996 * tests/glibmm_bool_vector/main.cc:
4997 * tests/glibmm_buildfilename/main.cc:
4998 * tests/glibmm_date/main.cc:
4999 * tests/glibmm_ustring_compose/main.cc:
5000 * tests/glibmm_valuearray/main.cc:
5001 * tests/glibmm_variant/main.cc:
5002 * tests/glibmm_vector/main.cc: Remove all use of std::cout by default,
5003 allowing it to be renabled by changing a line.
5004 Return (or) exit with EXIT_FAILURE after any use of std::cerr, so that
5005 make check can report it.
5006
5007 2011-02-24 Murray Cumming <murrayc@murrayc.com>
5008
5009 Restore the Gio::DBus::Error registration.
5010
5011 * tools/generate_wrap_init.pl.in: Use a qualified C++ name for the key in
5012 the associated-array of exceptions. This seems to work, though it feels very
5013 hacky.
5014
5015 2011-02-24 Murray Cumming <murrayc@murrayc.com>
5016
5017 Rename Gio::DBus::DBusError to Gio::DBus::Error.
5018
5019 * gio/src/dbuserror.hg: Rename the class to Error.
5020 * examples/dbus/busserver.cc: Adapated.
5021 * tests/giomm_ioerror_and_iodbuserror/main.cc: Added a test to check that
5022 both Gio::Error and Gio::DBus::Error are working.
5023 * tests/Makefile.am: Set TESTS, so that the test is actually run.
5024 We should add others to this too.
5025
5026 This current fails, so I need to fix the problem in a subsequent commit.
5027
5028 2011-02-24 Murray Cumming <murrayc@murrayc.com>
5029
5030 Move Gio::DBusError to Gio::Dbus::DBusError.
5031
5032 * tools/m4/base.m4: Added a SECTION_H_GERROR_PRIVATE section.
5033 * tools/m4/gerror.m4: Import the SECTION_H_GERROR_PRIVATE section.
5034 * gio/src/dbuserror.hg: Put this back into the DBus namespace.
5035 Push a custom friend declaration into the SECTION_H_GERROR_PRIVATE section,
5036 because the standard generated friend declaration would not specify the
5037 correct one.
5038 This still does not rename DBusError to DBus::Error, but this is a step on
5039 the way.
5040 * examples/dbus/busserver.cc: Adapated.
5041
5042 2011-02-23 Murray Cumming <murrayc@murrayc.com>
5043
5044 Bring back Gio::Error registration.
5045
5046 * gio/src/error.[hg|ccg]: Move Gio::DBus::Error to
5047 * gio/src/dbuserror.[hg|ccg]: and temporarily rename it to Gio::DBusError
5048 because generate_wrap_init.pl.in is wrapping only on of Gio::Error and
5049 Gio::DBus::Error. Unfortunately, we need to fix the generation to handle
5050 this properly even when it is called Gio::DBus::DBusError.
5051
5052 2011-02-21 Murray Cumming <murrayc@murrayc.com>
5053
5054 Mark some new API.
5055
5056 * glib/glibmm/miscutils.h: Add @newin{2,28} to the new build_filename()
5057 overloads.
5058
5059 2011-02-21 Fabricio Godoy <skarllot@gmail.com>
5060
5061 Extended build_filename() to accept up to nine parameters.
5062
5063 * glib/glibmm/miscutils.[h|cc]: Added build_filename() method overloads that
5064 take more parameters, for convenience.
5065 * tests/Makefile.am
5066 * tests/glibmm_buildfilename/main.cc: Added a new testcase.
5067
5068 2.27.94:
5069
5070 2011-02-21 Murray Cumming <murrayc@murrayc.com>
5071
5072 Fix the build with --enable-warnigns=fatal.
5073
5074 * glib/glibmm/arrayhandle.h: Remove some typename keywords to avoid this
5075 compiler warning:
5076 "error: using ‘typename’ outside of template"
5077
5078 2011-02-02 Krzesimir Nowak <qdlacz@gmail.com>
5079
5080 Added bool specialization for Glib::ArrayHandle.
5081
5082 * glib/glibmm/arrayhandle.h: Added specialization for bool ArrayHandle.
5083 This is needed because std::vector<bool> is a specialization for which
5084 iterators does not return a reference to actual value it holds.
5085 * glib/glibmm/arrayhandle.cc: New file implementing destructor of
5086 bool ArrayHandle - the only method that is not inlined.
5087 * glib/glibmm/filelist.am: Added new source file to build.
5088 * tests/glibmm_bool_arrayhandle/main.cc: New file implementing test
5089 checking if bool ArrayHandle actually works.
5090 * tests/Makefile.am: Added new test to build.
5091
5092 2011-02-17 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
5093
5094 OptionGroup: Fix build error, remove memory leak.
5095
5096 * glib/src/optiongroup.ccg: Fix build error with --enable-warnings=fatal.
5097 Remove memory leak when the same OptionEntry is added twice.
5098 Bug #589197 (Hubert Figuiere)
5099
5100 2011-02-16 Murray Cumming <murrayc@murrayc.com>
5101
5102 Move the DBus classes into a Gio::DBus namespace.
5103
5104 * gio/giomm.h:
5105 * gio/src/dbus*.[hg|ccg]
5106 * gio/src/error.hg: Rename all DBus* classes to remove the prefix, putting
5107 them in a Gio::DBus namespace.
5108 This required the use of the new _GMMPROC_EXTRA_NAMESPACE macro, to avoid
5109 generating a confused wrap_init.cc.
5110 Along the way, I removed unnecessary class predeclarations, instead including
5111 the relevant header, because that is more convenient for users of the API.
5112 * gio/src/dbuserror.[hg|ccg]: Renamed to dbuserrorutils.[hg|ccg] and
5113 renamed the Error namespace to ErrorUtils, to avoid a clash with the
5114 Gio::DBus::Error exception.
5115 * gio/src/filelist.am:
5116 * tools/m4/convert_gio.m4: Changed some conversions.
5117 * examples/dbus/busserver.cc:
5118 * examples/dbus/peer.cc:
5119 * examples/dbus/userbus.cc: Adapted.
5120
5121 This is generally more organized. A prefix, instead of a namespace, looked
5122 generally wrong to C++ coders.
5123
5124 2011-02-16 Murray Cumming <murrayc@murrayc.com>
5125
5126 gmmproc: Allow some classes to be in a sub-namespace.
5127
5128 * tools/m4/class_shared.m4:
5129 * tools/generate_wrap_init.pl.in: Add a _GMMPROC_EXTRA_NAMESPACE(thenamespace)
5130 macro, so that wrap_init.cc will have the correct pre-declarations of the
5131 wrap_new() and get_type() functions.
5132 I am suprised that we have no other way to do this already, but I cannot
5133 find one, and this hack works.
5134
5135 2011-02-15 Murray Cumming <murrayc@murrayc.com>
5136
5137 OptionGroup: Minor code style changes.
5138
5139 * glib/src/optiongroup.[hg|ccg]: Use the explicit keyword and use a _
5140 suffix for member variables.
5141
5142 2011-02-14 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
5143
5144 OptionGroup: Add add_entry() that takes a slot with callback function.
5145
5146 * glib/src/optiongroup.[hg|ccg]: Add add_entry() and add_entry_filename()
5147 that take a slot. Add protected option_arg_callback().
5148 An exception thrown by on_pre_parse() or on_post_parse() is propagated
5149 to the error argument of g_callback_pre_parse() or post_parse_callback().
5150 * glib/src/optionentry.hg: Add description of set_flags().
5151 * examples/options/main.cc: Add more OptionEntries and callback functions
5152 for parsing command option values.
5153 Bug #589197 (Hubert Figuiere)
5154
5155 2011-02-15 Murray Cumming <murrayc@murrayc.com>
5156
5157 Dealt with several TODOs.
5158
5159 * gio/src/*.[hg|ccg]: Mostly just adding hand-coded documentation,
5160 and changing some new methods to use std::vector.
5161
5162 2011-02-15 Murray Cumming <murrayc@murrayc.com>
5163
5164 Update the .defs for signals and properties.
5165
5166 * tools/extra_defs_gen/generate_defs_gio.cc: Mention more GDbus types.
5167 * tools/extra_defs_gen/generate_defs_glib.cc: Mention some types, though
5168 none have properties or signals.
5169 * gio/src/gio_signals.defs: Regenerated, though there are no new properties or
5170 signals.
5171
5172 2011-02-15 Murray Cumming <murrayc@murrayc.com>
5173
5174 Regenerate the XML of the C documentation.
5175
5176 * gio/src/gio_docs.xml:
5177 * glib/src/glib_docs.xml: Regenerated with docextract_to_xml.py.
5178
5179 2011-02-15 Murray Cumming <murrayc@murrayc.com>
5180
5181 Require glib 2.28.0.
5182
5183 * configure.ac: Update the version check.
5184
5185 2011-02-08 Murray Cumming <murrayc@murrayc.com>
5186
5187 Fix the make check build with --enable-warnings=fatal.
5188
5189 * examples/options/main.cc: Comment-out unused method parameters.
5190
5191 2011-02-06 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
5192
5193 OptionGroup: An on_post_parse() override need not call the base class.
5194
5195 * glib/src/optiongroup.[hg|ccg]: The C post_parse callback is a static
5196 protected member function, which performs all necessary post-parsing.
5197 OptionGroup::on_post_parse is a dummy function.
5198 * examples/options/main.cc: The on_pre_parse, on_post_parse, and on_error
5199 overrides don't call the base class functions.
5200 Bug 588988 (Hubert Figuiere)
5201
5202 2011-02-01 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
5203
5204 gmmproc: Add optional arguments custom_vfunc[_callback] to _WRAP_VFUNC.
5205
5206 * tools/pm/Output.pm:
5207 * tools/pm/WrapParser.pm: Add handling of optional arguments
5208 custom_vfunc[_callback] in _WRAP_VFUNC. Bug 641165.
5209
5210 2.27.93:
5211
5212 2011-01-21 Krzesimir Nowak <qdlacz@gmail.com>
5213
5214 Vector utils: Corrected documentation and extended it bit.
5215
5216 * glib/glibmm/vectorutils.h: Documented important parts of *Keeper classes
5217 and corrected examples in *Handler classes. The documentation mostly tries
5218 to explain memory management.
5219
5220 2011-01-30 Murray Cumming <murrayc@murrayc.com>
5221
5222 Vector utils: Added simple documentation.
5223
5224 * glib/glibmm/vectorutils.h: Some simple documentation about the *Handler
5225 utility classes, though I need to correct the example code and explain the
5226 memory mangement when that is clear to me.
5227
5228 2011-01-28 Murray Cumming <murrayc@murrayc.com>
5229
5230 ArrayHandle, ListHandle, SListHandle: Document these as almost-deprecated.
5231
5232 * glib/glibmm/arrayhandle.h:
5233 * glib/glibmm/listhandle.h:
5234 * glib/glibmm/slisthandle.h: Mention that we try not to use these now,
5235 though we cannot actually deprecate them yet without forcing other libraries
5236 such as pangomm to deprecate the methods that use them, which they cannot
5237 really do because they cannot just add a method overload without introducing
5238 ambiguity.
5239
5240 2011-01-27 Chris Kühl <chrisk@openismus.com>
5241
5242 Changed glib include to build cleanly with GLIB_DISABLE_SINGLE_INCLUDES.
5243
5244 * glib/src/balancedtree.hg: Changed <glib/gtree.h> to <glib.h>.
5245
5246 2011-01-24 Krzesimir Nowak <qdlacz@gmail.com>
5247
5248 Added vectorutils.h.
5249
5250 * glib/glibmm/vectorutils.[h|cc]: New files implementing an array, list,
5251 slist <-> std::vector convertions. It implements also a specialization
5252 for bool types.
5253 * glib/glibmm.h: Include vectorutils.h.
5254 * glib/glibmm/filelist.am: Added vectorutils to build.
5255 * tests/glibmm_vector/main.cc: New test for general vectorutils check.
5256 * tests/glibmm_bool_vector/main.cc: New test checking bool specializations.
5257 * tests/Makefile.am: Added above tests to build system.
5258
5259 2011-01-20 Murray Cumming <murrayc@murrayc.com>
5260
5261 Resolver: lookup_service(), lookup_by_address(): Fix the reference counting.
5262
5263 * gio/src/resolver.[hg|ccg]: Use the correct OWNERSHIP_*, based on the
5264 documentation for the C functions. We must release both the list and the
5265 items.
5266 Bug #639575 (Michael Edwards)
5267
5268 2011-01-20 Murray Cumming <murrayc@murrayc.com>
5269
5270 Application: Fix the build.
5271
5272 * gio/src/application.ccg: Include giomm/init.h.
5273
5274 2011-01-19 Murray Cumming <murrayc@murrayc.com>
5275
5276 Application: Constructor: Initialize glibmm and giomm.
5277
5278 * gio/src/application.[hg|ccg]: Use a custom klass init function to
5279 make sure that glibmm and giomm are initialized when Gio::Application is
5280 instantiated, so it is then unnecssary to call them explicitly.
5281
5282 2.27.91.1:
5283
5284 2011-01-17 Murray Cumming <murrayc@murrayc.com>
5285
5286 Fix the make check build.
5287
5288 * examples/dbus/busserver.cc: Comment out unused methods, to fix the
5289 build. I guess this example is still in progress. Otherwise, the commented
5290 code should really be removed.
5291
5292 2010-12-22 Murray Cumming <murrayc@murrayc.com>
5293
5294 gmmproc: _CLASS_GOBJECT: reverted removal of __REAL_* arguments.
5295
5296 This is still needed for the gtkmm-2-24 branch.
5297
5298 2011-01-16 José Alburquerque <jaalburqu@svn.gnome.org>
5299
5300 DBus: Add initial implementation of a bus server/client example.
5301
5302 * examples/Makefile.am:
5303 * examples/dbus/busserver.cc: Add a partial implementation of the
5304 server part of a server/client example that communicate through the
5305 user's bus.
5306 * examples/dbus/peer.cc: Typos.
5307
5308 2011-01-16 José Alburquerque <jaalburqu@svn.gnome.org>
5309
5310 DBusConnection: Add a send_message() without an "out_serial" param.
5311
5312 * gio/src/dbusconnection.{ccg,hg} (send_message): Add new method
5313 without the "out_serial" param.
5314 * gio/src/unixfdlist.hg (append): Add exception docs to method.
5315
5316 2011-01-16 José Alburquerque <jaalburqu@svn.gnome.org>
5317
5318 Gio::DBus::[watch|own]_name(): Add default values for parameters.
5319
5320 * gio/src/dbusownname.{ccg,hg} (own_name):
5321 * gio/src/dbuswatchname.{ccg,hg} (watch_name): Add default values for
5322 the slot parameters instead of writing up overloads since there would
5323 be many. Also reorder the parameters so that the flags have default
5324 values.
5325
5326 2011-01-16 José Alburquerque <jaalburqu@svn.gnome.org>
5327
5328 InetAddress: Wrap properties.
5329
5330 * gio/src/inetaddress.hg: Wrap the properties.
5331 * gio/src/dbusconnection.hg: Typo.
5332
5333 2011-01-15 Chris Kühl <chrisk@openismus.com>
5334
5335 Added conversion from bool& to gboolean*.
5336
5337 * tools/m4/convert_glib.m4: Added conversion from bool& to gboolean*.
5338
5339 2011-01-13 José Alburquerque <jaalburqu@svn.gnome.org>
5340
5341 DBusServer: Comment out constructors because of bug #639478.
5342
5343 * gio/src/dbusserver.{ccg,hg}: Comment out the constructors because
5344 the C new function does more than calling g_initable_new().
5345
5346 2011-01-13 José Alburquerque <jaalburqu@svn.gnome.org>
5347
5348 Variant: Use variant_type() functions in implementation where possible.
5349
5350 * glib/src/variant.ccg: Use the existing variant_type() functions
5351 where possible.
5352 * gio/src/dbusserver.ccg: File bug #639478 about GDBusServer's new
5353 function doing more than using g_initable_new().
5354
5355 2011-01-13 José Alburquerque <jaalburqu@svn.gnome.org>
5356
5357 Variant: Have the variant_type() functions return actual types.
5358
5359 * glib/src/variant.hg: Correct the variant_type() functions of the
5360 container derived classes to create and return actual variant types
5361 and not abstract ones. Also use the functions in the implementation
5362 of the existing methods.
5363
5364 2011-01-13 José Alburquerque <jaalburqu@svn.gnome.org>
5365
5366 DBus: Avoid errors/exceptions in callbacks due to NULL C strings.
5367
5368 * gio/src/dbusconnection.ccg: Modify the callbacks so that if a C
5369 string parameter might be NULL, it is passed to the slots as an empty
5370 string (""). This avoids possible exceptions from constructing a
5371 Glib::ustring from NULL.
5372 * gio/src/dbusconnection.hg: Typos.
5373
5374 * examples/dbus/peer.cc: Add the usage examples from the C API's
5375 example.
5376
5377 2011-01-13 José Alburquerque <jaalburqu@svn.gnome.org>
5378
5379 DBusServer: Add docs to the signal_new_connection() signal.
5380
5381 * gio/src/dbusserver.hg: Add the docs from the C API to make sure it
5382 clear to users that when handling the "new-connection" signal that a
5383 reference to the new connection must be kept or the connection will
5384 not be accepted.
5385
5386 * examples/dbus/peer.cc: Make an exception message more general to
5387 cover both a possible exception from the call_sync() call and the
5388 close_sync() call.
5389
5390 2011-01-13 José Alburquerque <jaalburqu@svn.gnome.org>
5391
5392 DBusConnection, DBusMessage: Wrap properties and signals.
5393
5394 * tools/extra_defs_gen/generate_defs_gio.cc:
5395 * gio/src/gio_signals.defs: Add the GDBusConnection and the
5396 GDBusMessage types to the signal and properties generation tool and
5397 regenerate the defs file.
5398
5399 * gio/src/dbusconnection.hg: Wrap the properties and signals.
5400 * gio/src/dbusmessage.hg: Wrap the properties (no signals).
5401 * gio/src/dbusproxy.hg: Comment out a write-only/construct-only
5402 property.
5403
5404 2011-01-12 José Alburquerque <jaalburqu@svn.gnome.org>
5405
5406 DBus Peer Example: Correct some code to complete the example.
5407
5408 * examples/dbus/peer.cc (keep_connection): renamed to curr_connection.
5409 (on_method_call): Place the return value of the method in a tuple
5410 which is then returned.
5411 (curr_connection): Use this variable to manage incoming connections.
5412 The C API docs says that when handling ther DBusServer's
5413 signal_new_connection() a reference to the connection should be kept
5414 and the handler should return true if the connection should be kept.
5415 This variable keeps a reference to the current connection. When the
5416 caller finishes, it closes the connection thus allowing the server to
5417 accept another connection.
5418 (try/catches): Add return statements in the catches that fail so that
5419 execution does not continue.
5420
5421 The example runs successfully with the previous commit and the patch
5422 in bug #639391 filed in the glib bugzilla product page. Hopefully the
5423 request will be accepted.
5424
5425 2011-01-12 José Alburquerque <jaalburqu@svn.gnome.org>
5426
5427 DBusConnection: Check for NULL bus name in the MethodCall callback.
5428
5429 * gio/src/dbusconnection.ccg
5430 (DBusConnection_Message_Filter_giomm_callback): Since the sender can
5431 be NULL, check for that so that creating a Glib::ustring from a NULL
5432 does not cause exceptions.
5433
5434 2.27.91:
5435
5436 2011-01-11 José Alburquerque <jaalburqu@svn.gnome.org>
5437
5438 DBusConnection: call*() methods: Re-order bus_name parameter.
5439
5440 * gio/src/dbusconnection.{ccg,hg} (call*): Place the bus_name
5441 parameter before the timeout_msec parameter to make it easier to
5442 specifiy a bus name without having to set a timeout value.
5443
5444 * gio/src/dbusaddress.hg (get_for_bus_sync): Correct declarations to
5445 return std::string instead of Glib::ustring in accordance with the
5446 last commit.
5447
5448 2011-01-11 José Alburquerque <jaalburqu@svn.gnome.org>
5449
5450 DBus: Use std::string for addresses since they could be a file path.
5451
5452 * gio/src/dbusaddress.{ccg,hg}:
5453 * gio/src/dbusconnection.{ccg,hg}:
5454 * gio/src/dbusserver.{ccg,hg}: Use std::string instead of
5455 Glib::ustring for address parameters just to avoid possible errors
5456 since DBus address could be a filename path as the "Addresses"
5457 section of the DBus introduction seems to imply:
5458 http://www.freedesktop.org/wiki/IntroductionToDBus.
5459
5460 2011-01-11 José Alburquerque <jaalburqu@svn.gnome.org>
5461
5462 DBus: Use std::string for guid's.
5463
5464 * gio/src/dbusaddress.{ccg,hg}:
5465 * gio/src/dbusconnection.{ccg,hg}:
5466 * gio/src/dbusserver.{ccg,hg}:
5467 * gio/src/dbusutils.{ccg,hg}: Use std::string instead of Glib::ustring
5468 for guid's since std::string's API is probably adequate enough for
5469 their use.
5470
5471 2011-01-10 José Alburquerque <jaalburqu@svn.gnome.org>
5472
5473 DBus: Add a peer example to test the DBusServer class.
5474
5475 * gio/src/dbusconnection.{ccg,hg}: Reorder the VariantBase
5476 'parameters' parameter in the call*() methods to come after the
5477 method_name parameter.
5478 * gio/src/dbusintrospection.hg: Use refreturn for methods where the C
5479 API does not automatically reference the return.
5480 * gio/src/dbusserver.{ccg,hg}: Add non-observable constructors and
5481 create() methods.
5482 * glib/src/variant.{ccg,hg} (create_tuple): Renamed from create().
5483 Write this method to be more specific for tuples (it's probably the
5484 only case where this method might be used). Dealing with tuples still
5485 feels awkward with the method. Maybe there's a better way.
5486
5487 * examples/Makefile.am:
5488 * examples/dbus/peer.cc:
5489 * examples/dbus/userbus.cc:
5490 * examples/dbus/well-known-address-client.cc: Add the new
5491 server/client peer example (named peer). The example crashes because
5492 the C API seems to not deal with empty strings "" well, but at least
5493 there is now an example. Making sure it runs well is necessary. Also
5494 rename the previous example to userbus.cc.
5495
5496 2011-01-08 Krzesimir Nowak <qdlacz@gmail.com>
5497
5498 Tools: Added a defs fixer tool.
5499
5500 tools/defs_fixer.pl: Helper tool to fix the generated defs. I hope
5501 that for most cases it will be just better than using diff and patch.
5502
5503 2011-01-07 José Alburquerque <jaalburqu@svn.gnome.org>
5504
5505 DBusConnection: Callbacks: Check for NULL GError** parameters.
5506
5507 * gio/src/dbusconnection.ccg: Make sure that the callbacks that set a
5508 GError* do not try to access a NULL pointer if NULL has been passed
5509 as the GError** parameter.
5510
5511 Bug #637587 (Yannick Guesnet)
5512
5513 2011-01-07 José Alburquerque <jaalburqu@svn.gnome.org>
5514
5515 Gio::DBusConnection: Callbacks: Return all Glib::Errors to caller.
5516
5517 * gio/src/dbusconnection.ccg: Have to previously modified callbacks
5518 that deal with getting/setting properties return all Glib::Errors
5519 and not just Gio::DBusError types.
5520
5521 Bug #637587 (Yannick Guesnet)
5522
5523 2011-01-07 José Alburquerque <jaalburqu@svn.gnome.org>
5524
5525 DBusConnection: Callbacks: Return DBusError exceptions to caller.
5526
5527 * gio/src/dbusconnection.ccg: Modify the callbacks that deal with
5528 getting/setting properties for a DBus interface to set the GError*
5529 parameter if it is a DBus related GError. This should allow receiving
5530 DBus exceptions if the slot throws one with respect to not being able
5531 to successfully get/set a property.
5532
5533 2011-01-07 José Alburquerque <jaalburqu@svn.gnome.org>
5534
5535 DBusConnection: Use gobj() instead of reinterpret_cast<> for *VTable.
5536
5537 * gio/src/dbusconnection.ccg: Use the gobj() of the
5538 DBusInterfaceVTable instead of casting it to a GDBusInterfaceVTable in
5539 the callbacks and in the register_object() method.
5540
5541 2011-01-07 Murray Cumming <murrayc@murrayc.com>
5542
5543 DBusConnection: Use const guint instead of guint const.
5544
5545 * gio/src/dbusconnection.ccg: This is more consistent with other code.
5546
5547 2011-01-07 Murray Cumming <murrayc@murrayc.com>
5548
5549 DBusConnectionInvocation: Use refreturn on get methods.
5550
5551 * gio/src/dbusmethodinvocation.hg: This seems to be necessary, though it does
5552 not fix bug #637587.
5553
5554 2011-01-07 Murray Cumming <murrayc@murrayc.com>
5555
5556 DBusConnection: Use _ suffixes on member variables.
5557
5558 * gio/src/dbusconnection.[hg|ccg]: Use a _ suffix on member variables to
5559 avoid confusion with method parameters of the same name, though this does not
5560 seem to be what is causing bug #637587.
5561
5562 2011-01-06 José Alburquerque <jaalburqu@svn.gnome.org>
5563
5564 DBusConnection: Add [register|unregister]_subtree() methods.
5565
5566 * gio/src/dbusconnection.{ccg,hg}: Add the new methods along with a
5567 corresponding class (like the one for register_object()). Added
5568 method docs. Modified the registration methods so that the vtable is
5569 passed and not a struct containing the slots. Please note that this
5570 API feels like it could be made better before glibmm goes stable. In
5571 particular, it might be nice and (maybe even possible) to not require
5572 that the *VTable instances be global.
5573
5574 2011-01-06 Murray Cumming <murrayc@murrayc.com>
5575
5576 SocketService, ThreadedSocketService: Correct ref-counting for signals.
5577
5578 * tools/m4/convert_gio.m4: Remove conversions that are only for signals.
5579 These should not generally be in the general m4 files, to avoid them being
5580 used implicitly in the wrong place. This is important because they use
5581 different reference-taking.
5582 * gio/src/socketservice.hg:
5583 * gio/src/threadedsocketservice.hg: Add corrected conversions here.
5584
5585 2010-01-06 Krzesimir Nowak <qdlacz@gmail.com>
5586
5587 Gmmproc: Try harder to limit false unwrapped properties.
5588
5589 * tools/pm/GtkDefs.pm: When taking list of properties that are
5590 unwrapped, try to filter out the properties defined in base class.
5591
5592 2011-01-05 José Alburquerque <jaalburqu@svn.gnome.org>
5593
5594 DBusServer: Correct the "active" property.
5595
5596 * gio/src/dbusserver.hg: Correct the type of the "active" property.
5597
5598 2011-01-05 Murray Cumming <murrayc@murrayc.com>
5599
5600 BufferedInputStream, BufferedOutputStream: Correct property name.
5601
5602 * gio/src/bufferedinputstream.[hg|ccg]
5603 * gio/src/bufferedoutputstream.[hg|ccg]: When using create_sized(), it
5604 tried to set the wrong property. Renaming the parameter from size to
5605 buffer_size fixes this.
5606
5607 Bug #638616 (Michael Edwards)
5608
5609 2011-01-05 Krzesimir Nowak <qdlacz@gmail.com>
5610
5611 Gmmproc: Warn about unwrapped properties.
5612
5613 * tools/gmmproc.in: When displaying a list of unwrapped properties,
5614 ignore the ones that are nonreadable and construct only.
5615 * tools/pm/Property.pm: Added entity_type member initialized with
5616 'property' value to Property class, which allows us to sort out
5617 which unwrapped entities are actually properties.
5618
5619 2.27.5.1:
5620
5621 2010-12-30 José Alburquerque <jaalburqu@svn.gnome.org>
5622
5623 VariantContainerBase::create: Don't use pointers to pass the children.
5624
5625 * glib/src/variant.{ccg,hg} (VariantContainerBase::create): Don't use
5626 pointers to the variant children to pass the array of variants, but
5627 instead use copies which might be more intuitive for new programmers.
5628 It is not clear whether this method should remain or not. We'll have
5629 to wait for the example to be written.
5630
5631 2010-12-30 José Alburquerque <jaalburqu@svn.gnome.org>
5632
5633 VariantContainerBase: Add a create() method from an array of variants.
5634
5635 * glib/src/variant.{ccg,hg}: (VariantContainerBase::create): Add this
5636 method that accepts a VariantType (describing what kind of container
5637 should be created), and a vector of VariantBase. Theoretically, this
5638 method should make creation of tuples possible. There is no tuple
5639 class in standard C++ so something like this would be necessary in
5640 cases where tuples need to be created (to be returned, for example,
5641 from some method call). The future server/client D-Bus example should
5642 put this method to the test.
5643 (VariantStringBase::create_*_path): Sink the variant after creation in
5644 these methods which was forgotten.
5645 * gio/src/dbusconnection.hg: Typos.
5646
5647 2010-12-28 José Alburquerque <jaalburqu@svn.gnome.org>
5648
5649 Variant test: Use the dictionary variant classes in the test.
5650
5651 * glib/src/variant.{ccg,hg} (get_iter): Make all the get_iter()
5652 methods in the variant container classes const.
5653 (Variant< std::pair<K, V> >::get):
5654 (Variant< std::map<K, V> >::lookup):
5655 (std::map<K, V> Variant< std::map<K, V> >::get): Correct the getting
5656 of a std::pair<> from the Variant<> and the getting of children from
5657 the parent VariantContainerBase class.
5658 (Variant< std::map<K, V> >::create): Create the dictionary entries as
5659 Variants and then use g_variant_builder_add_value() to add them
5660 instead of g_variant_add() which is easier.
5661
5662 * tests/glibmm_variant/main.cc: Use the updated dictionary classes in
5663 the test.
5664
5665 2010-12-26 José Alburquerque <jaalburqu@svn.gnome.org>
5666
5667 Variant: Add dictionary entry and dictionary specializations.
5668
5669 * glib/src/varianttype.hg:
5670 * glib/src/variant_basictypes.h.m4: Renamed the glibmmVariant doxygen
5671 group to 'Variant'.
5672 * glib/src/variant.{ccg,hg}: Throw a std::out_of_range exception
5673 instead of a std::runtime_error one from methods that throw them
5674 because of indexes being out of bounds.
5675 (Variant< std::pair<K, V> >): Added this specialization to deal with a
5676 dictionary entry variant type.
5677 (Variant< std::map<K, V> >): Added this specialization to deal with
5678 variant dictionary types.
5679 (VariantContainerBase::get): Have this method throw a
5680 std::out_of_range exception if the index is out of range.
5681 (Variant< std::vector<Glib::ustring> >::get)
5682 (Variant< std::vector<std::string> >::get): Free the shallow copy of
5683 the returned string arrays in the get methods of the string variant
5684 arrays as the docs of the C API say.
5685
5686 * gio/src/dbusconnection.hg: Added missing _IGNORE()'s.
5687 * gio/src/dbusproxy.hg: Updated a TODO.
5688 * examples/dbus/well-known-address-client.cc: Typo.
5689
5690 2010-12-23 Krzesimir Nowak <qdlacz@gmail.com>
5691
5692 Add a valuearray test to build.
5693
5694 * tests/Makefile.am: Added a valuearray test to build instead of
5695 value test thrice.
5696
5697 2010-12-23 José Alburquerque <jaalburqu@svn.gnome.org>
5698
5699 DBusConnection: Add register/unregister_object() methods.
5700
5701 * gio/src/dbusconnection.{ccg,hg}: Add register_object() and
5702 unregister_object() methods. Use a C++ wrapper class for the
5703 GDBusInterfaceVTable structure so that it is possible to use slots for
5704 the registration.
5705
5706 Fixes Bug #637587 (Yannick Guesnet)
5707
5708 2010-12-22 José Alburquerque <jaalburqu@svn.gnome.org>
5709
5710 gmmproc: _CLASS_GOBJECT: Remove __REAL_* additional arguments.
5711
5712 * tools/m4/class_gobject.m4:
5713 * tools/m4/class_shared.m4: Remove the use of the
5714 __REAL_[CNAME|CPARENT]__ variables needed to wrap some classes in
5715 gtkmm that were typedef to their base type (such as GdkWindow and
5716 GdkPixmap). These classes have been fixed in gtk+-3 thus eliminating
5717 the need for the special arguments in _CLASS_GOBJECT.
5718
5719 2010-08-10 David Kozub <zub@linux.fjfi.cvut.cz>
5720
5721 RefPtr: Make it work with sorted containers (e.g. std::set<RefPtr<T> >).
5722
5723 * glib/glibmm/refptr.h: Add operators <, <=, >, >=
5724 that compare RefPtrs by their underlying pointer.
5725 This makes RefPtr work with sorted containers (e.g. std::set<RefPtr<T> >)
5726
5727 Bug #626858
5728
5729 2010-12-22 Yannick Guesnet <Yannick.Guesnet@univ-rouen.fr>
5730
5731 giomm: Application: Add the open signal.
5732
5733 * gio/src/application.[hg|ccg]: Add signal_open(), by hand-coding instead of
5734 using _WRAP_SIGNAL(), because we need to change the number of parameters.
5735
5736 2.27.5:
5737
5738 2010-12-22 Murray Cumming <murrayc@murrayc.com>
5739
5740 Variant: Fix compiler warnings.
5741
5742 * glib/src/variant.ccg: Remove some uses of the typename keyword to avoid
5743 warnings about using them outside of templates (they were in template
5744 specializations, which I guess is different).
5745
5746 2010-12-22 José Alburquerque <jaalburqu@svn.gnome.org>
5747
5748 Variant< std::vector<std::string> >: Correct the getting of the array.
5749
5750 * glib/src/variant.{ccg,hg} (get): Use
5751 g_variant_get_bytestring_array() in the get() methods instead of
5752 g_variant_get_strv().
5753 * examples/dbus/well-known-address-client.cc: Use a
5754 VariantContainerBase to get the result of the proxy's call method
5755 instead of a Variant<VariantBase>. Also corrected the comment about
5756 why it is done that way.
5757
5758 2010-12-21 José Alburquerque <jaalburqu@svn.gnome.org>
5759
5760 DBus: Well known service example: Complete the example.
5761
5762 * examples/dbus/well-known-address-client.cc: Complete the well known
5763 service example by calling the 'ListNames' method of the user's
5764 session bus.
5765
5766 2010-12-21 José Alburquerque <jaalburqu@svn.gnome.org>
5767
5768 Add Variant< std::vector<[Glib::ustring|std::string]> specializations.
5769
5770 * glib/src/variant.{ccg,hg}: Add two Variant specializations to deal
5771 specifically with arrays of UTF8 and non-UTF8 strings both reflecting
5772 the API of the specialization that deals with regular arrays.
5773 (docs, typos): Minor corrections.
5774 (Variant<std::vector<T>>::get): Have the method that gets the vector
5775 return the vector instead of setting an output parameter because
5776 returning the vector on the call stack should not be costly and it's
5777 probably more intuitive for the programmer.
5778 * tests/glibmm_variant/main.cc: Adapt test according to the above
5779 change. Correct minor typos.
5780
5781 2010-12-20 José Alburquerque <jaalburqu@svn.gnome.org>
5782
5783 Allow giomm to build under mingw32.
5784
5785 * gio/src/unixcredentialsmessage.hg:
5786 * gio/src/unixfdlist.hg:
5787 * gio/src/unixfdmessage.hg:
5788 * gio/src/unixsocketaddress.hg: Add the _GTKMM_WIN_NO_WRAP macro to
5789 newly added giomm classes so that giomm builds under mingw32.
5790
5791 Fixes Bug #636754
5792
5793 2010-12-20 José Alburquerque <jaalburqu@svn.gnome.org>
5794
5795 Variant: Add a VariantStringBase and a VariantContainerBase class.
5796
5797 * glib/src/variant.{ccg,hg} (VariantStringBase): Implement a new class
5798 from which the Glib::Variant<> string class (like
5799 Glib::Variant<Glib::ustring>) now derive. The new class has methods
5800 for determining/creating object paths and signatures. The new
5801 instances are created by setting output parameters.
5802 (VaraintContainerBase): Implement this new class from which variant
5803 containers should derive.
5804 (VariantContainerBase::get_n_children, get, get_maybe): Moved from
5805 Variant<VariantBase>
5806 (castitem constructors): Corrected all GVariant* castitem constructors
5807 to accept a 'take_a_reference' bool parameter.
5808 (Variant< std::vector<T> >::create, get, get_iter): Re-wrote these
5809 methods to use the Glib::VariantType class to get variant types
5810 instead of using strings. Also Re-wrote to work specifically with
5811 fixed arrays (see g_variant_get_fixed_array). This means that this
5812 class will not work with vectors of strings because
5813 g_variant_get_strv() and g_variant_get_bytestring_array() need to be
5814 used in those cases.
5815 (std::vector<T> get): Re-wrote to use an output parameter.
5816
5817 * glib/src/variant_basictypes.h.m4: Corrected the castitem
5818 constructors as above.
5819
5820 * tests/Makefile.am:
5821 * tests/glibmm_variant/main.cc: Added a small test for the
5822 Variant< std::vector<T> > methods.
5823
5824 * gio/src/dbuserror.hg:
5825 * gio/src/error.hg: Wrap the GDBusError enum as a GError, moving its
5826 declaration to error.hg.
5827
5828 2010-12-16 José Alburquerque <jaalburqu@svn.gnome.org>
5829
5830 Added a new Glib::Variant<> specialization to deal with arrays.
5831
5832 * glib/src/variant.{ccg,hg} (VariantBase::get_maybe): Move the method
5833 that gets a maybe of a container to Variant<VariantBase> because it a
5834 container specific method.
5835 (Variant<VariantBase>::get): Correct this method so that it uses an
5836 output parameter instead of returning a VariantBase.
5837 (Variant< std::vector<T> >): Added a new specialization designed to
5838 deal with variant arrays. Similar types dealing with array of strings
5839 should also be added.
5840 (typedefs): Added some typedefs that might possibly be useful later.
5841 (docs): Added docs to methods without them.
5842 * glib/src/variant_basictypes.{cc,h}.m4:
5843 (variant_type): Made all the static variant_type() methods return a
5844 Glib::VariantType so the C++ wrapper is used.
5845 * glib/src/variantiter.{ccg,hg}: Corrected the includes so
5846 variantiter.h can be included in variant.h.
5847
5848 2010-12-15 José Alburquerque <jaalburqu@svn.gnome.org>
5849
5850 glibmm: Add a Variant<std::string> specialization.
5851
5852 * glib/src/variant.ccg:
5853 * glib/src/variant.hg: Add a Variant<std::string> specialization based
5854 on the already existing Variant<Glib::ustring> one. A way has to be
5855 found to create object paths and signatures (see
5856 g_variant_new_object_path() and g_variant_new_signature()) which are
5857 also strings and have their own GVariantType.
5858
5859 2010-12-15 José Alburquerque <jaalburqu@svn.gnome.org>
5860
5861 Variant[Iter,Type]: Add class docs.
5862
5863 * glib/src/variantiter.hg:
5864 * glib/src/varianttype.hg: Add class docs.
5865 * glib/src/keyfile.hg:
5866 * glib/src/optiongroup.hg: Correct @newin{}s from 2,26 to 2,28.
5867 * glib/src/variant.hg (VariantBase): Move the get_n_children() method
5868 to Variant<VariantBase> since all containers essentially are created
5869 in the C API as a GVariant containing one (or more) GVariant(s). The
5870 C++ container types (such as arrays, etc.) can derive from
5871 Glib::Variant<VariantBase> to inherit the get_n_children() method.
5872
5873 * gio/src/gio_extra_objects.defs: Add GDBusProxy.
5874
5875 2010-12-15 Murray Cumming <murrayc@murrayc.com>
5876
5877 Tell the documentation generator about MatchInfo.
5878
5879 * glib/src/glib_extra_objects.defs: Added GMatchInfo here.
5880
5881 2.27.4.1:
5882
5883 2010-12-14 José Alburquerque <jaalburqu@svn.gnome.org>
5884
5885 DBus Client Example: create a DBusProxy in preparation for method call.
5886
5887 * examples/dbus/well-known-address-client.cc: Asynchronously create a
5888 DBusProxy which can then be used to call a method on the user's
5889 session bus. This tests asynchronous creation of objects that derive
5890 from the AsyncInitable interface. The reference counting of the newly
5891 created object should be checked because in the SlotAsyncReady slot,
5892 the proxy has a reference count of two when it should possibly be
5893 one (the g_dbus_proxy_new_finish() docs say that in the callback,
5894 unreferencing the proxy destroys it).
5895
5896 2010-12-14 José Alburquerque <jaalburqu@svn.gnome.org>
5897
5898 DBus[Connection|Proxy]: Don't take extra reference on async creation.
5899
5900 * gio/src/dbusconnection.ccg:
5901 * gio/src/dbusproxy.ccg: There's no need to put the newly constructed
5902 DBusConnection|DBusProxy in a Glib::RefPtr<> and then take an extra
5903 reference. Simply constructing the object is enough to guarantee that
5904 the object continues existing until the SlotAsyncReady slot is called.
5905
5906 2010-12-13 José Alburquerque <jaalburqu@svn.gnome.org>
5907
5908 DBusProxy: Reorder the parameters so that "name" is second in methods.
5909
5910 * gio/src/dbusproxy.{ccg,hg}: Reorder the parameters so that the
5911 "name" parameter comes before the "object_path" parameter as in the C
5912 API which is probably more natural. Add _IMPLEMENTS_INTERFACE() for
5913 the Initable and AsyncInitable interfaces that it implements.
5914 (class docs): Removed some sentences in the class docs that only
5915 apply to the C API. Made it clear that the docs is adapted from the C
5916 API in case the paragraph about sub-classing does not apply.
5917 (constructor properties): Corrected the "name" property to the correct
5918 name "g_name" in constructors.
5919
5920 * gio/giomm.h: Added all the missing dbus includes.
5921
5922 2010-12-13 José Alburquerque <jaalburqu@svn.gnome.org>
5923
5924 Add a DBus Doxygen group.
5925
5926 * gio/src/dbusconnection.hg: Add a DBus Doxygen group in which to
5927 include all the D-Bus docs.
5928 * gio/src/dbusaddress.hg:
5929 * gio/src/dbusauthobserver.hg:
5930 * gio/src/dbuserror.hg:
5931 * gio/src/dbusintrospection.hg:
5932 * gio/src/dbusmessage.hg:
5933 * gio/src/dbusmethodinvocation.hg:
5934 * gio/src/dbusownname.hg:
5935 * gio/src/dbusproxy.hg:
5936 * gio/src/dbusserver.hg:
5937 * gio/src/dbusutils.hg:
5938 * gio/src/dbuswatchname.hg: Include all the D-Bus classes, functions
5939 and slots in the new group.
5940 * glib/glibmm.h: Mention the new group in the list of giomm features.
5941
5942 * gio/src/dbusproxy.ccg: Typos.
5943
5944 2010-12-12 José Alburquerque <jaalburqu@svn.gnome.org>
5945
5946 glibmm: Add a MatchInfo class for use with the existing Regex class.
5947
5948 * glib/src/regex.{ccg,hg}: Add a new (generic) class wrapping the
5949 GMatchInfo functions. Wrap the (commented out) methods with a
5950 Glib::MatchInfo in Regex so that the new class is used.
5951
5952 Fixes Bug #636911 (Alexander Shaduri)
5953
5954 2010-12-09 Murray Cumming <murrayc@murrayc-desktop>
5955
5956 Added generic gmmproc conversions previously in convert_gtkmm.m4.
5957
5958 * tools/m4/convert_base.m4: Added generic macros back.
5959
5960 2010-12-09 Murray Cumming <murrayc@murrayc.com>
5961
5962 Remove non-glibmm .m4 files.
5963
5964 * tools/m4/class_gtkobject.m4:
5965 * tools/m4/convert_atk.m4:
5966 * tools/m4/convert_gdk.m4:
5967 * tools/m4/convert_gtk.m4:
5968 * tools/m4/convert_gtkmm.m4:
5969 * tools/m4/convert_pango.m4: Remove conversions and macros for non-glibmm
5970 types. These will be moved to atkmm, pangomm and gtkmm instead.
5971
5972 2010-12-09 José Alburquerque <jaalburqu@svn.gnome.org>
5973
5974 DBusProxy: Add a non-cancellable call_sync() method.
5975
5976 * gio/src/dbusproxy.{ccg,hg}: Add a non-cancellable call_sync()
5977 method. Reorder the paramters so that the "timeout_msec" parameter in
5978 methods that have it can have a default of '-1' which means a default
5979 timeout.
5980
5981 2010-12-08 José Alburquerque <jaalburqu@svn.gnome.org>
5982
5983 DBus: Client Example: Choose a better name for the source file.
5984
5985 * examples/dbus/client.cc: Renamed to:
5986 * examples/dbus/well-known-address-client.cc:
5987
5988 * examples/Makefile.am: Corrected according to renaming above.
5989
5990 2010-12-08 José Alburquerque <jaalburqu@svn.gnome.org>
5991
5992 DBusConnection: Add non-observable create method overloads.
5993
5994 * gio/src/dbusconnection.{ccg,hg}: Add constructors and create methods
5995 that don't require a DBusAuthObservable paramter.
5996
5997 2010-12-08 José Alburquerque <jaalburqu@svn.gnome.org>
5998
5999 DBusConnection: Also correct the static status of the get() methods.
6000
6001 * gio/src/dbusconnection.{ccg,hg}: As with the create*() methods, the
6002 get() async methods should be static.
6003 * gio/src/dbusintrospection.hg (DBusPropertyInfo): Add class docs.
6004
6005 2010-12-08 José Alburquerque <jaalburqu@svn.gnome.org>
6006
6007 giomm: Correct docs of newly added methods that throw a Glib::Error.
6008
6009 * gio/src/dbusconnection.hg:
6010 * gio/src/dbusproxy.hg:
6011 * gio/src/dbusintrospection.hg: Use _WRAP_METHOD_DOCS_ONLY together
6012 with a Doxygen @throw directive in methods that throw a Glib::Error to
6013 get the C docs and then make it clear that the methods throw a
6014 Glib::Error.
6015 (new_for_xml): Rename to create_for_xml().
6016
6017 2010-12-08 José Alburquerque <jaalburqu@svn.gnome.org>
6018
6019 DBusConnection: Use static keyword for create methods.
6020
6021 * gio/src/dbusconnection.{ccg,hg}: Add the forgotten 'static' keyword
6022 to all the create methods (that's what happens when coding too quickly
6023 without thinking about what's being done). Fortunately it seems to
6024 have happened only here.
6025
6026 2010-12-08 José Alburquerque <jaalburqu@svn.gnome.org>
6027
6028 DBus: Client Example: Correct typo.
6029
6030 * examples/dbus/client.cc: Correct a typo in a comment.
6031 * tools/m4/convert_gio.m4: Correct alphabetizing of last enum
6032 conversion.
6033
6034 2010-12-08 José Alburquerque <jaalburqu@svn.gnome.org>
6035
6036 DBus: Add an initial client example accessing a user's bus.
6037
6038 * examples/dbus/client.cc: Initial example opening a connection to the
6039 user's bus and then printing its unique name.
6040
6041 2010-12-08 José Alburquerque <jaalburqu@svn.gnome.org>
6042
6043 Add Gio::DBusConnection::get_sync() methods.
6044
6045 * gio/src/dbusconnection.hg: Wrap get_sync() methods (cancellable and
6046 non-cancellable versions).
6047 * tools/m4/convert_gio.m4: Add enum conversion.
6048
6049 2010-12-05 José Alburquerque <jaalburqu@svn.gnome.org>
6050
6051 DBusConnection: Add missing _IGNORE().
6052
6053 * gio/src/dbusconnection.{ccg,hg}: Add a missing _IGNORE() for
6054 the emit_signal() method and correct its misspelled name at the same
6055 time.
6056
6057 2010-12-05 José Alburquerque <jaalburqu@svn.gnome.org>
6058
6059 DBusConnection: Add send_message_with_reply_sync() methods.
6060
6061 * gio/src/dbusconnection.{ccg,hg}: Add cancellable and non-cancellable
6062 versions of the send_message_with_reply_sync() methods (following the
6063 same logic as the existing send_message_with_reply() methods). Some
6064 minor corrections.
6065
6066 2010-12-05 José Alburquerque <jaalburqu@svn.gnome.org>
6067
6068 DBusConnection: Add signal_subscribe() and add_filter().
6069
6070 * gio/src/dbusconnection.{ccg,hg}: Add signal_subscribe(),
6071 signal_unsubscribe(), add_filter() and remove_filter() methods.
6072 Wrapped GDBusSignalFlags (reordered enums in alphabetical order).
6073 ([get|set]_exit_on_close):
6074 (get_capabilities): Reordered declarations (by moving the _WRAP_METHOD
6075 macros) according to where they are declared in the C API.
6076
6077 2.27.4:
6078
6079 2010-11-30 José Alburquerque <jaalburqu@svn.gnome.org>
6080
6081 DBus[MethodInvocation|Server]: Code corrections.
6082
6083 * gio/src/dbusmethodinvocation.hg: Remove the default constructor
6084 because it probably will not be used (there is no create() method to
6085 go along with it).
6086 * gio/src/dbusserver.{ccg,hg} (create_sync): Use
6087 g_dbus_server_new_sync() instead of the constructors because the C
6088 function does more than call g_initable_new().
6089
6090 2010-11-22 José Alburquerque <jaalburqu@svn.gnome.org>
6091
6092 gmmproc: Some conversion fixes.
6093
6094 * tools/pm/DocsParser.pm (convert_docs_to_cpp): Convert occurances of
6095 '`' to the variable '__BT__' defined in base.m4 which safely produces
6096 the same character without causing M4 processing errors.
6097 (convert_tags_to_doxygen): Add a substition for the
6098 <constant></constant> gtk-doc tag to the equivalent Doxygen <tt></tt>
6099 tag. Also use '<' instead of '<' and '>' instead of '>' in the
6100 substitutions because otherwise the tags are not recognized.
6101
6102 2010-11-22 José Alburquerque <jaalburqu@svn.gnome.org>
6103
6104 Gio::DBusConnection: Add emit_signal().
6105
6106 * gio/src/dbusconnection.{ccg,hg}: Add emit_signal() wrapping
6107 g_dbus_connection_emit_signal().
6108 * gio/src/dbusaddress.ccg: Typo.
6109
6110 2010-11-19 José Alburquerque <jaalburqu@svn.gnome.org>
6111
6112 Gio::DBus::Address: Wrap the gio dbus address API in this namespace.
6113
6114 * gio/giomm.h:
6115 * gio/src/dbusaddress.{ccg,hg}:
6116 * gio/src/filelist.am: Add new sources and make sure they are built.
6117
6118 * gio/src/dbusconnection.hg:
6119 * gio/src/dbuserror.hg: Typos.
6120
6121 2010-11-16 José Alburquerque <jaalburqu@svn.gnome.org>
6122
6123 DBusConnection: Add call(), call_finish() and call_sync() methods.
6124
6125 * gio/src/dbusconnection.{ccg,hg}: Add cancellable and non-cancellable
6126 versions of call() and call_sync(). Also added call_finish().
6127
6128 2.27.3.1:
6129
6130 2010-11-16 Murray Cumming <murrayc@murrayc.com>
6131
6132 ApplicationCommandLine: Fix print() and print_err().
6133
6134 * gio/src/applicationcommandline.[hg|ccg]: These functions take a printf
6135 format and arguments, as shown by compiler warnings. So I just used "%s".
6136
6137 2010-11-15 José Alburquerque <jaalburqu@svn.gnome.org>
6138
6139 DBus[Connection|Proxy]: Use Gio::AsyncInitable::init_async correctly.
6140
6141 * gio/src/dbusconnection.ccg:
6142 * gio/src/dbusproxy.ccg: Use the non-cancellable version of
6143 Gio::AsyncInitable::init_async() where appropriate.
6144
6145 2010-11-14 José Alburquerque <jaalburqu@svn.gnome.org>
6146
6147 Initable: Add a non-cancellable overload of the init() method.
6148
6149 * gio/src/initable.{ccg,hg} (init): Add a non-cancellable overload.
6150 * gio/src/dbusconnection.ccg:
6151 * gio/src/dbusproxy.ccg:
6152 * gio/src/dbusserver.ccg: Adapt API to use non-cancellable version of
6153 Gio::Initable::init().
6154
6155 2010-11-14 José Alburquerque <jaalburqu@svn.gnome.org>
6156
6157 giomm: Provide non-cancellable overloads for newly added API.
6158
6159 * gio/src/application.hg: Completed a TODO.
6160 * gio/src/asyncinitable.hg (init_async): Refer to existing method docs
6161 in the non-cancellable version instead of duplicating docs.
6162 * gio/src/dbusconnection.{ccg,hg}: Add non-cancellable overloads of
6163 the constructors and create methods instead of having a default null
6164 Cancellable parameter. Renamed the synchronized create*() methods to
6165 create*_sync().
6166 (get): Added a non-cancellable overload as above.
6167 * gio/src/dbusproxy.{ccg,hg}: Added non-cancellable overloads of the
6168 constructors and create methods. Renamed the create*() synchronized
6169 methods to create*_sync() as above.
6170 (call): Added a non-cancellable overload as above.
6171 * gio/src/dbusserver.{ccg,hg}: Add non-cancellable overloads of the
6172 constructor and create method. Renamed the create() synchronized
6173 method to create_sync() as above.
6174
6175 2010-11-14 José Alburquerque <jaalburqu@svn.gnome.org>
6176
6177 Correct @newin{}'s and add class docs of newly added API.
6178
6179 * gio/src/application.hg:
6180 * gio/src/asyncinitable.hg:
6181 * gio/src/credentials.hg:
6182 * gio/src/dbusauthobserver.hg:
6183 * gio/src/dbusconnection.hg:
6184 * gio/src/dbuserror.hg:
6185 * gio/src/dbusintrospection.hg:
6186 * gio/src/dbusmessage.hg:
6187 * gio/src/dbusmethodinvocation.hg:
6188 * gio/src/dbusownname.hg:
6189 * gio/src/dbusproxy.hg:
6190 * gio/src/dbusserver.hg:
6191 * gio/src/dbusutils.hg:
6192 * gio/src/dbuswatchname.hg:
6193 * gio/src/unixcredentialsmessage.hg:
6194 * gio/src/unixfdlist.hg:
6195 * gio/src/unixfdmessage.hg: Correct @newin{}'s from 2.26 to 2.28.
6196
6197 * gio/src/proxy.hg:
6198 * gio/src/proxyaddress.hg:
6199 * gio/src/proxyresolver.hg: Add class docs.
6200 * gio/src/unixsocketaddress.hg: Add to Doxygen group NetorkIO.
6201
6202 * gio/src/socketcontrolmessage.hg: Rephrase a TODO.
6203
6204 2010-11-13 Jonathon Jongsma <jjongsma@gnome.org>
6205
6206 Add Gio::ApplicationCommandLine
6207
6208 * gio/giomm.h:
6209 * gio/src/application.hg:
6210 * gio/src/applicationcommandline.ccg:
6211 * gio/src/applicationcommandline.hg:
6212 * gio/src/filelist.am:
6213 * tools/m4/convert_gio.m4:
6214
6215 2010-11-12 Jonathon Jongsma <jjongsma@gnome.org>
6216
6217 Miscellaneous Gio::Application fixes
6218
6219 * gio/src/application.hg:
6220 * gio/src/application.ccg:
6221 - Add non-cancellable overload of register_application()
6222 - return int value from run() correctly
6223 - Fix protected constructor signature
6224 - use _WRAP_CTOR and _WRAP_CREATE()
6225
6226 2.27.3:
6227
6228 2010-11-10 Murray Cumming <murrayc@murrayc.com>
6229
6230 Gio: Added some methods.
6231
6232 * gio/src/gio_methods.defs:
6233 * glib/src/glib_functions.defs:
6234 * glib/src/gobject_functions.defs: Regenerated with h2defs.py.
6235
6236 * gio/src/application.hg: Added open(). Notice that I have used std::vector
6237 instead of ArrayHandle, because that is what we should use for all new API,
6238 after we decided that the intermediate types are too awkward for people to
6239 understand.
6240 * gio/src/actiongroup.[hg|ccg]: Added list_actions, though we need to
6241 use a std::vector here instead.
6242 * gio/src/datainputstream.[hg|ccg]: Added read_upto(), read_upto_async()
6243 and read_upto_finish(). Updated the read_until*() documentation to
6244 discourage their use (apparently they will be properly deprecated eventually).
6245 * gio/src/settings.hg: Added range_check().
6246 * gio/src/socketclient.[hg|ccg]: Added connect_to_uri(), connect_to_uri_async()
6247 and connect_to_uri_finish().
6248
6249 2010-11-08 José Alburquerque <jaalburqu@svn.gnome.org>
6250
6251 DBusConnection: Make sure the AsyncInitable inheritance is correct.
6252
6253 * gio/src/dbusconnection.hg: Add a missing _IMPLEMENTS_INTERFACE() for
6254 the AsyncInitiable interface that DBusconnection implements.
6255
6256 2010-11-08 José Alburquerque <jaalburqu@svn.gnome.org>
6257
6258 giomm.h: Add includes of newly wrapped API.
6259
6260 * gio/giomm.h: Add forgotten includes of actiongroup.h and
6261 unixsocketaddress.h to the main giomm.h include file.
6262
6263 2010-11-08 Krzesimir Nowak <qdlacz@gmail.com>
6264
6265 ObjectBase: Fixed refcount debugging message.
6266
6267 * glib/glibmm/objectbase.cc: A parameter passed to g_warning() in
6268 destroy_notify_callback() describing a name of GObject should be indeed
6269 a name, not a pointer to GObject.
6270
6271 2010-11-07 José Alburquerque <jaalburqu@svn.gnome.org>
6272
6273 UnixSocketAddress: Correct the wrapping of create() methods.
6274
6275 * gio/src/unixsocketaddress.hg: Remove the multi-parameter constructor
6276 and create() method, handwriting the create() method instead to wrap
6277 g_unix_socket_address_new_with_type() because the C function does more
6278 than call g_object_new().
6279
6280 * gio/src/filelist.am: Typo.
6281
6282 2010-11-07 José Alburquerque <jaalburqu@svn.gnome.org>
6283
6284 giomm: Add UnixSocketAddress.
6285
6286 * tools/extra_defs_gen/generate_defs_gio.cc:
6287 * gio/src/gio_signals.defs: Add the GUnixSockeAddress GType to the
6288 list of types for which signals and properties should be generated and
6289 regenerate the signals and properties defs file.
6290
6291 * gio/src/filelist.am:
6292 * gio/src/unixsocketaddress.{ccg,hg}: Add the UnixSocketAddress
6293 sources and mention them so they are built.
6294 * tools/m4/convert_gio.m4: Add a necessary enum conversion.
6295
6296 * gio/src/enums.hg: Wrap the Gio::ErrorEnum enum.
6297
6298 2010-11-04 José Alburquerque <jaalburqu@svn.gnome.org>
6299
6300 UnixCredentialMessage, UnixFDMessage: Wrap properties correctly.
6301
6302 * gio/src/unixcredentialsmessage.hg:
6303 * gio/src/unixfdmessage.hg: Correct the wrapping of properties (the
6304 arguments were interchanged).
6305
6306 * gio/src/application.hg: Typos.
6307 * gio/src/socketconnectable.hg: Refine a TODO.
6308
6309 2010-11-03 José Alburquerque <jaalburqu@svn.gnome.org>
6310
6311 giomm: Wrap several unwrapped functions.
6312
6313 * gio/src/memoryoutputstream.hg: Added steal_data(), and a get_data()
6314 constant version.
6315 * gio/src/networkservice.hg: Added get_scheme(), set_scheme().
6316 Wrapped the "scheme" property.
6317 * gio/src/socket.{ccg,hg}: Added get_timeout(), set_timeout(),
6318 receive_with_blocking() and send_with_blocking().
6319 * gio/src/socketclient.hg: Add get_enable_proxy(), set_enable_proxy(),
6320 get_timeout(), set_timeout() and add_application_proxy().
6321 * gio/src/socketconnectable.hg: Added proxy_enumerate() and an
6322 enumerate() constant version.
6323
6324 * gio/src/socketaddressenumerator.hg: Added TODO's.
6325
6326 * gio/src/actiongroup.hg: Small class docs correction.
6327
6328 2010-11-03 José Alburquerque <jaalburqu@svn.gnome.org>
6329
6330 Application, ActionGroup: Add Doxygen class documentation.
6331
6332 * gio/src/application.hg: Add class docs.
6333 (is_valid): Renamed to id_is_valid().
6334 * gio/src/actiongroup.hg: Added class docs.
6335 * gio/src/dbuserror.hg: Typos.
6336
6337 2010-11-03 Murray Cumming <murrayc@murrayc.com>
6338
6339 Fix the build with glib from git master.
6340
6341 * glib/glibmm/main.[h|cc]: get_time(): Now returns a gint64 instead of
6342 a GTimeSpec output parameter.
6343
6344 2.27.2:
6345
6346 2010-11-01 Murray Cumming <murrayc@murrayc.com>
6347
6348 Fix the build with --enable-warnings=fatal
6349
6350 * glib/glibmm/main.[h|cc]: get_current_time(): undef G_DISABLE_DEPRECATED
6351 so this can build. Deprecate it to match the C API. Add get_time() which
6352 replaces it. However, we should replace our use of it, which seems difficult.
6353
6354 2010-11-01 José Alburquerque <jaalburqu@svn.gnome.org>
6355
6356 Application: Re-wrap according to the latest API.
6357
6358 * gio/src/application.{ccg,hg}: Re-wrapped the API according to the
6359 recent changes in the C API. Old methods were removed and new ones
6360 wrapped. Also wrapped its properties.
6361 * tools/m4/convert_gio.m4: Added necessary conversion.
6362
6363 2010-11-01 José Alburquerque <jaalburqu@svn.gnome.org>
6364
6365 giomm: Add ActionGroup interface.
6366
6367 * tools/extra_defs_gen/generate_defs_gio.cc:
6368 * gio/src/gio_signals.defs: Add the GActionGroup type to the extra
6369 defs generation tool and regenerate the signal defs file to get the
6370 signals of GActionGroup.
6371 * gio/src/actiongroup.{ccg,hg}:
6372 * gio/src/filelist.am: Add new ActionGroup interface sources and
6373 mention them so they are build.
6374
6375 2010-10-28 José Alburquerque <jaalburqu@svn.gnome.org>
6376
6377 DBusConnection: Reorder parameters to allow default values for flags.
6378
6379 * gio/src/dbusconnection.{ccg,hg}: Reorder the parameters in the
6380 constructors and create methods so that the DBusConnection flag
6381 parameter has a default value.
6382 * gio/src/dbusproxy.hg (get_cached_property): Docs re-formatting.
6383
6384 2010-10-26 José Alburquerque <jaalburqu@svn.gnome.org>
6385
6386 DBusConnection: Add docs to some methods.
6387
6388 * gio/src/dbusconnection.hg: Add Doxygen docs to wrapped methods
6389 without them.
6390 * gio/src/dbusproxy.hg: Typo.
6391
6392 2010-10-26 José Alburquerque <jaalburqu@svn.gnome.org>
6393
6394 DBusProxy: Add get_cached_property().
6395
6396 * gio/src/dbusproxy.{ccg,hg}: Add get_cached_property(), wrapping
6397 g_dbus_proxy_get_cached_property(). Also add missing _IGNORE().
6398
6399 2.27.1:
6400
6401 2010-10-26 José Alburquerque <jaalburqu@svn.gnome.org>
6402
6403 DBusProxy: Wrap call(), call_finish() and call_sync() methods.
6404
6405 * gio/src/dbusconnection.hg: Wrap the DBusCallFlags enum.
6406 * gio/src/dbusproxy.{ccg,hg}: Wrap the call(), call_finish() and
6407 call_sync() methods.
6408
6409 2010-10-26 José Alburquerque <jaalburqu@svn.gnome.org>
6410
6411 Variant: Remove floating reference on creation.
6412
6413 * glib/src/variant.ccg:
6414 * glib/src/variant_basictypes.cc.m4: Modify all create methods of the
6415 variant classes so that they remove the floating reference of the
6416 newly created GVariants. The C API sometimes 'consumes' GVariants
6417 with floating references (see g_dbus_proxy_call()) so this allows C++
6418 to worry about deleting GVariants when their references are all lost.
6419
6420 2010-10-26 José Alburquerque <jaalburqu@svn.gnome.org>
6421
6422 DBusProxy: Wrap properties and signals.
6423
6424 * tools/extra_defs_gen/generate_defs_gio.cc: Add a new section for
6425 DBus types and add the GDBusProxy type to the gio extra defs
6426 generation tool.
6427 * gio/src/gio_signals.defs: Regenerate with the extra defs tool to get
6428 the properties and signals of GDBusProxy. Some types (like GVariant
6429 and GStrv) have to be manually edited.
6430 * gio/src/dbusproxy.hg: Wrap properties and (one of two) signals.
6431 * tools/m4/convert_glib.m4: Add a const-gchar* to `const
6432 Glib::ustring&' conversion (it may be more appropriate to include it
6433 in dbusproxy.hg for the "g-signal" signal).
6434
6435 2010-10-25 José Alburquerque <jaalburqu@svn.gnome.org>
6436
6437 AsyncInitable: Add create_finish() wrapping an unwrapped function.
6438
6439 * gio/src/asyncinitable.hg: Add create_finish() wrapping
6440 g_async_initable_new_finish(). Its not clear how useful the method
6441 will be, but at least gmmproc does not say that it is still unwrapped.
6442 * gio/src/dbusproxy.hg: Typo.
6443
6444 2010-10-21 Murray Cumming <murrayc@murrayc-desktop>
6445
6446 Added get_system_data_dirs() and get_system_config_dirs().
6447
6448 * glib/glibmm/miscutils.[h|cc]: Wrappping g_get_system_data_dirs() and
6449 g_get_system_config_dirs(), which were actually added in glib 2.6 but
6450 not noticed by us until now.
6451 Notice that these return std::vector<> instead of ArrayHandle, because we
6452 have decided to do that for new APIs.
6453
6454 2010-10-19 Murray Cumming <murrayc@murrayc.com>
6455
6456 Fix the build with the latest glib API.
6457
6458 * gio/src/gio_enums.defs: Regenerated with enums.pl.
6459 * gio/src/gio_methods.defs: Regenerated with h2defs.py.
6460 * gio/src/gio_signals.defs: Regenerated with extra_defs.
6461 * gio/src/application.[hg|ccg]: Adapt to the changed API in glibmm,
6462 though several functions, properties and signals are not yet wrapped.
6463 * gio/src/dbusserver.hg: new_connection signal: Now returns a bool.
6464 * tools/m4/convert_gio.m4: Mention the new enum.
6465
6466 2010-10-18 José Alburquerque <jaalburqu@svn.gnome.org>
6467
6468 glibmm: ustring: Restore last block removed by #ifdef removal script.
6469
6470 * glib/glibmm/ustring.cc: Restore the last block that was accidentally
6471 removed by the optional API #ifdef removal script. There were three.
6472 Two were restored (GNOME bug #622030), but one (final one) was not.
6473 This commit does that, restoring the file to its original condition
6474 without the optional API #ifdefs.
6475
6476 2.27.0:
6477
6478 2010-09-28 Armin Burgmeier <armin@arbur.net>
6479
6480 * MSVC_Net2005/examples/compose/compose.vcproj:
6481 * MSVC_Net2005/examples/dispatcher/dispatcher.vcproj:
6482 * MSVC_Net2005/examples/dispatcher2/dispatcher2.vcproj:
6483 * MSVC_Net2005/examples/keyfile/keyfile.vcproj:
6484 * MSVC_Net2005/examples/markup/markup.vcproj:
6485 * MSVC_Net2005/examples/options/options.vcproj:
6486 * MSVC_Net2005/examples/properties/properties.vcproj:
6487 * MSVC_Net2005/examples/regex/regex.vcproj:
6488 * MSVC_Net2005/examples/resolver/resolver.vcproj:
6489 * MSVC_Net2005/examples/socket-client/socket-client.vcproj:
6490 * MSVC_Net2005/examples/socket-server/socket-server.vcproj:
6491 * MSVC_Net2005/examples/thread/thread.vcproj:
6492 * MSVC_Net2005/examples/thread_pool/thread_pool.vcproj:
6493 * MSVC_Net2005/filelist.am:
6494 * MSVC_Net2005/gendef/gendef.vcproj:
6495 * MSVC_Net2005/giomm/giomm.vcproj:
6496 * MSVC_Net2005/glibmm.sln:
6497 * MSVC_Net2005/glibmm/glibmm.vcproj:
6498 * MSVC_Net2005/tests/giomm_simple/giomm_simple.vcproj:
6499 * MSVC_Net2005/tests/glibmm_value/glibmm_value.vcproj:
6500 * MSVC_Net2008/examples/compose/compose.vcproj:
6501 * MSVC_Net2008/examples/dispatcher/dispatcher.vcproj:
6502 * MSVC_Net2008/examples/dispatcher2/dispatcher2.vcproj:
6503 * MSVC_Net2008/examples/keyfile/keyfile.vcproj:
6504 * MSVC_Net2008/examples/markup/markup.vcproj:
6505 * MSVC_Net2008/examples/options/options.vcproj:
6506 * MSVC_Net2008/examples/properties/properties.vcproj:
6507 * MSVC_Net2008/examples/regex/regex.vcproj:
6508 * MSVC_Net2008/examples/resolver/resolver.vcproj:
6509 * MSVC_Net2008/examples/socket-client/socket-client.vcproj:
6510 * MSVC_Net2008/examples/socket-server/socket-server.vcproj:
6511 * MSVC_Net2008/examples/thread/thread.vcproj:
6512 * MSVC_Net2008/examples/thread_pool/thread_pool.vcproj:
6513 * MSVC_Net2008/filelist.am:
6514 * MSVC_Net2008/gendef/gendef.vcproj:
6515 * MSVC_Net2008/giomm/giomm.vcproj:
6516 * MSVC_Net2008/glibmm.sln:
6517 * MSVC_Net2008/glibmm/glibmm.vcproj:
6518 * MSVC_Net2008/tests/giomm_simple/giomm_simple.vcproj:
6519 * MSVC_Net2008/tests/glibmm_value/glibmm_value.vcproj:
6520 * MSVC_Net2010/examples/compose/compose.vcxproj:
6521 * MSVC_Net2010/examples/compose/compose.vcxproj.filters:
6522 * MSVC_Net2010/examples/dispatcher/dispatcher.vcxproj:
6523 * MSVC_Net2010/examples/dispatcher/dispatcher.vcxproj.filters:
6524 * MSVC_Net2010/examples/dispatcher2/dispatcher2.vcxproj:
6525 * MSVC_Net2010/dispatcher2/dispatcher2.vcxproj.filters:
6526 * MSVC_Net2010/examples/keyfile/keyfile.vcxproj:
6527 * MSVC_Net2010/examples/keyfile/keyfile.vcxproj.filters:
6528 * MSVC_Net2010/examples/markup/markup.vcxproj:
6529 * MSVC_Net2010/examples/markup/markup.vcxproj.filters:
6530 * MSVC_Net2010/examples/options/options.vcxproj:
6531 * MSVC_Net2010/examples/options/options.vcxproj.filters:
6532 * MSVC_Net2010/examples/properties/properties.vcxproj:
6533 * MSVC_Net2010/examples/properties/properties.vcxproj.filters:
6534 * MSVC_Net2010/examples/regex/regex.vcxproj:
6535 * MSVC_Net2010/examples/regex/regex.vcxproj.filters:
6536 * MSVC_Net2010/examples/resolver/resolver.vcxproj:
6537 * MSVC_Net2010/examples/resolver/resolver.vcxproj.filters:
6538 * MSVC_Net2010/examples/socket-client/socket-client.vcxproj:
6539 * MSVC_Net2010/socket-client/socket-client.vcxproj.filters:
6540 * MSVC_Net2010/examples/socket-server/socket-server.vcxproj:
6541 * MSVC_Net2010/socket-server/socket-server.vcxproj.filters:
6542 * MSVC_Net2010/examples/thread/thread.vcxproj:
6543 * MSVC_Net2010/examples/thread/thread.vcxproj.filters:
6544 * MSVC_Net2010/examples/thread_pool/thread_pool.vcxproj:
6545 * MSVC_Net2010/thread_pool/thread_pool.vcxproj.filters:
6546 * MSVC_Net2010/filelist.am:
6547 * MSVC_Net2010/gendef/gendef.vcxproj:
6548 * MSVC_Net2010/gendef/gendef.vcxproj.filters:
6549 * MSVC_Net2010/giomm/giomm.rc.in:
6550 * MSVC_Net2010/giomm/giomm.vcxproj:
6551 * MSVC_Net2010/giomm/giomm.vcxproj.filters:
6552 * MSVC_Net2010/glibmm.sln:
6553 * MSVC_Net2010/glibmm/glibmm.rc.in:
6554 * MSVC_Net2010/glibmm/glibmm.vcxproj:
6555 * MSVC_Net2010/glibmm/glibmm.vcxproj.filters:
6556 * MSVC_Net2010/tests/giomm_simple/giomm_simple.vcxproj:
6557 * MSVC_Net2010/giomm_simple/giomm_simple.vcxproj.filters:
6558 * MSVC_Net2010/tests/glibmm_value/glibmm_value.vcxproj:
6559 * MSVC_Net2010/glibmm_value/glibmm_value.vcxproj.filters:
6560 * Makefile.am:
6561 * configure.ac: Add MSVC2010 project files and 64 bit support.
6562
6563 2010-09-20 Murray Cumming <murrayc@murrayc.com>
6564
6565 Depend on glib 2.27.0, because we need GApplication.
6566
6567 * configure.ac: Increase the glib dependency.
6568
6569 This is the master branch.
6570 See the glibmm-2-26 branch too.
6571
6572 2010-09-14 Murray Cumming <murrayc@murrayc.com>
6573
6574 Settings: Comment out get_destroyed() to avoid a linker error.
6575
6576 * gio/src/settings.[hg|ccg]: Comment out the use of g_setting_get_destroyed().
6577 See glib bug https://bugzilla.gnome.org/show_bug.cgi?id=629621 .
6578
6579 2010-09-14 Murray Cumming <murrayc@murrayc.com>
6580
6581 DBusConnection: Fix some (useful) compilation warnings.
6582
6583 * gio/src/dbusconnection.[hg|ccg]: IOStream constructors and create*()
6584 methods: Actually use the slot parameter.
6585
6586 2010-09-14 Murray Cumming <murrayc@murrayc.com>
6587
6588 giomm: Added some DBusMessage and NetworkAddress methods.
6589
6590 * gio/src/dbusmessage.hg: Added get_locked(), lock(), and copy().
6591 * gio/src/networkaddress.hg: Added get_scheme() and property.
6592
6593 2010-09-14 Murray Cumming <murrayc@murrayc.com>
6594
6595 glibmm: Added VariantIter source files that I forget to git add before.
6596
6597 * glib/src/variantiter.[hg|ccg]: Added missing files to git.
6598
6599 2010-09-13 José Alburquerque <jaalburqu@svn.gnome.org>
6600
6601 giomm: DBusConnection: Wrap async constructors and create methods.
6602
6603 * gio/src/dbusconnection.{ccg,hg}: Wrapped create(), create_finish().
6604 Renamed the create() method accepting an address instead of an
6605 IOStream to create_for_address(). Wrapped
6606 create_for_address_finish(). Wrapped pertinent constructors. Wrapped
6607 get() and get_finish().
6608 * gio/src/dbusproxy.{ccg,hg}: Renamed create() accepting a BusType
6609 parameter to create_for_bus(). Wrapped create_for_bus_finish().
6610
6611 2010-09-13 José Alburquerque <jaalburqu@svn.gnome.org>
6612
6613 giomm: DBusServer: Corrected parameter order of constructor.
6614
6615 * gio/src/dbusserver.{ccg,hg}: Reordered the parameters of the
6616 constructor and create() method so that the flag is the last optional
6617 parameter.
6618
6619 2010-09-13 José Alburquerque <jaalburqu@svn.gnome.org>
6620
6621 giomm: Add various unwrapped methods.
6622
6623 * gio/src/gio_methods.defs: Regenerated.
6624 * gio/src/gio_signals.defs: Corrected GVariant parameters of the
6625 GApplication signal defs (from GVariant to GVariant*).
6626 * gio/src/application.hg: Wrapped "action-with-data",
6627 "prepare-activation", and "quit-with-data" signals.
6628 * gio/src/settings.hg: Wrapped reset(), list_children(), list_keys()
6629 get_destroyed(), and the "writable_change_event" signal.
6630
6631 * gio/src/asyncinitable.hg:
6632 * gio/src/settingsbackend.hg: Typos.
6633
6634 2010-09-13 Murray Cumming <murrayc@murrayc.com>
6635
6636 DBusMessage: Added methods.
6637
6638 * gio/src/dbusconnection.hg: Move DBusCapabilityFlags to dbusmessage.h.
6639 * gio/src/dbusmessage.[hg|ccg]: Added create_from_blob(),
6640 set/get_byte_order(), get_header_fields(), bytes_needed(), to_blob(), and
6641 to_exception().
6642 * gio/src/gio_enums.defs: Regenerated with enums.pl.
6643
6644 2010-09-13 Murray Cumming <murrayc@murrayc.com>
6645
6646 Add VariantIter include to glibmm.h.
6647
6648 * glib/glibmm.h:
6649 * glib/src/variant.hg: Add an _IGNORE() too.
6650
6651 2010-09-13 Murray Cumming <murrayc@murrayc.com>
6652
6653 Added VariantIter.
6654
6655 * glib/src/glib_functions.defs:
6656 * glib/src/gobject_functions.defs: Regenerated with h2defs.py.
6657 * glib/src/filelist.am:
6658 * glib/src/variantiter.[hg|ccg]: Added the VariantIter class. Unfortunately
6659 it can't be much like a std::iterator until we fix the C API - see the
6660 comments.
6661 * glib/src/varianttype.hg: Added an m4 line to fix the build.
6662
6663 2010-09-13 Murray Cumming <murrayc@murrayc.com>
6664
6665 VariantBase: Added a byte/guchar specialization.
6666
6667 * glib/src/variant_basictypes.cc.m4:
6668 * glib/src/variant_basictypes.h.m4: Add an extra argument to the macro,
6669 so we can handle g_variant_get_byte(), whose function/macro type name is not
6670 the same as its C type name. Each macro only uses 2 arguments, but it is
6671 clearer if both are the same, I think.
6672 * glib/src/variant.hg: Mark g_variant_get_byte() as handled.
6673
6674 2010-09-13 Murray Cumming <murrayc@murrayc.com>
6675
6676 Variant: Added some methods.
6677
6678 * glib/src/variant.[hg|ccg]: Added get_maybe(), get_size(), get_data(),
6679 store(), and get_n_children().
6680
6681 2010-09-09 José Alburquerque <jaalburqu@svn.gnome.org>
6682
6683 giomm: DBus: Wrap D-Bus Utilities and GDBusError C functions.
6684
6685 * gio/src/dbuserror.{ccg,hg}:
6686 * gio/src/dbusutils.{ccg,hg}:
6687 * gio/src/filelist.am: Add new sources wrapping C functions from the
6688 D-Bus Utilities and GDBusError gio DBus C API. The GBDusError
6689 functions are wrapped in a new Gio::DBus::Error namespace.
6690 * gio/src/dbusownname.hg:
6691 * gio/src/dbuswatchname.hg: Typos.
6692
6693 2010-09-09 José Alburquerque <jaalburqu@svn.gnome.org>
6694
6695 giomm: DBus Introspection Data Classes: Add const methods.
6696
6697 * gio/src/dbusintrospection.hg: Add const methods returning
6698 DBusMethodInfo, DBusSignalInfo, DBusPropertyInfo and DBusInterfaceInfo
6699 classes to the DBusInterfaceInfo and DBusNodeInfo classes.
6700 * gio/src/dbusmethodinvocation.hg (get_method_info): Remove the
6701 non-const verrsion of this method because the C API only has a version
6702 returning a const GDBusMethodInfo.
6703 * tools/m4/convert_gio.m4: Move the conversion
6704 DBusMethodInvocation::get_method_info() over to the local .hg file
6705 because it is specific to that method.
6706
6707 2010-09-07 José Alburquerque <jaalburqu@svn.gnome.org>
6708
6709 giomm: DBusProxy: Correct the use of the DBusInterfaceInfo class.
6710
6711 * gio/src/dbusproxy.{ccg,hg}: Use the DBusInterfaceInfo class wrapper
6712 instead of the C API one. The wrapper is reference counted.
6713 (set/get_interface_info): Add these new methods, wrapping
6714 g_dbus_proxy_set_interface_info() and
6715 g_dbus_proxy_get_interface_info().
6716 * gio/src/dbusmethodinvocation.{ccg,hg} (get_method_info): Add this
6717 method, wrapping g_dbus_method_invocation_get_method_info().
6718 * tools/m4/convert_gio.m4: Add necessary conversions.
6719
6720 2010-09-07 José Alburquerque <jaalburqu@svn.gnome.org>
6721
6722 giomm: Add D-Bus Introspection Data classes.
6723
6724 * gio/src/dbusintrospection.{ccg,hg}:
6725 * gio/src/filelist.am: Add new sources containing the various
6726 introspection data classes (with their methods) representing
6727 annotations, methods, signals, properties and interfaces for the DBus
6728 API.
6729 * tools/m4/convert_gio.m4: Add the necessary conversions.
6730
6731 2010-09-06 José Alburquerque <jaalburqu@svn.gnome.org>
6732
6733 giomm: DBusProxy: Add constructors and create methods.
6734
6735 * gio/src/dbusproxy.{ccg,hg}: Add the constructors and create methods
6736 making sure that the order of the parameters allows for the
6737 Cancellable to be optional. Also made sure that the GDBusInterface
6738 parameter is constant.
6739
6740 * gio/src/dbusconnection.ccg (DBusConnection): Rename the "observer"
6741 property in the _CONSTRUCT macro to the correct
6742 "authentication-observer" name used in the new function.
6743
6744 * gio/src/socketcontrolmessage.hg:
6745 * gio/src/unixfdlist.hg:
6746 * gio/src/unixfdmessage.hg: Correct typos in newin{}'s.
6747
6748 2010-09-05 José Alburquerque <jaalburqu@svn.gnome.org>
6749
6750 giomm: Add initial DBusProxy implementation.
6751
6752 * gio/src/dbusproxy.{ccg,hg}:
6753 * gio/src/filelist.am: Add new DBusProxy source.
6754 * tools/m4/convert_gio.m4: Add conversions for DBusProxy.
6755
6756 2010-09-03 Murray Cumming <murrayc@murrayc.com>
6757
6758 gmmproc: Fix the annoying warnings about documentation.
6759
6760 * tools/pm/GtkDefs.pm: lookup_object(): Do not print a warning when the
6761 object is found, because this is used when guessing an object name while
6762 breaking apart a function name in DocsParser.pm.
6763 * gio/src/filelist.am:
6764 * gio/src/gio.defs:
6765 * gio/src/gio_extra_objects.defs:
6766 * glib/src/filelist.am:
6767 * glib/src/glib.defs:
6768 * glib/src/glib_extra_objects.defs: Added the *extra_objects.defs files,
6769 with hand-coded define-object sections, for objects that hide their *Class
6770 or *Iface struct declarations, which stops h2defs.py from generating
6771 define-object sections.
6772 These allows DocsParser.pm to know how to split mentions of C functions into
6773 the object and the method, so it can guess the C++ method name to mention
6774 instead.
6775
6776 2010-09-03 Murray Cumming <murrayc@murrayc.com>
6777
6778 giomm: Added remaining Proxy and ProxyResolver methods.
6779
6780 * gio/src/proxy.[hg|ccg]: Added connect_async().
6781 * gio/src/proxyresolver.[hg|ccg]: Added lookup_async().
6782
6783 2010-09-02 José Alburquerque <jaalburqu@svn.gnome.org>
6784
6785 giomm: DBus: watch_name(): Add DBusConnection implementation.
6786
6787 * gio/src/dbuswatchname.ccg (watch_name): Add this forgotten
6788 function implementation accepting a DBusConnection instead of a
6789 BusType.
6790
6791 2010-09-02 José Alburquerque <jaalburqu@svn.gnome.org>
6792
6793 giomm: DBus: Add watch/unwatch_name().
6794
6795 * gio/src/dbuswatchname.{ccg,hg}:
6796 * gio/src/filelist.am: Add watch/unwatch_name() functions to the
6797 Gio::DBus namespace wrapping the Gio Bus Name Watching API.
6798
6799 2010-09-02 Murray Cumming <murrayc@murrayc.com>
6800
6801 giomm: Added Proxy, ProxyAddress and ProxyResolver.
6802
6803 * gio/src/proxy.[hg|ccg]:
6804 * gio/src/proxyaddress.[hg|ccg]:
6805 * gio/src/proxyresolver.[hg|ccg]: New files, not complete.
6806
6807 2.25.4:
6808
6809 2010-08-31 José Alburquerque <jaalburqu@svn.gnome.org>
6810
6811 giomm: AsyncInitiable: Correct errors.
6812
6813 * gio/src/asyncinitable.ccg (init_async_vfunc_callback): Take an extra
6814 reference of the cancellable when calling the member virtual method so
6815 the cancellable is not destroyed.
6816 (init_async_vfunc): Don't create a copy of the SlotAsyncReady because
6817 it would have already been copied in init_async() method invocation.
6818
6819 2010-08-30 José Alburquerque <jaalburqu@svn.gnome.org>
6820
6821 giomm: AsyncInitable: Wrap virtual functions.
6822
6823 * gio/src/gio_vfuncs.defs: Add the GAsyncInitable virutal functions.
6824 * gio/src/asyncinitable.{ccg,hg} (init_async_vfunc): Handwrite virtual
6825 function because of the slot parameter.
6826 (init_finish_vfunc): Likewise, because of the GError parameter.
6827
6828 2010-08-30 José Alburquerque <jaalburqu@svn.gnome.org>
6829
6830 AsyncInitable: Remove duplicate license blocks.
6831
6832 * gio/src/asyncinitable.hg:
6833
6834 2010-08-30 José Alburquerque <jaalburqu@svn.gnome.org>
6835
6836 Include header files of newly added API in main include files.
6837
6838 * gio/giomm.h:
6839 * glib/glibmm.h: Include the headers of newly added API in the main
6840 header files so the API is included automatically with the general
6841 includes.
6842
6843 2010-08-30 José Alburquerque <jaalburqu@svn.gnome.org>
6844
6845 giomm: Add AsyncInitable interface.
6846
6847 * gio/src/asyncinitable.ccg:
6848 * gio/src/asyncinitable.hg: Add source files for AsyncInitable
6849 interface.
6850 * gio/src/filelist.am: Mention the asyncinitable.hg file so the
6851 sources are built.
6852 * gio/src/dbusconnection.hg: Have DBusConnection derive from the
6853 AsyncInitable interface also.
6854
6855 2010-08-27 José Alburquerque <jaalburqu@svn.gnome.org>
6856
6857 giomm: DBusConnection: Wrap synchronous new functions.
6858
6859 * gio/src/dbusconnection.ccg:
6860 * gio/src/dbusconnection.hg: Wrap g_dbus_connection_new_sync() and
6861 g_dbus_connection_new_for_address_sync() functions (using constructors
6862 and create methods).
6863
6864 2010-08-24 José Alburquerque <jaalburqu@svn.gnome.org>
6865
6866 giomm: Add UnixCredentialsMessage to the build.
6867
6868 * tools/extra_defs_gen/generate_defs_gio.cc: Uncomment the code in the
6869 extra defs generation tool so that properties and signals for
6870 GUnixCredentialsMessage are generated.
6871 * gio/src/gio_signals.defs: Regenerate the signal and properties def
6872 file to get the properties of GUnixCredentialsMessage.
6873 * gio/src/filelist.am: Mention the unixcredentialsmessage.hg so that
6874 it is built.
6875
6876 2010-08-17 José Alburquerque <jaalburqu@svn.gnome.org>
6877
6878 giomm: Add UnixFDMessage to the build.
6879
6880 * gio/src/unixfdmessage.ccg: Include <gio/gunixfdmessage.h> instead
6881 of <gio/gio.h> so that the C API function definitions are correctly
6882 included.
6883 * gio/src/unixcredentialsmessage.ccg: Correct the include here also,
6884 but bug #627013 must be resolved before including
6885 UnixCredentialsMessage in the build.
6886 * gio/src/filelist.am: Mention the unixfdmessage.hg file so
6887 UnixFDMessage is built. Left a TODO for UnixCredentialsMessage.
6888 * tools/extra_defs_gen/generate_defs_gio.cc: Updated so that the tool
6889 can be used to generate the signals and properties of GUnixFDMessage.
6890 * gio/src/gio_signals.defs: Regenerated to get the properties of
6891 GUnixFDMessage.
6892
6893 2010-08-13 José Alburquerque <jaalburqu@svn.gnome.org>
6894
6895 Regenerate the docs.
6896
6897 * gio/src/gio_docs.xml:
6898 * glib/src/glib_docs.xml: Regenerate the docs so that documentation is
6899 generated for methods that wrap newly added API.
6900
6901 2010-08-10 José Alburquerque <jaalburqu@svn.gnome.org>
6902
6903 giomm: Use ifdef in _WRAP_METHOD()s surrounded by #ifdefs.
6904
6905 * gio/src/credentials.hg:
6906 * gio/src/dbusmessage.ccg:
6907 * gio/src/dbusmessage.hg: Use the ifdef option in the _WRAP_METHOD()s
6908 that wrap C functions that are built based on #ifdef conditions. This
6909 allows the #ifdefs to be generated in the .cc files also.
6910
6911 * gio/src/unixconnection.hg (receive_credentials): Use constversion
6912 in the _WRAP_METHOD() of the constant version so that the code of the
6913 non-constant version is used instead of generated new code.
6914
6915 * gio/src/unixfdlist.hg: _IGNORE() C functions that are handwritten.
6916 (UnixFDList): Use explicit for single parameter constructor.
6917
6918 2010-08-06 José Alburquerque <jaalburqu@svn.gnome.org>
6919
6920 glibmm: VariantBase: Correct typo in docs.
6921
6922 * glib/src/variant.hg: Correct typos in class docs.
6923 * glib/src/variant.ccg (get_normal):
6924 (byteswap): Receive the GVariants from the C functions as const since
6925 the variants should not be modified.
6926
6927 2010-08-06 José Alburquerque <jaalburqu@svn.gnome.org>
6928
6929 giomm: UnixConnection: Add receive/send_credentials() methods.
6930
6931 * gio/src/unixconnection.hg: Add receive/send_credentials() which
6932 the UnixCredentialsMessage docs refers to.
6933
6934 2010-08-05 José Alburquerque <jaalburqu@svn.gnome.org>
6935
6936 giomm: Add SocketControlMessage, Unix[Credentials|FD]Message classes.
6937
6938 * gio/src/socketcontrolmessage.{ccg,hg}:
6939 * gio/src/filelist.am: Add SocketControlMessage sources and mention
6940 the .hg file so the sources are built.
6941 * gio/src/gio_vfuncs.defs: Add virtual functions for
6942 GSocketControlMessage.
6943
6944 * gio/src/unixcredentialsmessage.{ccg,hg}:
6945 * gio/src/unixfdmessage.{ccg,hg}: Add UnixCredentialsMessage and
6946 UnixFDmessage sources but don't mention them because the gio include
6947 paradignm seems to be causing the C functions not to be declared upon
6948 compilation.
6949 * tools/extra_defs_gen/generate_defs_gio.cc: Add the
6950 GUnixCredentialsMessage and the GUnixFDMessage types but commented out
6951 because the types also appear not to be defined because of the gio
6952 include paradigm.
6953
6954 * tools/m4/convert_gio.m4: Add necessary conversions.
6955
6956 2.25.3:
6957
6958 2010-07-30 Murray Cumming <murrayc@murrayc.com>
6959
6960 generate_defs_gio.cc: Added some new types.
6961
6962 * tools/extra_defs_gen/generate_defs_gio.cc: Added GApplication,
6963 GSettings and GSettingsBackend.
6964
6965 2010-07-30 Murray Cumming <murrayc@murrayc.com>
6966
6967 Application: Add create_*() overloads.
6968
6969 * gio/src/application.[hg|ccg]: Add create_*() methods without argc and
6970 argv parameters, because these can be NULL.
6971
6972 2010-07-30 Murray Cumming <murrayc@murrayc.com>
6973
6974 Added Gio::Application, wrapping GApplication.
6975
6976 * gio/src/filelist.am:
6977 * gio/src/application.[hg|ccg]: New files. We maybe want to move some of
6978 Glib::Main to this and deprecated Glib::Main, though it would then be
6979 annoying to use Glib::RefPtr there.
6980
6981 2010-07-30 José Alburquerque <jaalburqu@svn.gnome.org>
6982
6983 Add Gio::DBus::[own|unown]_name().
6984
6985 * gio/src/dbusconnection.hg: Wrap the BusType enum and add class docs.
6986 * gio/src/dbusownname.{ccg,hg}: Add new source files that implement
6987 the own_name() and unown_name() functions. The functions are defined
6988 in a Gio::DBus namesapce.
6989 * gio/src/filelist.am: Mention the hg source file so that the sources
6990 are built.
6991
6992 2010-07-30 José Alburquerque <jaalburqu@svn.gnome.org>
6993
6994 VaraintBase: Use output parameters instead of returning values.
6995
6996 * glib/src/variant.{ccg,hg}: get_normal_form(), byteswap(): Handwrote
6997 these methods so that output parameters can be used instead of
6998 returning the result.
6999
7000 2010-07-29 Murray Cumming <murrayc@murrayc.com>
7001
7002 Variant: Added some methods.
7003
7004 * glib/src/variant.hg: Added some methods.
7005
7006 2010-07-29 Murray Cumming <murrayc@murrayc.com>
7007
7008 VariantType: Added create_*() methods.
7009
7010 * glib/src/glib_functions.defs: Regenerated, manually changing some
7011 define-method lines to define-function lines.
7012 * glib/src/varianttype.[hg|ccg]: Added create_*() methods and a
7013 (std::string) constructor.
7014 * tools/m4/convert_glib.m4: Added a conversion.
7015
7016 2010-07-29 Murray Cumming <murrayc@murrayc.com>
7017
7018 VariantType: Add more appropriate constructor and add Gtk::Stock-like types.
7019
7020 * glib/src/varianttype.[hg|ccg]: Add a cobject constructor that always copies,
7021 and an operator= to match.
7022 Add VariantType* objects to match the G_VARIANT_TYPE_* defines in C.
7023
7024 2010-07-29 Murray Cumming <murrayc@murrayc.com>
7025
7026 Added VariantType
7027
7028 * glib/src/filelist.am:
7029 * glib/src/varianttype.[hg|ccg]: Added VariantType, though
7030 we still need to wrap the _new_*() functions as create_*().
7031 * tools/m4/convert_glib.m4: Added necessary conversions.
7032
7033 2010-07-28 Martin Braure de Calignon <braurede@free.fr>
7034
7035 giomm: DBusConnection: Added send_message_with_reply().
7036
7037 * gio/src/dbusconnection.[hg|ccg]: Added send_message_with_reply()
7038 and send_message_with_reply_finish().
7039
7040 2010-07-27 José Alburquerque <jaalburqu@svn.gnome.org>
7041
7042 Add Gio::DBusMethodInvocation.
7043
7044 * gio/src/dbusmethodinvocation.{ccg,hg}:
7045 * gio/src/filelist.am: Add source files for Gio::DBusMethodInvocation.
7046 * tools/m4/convert_gio.m4: Add necessary conversions.
7047 * gio/src/unixfdlist.hg: Add missing @newin{}'s.
7048 * gio/src/dbusauthobserver.hg: Typo.
7049
7050 2010-07-27 José Alburquerque <jaalburqu@svn.gnome.org>
7051
7052 Gio::Message: Wrap several methods.
7053
7054 * gio/src/dbusmessage.ccg:
7055 * gio/src/dbusmessage.hg: Wrap create_method_error_literal(),
7056 get_body(), set_body(), [get|set|unset]_unix_fd_list(). Reordered
7057 method declarations according to the C declarations. Added class and
7058 method docs.
7059 * tools/m4/convert_gio.m4: Added conversions for new methods above.
7060
7061 2010-07-27 José Alburquerque <jaalburqu@svn.gnome.org>
7062
7063 Gio::UnixFDList: peek_fds(): Made return const for emphasis.
7064
7065 * gio/src/unixfdlist.ccg:
7066 * gio/src/unixfdlist.hg: Remove redundant paragraph in class docs.
7067 (peek_fds): Made return const to emphasize that the file descriptors
7068 should not be modified.
7069 (steal_fds): Remove unnecessary const_cast<>.
7070
7071 2010-07-26 José Alburquerque <jaalburqu@svn.gnome.org>
7072
7073 Gio::UnixFDList: Add params and returns in create() method docs.
7074
7075 * gio/src/unixfdlist.hg (create): Add @param and @return to the method
7076 docs for clarity.
7077
7078 2010-07-26 José Alburquerque <jaalburqu@svn.gnome.org>
7079
7080 Add Gio::UnixFDList.
7081
7082 * gio/src/unixfdlist.ccg:
7083 * gio/src/unixfdlist.hg:
7084 * gio/src/filelist.am: Add the UnixFDList source files.
7085
7086 * gio/src/dbusserver.hg (DBusServer): Add a description line to the
7087 class header.
7088
7089 2010-07-26 José Alburquerque <jaalburqu@svn.gnome.org>
7090
7091 Gio::DBusServer: Use the _CONSTRUCT macro in the constructor.
7092
7093 * gio/src/dbusserver.ccg (DBusServer): Use the _CONSTRUCT macro in the
7094 constructor so that its instances are constructed properly.
7095
7096 2010-07-25 José Alburquerque <jaalburqu@svn.gnome.org>
7097
7098 Add Gio::DBusServer.
7099
7100 * gio/src/dbusserver.ccg:
7101 * gio/src/dbusserver.hg:
7102 * gio/src/filelist.am: Add the new sources for Gio::DBusServer.
7103
7104 * tools/extra_defs_gen/generate_defs_gio.cc:
7105 * gio/src/gio_signals.defs: Add the GDBusServer type to the extra defs
7106 generation utility and regenerate the signal defs file to get the
7107 signals and properties of GDBusServer.
7108
7109 * tools/m4/convert_gio.m4: Add conversions for GDBusServer.
7110 Alphabetize the enum conversions.
7111
7112 * gio/src/dbusauthobserver.hg: Typos.
7113
7114 2010-07-25 Murray Cumming <murrayc@murrayc.com>
7115
7116 DBusAuthObserver: Fix the build with latest glib.
7117
7118 * gio/src/dbusauthobserver.hg: authorize_authenticated_peer signal:
7119 Use no_default_handler, so we don't try to access the (totally private)
7120 GDBusAuthObserverClass struct.
7121
7122 2010-07-23 José Alburquerque <jaalburqu@svn.gnome.org>
7123
7124 Gio::DBusAuthObserver: Make parameters constant.
7125
7126 * gio/src/dbusauthobserver.[hg|ccg]:
7127 * gio/src/filelist.am: Add the source files, this time making sure the
7128 parameters in the methods and signals are constant because this class
7129 is only meant to observe authentications of remote peers and tell if
7130 the connection is valid based on the parameters. It doesn't look like
7131 the parameters should be changed in the signal handlers.
7132
7133 * gio/src/gio_signals.defs:
7134 * tools/extra_defs_gen/generate_defs_gio.cc: Add changes not included
7135 in the addition of the Gio::DBusAuthObserver API.
7136
7137 * tools/m4/convert_gio.m4: Fix the conversions so that they convert
7138 from const parameters to non-const for the C API.
7139
7140 2010-07-23 Murray Cumming <murrayc@murrayc.com>
7141
7142 Fix warnings.
7143
7144 * gio/src/settings.hg:
7145 * glib/src/variant.hg: Remove extra ;s.
7146
7147 2010-07-23 José Alburquerque <jaalburqu@svn.gnome.org>
7148
7149 Add Gio::DBusAuthObserver.
7150
7151 * gio/src/dbusauthobserver.[hg|ccg]:
7152 * gio/src/filelist.am: Add the source files of Gio::DBusAuthObserver
7153 and add them to the compile list.
7154
7155 * tools/extra_defs_gen/generate_defs_gio.cc:
7156 * gio/src/gio_signals.defs: Add the G_TYPE_DBUS_AUTH_OBSERVER to the
7157 extra defs gio utility and regenerate the signals defs file with the
7158 utility to get the signals and properties of GDBusAuthObserver.
7159
7160 2010-07-22 Murray Cumming <murrayc@murrayc.com>
7161
7162 DBusMessage: Add get_header() and set_header().
7163
7164 * gio/src/dbusmessage.[hg|ccg]: Add get_header(), using a VariantBase output
7165 parameter, and set_header().
7166 * gio/src/settings.[hg|ccg]: get_value(): Make this const too.
7167 * tools/m4/convert_gio.m4: Added conversions.
7168
7169 2010-07-22 Murray Cumming <murrayc@murrayc.com>
7170
7171 Variant<>: Make this usable as an ouput parameter.
7172
7173 * glib/src/variant.[hg|ccg]: VariantBase: Added init(), like Value::init().
7174 This just changes the gobject_, with appropriate unref and ref.
7175 * gio/src/settings.[hg|ccg]: get_value(): Use an output parameter for the
7176 VariantBase, instead of a return value, as we do for Value, allowing the
7177 caller to use a derived (templated) type.
7178 * examples/settings/settings.cc: Show how Variant<> can be used.
7179
7180 2010-07-22 Murray Cumming <murrayc@murrayc.com>
7181
7182 Settings example: Minor change.
7183
7184 * examples/settings/settings.cc: Remove the unnecessary use of
7185 Glib::ustring::raw().
7186
7187 2010-07-22 Murray Cumming <murrayc@murrayc.com>
7188
7189 Variant: Added some methods.
7190
7191 * glib/src/variant.[hg|ccg]: ValueBase: Wrap some simple functions
7192 with _WRAP_METHOD().
7193 * glib/src/variant_basictypes.h.m4: Syntax changes, and make the castitem
7194 constructor explicit.
7195 * tools/m4/convert_gio.m4: Added necessary conversion.
7196
7197 We need to decide how to use this in get*() methods and add some tests.
7198
7199 2010-07-22 Murray Cumming <murrayc@murrayc.com>
7200
7201 giomm: DBusMessage: Added several methods.
7202
7203 * gio/src/dbusmessage.hg: Wrapped the simple functions.
7204 * tools/m4/convert_gio.m4: Added necessary conversions.
7205
7206 2010-07-22 Murray Cumming <murrayc@murrayc.com>
7207
7208 giomm: DBusMessage: Added create_*() methods.
7209
7210 * gio/src/dbusmessage.hg: Added create_signal(), create_method_call() and
7211 create_method_reply().
7212 * tools/m4/convert_gio.m4: Added necessary conversion.
7213
7214 2010-07-21 Murray Cumming <murrayc@murrayc.com>
7215
7216 Added DBusMessage and DBusConnection::send_message().
7217
7218 * gio/src/gio_methods.defs: Regenerated.
7219 * gio/src/filelist.am:
7220 * gio/src/dbusmessage.[hg|ccg]: New wrapper for GMessage, with no methods
7221 yet.
7222 * gio/src/dbusconnection.hg: Added send_message().
7223 * tools/m4/convert_gio.m4: Added necessary conversions.
7224 * gio/src/credentials.hg: Uncommented out some methods now that the .defs
7225 are correct.
7226 * gio/src/socket.hg: Added get_credentials().
7227
7228 2010-07-21 Murray Cumming <murrayc@murrayc.com>
7229
7230 giomm: Added Credentials and DBusConnection::get_peer_credentials().
7231
7232 * gio/src/gio_enums.defs: Regenerated.
7233 * gio/src/filelist.am:
7234 * gio/src/credentials.[hg|ccg]: New wrapper for GCredentials.
7235 * gio/src/dbusconnection.hg: Added get_peer_credentials().
7236
7237 2010-07-15 Murray Cumming <murrayc@murrayc.com>
7238
7239 Fix the build for a GDBusConnection API change.
7240
7241 * gio/src/gio_methods.defs:
7242 * gio/src/gio_unix_functions.defs:
7243 * glib/src/glib_functions.defs:
7244 * glib/src/gobject_functions.defs: Regenerate.
7245 * glib/src/gdbusconnection.[hg|ccg]: Made close() async, adding close_finish()
7246 and close_sync().
7247 Added flush(), flush_finish() and flush_sync().
7248
7249 2010-06-29 Murray Cumming <murrayc@murrayc.com>
7250
7251 Added DBusConnection
7252
7253 * gio/src/gio_enums.defs: Regenerated with tools/enums.pl.
7254 * gio/src/filelist.am:
7255 * gio/src/dbusconnection.[hg|ccg]: Added DBusConnection with just the
7256 simplest methods.
7257 I might put this in a GDBus namespace, and maybe even in a separate library.
7258
7259 2010-06-24 Murray Cumming <murrayc@murrayc.com>
7260
7261 Simplify VariantBase .hg code and use it in Settings.
7262
7263 * glib/src/variant.[hg|ccg]: Use CLASS_OPAQUE_COPYABLE() instead of
7264 _CLASS_GENERIC() to avoid writing some stuff manually. This seems to be OK.
7265 Do not include the C header in our .h file.
7266 * tools/m4/convert_gio.m4: Added GVariantBase conversions.
7267 * gio/src/settings.hg: Added get_value() and set_value().
7268
7269 2010-06-22 Murray Cumming <murrayc@murrayc.com>
7270
7271 Clean up glib_functions.defs.
7272
7273 * glib/src/glib_functions.defs: Remove bad definitions of function-pointers
7274 that cause annoying warnings during the build.
7275
7276 2010-06-19 José Alburquerque <jaalburqu@svn.gnome.org>
7277
7278 Glib::Variant<>: Use gmmproc files so wrapping is not done manually.
7279
7280 * glib/src/glib_functions.defs: Regenerate to get the GVariant
7281 functions.
7282 * glib/src/variant.ccg:
7283 * glib/src/variant.hg:
7284 * glib/src/filelist.am: Add the new .hg and .ccg files and mention
7285 them. Wrapping is now done using gmmproc instead of handwriting the
7286 methods.
7287 * glib/glibmm/variant.cc:
7288 * glib/glibmm/variant.h:
7289 * glib/glibmm/filelist.am: Remove these files and their mentions
7290 because now they are written as .hg and .ccg files.
7291 * glib/src/variant_basictypes.h.m4: Add docs.
7292
7293 2010-06-19 Koop Mast <kwm@freebsd.org>
7294
7295 Restore lost #else block to fix build without __STDC_ISO_10646__
7296
7297 * glib/glibmm/ustring.cc: Add back an #else block that was probably lost
7298 while automatically removing the no-exceptions #if/#else code.
7299
7300 2010-06-18 José Alburquerque <jaalburqu@svn.gnome.org>
7301
7302 Preliminary implementation of Glib::Variant<> classes.
7303
7304 * glib/glibmm/variant.cc:
7305 * glib/glibmm/variant.h:
7306 * glib/src/variant_basictypes.cc.m4:
7307 * glib/src/variant_basictypes.h.m4: Add an initial implementation of
7308 of the Glib::Variant<> classes which wrap glib's GVariant API.
7309
7310 2.25.2:
7311
7312 2010-06-18 Murray Cumming <murrayc@murrayc.com>
7313
7314 Settings: Fix the build with the latest glib.
7315
7316 * gio/src/settingsbackend.[hg|ccg]: Add this interface. Notice the
7317 comment about the semi-private get_type() function.
7318 * gio/src/filelist.am: Mention the new files.
7319 * gio/src/settings.hg: Adapt to the changed glib API, using
7320 a SettingsBackend backend instead of a string context.
7321
7322 2010-06-08 Murray Cumming <murrayc@murrayc.com>
7323
7324 Use GLIBMM_DISABLE_DEPRECATED on StreamIoChannel.
7325
7326 * glib/glibmm/streamiochannel.[h|cc]: Put #ifndef GLIBMM_DISABLE_DEPRECATED
7327 around this long-since-deprecated class.
7328
7329 2010-06-08 Murray Cumming <murrayc@murrayc.com>
7330
7331 Remove a junk line from VolumeMonitor.hg.
7332
7333 * gio/src/volumemonitor.hg: Remove this line because it must have been
7334 an accidental paste or some other confusion:
7335 gboolean (*is_supported) (void);
7336 It is API but not anything anybody ever would have used.
7337
7338 2.25.1:
7339
7340 2010-06-07 Daniel Elstner <danielk@openismus.com>
7341
7342 Do not install the schema of the gsettings example
7343
7344 * examples/Makefile.am: Do not install the schema file of the settings
7345 example to the user's system. Instead, compile the binary shema cache
7346 in a local directory and have the example use that. As a side effect,
7347 this also resolves the "make distcheck" failure when trying to install
7348 the schema.
7349 * examples/settings/settings.cc (main): Do not try to determine the
7350 schema directory from the executable name, as it depends too much on
7351 the libtool setup with the hidden .libs directory being part of the
7352 path name. Requiring the user to change to the example directory is
7353 good enough. Also, initialize the C++ locale on program startup, and
7354 call Gio::init() instead of Glib::init().
7355 (on_key_changed): Call ustring::raw() to suppress the locale-aware
7356 comparison ustring performs by default.
7357
7358 2010-06-06 Murray Cumming <murrayc@murrayc.com>
7359
7360 Documentation: Mention module names in Enums and Flags doxygen groups.
7361
7362 * tools/m4/enum.m4: Add the module name (such as gdkmm or gtkmm) to the
7363 doxygen Enums and Flags groups, to avoid duplicate names appearing in the
7364 Modules list.
7365
7366 2010-06-06 Murray Cumming <murrayc@murrayc.com>
7367
7368 Settings: Fix the build with the latest glib from git master.
7369
7370 * gio/src/gio_methods.defs: Remove extra length parameters, removed from the
7371 C API. This is a generated file, but this change is simple.
7372 * gio/src/settings.[hg|ccg]: get_string_array(), set_string_array():
7373 Remove the length parameter, and just use _WRAP_METHOD() now that it is simple
7374 enough for that.
7375 * tools/m4/convert_gio.m4: Add a necessary conversion.
7376 * glib/src/glib_functions.defs: Remove some bad unused definitions that
7377 were causing annoying warnings.
7378
7379 2010-06-06 Murray Cumming <murrayc@murrayc.com>
7380
7381 Remove default conversion to StringArrayHandle
7382
7383 * tools/m4/convert_gio.m4: Remove a default conversion from char** to
7384 StringArrayHandle, because there can be no good default, because each use
7385 can have different ownership, so it risks hiding an error.
7386 * gio/src/drive.hg:
7387 * gio/src/fileinfo.hg:
7388 * gio/src/filenamecompleter.hg:
7389 * gio/src/volume.hg: Add a local #m4 conversion instead.
7390 One day we will have the new introspection information (with the ownership)
7391 available to gmmproc so we don't need to do this.
7392
7393 2010-06-04 Chris Kühl <blixtra@gmail.com>
7394
7395 Removal of length parameter for g_settings_[gs]et_strv
7396
7397 * gio/src/settings.ccg: Removed length parameter from
7398 get_string_array and set_string_array.
7399
7400 2010-06-04 Murray Cumming <murrayc@murrayc.com>
7401
7402 Avoid compiler warning.
7403
7404 * examples/settings/settings.cc: Comment out an unused paramter to
7405 fix a compiler warning, to partly fix the distcheck.
7406
7407 2010-06-02 José Alburquerque <jaalburqu@svn.gnome.org>
7408
7409 Gio::Settings: [get|set]_strv(): Rename to [get|set]_string_array().
7410
7411 * gio/src/settings.ccg:
7412 * gio/src/settings.hg ([get|set]_strv): Rename to *_string_array()
7413 which is more readable.
7414
7415 2010-06-01 Jonathon Jongsma <jonathon@quotidian.org>
7416
7417 * configure.ac: use GLIB_GSETTINGS
7418 * examples/Makefile.am: fix the settings example to use the new m4
7419 macros shipped with glib. The previous method was breaking 'make
7420 dist'
7421
7422 2010-06-01 Murray Cumming <murrayc@murrayc.com>
7423
7424 Add missing GLIBMM_VFUNCS_ENABLED to avoid breaking existing code.
7425
7426 * glib/glibmmconfig.h.in: Added missing GLIBMM_VFUNCS_ENABLED.
7427
7428 2010-06-01 Murray Cumming <murrayc@murrayc.com>
7429
7430 Gio::Settings: Make get_has_unapplied() const.
7431
7432 * gio/src/settings.hg: get_has_unapplied(): Make this const.
7433
7434 2010-05-31 José Alburquerque <jaalburqu@svn.gnome.org>
7435
7436 Wrapped new glib-2.26 methods.
7437
7438 * configure.ac: Bump the glib requirement up to 2.25.7 because of the
7439 new methods that are wrapped.
7440 * glib/src/glib_docs.xml:
7441 * glib/src/glib_functions.defs: Regenerate to get new methods and the
7442 docs for them.
7443 * glib/src/keyfile.ccg:
7444 * glib/src/keyfile.hg (get_boolean): Added method overload (as other
7445 get_*() methods have).
7446 (get_int64, get_uint64, set_int64, set_uint64):
7447 * glib/src/regex.hg (get_compile_flags, get_match_flags): Wrapped new
7448 methods.
7449 * gio/src/settings.hg:
7450 * gio/src/socket.hg: Add some forgotten _IGNORE's and @newin{}'s.
7451
7452 2010-05-31 Murray Cumming <murrayc@murrayc.com>
7453
7454 Remove the reduced API options and code, as discussed on mailing list.
7455
7456 * configure.ac: Removed the --enable-api-exceptions, --enable-api-properties,
7457 --enable-api-vfuncs and --enable-api-default-signal-handlers options.
7458 * build/reduced.m4: Removed.
7459 * tools/m4/*.m4:
7460 * tools/pm/Output.pm: Remove any use of ifdefs and auto_ptr for reduced API.
7461 * *.[hg|ccg|h|cc]: Remove the idefed code.
7462
7463 2010-05-30 Daniel Elstner <danielk@openismus.com>
7464
7465 Avoid compiler warning in TimeVal::as_double()
7466
7467 * glib/glibmm/timeval.h (TimeVal::as_double): Cast long int operands
7468 to double explicitly, to avoid a conversion warning due to possible
7469 loss of precision. Reported by Alexander Shaduri, GNOME bug #617463.
7470
7471 2010-05-28 José Alburquerque <jaalburqu@svn.gnome.org>
7472
7473 Settings: Add [get|set]_strv().
7474
7475 * gio/src/settings.ccg:
7476 * gio/src/settings.hg: Added [get|set]_strv(). Also added a
7477 get_child() const version. Reordered signal wrappings to reflect the
7478 order of the C API docs.
7479
7480 2010-05-27 José Alburquerque <jaalburqu@svn.gnome.org>
7481
7482 OptionGroup: set_translate_slot(): Rename to set_translate_func().
7483
7484 * glib/src/optiongroup.ccg:
7485 * glib/src/optiongroup.hg set_translate_slot(): Rename to
7486 set_translate_func() which is more like the C API's name.
7487
7488 2010-05-27 José Alburquerque <jaalburqu@svn.gnome.org>
7489
7490 OptionGroup: Add set_translate_slot().
7491
7492 * glib/src/optiongroup.ccg:
7493 * glib/src/optiongroup.hg: Wrap g_option_group_set_translate_func().
7494
7495 2010-05-25 José Alburquerque <jaalburqu@svn.gnome.org>
7496
7497 Add _IGNORE's for g_iconv().
7498
7499 * glib/src/date.hg:
7500 * glib/src/fileutils.hg:
7501 * glib/src/markup.hg:
7502 * glib/src/optionentry.hg:
7503 * glib/src/shell.hg:
7504 * glib/src/spawn.hg:
7505 * glib/src/thread.hg:
7506 * glib/src/unicode.hg:
7507 * glib/src/uriutils.hg: For some reason, gmmproc thinks that g_iconv
7508 should be wrapped in these files so include _IGNORE's so that it is
7509 clear what has not been wrapped yet.
7510
7511 2010-05-25 José Alburquerque <jaalburqu@svn.gnome.org>
7512
7513 Wrap a couple of unwrapped methods.
7514
7515 * gio/src/desktopappinfo.hg: Wrap get_filename().
7516 * glib/src/keyfile.hg: Wrap load_from_dirs().
7517 * glib/src/convert.hg:
7518 * glib/src/valuearray.hg: some _IGNORE()'s.
7519
7520 2010-05-05 José Alburquerque <jaalburqu@svn.gnome.org>
7521
7522 gmmproc: Quote the property docs to avoid losing text after commas.
7523
7524 * tools/pm/Output.pm: Quote the property docs for the _PROPERTY_PROXY
7525 macros by first changing the quotes, quoting the docs and then
7526 changing the quotes back. This avoids losing the contents after
7527 possible commas in property docs. (Using the standard m4 quotes
7528 leaves trailing single quotes for some reason).
7529
7530 Fixes Bug #603930 (Jonatan Olofsson).
7531
7532 2010-05-03 Murray Cumming <murrayc@murrayc-x61>
7533
7534 Documentation: Add more links to main page, and mention giomm.
7535
7536 * glib/glibmm.h: Add more doxggen links to groups and classes, based on
7537 http://www.gtkmm.org/documentation.shtml and a look at the classes list.
7538 Mention giomm features and add giomm to the pkg-config calls and mention
7539 giomm.h
7540
7541 2010-04-29 José Alburquerque <jaalburqu@svn.gnome.org>
7542
7543 gio_docs.xml: Regenerate with the new doc extraction tool.
7544
7545 * gio/src/gio_docs.xml: Regenerate docs with the latest
7546 docextract_to_xml.py in pygobject to get better docs in general.
7547
7548 2010-04-27 David King <davidk@openismus.com>
7549
7550 Further changes to main page documentation
7551
7552 * glib/glibmm.h: Some minor changes to the main page documentation.
7553
7554 2010-04-23 David King <davidk@openismus.com>
7555
7556 Improvements to main page documentation
7557
7558 * glib/glibmm.h: Add external links and compilation example.
7559
7560 2010-04-22 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
7561
7562 * configure.ac: require glib 2.25.1 for GSettings
7563
7564 2010-04-17 Alex Vallée <alex@alexvallee.com>
7565
7566 Wrap function g_listenv().
7567
7568 * glib/glibmm/miscutils.[h|cc]: Add wrap function Glib::listenv(). Fixes
7569 bug #578355.
7570
7571 2010-04-21 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
7572
7573 * .gitignore:
7574 * examples/Makefile.am:
7575 * examples/settings/org.gtkmm.demo.gschema.xml: Added.
7576 * examples/settings/settings.cc: Added.
7577 * gio/giomm.h: include settings header here
7578 Add a basic Gio::Settings example
7579
7580 2010-04-20 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
7581
7582 * gio/src/filelist.am:
7583 * gio/src/gio_signals.defs:
7584 * gio/src/settings.ccg: Added.
7585 * gio/src/settings.hg: Added.
7586 * tools/extra_defs_gen/generate_defs_gio.cc:
7587 * tools/m4/convert_gio.m4: Initial implementation of Gio::Settings
7588
7589 2010-04-20 Jonathon Jongsma <jonathon@quotidian.org>
7590
7591 * gio/src/gio_docs.xml
7592 * gio/src/gio_enums.defs
7593 * gio/src/gio_methods.defs: re-generate defs to start wrapping
7594 GSettings stuff
7595
7596 2010-04-16 David King <davidk@openismus.com>
7597
7598 Add main page to Doxygen documentation
7599
7600 * docs/Makefile.am: Parse glib/glibmm.h for documentation.
7601 * glib/glibmm.h: Add main page to Doxygen documentation.
7602
7603 2.24.1:
7604
7605 2010-04-13 José Alburquerque <jaalburqu@svn.gnome.org>
7606
7607 One more regeneration of docs to avoid gmmproc parsing errors.
7608
7609 * gio/src/gio_docs.xml:
7610 * glib/src/glib_docs.xml: Regenerated with a fixed
7611 docextract_to_xml.py script to avoid parsing errors by &...;
7612 expressions that gmmproc does not understand.
7613
7614 2010-04-12 Armin Burgmeier <armin@arbur.net>
7615
7616 * examples/compose/main.cc: Don't use ustring::format with std::fixed
7617 with MSVC 2005 or below (see #599340).
7618
7619 * MSVC_Net2005/examples/compose/compose.vcproj:
7620 * MSVC_Net2005/glibmm.sln:
7621 * MSVC_Net2008/examples/compose/compose.vcproj:
7622 * MSVC_Net2008/glibmm.sln: Added the compose example for both MSVC
7623 versions.
7624
7625 2010-04-12 Alex Vallee <avallee@hotmail.com>
7626
7627 UnixOutputStream: Fix the constructor to use the correct property name.
7628
7629 * gio/src/unixoutputstream.hg: Correct the constructor parameter name
7630 used in the _WRAP_CTOR() call. We had already fixed the property name
7631 but had forgotten to fix this, which affects the generated implementation.
7632 Fixes bug #615482
7633
7634 2010-04-11 José Alburquerque <jaalburqu@svn.gnome.org>
7635
7636 Regenerate docs with the new docextract_to_xml.py script.
7637
7638 * gio/src/gio_docs.xml:
7639 * glib/src/glib_docs.xml: Regenerated with the new documentation
7640 extraction script to take advantage of the new generation method it
7641 uses.
7642
7643 2010-04-02 Armin Burgmeier <armin@arbur.net>
7644
7645 * examples/network/resolver.cc:
7646 * examples/network/socket-client.cc: Fix the build with MSVC.
7647
7648 * glib/glibmmconfig.h.in: Enable GLIBMM_HAVE_WIDE_STREAM with MSVC.
7649
7650 * tools/extra_defs_gen/generate_defs_gio.cc: Fix the Windows build by
7651 ifdefing-out G_TYPE_UNIX_CONNECTION.
7652
7653 * MSVC_Net2005/giomm/giomm.vcproj:
7654 * MSVC_Net2005/glibmm/glibmm.vcproj:
7655 * MSVC_Net2008/giomm/giomm.vcproj:
7656 * MSVC_Net2008/glibmm/glibmm.vcproj: Added new source and header files
7657 to the Visual Studio projects.
7658
7659 * MSVC_Net2005/examples/resolver/resolver.vcproj:
7660 * MSVC_Net2005/examples/socket-client/socket-client.vcproj:
7661 * MSVC_Net2005/examples/socket-server/socket-server.vcproj:
7662 * MSVC_Net2005/glibmm.sln:
7663 * MSVC_Net2005/filelist.am:
7664 * MSVC_Net2008/examples/resolver/resolver.vcproj:
7665 * MSVC_Net2008/examples/socket-client/socket-client.vcproj:
7666 * MSVC_Net2008/examples/socket-server/socket-server.vcproj:
7667 * MSVC_Net2008/glibmm.sln:
7668 * MSVC_Net2008/filelist.am: Added the new examples to the projects.
7669
7670 2.24.0:
7671
7672 Updated configure and NEWS for the stable release.
7673
7674 2.23.4:
7675
7676 2009-03-26 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
7677
7678 Gio::File: Add TypeTraits to fix Gtk::FileChooser::get_files() in gtkmm.
7679
7680 * gio/src/file.hg: add TypeTraits to allow concrete implementations
7681 of GFile to be wrapped properly. For example, this fix allows
7682 Gtk::FileChooser::get_files() to work properly (Fixes #590940)
7683
7684 2010-03-26 Murray Cumming <murrayc@murrayc.com>
7685
7686 Add regression test for Bug #613250.
7687
7688 * tests/Makefile.am
7689 * tests/glibmm_ustring_format/main.cc: Added a regression test for the
7690 previously-commited fix, based on code in bug #613250 from Debarshi Ray.
7691
7692 2010-03-20 Debarshi Ray <debarshir@src.gnome.org>
7693
7694 Bug #613250 - Overload Glib::ustring::FormatStream::stream for char *.
7695
7696 * glib/glibmm/ustring.[h|cc]: Add a FormatStream::stream(char*) override
7697 because otherwise the templated stream() is called, which results in
7698 corrupted data.
7699
7700 2010-03-24 Murray Cumming <murrayc@murrayc.com>
7701
7702 ThemedIcon: Added get_names().
7703
7704 * gio/src/themedicon.[hg|ccg]: Add get_names() manually because we have
7705 a strange error when trying to use _WRAP_METHOD() for it.
7706 Bug #612584 (Markus Schwab)
7707
7708 2010-03-23 Alexey Kosilin <kosilin@gmail.com>
7709
7710 MemoryInputStream: Correct data loss/corruption with binary data.
7711
7712 * gio/src/memoryinputstream.ccg: add_data(): Use g_memdup() instead of
7713 g_strdup() on data that could have a null in the middle.
7714 Bug #609552 (Holger Seelig)
7715
7716 2010-03-15 José Alburquerque <jaalburqu@svn.gnome.org>
7717
7718 Revert accidentally pushed commits.
7719
7720 * ChangeLog-ValueArrayTest:
7721 * ChangeLog.local:
7722 * tests/glibmm_valuearray/main.cc:
7723 * tools/docextract_to_xml.pl: Revert accidentally pushed commits which
7724 should be pushed with bugs that were filed.
7725
7726 2010-03-15 José Alburquerque <jaalburqu@svn.gnome.org>
7727
7728 Regenerate defs files.
7729
7730 * gio/src/gio_enums.defs:
7731 * gio/src/gio_methods.defs:
7732 * glib/src/glib_enums.defs:
7733 * glib/src/glib_functions.defs:
7734 * glib/src/gmodule_enums.defs:
7735 * glib/src/gmodule_functions.defs:
7736 * glib/src/gobject_enums.defs:
7737 * glib/src/gobject_functions.defs: Regenerate defs file, particularly
7738 the enum defs file with the new enum generation tool.
7739
7740 2010-03-10 David King <davidk@openismus.com>
7741
7742 Reorder assignment to LDADD and giomm_ldadd in tests/Makefile.am
7743
7744 * tests/Makefile.am: Reorder values assigned to LDADD and
7745 giomm_ldadd to place built libraries before system libraries.
7746 Fixes GNOME bug #610854.
7747
7748 2.23.3:
7749
7750 2010-03-08 Krzesimir Nowak <qdlacz@gmail.com>
7751
7752 Updated enum.pl script.
7753
7754 * tools/enum.pl: Updated to work with `use strict' and
7755 `use warnings', prints original enums in comments above every enum
7756 defs, added --omit-deprecated (just omits everything deprecated)
7757 option, handles most of enums and flags (especially flags!)
7758 properly, generates proper nicks for enums with one value, prints
7759 warnings to stderr about several stuff, uses some primitive
7760 heuristics to detect whether an enum is enum or flags. It is
7761 a better hack, but still a hack.
7762
7763 2010-01-28 Murray Cumming <murrayc@murrayc.com>
7764
7765 AsyncResult: Add get_source_object_base(), deprecating get_source_object().
7766
7767 * gio/asyncresult.[hg|ccg]: Deprecate get_source_object(), replacing it
7768 with get_source_object_base(), because in giomm, the C++ wrapper object
7769 might be a Glib::Interface, but not a Glib::Object (though the underlying
7770 C instance must be a GObject). This happens if giomm does not know about
7771 the GType of the underlying C Object, which is a legitimate situation.
7772 * tests/giomm_asyncresult_sourceobject/main.cc: Added this test case
7773 from Michael Hasselmann, from bug #608269.
7774
7775 2010-03-08 Murray Cumming <murrayc@murrayc.com>
7776
7777 Regenerated more .defs.
7778
7779 * gio/src/gio_enums.defs:
7780 * glib/src/glib_enums.defs: Regenerated with enums.pl
7781 * gio/src/gio_methods.defs: Regenerated with h2defs.py
7782
7783 2010-03-08 Murray Cumming <murrayc@murrayc.com>
7784
7785 * glib/src/glib_functions.defs: Regenerated with h2defs.py.
7786
7787 2010-03-08 Debarshi Ray <debarshi.ray@gmail.com>
7788
7789 Bug #611521 - Free Gio::SlotFileProgress (and friends) at completion
7790
7791 * gio/src/file.ccg:
7792 The Gio::SlotFileProgress slots (and their friends) used in operations like
7793 Gio::File::copy, Gio::File::copy_async and Gio::File::move should not freed
7794 when their C callbacks are invoked for the first time. Instead they should be
7795 freed after the operation has completed.
7796
7797 2010-02-27 Daniel Elstner <daniel.kitta@gmail.com>
7798
7799 Avoid compiler warning in resolver example
7800
7801 * examples/network/resolver.cc (interrupted): Check the return value
7802 of the write() call to avoid a warning from GCC. Save and restore
7803 the value of errno to make the signal handler reentrant. Get rid of
7804 the signal() call to re-establish the default handler, as there is
7805 not much of a point in doing so for this handler.
7806 (main): Create the pipe before installing the signal handler.
7807
7808 2010-02-22 Michael <space3000@gmail.com>
7809
7810 Gio::MemoryInputStream::add_data(): Minor documentation fix.
7811
7812 * gio/src/memoryinputstream.hg: Move a deprecation warning to the
7813 correct method overload.
7814
7815 2010-02-06 Murray Cumming <murrayc@murrayc.com>
7816
7817 IOStream: get_input_stream(), get_output_stream(): Fix reference counting.
7818
7819 * gio/src/iostream.hg: get_input_stream(), get_output_stream(): Use refreturn
7820 to avoid a crash as mentioned in bug #607554.
7821
7822 2010-02-06 Murray Cumming <murrayc@murrayc.com>
7823
7824 MemoryOutputStream: Add properties.
7825
7826 * gio/src/gio_signals.defs: Regenerated.
7827 * gio/src/memoryoutputstream.hg: Add properties, as suggesed in bug #605710.
7828
7829 2010-02-06 Krzysztof Kosiński <tweenk.pl@gmail.com>
7830
7831 MemoryOutputStream: Fix the constructor.
7832
7833 * gio/src/memoryoutputstream.hg: Constructor and create(): Rename the len
7834 parameter to size, to match the properties, so the constructor works.
7835 Bug #605710
7836
7837 2.23.2:
7838
7839 2010-02-05 Murray Cumming <murrayc@murrayc.com>
7840
7841 UnixInputStream: Fix the constructor.
7842
7843 * gio/src/unixinputstream.hg: Constructor and create(): Rename the
7844 close_fd_at_close parameter to close_fd to match the properties (and the
7845 C function), so our constructor works.
7846 Bug #608665 (Matt Marsh)
7847
7848 2010-01-29 Murray Cumming <murrayc@murrayc-desktop>
7849
7850 Regenerated method .defs. Added a Resolver signal.
7851
7852 * gio/src/gio_enums.defs: Removed GSocketMsgFlags because it contained
7853 an #error and the values are non-numeric anyway.
7854 * gio/src/gio_methods.defs: Regenerated with h2defs.py
7855 * glib/src/glib_functions.defs: Regenerated with h2defs.py, removing
7856 badly-generated ones that try to mention function pointers.
7857 * gio/src/resolver.hg: Added reload signal.
7858
7859 2010-01-29 Murray Cumming <murrayc@murrayc.com>
7860
7861 Use 0 instead of NULL.
7862
7863 * gio/src/*.ccg
7864 * glib/src/*.ccg: Use 0 instead of NULL because this is C++ where
7865 NULL is generally not a good idea. I didn't see any places where it
7866 was a real problem though.
7867
7868 2010-01-29 Murray Cumming <murrayc@murrayc.com>
7869
7870 Use Glib::unwrap() instead of ->gobj(),
7871
7872 * gio/src/*.ccg: Use Glib::unwrap() instead of ->gobj(), so we don't
7873 crash if people pass in null RefPtr<>s, which they might do by
7874 accident, or if we have not wrapped all the may-be-null cases as
7875 method overrides.
7876
7877 2010-01-29 Murray Cumming <murrayc@murrayc.com>
7878
7879 File: Added has_parent() and supports_thread_contexts().
7880
7881 * gio/src/file.[hg|ccg]: Added has_parent(), supports_thread_contexts().
7882
7883 2010-01-28 Murray Cumming <murrayc@murrayc.com>
7884
7885 File: Added start_mountable(), stop_mountable(), poll_mountable().
7886
7887 * gio/src/drive.[hg|ccg]:
7888 * gio/src/mount.hg:
7889 * gio/src/volume.hg: Change some includes to allow file.h to include
7890 more.
7891 * gio/src/file.[hg|ccg]: Added start_mountable(), stop_mountable(),
7892 poll_mountable() and the *_finish() methods. The awful documenation
7893 will be improved when I have improved it (tomorrow) for the C functions.
7894
7895 2010-01-28 Murray Cumming <murrayc@murrayc.com>
7896
7897 * gio/src/file.hg: Correct/Add newin2p* doxygen comments.
7898
7899 2010-01-28 Murray Cumming <murrayc@murrayc.com>
7900
7901 File: Added create_file_readwrite() and creat_file_readwrite_async().
7902
7903 * gio/src/file.[hg|ccg]: Added create_file_readwrite(),
7904 create_file_readwrite_async() and create_file_readwrite_finish().
7905
7906 2010-01-28 Murray Cumming <murrayc@murrayc.com>
7907
7908 File: unmount_mountable(), eject_mountable(): Add overrides with MountOperation.
7909
7910 * gio/src/file.[hg|ccg]: unmount_mountable(), eject_mountable():
7911 Reimplement these with the new *_with_operation functions.
7912 Undeprecate them - that should not have happened without replacements.
7913 Added unmount_mountable() and eject_mountable() overrides with
7914 MountOperation parameters. Unfortunately there are now 6 of each.
7915
7916 2010-01-28 Murray Cumming <murrayc@murrayc.com>
7917
7918 File, Cancellable: Added some new methods.
7919
7920 * gio/src/cancellable.hg: Added release_fd() and make_polldf().
7921 * gio/src/file.[hg|ccg]: Added open_readwrite(), open_readwrite_async()
7922 and finish_readwrite().
7923 Added replace_readwrite(), replace_readwrite_async() and
7924 finish_replace_readwrite().
7925 * tools/m4/convert_gio.m4:Added conversion for FileIOStream.
7926 * glib/src/glib_enums.defs: Fix an #error that enum.pl has put there
7927 for some reason.
7928
7929 Missing ChangeLog entry from Alexander Shaduri: (Committed by Jonathan Jongsma)
7930 2010-01-06 Bug #594173 - NodeTree::get_root() violates const-correctness
7931
7932 Missing ChangeLog entry from Krzesimir Nowak: (Committed by Jonathan Jongsma)
7933 2010-01-06 Bug #606100 - Fix wrapping properties.
7934
7935 Missing ChangeLog entries from Jonathan Jongsma:
7936 2010-01-06 Bug #606146 - Relax the glib requirement
7937 2010-01-06 Rename btree.* to balancedtree.*
7938 2010-01-06 Fix up some formatting issues for BalancedTree
7939
7940 Missing ChangeLog entries from Szilárd Pfeiffer: (Committed by Jonathan Jongsma)
7941 2010-01-06 Implement GTree wrapper
7942 2010-01-06 Implemented reference counting for BalancedTree.
7943 2010-01-06 Fixed several bugs of balanced binary tree wrapper.
7944
7945 2.23.1:
7946
7947 2010-01-05 Daniel Elstner <daniel.kitta@gmail.com>
7948
7949 Fine-tune Doxygen configuration to improve output
7950
7951 * docs/reference/Doxyfile.in (SHOW_INCLUDE_FILES): Enable option, as
7952 it looks better than SHOW_USED_FILES and can be adjusted by means of
7953 the @headerfile command.
7954 (SHOW_USED_FILES): Disable.
7955 (ALPHABETICAL_INDEX): Enable alphabetical class index.
7956 (PREDEFINED): Predefine G_GNUC_INTERNAL in anticipation of explicit
7957 symbol visibility attributes.
7958 (CLASS_DIAGRAMS): Enable to get class inheritance graphs without any
7959 of the other graph options.
7960 (DOT_FONTNAME): Change to Sans to avoid the bad hinting for FreeSans
7961 at least on my system, which resulted in blurry graph labels.
7962 (COLLABORATION_GRAPH), (GROUP_GRAPHS), (TEMPLATE_RELATIONS): Disable
7963 additional graphs to reduce the noise.
7964
7965 Missing ChangeLog entries from Jonathan Jongsma:
7966 2010-01-04 A bunch of minor doxygen cleanups around the tree
7967 2010-01-04 wrap g_socket_connection_factory_create_connection()
7968 2010-01-04 Add non-cancellable versions of a bunch of SocketClient functions
7969
7970 2.23.0:
7971
7972 2009-12-16 Armin Burgmeier <armin@arbur.net>
7973
7974 * gio/giomm.h: Don't include files on Windows that are not available
7975 on that platform.
7976
7977 2009-12-03 José Alburquerque <jaalburqu@svn.gnome.org>
7978
7979 Make build successful when exceptions, vfuncs, etc. are disabled.
7980
7981 * gio/src/iostream.hg (close): Include a definition for when
7982 exceptions are disabled.
7983 * glib/src/keyfile.ccg: Correct some typos related to exceptions
7984 disabled.
7985 * gio/src/socket.ccg:
7986 * gio/src/socket.hg: Included definitions and code for when
7987 exceptions are disabled.
7988 * gio/src/resolver.ccg (hostname_to_ascii):
7989 (hostname_to_unicode): Included returns to avoid warnings.
7990
7991 2009-10-23 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
7992
7993 Re-enable Network IO stuff (Socket, Resolver, etc)
7994
7995 * .gitignore:
7996 * examples/Makefile.am:
7997 * examples/network/resolver.cc: Ported example from glib
7998 * examples/network_io/resolve.cc: Removed.
7999 * gio/giomm.h: Add network headers
8000 * gio/src/error.hg: Add ResolverError
8001 * gio/src/inetaddress.ccg:
8002 * gio/src/inetaddress.hg: Fix broken constructor
8003 * gio/src/resolver.ccg:
8004 * gio/src/resolver.hg: Added a few missing free functions
8005
8006 2009-11-23 Murray Cumming <murrayc@murrayc.com>
8007
8008 Regex: Slight documentation improvement.
8009
8010 * tools/m4/class_opaque_refcounted.m4: refererence()/unreference():
8011 Use the same doxygen comments as on ObjectBase::reference/unreference()
8012 so this shows up, for instance, on Glib::Regex.
8013
8014 2009-10-22 Armin Burgmeier <armin@arbur.net>
8015
8016 * MSVC_Net2005/giomm/giomm.vcproj:
8017 * MSVC_Net2005/glibmm/glibmm.vcproj:
8018 * MSVC_Net2008/giomm/giomm.vcproj:
8019 * MSVC_Net2008/glibmm/glibmm.vcproj: Added new files in 2.22 to the
8020 projects.
8021
8022 * MSVC_Net2005/examples/keyfile/keyfile.vcproj:
8023 * MSVC_Net2005/examples/properties/properties.vcproj:
8024 * MSVC_Net2005/examples/regex/regex.vcproj:
8025 * MSVC_Net2008/examples/keyfile/keyfile.vcproj:
8026 * MSVC_Net2008/examples/properties/properties.vcproj:
8027 * MSVC_Net2008/examples/regex/regex.vcproj: Added projects for these
8028 examples.
8029
8030 * MSVC_Net2005/glibmm.sln:
8031 * MSVC_Net2008/glibmm.sln:
8032 * MSVC_Net2005/filelist.am:
8033 * MSVC_Net2008/filelist.am: Added the new projects.
8034
8035 2009-09-21 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
8036
8037 * NEWS:
8038 * configure.ac: update for 2.22.1 release
8039
8040 2009-09-21 Daniel Elstner <danielk@openismus.com>
8041
8042 Fix KeyFile build with exceptions disabled
8043
8044 * glib/src/keyfile.hg (Glib::KeyFile): Correct repeated syntax
8045 error in the code that is built when GLIBMM_EXCEPTIONS_ENABLED
8046 is not defined. Also remove the bogus default argument values
8047 appearing in the middle of the argument list.
8048
8049 2009-09-21 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
8050
8051 * NEWS:
8052 * configure.ac: update for 2.22.0 release
8053
8054 2009-09-19 Daniel Elstner <daniel.kitta@gmail.com>
8055
8056 Support Automake silent rules
8057
8058 * configure.ac: Call the AM_SILENT_RULES macro if it is defined.
8059 (AM_INIT_AUTOMAKE): Add check-news option.
8060 * glib/src/Makefile.am: Prefix the M4 command line with $(AM_V_GEN)
8061 in order to support the silent rules feature of Automake.
8062
8063 2009-09-17 Daniel Elstner <danielk@openismus.com>
8064
8065 Do not complain about missing docs_override.xml
8066
8067 * tools/pm/DocsParser.pm (read_defs): Print error messages to
8068 standard error. Do not complain if the docs_override.xml file
8069 is missing, since it is no longer necessary.
8070
8071 2009-09-13 Daniel Elstner <daniel.kitta@gmail.com>
8072
8073 Enable verbose output of autoreconf
8074
8075 * autogen.sh: Pass --verbose option to autoreconf.
8076
8077 2009-09-11 Daniel Elstner <danielk@openismus.com>
8078
8079 Correctly quote the extracted comment for M4
8080
8081 * tools/pm/WrapParser.pm (extract_preceding_documentation): Add M4
8082 quotes around the extracted comment, since it may contain sequences
8083 of end-quote + macro + start-quote.
8084
8085 2009-09-11 Daniel Elstner <danielk@openismus.com>
8086
8087 Slightly clean up gross Perl code in gmmproc.in
8088
8089 * tools/gmmproc.in: Try not to abuse Perl too much, and get rid of
8090 the 'no warnings' hammer.
8091
8092 2009-09-10 Daniel Elstner <danielk@openismus.com>
8093
8094 Allow the C documentation to be overridden
8095
8096 * tools/pm/WrapParser.pm (extract_preceding_documentation): Factor
8097 the code from on_wrap_enum() to extract a preceding comment block
8098 into a separate subroutine.
8099 (on_wrap_method): Invoke extract_preceding_documentation() to
8100 extract a preceding Doxygen comment, and if one was found allow
8101 it to override the inherited C documentation.
8102
8103 2009-09-10 Daniel Elstner <danielk@openismus.com>
8104
8105 Fix broken test for empty _WRAP_METHOD argument
8106
8107 * tools/pm/DocsParser.pm: Escape variable values substituted into
8108 regular expressions.
8109 * tools/pm/Output.pm (output_wrap_property): Transliterate using
8110 tr/// instead of s///g.
8111 * tools/pm/WrapParser.pm: Correct a number of worst offenders among
8112 all the bad Perl code.
8113 (on_wrap_{ctor,method,corba_method}): Instead of testing whether
8114 the prototype argument does not consist solely of non-whitespace
8115 characters, actually do what the accompanying comment claimed and
8116 test whether the argument is empty or consists only of whitespace.
8117 The only reason this age-old bug was never triggered is that there
8118 is always at least one whitespace character in a prototype, namely
8119 between the return type and the function name. The only exception
8120 would be the default constructor, which however just so happens to
8121 have its own special _CTOR_DEFAULT macro.
8122 In a nutshell, the bug itself was broken and failed to properly
8123 break things.
8124
8125 2009-09-10 Daniel Elstner <danielk@openismus.com>
8126
8127 Re-enable input file line markers in gmmproc
8128
8129 * tools/pm/WrapParser.pm: Replace hairy uses of scalar(@array)
8130 to get the number of array elements by $#array, which returns
8131 the index of the last element.
8132 (read_file): Re-enable the commented
8133 code which used to insert input file and line information into
8134 the token list.
8135 (parse_and_build_output): Use a simple regular expression to
8136 match the start of a string instead of messing with substr().
8137
8138 2009-09-08 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
8139
8140 * examples/Makefile.am:
8141 * gio/giomm.h:
8142 * gio/src/filelist.am: disable more network io stuff that was
8143 causing distcheck to fail
8144
8145 2009-09-08 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
8146
8147 * NEWS: update for release
8148 * configure.ac: increment version to 2.21.5
8149
8150 2009-09-08 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
8151
8152 * gio/src/filelist.am: disable network IO stuff for now since it's
8153 too close to the stable release and we don't want to have unfinished
8154 API that isn't well-tested.
8155
8156 2009-09-08 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
8157
8158 * gio/src/inetaddress.hg:
8159 * gio/src/networkaddress.hg:
8160 * gio/src/networkservice.hg:
8161 * gio/src/resolver.hg:
8162 * gio/src/socket.hg:
8163 * gio/src/socketaddress.hg:
8164 * gio/src/socketaddressenumerator.hg:
8165 * gio/src/socketconnectable.hg:
8166 * gio/src/srvtarget.hg: add all network io classes to a new doxygen
8167 NetworkIO module
8168
8169 2009-09-08 Daniel Elstner <danielk@openismus.com>
8170
8171 Implement Gio::Socket ctors using Gio::Initable
8172
8173 * gio/src/gio_vfuncs.defs: Add GInitableClass::init() vfunc.
8174 * gio/src/initable.{ccg,hg} (Initable::init): Use _WRAP_METHOD().
8175 (Initable::init_vfunc): Wrap GInitableClass::init() vfunc.
8176 * gio/src/socket.{ccg,hg} (Socket::Socket): Wrap constructors
8177 manually. Call Initable::init() from the constructor body.
8178 (Socket::create), (Socket::create_from_fd): Forward to constructors.
8179 * tools/m4/convert_gio.m4: Add conversion from GCancellable* to
8180 const Glib::RefPtr<Cancellable>&.
8181
8182 2009-09-07 Daniel Elstner <danielk@openismus.com>
8183
8184 Officially deprecate GLIBMM_CHECK_PERL macro
8185
8186 * build/glibmm_check_perl.m4 (GLIBMM_CV_PERL_VERSION): Define with
8187 m4_define() so that the macro is only visible internally.
8188 (GLIBMM_CHECK_PERL): Define as deprecated macro using AU_DEFUN().
8189
8190 2009-09-03 Daniel Elstner <danielk@openismus.com>
8191
8192 Sanitize the Glib::Cond usage example
8193
8194 * glib/src/thread.hg (Glib::Cond): Sanitize the usage example.
8195
8196 2009-09-02 Daniel Elstner <danielk@openismus.com>
8197
8198 Remove sigc from the Doxygen excluded symbols
8199
8200 * docs/reference/Doxyfile.in (EXCLUDE_SYMBOLS): Stop excluding
8201 the sigc namespace from the documentation since it apparently
8202 also removes the links to external documentation. Also, with
8203 the latest changes in libsigc++ it seems no longer necessary to
8204 suppress the symbol.
8205
8206 2009-09-01 Daniel Elstner <daniel.kitta@gmail.com>
8207
8208 Increment version to glibmm 2.21.4.2
8209
8210 * configure.ac (AC_INIT): Increment version to 2.21.4.2.
8211 * NEWS: Write news entry for glibmm 2.21.4.2 release.
8212
8213 2009-09-01 Daniel Elstner <daniel.kitta@gmail.com>
8214
8215 Update Doxygen configuration for Doxygen 1.6.1
8216
8217 * docs/reference/Doxyfile.in: Update configuration template using
8218 Doxygen 1.6.1.
8219 (SORT_MEMBERS_CTORS_1ST): Enable.
8220
8221 2009-09-01 Daniel Elstner <daniel.kitta@gmail.com>
8222
8223 Always build tools/ subdirectory (bgo #593518)
8224
8225 * Makefile.am (SUBDIRS): Unconditionally recurse into the tools/
8226 subdirectory, rather than only in maintainer-mode. Otherwise, the
8227 code generator support files located there would not be installed
8228 when building a tarball of glibmm.
8229
8230 2009-08-28 Daniel Elstner <danielk@openismus.com>
8231
8232 Increment version to glibmm 2.21.4.1
8233
8234 * configure.ac (AC_INIT): Increment version to 2.21.4.1.
8235 * NEWS: Write news entry for glibmm 2.21.4.1 release.
8236
8237 2009-08-28 Daniel Elstner <danielk@openismus.com>
8238
8239 Use shared mm-common Doxygen style sheet
8240
8241 * configure.ac (MM_PREREQ): Require mm-common 0.7.
8242 * docs/Makefile.am (dist_doctool_DATA): List doxygen.css.
8243 * docs/reference/Doxyfile.in (HTML_STYLESHEET): Assign path
8244 to the shared doxygen.css provided by mm-common.
8245
8246 2009-08-28 Daniel Elstner <danielk@openismus.com>
8247
8248 Remove header and footer HTML fragments
8249
8250 * docs/reference/glibmm_{header,footer}.html_fragment: Delete
8251 files. These custom fragments were an unnecessary maintenance
8252 hassle. Also, the files were out of date with respect to the
8253 encoding and CSS classes used by Doxygen.
8254 * docs/reference/Doxyfile.in (HTML_HEADER), (HTML_FOOTER): Set
8255 to the empty string.
8256 (PROJECT_NUMBER): Substitute @PACKAGE_VERSION@. It does look
8257 nicer in the generated HTML pages, and is probably also less
8258 confusing.
8259 (SORT_GROUP_NAMES): Enable for predictability.
8260 * docs/Makefile.am (dist_noinst_DATA): Remove deleted HTML
8261 fragment files.
8262
8263 2009-08-26 Daniel Elstner <danielk@openismus.com>
8264
8265 Reenable hierarchy graphs for each class
8266
8267 * docs/reference/Doxyfile.in (COLLABORATION_GRAPH): Set option
8268 to YES to enable the per-class inheritance graphs.
8269
8270 2.21.4:
8271
8272 2009-08-25 Jonathon Jongsma <jonathon@quotidian.org>
8273
8274 * NEWS:
8275 * configure.ac: update for 2.21.4
8276
8277 2009-08-25 Daniel Elstner <danielk@openismus.com>
8278
8279 Change documentation host to library.gnome.org
8280
8281 * docs/Makefile.am (htmlrefpub): Remove override and use the
8282 updated mm-common default value.
8283 * docs/reference/glibmm_header.html_fragment: Adjust links to
8284 the main page and the gtkmm book.
8285 * {glib,gio}/{glib,gio}mm{,-uninstalled}.pc.in (htmlrefpub):
8286 Adjust variable values.
8287 * configure.ac (MM_PREREQ): Require mm-common 0.6.1.
8288
8289 2009-08-24 Daniel Elstner <danielk@openismus.com>
8290
8291 Strip directory from filenames in enum.pl output
8292
8293 * tools/enum.pl: Use File::Spec module. Reduce the backslashitis
8294 in a number of regular expressions by replacing the slash used as
8295 the delimiter with a less troublesome character.
8296 (parse): Only print the basename component of the filename.
8297 (process): Put \Q...\E quoting escapes around a variable reference
8298 within a regular expression to protect meta-characters.
8299
8300 2009-08-21 Daniel Elstner <danielk@openismus.com>
8301
8302 Deprecate wrapper methods of deprecated functions
8303
8304 * gio/src/file.{ccg,hg} (File::{eject,unmount}_mountable*),
8305 gio/src/volumemonitor.hg (VolumeMonitor::adopt_orphan_mount):
8306 Enclose within deprecation guards since the corresponding C API
8307 functions have been deprecated in API version 2.22 of GIO.
8308 Insert #undef G_DISABLE_DEPRECATED at the top of the source files
8309 so that giomm builds again at warning level fatal.
8310
8311 2009-08-21 Daniel Elstner <danielk@openismus.com>
8312
8313 Move #undef G_DISABLE_DEPRECATED out of header
8314
8315 * glib/src/date.hg: Push the #undef G_DISABLE_DEPRECATED into the
8316 new SECTION_CC_PRE_INCLUDES rather than the public header file.
8317
8318 2009-08-21 Daniel Elstner <danielk@openismus.com>
8319
8320 Add SECTION_CC_PRE_INCLUDES section to gmmproc
8321
8322 * tools/m4/base.m4: Define new SECTION_CC_PRE_INCLUDES and import
8323 it at the top of the generated source file. This new section can
8324 be used to insert custom code at the beginning of the translation
8325 unit as seen by the compiler.
8326
8327 2009-08-21 Daniel Elstner <danielk@openismus.com>
8328
8329 Use mm-common macro for --disable-deprecated-api
8330
8331 * configure.ac: Replace GLIBMM_ARG_ENABLE_API_DEPRECATED() with
8332 the new MM_ARG_DISABLE_DEPRECATED_API() macro from mm-common.
8333 (MM_PREREQ): Raise requirement to mm-common 0.6.
8334 * build/reduced.m4 (GLIBMM_ARG_ENABLE_API_DEPRECATED): Remove
8335 obsolete macro definition.
8336 * glib/glibmmconfig.h.in (GLIBMM_DISABLE_DEPRECATED): Copy #undef
8337 statement from config.h.in template.
8338 * gio/giommconfig.h.in (GIOMM_DISABLE_DEPRECATED): ditto.
8339
8340 2009-08-21 Daniel Elstner <danielk@openismus.com>
8341
8342 Insist on working Perl in maintainer mode
8343
8344 * configure.ac: Call MM_CHECK_PERL in maintainer mode in order
8345 to verify early that the Perl interpreter is working.
8346
8347 2009-08-20 Daniel Elstner <danielk@openismus.com>
8348
8349 Rename @since back to @newin
8350
8351 * docs/reference/Doxyfile.in (ALIASES): Rename the @since alias
8352 back to its old name @newin, but otherwise keep the parameters.
8353 Apparently there is a @since command predefined in Doxygen which
8354 I hadn't noticed. It does seem to get overridden silently, but
8355 it is better not to rely on this.
8356 * tools/pm/DocsParser.pm (convert_tags_to_doxygen): Output @newin
8357 instead of @since.
8358 * {glib,gio}/src/*.hg, {glib,gio}/{glib,gio}mm/*.h: Replace all
8359 uses of @since with @newin.
8360
8361 2009-08-20 Daniel Elstner <danielk@openismus.com>
8362
8363 Predefine GIOMM_API for Doxygen
8364
8365 * docs/reference/Doxyfile.in (PREDEFINED): Define GIOMM_API to the
8366 empty expansion, so that it won't show up in the documentation.
8367
8368 2009-08-20 Daniel Elstner <danielk@openismus.com>
8369
8370 Substitute API version in filenames dynamically
8371
8372 * glib/glibmm.pc.in: Rename file from glib/glibmm-2.4.pc.in.
8373 * glib/glibmm-uninstalled.pc.in: Rename file from
8374 glib/glibmm-2.4-uninstalled.pc.in.
8375 * gio/giomm.pc.in: Rename file from gio/giomm-2.4.pc.in.
8376 * gio/giomm-uninstalled.pc.in: Rename file from
8377 gio/giomm-2.4-uninstalled.pc.in.
8378 * configure.ac (AC_CONFIG_FILES): Insert ${GLIBMM_MODULE_NAME}
8379 and ${GIOMM_MODULE_NAME} into output filenames and remove the
8380 hard-coded version from the input filenames.
8381 * glib/glibmm/Makefile.am (lib_LTLIBRARIES): Substitute
8382 @GLIBMM_API_VERSION@ into the libtool archive name as well as
8383 the variable names derived from it instead of hard-coding the
8384 API version.
8385
8386 2009-08-20 Daniel Elstner <danielk@openismus.com>
8387
8388 Do not hard-code API version in resource files
8389
8390 * MSVC_Net200[58]/glibmm/glibmm.rc.in: Use newer @PACKAGE_VERSION@
8391 substitution in place of @VERSION@. Substitute @GLIBMM_MODULE_NAME@
8392 instead of hardcoding the API version.
8393 * MSVC_Net200[58]/giomm/giomm.rc.in: Use newer @PACKAGE_VERSION@
8394 substitution in place of @VERSION@. Substitute @GIOMM_MODULE_NAME@
8395 instead of hardcoding the API version. Replace @GLIBMM_*_VERSION@
8396 substitutions with their @GIOMM_*_VERSION@ equivalents.
8397
8398 2009-08-19 Daniel Elstner <danielk@openismus.com>
8399
8400 Predefine GLIBMM_API for Doxygen
8401
8402 * docs/reference/Doxyfile.in (PREDEFINED): Define GLIBMM_API to the
8403 empty expansion, so that it won't show up in the documentation.
8404
8405 2009-08-18 Daniel Elstner <danielk@openismus.com>
8406
8407 Prepend tools/pm/ to Perl include path
8408
8409 * g{lib,io}/src/Makefile.am (gmmproc): Pass -I$(top_srcdir)/tools/pm
8410 to the Perl interpreter when invoking the local gmmproc, so that it
8411 will pick up the modules from the source tree instead of an existing
8412 glibmm installation.
8413 * tools/gmmproc.in (BEGIN): Substitute @GLIBMM_MODULE_NAME@ instead
8414 of hard-coding the location.
8415
8416 2009-08-18 Daniel Elstner <danielk@openismus.com>
8417
8418 Implement parametric Doxygen alias @since{m,n}
8419
8420 * docs/reference/Doxyfile.in (ALIASES): Define a parametrized alias
8421 @since{major,minor} to replace the old @newin?p?* aliases which had
8422 to be defined manually for every version number used.
8423 (PREDEFINED): Predefine G_GNUC_NORETURN, G_GNUC_NULL_TERMINATED and
8424 G_GNUC_PURE to the empty expansion. Remove GTKMM_* macros.
8425 * tools/pm/DocsParser.pm (convert_tags_to_doxygen): Change "Since:"
8426 substitution to output the new generic @since alias.
8427 * {glib,gio}/src/*.hg, {glib,gio}/{glib,gio}mm/*.h: Change all uses
8428 of @newin?p?* to @since{major,minor}.
8429
8430 2009-08-17 Daniel Elstner <danielk@openismus.com>
8431
8432 Append slash to overridden $(htmlrefpub)
8433
8434 * docs/Makefile.am (htmlrefpub): Append trailing slash for
8435 consistency with the non-overridden value.
8436
8437 2009-08-17 Daniel Elstner <danielk@openismus.com>
8438
8439 Exclude GTimeVal and nil from the documentation
8440
8441 * docs/reference/Doxyfile.in (EXCLUDE_SYMBOLS): Add GTimeVal and
8442 nil to the list of symbols to exclude from the documentation.
8443
8444 2009-08-17 Daniel Elstner <daniel.kitta@gmail.com>
8445
8446 Reenable JAVADOC_AUTOBRIEF mode of Doxygen
8447
8448 * docs/reference/Doxyfile.in (JAVADOC_AUTOBRIEF): Change value
8449 back to 'YES'. I accidentally turned off the setting during the
8450 build infrastructure transition.
8451
8452 2009-08-16 Daniel Elstner <daniel.kitta@gmail.com>
8453
8454 Unbreak List_Iterator::operator->()
8455
8456 * glib/glibmm/containers.h ({S,}List_Iterator::operator->):
8457 Use &**this, not &*this. Oops.
8458
8459 2009-08-16 Daniel Elstner <daniel.kitta@gmail.com>
8460
8461 Define GLIBMM_USING_STD() as dummy no-op
8462
8463 * glib/glibmmconfig.h.in (GLIBMM_USING_STD): Resurrect macro
8464 for backwards compatibility, but unconditionally define it to
8465 the empty expansion.
8466
8467 2009-08-16 Daniel Elstner <daniel.kitta@gmail.com>
8468
8469 Define GLIBMM_BUILD and GIOMM_BUILD
8470
8471 * glib/glibmm/Makefile.am (local_cppflags): Add -DGLIBMM_BUILD=1.
8472 * gio/giomm/Makefile.am (local_cppflags): Add -DGIOMM_BUILD=1.
8473
8474 2009-08-16 Daniel Elstner <daniel.kitta@gmail.com>
8475
8476 Slightly clean up List_Iterator helper classes
8477
8478 * glib/glibmm/containers.h ({S,}List_Iterator): Smooth out
8479 a number of eye sores I had stumbled upon in the code.
8480
8481 2009-08-16 Daniel Elstner <daniel.kitta@gmail.com>
8482
8483 Correct nesting mistakes in Autoconf macros
8484
8485 * build/cxx.m4: Fix the incorrect nesting of parentheses with
8486 about every other AC_COMPILE_IFELSE/AC_LANG_PROGRAM construct.
8487 My fault, ooops.
8488
8489 2009-08-16 Daniel Elstner <daniel.kitta@gmail.com>
8490
8491 Clean up g{lib,io}mmconfig.h.in templates
8492
8493 * glib/glibmmconfig.h.in: Rewrite, copying large chunks from
8494 the autoheader-generated config.h.in template.
8495 * gio/giommconfig.h.in: Remove everything that belongs to glibmm
8496 and include glibmmconfig.h.
8497
8498 2009-08-16 Daniel Elstner <daniel.kitta@gmail.com>
8499
8500 Set GTHREAD_LIBS to the full --libs value again
8501
8502 * configure.ac (GTHREAD_LIBS): Go back to pkg-config --libs
8503 to retrieve the linker flags to use with threaded programs.
8504 For some reason --libs-only-other does not include -pthread.
8505
8506 2009-08-16 Daniel Elstner <daniel.kitta@gmail.com>
8507
8508 Get rid of all uses of GLIBMM_USING_STD()
8509
8510 * glib/src/*.{ccg,hg}: Remove all uses of GLIBMM_USING_STD().
8511 We definitely do not need this anymore, and probably never
8512 did. We never covered all symbols from namespace std anyway
8513 and never got any complaint about it. Also, be careful to
8514 always include the glibmmconfig.h header when it is needed.
8515 * glib/glibmm/*.{cc,h}: ditto.
8516 * glib/glibmmconfig.h.in: Clean up and re-indent.
8517
8518 2009-08-16 Daniel Elstner <daniel.kitta@gmail.com>
8519
8520 Clean up C++ compiler test Autoconf macros
8521
8522 * build/cxx.m4: Clean up M4 code and switch to non-deprecated
8523 Autoconf macros.
8524 (AC_CXX_NAMESPACES), (AC_CXX_BOOL), (AC_CXX_MUTABLE): Remove
8525 obsolete feature check macros.
8526 * configure.ac: Remove AC_CXX_NAMESPACES(), AC_CXX_BOOL(),
8527 AC_CXX_MUTABLE() and GLIBMM_CXX_HAS_NAMESPACE_STD checks.
8528
8529 2009-08-16 Daniel Elstner <daniel.kitta@gmail.com>
8530
8531 Remove now optional macro arguments
8532
8533 * configure.ac: Insert MM_PREREQ([0.4]) macro call.
8534 (MM_INIT_MODULE): Remove the now optional second macro argument.
8535
8536 2009-08-16 Daniel Elstner <daniel.kitta@gmail.com>
8537
8538 Move M4 files from scripts/ over to build/
8539
8540 * scripts/*.m4: Move files over to the build/ directory, in order
8541 to be more consistent with the directory layout of other binding
8542 modules that switched to the new build organization.
8543 * Makefile.am (ACLOCAL_AMFLAGS): Search build/ for M4 files.
8544 (dist_aclocal_macro_DATA): Adjust directory prefix to build/.
8545 * configure.ac (AC_CONFIG_MACRO_DIR): Place third-party Autoconf
8546 macros into the build/ directory.
8547
8548 2009-08-16 Daniel Elstner <daniel.kitta@gmail.com>
8549
8550 Use hammer method to avoid admitting to be wrong
8551
8552 * glib/README, gio/README: Oops, looks like I was wrong in my
8553 assumption that these files would be distributed automatically by
8554 Automake. In order to save face, I thought I might just delete
8555 them then, as their content is not very useful anyway.
8556
8557 2009-08-16 Daniel Elstner <daniel.kitta@gmail.com>
8558
8559 Stop distributing README files manually
8560
8561 * Makefile.am (text_files): Remove glib/README and gio/README as
8562 files named README are distributed automatically by Automake.
8563 (msvc_files): Use the more readable and safer $(addprefix ...)
8564 function of GNU make instead of a $(foo:%=prefix/%) substitution.
8565 (DISTCLEANFILES): Use $(filter %mmconfig.h,$(msvc_files)) instead
8566 of listing the generated configuration header files manually.
8567
8568 2009-08-16 Daniel Elstner <daniel.kitta@gmail.com>
8569
8570 Provide g{lib,io}mm-2.4-uninstalled.pc files
8571
8572 * glib/glibmm-2.4-uninstalled.pc.in: New file to provide a pkg-config
8573 configuration for building against an uninstalled glibmm library.
8574 * gio/giomm-2.4-uninstalled.pc.in: ditto for giomm.
8575 * glib/glibmm-2.4.pc.in (htmlrefpub): Append slash to URL.
8576 * gio/giomm-2.4.pc.in (htmlrefpub): ditto.
8577 * configure.ac (AC_CONFIG_FILES): List glib/glibmm-2.4-uninstalled.pc
8578 and gio/giomm-2.4-uninstalled.pc output files.
8579
8580 2009-08-11 Daniel Elstner <danielk@openismus.com>
8581
8582 Add missing datadir substitution to .pc file
8583
8584 * glib/glibmm-2.4.pc.in (datadir): Substitute value, as it is
8585 used as a component of doctooldir later in the file.
8586 * gio/giomm-2.4.pc.in (datadir): Substitute value, just in case.
8587 * docs/Makefile.am: Remove overrides of the documentation
8588 utilities, since MM_CONFIG_DOCTOOL_DIR() already takes care
8589 of setting MMDOCTOOLDIR to the local directory.
8590
8591 2009-08-10 Daniel Elstner <danielk@openismus.com>
8592
8593 Get rid of some old Autoconf macro cruft
8594
8595 * scripts/dk-warn.m4: Delete file, since the functionality is now
8596 provided by MM_ARG_ENABLE_WARNINGS() from the mm-common module.
8597 * scripts/docgen.m4: Delete obsolete file.
8598 * scripts/cxx_std.m4: Remove stray text snippet from the top of the
8599 file. Probably a cut'n'paste accident.
8600 * scripts/cxx.m4 (GLIBMM_MEMBER_FUNCTIONS_MEMBER_TEMPLATES): Do not
8601 AC_DEFINE to 0 in the else branch, as that will do the wrong thing
8602 when #ifdef is used instead of #if.
8603 * scripts/README: Delete file consisting solely of whitespace.
8604 * configure.ac: Add note on pointless test for namespace std.
8605
8606 2009-08-10 Daniel Elstner <danielk@openismus.com>
8607
8608 Clean up configure check for Windows host
8609
8610 * configure.ac (OS_WIN32): Rename conditional to HOST_WINDOWS_NATIVE
8611 because the OS vs platform terminology confused the hell out of me.
8612 Remove the check for a non-native Windows host such as Cygwin, since
8613 the corresponding conditional is not used anymore.
8614
8615 2009-08-10 Daniel Elstner <danielk@openismus.com>
8616
8617 Have mm-common-prepare install the doc utils
8618
8619 * configure.ac: Call MM_CONFIG_DOCTOOL_DIR([docs]) to set
8620 up the destination directory for mm-common-prepare to copy
8621 the documentation utilities to.
8622 * docs/doc-install.pl: Delete file.
8623 * docs/doc-postprocess.pl: ditto,
8624 * docs/tagfile-to-devhelp2.xsl: ditto.
8625
8626 2009-08-09 Daniel Elstner <danielk@openismus.com>
8627
8628 Distribute README.SUN and autogen.sh
8629
8630 * Makefile.am (text_files): Add README.SUN.
8631 (dist_noinst_SCRIPTS): List autogen.sh.
8632
8633 2009-08-09 Daniel Elstner <danielk@openismus.com>
8634
8635 Use versioned directory for documentation tools
8636
8637 * docs/Makefile.am (doctooldir): Use the versioned module
8638 name instead of the package name as $(datadir) subdirectory.
8639 * glib/glibmm-2.4.pc.in (doctooldir): Change the variable
8640 value accordingly.
8641
8642 2009-08-09 Daniel Elstner <danielk@openismus.com>
8643
8644 Provide documentation location via pkg-config
8645
8646 * glib/glibmm-2.4.pc.in: Clean up and modernize the values,
8647 and make use of more configure variable substitutions.
8648 (datarootdir): Substitute @datarootdir@.
8649 (gmmprocdir): Remove the @GMMPROC_DIR@ substitution and expand
8650 ${libdir} indirectly.
8651 (doctooldir): New variable pointing to the location of the
8652 installed utilities for building the reference documentation.
8653 (docdir), (doxytagfile), (htmlrefdir), (htmlrefpub): Provide
8654 meta information on the installed reference documentation in
8655 these new pkg-config variables.
8656 * gio/giomm-2.4.pc.in: Clean up and modernize the values,
8657 and make use of more configure variable substitutions.
8658 (datarootdir): Substitute @datarootdir@.
8659 (docdir), (doxytagfile), (htmlrefdir), (htmlrefpub): Provide
8660 meta information on the installed reference documentation in
8661 these new pkg-config variables. The values are identical to
8662 the glibmm-2.4 ones because the documentation is bundled.
8663 * docs/Makefile.am (hmtlrefpub): Override the public web URL
8664 of the reference documentation, since the currently uploaded
8665 documentation still has the redundant docs/ component in the
8666 base path.
8667
8668 2009-08-09 Daniel Elstner <danielk@openismus.com>
8669
8670 Get make distcheck to pass cleanly
8671
8672 * Makefile.am (DISTCLEANFILES): List the configuration header
8673 copies made by the AC_CONFIG_COMMANDS() as files to delete.
8674 * configure.ac (AM_INIT_AUTOMAKE): Switch to POSIX archive
8675 format (pax) for tar, because just as with libsigc++ the
8676 filenames generated by Doxygen exceed the tar-ustar limit.
8677
8678 2009-08-09 Daniel Elstner <danielk@openismus.com>
8679
8680 Work around Automake cleverness failure
8681
8682 * gio/giomm/filelist.am (giomm_files_built_ph): Use the GNU
8683 make $(patsubst ...) function instead of $(var:%=foo%bar) if
8684 a simple $(var:.a=.b) is not sufficient. Apparently Automake
8685 is able to expand some of these constructs statically, but in
8686 some cases it will actually produce the wrong result. Using
8687 $(patsubst ...) helps to avoid the problem because Automake
8688 does not attempt to expand it.
8689 * glib/glibmm/filelist.am (glibmm_files_built_ph): Use the
8690 $(patsubst ...) function here, too.
8691 * gio/src/filelist.am (giomm_files_used_hg): Define another
8692 intermediate variable to avoid repetition.
8693
8694 2009-08-09 Daniel Elstner <danielk@openismus.com>
8695
8696 Get rid of all Makefile.am in the MSVC dirs
8697
8698 * MSVC_Net2005/**/Makefile.am: Delete recursive build files.
8699 * MSVC_Net2008/**/Makefile.am: ditto.
8700 * MSVC_Net2005/filelist.am: New file. Recursively list all
8701 files that should go into the distribution.
8702 * MSVC_Net2008/filelist.am: ditto.
8703 * configure.ac (AC_CONFIG_FILES): Remove all Makefile outputs
8704 to the MSVC subdirectories. Combine all the remaining output
8705 files into a single argument to just one AC_CONFIG_FILES call.
8706 Follow through with a number of TODO comments and remove some
8707 old cruft which is no longer used anywhere in the module.
8708 (AC_CONFIG_COMMANDS): Copy the configuration header files into
8709 the MSVC subdirectories by making config.status execute custom
8710 configuration commands. This is easier than doing it at the
8711 Makefile level, where it was previously implemented.
8712 * Makefile.am: Include the filelist.am files from the MSVC
8713 subdirectories.
8714 (SUBDIRS): Remove MSVC_Net200[58] directories from the list.
8715 (dist_noinst_DATA): Distribute the MSVC project files.
8716 * tools/gmmproc.in: Substitute @PERL@ instead of @PERL_PATH@.
8717 * tools/generate_wrap_init.pl.in: ditto.
8718
8719 2009-08-09 Daniel Elstner <danielk@openismus.com>
8720
8721 Bring back the giomm reference documentation
8722
8723 * glib/{src,glibmm}/filelist.am: Add namespace prefix glibmm_
8724 to variable names, so that the file lists of glibmm and giomm
8725 can be included together without conflicts.
8726 * gio/{src,giomm}/filelist.am: Add namespace prefix giomm_ to
8727 variable names.
8728 * glib/{src,glibmm}/Makefile.am: Copy the namespace-prefixed
8729 make variables to non-prefixed variables, so that the Automake
8730 include files from mm-common will pick up the values.
8731 * gio/{src,giomm}/Makefile.am: ditto.
8732 * docs/Makefile.am: Include file lists of giomm.
8733 (doc_input): List the header files of both glibmm and giomm.
8734
8735 2009-08-09 Daniel Elstner <danielk@openismus.com>
8736
8737 Begin move to new documentation infrastructure
8738
8739 * configure.ac (AC_CONFIG_FILES): Remove the old build files
8740 docs/{images,internal,reference}/Makefile from the list. Also
8741 remove the obsolete docs/reference/beautify_docs.pl.
8742 * docs/Makefile.am: Big overhaul. Reimplement on top of the
8743 new documentation infrastructure provided with the mm-common
8744 module. Build, distribute and install files which used to be
8745 handled by the subdirectories' Makefiles directly from here.
8746 Note that the generated reference documentation at the moment
8747 only covers glibmm without giomm. Remedy follows.
8748 * docs/reference/Doxyfile.in: Replace configuration with the
8749 modernized version from librsvgmm, appropriately modified for
8750 glibmm. Make use of the new substitutions provided by the
8751 mm-common Autoconf magic.
8752 * docs/doc-install.pl: Copy script from mm-common. Install
8753 it into $(pkgdatadir)/doctool.
8754 * docs/doc-postprocess.pl: ditto,
8755 * docs/tagfile-to-devhelp2.xsl: ditto.
8756 * docs/images/Makefile.am: Delete subdirectory Makefile.
8757 * docs/internal/Makefile.am: ditto,
8758 * docs/reference/Makefile.am: ditto.
8759 * docs/reference/README: Delete file, as it documents exactly
8760 the things I just ripped.
8761 * docs/reference/beautify_docs.pl.in: Delete obsolete file.
8762 * docs/reference/doxygen_to_devhelp.xsl: ditto,
8763 * docs/reference/libstdc++.tag.xml: ditto.
8764
8765 2009-08-09 Daniel Elstner <danielk@openismus.com>
8766
8767 Convert examples/ sub-tree to non-recursive build
8768
8769 * examples/Makefile.am: Rewrite to a non-recursive build of
8770 all example programs with a single control file. Hook the
8771 build of the example programs to the make check target.
8772 * examples/Makefile.am_fragment: Delete obsolete file.
8773 * examples/*/Makefile.am: Delete obsolete files.
8774 * examples/README: Delete file, as it was empty anyway apart
8775 from a single whitespace character.
8776 * configure.ac (AC_CONFIG_FILES): Remove examples/*/Makefile
8777 output files from the list.
8778
8779 2009-08-09 Daniel Elstner <danielk@openismus.com>
8780
8781 Convert tests/ sub-tree to non-recursive build
8782
8783 * tests/Makefile.am: Rewrite to a non-recursive build of all
8784 test programs with a single control file. Hook the the build
8785 of the test programs to the make check target.
8786 * tests/Makefile.am_fragment: Delete obsolete file.
8787 * tests/*/Makefile.am: Delete obsolete files.
8788 * configure.ac (AC_CONFIG_FILES): Remove tests/*/Makefile
8789 output files from the list.
8790
8791 2009-08-09 Daniel Elstner <danielk@openismus.com>
8792
8793 Delete now unused build_shared/ subdirectory
8794
8795 * build_shared/*.am_fragment: Delete files, as they are no
8796 longer used anywhere.
8797 * tools/Makefile_list_of_sources.am_fragment: Delete file,
8798 * tools/m4/Makefile_list_of_sources.am_fragment: ditto,
8799 * tools/pm/Makefile_list_of_sources.am_fragment: ditto.
8800
8801 2009-08-09 Daniel Elstner <danielk@openismus.com>
8802
8803 Convert gio/ sub-tree to new build system
8804
8805 * gio/src/filelist.am: New file for defining the lists of
8806 gmmproc input files.
8807 * gio/src/Makefile.am: Clean up and modernize. Integrate
8808 with the new generate-binding.am build file from mm-common.
8809 * gio/giomm/filelist.am: New file for the lists of source
8810 code files, both generated and static. Also list files from
8811 the private/ subdirectory here.
8812 * gio/giomm/Makefile.am: Clean up and modernize. Integrate
8813 with the new compile-binding.am build file from mm-common.
8814 * configure.ac (AC_CONFIG_FILES): Remove the output file
8815 gio/giomm/private/Makefile from the list.
8816 * gio/giomm/private/Makefile.am: Delete file.
8817 * gio/src/Makefile_list_of_hg.am_fragment: Delete file.
8818
8819 2009-08-09 Daniel Elstner <danielk@openismus.com>
8820
8821 Convert glib/ sub-tree to new build system
8822
8823 * glib/src/filelist.am: New file for defining the lists of
8824 gmmproc input files and M4 template files.
8825 * glib/src/Makefile.am: Clean up and modernize. Integrate
8826 with the new generate-binding.am build file from mm-common.
8827 * glib/glibmm/filelist.am: New file for the lists of source
8828 code files, both generated and static. Also list files from
8829 the private/ subdirectory here.
8830 * glib/glibmm/Makefile.am: Clean up and modernize. Integrate
8831 with the new compile-binding.am build file from mm-common.
8832 * configure.ac (AC_CONFIG_FILES): Remove the output file
8833 glib/glibmm/private/Makefile from the list.
8834 * glib/glibmm/private/Makefile.am: Delete file.
8835 * glib/src/Makefile_list_of_hg.am_fragment: Delete file.
8836
8837 2009-08-09 Daniel Elstner <danielk@openismus.com>
8838
8839 Do not recurse into scripts/ subdirectory
8840
8841 * Makefile.am: Install scripts/glibmm_check_perl.m4 from here.
8842 * scripts/Makefile.am: Delete file.
8843 * configure.ac (AC_CONFIG_FILES): Remove scripts/Makefile.
8844
8845 2009-08-09 Daniel Elstner <danielk@openismus.com>
8846
8847 Convert tools/ directory to new build system
8848
8849 * configure.ac (AC_CONFIG_FILES): Remove the output files
8850 tools/{extra_defs_gen,m4,pm}/Makefile from the list.
8851 * tools/Makefile.am: Clean up. Build, distribute and install the
8852 contents of all three subdirectories. Rename generate_extra_defs
8853 executable to generate_defs_glib.
8854 * tools/m4/filelist.am: New file to hold the list of M4 files.
8855 * tools/pm/filelist.am: New file to hold the list of Perl modules.
8856 * tools/{extra_defs_gen,m4,pm}/Makefile.am: Delete files.
8857
8858 2009-08-08 Daniel Elstner <danielk@openismus.com>
8859
8860 Remove glib/Makefile.am and gio/Makefile.am
8861
8862 * Makefile.am: Move things from glib/Makefile.am and gio/Makefile.am
8863 to the toplevel. Remove the improvised custom convenience rules for
8864 now.
8865 (SUBDIRS): Enter the glib/src, gio/src, glib/glibmm and gio/giomm
8866 subdirectories directly from the toplevel. Use indirect variables
8867 to define the conditionally entered subdirectories.
8868 * configure.ac: Call macros from mm-common for preparing the build of
8869 the reference documentation. Remove {glib,gio}/Makefile.am from the
8870 AC_CONFIG_FILES list. Avoid repeating the version requirement for all
8871 the basic g* libraries when constructing the list of dependencies for
8872 pkg-config.
8873 * {glib,gio}/Makefile.am: Remove files.
8874
8875 2009-08-07 Daniel Elstner <danielk@openismus.com>
8876
8877 Begin transition to new build infrastructure
8878
8879 * autogen.sh: Replace script with a minimalistic wrapper around
8880 mm-common-prepare, autoreconf and configure.
8881 * Makefile.am (ACLOCAL_AMFLAGS): Pick up ${ACLOCAL_FLAGS} from the
8882 environment, so that autoreconf can do its magic.
8883 * configure.ac: Modernize. Cut loads of old cruft. Make use of
8884 magic mm-common macros to simplify things. Declare build/ as the
8885 destination for auxiliary build files. Add TODO comments to flag
8886 the pieces that still need cutting. Re-enable autoheader.
8887 * config.h.in: Remove file, and have autoheader generate it.
8888
8889 2009-07-27 José Alburquerque <jaalburqu@svn.gnome.org>
8890
8891 * gio/src/memoryinputstream.ccg: Correct the if condition in
8892 Gio::MemoryInputStream::add_data() to coincide correctly with copying
8893 data that is null terminated (as docs say).
8894
8895 2.21.3:
8896
8897 2009-07-27 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
8898
8899 * NEWS:
8900 * configure.ac: update for release
8901
8902 2009-07-26 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
8903
8904 * glib/glibmm/objectbase.cc:
8905 * glib/glibmm/objectbase.h: add freeze_notify()/thaw_notify. Fixes
8906 Bug #575533
8907
8908 2009-07-26 Jonathon Jongsma <jonathon@quotidian.org>
8909
8910 * gio/src/memoryinputstream.ccg: fix a build error with explicit
8911 casts. I had made this change before, but apparently i forgot to
8912 commit it.
8913
8914 2009-07-26 Jonathon Jongsma <jonathon@quotidian.org>
8915
8916 * gio/src/memoryinputstream.ccg:
8917 * gio/src/memoryinputstream.hg: fix MemoryInputStream::add_data() so
8918 that it copies the memory internally. This function was basically
8919 unusable before except with statically allocated memory.
8920 Otherwise the memory would have been leaked (if the caller did not
8921 free it) or the memory could have been corrupted (if the caller
8922 freed it before the MemoryInputStream was finished using it). The
8923 std::string version was susceptible to memory corruption as well,
8924 so we take a copy of that string as well. To avoid needing to
8925 always copy the memory, I also introduced an overload which
8926 accepts a GDestroyNotify function that will free the memory when
8927 the object is finished with it. Fixes Bug #589683.
8928
8929 2009-07-26 Krzesimir Nowak <krnowak@svn.gnome.org>
8930
8931 * glib/glibmm/timeval.cc:
8932 * glib/glibmm/timeval.h: Wrapped g_time_val_from_iso8601()
8933 and g_time_val_to_iso8601().
8934 * glib/src/date.ccg:
8935 * glib/src/date.hg: Wrapped
8936 g_date_get_iso8601_week_of_year().
8937
8938 2009-07-17 David King <davidk@openismus.com>
8939
8940 * examples/properties/properties_example.cc: Only compile the
8941 properties example if properties are enabled.
8942
8943 2009-07-16 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
8944
8945 * .gitignore:
8946 * configure.ac:
8947 * examples/Makefile.am:
8948 * examples/network_io/Makefile.am:
8949 * examples/network_io/resolve.cc: Added a simple example showing how
8950 to resolve an internet address from a hostname
8951
8952 2009-07-16 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
8953
8954 * gio/src/resolver.ccg:
8955 * gio/src/resolver.hg: add async versions of Resolver methods
8956
8957 2009-07-16 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
8958
8959 * gio/src/resolver.ccg:
8960 * gio/src/resolver.hg: add overloads for resolver methods without a
8961 cancellable object
8962
8963 2009-07-16 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
8964
8965 * gio/src/drive.hg:
8966 * tools/m4/convert_gio.m4: add get_start_stop_type() and
8967 Gio::DriveStartStopType enum
8968
8969 2009-07-16 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
8970
8971 * gio/src/drive.hg: add _IGNORE() for a eject_with_operation() which
8972 is hand-written
8973
8974 2009-07-14 Jonathon Jongsma <jonathon@quotidian.org>
8975
8976 * Fix Bug #587173 – Fails to install when bootstrapped with Automake 1.11
8977 * glib/glibmm/Makefile.am: remove .hg-generated headers from this
8978 Makefile to fix built with automake-1.11
8979 * glib/src/Makefile_list_of_hg.am_fragment: re-format this list of
8980 .hg files so it's easier to both read and maintain
8981
8982 2009-07-14 José Alburquerque <jaalburqu@svn.gnome.org>
8983
8984 * glib/src/glib_docs_override.xml:
8985 * glib/src/keyfile.ccg:
8986 * glib/src/keyfile.hg: Repair Glib::KeyFile docs with regard to
8987 exceptions. Make sure that the methods that throw exceptions are
8988 implemented correctly if GLIBMM_EXCEPTIONS_ENABLED is not defined.
8989 Bug #587766 (Tomasz Jankowski).
8990
8991 2.21.2:
8992
8993 2009-07-13 Jonathon Jongsma <jonathon@quotidian.org>
8994
8995 * Makefile.am: fix release targets since we switched to git
8996
8997 2009-07-13 Jonathon Jongsma <jonathon@quotidian.org>
8998
8999 * NEWS: updated
9000 * configure.ac: bumped version for release
9001
9002 2009-07-11 Daniel Elstner <daniel.kitta@gmail.com>
9003
9004 * configure.ac (GTKMM_ARG_ENABLE_FULLDOCS): Remove macro
9005 call. Its result is not used anywhere at all anymore.
9006
9007 2009-07-11 Daniel Elstner <daniel.kitta@gmail.com>
9008
9009 * gio/src/drive.hg (Drive::start_finish): Remove stray
9010 semicolon to get rid of compiler warning in pedantic mode.
9011 (Drive::stop_finish): ditto.
9012
9013 2009-07-09 Jonathon Jongsma <jonathon@quotidian.org>
9014
9015 * gio/src/volumemonitor.hg: implement Gio::VolumeMonitor::drive-stop-button
9016
9017 2009-07-09 Jonathon Jongsma <jonathon@quotidian.org>
9018
9019 * gio/src/drive.ccg: fix accidental bug in Gio::Drive::eject() that
9020 the compiler warned me about
9021
9022 2009-07-09 Jonathon Jongsma <jonathon@quotidian.org>
9023
9024 * gio/src/volume.ccg:
9025 * gio/src/volume.hg: implement eject_with_operation()
9026 similarly to the GDrive methods mentioned below
9027
9028 2009-07-09 Jonathon Jongsma <jonathon@quotidian.org>
9029
9030 * gio/src/mount.ccg:
9031 * gio/src/mount.hg: implement eject_with_operation() and
9032 mount_with_operation similarly to the GDrive methods mentioned
9033 below
9034
9035 2009-07-09 Jonathon Jongsma <jonathon@quotidian.org>
9036
9037 * gio/src/inetaddress.hg: implement get_native_size()
9038
9039 2009-07-09 Jonathon Jongsma <jonathon@quotidian.org>
9040
9041 * gio/src/drive.hg: implement GDrive::stop-button signal
9042
9043 2009-07-09 Jonathon Jongsma <jonathon@quotidian.org>
9044
9045 * gio/src/drive.ccg:
9046 * gio/src/drive.hg: Wrap the new eject_with_operation() methods and
9047 implement the other eject() functions with
9048 g_drive_eject_with_operation since g_drive_eject has been
9049 deprecated in favor of eject_with_operation()
9050
9051 2009-07-09 Jonathon Jongsma <jonathon@quotidian.org>
9052
9053 * gio/src/drive.ccg:
9054 * gio/src/drive.hg:
9055 * gio/src/gio_enums.defs:
9056 * tools/m4/convert_gio.m4: wrap added GDrive methods: start(),
9057 stop(), start_finish(), stop_finish(), can_start(), can_start(),
9058 can_start_degraded()
9059
9060 2009-07-09 Jonathon Jongsma <jonathon@quotidian.org>
9061
9062 * gio/src/gio_methods.defs: re-generated defs
9063 * gio/src/socket.ccg:
9064 * gio/src/socket.hg: fix build breakage caused by the addition of a
9065 bunch of cancellable parameters to GSocket methods.
9066
9067 2009-07-06 Daniel Elstner <danielk@openismus.com>
9068
9069 Treat empty Glib::spawn*() working dir as unset
9070
9071 * glib/src/spawn.ccg (Glib::spawn_async_with_pipes): If the
9072 working_directory argument is the empty string, pass a 0 pointer
9073 to the GLib C API to make it inherit the parent's working directory.
9074 This is fine as the empty string is not a valid directory name, and
9075 our documentation already says that it will be interpreted that way.
9076 (Glib::spawn_async): ditto,
9077 (Glib::spawn_sync): ditto.
9078
9079 2009-07-03 José Alburquerque <jaalburqu@svn.gnome.org>
9080
9081 * tests/glibmm_valuearray/main.cc: Use references to store casts in
9082 glibmm_valuearray test.
9083
9084 2009-06-30 Jonathon Jongsma <jonathon@quotidian.org>
9085
9086 * glib/src/optiongroup.ccg:
9087 * glib/src/optiongroup.hg: add OptionGroup::add_entry(.., double&)
9088
9089 2009-06-29 Jonathon Jongsma <jonathon@quotidian.org>
9090
9091 * tools/m4/convert_gio.m4: add some namespaced conversions so that I
9092 can use them for new api I'm wrapping in Gdk::Pixbuf. Is there no
9093 other way to do this?
9094
9095 2.21.1:
9096
9097 2009-06-29 Murray Cumming <murrayc@murrayc.com>
9098
9099 Allow dynamic GType registration, using g_type_module_register_type().
9100
9101 * glib/glibmm/class.[h|cc]: Added a register_derived_type() overload that
9102 takes an extra GTypeModule* parameter, and which calls
9103 g_type_module_register_type() instead of g_type_register_static().
9104 * tools/m4/class_gobject.m4:
9105 * tools/m4/class_gtkobject.m4:
9106 * tools/m4/class_shared.m4: Added a _DYNAMIC_GTYPE_REGISTRATION macro to
9107 be used in the class in the hg file, to add a *_Class::init(GTypeModule)
9108 method, and a get_type(GTypeModule*) method that calls it.
9109
9110
9111 2009-06-24 Daniel Elstner <daniel.kitta@gmail.com>
9112
9113 Omit unused parameter names to avoid warning
9114
9115 * tools/extra_defs_gen/generate_defs_gio.cc (main): Omit names of
9116 unused function parameters, to fix the build with fatal warnings
9117 enabled.
9118 * examples/properties/properties_example.cc (main): ditto,
9119 * tests/giomm_ioerror/main.cc (main): ditto.
9120
9121 2009-06-23 José Alburquerque <jaalburqu@svn.gnome.org>
9122
9123 * tests/glibmm_valuearray/main.cc: Use a const instead of a #define.
9124
9125 2009-06-23 Hubert Figuiere <hub@figuiere.net>
9126
9127 * tools/pm/WrapParser.pm (on_defs): Make sure we trim
9128 the module names to not have extraneous space. Closes bug #586785.
9129
9130 2009-06-22 José Alburquerque <jaalburqu@svn.gnome.org>
9131
9132 * glib/src/valuearray.ccg:
9133 * glib/src/valuearray.hg: Use guint for pre-allocation constructor.
9134 * .gitignore: Add value array test executable.
9135
9136 2009-06-22 José Alburquerque <jaalburqu@svn.gnome.org>
9137
9138 * configure.ac:
9139 * glib/glibmm.h:
9140 * glib/src/Makefile_list_of_hg.am_fragment:
9141 * glib/src/valuearray.ccg:
9142 * glib/src/valuearray.hg: Add Glib::ValueArray.
9143
9144 * tests/Makefile.am:
9145 * tests/glibmm_valuearray/Makefile.am:
9146 * tests/glibmm_valuearray/main.cc: Add test for Glib::ValueArray.
9147
9148 * .gitignore: Include valuearray.{h,cc}.
9149
9150 2009-06-22 José Alburquerque <jaalburqu@svn.gnome.org>
9151
9152 * glib/src/date.ccg: Check for an invalid date in copy constructor and
9153 assignment operator. Fixes bug #585027.
9154
9155 2009-06-19 Jonathon Jongsma <jonathon@quotidian.org>
9156
9157 Add start of Socket class
9158
9159 * gio/src/Makefile_list_of_hg.am_fragment:
9160 * gio/src/gio_enums.defs:
9161 * gio/src/gio_signals.defs:
9162 * gio/src/socket.ccg: Added.
9163 * gio/src/socket.hg: Added.
9164 * tools/enum.pl:
9165 * tools/extra_defs_gen/generate_defs_gio.cc:
9166 * tools/m4/convert_gio.m4:
9167
9168 2009-06-19 Jonathon Jongsma <jonathon@quotidian.org>
9169
9170 Add start of Initable
9171 This class may require a bit of additional thought since it implies
9172 that we will need to call a special g_initable_new() constructor
9173 that can fail with a GError rather than calling g_object_new()
9174 directly. Alternately, all classes that derive from Initable may
9175 need to manually call init() in their constructors
9176
9177 * .gitignore:
9178 * gio/src/Makefile_list_of_hg.am_fragment:
9179 * gio/src/initable.ccg: Added
9180 * gio/src/initable.hg: Added.
9181
9182 2009-06-19 Jonathon Jongsma <jonathon@quotidian.org>
9183
9184 Add NetworkService class
9185
9186 * .gitignore:
9187 * gio/src/Makefile_list_of_hg.am_fragment:
9188 * gio/src/gio_signals.defs:
9189 * gio/src/networkservice.ccg: Copied from gio/src/socketaddress.ccg.
9190 * gio/src/networkservice.hg: Added.
9191 * tools/extra_defs_gen/generate_defs_gio.cc:
9192
9193 2009-06-18 Jonathon Jongsma <jonathon@quotidian.org>
9194
9195 * gio/giomm.h: update the main include header to include all of the
9196 new / recent headers
9197
9198 2009-06-18 Jonathon Jongsma <jonathon@quotidian.org>
9199
9200 Add NetworkAddress
9201
9202 * gio/src/Makefile_list_of_hg.am_fragment:
9203 * gio/src/gio_signals.defs:
9204 * gio/src/networkaddress.ccg: Copied from gio/src/socketaddress.ccg.
9205 * gio/src/networkaddress.hg: Copied from gio/src/socketaddress.hg.
9206 * tools/extra_defs_gen/generate_defs_gio.cc:
9207
9208 2009-06-18 Jonathon Jongsma <jonathon@quotidian.org>
9209
9210 * gio/src/gio_signals.defs:
9211 * tools/extra_defs_gen/generate_defs_gio.cc: add Resolver to the
9212 extra defs generator
9213
9214 2009-06-18 Jonathon Jongsma <jonathon@quotidian.org>
9215
9216 * gio/src/Makefile_list_of_hg.am_fragment: put one .hg file on a
9217 line and put sort them so it's easier to maintain this list
9218
9219 2009-06-18 Jonathon Jongsma <jonathon@quotidian.org>
9220
9221 * .gitignore:
9222 * gio/src/Makefile_list_of_hg.am_fragment:
9223 * gio/src/gio_signals.defs: re-generate with signals and properties
9224 for some of the new network IO classes
9225 * gio/src/inetsocketaddress.ccg:
9226 * gio/src/inetsocketaddress.hg: Added InetSocketAddress class
9227 * tools/extra_defs_gen/generate_defs_gio.cc: added some new network
9228 IO classes
9229 * tools/m4/convert_gio.m4:
9230
9231 2009-06-18 Jonathon Jongsma <jonathon@quotidian.org>
9232
9233 split SocketAddressEnumerator into its own file
9234
9235 * .gitignore:
9236 * gio/src/Makefile_list_of_hg.am_fragment:
9237 * gio/src/socketaddressenumerator.ccg: Copied from gio/src/socketconnectable.ccg.
9238 * gio/src/socketaddressenumerator.hg: Copied from gio/src/socketconnectable.hg.
9239 * gio/src/socketconnectable.ccg:
9240 * gio/src/socketconnectable.hg:
9241
9242 2009-06-18 Jonathon Jongsma <jonathon@quotidian.org>
9243
9244 * glib/src/fileutils.ccg:
9245 * glib/src/fileutils.hg: add Glib::file_set_contents() to match
9246 Glib::file_get_contents(). Fixes Bug #586187
9247
9248 2009-06-18 Jonathon Jongsma <jonathon@quotidian.org>
9249
9250 * configure.ac: bump version and glib version requirement
9251
9252 2009-06-18 Jonathon Jongsma <jonathon@quotidian.org>
9253
9254 * gio/src/socketconnectable.ccg:
9255 * gio/src/socketconnectable.hg: add overloads without a
9256 'cancellable' argument for SocketAddressEnumerator methods
9257
9258 2009-06-18 Jonathon Jongsma <jonathon@quotidian.org>
9259
9260 * gio/src/gio_methods.defs: re-generate
9261 * gio/src/socketaddress.hg: uncomment method that was being
9262 generated incorrectly due to out-of-date .defs
9263 * gio/src/socketconnectable.ccg:
9264 * gio/src/socketconnectable.hg: wrap the next_async() manually
9265 because we need to do the slot adaptation stuff
9266
9267 2009-06-18 Jonathon Jongsma <jonathon@quotidian.org>
9268
9269 * gio/src/resolver.ccg:
9270 * gio/src/resolver.hg: remove some overloads for now and get the
9271 lookup_service() API working with the list of SrvTargets
9272 * gio/src/srvtarget.hg: add TypeTraits for lists of SrvTargets
9273
9274 2009-06-17 Jonathon Jongsma <jonathon@quotidian.org>
9275
9276 Add initial wrappers for SocketConnectable, SocketAddress
9277
9278 * .gitignore:
9279 * gio/src/Makefile_list_of_hg.am_fragment:
9280 * gio/src/enums.hg:
9281 * gio/src/inetaddress.hg:
9282 * gio/src/resolver.hg:
9283 * gio/src/socketaddress.ccg: Copied from gio/src/error.ccg.
9284 * gio/src/socketaddress.hg: Copied from gio/src/fileicon.hg.
9285 * gio/src/socketconnectable.ccg: Copied from gio/src/filemonitor.ccg.
9286 * gio/src/socketconnectable.hg: Added.
9287 * tools/m4/convert_gio.m4:
9288
9289 2009-06-17 Jonathon Jongsma <jonathon@quotidian.org>
9290
9291 Initial wrapping for SrvTarget, Resolver
9292
9293 * .gitignore:
9294 * gio/src/Makefile_list_of_hg.am_fragment:
9295 * gio/src/resolver.ccg: Added.
9296 * gio/src/resolver.hg: Added.
9297 * gio/src/srvtarget.ccg: Added
9298 * gio/src/srvtarget.hg: Added.
9299 * tools/m4/convert_gio.m4:
9300
9301 2009-06-18 Murray Cumming <murrayc@murrayc.com>
9302
9303 Add debug output to hint that your .defs needs a define-object.
9304
9305 * tools/pm/DocsParser.pm: lookup_object_of_method(),
9306 * tools/pm/GtkDefs.pm: lookup_object(): Add debug output to hint that you
9307 need a define-object for each C GType in the *.defs file, though I
9308 do not yet know why these are sometimes missing.
9309
9310 2009-06-18 Murray Cumming <murrayc@murrayc.com>
9311
9312 * configure.ac: Require glib 2.21, because g_cancellable_connect/disconnect()
9313 are not in glib 2.20.
9314
9315 2009-06-17 Hubert Figuiere <hub@figuiere.net>
9316
9317 * gio/src/file.hg:
9318 * gio/src/file.ccg: Added Gio::File::load_contents() overload to allow
9319 ignoring the etag contents. (Bug #581349)
9320
9321 2009-06-16 José Alburquerque <jaalburqu@svn.gnome.org>
9322
9323 * tools/extra_defs_gen/generate_extra_defs.cc:
9324 * tools/extra_defs_gen/generate_extra_defs.h: Modify extra defs
9325 generation utility to accept a custom defined function to determine if
9326 a GType is a pointer. This was discussed in bug #562810 and I went
9327 back and forth about applying it. I applied it, but later reverted
9328 it. Now I find that it is difficult to keep patching the generated
9329 defs files in gstreamermm. Since permission was granted, I'm
9330 re-applying it once and for all.
9331
9332 2009-05-23 Alexander Shaduri <ashaduri@gmail.com>
9333
9334 Build static libraries correctly under Windows/MinGW. Bug #583657.
9335
9336 * configure.ac: Define GLIBMM_STATIC_LIB and GIOMM_STATIC_LIB when
9337 --enable-static is specified.
9338 * gio/giommconfig.h.in: Add GIOMM_STATIC_LIB and don't define GIOMM_DLL
9339 when using MinGW unless GIOMM_STATIC_LIB is defined.
9340 * glib/glibmmconfig.h.in: Add GLIBMM_STATIC_LIB and don't define
9341 GLIBMM_DLL when using MinGW unless GLIBMM_STATIC_LIB is defined.
9342
9343 2009-05-31 Armin Burgmeier <armin@openismus.com>
9344
9345 * tools/pm/Output.pm: Made gmmproc work on Windows, so that it is
9346 possible to build glibmm and friends directly from git.
9347
9348 2009-05-26 José Alburquerque <jaalburqu@svn.gnome.org>
9349
9350 * glib/src/spawn.ccg:
9351 * glib/src/spawn.hg: Corrected stray semicolons to fix the build with
9352 exceptions disabled.
9353
9354 2009-05-19 Siavash Safi <siavash@siavashs.org>
9355
9356 * tools/enum.pl: Fix --module option to work
9357
9358 2009-05-18 Jonathon Jongsma <jonathon@quotidian.org>
9359
9360 wrap Gio::InetAddress
9361
9362 * .gitignore:
9363 * gio/src/Makefile_list_of_hg.am_fragment:
9364 * gio/src/gio_enums.defs: re-generate
9365 * gio/src/inetaddress.ccg: Added
9366 * gio/src/inetaddress.hg: Added.
9367 * tools/m4/convert_gio.m4:
9368
9369 2009-05-18 Jonathon Jongsma <jonathon@quotidian.org>
9370
9371 Wrap new Gio::FileIOStream class
9372
9373 * gio/src/Makefile_list_of_hg.am_fragment:
9374 * gio/src/fileiostream.ccg: Copied from gio/src/fileinputstream.ccg.
9375 * gio/src/fileiostream.hg: Copied from gio/src/fileinputstream.hg.
9376
9377 2009-05-18 Jonathon Jongsma <jonathon@quotidian.org>
9378
9379 Wrap the new Gio::IOStream class
9380
9381 * gio/src/Makefile_list_of_hg.am_fragment:
9382 * gio/src/iostream.ccg: Added.
9383 * gio/src/iostream.hg: Added.
9384
9385 2009-05-18 Jonathon Jongsma <jonathon@quotidian.org>
9386
9387 * gio/src/gio_docs_override.xml:add an override for
9388 get_activation_root() since the documentation contains /* comments
9389 */ that mess up the documentation comments
9390
9391 2009-05-16 Jonathon Jongsma <jonathon@quotidian.org>
9392
9393 * gio/src/cancellable.ccg:
9394 * gio/src/cancellable.hg: add connect() and disconnect() functions
9395
9396 2009-05-16 Jonathon Jongsma <jonathon@quotidian.org>
9397
9398 * gio/src/gio_docs.xml:
9399 * gio/src/gio_methods.defs: update some defs
9400
9401 2009-05-14 Murray Cumming <murrayc@murrayc.com>
9402
9403 Type registration: Ignore NULL GTypes, preventing crashes.
9404
9405 * glib/glibmm/wrap.cc: wrap_register(): Silently ignore NULL GTypes.
9406 * glib/glibmm/class.cc: register_derived_type(): Silently ignore NULL
9407 GTypes. Use g_strconcat() instead of ustring+= to maybe make it more
9408 efficient. This helps gstreamermm, which may try to use type names of
9409 plugins that are not actually available on the system.
9410
9411 2009-05-06 Chris Vine <chris@cvine.freeserve.co.uk>
9412
9413 * glib/glibmm/ustring.h (ustring_Iterator<>): Turn the relational
9414 operators into non-templated functions, and rely on the implicit
9415 conversion of ustring::iterator to ustring::const_iterator. This
9416 makes the operators work with mixed argument types. (bgo #580773)
9417
9418 2009-04-27 Jonathon Jongsma <jonathon@quotidian.org>
9419
9420 * glibmm.doap: add mailto: protocol the email uris so the doap file
9421 is valid
9422
9423 2009-04-27 Jonathon Jongsma <jonathon@quotidian.org>
9424
9425 * examples/properties/Makefile.am
9426 * examples/properties/properties_example.cc
9427 * .gitignore
9428 * configure.ac
9429 * examples/Makefile.am: add a brief example of using properties with
9430 a Glib::Object-derived class
9431
9432 2009-04-23 Johannes Schmid <jschmid@openismus.com>
9433
9434 * tools/pm/DocParser.pm:
9435 Fix #568490 – gmmproc: gtk_accel_map_*() not substituted in documentation
9436 by adding some more special cases to the doc generation. Also fixes the same
9437 issue for most methods where the .defs file do not mention an object.
9438
9439 2009-03-26 Daniel Elstner <danielk@openismus.com>
9440
9441 * configure.ac: Rename from configure.in.
9442 * autogen.sh: Fix reference to configure.in.
9443 * MSVC_Net2005/glibmm/Makefile.am: ditto,
9444 * MSVC_Net2005/giomm/Makefile.am: ditto,
9445 * MSVC_Net2008/glibmm/Makefile.am: ditto,
9446 * MSVC_Net2008/giomm/Makefile.am: ditto.
9447
9448 2009-03-26 Daniel Elstner <danielk@openismus.com>
9449
9450 * scripts/dk-warn.m4: New file defining DK_ARG_ENABLE_WARNINGS().
9451 * scripts/macros.m4: Remove the old GTKMM_ARG_ENABLE_WARNINGS().
9452 * configure.in: Use new macro DK_ARG_ENABLE_WARNINGS() to set the
9453 Makefile variable $(GLIBMM_WXXFLAGS).
9454 * build_shared/Makefile_build.am_fragment (all_includes): Prepend
9455 $(GLIBMM_WXXFLAGS).
9456 * tools/extra_defs_gen/Makefile.am (INCLUDES): ditto,
9457 * examples/Makefile.am_fragment (all_includes): ditto,
9458 * tests/Makefile.am_fragment (INCLUDES): ditto.
9459
9460 2009-03-26 Daniel Elstner <danielk@openismus.com>
9461
9462 * gio/src/emblemedicon.hg: Remove stray semicolons to get rid of
9463 compiler warnings.
9464
9465 2009-03-26 Daniel Elstner <danielk@openismus.com>
9466
9467 * tools/m4/list.m4 (GP_LIST_FIND): Rewrite the two find() loops
9468 to avoid a GCC warning about a lone semicolon as a loop body.
9469
9470 2009-03-25 Murray Cumming <murrayc@murrayc.com>
9471
9472 * glib/src/glib_enums.defs:
9473 * glib/src/glib_functions.defs: Remove broken definitions - mostly
9474 functions that take function pointers. I wonder why I did not notice
9475 this before.
9476
9477 2009-03-23 Daniel Elstner <danielk@openismus.com>
9478
9479 * glib/src/keyfile.{ccg,hg}: Conditionalize all exception-handling
9480 code in order to fix the build with --disable-api-exceptions.
9481 * glib/src/regex.hg: ditto,
9482 * gio/src/appinfo.ccg: ditto,
9483 * gio/src/file.{ccg,hg}: ditto,
9484 * gio/src/outputstream.ccg: ditto,
9485 * examples/keyfile/main.cc: ditto,
9486 * examples/regex/main.cc: ditto,
9487 * tests/giomm_ioerror/main.cc: ditto,
9488 * tests/giomm_simple/main.cc: ditto.
9489
9490 2009-03-19 José Alburquerque <jaalburqu@svn.gnome.org>
9491
9492 * tools/m4/class_gobject.m4: Added _CUSTOM_CTOR_CAST to _CLASS_GOBJECT
9493 for classes that need to include custom code in their cast and
9494 construct_params constructors as is done with _CLASS_GTKOBJECT.
9495 Bug #574861.
9496
9497 2009-03-18 José Alburquerque <jaalburqu@svn.gnome.org>
9498
9499 * tools/m4/base.m4: Modified _GET_TYPE_FUNC() to properly work with
9500 types like GtkFOOBar producing, for example, gtk_foo_bar_get_type()
9501 instead of gtk_fo_obar_get_type().
9502 Bug #575870.
9503
9504 2009-03-16 Armin Burgmeier <armin@openismus.com>
9505
9506 * MSVC_Net2005/giomm/giomm.vcproj:
9507 * MSVC_Net2008/giomm/giomm.vcproj: Added emblem.[h|cc],
9508 emblemedicon.[h|cc] and memoryoutputstream.[h|cc] to the project.
9509
9510 * tools/extra_defs_gen/generate_defs_gio.cc: #ifdef-out the unix types
9511 on Windows.
9512
9513 2.20.0
9514
9515 2009-03-15 Jonathon Jongsma <jjongsma@gnome.org>
9516
9517 * configure.in: bump rev to 2.20.0
9518 * NEWS: update for release
9519
9520 2009-03-09 Daniel Elstner <danielk@openismus.com>
9521
9522 * tools/extra_defs_gen/generate_extra_defs.cc (get_properties):
9523 Replace nested double quotes in the docs string by single quotes
9524 to ease the parsing pain of gmmproc.
9525
9526 2.19.8:
9527
9528 2009-02-23 Murray Cumming <murrayc@murrayc.com>
9529
9530 * gio/src/gio_enums.defs: Regenerated, adding
9531 FILE_CREATE_REPLACE_DESTINATION and Error::TOO_MANY_OPEN_FILES.
9532 * gio/src/gio_signals.defs: Regenerated.
9533 * go/src/mountoperation: Added the aborted signal.
9534
9535 2009-02-22 Murray Cumming <murrayc@murrayc.com>
9536
9537 * gio/src/drive.hg: Remove extra ;s on the new signalsl, to avoid
9538 compiler warnings.
9539
9540 2.19.3
9541
9542 2009-02-20 Jonathon Jongsma <jonathon@quotidian.org>
9543
9544 * docs/reference/Makefile.am: fix distcheck issue
9545
9546 2009-02-20 Jonathon Jongsma <jonathon@quotidian.org>
9547
9548 * NEWS:
9549 * configure.in: update for 2.19.3 release
9550
9551 2009-02-17 Daniel Elstner <danielk@openismus.com>
9552
9553 * glib/glibmm/debug.h: Remove mention of G_GNUC_PRETTY_FUNCTION in
9554 comment because a code maintenance tool of André Klapper complained
9555 about it.
9556 * glib/glibmm/objectbase.cc: Likewise.
9557
9558 2009-02-06 Murray Cumming <murrayc@murrayc.com>
9559
9560 * gio/src/gio_methods.defs: Regenerated.
9561
9562 * gio/src/filterinputstream.hg: Added get/set_close_base_stream().
9563 * gio/src/filteroutputstream.hg: Added get/set_close_base_stream().
9564 * gio/src/unixinputstream.hg: Added get_fd() and get/set_close_fd().
9565 * gio/src/unixoutputstream.hg: Added get_fd() and get/set_close_fd().
9566
9567 * gio/src/datainputstream.[hg|ccg]: Added read_until_async(),
9568 read_until_finish(), read_line_async() and read_line_finish().
9569 Added documentation for read_until() and read_line().
9570
9571 2009-02-06 Murray Cumming <murrayc@murrayc.com>
9572
9573 * tools/extra_defs_gen/generate_defs_gio.cc: Added unix types.
9574 * gio/src/gio_signals.defs: Regenerated.
9575 * gio/src/bufferedinputstream.hg: Added buffer_size property.
9576 * gio/src/bufferedoutputstream.hg: Added buffer_size and auto_grow
9577 properties.
9578 * gio/src/datainputstream.hg: Added byte_order and newline_type
9579 properties.
9580 * gio/src/dataoutputstream.hg: Added byte_order property.
9581 * gio/src/filterinputstream.hg: Added close_base_ stream property.
9582 * gio/src/filteroutputstream.hg:
9583 * gio/src/unixinputstream.hg: Added fd and close_fd properties.
9584 * gio/src/unixoutputstream.hg: Added fd and close_fd properties.
9585
9586 2009-02-05 Theppitak Karoonboonyanan <thep@linux.thai.net>
9587
9588 * docs/reference/Doxyfile.in:
9589 * docs/reference/Makefile.am: Allow glibmm to build outside the source
9590 tree. Bug #570216
9591
9592 2009-02-05 Murray Cumming <murrayc@murrayc.com>
9593
9594 * glib/src/regex.hg: create(): For the version when
9595 GLIBMM_EXCEPTIONS_ENABLED is not defined, do not specify default
9596 parameter values because we have an extra error parameter.
9597 Bug #570648 (Bernd Buschinski)
9598
9599 2009-01-20 Deng Xiyue <manphiz@gmail.com>
9600
9601 * Change license header to mention Lesser General Public License
9602 version 2.1 instead of Library General Public License, to be
9603 consistent with COPYING.
9604
9605 2.19.2:
9606
9607 2009-01-19 Tao Wang <dancefire@gmail.com>
9608
9609 * glib/src/nodetree.hg: Do not use a non-ASCII dash character, to
9610 avoid the MSVC++ warning C4819 with Visual Studio 2008.
9611 Bug #568072
9612
9613 2009-01-09 Murray Cumming <murrayc@murrayc.com>
9614
9615 * glib/glibmm/wrap.h: wrap_auto_interface<>(): Add a warning to give a
9616 clue when the dynamic_cast fails, for instance if you are doing some
9617 incorrect multiple inheritance.
9618
9619 2009-01-08 Daniel Elstner <danielk@openismus.com>
9620
9621 * glib/glibmm/ustring.h (ustring::compose): Add an overload which
9622 takes only a format string and no arguments to be substituted. It
9623 is essentially a null-operation as long as the format string does
9624 not contain any invalid argument references. Bug #506394.
9625
9626 2009-01-06 Jonathon Jongsma <jonathon@quotidian.org>
9627
9628 * glib/src/uriutils.ccg: fix a memory leak in the uri utility functions
9629 caused by not freeing the returned C string. Bug #566845 (Jason Kasper)
9630
9631 2009-01-03 Murray Cumming <murrayc@murrayc.com>
9632
9633 * gio/src/file.ccg: Added implementation of the
9634 make_directory_with_parents() method overload that takes no parameter.
9635 Bug #566003 (Philip Belemezov).
9636
9637 2008-12-24 Murray Cumming <murrayc@murrayc.com>
9638
9639 * glib/src/spawn.ccg:
9640 * glib/src/spawn.hg: Added Glib::spawn_*() alternative API for when
9641 GLIBMM_EXCEPTIONS_ENABLED is not enabled (when compiling without
9642 C++ exceptions.)
9643 Bug #565487
9644 (Jonathon Jongsma)
9645
9646 2008-12-14 Jonathon Jongsma <jonathon@quotidian.org>
9647
9648 * NEWS: update for follow-up release
9649
9650 2008-12-14 Jonathon Jongsma <jonathon@quotidian.org>
9651
9652 * configure.in: bump to 2.19.1
9653
9654 2008-12-14 Jonathon Jongsma <jonathon@quotidian.org>
9655
9656 * gio/src/drive.hg: Wrap new signals 'changed', 'disconnected', and
9657 'eject_button' with the no_default_handler option so that we don't break ABI
9658 by adding new virtual functions
9659
9660 === 2.19.0 ===
9661
9662 2008-12-12 Jonathon Jongsma <jonathon@quotidian.org>
9663
9664 * NEWS: update for release
9665
9666 2008-12-12 Jonathon Jongsma <jonathon@quotidian.org>
9667
9668 * tests/giomm_ioerror/main.cc:
9669 * tests/giomm_simple/main.cc: use common filenames so that people other than
9670 murrayc can run the tests without errors
9671
9672 2008-12-12 Jonathon Jongsma <jonathon@quotidian.org>
9673
9674 * gio/src/memoryoutputstream.hg: Fix a copy-paste error where I accidentally
9675 left a FilterOutputStream type in
9676
9677 2008-12-02 Jonathon Jongsma <jonathon@quotidian.org>
9678
9679 * gio/src/memoryoutputstream.ccg:
9680 * gio/src/memoryoutputstream.hg: Added MemoryOutputStream, but needs a bit
9681 of work on the constructor yet
9682
9683 2008-12-02 Jonathon Jongsma <jonathon@quotidian.org>
9684
9685 * gio/src/Makefile_list_of_hg.am_fragment:
9686 * gio/src/emblem.ccg:
9687 * gio/src/emblem.hg:
9688 * gio/src/emblemedicon.ccg:
9689 * gio/src/emblemedicon.hg:
9690 * tools/m4/convert_gio.m4: add Emblem and EmblemedIcon classes
9691
9692 2008-12-02 Jonathon Jongsma <jonathon@quotidian.org>
9693
9694 * tools/m4/convert_glib.m4: add a conversion for Glib::KeyFile&
9695 * gio/src/desktopappinfo.hg: wrap the new create_from_keyfile() function.
9696 In addition, I removed the _WRAP_CTOR and _WRAP_CREATE usage from the
9697 desktop_id constructor and wrapped all of the static create* functions using
9698 _WRAP_METHOD since these functions do a lot of error handling and can fail
9699 to create an object under some circumstances.
9700
9701 2008-12-02 Jonathon Jongsma <jonathon@quotidian.org>
9702
9703 * docs/reference/Makefile.am: rebuild docs when a giomm header file is
9704 changed (similar to how we handle glibmm)
9705
9706 2008-12-02 Jonathon Jongsma <jonathon@quotidian.org>
9707
9708 * gio/giomm/contenttype.cc:
9709 * gio/giomm/contenttype.h: add content_type_from_mime_type()
9710
9711 2008-12-02 Jonathon Jongsma <jonathon@quotidian.org>
9712
9713 Wrap a bunch of new / missed API
9714
9715 * gio/src/appinfo.hg:
9716 * gio/src/appinfo.ccg: AppInfo::get_commandline(), can_delete(), do_delete()
9717 (need better name?), reset_type_associations(), launch_default_for_uri()
9718 * gio/src/cancellable.hg: add commented-out make_pollfd() since I'm not sure
9719 yet whether it's useful with the C++ API or not
9720 * gio/src/drive.hg: Added signals 'changed', 'disconnected', and
9721 'eject_button'
9722 * gio/src/icon.hg:
9723 * gio/src/icon.ccg: Added Icon::create(string) and Icon::to_string()
9724 * gio/src/mount.hg:
9725 * gio/src/mount.ccg: Added Mount::guess_content_type_sync(), is_shadowed(),
9726 shadow(), and unshadow()
9727
9728 2008-12-01 Jonathon Jongsma <jonathon@quotidian.org>
9729
9730 * configure.in: bump requirement to glib 2.19.x
9731 * gio/src/gio_docs.xml:
9732 * gio/src/gio_enums.defs:
9733 * gio/src/gio_methods.defs:
9734 * gio/src/gio_signals.defs:
9735 * glib/src/glib_docs.xml:
9736 * glib/src/glib_enums.defs:
9737 * glib/src/glib_functions.defs:
9738 * glib/src/gmodule_enums.defs:
9739 * glib/src/gmodule_functions.defs:
9740 * glib/src/gobject_enums.defs:
9741 * glib/src/gobject_functions.defs: update the .defs to start on 2.19.x API
9742
9743 2008-12-01 Jonathon Jongsma <jonathon@quotidian.org>
9744
9745 * Makefile.am: add some convenience rules for generating the .defs files
9746
9747 2008-09-22 Dave Foster <daf@minuslab.net>
9748
9749 * glib/glibmm/main.h:
9750 * glib/glibmm/main.cc: Added SignalIdle::connect_once,
9751 SignalTimeout::connect_once, and SignalTimeout::connect_seconds_once.
9752
9753 2008-12-10 Przemysław Grzegorczyk <pgrzegorczyk@gmail.com>
9754
9755 * Cleaned up glib includes since in the future, only glib.h (and
9756 glib-object.h, etc) will be allowed to be included directly.
9757 Bug #563987
9758
9759 2008-12-01 Hubert Figuiere <hub@figuiere.net>
9760
9761 * glib/src/markup.ccg: Change the way unused variables
9762 are marked. Bug #562716
9763
9764 2008-11-29 Hubert Figuiere <hub@figuiere.net>
9765
9766 * glib/src/nodetree.hg: Fix -Wshadow warnings. Bug #555743.
9767
9768 2008-10-20 Jonathon Jongsma <jonathon@quotidian.org>
9769
9770 * NEWS:
9771 * configure.in: bump version to 2.18.1, prepare NEWS for release
9772
9773 2008-10-20 Jonathon Jongsma <jonathon@quotidian.org>
9774
9775 * Makefile.am: updated the release-announce template
9776
9777 2008-10-16 Armin Burgmeier <armin@openismus.com>
9778
9779 * glib/glibmm/ustring.h: Fixed the const char* specialization for
9780 Stringify<> by making the string_ member a const Glib::ustring instead
9781 of a const Glib::ustring&. Also enabled the char[N] specialization for
9782 string literals.
9783
9784 * tests/glibmm_ustring_compose/main.cc: Enabled the test for the
9785 specialization for string literals.
9786 Bug #506410 (Szilárd Pfeiffer)
9787
9788 2008-10-15 José Alburquerque <jaalburqu@svn.gnome.org>
9789
9790 * tools/extra_defs_gen/generate_extra_defs.cc: Modify signal and props
9791 generation tool to generate interface signals.
9792
9793 2008-10-15 Armin Burgmeier <armin@openismus.com>
9794
9795 * gio/src/fileenumerator.hg:
9796 * gio/src/fileenumerator.ccg: Made FileEnumerator::next_file not add
9797 an additional reference to the return value, because the C version
9798 creates a new object. Also, changed ownership of the list returned by
9799 FileEnumerator::next_files_finish to be deep instead of shallow. Bug
9800 #556387.
9801
9802 2008-10-09 Armin Burgmeier <armin@openismus.com>
9803
9804 * gio/src/fileinfo.hg: Rename FILE_TYPE_UNKNOWN to FILE_TYPE_NOT_KNOWN
9805 because the former is a #define on Windows in winbase.h, included from
9806 windows.h. Keep FILE_TYPE_UNKNOWN for compatibility if it is not
9807 already defined.
9808
9809 2008-10-09 Armin Burgmeier <armin@openismus.com>
9810
9811 * MSVC_Net2008/Makefile.am: Removed README from EXTRA_DIST to fix
9812 `make dist'.
9813
9814 2008-10-08 Armin Burgmeier <armin@openismus.com>
9815
9816 * MSVC_Net2005/examples/dispatcher2/dispatcher2.vcproj:
9817 * MSVC_Net2005/examples/dispatcher/dispatcher.vcproj:
9818 * MSVC_Net2005/examples/options/options.vcproj:
9819 * MSVC_Net2005/examples/thread/thread.vcproj:
9820 * MSVC_Net2005/examples/thread_pool/thread_pool.vcproj:
9821 * MSVC_Net2005/giomm/giomm.vcproj:
9822 * MSVC_Net2005/glibmm/glibmm.vcproj: Adapt to the new MSVC++ DLL
9823 naming convention.
9824
9825 * MSVC_Net2008/: Added MSVC 2008 project files.
9826
9827 * configure.in:
9828 * Makefile.am: Add the new files to the build.
9829
9830 2008-10-04 Jonathon Jongsma <jonathon@quotidian.org>
9831
9832 * gio/src/error.hg: add a workaround for the HOST_NOT_FOUND symbol
9833 conflicts, as suggested by Szilárd Pfeiffer in Bug #529496
9834 * tests/giomm_ioerror/main.cc: add a test for this
9835
9836 2008-09-19 Armin Burgmeier <armin@openismus.com>
9837
9838 * tools/pm/DocsParser.pm (convert_tags_to_doxygen): Keep @param and
9839 @throws intact, so these can be used in *_docs_override_xml. Bug
9840 #539891.
9841
9842 2008-09-22 Armin Burgmeier <armin@arbur.net>
9843
9844 * MSVC_Net2005/glibmm/glibmm.vcproj: Added uriutils.cc and nodetree.cc
9845 to the project.
9846
9847 2008-09-22 Armin Burgmeier <armin@arbur.net>
9848
9849 * MSVC_Net2005/examples/dispatcher2/dispatcher2.vcproj:
9850 * MSVC_Net2005/examples/dispatcher/dispatcher.vcproj:
9851 * MSVC_Net2005/examples/markup/markup.vcproj:
9852 * MSVC_Net2005/examples/options/options.vcproj:
9853 * MSVC_Net2005/examples/thread/thread.vcproj:
9854 * MSVC_Net2005/examples/thread_pool/thread_pool.vcproj:
9855 * MSVC_Net2005/giomm/giomm.vcproj:
9856 * MSVC_Net2005/glibmm/glibmm.vcproj:
9857 * MSVC_Net2005/tests/giomm_simple/giomm_simple.vcproj:
9858 * MSVC_Net2005/tests/glibmm_value/glibmm_value.vcproj: Fixed the MSVC
9859 build of the examples and tests if configure did not run before.
9860
9861 === 2.18.0 ===
9862
9863 2008-09-21 Jonathon Jongsma <jonathon@quotidian.org>
9864
9865 * Makefile.am: fix a minor issue in the release target
9866
9867 2008-09-21 Jonathon Jongsma <jonathon@quotidian.org>
9868
9869 * NEWS: Add news for 2.18 release
9870 * configure.in: bump version number for release
9871 * Makefile.am: update release mail template slightly
9872
9873 2008-09-08 Murray Cumming <murrayc@murrayc.com>
9874
9875 * COPYING.tools:
9876 * Makefile.am: Added COPYING.tools with the GPL because the tools/*.cc
9877 file is GPL. Bug #550789.
9878
9879 === 2.17.3 ===
9880
9881 2008-09-03 Jonathon Jongsma <jjongsma@gnome.org>
9882
9883 * NEWS: update for release
9884 * configure.in: bump version for release
9885
9886 2008-08-26 Szilárd Pfeiffer <szilard.pfeiffer@gmail.com>
9887
9888 * glib/src/nodetree.hg: Implemented clone function to merge the
9889 constructors into that and fixed clear function the operator=
9890 function.
9891 * tests/glibmm_nodetree/main.cc: Simplified the test case.
9892 Bug #547901.
9893
9894 2008-08-27 Armin Burgmeier <armin@arbur.net>
9895
9896 * MSVC_Net2005/glibmm/glibmm.rc.in:
9897 * MSVC_Net2005/giomm/giomm.rc.in: Replaced #include "afxres.h" by
9898 #include <windows.h> which does the job equally well, and allows
9899 compilation with the freely available Visual Studio Express compiler.
9900
9901 2008-08-27 Armin Burgmeier <armin@arbur.net>
9902
9903 * glib/glibmm/ustring.cc: Only include config.h when HAVE_CONFIG_H is
9904 defined, to allow building glibmm with MSVC without having generated
9905 config.h before. The only thing config.h is used for is the
9906 SIZEOF_WCHAR_T define anyway, and this is not needed for a MSVC build.
9907 Bug #549343.
9908
9909 2008-08-26 Murray Cumming <murrayc@murrayc.com>
9910
9911 * tests/glibmm_nodetree/main.cc: Actually use the copy constructor (or operator=),
9912 instead of just copying the pointer.
9913
9914 2008-08-26 Murray Cumming <murrayc@murrayc.com>
9915
9916 * glib/src/nodetree.hg: Added an operator=() because we have a copy constructor.
9917 Moved some code into a private clear() method so we can reuse it.
9918
9919 2008-08-26 Szilárd Pfeiffer <szilard.pfeiffer@gmail.com>
9920
9921 * glib/src/nodetree.hg: Added a copy constructor. Therefore, take
9922 store the data by value instead of reference, taking it by const reference.
9923 * tests/glibmm_nodetree/main.cc: Test the copy constructor.
9924 Bug #547909.
9925
9926 2008-08-15 Szilárd Pfeiffer <szilard.pfeiffer@gmail.com>
9927
9928 * glib/src/nodetree.hg: Fixed pointer handling problem in find_child.
9929 Bug #547909.
9930
9931 2008-08-15 Szilárd Pfeiffer <szilard.pfeiffer@gmail.com>
9932
9933 * tests/glibmm_nodetree/main.cc: Implement the C++ version of GNode test
9934 case.
9935 Bug #547889
9936
9937 2008-07-29 Szilárd Pfeiffer <szilard.pfeiffer@gmail.com>
9938
9939 * glib/src/nodetree.hg: Use const_cast<> in the necessary const member
9940 functions instead of gobj() to fix the compilation when using these.
9941 Bug #546485.
9942
9943 2008-08-08 Armin Burgmeier <armin@arbur.net>
9944
9945 * MSVC_Net2005/: Moved from MSVC_Net2003
9946
9947 * MSVC_Net2005/glibmm.sln:
9948 * MSVC_Net2005/glibmm/glibmm.vcproj:
9949 * MSVC_Net2005/examples/dispatcher/dispatcher.vcproj: Converted to
9950 project files for Visual Studio 2005.
9951
9952 * MSVC_Net2005/glibmm/glibmm.rc.in: Removed the #include "resource.h"
9953 since there is no resource.h in the project, and the resource still
9954 seems to compile.
9955
9956 * MSVC_Net2005/giomm/giomm.rc.in:
9957 * MSVC_Net2005/giomm/giomm.vcproj:
9958 * MSVC_Net2005/giomm/Makefile.am: Added giomm to the MSVC project.
9959
9960 * MSVC_Net2005/tests/giomm_simple/giomm_simple.vcproj:
9961 * MSVC_Net2005/tests/giomm_simple/Makefile.am: Added giomm_simple to
9962 the MSVC project.
9963
9964 * MSVC_Net2005/tests/Makefile.am:
9965 * MSVC_Net2005/Makefile.am:
9966 * Makefile.am:
9967 * configure.in: Adapted build files.
9968
9969 === 2.17.2 ===
9970
9971 2008-08-06 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
9972
9973 * NEWS: update for 2.17.2
9974 * configure.in: bump version
9975
9976 2008-08-06 Murray Cumming <murrayc@murrayc.com>
9977
9978 * configure.in:
9979 * tests/Makefile.am:
9980 * tests/glibmm_ustring_compose/main.cc: Added a test case.
9981 * glib/glibmm/ustring.h: Added a ustring::Stringify<>
9982 template specialization so that ustring::compose() works with
9983 const char* arguments, though it still needs to be fixed to
9984 work for string literals.
9985 Bug #506410 (Szilárd Pfeiffer).
9986
9987 2008-08-06 Murray Cumming <murrayc@murrayc.com>
9988
9989 * glib/src/nodetree.hg: Make gobject_ and data_ private,
9990 to remove them from protected API. Patch from Szilárd Pfeiffer.
9991 Bug #546485.
9992 Make gobj() inline.
9993
9994 2008-08-04 Murray Cumming <murrayc@murrayc.com>
9995
9996 * glib/glibmm/propertyproxy.h: Added some API documentation
9997 about the need to register a new GType when adding properties.
9998 Bug #523043 (Moritz Ulrich).
9999
10000 2008-08-02 Murray Cumming <murrayc@murrayc.com>
10001
10002 * docs/reference/glibmm_header.html_fragment: Change the Main
10003 Page link to link to gtkmm.org/documentation.shtml
10004
10005 2008-07-29 Murray Cumming <murrayc@murrayc.com>
10006
10007 * glib/glibmm/Makefile.am: Remove the mention of tree.cc here to
10008 fix the build. Generated files should never be menioned there.
10009
10010 2008-07-29 Murray Cumming <murrayc@murrayc.com>
10011
10012 * glib/src/nodetree.hg: Hand-code the TraverseType enum, to add
10013 a prefix to the values.
10014 * tests/glibmm_nodetree/main.cc: Adapted.
10015
10016 2008-07-29 Murray Cumming <murrayc@murrayc.com>
10017
10018 * glib/src/nodetree.hg: find(), find_child(), traverse(), foreach():
10019 Rearrange the parameters so we can have default values.
10020 * tests/glibmm_nodetree/main.cc: Adapted.
10021
10022 2008-07-29 Murray Cumming <murrayc@murrayc.com>
10023
10024 * glib/src/nodetree.hg: Move the TraverseFlags enum into
10025 the class, and hand-code it to avoid problems with _WRAP_ENUM().
10026 * tests/glibmm_nodetree/main.cc: Adapted.
10027 Bug #545050 (Szilárd Pfeiffer).
10028
10029 2008-07-29 Murray Cumming <murrayc@murrayc.com>
10030
10031 * configure.in:
10032 * glib/glibmm.h:
10033 * glib/src/Makefile_list_of_hg.am_fragment:
10034 * glib/src/nodetree.hg:
10035 * glib/src/tree.hg: Renamed to nodetree.hg
10036 * tests/Makefile.am:
10037 * tests/glibmm_tree/Makefile.am:
10038 * tests/glibmm_tree/main.cc: Renamed to glibmm_nodetree/
10039
10040 2008-07-29 Murray Cumming <murrayc@murrayc.com>
10041
10042 * glib/src/tree.hg: Renamed Glib::Tree to Glib::NodeTree to avoid
10043 confusion with GTree, because we actually wrap GNode, but do not like
10044 that name. As discussed in bug #520778.
10045 * tests/glibmm_tree/main.cc: Adapted.
10046
10047 2008-07-29 Murray Cumming <murrayc@murrayc.com>
10048
10049 * Makefile.am: Build the docs at the end, after the tests, to
10050 save time when testing API changes.
10051
10052 * glib/src/tree.hg: Const corrections: Add const and non-const versions
10053 of many methods, instead of returning non-const objects from const methods.
10054 find().
10055 Changed max_height() to get_max_height() for consistency.
10056 * tests/glibmm_tree/main.cc: Adapted to changed API.
10057
10058 2008-07-29 Szilárd Pfeiffer <szilard.pfeiffer@gmail.com>
10059
10060 * glib/src/tree.hg: Make the callbacks take a Tree<> instead of just
10061 the data, so they can use methods on the tree (which can be a node
10062 in the tree).
10063 gobject_: Make this protected.
10064 Provide the this pointer as data to g_node_new() so we can retrieve
10065 it later.
10066 Removed children_ and parent_ because we don't need a separate store now that
10067 we can get the C++ instance from the gobject instance.
10068 owns_gobject_: Removed because it is was always true, so the gobject was
10069 always destroyed (and still is).
10070 * tests/glibmm_tree/main.cc: Updated for the changed API.
10071 Bug #520778.
10072
10073 2008-07-25 Murray Cumming <murrayc@murrayc.com>
10074
10075 * gio/src/volumemonitor.hg: Added the drive_eject_button signal.
10076
10077 2008-07-25 Murray Cumming <murrayc@murrayc.com>
10078
10079 * gio/src/gio_enums.defs: Hacked in a replacement
10080 enum for Gio::Error::HOST_NOT_FOUND as
10081 Gio::Error::HOST_WAS_NOT_FOUND, to avoid a clash with
10082 a netdb.h define.
10083 Bug #529496.
10084 * configure.in:
10085 * tests/Makefile.am:
10086 * tests/giomm_ioerror/Makefile.am:
10087 * tests/giomm_ioerror/main.cc: Added a test to make sure
10088 that our hacked-in enum value stays hacked in.
10089
10090 2008-07-25 Murray Cumming <murrayc@murrayc.com>
10091
10092 * gio/src/gio_enums.defs:
10093 * gio/src/gio_methods.defs:
10094 * gio/src/gio_signals.defs: Regenerated.
10095 * gio/src/mount.hg: Corrected an _IGNORE().
10096 * gio/giomm/contenttype.cc:
10097 * gio/giomm/contenttype.h: Added content_type_guess_for_tree().
10098
10099 2008-07-23 Damien Carbery <damien.carbery@sun.com>
10100
10101 * scripts/macros.m4: Change grep to use -i when checking for GNU m4.
10102 This fixes the test on Solaris. Bug #423990.
10103
10104 === 2.17.1 ===
10105
10106 2008-07-16 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
10107
10108 * NEWS: update for new release
10109
10110 2008-07-16 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
10111
10112 * configure.in: bump version and min required glib version
10113
10114 2008-07-16 Jens Georg <mail@jensge.org>
10115
10116 * MSVC_Net2003/glibmm/glibmm.vcproj: Mention new source files
10117 for regex and keyfile.
10118 Bug #543292.
10119
10120 2008-07-16 Murray Cumming <murrayc@murrayc.com>
10121
10122 * gio/src/file.ccg:
10123 * gio/src/file.hg: Added make_directory_with_parents(),
10124 query_file_type(), monitor().
10125 * gio/src/fileenumerator.ccg:
10126 * gio/src/fileenumerator.hg: Added get_container().
10127 * gio/src/mount.hg: Added guess_content_type() and
10128 guess_content_type_finish().
10129 * gio/src/themedicon.hg: Added prepend_name().
10130 * gio/src/volume.hg: Added get_activation_root().
10131 * tools/m4/convert_gio.m4: Added a necessary conversion.
10132
10133 2008-07-15 Murray Cumming <murrayc@murrayc.com>
10134
10135 * gio/src/gio_methods.defs:
10136 * glib/src/glib_functions.defs: Regenerated with h2def.py
10137 * glib/src/checksum.hg: Added reset().
10138
10139 2008-07-15 Murray Cumming <murrayc@murrayc.com>
10140
10141 * gio/src/appinfo.ccg:
10142 * gio/src/appinfo.hg: Avoid a circular include to fix the build.
10143
10144 2008-07-15 Benjamin Herr <ben@0x539.de>
10145
10146 * gio/src/volumemonitor.hg: Removed some unnecessary ; characters,
10147 to avoid warnings.
10148 Bug #542929.
10149
10150 2008-07-14 Murray Cumming, <murrayc@murrayc.com>
10151
10152 * tools/m4/convert_gio.m4:
10153 * gio/src/appinfo.hg: get_display(), get_startup_notify_id():
10154 Take a list of Gio::File, not filepath string. Now that the C API is
10155 properly documented we know that this is correct. It's an API break
10156 but this function could nothave worked before.
10157
10158 * glib/src/glib_docs.xml: Regenerate.
10159 * glib/src/glib_docs_override.xml: Add overrides for
10160 g_key_file_load_from_file() and g_key_file_get_value() to mention
10161 exceptions.
10162
10163 2008-06-30 Johannes Schmid <jhs@gnome.org>
10164
10165 * glib/glibmm/containerhandle_shared.h:
10166 Improve documentation of Glib::OwnershipType (#540875)
10167
10168 2008-07-02 Armin Burgmeier <armin@arbur.net>
10169
10170 * gio/src/file.ccg: Pass NULL to the underlying C function for the
10171 etags parameter in the various replace_contents functions. Also bug
10172 #540656.
10173
10174 2008-06-28 Armin Burgmeier <armin@arbur.net>
10175
10176 * gio/src/file.ccg: Pass NULL to the underlying C function for the
10177 etags parameter in various *_replace functions. Otherwise, existing
10178 files are not overwritten. Bug #540656.
10179
10180 2008-06-23 Murray Cumming <murrayc@murrayc.com>
10181
10182 * configure.in:
10183 * examples/Makefile.am:
10184 * examples/keyfile/Makefile.am:
10185 * examples/keyfile/example.ini:
10186 * examples/keyfile/main.cc: Added a little KeyFile example. I am
10187 surprised that we do not seem to have one somewhere already.
10188 I need to move all these glibmm examples into gtkmm-documentation some
10189 time.
10190
10191 2008-06-19 Murray Cumming <murrayc@murrayc.com>
10192
10193 * glib/src/tree.hg: Some whitespace changes. And more use of typedefs
10194 to simplify the code.
10195
10196 2008-06-19 Levi Bard <taktaktaktaktaktaktaktaktaktak@gmail.com>
10197
10198 * glib/src/tree.hg: Some minor changes to deal with TODOs.
10199 Bug #538803.
10200
10201 2008-06-17 Chris Vine <chris@cvine.freeserve.co.uk>
10202
10203 * glib/src/thread.hg: document that the slot object passed to
10204 Glib::Thread::create() should not represent a non-static method of
10205 a class derived from sigc::trackable.
10206 See bug #512348.
10207
10208 === 2.17.0 ===
10209
10210 2008-06-16 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
10211
10212 * NEWS:
10213 * configure.in: update for new release
10214
10215 2008-06-13 Levi Bard <taktaktaktaktaktaktaktaktaktak@gmail.com>
10216
10217 * glib/glibmm.h:
10218 * glib/glibmm/Makefile.am:
10219 * glib/src/Makefile_list_of_hg.am_fragment:
10220 * glib/src/tree.ccg:
10221 * glib/src/tree.hg: Added Glib::Tree, a wrapper for GNode, providing
10222 an N-ary tree container, more or less like a standard C++ container.
10223 * configure.in:
10224 * tests/Makefile.am: Added some test code for this new API.
10225 Bug #520778
10226
10227 2008-06-13 Murray Cumming <murrayc@murrayc.com>
10228
10229 * glib/src/date.hg: Used @newin2p18 on the new API and made some
10230 slight corrections to the new reference documentation comments.
10231
10232 2008-06-11 José Alburquerque <jaalburqu@svn.gnome.org>
10233
10234 * tests/glibmm_date/Makefile.am: Contents of files in
10235 tests/glibmm_date/ (main.cc and Makefile.am) were duplicated when I
10236 applied patch in bug #536721 to already existing files before 6/9
10237 commit. Fixed main.cc already, so now repaired Makefile.am.
10238
10239 2008-06-10 José Alburquerque <jaalburqu@svn.gnome.org>
10240
10241 * tests/glibmm_date/main.cc: Removed duplicate code so test can
10242 compile.
10243
10244 2008-06-09 José Alburquerque <jaalburqu@svn.gnome.org>
10245
10246 * glib/src/date.ccg:
10247 * glib/src/date.hg: Added copy constructor and assignment operator;
10248 Made GDate constructor visible.
10249
10250 * configure.in:
10251 * tests/Makefile.am:
10252 * tests/glibmm_date/Makefile.am:
10253 * tests/glibmm_date/main.cc: Added simple test to test Glib::Date.
10254
10255 This is svn trunk for new API, wrapping glib 2.17/18. See also the glibmm-2-16 branch.
10256
10257 2008-04-25 Jonathon Jongsma <jjongsma@gnome.org>
10258
10259 * gio/src/drive.hg:
10260 * gio/src/volume.hg: add TypeTraits implementations for Drive and Volume
10261 similar to the one added for Mount.
10262
10263 2008-04-23 Jonathon Jongsma <jjongsma@gnome.org>
10264
10265 * gio/src/mount.hg: Add a TypeTraits implementation for
10266 Glib::RefPtr<Gio::Mount> so that we can wrap implementor types that don't
10267 have a wrapper (e.g. GHalMount in gvfs). Fixes bug #529533
10268
10269 2008-04-24 Jonathon Jongsma <jjongsma@gnome.org>
10270
10271 * glib/glibmm/wrap.cc: Improve the error message when failing to wrap a
10272 particular type of object to give a hint about initializing the library
10273 since we get so many questions about this (bug #529648)
10274
10275 2.16.2:
10276
10277 2008-04-18 Jonathon Jongsma <jjongsma@gnome.org>
10278
10279 * NEWS:
10280 * configure.in: bump to 2.16.2 for release
10281
10282 2008-04-16 Murray Cumming <murrayc@murrayc.com>
10283
10284 * glib/src/spawn.hg: Moved the enum back out of the doxygen group,
10285 because that results in the enums group being inside the spawn group.
10286
10287 2008-04-16 Murray Cumming <murrayc@murrayc.com>
10288
10289 * glib/src/spawn.hg: Addded doxygen documentation based on the
10290 C documentation.
10291 Bug #528271 (Jonathon Jongsma)
10292
10293 2008-04-13 Murray Cumming <murrayc@murrayc.com>
10294
10295 * glib/src/optionentry.ccg: set_long_name(): Do not use NULL for an
10296 empty string, because "" has a special meaning to GOptionEntry - it
10297 is the definition of G_OPTION_REMANING.
10298 * examples/options/main.cc: Add an entry with the long name
10299 G_OPTION_REMAINING, to list additional non-named arguments. More
10300 explicit API should be added for this.
10301 Bug #526831 (Christian Lundgren).
10302
10303 2008-04-13 Murray Cumming <murrayc@murrayc.com>
10304
10305 * glib/glibmm/ustring.cc erase(): Create an end iterator and use it,
10306 instead of just using the std::string(iterator) erase implementation,
10307 because that only removes one byte, which can make the whole string
10308 invalid UTF-8.
10309 Bug #527687 (Jarro).
10310
10311 2008-04-11 Murray Cumming <murrayc@murrayc.com>
10312
10313 * glib/src/optionentry.ccg:
10314 * glib/src/optionentry.hg: Hand-code set_description(),
10315 set_arg_description() and set_long_name(), to free any existing string,
10316 to maybe fix a (possible) leak found by valgrind.
10317
10318 2008-03-29 Jonathon Jongsma <jjongsma@gnome.org>
10319
10320 * Makefile.am: add some more convenience targets for making releases
10321
10322 2.16.1:
10323
10324 2008-03-28 Tim Retout <tim@retout.co.uk>
10325
10326 * glib/glibmm/helperlist.h (operator[]): Add a newline before
10327 the semicolon at the end of the 'for' loop. Fixes g++ 4.3 warning.
10328
10329 2008-03-29 Jonathon Jongsma <jjongsma@gnome.org>
10330
10331 * NEWS: updated
10332 * configure.in: bump to 2.16.1
10333
10334 2008-03-29 Murray Cumming <murrayc@murrayc.com>
10335
10336 * gio/src/file.hg:
10337 * gio/src/file.ccg: query_default_handler(), set_display_name(),
10338 query_info(), query_filesystem_info(): Do not take an extre reference,
10339 because the C functions all provide new objects with an initial
10340 reference. I checked.
10341
10342 2008-03-28 Murray Cumming <murrayc@murrayc.com>
10343
10344 * gio/src/file.ccg: create(), replace(): Do not take an extra reference,
10345 because the C function has given us a new instance with an initial
10346 reference. The leak stopped the stream from really replacing the file,
10347 because that only happens when it is closed.
10348
10349 2008-03-28 Murray Cumming <murrayc@murrayc.com>
10350
10351 * gio/src/file.hg:
10352 * gio/src/outputstream.hg: Documentation: Remove/fix mentions of 0 when
10353 we mean something else.
10354
10355 2008-03-24 Jonathon Jongsma <jjongsma@gnome.org>
10356
10357 * gio/src/desktopappinfo.hg:
10358 * gio/src/unixinputstream.hg:
10359 * gio/src/unixmount.hg:
10360 * gio/src/unixoutputstream.hg: don't wrap these unix-specific types when
10361 building on MS Windows (bug #524126)
10362
10363 2008-03-18 Murray Cumming <murrayc@murrayc.com>
10364
10365 * gio/src/file.hg: Include giomm/error.h Because Gio::Error is thrown
10366 by some of these methods and it is annoying to have to include it
10367 separately just to catch that.
10368
10369 2.16.0:
10370
10371 2008-03-10 Tim Mooney <murrayc@murrayc.com>
10372
10373 * glib/glibmm/object.cc: Include string.h to fix the build with
10374 SUN CC.
10375 Bug #498438.
10376
10377 2008-03-07 Jonathon Jongsma <jjongsma@gnome.org>
10378
10379 * glib/glibmm.h: add an include for checksum.h which was added in the 2.15.x
10380 series.
10381
10382 2008-03-05 Murray Cumming <murrayc@murrayc.com>
10383
10384 * MAINTAINERS: Added Jonathon Jongsma as co-maintainer.
10385
10386 2008-03-05 Murray Cumming <murrayc@murayc.com>
10387
10388 * tools/m4/convert_gio.m4: Use __CONVERT_CONST_REFPTR_TO_P_SUN() instead
10389 of __CONVERT_REFPTR_TO_P() to maybe fix the build with Sun CC.
10390 (Simon Zheng)
10391
10392 2008-03-04 Jonathon Jongsma <jjongsma@gnome.org>
10393
10394 * Makefile.am: updated the 'release' target to give a bit more helpful error
10395 messages
10396
10397 2008-03-04 Murray Cumming <murrayc@murrayc.com>
10398
10399 * gio/src/gio_docs.xml: Regenerated with docextract_to_xml.py.
10400 * gio/src/gio_docs_override.xml: Overrode g_file_query_exists() to
10401 mention an exception instead of an error. G_IO_ERROR_* now does not
10402 appear in any of our documentation.
10403
10404 2.15.8:
10405
10406 2008-03-03 Murray Cumming <murrayc@murrayc.com>
10407
10408 * gio/src/bufferedinputstream.hg:
10409 * gio/src/bufferedoutputstream.hg:
10410 * gio/src/datainputstream.hg:
10411 * gio/src/dataoutputstream.hg:
10412 * gio/src/fileinputstream.hg:
10413 * gio/src/fileoutputstream.hg:
10414 * gio/src/filterinputstream.hg:
10415 * gio/src/filteroutputstream.hg:
10416 * gio/src/inputstream.hg:
10417 * gio/src/memoryinputstream.hg:
10418 * gio/src/mount.hg:
10419 * gio/src/outputstream.hg:
10420 * gio/src/seekable.hg:
10421 * gio/src/unixinputstream.hg:
10422 * gio/src/unixoutputstream.hg: Put these in a Streams doxygen group.
10423 We should think of some more groups, maybe by looking at the C
10424 documentation.
10425
10426 2008-03-03 Murray Cumming <murrayc@murrayc.com>
10427
10428 * gio/src/file.ccg:
10429 * gio/src/file.hg: load_contents(), load_contents_finish(),
10430 load_partial_contents_finish(): Use char*& instead of char** for contents,
10431 though that is not that great either. Use std::string& instead of char**
10432 for etag_out. Added method overloads without cancellable.
10433 We might want other method overloads in future.
10434
10435 2008-02-29 Jonathon Jongsma <jjongsma@gnome.org>
10436
10437 * Makefile.am: added 'release' target which will run distcheck, tag the
10438 repository with the current version and upload the tarball to
10439 master.gnome.org
10440
10441 2008-02-27 Murray Cumming <murrayc@murrayc.com>
10442
10443 * gio/src/asyncresult.hg:
10444 * gio/src/file.hg:
10445 * gio/src/fileenumerator.hg:
10446 * gio/src/fileinputstream.hg:
10447 * gio/src/fileoutputstream.hg:
10448 * gio/src/gio_docs_override.xml:
10449 * gio/src/inputstream.hg:
10450 * gio/src/outputstream.hg: Correct hand-coded documentation,
10451 to talk about throwing exceptions rather than setting or returning
10452 errors.
10453 * gio/src/mount.hg: Add class documentation based on the C documentation.
10454
10455 2008-02-27 Murray Cumming <murrayc@murrayc.com>
10456
10457 * gio/src/gio_docs.xml: Regenerated with docextract_to_xml.py.
10458 * gio/src/gio_docs_override.xml: Override some documentation that
10459 mentions the GCancellable being optional, or that talks about setting
10460 errors instead of throwing them.
10461
10462 2.15.7:
10463
10464 2008-02-26 Murray Cumming <murrayc@murrayc.com>
10465
10466 * gio/src/gio_methods.defs: Regenerated.
10467 * gio/src/file.ccg:
10468 * gio/src/file.hg: Added query_filesystem_info_async() and
10469 query_filesystem_info_finish() because these were added to the C API.
10470 * gio/src/themedicon.hg: Added append_name() because this was added to
10471 the C API.
10472
10473 2008-02-25 Jonathon Jongsma <jjongsma@gnome.org>
10474
10475 * docs/reference/Doxyfile.in: 'upgraded' the doxygen config file since
10476 doxygen was complaining about obsolete options
10477 * gio/giomm/contenttype.h:
10478 * gio/src/bufferedinputstream.hg:
10479 * gio/src/file.hg:
10480 * gio/src/fileoutputstream.hg:
10481 * gio/src/outputstream.hg:
10482 * glib/src/checksum.hg:
10483 * glib/src/keyfile.hg: fixed a bunch of minor doxygen warnings
10484
10485 2008-02-25 Jonathon Jongsma <jjongsma@gnome.org>
10486
10487 * docs/reference/doxygen_to_devhelp.xsl: add path separators between the
10488 reference prefix and the link filenames
10489 * docs/reference/Makefile.am: remove trailing slash from the reference
10490 prefix (fixes bug #518673)
10491
10492 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
10493
10494 * gio/src/file.hg:
10495 * gio/src/gio_docs.xml:
10496 * gio/src/gio_methods.defs:
10497 * gio/src/gio_vfuncs.defs:
10498
10499 Initial work for another API change:
10500 g_file_contains_file() has been renamed to
10501 g_file_has_prefix() (with the parameter order swapped!)
10502
10503 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
10504
10505 * glib/src/uriutils.ccg:
10506 * glib/src/uriutils.hg:
10507
10508 g_uri_get_scheme has been renamed to g_uri_parse_scheme
10509 in GLib trunk. Updated accordingly.
10510
10511 2008-02-24 Jonathon Jongsma <jjongsma@gnome.org>
10512
10513 * docs/reference/Makefile.am: dist xml/index.xml to satisfy build-deps for
10514 building the devhelp book from the tarball. Fixes distcheck.
10515
10516 2.15.6:
10517
10518 2008-02-24 Marko Anastasov <marko.anastasov@gmail.com>
10519
10520 * gio/src/inputstream.hg: Updated the todo regarding read().
10521
10522 2008-02-22 Murray Cumming <murrayc@murrayc.com>
10523
10524 * gio/src/fileattributeinfolist.hg: Added dup().
10525 * gio/src/gio_others.defs: Added signals for GMount and GVolume.
10526 This deals with the gmmproc warnings.
10527
10528 2008-02-21 Murray Cumming <murrayc@murrayc.com>
10529
10530 * gio/src/desktopappinfo.hg: Revert the change from José which removed
10531 use of _WRAP_CTOR() and _WRAP_CREATE(). We really do want to use these
10532 so we instantiate derived GTypes.
10533
10534 2008-02-21 Marko Anastasov <marko.anastasov@gmail.com>
10535
10536 * gio/src/desktopappinfo.hg: Made is_hidden() const.
10537
10538 2008-02-21 José Alburquerque <jaalburqu@svn.gnome.org>
10539
10540 * gio/src/desktopappinfo.hg: Used _WRAP_METHOD instead of _WRAP_CREATE
10541 for create() to allow docs from C API to be used
10542
10543 2008-02-21 José Alburquerque <jaalburqu@svn.gnome.org>
10544
10545 * gio/src/desktopappinfo.hg: Renamed new_from_file() to
10546 create_from_file()
10547
10548 2008-02-21 José Alburquerque <jaalburqu@svn.gnome.org>
10549
10550 * gio/src/desktopappinfo.hg: Added create(), create_from_file()
10551 is_hidden() and set_desktop_env()
10552 * tools/m4/convert_gio.m4: Added DesktopAppInfo conversion
10553
10554 2008-02-21 Murray Cumming <murrayc@murrayc.com>
10555
10556 * gio/src/gio_methods.defs: Regenerated with h2defs.py
10557
10558 * gio/src/gio_signals.defs: Corrected the GMountOperation::ask-question
10559 definition.
10560 * gio/src/mountoperation.hg: Wrapped the ask-question signal, though
10561 I wonder if it really works.
10562
10563 * gio/src/memoryinputstream.ccg:
10564 * gio/src/memoryinputstream.hg:
10565 Added add_data(const void* data, gssize len).
10566
10567 * gio/src/gio_others.defs: Added g_themed_icon_get_names()
10568 because h2defs.py cannot seem to parse it.
10569 * gio/src/Makefile.am: Mention gio_methods.defs.
10570 * gio/src/themedicon.hg: Attempted to wrap get_names(), but I get a
10571 gmmproc error.
10572
10573 2008-02-20 Marko Anastasov <marko.anastasov@gmail.com>
10574
10575 * gio/src/desktopappinfo.hg: Removed a todo regarding
10576 DesktopAppInfoLookup. We will not wrap it as it is an interface
10577 that is used by backends.
10578
10579 2008-02-20 Jonathon Jongsma <jjongsma@gnome.org>
10580
10581 * docs/reference/Makefile.am: updated some build dependencies that were
10582 causing issues after adding the xml/devhelp build rules. Also removed some
10583 cruft that was supposedly setting the doxygen image path for gtk stock icons
10584 (presumably copied from the gtkmm build rules). Should Fix Bug #517423
10585
10586 2008-02-20 Murray Cumming <murrayc@murrayc.com>
10587
10588 * gio/src/appinfo.hg:
10589 * gio/src/bufferedinputstream.hg:
10590 * gio/src/drive.hg:
10591 * gio/src/file.hg:
10592 * gio/src/filemonitor.hg:
10593 * gio/src/icon.hg:
10594 * gio/src/seekable.hg:
10595 * gio/src/volume.hg:
10596 * gio/src/volumemonitor.hg: Comment out _WRAP_VFUNC() lines because
10597 we decided that they are not useful (people will not create new
10598 implementations with giomm) and are a potential source of errors.
10599
10600 2008-02-20 Murray Cumming <murrayc@murrayc.com>
10601
10602 * tools/m4/convert_gio.m4:
10603 * gio/src/file.hg: equal(), get_relative_file(), contains_file(): Take
10604 const File parameters.
10605
10606 2008-02-15 Jonathon Jongsma <jjongsma@gnome.org>
10607
10608 * docs/reference/Makefile.am: I should have tested this more thoroughly --
10609 we apparently need to use relative paths in the reference_prefix variable.
10610 Also add the devhelp file to the all-local target so it gets built by
10611 default on a simple 'make' and not just on 'make install'
10612
10613 2008-02-15 Jonathon Jongsma <jjongsma@gnome.org>
10614
10615 * docs/reference/Makefile.am: install the stylesheet in the gmmproc dir
10616 instead of the documentation directory. This allows other libraries to get
10617 a path to the stylesheet by querying the just-added gmmprocdir variable.
10618 Also, it doesn't really belong in the documentation directory since it's not
10619 technically documentation.
10620
10621 2008-02-15 Jonathon Jongsma <jjongsma@gnome.org>
10622
10623 * docs/reference/doxygen_to_devhelp.xsl: make this more general instead of
10624 hard-coding the name and title and reference path into the stylesheet --
10625 instead pass them as parameters on the commandline
10626 * docs/reference/Makefile.am: use new GMMPROC_DIR variable. Also install
10627 the doxygen_to_devhelp.xsl stylesheet so that other libraries can use the
10628 installed version instead of having everybody copy the file into their own
10629 library if they want to generate a devhelp book
10630
10631 2008-02-15 Jonathon Jongsma <jjongsma@gnome.org>
10632
10633 * configure.in: add a GMMPROC_DIR variable so the individual
10634 Makefile.am files don't need to duplicate the information about where
10635 gmmproc is to be installed
10636 * glib/glibmm-2.4.pc.in: add new gmmprocdir variable so that interested
10637 libraries can query it with `pkg-config --variable gmmprocdir glibmm-2.4`
10638 * tools/Makefile.am:
10639 * tools/m4/Makefile.am:
10640 * tools/pm/Makefile.am: use the new GMMPROC_DIR variable
10641
10642 2008-02-14 Marko Anastasov <marko.anastasov@gmail.com>
10643
10644 * gio/src/dataoutputstream.hg: Removed get/set_newline_type(),
10645 which doesn't exist in the C API.
10646
10647 2008-02-13 Jonathon Jongsma <jjongsma@gnome.org>
10648
10649 * docs/reference/Doxyfile.in:
10650 * docs/reference/Makefile.am:
10651 * docs/reference/doxygen_to_devhelp.xsl: generate and install a devhelp book
10652 for glibmm like we do for gtkmm. It would be nice to make the xsl
10653 stylesheet general and shared between gtkmm and glibmm (and eventually other
10654 libraries as well), but for now I just duplicated it here
10655
10656 2008-02-12 Marko Anastasov <marko.anastasov@gmail.com>
10657
10658 * gio/src/gio_methods.defs: Regenerated with h2defs.py.
10659
10660 * gio/src/unixinputstream.hg:
10661 * gio/src/unixoutputstream.hg: Made wrapped constructors protected.
10662
10663 * gio/src/bufferedinputstream.hg:
10664 * gio/src/datainputstream.hg:
10665 * gio/src/dataoutputstream.hg: Ditto for Data*Streams,
10666 and marked some hand-wrapped functions to ignore.
10667
10668 * gio/src/mountoperation.hg: Wrote a note about ask_question signal,
10669 still to be wrapped.
10670
10671 * gio/src/volume.hg: Added should_automount().
10672
10673 * gio/giomm: Updated svn:ignore properties.
10674
10675 2.15.5:
10676
10677 2008-02-11 Jonathon Jongsma <jjongsma@gnome.org>
10678
10679 * gio/src/file.ccg:
10680 * gio/src/file.hg:
10681 * gio/src/gio_enums.defs:
10682 * gio/src/gio_vfuncs.defs:
10683 * gio/src/mount.ccg:
10684 * gio/src/mount.hg:
10685 * gio/src/volume.ccg:
10686 * gio/src/volume.hg:
10687 * tools/m4/convert_gio.m4: update to match new gio API which adds a
10688 GMountMountFlags argument to all mount operations
10689
10690 2008-02-11 Jonathon Jongsma <jjongsma@gnome.org>
10691
10692 * configure.in: bump glib requirement to 2.15.5 (bug #515727)
10693
10694 2008-02-09 Murray Cumming <murrayc@murrayc.com>
10695
10696 * gio/src/gio_vfuncs.defs: Added hand-written vfunc .defs for
10697 GVolume and GVolumeMonitor.
10698 * gio/src/volume.hg:
10699 * gio/src/volumemonitor.hg: Added vfuncs, though not using all C++ types
10700 yet. I am not really sure that these will ever be useful (if anyone will
10701 ever want to implement them in C++).
10702
10703 2008-02-09 Murray Cumming, <murrayc@murrayc.com>
10704
10705 * gio/giomm.h:
10706 * gio/src/Makefile_list_of_hg.am_fragment:
10707 * gio/src/simpleasyncresult.ccg:
10708 * gio/src/simpleasyncresult.hg: removed SimpleAsyncResult because I
10709 do not believe it is really public API. If we are wrong then we
10710 can resurrect it from svn later.
10711
10712 2008-02-09 Takao Fujiwara <Takao.Fujiwara@Sun.COM>
10713
10714 * glib/glibmm/Makefile.am:
10715 * glib/glibmm/i18n-lib.h: Actually install this header,
10716 and make the header guards unique.
10717 Bug #515133
10718
10719 2.15.4:
10720
10721 2008-02-07 Murray Cumming <murrayc@murrayc.com>
10722
10723 * glib/glibmm/Makefile.am:
10724 * glib/glibmm/main.h: Moved the Priorities enum into
10725 * glib/glibmm/priorities.h:
10726 Though all the giomm stuff seems to already include main.h anyway.
10727 It probably shouldn't, and then we can include priorities.h only.
10728
10729 * gio/src/bufferedinputstream.hg:
10730 * gio/src/file.hg:
10731 * gio/src/fileenumerator.hg:
10732 * gio/src/fileinputstream.hg:
10733 * gio/src/fileoutputstream.hg:
10734 * gio/src/gio_methods.defs:
10735 * gio/src/inputstream.hg:
10736 * gio/src/outputstream.hg: Use Glib::PRIORITY_DEFAULT instead of
10737 G_PRIORITY_DEFAULT.
10738
10739 * glib/src/iochannel.ccg: Add some ifdefs to avoid unused parameter
10740 warnings when exceptions are disabled, because our current trick for
10741 that is now causing another warning instead.
10742
10743 2008-02-06 Jonathon Jongsma <jjongsma@gnome.org>
10744
10745 * gio/src/datainputstream.ccg:
10746 * gio/src/datainputstream.hg: change the read_line() and read_until() APIs
10747 so that they are actually useable. These functions now return a boolean
10748 value to indicate that the end of the stream was reached and return the
10749 string data via reference argument. See bug #514097 for more information
10750
10751 2008-02-06 Murray Cumming <murrayc@murrayc.com>
10752
10753 * gio/src/gio_methods.defs: Regenerated with h2defs.py
10754
10755 * configure.in: Depend on gio-unix-2.0 when not on win32.
10756 * gio/src/Makefile_list_of_hg.am_fragment:
10757 * gio/src/unixinputstream.ccg:
10758 * gio/src/unixinputstream.hg:
10759 * gio/src/unixoutputstream.ccg: Mentioned this as unix-specific files
10760 so they are built.
10761
10762 * gio/src/bufferedoutputstream.hg: Fixed a parameter type to fix the
10763 build, after a change in gio.
10764
10765 2008-02-05 Murray Cumming <murrayc@murrayc.com>
10766
10767 * gio/src/file.ccg:
10768 * gio/src/file.hg: Added an overload of query_default_handler()
10769 without the cancellable.
10770
10771 2008-02-05 Murray Cumming <murrayc@murrayc.com>
10772
10773 * gio/src/Makefile_list_of_hg.am_fragment:
10774 * gio/src/vfs.ccg:
10775 * gio/src/vfs.hg: Remove these because they are not API - they
10776 are declarations of entry points for dynamically-loadable modules.
10777
10778 2008-02-04 Marko Anastasov <marko.anastasov@gmail.com>
10779
10780 * gio/src/file.ccg:
10781 * gio/src/file.hg: Added copy_async(), with overloads without
10782 slot_progress (which is optional and would run in the main loop),
10783 with documentation. Wrapped copy_finish(), query_default_handler().
10784
10785 2008-02-04 José Alburquerque <jaalburqu@svn.gnome.org>
10786
10787 * gio/src/desktopappinfo.ccg:
10788 * gio/src/desktopappinfo.hg: Added DesktopAppInfo but not to
10789 Makefile_list_of_hg.am_fragment yet (need to use gio-unix-2.0.pc to
10790 compile correctly)
10791
10792 2008-02-04 José Alburquerque <jaalburqu@svn.gnome.org>
10793
10794 * gio/src/bufferedoutputstream.ccg: Changed size param of
10795 create_sized() to type gsize (in agreement with declaration) to fix
10796 compilation
10797
10798 2008-02-04 Murray Cumming <murrayc@murrayc.com>
10799
10800 * tools/m4/class_interface.m4: Allow _CLASS_INTERFACE() to take two
10801 extra optional paremeters to specify the base class, so that appropriate
10802 code is generated when we derive from another Interface - which seems
10803 appropriate when the GInterface has a prerequisite.
10804 * gio/src/loadableicon.ccg:
10805 * gio/src/loadableicon.hg: Derive from Icon, because it is a prerequisite
10806 of this interface. Use the extra _CLASS_INTERFACE() parameters.
10807 * gio/src/fileicon.hg: Do not derive from Icon because that happens
10808 through LoadableIcon now. But do use _IMPLEMENTS_INTERFACE(Icon) here,
10809 because only a Glib::Object can actually implement an interface.
10810
10811 2008-02-04 Jonathon Jongsma <jjongsma@gnome.org>
10812
10813 * gio/src/file.hg: remove an obsolete TODO
10814 * gio/src/gio_vfuncs.defs: add LoadableIcon vfunc definitions
10815 * gio/src/loadableicon.ccg:
10816 * gio/src/loadableicon.hg: wrap some methods of LoadableIcon. Some vfuncs
10817 need to be wrapped yet
10818
10819 2008-02-04 Jonathon Jongsma <jjongsma@gnome.org>
10820
10821 * gio/src/bufferedoutputstream.hg: switch back create_sized() size parameter
10822 to gsize since glib switched their declaration due to bug #514013.
10823
10824 2008-02-03 José Alburquerque <jaalburqu@svn.gnome.org>
10825
10826 * gio/src/unixinputstream.ccg:
10827 * gio/src/unixinputstream.hg:
10828 * gio/src/unixmount.ccg:
10829 * gio/src/unixmount.hg:
10830 * gio/src/unixoutputstream.ccg:
10831 * gio/src/unixoutputstream.hg: Added these, but not to
10832 Makefile_list_of_hg.am_fragment to avoid compile errors (need
10833 gio-unix-2.0.pc to compile correctly)
10834 * gio/src/vfs.hg: Moved forward decs to top (was between class doc and
10835 declaration)
10836
10837 2008-02-03 José Alburquerque <jaalburqu@svn.gnome.org>
10838
10839 * gio/src/Makefile_list_of_hg.am_fragment:
10840 * gio/src/vfs.ccg:
10841 * gio/src/vfs.hg:
10842 * tools/m4/convert_gio.m4: Added Vfs
10843
10844 2008-02-04 Murray Cumming <murrayc@murrayc.com>
10845
10846 * tools/extra_defs_gen/generate_defs_gio.cc: Added types.
10847 * gio/src/gio_signals.defs: Regenerated.
10848 * gio/src/Makefile_list_of_hg.am_fragment:
10849 * gio/src/filenamecompleter.hg:
10850 * gio/src/themedicon.hg: Added FilenameCompleter and ThemedIcon.
10851
10852 2008-02-03 José Alburquerque <jaalburqu@svn.gnome.org>
10853
10854 * gio/src/bufferedoutputstream.ccg: changed size param of
10855 create_sized() to type guint (in agreement with declaration)
10856 * gio/src/file.ccg:
10857 * gio/src/file.hg: added non-cancellable set_attribute_string(),
10858 set_attribute_byte_string(), set_attribute_{uint32, int32, uint64,
10859 int64}
10860
10861 2008-02-03 Murray Cumming <murrayc@murrayc.com>
10862
10863 * tools/extra_defs_gen/generate_defs_gio.cc: Added types.
10864 * gio/src/gio_signals.defs: Regenerated.
10865
10866 * tools/m4/convert_gio.m4:
10867 * gio/src/drive.hg:
10868 * gio/src/filterinputstream.hg:
10869 * gio/src/filteroutputstream.hg:
10870 * gio/src/mount.hg:
10871 * gio/src/mountoperation.hg:
10872 * gio/src/volume.hg:
10873 * gio/src/volumemonitor.hg: Added signals and properties.
10874
10875 * gio/src/file.ccg:
10876 * gio/src/file.hg: Added query_filesystem_info() without a cancellable.
10877
10878 2008-02-03 Murray Cumming <murrayc@murrayc.com>
10879
10880 * gio/src/filemonitor.hg: Add class documentation, now that there is
10881 some in gio.
10882 * gio/src/volumemonitor.hg: Add class documentation.
10883 Remove _DO_NOT_DERIVE_GTYPE because gio no longer abuses the type
10884 system - see bug #511814.
10885
10886 2008-02-02 Jonathon Jongsma <jjongsma@gnome.org>
10887
10888 * gio/giomm.h:
10889 * gio/src/Makefile_list_of_hg.am_fragment:
10890 * gio/src/memoryinputstream.ccg:
10891 * gio/src/memoryinputstream.hg: add MemoryInputStream class
10892
10893 2008-02-02 Jonathon Jongsma <jjongsma@gnome.org>
10894
10895 * gio/src/dataoutputstream.ccg: fix copy/paste error
10896
10897 2008-02-02 Jonathon Jongsma <jjongsma@gnome.org>
10898
10899 * gio/src/Makefile_list_of_hg.am_fragment:
10900 * gio/src/datainputstream.hg:
10901 * gio/src/dataoutputstream.hg: add DataOutputStream class
10902 * gio/src/dataoutputstream.ccg:
10903 * gio/src/enums.ccg:
10904 * gio/src/enums.hg: moved the DataStream enums to a common enums header
10905 since they're needed by both the input and output data streams.
10906 * gio/giomm.h: add new headers
10907
10908 2008-02-02 Jonathon Jongsma <jjongsma@gnome.org>
10909
10910 * gio/src/bufferedoutputstream.ccg:
10911 * gio/src/bufferedoutputstream.hg: add BufferedOutputStream class
10912
10913 2008-02-02 Jonathon Jongsma <jjongsma@gnome.org>
10914
10915 * gio/giomm.h:
10916 * gio/src/Makefile_list_of_hg.am_fragment:
10917 * gio/src/filteroutputstream.ccg:
10918 * gio/src/filteroutputstream.hg:
10919 * tools/m4/convert_gio.m4: add FilterOutputStream class
10920
10921 2008-02-03 Murray Cumming <murrayc@murrayc.com>
10922
10923 * gio/src/file.ccg:
10924 * gio/src/file.hg: find_enclosing_mout(), append_to(): Reordered
10925 parameters and added overload without cancellable. Removed superfluous
10926 monitor_file() overload.
10927
10928 2008-02-03 Murray Cumming <murrayc@murrayc.com>
10929
10930 * tools/m4/convert_gio.m4:
10931 * gio/src/bufferedinputstream.hg: Move a signal-specific conversion
10932 here, because these conversions are unusual and shouldn't be used by
10933 mistake elsewhere, and when they are next to the signal then it is
10934 more obvious why they take a reference (also fixed).
10935
10936 2008-02-02 Jonathon Jongsma <jjongsma@gnome.org>
10937
10938 * gio/giomm.h: add new header files to the main include
10939 * gio/src/datainputstream.hg: add FIXME note about not being able to tell
10940 error conditions from empty strings on read_line() / read_until()
10941
10942 2008-02-02 Jonathon Jongsma <jjongsma@gnome.org>
10943
10944 * gio/giomm/Makefile.am: add slot_async.h private header to EXTRA_DIST so
10945 that it gets distributed. I didn't add it to the
10946 sublib_files_extra_general_h variable, since then it would get installed
10947
10948 2008-02-02 Jonathon Jongsma <jjongsma@gnome.org>
10949
10950 * gio/src/Makefile_list_of_hg.am_fragment:
10951 * gio/src/datainputstream.ccg:
10952 * gio/src/datainputstream.hg:
10953 * tools/m4/convert_gio.m4: add DataInputStream class
10954
10955 2008-02-02 Jonathon Jongsma <jjongsma@gnome.org>
10956
10957 * gio/src/gio_vfuncs.defs:
10958 * gio/src/Makefile_list_of_hg.am_fragment:
10959 * gio/src/bufferedinputstream.ccg:
10960 * gio/src/bufferedinputstream.hg: add BufferedInputStream class
10961 * gio/giomm/slot_async.cc:
10962 * gio/giomm/slot_async.h: split out the SlotProxy_async_callback so it
10963 doesn't have to be implemented in every file
10964 * gio/src/drive.ccg:
10965 * gio/src/file.ccg:
10966 * gio/src/file.hg:
10967 * gio/src/fileenumerator.ccg:
10968 * gio/src/fileinputstream.ccg:
10969 * gio/src/fileoutputstream.ccg:
10970 * gio/src/inputstream.ccg:
10971 * gio/src/mount.ccg:
10972 * gio/src/outputstream.ccg:
10973 * gio/src/volume.ccg: use the common SlotProxy_async_callback function in
10974 all of these files
10975 * tools/m4/convert_gio.m4: add conversion for Cancellable
10976 * gio/giomm/Makefile.am: indenting changes
10977
10978 2008-02-02 Marko Anastasov <marko.anastasov@gmail.com>
10979
10980 * gio/src/volumemonitor.hg: Removed VolumeMonitorEvent enum def,
10981 which does not exist any more in the C API.
10982 * gio/src/volume.hg: Added get_identifier(), enumerate_identifiers().
10983
10984 2008-02-02 Marko Anastasov <marko@marko.anastasov.name>
10985
10986 * gio/src/volume.hg: Added get_mount().
10987 * gio/src/gio_enums.defs: Regenerated with enums.pl.
10988 * gio/src/gio_methods.defs: Regenerated with h2defs.py.
10989
10990 2008-02-02 Kjartan Maraas <kmaraas@gnome.org>
10991
10992 * tests/giomm_simple/main.cc: Fix compile with GCC 4.3.
10993
10994 2008-02-02 Murray Cumming <murrayc@murrayc.com>
10995
10996 * build_shared/Makefile_gensrc.am_fragment: Use the local .pm files
10997 for gmmproc instead of installed ones. This was a regression that I
10998 introduced when I added gio to the build.
10999 * tools/pm/DocsParser.pm: append_parameter_docs(): Ignore error
11000 parameters because they are almost always wrapped as exceptions.
11001
11002 2008-02-01 Jonathon Jongsma <jjongsma@gnome.org>
11003
11004 * gio/src/Makefile.am:
11005 * gio/src/appinfo.hg:
11006 * gio/src/gio_vfuncs.defs:
11007 * tools/m4/convert_gio.m4:
11008 * tools/m4/convert_glib.m4: Add Gio::AppInfo vfuncs
11009
11010 2008-02-02 Murray Cumming <murrayc@murrayc.com>
11011
11012 * gio/src/file.ccg:
11013 * gio/src/file.hg: Added overloads of create_file(), remove(), trash(),
11014 make_directory(), make_symbolic_link(), query_settable_attributes(),
11015 and query_writable_namespaces() without cancellable parameters.
11016 The set_attribute_*() methods still need this to be done.
11017
11018 2008-02-02 Murray Cumming <murrayc@murrayc.com>
11019
11020 * gio/src/cancellable.hg: Added the signal.
11021 * gio/src/file.ccg:
11022 * gio/src/file.hg: Added copy_attributes(), added mount_enclosing_volume()
11023 mount_enclosing_volume_finish(), find_enclosing_mount(), and
11024 find_enclosing_mount_finish().
11025 Added a mount_mountable() overload with no parameters.
11026 set_attributes_from_info(): Reordered parameters so we can have default
11027 values.
11028
11029 2008-02-02 Murray Cumming <murrayc@murrayc.com>
11030
11031 * gio/giomm/contenttype.cc:
11032 * gio/giomm/contenttype.h: Use convert_return_gchar_ptr_to_ustring()
11033 because it releases the gchar* and checks for NULL.
11034 Removed the ontent_type_guess() that takes a basic_string<guchar>
11035 because I doubt anybody would use that. Added one that takes a
11036 gchar* and size, and one that takes a std::string (for when the data is
11037 a string).
11038
11039 2008-01-31 Jonathon Jongsma <jjongsma@gnome.org>
11040
11041 * gio/giomm/contenttype.cc: put content_type functions in the Gio namespace
11042 which was accidentally omitted.
11043
11044 2008-01-31 Jonathon Jongsma <jjongsma@gnome.org>
11045
11046 * gio/giomm.h: forgot to add new contenttype.h header
11047 * gio/giomm/Makefile.am: forgot to install contenttype.h header
11048
11049 2008-01-31 Jonathon Jongsma <jjongsma@gnome.org>
11050
11051 * gio/giomm/Makefile.am:
11052 * gio/giomm/contenttype.cc:
11053 * gio/giomm/contenttype.h: wrap content_type_* functions
11054
11055 2008-01-29 Murray Cumming <murrayc@murrayc.com>
11056
11057 * gio/src/file.hg: get_child_for_display_name():
11058 Change the display_name parameter to a ustring because
11059 the C documentation says it should be UTF-8.
11060 * gio/src/fileinfo.hg: Add get_attribute_as_string(), which
11061 returns a UTF-8 string.
11062 (Note that no other gio documentation mentions UTF-8.)
11063 Thanks to Iain Nicol.
11064
11065 2.15.3:
11066
11067 2008-01-27 Murray Cumming <murrayc@murrayc.com>
11068
11069 * gio/src/fileattribute.ccg:
11070 * gio/src/fileattribute.hg: Split into
11071 * gio/src/fileattributeinfo.ccg:
11072 * gio/src/fileattributeinfo.hg: and
11073 * gio/src/fileattributeinfolist.ccg:
11074 * gio/src/fileattributeinfolist.hg
11075
11076 * gio/giomm.h:
11077 * gio/src/Makefile_list_of_hg.am_fragment:
11078 * gio/src/file.hg:
11079 * gio/src/fileinfo.hg:
11080 * gio/src/outputstream.hg:
11081 * gio/src/seekable.hg:
11082 * glib/src/optionentry.hg: Adapted.
11083
11084 * tools/pm/DocsParser.pm: substitute_identifiers():
11085 Tried (unsuccessfully) to remove G:: prefixes in generated documentation.
11086
11087 2008-01-27 Murray Cumming <murrayc@murrayc.com>
11088
11089 * gio/src/appinfo.hg:
11090 * gio/src/asyncresult.hg:
11091 * gio/src/cancellable.hg:
11092 * gio/src/drive.hg:
11093 * gio/src/error.hg:
11094 * gio/src/file.hg:
11095 * gio/src/fileattribute.hg:
11096 * gio/src/fileenumerator.hg:
11097 * gio/src/fileicon.hg:
11098 * gio/src/fileinfo.hg:
11099 * gio/src/fileinputstream.hg:
11100 * gio/src/fileoutputstream.hg:
11101 * gio/src/filterinputstream.hg:
11102 * gio/src/icon.hg:
11103 * gio/src/inputstream.hg:
11104 * gio/src/loadableicon.hg:
11105 * gio/src/mount.hg:
11106 * gio/src/mountoperation.hg:
11107 * gio/src/outputstream.hg:
11108 * gio/src/seekable.hg:
11109 * gio/src/simpleasyncresult.hg:
11110 * gio/src/volume.hg: Do not include gio.h from our public headers, to
11111 avoid polluting the namespace.
11112
11113 2008-01-27 Murray Cumming <murrayc@murrayc.com>
11114
11115 * gio/src/appinfo.ccg:
11116 * gio/src/appinfo.hg: Make equal() non virtual - equal_vfunc() is instead.
11117 * gio/src/file.ccg:
11118 * gio/src/file.hg: Make equal() non virtual - equal_vfunc() is instead.
11119 replace_contents(), replace_contents_async(), replace_contents_finish():
11120 Reordered parameters to allow default values, and added method overloads.
11121
11122 2008-01-25 Murray Cumming <murrayc@murrayc.com>
11123
11124 * tools/m4/convert_gio.m4:
11125 * gio/src/filterinputstream.hg: Added the _CLASS_* macro so this type
11126 is really wrapped.
11127
11128 2008-01-25 Murray Cumming <murrayc@murrayc.com>
11129
11130 * tools/m4/class_shared.m4: Added _DO_NOT_DERIVE_GTYPE for use in .hg
11131 files when we do not want to derive a new GType, meaning of course that
11132 we cannot have default signal handlers or vfuncs.
11133 * gio/src/volumemonitor.hg: Use _DO_NOT_DERIVE_GTYPE, because
11134 gio tries to call every type that derives from G_TYPE_VOLUME_MONITOR,
11135 which seems unwise to me - bug #511814.
11136 This makes gtkmm-documentation/examples/book/volumes not crash.
11137
11138 2008-01-24 Jonathon Jongsma <jjongsma@gnome.org>
11139
11140 * gio/giomm.h: add missing headers to the main include header
11141
11142 2008-01-23 Murray Cumming <murrayc@murrayc.com>
11143
11144 * gio/src/error.hg: Renamed Gio::IOError to
11145 Gio::Error.
11146 * gio/src/fileenumerator.ccg:
11147 * gio/src/fileenumerator.hg: Added method overloads of close() and
11148 next_file() without the cancellable parameter.
11149
11150 2008-01-23 Murray Cumming <murrayc@murrayc.com>
11151
11152 * gio/src/Makefile_list_of_hg.am_fragment:
11153 * gio/src/error.ccg:
11154 * gio/src/error.hg: Wrapped GIOErrorEnum as Gio::Error exception.
11155 (This is registered in wrap_init()), so that the correct exception
11156 is thrown.
11157 * gio/giomm.h: Include error.h
11158
11159 2008-01-23 Murray Cumming <murrayc@murrayc.com>
11160
11161 * gio/src/file.ccg:
11162 * gio/src/file.hg: Added a read() method overload with no
11163 cancellable parameter.
11164 * tests/giomm_simple/main.cc: Try loading the contents of a file.
11165 Seems to work, though there is an unknown GError domain when the file
11166 does not exist.
11167
11168 2.15.2:
11169
11170 2008-01-21 Murray Cumming <murrayc@murrayc.com>
11171
11172 * gio/src/gio_methods.defs: Regenerated.
11173 * gio/src/file.ccg:
11174 * gio/src/file.hg:
11175 * gio/src/fileinputstream.ccg:
11176 * gio/src/fileinputstream.hg:
11177 * gio/src/fileoutputstream.ccg:
11178 * gio/src/fileoutputstream.hg: More overloads, parameter reordering,
11179 and documentation.
11180
11181 2008-01-21 Murray Cumming <murrayc@murrayc.com>
11182
11183 * gio/src/inputstream.ccg:
11184 * gio/src/inputstream.hg: Added method overloads and documentation.
11185
11186 2008-01-20 Murray Cumming <murrayc@murrayc.com>
11187
11188 * gio/src/fileinputstream.ccg:
11189 * gio/src/fileinputstream.hg:
11190 * gio/src/fileoutputstream.ccg:
11191 * gio/src/fileoutputstream.hg: Ignore functions that are just
11192 duplicates of the ones in Seekable, and mention Seekable more in
11193 the documentation.
11194 * gio/src/seekable.hg: Expand the class documentation.
11195 * gio/src/outputstream.ccg:
11196 * gio/src/outputstream.hg: Added method overloads and documentation.
11197
11198 2008-01-20 Murray Cumming <murrayc@murrayc.com>
11199
11200 * glib/glibmm/objectbase.cc:
11201 * glib/glibmm/objectbase.h: Added connect_property_changed_with_return()
11202 because connect_property_changed() does not return a sigc::connection.
11203 Bug #433984 (Philip Langdale, Kalle Vahlman).
11204
11205 2008-01-20 Murray Cumming <murrayc@murrayc.com>
11206
11207 * glib/src/checksum.ccg:
11208 * glib/src/checksum.hg: Added class documentation. Corrected constructor
11209 documentation and added operator bool() to check for a failure in the
11210 constructor.
11211
11212 2008-01-20 Marko Anastasov <marko@marko.anastasov.name>
11213
11214 * tools/enum.pl: Handle possible parenthesis when matching enum
11215 values declared as shifted ones. Bug #498621.
11216
11217 2008-01-20 Naveen Verma <ernaveenverma@gmail.com>
11218
11219 * glib/src/checksum.[hg|ccg]:
11220 * glib/src/Makefile_list_of_hg.am_fragment:
11221 Added Checksum, wrapping GChecksum Bug #510235.
11222
11223 2008-01-20 Murray Cumming <murrayc@murrayc.com>
11224
11225 * gio/src/inputstream.hg: Ignore g_input_stream_clear_pending() as well as
11226 the other implementation functions.
11227 * gio/src/outputstream.hg: Ignore the equivalent functions here,
11228 assuming that they are also only for implementations.
11229
11230 2008-01-20 Murray Cumming <murrayc@murrayc.com>
11231
11232 * gio/src/fileinfo.hg: FileAttributeMatcher::create(): Add a default
11233 value and documentation.
11234 * gio/src/file.ccg:
11235 * gio/src/file.hg:
11236 * gio/src/mount.ccg:
11237 * gio/src/mount.hg: const corrections for Slot* and Cancellable
11238 parameters.
11239
11240 2008-01-20 Murray Cumming <murrayc@murrayc.com>
11241
11242 * gio/src/file.hg:
11243 * gio/src/file.ccg: enumerate_children(), enumerate_children_async(),
11244 query_info(), query_info_async(), query_exists(): Reorder parameters to
11245 add default values, add documentation, make const.
11246
11247 2008-01-18 Murray Cumming <murrayc@murrayc.com>
11248
11249 * gio/src/mount.ccg:
11250 * gio/src/mount.hg: Added unmount(), remount(), and
11251 eject(), based on code from José Alburquerque in bug #510080.
11252 * gio/src/volume.hg: Added documentation.
11253
11254 2008-01-18 Murray Cumming <murrayc@murrayc.com>
11255
11256 * gio/src/drive.ccg:
11257 * gio/src/drive.hg: poll_for_media(): Added documentation.
11258 Wrapped 2 vfuncs (though the .defs still need to be written).
11259 * gio/src/file.ccg:
11260 * gio/src/file.hg: move(), copy(), replace(): Rearranged the parameters so we
11261 can have default values, and added some documentation.
11262 set_display_name(), set_display_name_async(): Take a ustring instead
11263 of a std::string. Added documentation.
11264
11265 * gio/src/fileattribute.ccg:
11266 * gio/src/fileattribute.hg: Added FileAttributeInfoList::add().
11267 Added FileAttributeInfoList::empty().
11268
11269 * tools/m4/convert_gio.m4:
11270 * gio/src/appinfo.hg:
11271 * gio/src/fileenumerator.hg: Move the ListHandle conversions to the
11272 .hg files because the ownership is specific to each use.
11273
11274 2008-01-18 Murray Cumming <murrayc@murrayc.com>
11275
11276 * gio/src/drive.hg:
11277 * gio/src/volumemonitor.hg: Wrapped functions that reurn GLists.
11278
11279 2008-01-18 Murray Cumming <murrayc@murrayc.com>
11280
11281 * gio/src/appinfo.hg:
11282 * gio/src/icon.hg: Removed operator= and operator!= for these RefPtr<>
11283 specializations, because they are unobvious and conflict with the generic
11284 ones.
11285
11286 2008-01-17 Marko Anastasov <marko.anastasov@gmail.com>
11287
11288 * gio/src/inputstream.ccg:
11289 * gio/src/inputstream.hg: Fixed const-ness of Cancellables.
11290 * gio/src/fileinputstream.ccg:
11291 * gio/src/fileinputstream.ccg:
11292 * gio/src/fileoutputstream.ccg:
11293 * gio/src/fileoutputstream.hg: Added an overload of query_info_async(),
11294 * gio/src/outputstream.ccg:
11295 * gio/src/outputstream.hg: write_async(), splice_async() without
11296 the Cancellable.
11297
11298 Patch from José Alburquerque, bug #510080.
11299
11300 2008-01-17 Murray Cumming <murrayc@murrayc.com>
11301
11302 * gio/src/file.hg:
11303 * gio/src/drive.ccg:
11304 * gio/src/drive.hg: eject(),
11305 * gio/src/volume.ccg:
11306 * gio/src/volume.hg: eject(),
11307 * tools/m4/convert_gio.m4: Wrapped GMountUnmountFlags enum as
11308 MountUnmountFlags, and used it.
11309
11310 * gio/src/file.ccg:
11311 * gio/src/file.hg: unmount_mountable(), eject(): Reorder the
11312 parameters and add a default flag value.
11313
11314 2008-01-17 Marko Anastasov <marko.anastasov@gmail.com>
11315
11316 * gio/src/filterinputstream.ccg:
11317 * gio/src/filterinputstream.hg:
11318 * gio/src/Makefile_list_of_hg.am_fragment: Added FilterInputStream.
11319
11320 Updated svn:ignore properties.
11321
11322 2008-01-16 Murray Cumming <murrayc@murrayc.com>
11323
11324 * tools/extra_defs_gen/generate_defs_gio.cc: Added Mount and
11325 VolumeMonitor.
11326 * gio/src/gio_signals.defs: Regenerated.
11327
11328 * gio/src/Makefile_list_of_hg.am_fragment:
11329 * gio/src/mount.ccg:
11330 * gio/src/mount.hg: Added Mount
11331 * gio/src/volumemonitor.hg:
11332 * gio/src/volumemonitor.ccg: Added VolumeMonitor.
11333
11334 * tools/m4/convert_gio.m4: Added necessary conversions.
11335
11336 2008-01-16 Murray Cumming <murrayc@murrayc.com>
11337
11338 * gio/src/Makefile_list_of_hg.am_fragment:
11339 * tools/m4/convert_gio.m4:
11340 * gio/src/filemonitor.hg:
11341 * gio/src/filemonitor.hg: Added FileMonitor.
11342 * gio/src/file.hg: Tried to wrap monitor_file() and
11343 monitor_directory but there is a problem with the GError in
11344 the generated code.
11345
11346 * tools/extra_defs_gen/generate_defs_gio.cc: Added GFileMonitor.
11347
11348 2008-01-16 Murray Cumming <murrayc@murrayc.com>
11349
11350 * gio/src/seekable.ccg:
11351 * gio/src/seekable.hg: Added methods and vfuncs (though the .defs
11352 do not exist for the vfuncs yet.)
11353
11354 2008-01-16 Murray Cumming <murrayc@murrayc.com>
11355
11356 * gio/src/file.hg: Added query_file_exists().
11357 * glib/src/uriutils.hg:uri_unescape_string(), uri_escape_string():
11358 Change the illegal_characters and reserved_chars_allowed parameters
11359 to std::string, because they may not be UTF-8
11360 See bug #508773.
11361
11362 2008-01-15 Murray Cumming <murrayc@murrayc.com>
11363
11364 * gio/src/drive.ccg:
11365 * gio/src/drive.hg: eject(), poll_for_media()
11366 * gio/src/volume.ccg:
11367 * gio/src/volume.hg: mount(), eject():
11368 Add method overloads that take no slot.
11369
11370 * glib/src/uriutils.hg: Fix a typo to fix the build.
11371
11372 2008-01-15 Murray Cumming <murrayc@murrayc.com>
11373
11374 * glib/src/uriutils.hg: Improved the documentation for uri_unescape_string(),
11375 based on the improved C documentation.
11376
11377 2008-01-15 Murray Cumming <murrayc@murrayc.com>
11378
11379 * gio/src/drive.ccg:
11380 * gio/src/drive.hg:
11381 * gio/src/file.ccg:
11382 * gio/src/file.hg:
11383 * gio/src/fileenumerator.ccg:
11384 * gio/src/fileenumerator.hg:
11385 * gio/src/fileinputstream.ccg:
11386 * gio/src/fileinputstream.hg:
11387 * gio/src/fileoutputstream.ccg:
11388 * gio/src/fileoutputstream.hg:
11389 * gio/src/inputstream.ccg:
11390 * gio/src/inputstream.hg:
11391 * gio/src/outputstream.ccg:
11392 * gio/src/outputstream.hg:
11393 * gio/src/volume.ccg:
11394 * gio/src/volume.hg: *_async() functions: Rearrange the parameters,
11395 so the (optional) cancellable is always after the slot,
11396 and so flags and io_priority are always at the end, so they can have
11397 default values.
11398
11399 2008-01-15 Murray Cumming <murrayc@murrayc.com>
11400
11401 * tools/m4/Makefile_list_of_sources.am_fragment:
11402 * tools/m4/convert_gio.m4:
11403 * tools/m4/convert_glib.m4:
11404 * tools/m4/convert_gtkmm.m4: Moved the gio conversions into
11405 their own .m4 file, to make it easier to find them.
11406
11407 * gio/src/cancellable.ccg:
11408 * gio/src/cancellable.hg: Use _WRAP_METHOD() for get_current(),
11409 which also fixes the refcounting.
11410 * glib/src/uriutils.hg: Added documentation and default parameter
11411 values.
11412
11413 2.15.1:
11414
11415 2008-01-12 Murray Cumming <murrayc@murrayc.com>
11416
11417 * glib/glibmm.h: Added uriutils.h
11418 * glib/glibmm/private/Makefile.am: Renamed some variables to
11419 avoid clashes with the build_shared/ variables, which caused
11420 a dist failure involving wrap_init.h
11421
11422 2008-01-11 Murray Cumming <murrayc@murrayc.com>
11423
11424 * gio/src/appinfo.hg: Added class documentation.
11425 * gio/src/asyncresult.hg:
11426 * gio/src/cancellable.hg:
11427 * gio/src/drive.hg:
11428 * gio/src/file.hg:
11429 * gio/src/fileattribute.hg:
11430 * gio/src/fileenumerator.hg:
11431 * gio/src/fileicon.hg:
11432 * gio/src/fileinfo.hg:
11433 * gio/src/fileinputstream.hg:
11434 * gio/src/fileoutputstream.hg:
11435 * gio/src/icon.hg:
11436 * gio/src/inputstream.hg:
11437 * gio/src/loadableicon.hg:
11438 * gio/src/mountoperation.hg:
11439 * gio/src/outputstream.hg:
11440 * gio/src/seekable.hg:
11441 * gio/src/simpleasyncresult.hg:
11442 * gio/src/volume.hg: Added @newin2p16 to
11443 the documentation.
11444
11445 * glib/src/Makefile_list_of_hg.am_fragment:
11446 * glib/src/uriutils.ccg:
11447 * glib/src/uriutils.hg: Added wrappers of (some) of
11448 these new g_uri_* functions. Not yet documented.
11449
11450 2008-01-11 Murray Cumming <murrayc@murrayc.com>
11451
11452 * gio/src/file.ccg:
11453 * gio/src/file.hg: Rename create() to create_file(),
11454 create_async() to create_file_async() and
11455 create_finish() to create_file_finish() to slightly
11456 reduce confusion with the static create*() methods.
11457
11458 2008-01-11 Murray Cumming <murrayc@murrayc.com>
11459
11460 * gio/src/Makefile_list_of_hg.am_fragment:
11461 * gio/src/seekable.ccg:
11462 * gio/src/seekable.hg: Added the Seekable interface, though it
11463 has not methods yet.
11464 * gio/src/fileinputstream.hg:
11465 * gio/src/fileoutputstream.hg: Derive/implement Seekable.
11466 * gio/src/icon.hg:
11467 * gio/src/inputstream.hg:
11468 * gio/src/loadableicon.hg:
11469 * gio/src/mountoperation.hg:
11470 * gio/src/outputstream.hg:
11471 * gio/src/simpleasyncresult.hg:
11472 * gio/src/volume.hg: Added class documentation, based on the C
11473 documentation.
11474
11475 2008-01-10 Marko Anastasov <marko.anastasov@gmail.com>
11476
11477 * gio/src/appinfo.ccg:
11478 * gio/src/appinfo.hg: Wrapped AppInfo and AppLaunchContext, without
11479 the vfuncs.
11480 * tools/m4/convert_glib.m4: New conversions.
11481 The previous comment on build was not valid.
11482
11483 2008-01-10 Marko Anastasov <marko.anastasov@gmail.com>
11484
11485 * gio/src/appinfo.ccg:
11486 * gio/src/appinfo.hg:
11487 * gio/src/Makefile_list_of_hg.am_fragment:
11488 Added AppInfo, with only two methods before we see why it
11489 doesn't get included in the build.
11490
11491 2008-01-10 Marko Anastasov <marko.anastasov@gmail.com>
11492
11493 * gio/src/drive.hg:
11494 * gio/src/drive.ccg: Added poll_for_media, poll_for_media_finish.
11495 * gio/src/fileinputstream.hg:
11496 * gio/src/fileoutputstream.hg:
11497 * gio/src/inputstream.hg:
11498 * gio/src/volume.hg: Modified *_finish functions to take a const
11499 AsyncResult.
11500
11501 2008-01-10 Marko Anastasov <marko.anastasov@gmail.com>
11502
11503 * gio/src/drive.hg: Added missing capability checking functions.
11504 * gio/giomm: Updated svn:ignore properties.
11505
11506 2008-01-10 Jonathon Jongsma <jjongsma@gnome.org>
11507
11508 * gio/src/mountoperation.hg: api change in reply() virtual function and
11509 addition of MountOperationResult enumeration
11510 * tools/m4/convert_glib.m4: add MountOperationResult enum conversion
11511 * gio/src/gio_enums.defs: re-generate enums
11512 * gio/src/gio_methods.defs: re-generate methods
11513
11514 2008-01-10 Murray Cumming <murrayc@murrayc.com>
11515
11516 * Makefile.am:
11517 * build_shared/Makefile_build.am_fragment:
11518 * build_shared/Makefile_build_extra.am_fragment:
11519 * build_shared/Makefile_build_gensrc.am_fragment:
11520 * build_shared/Makefile_gensrc.am_fragment:
11521 * build_shared/Makefile_gensrc_platform.am_fragment:
11522 Copy (and very slightly adjust) the build_shared/ files from
11523 gtkmm, which has had multiple sub-libraries for a long time.
11524 * gio/giomm/Makefile.am:
11525 * gio/src/Makefile.am:
11526 * gio/src/Makefile_list_of_hg.am_fragment:
11527 * glib/glibmm/Makefile.am:
11528 * glib/glibmm/private/Makefile.am:
11529 * glib/src/Makefile.am:
11530 * glib/src/Makefile_list_of_hg.am_fragment:
11531 Adapt to the structure (variable names, mostly) needed by the
11532 newer build_shared/ files, so that the giomm library is actually
11533 built.
11534
11535 * tools/m4/convert_glib.m4:
11536 * gio/giomm/init.cc:
11537 * gio/giomm/init.h:
11538 * gio/src/asyncresult.ccg:
11539 * gio/src/drive.ccg:
11540 * gio/src/drive.hg:
11541 * gio/src/file.ccg:
11542 * gio/src/file.hg:
11543 * gio/src/fileattribute.ccg:
11544 * gio/src/fileinputstream.hg:
11545 * gio/src/fileoutputstream.hg:
11546 * gio/src/volume.ccg:
11547 * gio/src/volume.hg: Various build fixes, including adding a flags
11548 parameter to unmount and eject methods.
11549
11550 2008-01-10 Murray Cumming <murrayc@murrayc.com>
11551
11552 * gio/giomm.h: Correct an include.
11553 * gio/src/asyncresult.hg:
11554 * gio/src/cancellable.hg:
11555 * gio/src/drive.hg:
11556 * gio/src/file.hg:
11557 * gio/src/fileattribute.hg:
11558 * gio/src/fileenumerator.hg:
11559 * gio/src/fileicon.hg:
11560 * gio/src/fileinfo.hg:
11561 * gio/src/fileinputstream.hg:
11562 * gio/src/fileoutputstream.hg:
11563 * gio/src/outputstream.hg:
11564 * gio/src/simpleasyncresult.hg:
11565 * gio/src/volume.ccg:
11566 * gio/src/volume.hg: Correct several includes to use giomm/ instead of
11567 glibmm/.
11568
11569 * configure.in:
11570 * examples/Makefile.am_fragment:
11571 * tests/Makefile.am_fragment: Include/Link giomm too.
11572
11573 * tests/Makefile.am:
11574 * tests/giomm_simple/Makefile.am:
11575 * tests/giomm_simple/giomm_simple.cc:
11576 Added a little test, which shows that the library is not being built
11577 properly - we get undefined symbols.
11578
11579 2008-01-10 Murray Cumming <murrayc@murrayc.com>
11580
11581 * tools/extra_defs_gen/generate_defs_gio.cc: Added some types used so
11582 far. There are probably more that should be added here.
11583 * tools/extra_defs_gen/generate_extra_defs.cc: get_properties():
11584 Added warnings and a check to avoid a crash when
11585 g_object_interface_list_properties() returns a NULL paramspec, but a
11586 non-null properties count, as is happening with GVolume.
11587 * gio/src/gio_signals.defs: Generated this from generate_defs_gio.
11588
11589 2008-01-09 Murray Cumming <murrayc@murrayc.com>
11590
11591 * gio/src/Makefile_list_of_hg.am_fragment:
11592 * gio/src/loadableicon.ccg:
11593 * gio/src/loadableicon.hg: Added this, though no methods or vfuncs are
11594 wrapped yet.
11595 * tools/m4/convert_glib.m4:
11596 * gio/src/fileicon.hg:
11597 * gio/src/fileinfo.hg: Derive from LoadableIcon and implement it.
11598 set_modification_time(): Take a const TimeVal.
11599 * gio/src/fileinputstream.ccg:
11600 * gio/src/fileinputstream.hg: Added documentation and a version of
11601 seek() without the cancellable parameter.
11602 * gio/src/gio_docs.xml: Generated from docextract_to_xml.py so we get
11603 documentation for methods created by _WRAP_METHOD().
11604
11605 2008-01-09 Murray Cumming <murrayc@murrayc.com>
11606
11607 * gio/src/file.ccg:
11608 * gio/src/file.hg: Added method documentation for most *_async methods.
11609 See also GTK+ bug #508297.
11610 Removed one superfluous load_partial_contents_async() method overload.
11611 * gio/src/fileenumerator.hg: Corrected documentation for close_async().
11612
11613 2008-01-08 Murray Cumming <murrayc@murrayc.com>
11614
11615 * configure.in: Uncomment GTKMM_DOXYGEN_INPUT_SUBDIRS to fix the
11616 reference documentation build (no idea when this happened) and add
11617 gio to the list of directories.
11618
11619 * glib/src/optioncontext.ccg:
11620 * glib/src/optioncontext.hg: Added get_help().
11621
11622 * gio/src/gio_enums.defs: Regenerated with enums.pl
11623 * gio/src/gio_methods.defs: Regenerated with h2defs.py.
11624
11625 * tools/m4/convert_glib.m4:
11626 * gio/src/fileattribute.hg: Renamed FileAttributeFlags to
11627 FileAttributeInfoFlags, as it is in gio.
11628
11629 * gio/src/fileenumerator.hg:
11630 * gio/src/asyncresult.hg:
11631 * gio/src/cancellable.hg:
11632 * gio/src/drive.hg:
11633 * gio/src/file.hg: Added class documentation, and some method
11634 documentation, based on the C documentation.
11635 Many giomm classes still need documentation.
11636
11637 2008-01-08 Murray Cumming <murrayc@murrayc.com>
11638
11639 * gio/src/asyncresult.hg:
11640 * gio/src/cancellable.hg:
11641 * gio/src/fileattribute.hg:
11642 * gio/src/fileenumerator.hg:
11643 * gio/src/fileinputstream.hg:
11644 * gio/src/fileoutputstream.hg:
11645 * gio/src/icon.hg:
11646 * gio/src/inputstream.hg:
11647 * gio/src/mountoperation.hg:
11648 * gio/src/outputstream.hg:
11649 * gio/src/simpleasyncresult.hg:
11650 Made some whitespace more consistent with the rest of glibmm.
11651 In particular, white space alignment in .hg files will often be even worse
11652 when seen in the generated .h files.
11653
11654 * gio/src/drive.hg: get_icon(),
11655 * gio/src/file.hg: read(),
11656 * gio/src/fileicon.hg: get_file(),
11657 * gio/src/fileinfo.hg: get_icon(),
11658 * gio/src/volume.hg: get_drive(), get_icon():
11659 For the const versions, actually return a const RefPtr.
11660
11661 2.15.0:
11662
11663 2007-12-28 Marko Anastasov <marko.anastasov@gmail.com>
11664
11665 * tools/extra_defs_gen/generate_defs_gio.cc:
11666 * tools/extra_defs_gen/Makefile.am: Build a separate extra defs
11667 generating program for gio. Currently the program would crash
11668 with get_defs() calls with gio types.
11669 * configure.in: Define GIOMM_CFLAGS and GIOMM_LIBS.
11670
11671 2007-12-28 Marko Anastasov <marko.anastasov@gmail.com>
11672
11673 * gio/src/gio_enums.defs:
11674 * gio/src/gio_methods.defs: Regenerated with enums.pl and h2defs.py.
11675
11676 2007-12-28 Marko Anastasov <marko.anastasov@gmail.com>
11677
11678 * gio/src/icon.ccg:
11679 * gio/src/icon.hg:
11680 * gio/src/inputstream.ccg:
11681 * gio/src/inputstream.hg:
11682 * gio/src/Makefile_list_of_hg.am_fragment: Added files missing from
11683 the import.
11684
11685 Set svn:ignore properties for gio.
11686
11687 2007-12-28 Murray Cumming <murrayc@murrayc.com>
11688
11689 * configure.in: Mention the new gio/giommconfig.h in AM_CONFIG_HEADER().
11690 * gio/Makefile.am: Change references to the giomm-2.0.pc to giomm-2.4.pc.
11691 * gio/src/Makefile_list_of_hg.am_fragment: Remove icon.hg and inputstream.hg
11692 because they do not exist in svn.
11693 * gio/src/outputstream.hg: Comment out set_pending() because gmmproc complains
11694 about the wrong number of parameters.
11695
11696 This fixes the build, though I don't know yet if everything is working properly.
11697
11698 2007-12-28 Marko Anastasov <marko.anastasov@gmail.com>
11699
11700 * configure.in: Fixed typo.
11701
11702 2007-12-28 Marko Anastasov <marko.anastasov@gmail.com>
11703
11704 * gio/*:
11705 * configure.in:
11706 * Makefile.am:
11707 * tools/m4/convert_glib.m4: Checked in sources from giomm. Build
11708 needs to be fixed to work with scripts in build_shared/.
11709
11710 2007-12-28 Murray Cumming <murrayc@murrayc.com>
11711
11712 * glib/glibmm/ustring.h: Added @newin2p16 to compose() and format()
11713 documentation.
11714 * glib/src/keyfile.ccg:
11715 * glib/src/keyfile.hg: set_double_list(): Make the ArrayHandle argument const.
11716 This could not have been used before.
11717
11718 2007-12-28 Murray Cumming <murrayc@murrayc.com>
11719
11720 * glib/src/keyfile.hg: Add class documentation from the glibmm-2-14 branch.
11721
11722 2007-12-28 Murray Cumming <murrayc@murrayc.com>
11723
11724 * tools/m4/class_gobject.m4:
11725 * tools/m4/ctor.m4:
11726 _INITIALLY_UNOWNED_SINK: Rename from INITIALLY_UNOWNED_SINK,
11727 for consistency, because this could be used directly from .ccg files
11728 that use _CONSTRUCT().
11729 Remove the debug code for the else case.
11730
11731 2007-12-28 Murray Cumming <murrayc@murrayc.com>
11732
11733 * tools/m4/class_gobject.m4:
11734 * tools/m4/ctor.m4:
11735 Added the _DERIVES_INITIALLY_UNOWNED macro, for use
11736 after _CLASS_GOBJECT(), if the C type derives
11737 from GInitiallyUnowned rather than just GObject.
11738 (Not for use with GtkObject-derived classes).
11739 This does g_object_ref_sink() so that we get a normally-behaved
11740 GObject.
11741
11742 2007-12-28 Murray Cumming <murrayc@murrayc.com>
11743
11744 * scripts/c_std.m4: Added this, to fix the build. I forgot to
11745 add this when merging the change from glibmm-2-14 on 2007-10-22.
11746
11747 2007-12-28 Murray Cumming <murrayc@murrayc.com>
11748
11749 * glib/glibmm/refptr.h: Use @newin2p16 in the reset() documentation.
11750
11751 2007-12-28 Murray Cumming <murrayc@murrayc.com>
11752
11753 * glib/glibmm/refptr.h: Deprecate clear(), replacing it with
11754 reset(), because people often do treemodel.clear() when they
11755 mean treemodel->clear(). reset() is consistent with std::auto_ptr<>.
11756
11757 2007-12-28 Daniel Elstner <danielk@openismus.com>
11758
11759 * tools/pm/Output.pm (output_wrap_property): Refuse to generate
11760 a wrapper for a construct-only property which is also write-only,
11761 and display an error message accordingly. (#436789)
11762
11763 2007-12-28 Murray Cumming <murrayc@murrayc.com>
11764
11765 * glib/glibmm/error.cc:
11766 * glib/glibmm/exception.cc:
11767 * glib/src/convert.ccg:
11768 * glib/src/date.ccg: Include glib.h instead of gmessages.h or
11769 gtestutils.h so this builds with all versions of glib.
11770
11771 2007-12-17 Marko Anastasov <marko.anastasov@gmail.com>
11772
11773 * glib/glibmm/exception.cc:
11774 * glib/glibmm/error.cc:
11775 * glib/src/date.ccg:
11776 * glib/src/convert.ccg: Include gtestutils.h instead of gmessages.h
11777 for g_assert* adapting to glib head.
11778
11779 2007-11-20 Sebastien Bacher <seb128@ubuntu.com>
11780
11781 * glib/glibmm/object.cc: fix build issue when using gcc4.3 (#498438)
11782
11783 2007-10-22 Murray Cumming <murrayc@murrayc.com>
11784
11785 * Merged this change from 2007-03-03 from the glibmm-2-12 branch, which was
11786 missing from this branch:
11787 * configure.in:
11788 * glib/glibmmconfig.h.in:
11789 * glib/src/date.ccg:
11790 * glib/src/date.hg:
11791 * scripts/Makefile.am:
11792 * scripts/c_std.m4: Added a test for the case that time_t is equivalent to
11793 guint32, as seems to be the case on NetBSD-4.99.6/amd64, so we can ifdef-out
11794 the (deprecated, anyway) Glib::Date::set_time(GTime) method when necessary, because
11795 GTime is also equivalent to guint32.
11796 Bug #386990.
11797
11798 2007-10-12 Armin Burgmeier <armin@openismus.com>
11799
11800 * tools/m4/base.m4: Added a new section called SECTION_HEADER_FIRST
11801 that within the header file that is before any generated code (apart
11802 from the include guards) and a _CONFIGINCLUDE macro that includes a
11803 file within this section. This is intended to be used with
11804 g*mmconfig.h so the *_DISABLE_DEPRECATED define is set for deprecated
11805 classes also when included from other code.
11806
11807 2007-10-05 Philipp Kerling <philipp@gmail.com>
11808
11809 * tools/extra_defs_gen/generate_extra_defs.cc:
11810 Also create defs for interfaces, by refing and unrefing them
11811 temporarily.
11812
11813 2007-09-29 Rémi Cardona <remi@gentoo.org>
11814
11815 * configure.in:
11816 increase the minimum glib requirements.
11817 Bug #481566.
11818
11819 2007-10-02 Murray Cumming <murrayc@murrayc.com>
11820
11821 * glib/glibmm/wrap.cc:
11822 * glib/glibmm/wrap.h: Replaced wrap_create_new_wrapper()
11823 (introduced by the last commit) with wrap_create_new_wrapper(),
11824 allowing us to check that the parent GType actually implements
11825 the interface. This allows us to return a parent known type
11826 if it implements the wanted interface.
11827
11828 2007-09-25 Murray Cumming <murrayc@murrayc.com>
11829
11830 * glib/glibmm/wrap.cc:
11831 * glib/glibmm/wrap.h: Added wrap_auto_interface<>(), which should
11832 be used by wrap() specializations for interfaces, so we create
11833 instances of the interface even if the derived C type is unknown to
11834 us.
11835 * glib/glibmm/signalproxy_connectionnode.h: Do not wrap.h from here
11836 unnecessarily, to allow us to include objectbase.h in wrap.h,
11837 needed by the new templated method.
11838 * tools/m4/class_interface.m4: Use wrap_auto_interface<>()
11839 instead of wrap_auto() for interfaces.
11840
11841 2007-09-06 Daniel Elstner <danielk@openismus.com>
11842
11843 * glib/src/regex.{ccg,hg} (Regex): Some cosmetic cleanup. Also
11844 replace C-style casts in default argument values with static_cast<>.
11845 (escape_string): Wrap missing function.
11846 (match_full): Rename to and add as overloads of match().
11847 (match_all_full): Rename to and add as overloads of match_all().
11848 (split_full): Rename to and add as overloads of split().
11849
11850 2007-09-03 Daniel Elstner <danielk@openismus.com>
11851
11852 * glib/glibmm/ustring.cc (ustring::FormatStream::FormatStream): Use
11853 the global C++ locale instead of forcing the environment's locale
11854 onto the formatting stream. This lifts an unnecessary restriction
11855 at the cost of requiring users to call std::locale::global().
11856 * glib/glibmm/ustring.h (ustring): Advertise the new compose and
11857 format API in the class documentation.
11858 (ustring::format): Correct a couple of cut'n'paste mistakes -- ouch.
11859 Also add two more overloads so that format() now takes up to eight
11860 arguments. Extent the method documentation, too.
11861 (ustring::Stringify): Explicitly declare the class as noncopyable.
11862 (ustring::compose): Qualify calls to method ustring::compose_argv()
11863 in order to avoid surprising name lookup results in the context of
11864 the template instantiation.
11865
11866 * docs/reference/Doxyfile.in (PREDEFINED): Add GLIBMM_HAVE_WIDESTREAM
11867 so that the wide stream I/O operators show up in the documentation.
11868
11869 2007-08-16 Jonathon Jongsma <jjongsma@gnome.org>
11870
11871 * docs/reference/glibmm_footer.html_fragment,
11872 docs/reference/glibmm_header.html_fragment: added <div> to doxygen header
11873 and footer to make it easier to integrate with library.gnome.org, per a
11874 request by Frederic Peters
11875
11876 2007-08-15 Daniel Elstner <danielk@openismus.com>
11877
11878 * glib/glibmm/ustring.{cc,h} (ustring::compose_argv): Rename
11879 "format" argument to "fmt" to avoid name clashes with the method
11880 of the same name.
11881 (ustring::compose): Make the type of each substitution parameter
11882 a template argument, and invoke ustring::format() implicitly for
11883 non-string arguments. Explicit invocation of ustring::format() is
11884 still necessary in order to apply I/O manipulators to an argument.
11885 (ustring::Stringify): New auxiliary template class used in the
11886 implementation of ustring::compose().
11887
11888 * examples/compose/main.cc (show_examples): Omit explicit calls
11889 to ustring::format() where possible.
11890
11891 2007-08-12 Daniel Elstner <danielk@openismus.com>
11892
11893 * examples/compose: New example demonstrating the message
11894 compose and format features.
11895 * examples/compose/main.cc: New file.
11896 * examples/compose/Makefile.am: New file.
11897
11898 * examples/Makefile.am (example_dirs): Add compose directory.
11899 * configure.in (AC_CONFIG_FILES): Add examples/compose/Makefile.
11900
11901 2007-08-12 Daniel Elstner <danielk@openismus.com>
11902
11903 * build_shared/Makefile_build.am_fragment (all_includes): Add
11904 -I$(top_builddir) in order to allow <config.h> to be included.
11905
11906 * glib/glibmm/ustring.{cc,h}: Include <config.h> for the
11907 definition of SIZEOF_WCHAR_T.
11908 (ustring::FormatStream::stream): Replace accessor with template
11909 method that passes its argument onto the stream. Add overload
11910 for "const char*" to enable the use of UTF-8 string literals as
11911 arguments to ustring::format().
11912 (ustring::FormatStream::FormatStream): Handle exceptions on
11913 failure to initialize the locale gracefully.
11914 (ustring::format): Adapt to the modified stream() method.
11915 (operator<<): Add missing call to ustring::raw() to get the
11916 number of bytes instead of code points. Oops.
11917
11918 2007-08-12 Daniel Elstner <danielk@openismus.com>
11919
11920 * glib/glibmm/ustring.{cc,h}: Add preliminary implementation of
11921 a message compose and format API (bug #399216). The API design
11922 is not final and still open for discussion.
11923 (ustring::compose): New set of static methods for composing
11924 internationalized text messages by substituting placeholders
11925 in a template string.
11926 (ustring::format): New set of static methods for locale-dependent
11927 formatting of numbers and other streamable objects to strings.
11928 (ustring::compose_argv): New static method which implements the
11929 common functionality of the compose() overloads.
11930 (ustring::FormatStream): New helper class which implements the
11931 type-independent functionality of the format() templates.
11932 (operator>>): New operator overload for std::wistream.
11933 (operator<<): New operator overload for std::wostream.
11934
11935 2007-08-12 Daniel Elstner <danielk@openismus.com>
11936
11937 * scripts/dk-feature.m4: New file, defining M4 utility macros for
11938 feature testing. These macros are part of my personal autoconf
11939 library and are not specific to glibmm, as indicated by the "DK_"
11940 namespace prefix.
11941
11942 * configure.in (AC_INIT): Switch to the non-deprecated usage of
11943 AC_INIT() by passing project name and version number as arguments.
11944 This is necessary to define a couple of auxiliary macros.
11945 (AC_PREREQ): Bump Autoconf version requirement to 2.58.
11946 (AC_CONFIG_SRCDIR): Point to project-specific source file.
11947 (AC_CONFIG_MACRO_DIR): Declare scripts/ as M4 directory.
11948 (AM_INIT_AUTOMAKE): Switch to non-deprecated usage.
11949 (AC_CHECK_SIZEOF): Use to determine the size of wchar_t.
11950 (DK_CHECK_FEATURE): Use new feature test macro to check for
11951 support of wide-character streams.
11952
11953 * config.h.in (SIZEOF_WCHAR_T): Add #undef template.
11954 * glib/glibmmconfig.h.in (GLIBMM_HAVE_WIDE_STREAM): Likewise.
11955
11956 2007-08-04 Daniel Elstner <daniel.kitta@gmail.com>
11957
11958 * containerhandle_shared.h (TypeTraits<bool>): Rewrite completely
11959 broken type adapter (bug #406960).
11960 * src/keyfile.{ccg,hg}: Fix the implementation to correctly use
11961 ArrayHandle<>. Fix compilation with the new ArrayHandle<bool>
11962 code.
11963
11964 2.13.9:
11965
11966 2007-07-28 Murray Cumming <murrayc@murrayc.com>
11967
11968 * glib/src/keyfile.hg:
11969 * glib/src/keyfile.ccg: Added a set_double() without the group_name
11970 parameter, because the C function can take NULL.
11971 * glib/src/glib_docs_override.xml: Corrected the documnentation for
11972 g_keyfile_set/get_double() to mention 2.14, instead of 2.12,
11973 because we only added these to glibmm in 2.14.
11974 * glib/src/regex.hg: Correct the since documentation to be 2.14
11975 not 2.12.
11976 * glib/src/iochannel.hg: read(): Corrected a parameter name to
11977 match the generated documentation.
11978 * glib/glibmm/miscutils.h: Fixed typos in the use of newin2p14.
11979
11980 2007-07-28 Murray Cumming <murrayc@murrayc.com>
11981
11982 * docs/Makefile_web.am_fragment: Corrected the rsync options, to
11983 match those used by gtkmm, to fix the examples upload.
11984 * glib/src/glib_docs.xml: Regenerated from the C documentation.
11985
11986 2007-07-14 Murray Cumming <murrayc@murrayc.com>
11987
11988 * glib/src/keyfile.ccg:
11989 * glib/src/keyfile.hg: Added get_double(), set_double(), get_double_list()
11990 and set_double_list().
11991
11992 2.13.8:
11993
11994 2007-07-07 Jonathon Jongsma <jjongsma@gnome.org>
11995
11996 * glib/src/optioncontext.ccg:
11997 * glib/src/optioncontext.hg: add some new API that was added in glib 2.12,
11998 including get/set_summary(), get/set_description(), set_translation_domain(),
11999 and set_translate_func().
12000 * glib/src/glib_docs.xml: Regenerated with docextract_to_xml.py
12001 * glib/src/glib_docs_override.xml: override docs for the new functions so
12002 that they say that they were introduced in glibmm 2.14 instead of 2.12
12003
12004 2007-07-02 Johannes Schmid <johannes.schmid@openismus.com>
12005
12006 * glib/src/regex.hg:
12007 Added class documentation
12008
12009 2007-07-02 Murray Cumming <murrayc@murrayc.com>
12010
12011 * tools/pm/DocsParser.pm: convert_tags_to_doxygen():
12012 Handle newin markers for 2.12 and a few after that.
12013 * docs/reference/Doxyfile.in: Added ALIASES for newin2p12 and
12014 a few more.
12015
12016 2.13.7:
12017
12018 2007-06-22 Murray Cumming <murrayc@murrayc.com>
12019
12020 * glib/glibmm/main.cc:
12021 * glib/glibmm/main.h: Added SignalTimeout::connect_seconds()
12022 as an equivalent for g_timeout_add_seconds() and took the improved
12023 documentation from glib.
12024
12025 * glib/glibmm/miscutils.cc:
12026 * glib/glibmm/miscutils.h: Added get_user_special_dir(), though we
12027 should maybe wrap the enum.
12028 Reimplemented many of the functions with the
12029 convert_return_gchar_ptr_to_stdstring() and
12030 convert_const_gchar_ptr_to_stdstring() functions to simplify them
12031 and make them handle NULLs properly.
12032
12033 2007-06-22 Murray Cumming <murrayc@murrayc.com>
12034
12035 * glib/src/regex.ccg:
12036 * glib/src/regex.hg: Added a create() method, and added some
12037 more default parameter values to the methods.
12038
12039 * configure.in:
12040 * examples/Makefile.am:
12041 * examples/regex/main.cc: Added a very simple example.
12042
12043 * glib/glibmm/value_custom.h: Put header guards around this, though
12044 this should never be included directly anyway.
12045
12046 2.13.6:
12047
12048 2007-06-17 Murray Cumming <murrayc@murrayc.com>
12049
12050 * glib/src/regex.hg:
12051 * glib/src/matchinfo.hg: Removed API that uses GMatchInfo, until we
12052 wrap this properly, probably as a C++ iterator. This will avoid this
12053 API accidentally being released as stable sometime.
12054
12055 2007-06-12 Murray Cumming <murrayc@murrayc.com>
12056
12057 * glib/src/glib_enums.defs: Regenerated with enums.pl
12058 * glib/src/glib_functions.defs: Regenerated with h2defs.py
12059
12060 * glib/src/Makefile_list_of_hg.am_fragment:
12061 * tools/m4/convert_glib.m4:
12062 * glib/src/matchinfo.ccg:
12063 * glib/src/matchinfo.hg:
12064 * glib/src/regex.ccg:
12065 * glib/src/regex.hg: Added the RegEx and MatchInfo classes.
12066 These need some examples to test them. The MatchInfo class is
12067 probably particularly broken at the moment. See the TODO comments.
12068
12069 * glib/glibmm.h: Added regex.h
12070
12071 2007-05-14 Murray Cumming <murrayc@murrayc.com>
12072
12073 * tools/m4/class_boxedtype.m4:
12074 * tools/m4/class_gobject.m4:
12075 * tools/m4/class_gtkobject.m4:
12076 * tools/m4/class_interface.m4:
12077 * tools/m4/class_opaque_copyable.m4:
12078 * tools/m4/class_opaque_refcounted.m4: Explicitly mention Glib::wrap()
12079 in the documentation for generated Glib::wrap() functions, because doxygen
12080 does not show their namespace.
12081
12082 2007-05-04 Murray Cumming <murrayc@murrayc.com>
12083
12084 * tools/pm/Function.pm: When generating example prototypes for
12085 signal handlers, prefix them with on_my_, to avoid confusion with
12086 similarly named functions and with on_*() default signal handlers.
12087
12088 2.13.5:
12089
12090 2007-04-30 Johannes Schmid <johannes.schmid@openismus.com>
12091
12092 * tools/generate_wrap_init.pl.in:
12093 * tools/m4/class_gtkobject.m4:
12094 Use _IS_DEPRECATED instead of _CLASS_DEPRECATED because
12095 the latter confuses gmmproc.
12096 We cannot just use _DEPRECATED because it will result
12097 in incorrect handling of for example
12098 #ifndef GTKMM_DISABLE_DEPRECATED
12099
12100 2007-04-24 Yselkowitz <yselkowitz@users.sourceforge.net>
12101
12102 * scripts/macros.m4: Check for both m4 and M4 in the GNU m4 output,
12103 to fix the build on some platforms.
12104 Bug #423990
12105
12106 2.13.4:
12107
12108 2007-04-11 Armin Burgmeier <armin@openismus.com>
12109
12110 * tools/pm/WrapParser.pm: Added peek_token() function which only
12111 returns the next token without removing it from the tokens array.
12112 Parse '/**' as a separate token and handle it in a special way so that
12113 when the final '*/' is encountered and _WRAP_SIGNAL follows, the
12114 comment is not terminated but continued by that automatically
12115 generated doxygen comment.
12116
12117 * tools/pm/Output.pm: Added a merge_doxygen_comment_with_previous
12118 parameter in output_wrap_sig_decl(). If it is nonzero, the function
12119 assumes that there is already a comment open and continues to use it
12120 instead of opening a new comment by removing the leading '/**' from
12121 what get_refdoc_comment() returns. Bug #378810.
12122
12123 2007-04-06 Johannes Schmid <johannes.schmid@openismus.com>
12124
12125 * tools/generate_wrap_init.pl.in:
12126 Use _CLASS_DEPRECATE instead of just _DEPRECATE to
12127 known whether a whole class should be avoided in wrap_init.
12128 Otherwise every .hg file containing deprecated methods
12129 might get ignored. (Fixes Gtk::TextBuffer bug in maemo)
12130
12131 2007-03-19 Bradley Bell <btb@debian.org>
12132
12133 * glib/glibmm/helperlist.h: Change variable name to avoid
12134 warnings about a shadowed member.
12135 Bug #420316.
12136
12137 2007-03-19 Bradley Bell <btb@debian.org>
12138
12139 * glib/glibmm/utility.h: remove g_free prototype, include gmem.h
12140 instead, to avoid a warning about a redundant declaration.
12141 Bug #420339.
12142
12143 2007-03-17 Armin Burgmeier <armin@openismus.com>
12144
12145 * tools/m4/signal.m4:
12146 * tools/m4/vfunc.m4:
12147 Use static_cast in vfuncs and signal handlers to cast the
12148 wrapper object to ObjectBase*. This is enough to check whether the object is
12149 from a derived type or not. A slow dynamic_cast has only to be performed if it
12150 is derived, and the C++ vfunc needs to be called.
12151 * glib/glibmm/objectbase.h: This requires ObjectBase::is_derived_ to be public,
12152 because it is called on a ObjectBase* rather than the actual type.
12153 This causes a slight speed up of vfuncs and default signal handler invokation.
12154
12155 Also added commented-out inline versions of ObjectBase::_get_current_wrapper() and
12156 ObjectBase::is_derived(), which could be used in the generated code if we find
12157 that this has significant performance benefits. Note that these methods must be
12158 additional to the non-inline methods, because inline methods are not usually exported in the
12159 shared library.
12160
12161 2007-02-10 Murray Cumming <murrayc@murrayc.com>
12162
12163 * examples/options/main.cc: Use a default value, to show that it
12164 can be done.
12165 (This change, from 2006-03-30 was restored after being accidentally lost on Apr 12 2006)
12166
12167 2007-02-10 Armin Burgmeier <armin@arbur.net>
12168
12169 * glib/src/optiongroup.ccg: default_c_arg(): Set the initial
12170 value of the C argument to the value the C++ argument has, to avoid
12171 that glibmm resets arguments to zero that were not given on the
12172 command line.
12173 (This change, from 2006-03-30 was restored after being accidentally lost on Apr 12 2006)
12174
12175 2007-01-28 Daniel Elstner <daniel.kitta@gmail.com>
12176
12177 * tools/m4/ctor.m4: If the argument list is empty, call the non-
12178 varargs overload of the Glib::ConstructParams constructor instead
12179 of using an empty varargs list. This mistake was exposed thanks
12180 to the recent addition of G_GNUC_NULL_TERMINATED to the varargs
12181 constructor declaration. Fortunately it was harmless in this case.
12182 Also use the opportunity to clean up the M4 code and prefix builtin
12183 M4 macros with m4_, so that we may get rid of the unprefixed macros
12184 altogether some day.
12185
12186 Thu, 25 Jan 2007 23:13:05 +0100 Dodji Seketeli
12187
12188 * tools/m4/base.m4:
12189 prefix the builting mkstemp with 'm4' because otherwise,
12190 m4 1.4.8 recognizes it as a builtin macro and expands it, leading
12191 to compilation errors on some distros.
12192 This should fix #397167. Thanks to Daniel Elstner for spotting this.
12193
12194 2007-01-20 Daniel Elstner <daniel.kitta@gmail.com>
12195
12196 * glib/glibmm/dispatcher.{cc,h}: Early spring cleaning. Also add
12197 a paragraph about Dispatcher on win32 to the documentation.
12198 (DispatchNotifyData): Remove the 'tag' member from the struct that
12199 was always set to 0xdeadbeef in order to detect memory corruption.
12200 This is pointless, as we already check the DispatchNotifier pointer
12201 sent across the pipe, which is a far better indicator of corruption
12202 anyway.
12203 (warn_failed_pipe_io): Remove the err_no parameter and retrieve
12204 errno respectively GetLastError() within the function instead.
12205 (DispatchNotifier::conn_io_handler_): Remove, as we now inherit
12206 from sigc::trackable. I verified that this doesn't cause problems
12207 with threading in this particular case.
12208 (DispatchNotifier::DispatchNotifier): If creating the pipe failed
12209 and exceptions are disabled, call at least warn_failed_pipe_io()
12210 instead of doing nothing at all.
12211 (DispatchNotifier::*): Rework the win32 implementation so that it
12212 matches more closely the Dispatcher semantics on Unix. This still
12213 needs testing by someone on win32, though. So far I only verified
12214 that it compiles with dummy definitions of the win32 API. Also,
12215 I accidentally located the real cause of the race condition Cedric
12216 experienced in bug #109966. It was a bug in my patch, rather than
12217 in the example code.
12218
12219 * examples/thread/dispatcher.cc: Cleanup. In particular, get rid
12220 of the Glib::RefPtr<> abuse with non-Glib::Object types. I don't
12221 believe we endorse such usage officially, so it shouldn't be in
12222 the examples.
12223
12224 2007-01-20 Daniel Elstner <daniel.kitta@gmail.com>
12225
12226 * glib/glibmm/miscutils.cc: Clean up the code a bit.
12227 (get_application_name): Remove the code that checked the string for
12228 valid UTF-8, and attempted conversion if not valid. I must have
12229 been on crack when I wrote this, as the combination of conditions
12230 that would cause the string to be invalid UTF-8 is quite unlikely.
12231 If this is a valid concern at all, it should be filed as a GLib bug
12232 and not worked around in glibmm.
12233 (build_filename(const std::string&, const std::string&)): Just call
12234 the plain g_build_filename() instead of building a temporary array
12235 and passing that via ArrayHandle to the build_filename() overload
12236 for containers.
12237 (build_path): Remove the already deactivated custom implementation
12238 from the time before g_build_pathv() was added to GLib.
12239
12240 * glib/glibmm/object.{cc,h}: Improve/fix a couple of comments.
12241 (ConstructParams::ConstructParams): Add G_GNUC_NULL_TERMINATED
12242 function attribute to make the compiler complain if the variadic
12243 argument list is not terminated by a NULL pointer.
12244
12245 * glib/glibmm/ustring.{cc,h} (utf8_find_last_of): Avoid applying
12246 bitwise logical operators directly to (possibly signed) operands
12247 of char type. In order to avoid relying on implementation-defined
12248 behavior, make sure that the operands are of unsigned integer type.
12249 (ustring::is_ascii): Likewise,
12250 (ustring_Iterator<T>::operator--): Likewise.
12251 (get_unichar_from_std_iterator): De-obfuscate this highly optimized
12252 piece of code, as the current stable release of GCC (4.1.2-pre on
12253 my system) generates better assembler output without the voodoo.
12254
12255 2.13.3:
12256
12257 2006-11-28 Daniel Elstner <danielk@openismus.com>
12258
12259 * tools/pm/GtkDefs.pm (read_defs): Allow an empty pair of
12260 parentheses in the innermost match. This fixes the problem of
12261 gmmproc choking on "()" in the documentation strings. This would
12262 still break on unmatched parentheses, though. Of course the
12263 parser should just skip over quoted strings, but I wasn't able
12264 to get that to work.
12265 * glib/src/glib_enums.defs (GNormalizeMode): Manually fix the
12266 improperly parsed value of G_NORMALIZE_NFD. Fortunately this
12267 doesn't change anything since the "#error" token was interpreted
12268 as zero, which happens to be the right value.
12269 * glib/src/glib_functions.defs (g_iconv): Manually convert to
12270 a function definition, as it was improperly parsed as a method
12271 with a zero-length name (!) of object GIConv. This fixes the
12272 annoying gmmproc warning about an allegedly unwrapped method.
12273
12274 2006-11-28 Murray Cumming <murrayc@murrayc.com>
12275
12276 * glib/glibmm/propertyproxy_base.cc: Don't ifdef out
12277 PropertyProxy_Base when properties are disabled. It is needed
12278 for connect_property_changed().
12279
12280 2006-11-27 Daniel Elstner <danielk@openismus.com>
12281
12282 * tools/enum.pl (parse): Ignore whitespace in front of an enum
12283 typedef. This fixes parsing of HildonTelephoneEditorFormat in
12284 hildon-libs.
12285 * tools/pm/Enum.pm (parse_values): Check whether the enumeration
12286 constants actually have a common module prefix before attempting
12287 to remove it. This fixes the incorrect parsing of inconsistently
12288 named enums in hildon-libs.
12289
12290 2006-11-27 Daniel Elstner <danielk@openismus.com>
12291
12292 * tools/enum.pl (form_names): Break the loop if the length of the
12293 common prefix reaches zero. This fixes the infinite loop when
12294 processing the inconsistently named enumeration constants of the
12295 Hildon libraries.
12296
12297 2006-11-20 Murray Cumming <murrayc@murrayc.com>
12298
12299 * docs/reference/libstdc++.tag.xml: Updated from the libstdc++ site.
12300 Note that the original does not have an .xml extension. This is is
12301 lots bigger, but that should mean there is more documentation now.
12302
12303 2006-11-22 Oliver Nittka <oly@nittka.com>
12304
12305 * glib/src/value_basictypes.cc.m4: When registering float parameters,
12306 use -G_MAXFLOAT instead of G_MINFLOAT. Since we first implemented this,
12307 the glib documentation has been updated to make it cleare that this is
12308 the real minimum and G_MINFLOAT is the minimum positive value.
12309 Do the same for doubles too.
12310
12311 2006-11-10 Murray Cumming <murrayc@murrayc.com>
12312
12313 * tools/Makefile.am: Add enum.pl to the dist, so that it is in
12314 tarballs. Someone saw it mentioned in the appendix, but could not
12315 find it in the tarball.
12316
12317 2006-11-10 Murray Cumming <murrayc@murrayc.com>
12318
12319 * docs/reference/Doxyfile.in: Add PREDEFINES for the optional API,
12320 so that the documentation shows the regular API.
12321
12322 2006-11-10 Murray Cumming <murrayc@murrayc.com>
12323
12324 * glib/glibmm/objectbase.cc:
12325 * glib/glibmm/objectbase.h: Added connect_property_changed(),
12326 as an alternative to use when the property proxies are not
12327 available because GLIBMM_PROPERTIES_ENABLED is not defined.
12328 SignalProxyProperty::connect(): Use notify::propertyname instead of
12329 just notify, so do not have to check the property name later. This
12330 should be more efficient (when this is used, rarely).
12331 * glib/glibmm/propertyproxy_base.cc:
12332 * glib/glibmm/propertyproxy_base.h: Move PropertyProxyConnectionNode
12333 into the header, so we can reuse it for connect_property_changed().
12334
12335 2006-10-04 Murray Cumming <murrayc@murrayc.com>
12336
12337 * glib/glibmm/class.cc:
12338 * glib/src/iochannel.ccg:
12339 * glib/src/markup.ccg: Add a silly line to avoid unused parameters
12340 when GLIBMM_EXCEPTIONS_ENABLED is not set.
12341 * glib/glibmm/error.h: Do not use G_GNU_NO_RETURN on the version
12342 of throw_exception() that returns, to avoid a warning.
12343
12344 2006-10-01 Murray Cumming <murrayc@murrayc.com>
12345
12346 * Makefile.am:
12347 * docs/Makefile.am:
12348 * docs/Makefile_web.am_fragment:
12349 * docs/images/Makefile.am:
12350 * docs/reference/Makefile.am:
12351 * docs/reference/README:
12352 * examples/Makefile.am: Upload to the new hoster instead of to sourceforge.
12353 Abstracted the host and path names into docs/Makefile_web.am_fragment to
12354 avoid duplication.
12355
12356 2.13.2:
12357
12358 2006-09-28 Cedric Gustin <cedric.gustin@gmail.com>
12359
12360 * MSVC_Net2003/glibmm/glibmm.vcproj: Remove sarray from list of
12361 source and header files.
12362
12363 2006-09-26 Murray Cumming <murrayc@murrayc.com>
12364
12365 * glib/glibmmconfig.h.in: For win32, define
12366 GLIBMM_ARG_ENABLE_API_DEFAULT_SIGNAL_HANDLERS to 1,
12367 instead of just defining it to nothing.
12368 * scripts/reduced.m4: In the AC_ARG_ENABLE() to
12369 define (or not) GLIBMM_ARG_ENABLE_API_DEFAULT_SIGNAL_HANDLERS,
12370 use api-default-signal-handlers as the first parameter
12371 instead of api-exceptions (a copy/paste error), though it does
12372 not seem to make any difference.
12373 Bug #357830.
12374
12375 2006-09-23 Jonathon Jongsma <jonathon.jongsma@gmail.com>
12376
12377 * glib/src/keyfile.ccg, glib/src/keyfile.hg: added new files that were
12378 missed from an earlier commit
12379
12380 2.13.1:
12381
12382 2006-09-19 Ralf Stephan <ralf@ark.in-berlin.de>
12383
12384 * glib/glibmm/ustring.h:
12385 ustring(const ustring& src, size_type i, size_type n=npos)
12386 and
12387 ustring(const char* src, size_type n) constructors:
12388 In the reference documentation, mention explicitly that
12389 n is the number of _UTF-8_ characters, rather than
12390 ASCII characters (bytes).
12391
12392 2006-02-20 Rob Page <page.rob@gmail.com>
12393
12394 Wraps GKeyFile (Bug #330535)
12395 * glib/glibmm.h: Added include of keyfile.h
12396 * glib/glibmm/Makefile.am: Added keyfile.h
12397 * glib/glibmm/containerhandle_shared.h: Added a TypeTraits
12398 specialization for converting between bool and gboolean*.
12399 * glib/src/Makefile_list_of_hg.am_fragment: Added keyfile.hg
12400 to files_general_hg.
12401 * glib/src/keyfile.hg: KeyFile header
12402 * glib/src/keyfile.ccg: KeyFile implementation
12403 * tools/m4/convert_glib.m4: Added a conversion for KeyFileFlags
12404
12405 2006-09-14 Johannes Schmid <jhs@gnome.org>
12406
12407 * tools/m4/class_shared.m4: Change _IMPLEMENTS_INTERFACE to
12408 _IMPLEMENTS_INTERFACE_CC so we can have more control over it,
12409 by generating the _IMPLEMENTS_INTERFACE_CC from the WrapParser.pm.
12410 * tools/m4/method.m4:
12411 * tools/m4/signal.m4:
12412 * tools/m4/vfunc.m4: Added optional parameters that result in
12413 #ifdefs around methods, signals, vfuncs, etc.
12414 * tools/pm/Output.pm: Addef ifdef() and endif().
12415 output_wrap_vfunc_h(), output_wrap_vfunc_cc(),
12416 output_wrap_default_signal_handler_h(),
12417 output_wrap_default_signal_handler_cc(),
12418 output_wrap_meth(),
12419 output_wrap_create(),
12420 output_wrap_sig_decl(): Support optional ifdefs around
12421 declarations and implementations, by calling ifdef() and endif(),
12422 or by passing the extra argument to the m4 macros.
12423 * tools/pm/WrapParser.pm: parse_and_build_output():
12424 Parse _IMPLEMENTS_INTERFACE, and call the new on_implements_interface()
12425 method, which uses the new output_implements_interface() method,
12426 so it can have an optional ifdef parameter.
12427 on_wrap_method(), on_wrap_create(), on_wrap_vfunc(), output_wrap_signal(),
12428 output_wrap_vfunc(): Handle the optional ifdef (with a parameter) option
12429 for the _WRAP*() macros.
12430
12431 This adds support for disabling certain features by using the new
12432 "ifdef" argument for methods, vfuncs, signals and interfaces.
12433
12434 2006-09-05 Jonathon Jongsma <jonathon.jongsma@gmail.com>
12435
12436 * docs/reference/Makefile.am: rebuild docs when a .h files changes in
12437 glib/glibmm
12438 * glib/glibmm/miscutils.cc:
12439 * glib/glibmm/miscutils.h: wrap g_get_user_data_dir(),
12440 g_get_user_config_dir(), and g_get_user_cache_dir()
12441
12442 This is the HEAD branch, for new API. There is also a glib-2-12 branch for
12443 maintenance of the stable API.
12444
12445 2006-08-18 Cedric Gustin <cedric.gustin@gmail.com>
12446
12447 * MSVC_Net2003/*.vcproj: Updated for glibmm-2.12.
12448
12449 2.12.0:
12450
12451 2.11.3:
12452
12453 2006-04-25 Murray Cumming <murrayc@murrayc.com>
12454
12455 * configure.in:
12456 * glib/glibmmconfig.h.in:
12457 * scripts/reduced.m4: Added a --enable-api-default-signal-handlers option. This defines
12458 GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED, which is used to #ifdef default signal handlers.