summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-08-28Configure automake to generate .gz and .bz2 archivesHEADmasteriain1-1/+1
2012-08-28Fix the signal signatures so the doc stripper doesn't break themiain1-4/+4
The doc stripper puts direction="in" for all parameters without a direction which broke on the signal signatures
2012-08-28Include the gypsy-discovery-full in the packageiain1-2/+6
2012-08-28Rename gypsy-discovery.xml to -full.xmliain1-0/+0
2012-05-14Add the etc/ directoryiain2-0/+4
2012-05-14Add a whitelist for what files Gypsy is allowed to open.iain4-1/+74
Fixes part of 33431
2012-05-14Check the chars in buffer doesn't go over the max. Reset it if it does.iain1-0/+4
2012-05-14Add some m4 required stuff, fix 48564iain3-0/+6
From Luca Ferretti <lferrett@gnome.org>
2012-03-08NULL terminate an array, and return when finding a NULL parentiain1-1/+5
2012-02-24Disable the deprecation warnings so -Werror won't cryiain1-0/+4
2012-02-24Undo the previous patchiain1-6/+6
2012-02-24The new glib 2.32 deprecated GValueArray, use the replacements insteadiain1-6/+6
patch from Andreas Moog <amoog@ubuntu.com> Closes: https://bugs.freedesktop.org/show_bug.cgi?id=45909
2011-12-06Only open TTY devices onceiain1-9/+13
TTY devices were accidentally being opened twice but only closed once. This meant that when a device file was removed, but then replaced, a file descriptor for the old device was cached somewhere in the deep bowels of the system and this dead file descriptor was being returned when Gypsy attempted to open the new device, causing I/O errors when trying to read from it. Which in turn caused some lovely CPU pegging as Gypsy would just enter a busy loop constantly trying to read from the dead descriptor. In short, everyone's a winner!
2011-12-05Fix memory leak on input error.iain1-2/+0
A new GError was being created when an error occurred reading from the IOChannel. Nothing was being done with this error and it was just leaking.
2011-10-19Fix some bugs in the Discovery code.iain2-17/+24
Weren't removing old entries when devices were removed Were emitting the wrong signal signature
2011-10-19Improve GypsyDiscovery for removed devicesiain1-27/+68
Fallback to checking the product ID components on the tty device if the usb_device fails. Also don't assume that the correct usb device will be the grandparent of the tty.
2011-10-17Bump version to 0.9 to reflect the new interfaceiain1-1/+1
2011-10-17Add device type to the info returned from GypsyDiscoveryiain7-22/+128
GypsyDiscovery interface has changed to also return a type string: "usb", "internal" or "bluetooth" indicating the device type.
2011-10-17Add a no autoterminate optioniain3-4/+18
By default Gypsy terminates 10 seconds after the last client has quit. A --no-autoterminate option stops this
2011-10-13Whitespace cleanupiain1-7/+7
2011-10-13Don't cast time() to a GObjectiain1-1/+1
2011-10-12Applied patch from Jochen Friedrich to correct the UDev discovery.iain1-22/+54
The UDev discovery looked for known USB devices and guessed what the device path would be. Patch fixes this to look for tty devices, and works back to check if their parent device is a known GPS device. Fixes: FDO#41673
2011-09-28Act on incoming UDev eventsiain1-78/+126
Check if the UDev event was something we cared about, and if so emit the signal Fix the signal types to G_TYPE_STRING
2011-09-26Create a list of known UDev devices at startupiain1-5/+72
2011-09-26Add the categories for server, client and discoveryiain1-0/+3
2011-09-26Add a discovery categoryiain1-1/+2
2011-09-26Add and build an example for testing the ListDevicesiain2-0/+49
2011-09-26Build the clientside objectiain1-1/+4
2011-09-26Add the client side bindings.iain2-0/+333
Add a GypsyDiscovery object that clients can use to access the Discovery interface
2011-09-26Create the discovery object and add it to the Gypsy bus nameiain1-0/+6
2011-09-26Build the new GypsyDiscovery objectiain1-0/+6
2011-09-26Server side implementation of the discovery interfaceiain2-0/+450
The GypsyDiscovery object implements the discovery interface on the serverside, using udev to find USB/Serial GPS devices, and Bluez to find Bluetooth ones
2011-09-26Add a new Discovery interfaceiain1-0/+17
2011-09-26Check for gudeviain1-1/+1
The discovery of none Bluetooth devices will be done by udev, so we need gudev for that
2011-08-25Use the Client category for debuggingiain1-17/+24
2011-08-25Use the Server category for debuggingiain1-5/+5
2011-08-25Add debug categories for Server and Client messagesiain1-0/+2
2011-08-25Add debugging support for NMEA parsingiain1-30/+19
2011-08-25Fix typo in gypsy-debug.hiain1-2/+2
2011-08-25Initialise the Gypsy debugging systemiain1-0/+36
2011-08-25Create a debugging system for Gypsy Daemoniain2-0/+40
2011-08-16Remove an additional memcpy when reading from the socket.iain5-50/+49
Each time we read into a temporary buffer and the memcpy'd the data into the real buffer. Instead of using the temporary buffer we now ask the parser module to give us a pointer to the buffer to write to and how much space there is in it which means we don't need to memcpy.
2011-08-16Fix a memory corruption issue when parsing NMEA sentencesiain1-0/+7
We assumed that if there was a \r in the buffer, then there must also be a \n. if the \r was the final character in the buffer there there would not be a \n so adding 2 to the sentence length would cause an invalid read off the end of the buffer, and by making chars_in_buffer equal -1 an invalid write by underflowing the buffer, scribbling over the address of ctxt. Which then caused a crash.
2011-08-16Fix whitespace issuesiain1-24/+24
2011-08-16Add a comment explaining the RMC check betteriain1-0/+3
RMC can have an optional 12th field, but we just ignore it. Add a comment explaining that better
2011-08-16Allow GSV to have less than the required number of fieldsiain1-1/+5
A GSV sentence can have at maximum 19 fields, but depending on the number of satellites seen it can have less. The rule is that it should have 3 fields at the start and then 4 fields for each satellite in the message. To check, we check (nfields - 3) % 4 == 0.
2011-08-12Remove nmea-gen.[ch] as wel don't need them anymoreiain2-539/+0
2011-08-12Remove nmea-gen.[ch] as we don't need themiain1-3/+1
2011-08-12Replace the specific parsing code with generic code that calls the parsersiain1-237/+57
Parsing code is now split out to separate parsing objects, so the specific code for parsing the Garmin code into NMEA and then parsing that is no longer needed. Likewise the code that gathers NMEA sentences can be removed. Instead we now detect what type of device it is (Garmin or NMEA), create a parser for that type and pass any received data to it.
2011-08-12Fix some compile issuesiain2-1/+6