Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-07-07 | gatchat: Fix compiler warning with logical expression | Marcel Holtmann | 1 | -1/+1 | |
CC gatchat/gatchat.o gatchat/gatchat.c: In function ‘have_line’: gatchat/gatchat.c:586:28: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses] if (!strncmp(str, "AT", 2) == TRUE) ^ | |||||
2015-05-13 | gatchat: Introduce g_at_chat_get_userdata | Denis Kenzior | 1 | -0/+31 | |
2014-01-19 | gatchat: Fix handling of WRITE_SCHEDULER_DEBUG | Marcel Holtmann | 1 | -3/+13 | |
2012-07-15 | gatchat: Avoid shadowing variables | Marcel Holtmann | 1 | -3/+3 | |
2011-10-10 | gatchat: Update copyright information | Marcel Holtmann | 1 | -1/+1 | |
2011-07-25 | gatchat: Add terminator blacklisting | Denis Kenzior | 1 | -1/+18 | |
2011-05-06 | gatchat: Fix memory leak with notify nodes list | Marcel Holtmann | 1 | -0/+1 | |
The list itself needs to be freed as well and not only its elements. | |||||
2011-03-28 | gatchat: Add support for short prompt send variant | Denis Kenzior | 1 | -13/+40 | |
2011-02-25 | gatchat: Fix minor style issues | Denis Kenzior | 1 | -3/+3 | |
2010-12-07 | gatchat: fix canceling in progress commands | Vinicius Costa Gomes | 1 | -1/+1 | |
As g_queue_peek_head() returns the node data field, we have to compare it against the actual command, not against the pointer to the queue node. | |||||
2010-11-29 | gatchat: explicitly compare pointers to NULL | Lucas De Marchi | 1 | -28/+24 | |
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-10-21 | gatchat: Fix missing return value for g_at_chat_set_slave | Marcel Holtmann | 1 | -1/+1 | |
2010-10-21 | gatchat: Add support for slave chat instances | Marcel Holtmann | 1 | -0/+31 | |
This adds support to assign a slave chat instance to an existing chat instance. The slave chat is now additionally bound by the lifetime of its master chat instance. In case the master is cloned, the slave chat instance will also be cloned as well. With this it is possible to suspend the master while still have an active slave for notifications or extra commands. | |||||
2010-10-14 | gatchat: Fix calling unregister from callbacks | Denis Kenzior | 1 | -2/+40 | |
This fixes the issues with SIM hotswap on infineon | |||||
2010-10-14 | gatchat: break out the remove_if logic | Denis Kenzior | 1 | -46/+64 | |
And make unregister_group use the new function | |||||
2010-10-14 | gatchat: quit early if the group id doesn't match | Denis Kenzior | 1 | -1/+1 | |
If the ID of the notify matches but the group id does not match it means that the unregister is being called with an id that does not belong to that particular group. Checking further entries is no longer necessary. | |||||
2010-08-16 | gatchat: Skip string contents in extract_line | Denis Kenzior | 1 | -2/+7 | |
2010-08-12 | gatchat: Add g_at_chat_clone | Denis Kenzior | 1 | -0/+19 | |
This function will clone a chat object, but will create a new group internally. | |||||
2010-08-12 | gatchat: Make GAtChat a facade for struct at_chat | Denis Kenzior | 1 | -228/+401 | |
Each GAtChat object is now simply a representation of a set of outstanding commands and registered unsolicited notification handlers. This makes it easy to cancel entire groups, e.g. by canceling the GAtChat object itself rather than forcing the user into tracking all relevant g_at_chat_register and g_at_chat_send ids. | |||||
2010-06-07 | gatchat: Check for disconnection when resuming | Denis Kenzior | 1 | -0/+5 | |
If the internal GAtIO is no longer valid, treat it as if our channel was disconnected. | |||||
2010-06-07 | Restore GAtChat disconnect handling when resuming a chat session | Marcel Holtmann | 1 | -0/+2 | |
2010-05-10 | gatchat: implement g_at_chat_get_io() | Kristen Carlson Accardi | 1 | -0/+8 | |
2010-04-28 | gatchat: Don't try to cleanup twice | Denis Kenzior | 1 | -11/+8 | |
In case we get unrefed from the disconnect callback | |||||
2010-04-28 | gatchat: Use GAtIO for write watchers | Denis Kenzior | 1 | -65/+21 | |
2010-04-28 | gatchat: get_channel should return one from GAtIO | Denis Kenzior | 1 | -2/+2 | |
2010-04-28 | gatchat: Channel is now setup by GAtIO | Denis Kenzior | 1 | -2/+0 | |
2010-04-28 | gatchat: Better re-entrancy handling | Denis Kenzior | 1 | -6/+13 | |
2010-04-28 | gatchat: Only set debug on IO if we have it | Denis Kenzior | 1 | -1/+2 | |
2010-04-28 | gatchat: Replace shutdown by suspend/resume | Denis Kenzior | 1 | -12/+27 | |
Shutdown was actually pointless and according to Marcel he only had it in mind for PPP useage. | |||||
2010-04-28 | gatchat: port gatchat to use gatio | Denis Kenzior | 1 | -112/+41 | |
2010-04-28 | gatchat: Remove g_at_chat_set_syntax | Denis Kenzior | 1 | -12/+0 | |
Never used and too unsafe in its current form | |||||
2010-04-24 | Add offset parameter to ring_buffer_write_ptr() function | Marcel Holtmann | 1 | -1/+1 | |
2010-04-12 | Remove various GDestroyNotify function casting | Marcel Holtmann | 1 | -10/+18 | |
2010-04-11 | The user data pointer variable should be called user_data | Marcel Holtmann | 1 | -4/+5 | |
2010-04-02 | Fix some cases where g_try_new should be used | Marcel Holtmann | 1 | -6/+0 | |
2010-03-24 | Fix: Make CONNECT <baud> responses work | Denis Kenzior | 1 | -1/+1 | |
2010-02-03 | Remove dead assignments at gatchat | Gustavo F. Padovan | 1 | -6/+0 | |
2010-02-01 | Fix: Check if the command is still pending | Denis Kenzior | 1 | -0/+3 | |
2010-02-01 | Style: No need for the extra line | Denis Kenzior | 1 | -2/+1 | |
2010-01-28 | Use 3 read attempts when in non-blocking mode | Marcel Holtmann | 1 | -1/+1 | |
2010-01-28 | Add new constructor for fully blocking operation | Marcel Holtmann | 1 | -4/+27 | |
2010-01-28 | Fix: Take care of uninitialized variable condition | Denis Kenzior | 1 | -4/+2 | |
In some (impossible) circumstances rbytes and err might be used uninitialized. Here we make a check that a read was actually attempted before checking those variables. | |||||
2010-01-28 | Limit the number of continues read attempts | Marcel Holtmann | 1 | -2/+11 | |
2010-01-20 | Refactor: Reorder argument order | Denis Kenzior | 1 | -5/+4 | |
The order of arguments was a bit confusing, reorder them to make more logical sense. | |||||
2010-01-20 | Add gatutil.c to share common APIs with GAtServer | Zhenhua Zhang | 1 | -92/+6 | |
Add gatutil.c/h gat.h and move shared typedef and APIs into it. So that they can be shared by GAtServer and GAtChat. | |||||
2010-01-15 | Fix: One more fix for disconnect detection | Denis Kenzior | 1 | -2/+1 | |
In situations where lots of data is generated by the remote side (e.g. phonebook is being read) we can get our ring buffer filled up. In this case setting rbytes to zero first and then breaking out of the loop leads to an erroneous disconnect detection. The fix is to move setting of rbytes after we know we still have some space. | |||||
2010-01-14 | Fix: Make remote disconnect detection work | Denis Kenzior | 1 | -1/+1 | |
2010-01-12 | Style: Various issues | Denis Kenzior | 1 | -1/+1 | |
2010-01-01 | Update copyright information | Marcel Holtmann | 1 | -1/+1 | |
2009-12-24 | Unifiy all GAtChat error labels | Marcel Holtmann | 1 | -2/+2 | |