Joe Shaw
ddea52aef6
2005-01-12 Joe Shaw <joeshaw@novell.com>
...
* mono/Makefile.am, mono/example/Makefile.am: Always build the
dbus DLL with --debug.
2005-01-12 22:34:28 +00:00
Joe Shaw
2388bc86ee
2005-01-12 Joe Shaw <joeshaw@novell.com>
...
* mono/Makefile.am: Always build the dbus DLL with --debug.
* mono/Arguments.cs (GetDBusTypeConstructor): If the type
is an enum, get the enum's underlying type. Another mono
1.1.3 fix.
2005-01-12 17:31:08 +00:00
Havoc Pennington
ed3cfaec21
fix doh! in test for double parsing
2005-01-11 22:35:58 +00:00
Joe Shaw
ad03f2672d
2005-01-11 Joe Shaw <joeshaw@novell.com>
...
Patch from Sjoerd Simons <sjoerd@luon.net>
* mono/Makefile.am, mono/example/Makefile.am: Don't redefine
DESTDIR. It breaks stuff.
2005-01-11 22:09:16 +00:00
Joe Shaw
b3ba709079
2005-01-11 Joe Shaw <joeshaw@novell.com>
...
Patch from Tambet Ingo <tambet@ximian.com>
* mono/DBusType/Array.cs (Get): Get the underlying element type by
calling type.GetElementType(). The code previously depended on
broken Mono behavior, which was fixed in Mono 1.1.3.
* mono/DBusType/Dict.cs (constructor): Fix the parameters for
Activator.CreateInstance() so that the class's constructor is
called with the right parameters.
2005-01-11 19:59:06 +00:00
Joe Shaw
ac4d2cb464
2005-01-11 Joe Shaw <joeshaw@novell.com>
...
Patch from Timo Teräs <ext-timo.teras@nokia.com>
* dbus/dbus-connection.c
(_dbus_connection_queue_received_message_link): Call
_dbus_connection_remove_timeout() instead of the _locked()
variant, since it's always called from
_dbus_connection_handle_watch(), which handles the locking.
Removed the _locked() variant since it's no longer used.
2005-01-11 19:31:56 +00:00
Havoc Pennington
72c3ed0630
2005-01-03 Havoc Pennington <hp@redhat.com>
...
* dbus/dbus-internals.h: I'm an idiot, _dbus_assert certainly can
return
2005-01-03 17:18:11 +00:00
Havoc Pennington
be2d9b9262
2004-12-26 Havoc Pennington <hp@redhat.com>
...
* dbus/dbus-internals.h: add _DBUS_GNUC_NORETURN to _dbus_assert
2005-01-03 17:06:35 +00:00
Havoc Pennington
5c486a24e5
add a file to hold the validation routines
2005-01-03 17:05:26 +00:00
Havoc Pennington
07d2fd5aa2
2005-01-03 Havoc Pennington <hp@redhat.com>
...
* dbus/dbus-sysdeps.c (_dbus_sysdeps_test): fix using == on
floating point
* dbus/dbus-string.c (_dbus_string_insert_alignment): new function
2005-01-03 07:16:12 +00:00
Havoc Pennington
c7e05f9ca4
finish off my TODO list for stuff needed to port dbus-message.c. Next
...
step is to do so.
2005-01-03 07:15:38 +00:00
Havoc Pennington
ec8e14cfd5
just when the file was looking all beautiful, add horrible hacky code to
...
fixup array lengths after setting a value somewhere within the array.
2005-01-03 04:25:32 +00:00
Havoc Pennington
f757adc797
cleanup args to read func in test suite
2005-01-03 00:23:03 +00:00
Havoc Pennington
7308a238b2
checkpoint set_variable_length work
2005-01-03 00:01:59 +00:00
Havoc Pennington
2ba05eff37
values-only DBusTypeWriter
2005-01-02 22:13:26 +00:00
Havoc Pennington
401aaa225b
minor cleanup
2005-01-02 20:15:01 +00:00
Havoc Pennington
b73cc81c6b
clean up the naming of dbus_marshal functions
2005-01-02 19:10:16 +00:00
Havoc Pennington
fed88a4b84
delete some more noise, put args in consistent order (a big bug trap sadly),
...
and work on the set value stuff some
2005-01-02 08:46:42 +00:00
Havoc Pennington
fb40fedb9e
cleanups and fixes
2005-01-02 05:01:07 +00:00
Havoc Pennington
ffd960fc3e
implement _dbus_type_writer_write_reader() (to copy a block of values)
...
which is the first step toward a sane reimplementation of all that delete/modify
and realign nonsense in dbus-message.c
2005-01-02 04:29:52 +00:00
Havoc Pennington
df652bd9a1
change strings to be marshaled consistently with the other basic types (address of the value passed in, so char**)
2005-01-02 02:47:51 +00:00
Havoc Pennington
721e6c7abc
make reader const-correct
2005-01-02 02:38:23 +00:00
Havoc Pennington
50103620b3
extend unit test to display progress and to verify that we are inserting not appending in all cases
2005-01-02 02:17:05 +00:00
Havoc Pennington
441907e73a
add DBusTypeMark
2005-01-02 00:37:24 +00:00
Havoc Pennington
a6580a5940
2005-01-01 Havoc Pennington <hp@redhat.com>
...
* configure.in: add -Wfloat-equal
2005-01-01 23:32:45 +00:00
Havoc Pennington
10f0f04980
chop dbus-marshal-basic in half and move it to be insertion rather than append based
2005-01-01 21:05:48 +00:00
Havoc Pennington
e07789e511
voc Pennington <hp@redhat.com>
...
* dbus/dbus-sysdeps.h: add _DBUS_DOUBLES_BITWISE_EQUAL macro,
for a variety of reasons '==' doesn't do this.
2005-01-01 20:53:42 +00:00
Havoc Pennington
60a9694974
all types now unit tested and working.
2005-01-01 08:19:28 +00:00
Havoc Pennington
e3ab3b2e84
add more "subclassing" to the test node classes
2005-01-01 03:37:26 +00:00
Havoc Pennington
64e0e91de0
yay, variant values working before the new year.
2005-01-01 03:28:08 +00:00
Havoc Pennington
2bf66111b6
minor tweaking
2005-01-01 02:47:13 +00:00
Havoc Pennington
bb8f518d07
add int64 to test suites, fix minor bug where marshaling assumed that DBusOctets8 was aligned when passed in as a function argument
2005-01-01 02:35:09 +00:00
Havoc Pennington
394d57c765
remove old unit test code, and clean up whitespace
2005-01-01 02:03:50 +00:00
Havoc Pennington
fb93fd5b3f
test framework extension
2005-01-01 02:02:32 +00:00
Havoc Pennington
d89d5e41e1
further extend tests
2004-12-31 22:04:27 +00:00
Havoc Pennington
7ae17be411
new test framework in place
2004-12-31 21:08:06 +00:00
Havoc Pennington
c2a98e1103
2004-12-31 Havoc Pennington <hp@redhat.com>
...
* dbus/dbus-string.c (_dbus_string_equal_substrings): new function
I keep wishing I had
2004-12-31 21:01:56 +00:00
Havoc Pennington
b16ad22d87
use vtable instead of flags for types only iterators
2004-12-31 00:24:24 +00:00
Havoc Pennington
4f2318345b
add "types only" TypeReader, will move to use a vtable instead of a flag in a minute
2004-12-31 00:06:34 +00:00
Havoc Pennington
00999397ce
- add variant reader
...
- further squish the iterator structs
2004-12-30 23:34:23 +00:00
Havoc Pennington
6e492b1ba1
store writer container_type in one byte to shrink iterator
2004-12-30 22:46:13 +00:00
Havoc Pennington
9836ac48fb
remove unused element_type_len field
2004-12-30 22:44:44 +00:00
Havoc Pennington
daaee020dc
- remove DICT type
...
- add SIGNATURE type
- fix max name len of 256, should be 255 so it fits in a byte if it's going to be a number
near 256
- generalize some of the recursive type marshaling code to share between arrays and variants
- just started on implementing variant
2004-12-30 22:34:17 +00:00
John (J5) Palmieri
7da3315f8c
2004-12-30 John (J5) Palmieri <johnp@redhat.com>
...
* python/dbus.py: s/ACTIVATION_REPLY_ACTIVE/ACTIVATION_REPLY_ACTIVATED
2004-12-30 18:28:03 +00:00
John (J5) Palmieri
63586e48f4
2004-12-30 John (J5) Palmieri <johnp@redhat.com>
...
* python/dbus_bindings.pyx.in: Change DBUS_ACTIVATION_REPLY_ACTIVATED
and DBUS_ACTIVATION_REPLY_ALREADY_ACTIVE to match the values in
dbus-protocol.h. Because they are defines and not enums they are not
autogenerated.
2004-12-30 14:19:54 +00:00
Havoc Pennington
eb4b165e30
DBusTypeWriterClass isn't going to work well, so remove vestiges of it.
2004-12-29 22:31:01 +00:00
Havoc Pennington
9b0fc4e482
switch to a vtable approach for the reader
2004-12-29 22:22:41 +00:00
Havoc Pennington
8645ee5251
put it in the test suite arrays (ok, I need to rewrite the unit tests here to be more automated...)
2004-12-29 06:39:32 +00:00
Havoc Pennington
fb1dfc9a9f
struct of array of struct and array of struct of array
2004-12-29 06:27:59 +00:00
Havoc Pennington
160cf6f808
checkpoint with array-of-struct working
2004-12-29 05:04:01 +00:00