Commit Graph

37 Commits

Author SHA1 Message Date
Lucas De Marchi e0d6f9f0ce Do not set signature and reply in GDBus tables
Use GDBUS_* macros, so signature and reply fields are not set in each
method/signal.
2012-05-20 02:47:57 -07:00
Lucas De Marchi b3489f2ee8 Convert GDBus methods to use macro helpers
With these macro helpers we can separate in/out arguments and use their
own vector.
2012-05-20 02:47:57 -07:00
Henrique Dante de Almeida 924ee02ff7 Constify GDBus signal tables
Constify signal tables with the following command:

    find . -name '*.[ch]' -exec \
             sed -i 's/\(GDBusSignalTable .* =\)/const \1/g' {} \;
2012-05-20 02:47:56 -07:00
Henrique Dante de Almeida 63bbdebdf2 Constify GDBus method tables
Constify method tables with the following command:

find . -name '*.[ch]' -exec \
             sed -i 's/\(GDBusMethodTable .* =\)/const \1/g' {} \;
2012-05-20 02:47:56 -07:00
Marcel Holtmann 7e6afe37bf core: Update copyright information 2011-10-10 13:39:42 -07:00
Jussi Kangas 07c7308581 sim: check lock state with call meter 2011-02-25 11:51:48 -06:00
Jussi Kangas a8671fe1f7 sim: Allow usage of SIM codes longer than 8 digits
Some PIN codes (e.g. subsidy locks, etc) can have PIN codes much longer
than the default 8 digits.
2011-02-08 10:19:52 -06:00
Aki Niemi 03d00626f6 call-meter: Fix style issues 2011-02-02 11:03:10 +02:00
Lucas De Marchi b210838e87 core: explicitly compare pointers to NULL
This patch was generated by the following semantic patch
(http://coccinelle.lip6.fr/)

// <smpl>
@fix disable is_null,isnt_null1@
expression *E;
@@

- !E
+ E == NULL
// </smpl>
2010-11-29 13:27:15 -06:00
Jeevaka Badrappan 2d0cb92155 src: coding style fixes - rule M6 2010-11-22 05:07:52 -06:00
Jeevaka Badrappan 4196182770 Fix multi-line comment style issues 2010-09-21 21:16:01 -05:00
Pekka Pessi 9a398a1087 Fix: Check password length based on its type
The different password types have different length requirements, so
update is_valid_pin to validate according to the password type being
validated (PIN / PUK / NET)
2010-03-19 13:48:04 -05:00
Andrzej Zaborowski 0bac79f1a2 Fix: Use g_dbus_emit_signal in call-barring,meter 2010-02-15 14:57:25 -06:00
Denis Kenzior 87ca1b0c8f Fix: Don't use ofono_debug directly in the core
Use DBG macro which is integrated with the new debug framework.
2010-02-08 11:54:03 -06:00
Marcel Holtmann 144080e749 Update copyright information 2010-01-01 17:00:10 -08:00
Denis Kenzior cfcf7e6516 Simplify: Use dbus_message_iter_get_args 2009-09-22 11:24:21 -05:00
Denis Kenzior 422df0edfb change int vendor to unsigned int vendor 2009-09-01 21:39:02 -05:00
Denis Kenzior 390bd82109 Add vendor parameter to call-meter 2009-09-01 18:14:57 -05:00
Denis Kenzior f59aab7f15 Fix whitespace and style issues 2009-08-19 18:35:06 -05:00
Denis Kenzior 21588cc5f8 Remove the use of driver.h 2009-08-17 17:14:01 -05:00
Denis Kenzior b82042c5e9 Move CALL_METER_INTERFACE define to dbus.h 2009-08-14 16:33:48 -05:00
Denis Kenzior 3e50c22f57 Use atom's modem in call meter 2009-08-14 16:31:48 -05:00
Denis Kenzior 9ad3ad6664 Update to use the new atom_free API 2009-08-14 16:31:46 -05:00
Denis Kenzior 521039596a Evolve the call meter driver API 2009-08-14 11:19:09 -05:00
Denis Kenzior f8d5b16e4e No need to use g_timeout_add here 2009-08-07 17:36:26 -05:00
Andrzej Zaborowski d36f8d868a Use invalid_args instead of invalid_format 2009-08-05 12:20:28 -05:00
Denis Kenzior 3e6d4237cb Remove all uses of modem.h 2009-07-29 16:53:19 -05:00
Denis Kenzior 19eeb7f1ba Rename modem_add_interface / modem_remove_interface
Move to ofono_modem_add_interface, ofono_modem_remove_interface
and put in ofono/modem.h
2009-07-29 16:44:16 -05:00
Denis Kenzior 54816de04d Get rid of dbus-gsm.h 2009-07-29 12:26:06 -05:00
Denis Kenzior 1d8785f8bd Rename dbus_gsm_pending_reply 2009-07-29 12:26:06 -05:00
Denis Kenzior 6728542a01 Rename dbus_gsm_dict_append 2009-07-29 12:26:05 -05:00
Denis Kenzior d9025e13e1 Move & Rename PROPERTIES_ARRAY_SIGNATURE 2009-07-29 12:26:05 -05:00
Denis Kenzior 684b5be1fc Rename dbus_gsm_signal_property_changed 2009-07-29 12:26:05 -05:00
Denis Kenzior 00fb6cce62 Rename dbus_gsm error functions to __ofono_error 2009-07-29 12:26:05 -05:00
Denis Kenzior 99c1c92708 Move & Rename dbus_gsm_connection
Move to ofono/dbus.h ofono_dbus_get_connection
2009-07-29 12:26:04 -05:00
Andrzej Zaborowski e9ab6dd8ef Remove unused variables. 2009-05-12 19:09:57 -07:00
Denis Kenzior a78b36290b Add implementation of telephony daemon 2009-05-05 21:14:19 -07:00