summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Use the utility function for accessing probesEmmanuele Bassi2018-03-21
| | | | | Now that we have it, we can cut some common code from the convert and show sub-commands.
* Extract the probe parsing functionEmmanuele Bassi2018-03-21
| | | | | | | Both the convert and the show sub-commands for eos-profile have code to turn a GVariant into a profile probe for the v1 of the format. Let's move it out into its own internal utility function.
* Add eos-profile-convert commandEmmanuele Bassi2018-03-21
| | | | | | | | | | If we want to perform additional analysis on a profile capture file it's generally going to be easier to have it in a different format than a GVDB binary blob, especially if we want to use tools that are written in high level languages that may not have access to the GVDB API. The simplest format we can convert to is JSON, which is structured and easy to parse with other languages.
* Programmatically generate command usage and helpEmmanuele Bassi2018-03-21
| | | | This avoids having each command handle it differently.
* Merge pull request #4180 from endlessm/T21027Martin Abente Lahaye2018-02-02
|\ | | | | T21027
| * SearchBox: Get correct index from selected matchPhilip Chimento2018-01-31
|/ | | | | | | | | | | | When clicking on a result from the autocomplete popup, we should select the first index of the tree path. (The list is a flat list, so there is always only one index.) This prevents a warning about a missing property of [Symbol.toPrimitive], because we were indexing this._items with the indices array (which is not a primitive) instead of its first item. https://phabricator.endlessm.com/T21027
* Merge pull request #4179 from endlessm/T20694Martin Abente Lahaye2018-01-22
|\ | | | | T20694
| * Nest profile output a bit betterEmmanuele Bassi2018-01-22
| | | | | | | | The spacing makes it look like a typo.
| * Move metadata at the top of the outputEmmanuele Bassi2018-01-20
| | | | | | | | | | There is no ordering guaranteed in the GVDB key names; while this is okay for the probes, the metadata section should be clustered together.
| * Fix whitespace in the sample timing messageEmmanuele Bassi2018-01-19
| |
| * Add missing handler for start time metadataEmmanuele Bassi2018-01-19
| | | | | | | | We need to check all meta data keys.
| * Do not clean up the profile state before writing dataEmmanuele Bassi2018-01-19
| | | | | | | | We use the fields in the profile state singleton.
| * Beautify the eos-profile-show outputEmmanuele Bassi2018-01-19
| | | | | | | | Add more Unicode art.
| * Add show command to eos-profileEmmanuele Bassi2018-01-19
| | | | | | | | | | The `show` command loads a list of profile capture files and prints the metadata and sample summary.
| * Move private profile symbols into the private headerEmmanuele Bassi2018-01-19
| | | | | | | | We are going to re-use them in the profile CLI tool.
| * Add CLI tool for loading profiling apturesEmmanuele Bassi2018-01-18
| | | | | | | | | | | | Captures of profiling data are saved in a binary format, and we need a tool that can load them and turn them into user readable (or machine readable) data.
| * Add more metadata in the profile stateEmmanuele Bassi2018-01-18
| | | | | | | | | | | | | | We want to have access to more metadata, including the application id, when capturing profiling data for later review, as the immediate association between a process and its profiling data is not available in that case.
| * Do not attempt to remove probes twiceEmmanuele Bassi2018-01-18
| | | | | | | | | | We only remove probes when unloading state, so we don't need to remove the probe from the state itself.
| * Remove unused refcount from EosProfileProbeEmmanuele Bassi2018-01-18
| | | | | | | | Leftovers from an earlier iteration.
* | Fix in-resize timeout valueJuan Pablo Ugarte2018-01-19
|/ | | | | | g_timeout_add() takes miliseconds instead of microseconds https://phabricator.endlessm.com/T20677
* Merge pull request #4177 from endlessm/T20769Martin Abente Lahaye2018-01-17
|\ | | | | T20769
| * Use similar output for single/multi sample probesEmmanuele Bassi2018-01-17
| | | | | | | | | | | | Always print out the number of samples and the total time, regardless of the number of samples; in case we have more than one sample, be more specific and add the average, minimum, maximum, and standard deviation.
| * Print out total time for single-sample probesEmmanuele Bassi2018-01-17
| | | | | | | | | | | | We should only give up if we didn't have any samples. https://phabricator.endlessm.com/T20769
* | Merge pull request #4176 from endlessm/T20677Emmanuele Bassi2018-01-16
|\ \ | |/ |/| EosWindow: add in-resize css class
| * EosWindow: add in-resize css classJuan Pablo Ugarte2018-01-15
| | | | | | | | | | | | | | Add class while window is being resized to change image scaling method in CSS This would speed up resizing windows with background images. https://phabricator.endlessm.com/T20677
* | Add JS convenience wrapper for ProfileProbe.start()Emmanuele Bassi2018-01-10
| | | | | | | | | | | | The C API has a convenience macro to initialise the location of the probe in the source file. We should use an override for the start() method in order to let GJS fill out the same data for us.
* | Add the Profiling section to the API referenceEmmanuele Bassi2018-01-10
| |
* | Add test for profiling APIEmmanuele Bassi2018-01-10
| |
* | Add initial infrastructure for ProfilingEmmanuele Bassi2018-01-10
|/ | | | | | | | | | | | | | | | | | | | | | | The EosProfileProbe API allows defining profiling probes that can be used to efficiently measure the time spent in a critical section. The Profiling API is meant to collect samples and generate a report at the end of the lifetime of the process, either by printing out the results once the process terminates; or by saving the raw data in a binary file that can be loaded at a later date. This profiling API is meant to be as close as possible to a zero cost abstraction: - probes are only allocated if profiling is enabled - all profiling API is a no-op if profiling isn't enabled - the C API is meant to be easily tied to a scope, through the use of auto-cleanup macros provided by GLib This allows projects using the Endless SDK to keep the profiling probes in place, instead of conditionally compile them in. https://phabricator.endlessm.com/T18514
* New translations from TransifexJenkins2017-11-11
|
* Merge pull request #4173 from endlessm/T18981Emmanuele Bassi2017-08-30
|\ | | | | build: Fix make distcheck
| * build: Fix make distcheckPhilip Chimento2017-08-30
|/ | | | | | run-with-dbus was removed, but still referred to in dist-files. https://phabricator.endlessm.com/T18981
* Merge pull request #4172 from endlessm/T18981Emmanuele Bassi2017-08-30
|\ | | | | Fixes for running tests in flatpak sandbox
| * test: Don't connect to accessibilityPhilip Chimento2017-08-29
| | | | | | | | | | | | | | Run tests with NO_AT_BRIDGE=1 so that they don't fail when there is no accessibility service. https://phabricator.endlessm.com/T18981
| * test: Replace run-with-dbus with dbus-run-sessionPhilip Chimento2017-08-29
|/ | | | | | | We can rely on this utility shipped with DBus itself, instead of a custom script that wasn't working inside a flatpak sandbox. https://phabricator.endlessm.com/T18981
* Merge pull request #4171 from endlessm/T18286Juan Pablo Ugarte2017-08-14
|\ | | | | customcontainer: Queue resize if visible child removed
| * customcontainer: Queue resize if visible child removedPhilip Chimento2017-07-14
| | | | | | | | | | | | | | | | | | All custom containers previously needed to do this in Javascript, but that caused problems: garbage collection could cause widgets to be removed, and you cannot trigger Javascript code to run during garbage collection. https://phabricator.endlessm.com/T18286
* | Merge pull request #4170 from endlessm/T18106Juan Pablo Ugarte2017-08-11
|\ \ | | | | | | js: Declare module export variables with "var"
| * | js: Declare module export variables with "var"Philip Chimento2017-07-07
| |/ | | | | | | | | | | | | | | | | In ES6, variables declared with "const" and "let" go into the "lexical scope" rather than the normal scope. Therefore, they are not available as properties on modules. GJS preserves the old behaviour with a warning, but we should fix our code anyway. https://phabricator.endlessm.com/T18106
* | New translations from TransifexJenkins2017-06-29
| |
* | Merge pull request #4168 from endlessm/T17540Juan Pablo Ugarte2017-06-14
|\ \ | |/ |/| attribution: Allow long comments to wrap
| * attribution: Allow long comments to wrapPhilip Chimento2017-06-12
|/ | | | | | | We hardcode a wrap width of 600 based on the dialog's default width of 700. https://phabricator.endlessm.com/T17540
* Merge pull request #4167 from endlessm/T17029P. F. Chimento2017-05-16
|\ | | | | | | | | Remove personality file parsing https://phabricator.endlessm.com/T17029
| * Remove personality file parsingEmmanuele Bassi2017-05-16
|/ | | | | | | | | The "personality" file has been removed from the Endless images, and it was never guaranteed to be there in the first place. Code that uses an Endless "personality" is considered 2.x legacy. https://phabricator.endlessm.com/T17029
* Add translation support for several new languagesRoddy Shuler2017-04-25
| | | | | | Includes integration with Transifex. https://phabricator.endlessm.com/T13620
* New translations from TransifexJenkins2017-04-17
|
* Merge pull request #4164 from endlessm/T16203Cosimo Cecchi2017-04-12
|\ | | | | build: Remove Webhelper
| * build: Remove WebhelperPhilip Chimento2017-04-12
| | | | | | | | | | | | | | Webhelper is now in its own repository: https://github.com/endlessm/webhelper https://phabricator.endlessm.com/T16203
* | Merge pull request #4163 from endlessm/fix-extra-distMartin Abente Lahaye2017-03-10
|\ \ | |/ |/| Fix the EXTRA_DIST listing in tests
| * Fix the EXTRA_DIST listing in testsEmmanuele Bassi2017-03-10
|/ | | | Missing '\'.