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
Havoc Pennington
d9afb9b5f1
arrays are working, woot
2004-12-28 23:14:31 +00:00
Havoc Pennington
7debfd9ff5
sync busted marshaling work in progress
2004-12-28 04:55:52 +00:00
John (J5) Palmieri
a11bbc91a7
2004-12-26 John (J5) Palmieri <johnp@redhat.com>
...
* python/dbus_bindings.pyx.in (bus_activate_service): Bind
dbus_bus_activate_service
* python/dbus.py (Bus.activate_service): activate a service on the
bus.
2004-12-27 16:01:13 +00:00
Havoc Pennington
b8a309ac94
2004-12-24 Havoc Pennington <hp@redhat.com>
...
* test/decode-gcov.c: change to use .gcno and .gcda files, but the
file format has also changed and I haven't adapted to that yet
* Makefile.am: load .gcno files from latest gcc
2004-12-24 17:54:01 +00:00
John (J5) Palmieri
f019ebdd20
* Forgot to add ChangeLog on last commit
2004-12-23 17:22:29 +00:00
John (J5) Palmieri
f06f148871
* patch from Rob Taylor <robtaylor@fastmail.fm>
...
- wrap bus_get_unix_user method in low level bindings
- add get_unix_user method to the Bus class
- fix extract.py so it can handle unsigned long return types
2004-12-23 00:50:37 +00:00
Olivier Andrieu
dbd4279a80
* dbus/make-dbus-glib-error-enum.sh: omit the function keyword for
...
better POSIX compliance.
2004-12-21 10:51:46 +00:00
Havoc Pennington
617e73f763
2004-12-19 Havoc Pennington <hp@redhat.com>
...
* dbus/dbus-string.c (_dbus_string_insert_4_aligned)
(_dbus_string_insert_8_aligned): new functions
* dbus/dbus-string.c (_dbus_string_alloc_space): new function
2004-12-19 16:23:09 +00:00
Havoc Pennington
305a8d4d98
back up some files I'm working on that don't do anything yet
2004-12-19 00:11:49 +00:00