Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix compile with -Wdiscarded-qualifiers | Richard Hughes | 2017-03-15 | 1 | -3/+4 |
| | | | | Some distros helpfully force this on for some reason. | ||||
* | trivial: Rename some non exported symbols to use AsFormat | Richard Hughes | 2017-02-27 | 1 | -1/+1 |
| | |||||
* | trivial: Use the new AsFormatKind defines | Richard Hughes | 2017-02-27 | 1 | -1/+1 |
| | | | | No code changes, and ensure we don't break API/ABI by using #define's. | ||||
* | Fix a crash when using as_release_get_location_default() | Richard Hughes | 2017-01-06 | 1 | -0/+2 |
| | | | | The locations array is now lazy-loaded. | ||||
* | trivial: Output the release state if the export is trusted | Richard Hughes | 2016-12-15 | 1 | -0/+5 |
| | |||||
* | Add as_release_state_to_string() | Richard Hughes | 2016-12-15 | 1 | -0/+40 |
| | |||||
* | Allocate the release sizes at runtime | Richard Hughes | 2016-11-21 | 1 | -17/+29 |
| | | | | Saves 81Kb of RSS. | ||||
* | Lazy load structures in AsRelease | Richard Hughes | 2016-11-21 | 1 | -12/+50 |
| | | | | This saves another 0.8Mb of RSS. | ||||
* | Use refcounted strings in all objects | Richard Hughes | 2016-11-21 | 1 | -14/+21 |
| | | | | | This drops the RSS by ~1Mb and has the potential to do much more drastic things if this is used in GNOME Software. | ||||
* | Add two new GCC warnings and fix up signed/unsigned issues | Richard Hughes | 2016-07-25 | 1 | -3/+3 |
| | |||||
* | trivial: Factor out a soon-to-be-shared function | Richard Hughes | 2016-07-20 | 1 | -27/+1 |
| | |||||
* | trivial: Get rid of useless internal-only gtk-doc markup | Richard Hughes | 2016-06-28 | 1 | -12/+0 |
| | |||||
* | Support more DEP11 YAML markup | Richard Hughes | 2016-03-31 | 1 | -0/+46 |
| | | | | This should fix a few things in GNOME Software on Xenial. | ||||
* | Allow setting state on AsRelease objects | Richard Hughes | 2016-01-26 | 1 | -1/+36 |
| | |||||
* | Support date=iso8601 attributes in <release> markup | Richard Hughes | 2016-01-22 | 1 | -0/+36 |
| | | | | Also fixes https://github.com/ximion/appstream/issues/20 | ||||
* | Do not attempt to parse the version in as_release_set_version() | Richard Hughes | 2015-10-27 | 1 | -1/+1 |
| | | | | | | We only need this in one specific case (from .inf files) and trying to parse all the random version numbers in the Fedora package archive was causing regressions in the builder output. | ||||
* | Revert "Support the experimental <filename> tag for releases" | Richard Hughes | 2015-10-07 | 1 | -49/+0 |
| | | | | | | | This reverts commit 4384d052baea8005c406f47b410efe7d9236d8fa. We can easily use the filename in the checksum for this. Don't code late at night kids.. | ||||
* | Add the ability to attach blobs of data to AsRelease objects | Richard Hughes | 2015-10-07 | 1 | -0/+44 |
| | | | | The filename is used as a key, and will be used to validate firmware stores. | ||||
* | Support the experimental <filename> tag for releases | Richard Hughes | 2015-10-06 | 1 | -0/+49 |
| | | | | | | This allows us to specify the file in a cab archive, which is required if we're shipping more than one version in a container, or if the container contains firmware for more than one model. | ||||
* | Add support for <size> | Richard Hughes | 2015-10-02 | 1 | -1/+74 |
| | | | | This is used on release objects for installed and downloaded size. | ||||
* | Always use a dotted-decimal representation of the version | Richard Hughes | 2015-09-24 | 1 | -11/+1 |
| | | | | This helps a lot for UEFI versions that just specify a uint32le number. | ||||
* | Accept a '0x' hexidecimal prefix when parsing a component | Richard Hughes | 2015-09-23 | 1 | -6/+13 |
| | |||||
* | Add support for release urgency | Richard Hughes | 2015-09-11 | 1 | -0/+42 |
| | |||||
* | Use glib's cleanup functions for GString | Kalev Lember | 2015-09-10 | 1 | -2/+1 |
| | | | | ... and bump glib dep to 2.45.8 for g_autoptr(GString) support. | ||||
* | Use GLib's cleanup functions instead of libgsystem's | Kalev Lember | 2015-09-08 | 1 | -2/+2 |
| | | | | | | | We still have a few types that don't support g_autoptr(), but very very close to having everything ported over. This also bumps gdk-pixbuf dep to 2.31.5 for the cleanup macro support. | ||||
* | libappstream-glib: Port to G_DECLARE_DERIVABLE_TYPE macro | Kalev Lember | 2015-09-08 | 1 | -3/+2 |
| | | | | ... and bump glib dep to 2.44.0 for the macro. | ||||
* | trivial: Add some missing gtk-doc comments | Richard Hughes | 2015-08-03 | 1 | -1/+3 |
| | |||||
* | Remove some deprecated API | Richard Hughes | 2015-08-03 | 1 | -54/+0 |
| | |||||
* | Drop the unused _len arguments on many functions | Richard Hughes | 2015-08-03 | 1 | -21/+11 |
| | | | | | | Using the length of -1 for 'unknown' breaks the GIR-generated bindings. This breaks API and ABI and the soname has been updated to reflect this. | ||||
* | Add AsChecksum | Richard Hughes | 2015-08-03 | 1 | -119/+118 |
| | | | | | | | | Also, partially revert the 'add filename' commit and move the filename to the checksum. This allows us to store the checksum of the firmware file as well as well as the .cab container. This allows us to validate the firmware on devices using fwupd. | ||||
* | Add as_release_set_filename() | Richard Hughes | 2015-07-23 | 1 | -1/+53 |
| | | | | | | | | | | This allows us to save the source package or bundle that is referenced to the release. This allows us to download the correct file when installing a specific version of a component. This also allows us to mirror the correct file if the source filename is different from the location-specified filename, or if there is no location tag in the firmware metainfo file. | ||||
* | Add as_release_vercmp() | Richard Hughes | 2015-07-22 | 1 | -0/+31 |
| | | | | We need to do the proper fallback when getting the newest release for an app. | ||||
* | Only write the release timestamp if non-zero | Richard Hughes | 2015-07-01 | 1 | -5/+8 |
| | |||||
* | Don't crash when parsing a <release> with no description | Richard Hughes | 2015-06-29 | 1 | -0/+4 |
| | | | | Fixes https://github.com/hughsie/appstream-glib/issues/54 | ||||
* | Do not duplicate <location> tags within a release | Richard Hughes | 2015-06-24 | 1 | -0/+5 |
| | | | | This can happen if the AsApp objects are being merged during store load. | ||||
* | Parse the entire description when reading AppStream releases | Richard Hughes | 2015-03-05 | 1 | -1/+2 |
| | |||||
* | Add support for <location> and <checksum> | Richard Hughes | 2015-03-04 | 1 | -0/+185 |
| | | | | This is needed for AppStream 0.9 support. | ||||
* | Correctly load descriptions from <releases> in AppData files | Richard Hughes | 2015-01-21 | 1 | -9/+23 |
| | |||||
* | Create a AsNodeContext object for parsing state | Richard Hughes | 2015-01-21 | 1 | -4/+6 |
| | | | | | | | We've relied on version number heuristics for too long, and now we're in a position where we need the source kind to parse files correctly. All the functions are private, no API bump required. | ||||
* | trivial: Don't show warnings when doing distcheck | Richard Hughes | 2014-11-04 | 1 | -1/+1 |
| | | | | | It seems that the compiler really does require an initializer when using the _cleanup_ macros. | ||||
* | trivial: Fix up some GObjectIntrospection markup | Richard Hughes | 2014-06-20 | 1 | -1/+1 |
| | |||||
* | trivial: Use systemd-style cleanup functions | Richard Hughes | 2014-06-04 | 1 | -2/+2 |
| | | | | There's no point creating yet another format... | ||||
* | Use __attribute__(cleanup) to simplify memory cleanup | Richard Hughes | 2014-06-01 | 1 | -4/+3 |
| | |||||
* | Do not write xml:lang key versions when the same as the 'C' version | Richard Hughes | 2014-04-10 | 1 | -1/+2 |
| | |||||
* | Add as_node_get_tag() and only store the name when the tag is unknown | Richard Hughes | 2014-03-26 | 1 | -1/+1 |
| | | | | | | | | | | | This has a drawback that we have to convert from string->enum quite a lot, but it turns out that the enum direct integer compare (compared to a strcmp) more than makes up for this. It also reduces the amount of small malloc()s when parsing metadata This speeds up parsing by ~7% and reduces the amount of memory required by ~5%. NOTE: the AsNodeData struct was re-ordered so it packs again into 32 bytes. | ||||
* | Add as_node_take_attribute() to reduce allocations during parse | Richard Hughes | 2014-03-24 | 1 | -4/+8 |
| | | | | | This speeds up parsing by a couple of ms, but reduces the memory footprint by a few kb. | ||||
* | Add an 'api-version' property to AsStore to generate old-style metadata | Richard Hughes | 2014-03-20 | 1 | -3/+4 |
| | | | | | This allows us to keep up with the latest API and still write metadata compatible with old applications not using libappstream-glib or libappstream. | ||||
* | Don't crash when using getting an unset description | Richard Hughes | 2014-03-19 | 1 | -3/+5 |
| | |||||
* | Add gtk-doc file headers and flesh out the documentation | Richard Hughes | 2014-03-18 | 1 | -0/+16 |
| | |||||
* | Unexport things we don't want to keep stable | Richard Hughes | 2014-03-18 | 1 | -3/+3 |
| |