summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2014-03-14simutil: Fix EF_PNN accessAlfonso Sanchez-Beato1-7/+16
EF_PNN was not being read properly (see TS 24.008, section 10.5.3.5a, for network names format), which affected the displayed PLMN name for some MVNOs. Some modems already read the file and return the right string: these do not show the problem.
2014-03-14stktest: Remove some unneeded outputDenis Kenzior1-7/+2
2014-03-14test: Make sure test-stk-menu works with python3Denis Kenzior1-16/+17
2014-03-11AUTHORS: Mention Martin's contributionsDenis Kenzior1-0/+1
2014-03-11test: Convert to Python 3Martin Pitt94-124/+124
Change raw_input() to input() and unicode to str. This is *not* compatible with Python 2. Update the hashbangs to run with Python 3.
2014-03-11test: Move from static gobject bindings to GIMartin Pitt21-57/+60
Use GLib gobject-introspection bindings so that we can also use the scripts with Python 3.
2014-03-11test: Replace obsolete has_key() with "in"Martin Pitt2-13/+13
In order to also work with Python 3
2014-03-11test: Make exceptions compatible with Python 3Martin Pitt17-45/+45
Use "except Type as var" syntax to work with both Python >= 2.6 and Python 3.
2014-03-11test: Make print calls compatible with Python 3Martin Pitt86-576/+576
Turn print calls into print() function calls and avoid using comma-separated arguments, so that they work and look the same with both Python 2 and 3.
2014-03-10he910: Fix whitespaceDenis Kenzior1-1/+0
2014-03-06gdbus: Add g_dbus_client_set_ready_watch()Claudio Takahasi2-1/+20
This patch adds a new gdbus helper to notify the clients that GetManagedObjects reply was received and the last proxy has been informed previously by the proxy_added callback.
2014-03-05AUTHORS: Mention Tony's contributionsDenis Kenzior1-0/+1
2014-03-05idmap: use UL for bitshift literalsTony Espy1-4/+4
The current bitshift logic in idmap incorrectly uses the literal 1 for the value to shift in idmap_alloc(), idmap_take(), and idmap_alloc_next(). This causes the resulting value to be an int instead of a long, which results in the wrong bit being set once the number of bits to shift operand exceeds sizeof(int). Also on some platforms, the behavior of the left bitshift operator is undefined when this overflow occurs.
2014-02-18gdbus: Replace g_timeout_add with g_idle_addLuiz Augusto von Dentz1-4/+1
Passing 0 as timeout to g_timeout_add should equivalent to g_idle_add.
2014-02-18gdbus: Fix incorrect DBusConnection reference countingAnderson Lizardo1-10/+4
Commit abfc2b0dd5c3e33abfdf1a815b16d492c1751c06 attempted to fix a crash related to improper reference counting, but the main issue was that the reference was taken only during the function call (which is usually unnecessary for single thread), but still passed a pointer to DBusConnection to a function that is called by the mainloop. This left a window where the DBusConnection can be destroyed. Fixes this crash on unit/test-gdbus-client: ==32642== Invalid read of size 4 ==32642== at 0x690D0A6: dbus_connection_ref (in /lib/i386-linux-gnu/libdbus-1.so.3.7.6) ==32642== by 0x804CEDB: message_dispatch (mainloop.c:73) ==32642== by 0x684580E: g_timeout_dispatch (gmain.c:4450) ==32642== by 0x6844A75: g_main_context_dispatch (gmain.c:3065) ==32642== by 0x6844E14: g_main_context_iterate.isra.23 (gmain.c:3712) ==32642== by 0x68452FA: g_main_loop_run (gmain.c:3906) ==32642== by 0x804C7D3: client_connect_disconnect (test-gdbus-client.c:188) ==32642== by 0x6868DB2: g_test_run_suite_internal (gtestutils.c:2067) ==32642== by 0x6868F8D: g_test_run_suite_internal (gtestutils.c:2138) ==32642== by 0x6869320: g_test_run_suite (gtestutils.c:2189) ==32642== by 0x686936B: g_test_run (gtestutils.c:1508) ==32642== by 0x696D4D2: (below main) (libc-start.c:226) ==32642== Address 0x709c6e4 is 140 bytes inside a block of size 144 free'd ==32642== at 0x67E806C: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==32642== by 0x692D62E: dbus_free (in /lib/i386-linux-gnu/libdbus-1.so.3.7.6) ==32642== by 0x690E1C2: ??? (in /lib/i386-linux-gnu/libdbus-1.so.3.7.6) ==32642== by 0x804AAEC: destroy_context (test-gdbus-client.c:104) ==32642== by 0x6868DB2: g_test_run_suite_internal (gtestutils.c:2067) ==32642== by 0x6868F8D: g_test_run_suite_internal (gtestutils.c:2138) ==32642== by 0x6869320: g_test_run_suite (gtestutils.c:2189) ==32642== by 0x686936B: g_test_run (gtestutils.c:1508) ==32642== by 0x696D4D2: (below main) (libc-start.c:226)
2014-02-18gdbus: Fix memory leakAnderson Lizardo1-0/+2
data->conn and data->path must be destroyed before freeing "data".
2014-02-07mbpi: Pop subparser stack after mmsc and mmsproxySlava Monich1-1/+3
2014-01-19gatchat: Fix handling of WRITE_SCHEDULER_DEBUGMarcel Holtmann1-3/+13
2014-01-13include: Be more const-correct in ofono_dbus_*Slava Monich2-15/+17
2013-12-22Release 1.14Marcel Holtmann2-1/+6
2013-12-21unit: Ignore errors about deprecated g_test_trap_forkMarcel Holtmann2-0/+4
2013-12-21build: Remove unused dependency on USB libraryMarcel Holtmann2-8/+1
2013-12-21git: Fixup messed up permissionsDenis Kenzior11-0/+0
2013-12-18features: Describe Siri featureKrzysztof Wilk1-0/+8
2013-12-18AUTHORS: Mention Krzysztof's contributionsDenis Kenzior1-0/+1
2013-12-18phonesim: Enable Siri atomKrzysztof Wilk1-0/+2
2013-12-18hfp_hf_bluez5: Enable Siri atomKrzysztof Wilk1-0/+2
2013-12-18hfp_hf_bluez4: Enable Siri atomKrzysztof Wilk1-0/+2
2013-12-18siri: Add atom driverKrzysztof Wilk4-1/+221
2013-12-18siri: Add atom implementationKrzysztof Wilk3-1/+335
2013-12-18include: Add Siri interface definitionKrzysztof Wilk2-1/+64
2013-12-18dbus: Define Siri DBUS InterfaceKrzysztof Wilk1-0/+1
2013-12-18doc: Add Siri APIKrzysztof Wilk2-1/+42
2013-12-05AUTHORS: Mention Andrew's contributionsDenis Kenzior1-0/+1
2013-12-05hfp: Add Voice Recognition flag to BRSFAndrew Earl1-0/+1
2013-11-26he910: tweak initialization logicDenis Kenzior1-11/+6
2013-11-26netreg: Turn off CIEV indications other than rssiDenis Kenzior1-0/+11
2013-11-26AUTHORS: Mention Slava's contributionsDenis Kenzior1-0/+1
2013-11-26mbpi: Provision mmsc and message_proxySlava Monich1-0/+6
2013-11-25hfp_ag_bluez5: Try to support non-phone hardwareDenis Kenzior1-0/+37
For devices which are not 'real' phone modems, the voicecall initialization can happen outside of the pre-sim state. In this case the voicecall atom detection logic fails. Try to detect the voicecall atom separately, and register the profile if the SIM atom is already present and in state 'READY'. For all other cases, the previous logic still applies.
2013-11-25udevng: Add he910 detection logicDenis Kenzior1-0/+34
2013-11-25plugins: Add initial Telit he910 driverDenis Kenzior2-0/+385
2013-11-25build: Always build the connman pluginDenis Kenzior1-3/+3
It is not related to BLUEZ 4 support
2013-11-11gdbus: Fix trying to remove already removed sourcesBastien Nocera1-0/+3
When we return FALSE from idle handlers, the source is removed. This will be causing warnings in glib 2.40. See https://bugzilla.gnome.org/show_bug.cgi?id=710724
2013-11-08Release 1.13Marcel Holtmann2-1/+13
2013-10-17mbm: Fix segfault with hot-plugged MD300 modemDenis Kenzior1-0/+4
2013-10-14gdbus: Remove not needed check for NULL DBusPendingCallSzymon Janc1-5/+0
It is now checked by g_dbus_send_message_with_reply() so there is no need to double check that in caller.
2013-10-14gdbus: Check for NULL DBusPendingCall in g_dbus_send_message_with_replySzymon Janc1-1/+10
"Warning: if the connection is disconnected or you try to send Unix file descriptors on a connection that does not support them, the DBusPendingCall will be set to NULL, so be careful with this." Check this in g_dbus_send_message_with_reply so that callers don't need to double check for NULL if g_dbus_send_message_with_reply returned TRUE. This also fix crash if passing FD over D-Bus is blocked e.g. by SELinux policy. bluetoothd[1894]: profiles/audio/avdtp.c:session_cb() bluetoothd[1894]: profiles/audio/avdtp.c:avdtp_parse_cmd() Received SET_CONFIGURATION_CMD bluetoothd[1894]: profiles/audio/a2dp.c:endpoint_setconf_ind() Source 0x6c5000: Set_Configuration_Ind bluetoothd[1894]: profiles/audio/avdtp.c:avdtp_ref() 0x6df360: ref=1 bluetoothd[1894]: profiles/audio/a2dp.c:setup_ref() 0x6d32b0: ref=1 process 1894: arguments to dbus_pending_call_set_notify() were incorrect, assertion "pending != NULL" failed in file dbus-pending-call.c line 636. This is normally a bug in some application using the D-Bus library.
2013-10-01hfp_hf_bluez5: Be more pedantic in get_versionDenis Kenzior1-5/+6
If no 'Version' key is found we might be assigning an uninitialized value. Return an error in this case as the 'Version' key is required.
2013-10-01hfp_hf_bluez5: Add version debug infoDenis Kenzior1-0/+2