summaryrefslogtreecommitdiff
path: root/endless/Makefile.am
Commit message (Collapse)AuthorAge
* Extract lib_LTLIBRARIES to top of filePhilip Chimento2015-05-20
| | | | | | | We need to add more than one file to it, in more than one Makefile, and this is susceptible to confusion. [endlessm/eos-sdk#291]
* Initial implementation of image creditsPhilip Chimento2015-03-25
| | | | | | | | | | | | | | | | | | | | | This is a rough implementation of an "About"-like dialog for image attribution in SDK applications. You can press the 'secret' hotkey Shift+Ctrl+A to get a dialog with thumbnails and attribution information for the images in the app's GResource. Clicking on the thumbnail opens the image's original URI in the browser, if known. Clicking on the text opens the image's license text in the browser, if known. For this, you need to add a JSON file to the app's GResource and pass its GResource path to the EosApplication:image-attribution-file property. The format of this JSON file is described in the documentation for EosApplication. The dialog uses GtkTreeView because we didn't have GtkListBox when I started implementing it over a year ago. This places some limitations on the UI; the links behave weirdly and the mouse pointer doesn't change to a hand when hovering over the links. [endlessm/eos-sdk#2934]
* endless/Makefile.am: Add $(NULL) to end of multiline listsSam Spilsbury2015-01-10
|
* Enable Gjs and C coverage reports.Sam Spilsbury2015-01-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now provide a new m4 module eos-coverage.m4, which is installed into the system aclocal directory. This macro provides three new commands for SDK consumers to use: EOS_COVERAGE_REPORT([languages]) - Enables a "coverage report". The first argument is a space separated list of unquoted languages to collect coverage information for. Valid values at the moment are "c" and "js". For each language specified, the macro will check for support for collecting coverage and enable reporting accordingly. Raw coverage output goes in $(abs_top_builddir)/_coverage/output/$language accordingly. The macro then checks to see if a coverage reporter, either genhtml, or cobertura, is available and enables them. A reporter must be installed and available for coverage reports to be generated. The coverage-genhtml is enabled if lcov is installed and available. This is generally used by developers themselves as it creates a self-contained report. The coverage-covertura is enabled if a program called lcov-result-merger is installed and a python module called lcov_cobertura are installed. lcov-result-merger can be installed from Node Package Manager. lcov_cobertura can be installed from PyPI. lcov-result-merger is necessary because each test suite is run in a separate subprocess and so there will be multiple entries per source file in the coverage.lcov file generated by gjs. lcov_cobertura doesn't handle that properly and so the results need to be merged together properly. JavaScript Coverage Details =========================== A variable called EOS_JS_COVERAGE_FILES should be defined containing a list of all javascript files to be considered a "part of" the coverage report, before EOS_COVERAGE_RULES are substituted. For example: EOS_JS_COVERAGE_FILES = $(SRCS) @EOS_COVERAGE_RULES@ AM_JS_LOG_FLAGS += @EOS_COVERAGE_JS_LOG_FLAGS@ C/C++ Coverage Details ====================== Certain additions also need to be made for Makefiles where coverage reporting is enabled on a C project: @EOS_COVERAGE_RULES@ AM_CFLAGS += @EOS_C_COVERAGE_CFLAGS@ AM_LDFLAGS += @EOS_C_COVERAGE_LDFLAGS@ If a target's CFLAGS is overridden and AM_CFLAGS is not used, then @EOS_C_COVERAGE_CFLAGS@ must be added to its CFLAGS. Blacklisting patterns ===================== If a path should not appear in the coverage report, then it can be blacklisted by adding a glob expression to EOS_COVERAGE_BLACKLIST_PATTERNS. Clean rules =========== A clean-coverage target is added to the dependencies for the clean-local target automatically by EOS_COVERAGE_RULES. [endlessm/eos-shell#2264]
* Remove action buttonMatt Watson2014-05-13
| | | | | Wasn't getting used in any apps so we are taking it out [endlessm/eos-sdk#985]
* Remove action menuMatt Watson2014-05-13
| | | | | Wasn't getting used in any apps so we are taking it out [endlessm/eos-sdk#985]
* Remove splash page managerMatt Watson2014-05-13
| | | | | Was not getting used in any apps so we are taking it out [endlessm/eos-sdk#985]
* EosPageManager uses GtkStack properties directlyMatt Watson2014-05-13
| | | | | | | | | | | | | Use the visible-child and visible-child-name properties of GtkStack in lieu of visible-page and visible-page-name. Use the transition-duration, transition-type and name properties of GtkStack instead of proxying in page manager with properties of that same name. The page manger becomes nothing more than a stack with custom child properties for use in EosWindow, and becomes a lot simpler. This breaks the page manager api and will require changes in the apps as well [endlessm/eos-sdk#985]
* Remove the main area widgetMatt Watson2014-05-12
| | | | | | | | | | This has been totally unused in all our applications and has been having sizing problem with height for width and width for height request. We had grand plans for this, but since its unclear if there's a future in which this widget is used think it makes sense to remove [endlessm/eos-sdk#985]
* Added EosCustomContainer C class for gjs containersMatt Watson2014-01-22
| | | | | | | | | | forall cannot be overridden in gjs. There's an upstream bug here https://bugzilla.gnome.org/show_bug.cgi?id=701567 but that does not look like it will be fixed soon. So for now added a small c class that take care of GtkContainers add, remove and forall methods. This makes it possible to write generic containers in gjs. See docs for an example [endlessm/eos-sdk#481]
* Look for personality file in /etc/EndlessOSJohn Hiesey2013-10-16
| | | | | | | The personality file is moving to /etc/EndlessOS/personality.txt for OSTree, since /usr/share is read-only. [endlessm/eos-shell#1157]
* Add function to retrieve the system personalityEmmanuele Bassi2013-10-07
| | | | | | | | | We will use it in the app store, and other applications, to determine the content to be displayed. [endlessm/eos-sdk#326] [endlessm/eos-sdk#326]
* Add EosFlexyGridEmmanuele Bassi2013-09-12
| | | | | | | A layout manager for flexible grid layouts using the same algorithm of the Discovery Center. The UI pattern is going to be used in the app store and other native applications, so it makes sense to have this widget in the SDK.
* Merge pull request #141 from endlessm/issues/125P. F. Chimento2013-07-04
|\ | | | | #125 Reset the GTK theme
| * Add CSS files in a GResourcePhilip Chimento2013-06-27
| | | | | | | | | | | | | | | | resource:///com/endlessm/sdk/ is now the official GResource path for SDK resources. Right now the GResource contains reset.css (from GTK) and endless-widgets.css (from eos-theme). [endlessm/eos-sdk#125]
* | Make EosActionButton public and document itPhilip Chimento2013-06-28
|/ | | | | | | | Rename eosactionbutton-private.h to eosactionbutton.h, make sure it gets picked up in the documentation, include it in endless.h, make all the new public API documentation complete, and put the EosActionButtonSize enum documentation on the EosActionButton page. [endlessm/eos-sdk#133]
* EosActionMenu: basic scaffolding to add and remove GtkActionFelipe Erias Morandeira2013-06-21
| | | | [endlessm/eos-sdk#79]
* Private page manager API to get internal pstack transition typeMatt Watson2013-06-12
| | | | | EosWindow will always use this type when transitioning the background. [endlessm/eos-sdk#88]
* Added basic splash page manager functionality.matt2013-06-03
| | | | | | | Splash page and main page widget properties with getters and setters. Ability to switch between the splash and main page. Added splash- page.js smoke test. [endlessm/eos-sdk#62]
* A number of small fixes. Moved eosactionbutton.h to eosactionbutton-private.hFelipe Erias Morandeira2013-06-03
| | | | [endlessm/eos-sdk#30]
* EosActionButton : an internal widget to represent an action in the application.Felipe Erias Morandeira2013-06-03
| | | | | | | The widget extends GtkButton and implements its own draw() method. It holds a GtkLabel and a GtkImage internally. EosActionButtonSize : an enum that is used to indicate the desired size of the EosActionButton. [endlessm/eos-sdk#30]
* Various fixes from code reviewP. F. Chimento2013-05-17
| | | | | | | | - Style fixes - Add API to documentation - Add header to private headers [endlessm/eos-sdk#60]
* Initial main area widgetMatt Watson2013-05-16
| | | | | | | Has private getters/setters for two areas. Functioning container. Only shows the content widget. Added all the virtual functions for size requests and allocations. [endlessm/eos-sdk#10]
* Implement EosPageManagerP. F. Chimento2013-05-13
| | | | | | | Minimum functionality for EosPageManager. Currently uses a GtkNotebook internally until we decide what to do regarding GtkStack. (Philip; map/unmap Matt, Patrick)
* Implements EosTopBar and integrates it in EosWindowFelipe Erias Morandeira2013-05-02
| | | | [endlessm/eos-sdk#7]
* Define G_LOG_DOMAINP. F. Chimento2013-04-24
| | | | | | | | | Improvement to the build system: this allows you to turn on debug messages from the SDK by running G_MESSAGES_DEBUG=EndlessSDK ./myprogram Use G_MESSAGES_DEBUG=all to turn on messages from other libraries too.
* Rename C source and header filesP. F. Chimento2013-04-24
| | | | | | For consistency with GTK, blah.[ch] should be named eosblah.[ch]. [#23]
* Application classP. F. Chimento2013-04-24
| | | | | | | | | Add an EosApplication class. Functionality: - present main application window when activated - warn if more than one application window is added Also add a stub EosWindow class that overrides GtkWindow's "application" property to be a construct-only property. [#4]
* Add test frameworkPhilip Chimento2013-04-17
| | | | | | | There are automated tests which run when you do 'make check', and also smoke tests which demonstrate one piece of functionality, which can be used as a sort of sanity check or demo. [#1]
* Internationalize the shared libraryP. F. Chimento2013-04-17
| | | | | | Add infrastructure for translating the single string in the shared library. [#1]
* Skeleton build system to build a shared libraryPhilip Chimento2013-04-17
Builds a dummy shared library that exports one symbol for testing, eos_hello_sample_function(). [#1]