summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2012-11-02unit: Fixup unit test PlayTone 4.10Denis Kenzior1-1/+2
2012-11-02unit: Move Play Tone 4.1-4.10 test dataDenis Kenzior2-240/+224
2012-11-01AUTHORS: Mention Holger's contributionsDenis Kenzior1-0/+1
2012-11-01wavecom: Add peculiar CPIN as terminator behaviorHolger Hans Peter Freyther1-0/+2
2012-11-01sim: Fix the quirk handling of CPIN for WavecomHolger Hans Peter Freyther1-15/+9
The Wavecom Q2XXX support broke in commit 72ce19bf3e87b5e73c053f7ea1. This is because at_cpin_cb called decode_at_error with final and not with OK. This lead to an error being set in the error variable and the new code returns early when an error is set. The addition of the terminator in at_sim_probe for Wavecom broke in git commit ac524be99f8c72a2593e4ffcecad8beea7679e55 because terminators can not be added on cloned chats. Move the addition of the terminator from the atmodem to the wavecom plugin. Use the same terminator for Q2XXX and the normal Wavecom class. The WAVECOM terminator has been tested on a Q2XXX modem. Apply the CPIN quirk for both WAVECOM and WAVECOM_Q2XXX inside the sim.c file. Introduce needs_wavecom_sim_quirk to handle it for WAVECOM and WAVECOM_Q2XXX.
2012-10-31gdbus: Fix not freeing list node by using g_slist_delete_linkLuiz Augusto von Dentz1-1/+1
g_slist_remove_link does not free the node which can cause leaks so replace that with g_slist_delete_link which does free memory properly.
2012-10-31gdbus: Refactor filter_data_find()Lucas De Marchi1-38/+5
Now this function is only used for searching the listeners of a connection and the other parameters are not needed anymore.
2012-10-31gdbus: Fix wrong signal handler matchLucas De Marchi1-21/+94
When we add a signal handler with g_dbus_add_signal_watch(), this function tries to multiplex the matches added in libdbus by checking if there's a previous filter_data with the same fields. However, if the field is NULL it accepts as being the same. The result is that the following watches will use the same filter data: watch1 = g_dbus_add_signal_watch(conn, BUS_NAME, NULL, iface, member, cb1, data1, NULL); watch2 = g_dbus_add_signal_watch(conn, BUS_NAME, "/path2", iface, member, cb2, data2, NULL); watch3 = g_dbus_add_signal_watch(conn, BUS_NAME, "/path3", iface, member, cb3, data3, NULL); The result is that when a signal arrives with path == "/path2", all 3 callbacks above will be called, with the same signal delivered to all of them. Another problem is that, if we invert the calls like below, only signals to cb1 will never be trigerred, nonetheless it used path == NULL. watch2 = g_dbus_add_signal_watch(conn, BUS_NAME, "/path2", iface, member, cb2, data2, NULL); watch1 = g_dbus_add_signal_watch(conn, BUS_NAME, NULL, iface, member, cb1, data1, NULL); watch3 = g_dbus_add_signal_watch(conn, BUS_NAME, "/path3", iface, member, cb3, data3, NULL); This is fixed by not multiplexing the matchs with filter data if any of the fields are different, including being NULL. When a signal arrives, if a field is NULL we accept it as a match, but not when adding the signal handler.
2012-10-31gdbus: Fix crash when getting disconnected from the busJohan Hedberg1-4/+5
When getting disconnected from the bus sometimes (maybe always?) dbus_watch_handle() can cause the "info" context to be free'd meaning that we should not try to access it after the call. The only member we need access to is the connection pointer and as the code already has a ref() call for it it's only natural to solve the issue by adding a local variable not dependent on "info". The backtrace of the crash fixed looks as follows: Invalid read of size 8 at 0x121085: watch_func (mainloop.c:105) by 0x4C72694: g_main_context_dispatch (gmain.c:2539) by 0x4C729C7: g_main_context_iterate.isra.23 (gmain.c:3146) by 0x4C72DC1: g_main_loop_run (gmain.c:3340) by 0x120541: main (main.c:551) Address 0x5bbcd90 is 16 bytes inside a block of size 24 free'd at 0x4A079AE: free (vg_replace_malloc.c:427) by 0x4C7837E: g_free (gmem.c:252) by 0x4F708BF: dbus_watch_set_data (dbus-watch.c:614) by 0x4F70938: _dbus_watch_unref (dbus-watch.c:132) by 0x4F6E9A7: _dbus_transport_handle_watch (dbus-transport.c:884) by 0x4F59AFB: _dbus_connection_handle_watch (dbus-connection.c:1497) by 0x4F70AF9: dbus_watch_handle (dbus-watch.c:683) by 0x121084: watch_func (mainloop.c:103) by 0x4C72694: g_main_context_dispatch (gmain.c:2539) by 0x4C729C7: g_main_context_iterate.isra.23 (gmain.c:3146) by 0x4C72DC1: g_main_loop_run (gmain.c:3340) by 0x120541: main (main.c:551)
2012-10-31stktest: Add Play Tone test sequence 3.1-3.4Denis Kenzior1-0/+72
2012-10-31unit: Move Play Tone 3.1-3.4 test dataDenis Kenzior2-34/+34
2012-10-31stktest: Add PlayTone test sequence 2.1Denis Kenzior1-0/+30
2012-10-31unit: Move PlayTone 2.1 test dataDenis Kenzior2-27/+25
2012-10-31stktest: Use a define for Cyrillic test dataDenis Kenzior1-4/+6
2012-10-31stktest: Add Play Tone test sequence 1.1.9-1.1.15Denis Kenzior1-0/+132
2012-10-31stktest: Add PlayTone test sequence 1.1.1-1.1.8Denis Kenzior1-0/+151
2012-10-31unit: Move PlayTone test data for test sequence 1.1Denis Kenzior2-152/+140
2012-10-31stk: Tweak the concept of continuous tonesDenis Kenzior1-4/+12
The spec explicitly mentions continuous or repeatable tones. 02.40 only mentions the RP-ACK tone as a single tone, all other tones seem to be repeatable
2012-10-31stktest: Add stk_add_timed_testDenis Kenzior1-0/+53
2012-10-31stktest: Add PlayTone and LoopTone methodsDenis Kenzior1-0/+58
2012-10-31stktest: Add More Time test sequence 1.1Denis Kenzior1-0/+5
2012-10-31unit: Move More Time test dataDenis Kenzior2-8/+8
2012-10-31doc: Update hardware support informationMarcel Holtmann1-9/+14
2012-10-25systemd: prevent duplicate logging messages in journalMarti Raudsepp2-0/+2
By default, both stderr and syslog messages go to the systemd journal, which results in duplicate messages being logged. Thanks to Vinicius Costa Gomes for pointing out this problem.
2012-10-20stktest: Fix unused variable warningsDenis Kenzior1-6/+0
2012-10-20stktest: Add GetInput test sequence 12.1-12.2Denis Kenzior1-0/+63
2012-10-20unit: Move GetInput test data 12.1-12.2Denis Kenzior2-43/+33
2012-10-20stktest: Add GetInput test sequence 11.1-11.2Denis Kenzior1-0/+18
2012-10-20unit: Move GetInput 11.1-11.2 test dataDenis Kenzior2-38/+25
2012-10-20stktest: Add GetInput test sequence 10.1-10.2Denis Kenzior1-0/+65
2012-10-20unit: Move GetInput 10.1-10.2 test dataDenis Kenzior2-43/+33
2012-10-20unit: Add GetInput test sequence 9.1-9.2Denis Kenzior1-0/+44
2012-10-20unit: Move GetInput 9.1-9.2 test dataDenis Kenzior2-39/+26
2012-10-20stktest: Add GetInput test sequence 8.1-8.10Denis Kenzior1-0/+135
2012-10-20unit: Move GetInput test data 8.1-8.10Denis Kenzior2-80/+80
2012-10-18stktest: Add GetInput test sequence 6.1-6.4Denis Kenzior1-0/+120
2012-10-18unit: Move GetInput 6.1-6.4 test dataDenis Kenzior2-35/+35
2012-10-18stktest: Add GetInput test sequence 5.1-5.2Denis Kenzior1-0/+62
2012-10-18unit: Move GetInput 5.1-5.2 test dataDenis Kenzior2-48/+30
2012-10-18stktest: Add GetInput test sequence 4.1-4.2Denis Kenzior1-0/+62
2012-10-18unit: Move GetInput 4.1-4.2 test dataDenis Kenzior2-45/+35
2012-10-18stktest: Add GetInput test sequence 3.1-3.2Denis Kenzior1-0/+64
2012-10-18unit: Move GetInput 3.1-3.2 test dataDenis Kenzior2-49/+31
2012-10-18stktest: Add GetInput test sequence 2.1Denis Kenzior1-0/+25
2012-10-18unit: Move GetInput 2.1 test dataDenis Kenzior2-12/+10
2012-10-18stktest: Add GetInput test sequence 1.10Denis Kenzior1-0/+30
2012-10-18unit: Move GetInput test data 1.10Denis Kenzior2-5/+7
2012-10-18stktest: Add GetInput test sequence 1.9Denis Kenzior1-0/+30
2012-10-18unit: Tweak unit test to match test dataDenis Kenzior1-1/+1
2012-10-18unit: Move GetInput 1.9 test dataDenis Kenzior2-11/+10