summaryrefslogtreecommitdiff
path: root/endless
Commit message (Collapse)AuthorAge
* Merge branch 'sdk-6' of github.com:endlessm/eos-sdkDylan McCall2020-03-05
|\
| * Remove custom styles for EosTopBarDylan McCall2020-01-28
| | | | | | | | | | | | Instead, EosTopBar should look like a normal GtkHeaderBar. https://phabricator.endlessm.com/T21463
* | Completely remove eos_is_composite_tv_monitorDylan McCall2020-03-02
| | | | | | | | | | | | | | Turns out composite mode support has been removed in EOS, so no sense doing it here. https://phabricator.endlessm.com/T28284
* | Remove deprecated gdk_screen_get_width/heightDylan McCall2020-02-28
|/ | | | | | | | | | | | To achieve this, eos_is_composite_tv_screen is replaced with a GdkMonitor equivalent: eos_is_composite_tv_monitor. With this change, it is possible for EosWindow to better detect the physical monitor it is displayed on and adapt accordingly. However, the existing code in eoswindow.c does not make use of this functionality. https://phabricator.endlessm.com/T28284
* Add a Quit action to EosApplicationDylan McCall2019-04-08
| | | | | | | This action is bound to Ctrl+Q and uses the conventional app.quit action name, which provides better integration with some desktop environments. https://phabricator.endlessm.com/T23254
* eoslicense: Always display license codeMartin Abente Lahaye2018-07-19
| | | | | | | | | Adding a new license for every app that a uses a different one from our list, it simply does not scale. Therefore, always display the code instead of the "Unknown license" text. https://phabricator.endlessm.com/T22301
* Merge pull request #4179 from endlessm/T20694Martin Abente Lahaye2018-01-22
|\ | | | | T20694
| * Do not clean up the profile state before writing dataEmmanuele Bassi2018-01-19
| | | | | | | | We use the fields in the profile state singleton.
| * Move private profile symbols into the private headerEmmanuele Bassi2018-01-19
| | | | | | | | We are going to re-use them in the profile CLI tool.
| * 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 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
* 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
* | 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
* 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
* Make metrics dependency optionalPhilip Chimento2016-08-22
| | | | | | | We should allow external contributors to build eos-sdk without the eos-metrics dependency. https://phabricator.endlessm.com/T13015
* Update the error message on missing resource URIEmmanuele Bassi2016-07-21
| | | | Reinstate the element number in the critical error message.
* eosattribution: Allow showing a thumb_uri in the creditsJasper St. Pierre2016-07-14
| | | | | | | | | | This is the replacement for resource_path, and is a generic way of showing an image to provide attribution information for. This will be used to pull in ekn:// URIs for the credits dialog in subscriptions apps. https://phabricator.endlessm.com/T12435
* Record metric for unmaximized windowsPhilip Chimento2016-07-06
| | | | | | | | | | | | When an EosWindow remains unmaximized for over 10 seconds, we record a metric. The 10 seconds is to filter out presses of the unmaximize button by accident, and because there is some weirdness in the window manager around launching apps maximized. This is for determining how important it is to implement various kinds of responsive design in GTK. https://phabricator.endlessm.com/T12233
* Include $(buildir)/endless directory in per-executable/library _CPPFLAGSJuan Pablo Ugarte2016-07-01
| | | | | | since global AM_CPPFLAGS is ignored in those cases. https://phabricator.endlessm.com/T12150
* customcontainer: keep children in order they were addedMatt Watson2016-05-06
| | | | | We were flipping the order, not sure why we did this. https://phabricator.endlessm.com/T11336
* window: bump font scaling defaults by 4/3Matt Watson2016-04-21
| | | | | | Pixel font-sizes in css now show up 75% smaller. These properties are gints so we will round when necessary. https://phabricator.endlessm.com/T11000
* window: set css nameMatt Watson2016-04-21
| | | | https://phabricator.endlessm.com/T11000
* topbar: redo credit button show/hideMatt Watson2016-04-21
| | | | | | | | | | We had a stack and listened to enter leave to trigger a transition, but that broke when GtkStack ditched its main GdkWindow with the upgrade to 3.20. Switch to doing this all with a regular button in css, cause that's simpler https://phabricator.endlessm.com/T11000
* window: fix font scalingMatt Watson2016-04-19
| | | | | | We were accidentally making sure we never scaled larger than the minimum font size. I'm pretty sure we want the opposite https://phabricator.endlessm.com/T11370
* flexygrid: ignore deprecationsMatt Watson2016-04-13
| | | | | | The whole file is deprecated, we shouldn't make noise at using deprecated glib functions. https://phabricator.endlessm.com/T11000
* eosutil: add a missing annotationCosimo Cecchi2015-12-16
|
* Add composite CSS class to EosWindowPhilip Chimento2015-12-16
| | | | | | | | If an EosWindow is on a composite TV screen, then add the "composite" CSS class to it. Also add a constant, EOS_STYLE_CLASS_COMPOSITE. This allows us to do specific styling for composite. [endlessm/eos-sdk#3930]
* Add eos_is_composite_tv_screen()Philip Chimento2015-12-15
| | | | | | | | | This function simply queries the resolution of a screen, or the default screen if none is given. A resolution of 720x480 or 720x576 indicates a composite TV, since we don't allow the user to select those resolutions for themselves. [endlessm/eos-sdk#3930]
* Move utility functions to new eosutil.cPhilip Chimento2015-12-15
| | | | | | | | We have one utility function currently living in eosinit.c. Since we are about to have another one, we should put them in a file for utility functions. [endlessm/eos-sdk#3930]
* Merge pull request #3903 from endlessm/sdk/3782Fernando Farfan2015-12-11
|\ | | | | Center titlebar widget
| * Credits button only reacts to proper window eventsPhilip Chimento2015-12-10
| | | | | | | | | | | | | | | | | | For some reason, the on_stack_hover() handler was getting enter/leave events from other GdkWindows besides the one belonging to the GtkStack. I'm not sure why this didn't happen before, but this makes sure that we only react to events on the window that we care about. [endlessm/eos-sdk#3782]
| * Convert EosTopBar to Glade XMLPhilip Chimento2015-12-07
| | | | | | | | | | | | Less code, more data. [endlessm/eos-sdk#3782]
| * Remove top-bar CSS classPhilip Chimento2015-12-07
| | | | | | | | | | | | | | GtkWindow already adds a "titlebar" CSS class, so rolling our own is not necessary. We can replace ".top-bar" with "EosWindow .titlebar". [endlessm/eos-sdk#3782]
| * Remove "unmaximized" CSS classPhilip Chimento2015-12-07
| | | | | | | | | | | | | | | | | | GTK already provides a "maximized" CSS class on GtkWindow, so now that we have the :not selector, we can use that instead of adding our own "unmaximized" class. This allows us to cut out more code, including a signal emission on every window state change. [endlessm/eos-sdk#3782]
| * EosTopBar inherits from GtkHeaderBarPhilip Chimento2015-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A lot of the functionality that we wrote in EosTopBar has been implemented in GtkHeaderBar in the meantime. Using upstream code is better because we don't have to maintain it, and can cut ~200 lines out of our library. Two discrepancies between the old and new EosTopBar is that the header bar has now gained a right-click menu on which you can close the app (I am leaving that in for now, as it's consistent with the other apps) and there is a separator between the window minimize button and the credits button. (The separator itself is invisible, but it adds another few pixels of inter-widget space that weren't there before.) [endlessm/eos-sdk#3782]
| * Use constructed() for EosTopBar propertiesPhilip Chimento2015-12-07
| | | | | | | | | | | | | | | | | | | | | | | | Properly, object properties should not be set in init() in C, because construct properties are later reset to their default values. Instead, the constructed() vfunc should be used. This doesn't matter for the current code, since none of the set properties are construct properties, but I'm going to be doing something in one of the following commits where it does matter. [endlessm/eos-sdk#3782]
| * Remove unused functionPhilip Chimento2015-12-04
| | | | | | | | | | | | | | eos_window_default_delete() was left over from something that we don't do anymore. [endlessm/eos-sdk#3782]
* | Document new macrosPhilip Chimento2015-11-25
|/ | | | | | | | These were mistakenly added to a page that doesn't get included in the documentation index. This creates a new page, "system", for utilities for gathering information about the system. [endlessm/eos-sdk#3071]
* eostopbar: fix get_preferred_height when no custom widgetsMatt Watson2015-10-05
| | | | | | Forgot some null checks which made thing blow up when either the left on center widget was not added [endlessm/eos-sdk#3683]
* eostopbar: always allocate as if custom widgets were visibleMatt Watson2015-10-05
| | | | | | | | | | This is an attempt to stop the top bar from jumping around on the knowledge apps in composite mode. This won't stop the top bar from jumping in size in all cases, if you have different sized widgets forcing the top bar size to change on different pages of the page manager, this won't really help you. [endlessm/eos-sdk#3683]
* eostopbar: don't cutoff widgetsMatt Watson2015-10-05
| | | | | | If one of our custom widgets is bigger than our topbar height, we should accommodate it. [endlessm/eos-sdk#3683]