summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Don't forget to import String.format()Philip Chimento2013-09-23
| | | | | | Previously, it wasn't imported [endlessm/eos-sdk#310]
* URIdecode web action namePhilip Chimento2013-09-23
| | | | | | | In case the name of the web action is URIencoded, make sure to URIdecode it before looking it up in the dictionary of defined web actions. [endlessm/eos-sdk#310]
* Update WebHelper API to be introspectablePhilip Chimento2013-09-23
| | | | | | | | | - Replace _webActions with define_web_action() method and another define_web_actions() method for the Endless.js overrides file - Replace _translationFunction with set_translation_function() and get_translation_function() [endlessm/eos-sdk#310]
* Make example WebHelper program exemplaryPhilip Chimento2013-09-20
| | | | | | | Clean up the code and make sure that it can be used as an example without introducing any bad practices. [endlessm/eos-sdk#310]
* Merge pull request #308 from endlessm/issues/302Will Greenberg2013-09-20
|\ | | | | Documentation for WebHelper
| * Documentation for WebHelperPhilip Chimento2013-09-19
|/ | | | | | | | This adds the infrastructure for autogenerating HTML documentation from a Javascript module using NaturalDocs, and then adds documentation comments to webhelper.js. [endlessm/eos-sdk#302]
* Merge pull request #307 from endlessm/issues/306P. F. Chimento2013-09-19
|\ | | | | #306 Added asset button to the endless override
| * Added asset button to the endless overrideMatt Watson2013-09-18
| | | | | | | | | | | | | | | | The syntax can will hopefully stay the same for apps when this widget gets rewritten in C. Added support for labels like the standard button. Moved the overrides rules to a separate .inc makefile so we can add more standard js libs if we want [endlessm/eos-sdk#290]
* | Merge pull request #309 from endlessm/issues/1015Cosimo Cecchi2013-09-19
|\ \ | |/ |/| Improvements to EosFlexyGrid
| * docs: Add FlexyGrid and FlexyGridCell to the API referenceEmmanuele Bassi2013-09-19
| | | | | | | | [endlessm/eos-sdk#1015]
| * Fixes after code reviewEmmanuele Bassi2013-09-19
| | | | | | | | [endlessm/eos-sdk#1015]
| * test/flexy-grid: Initialize counterEmmanuele Bassi2013-09-19
| | | | | | | | [endlessm/eos-sdk#1015]
| * Set the scrolled window scroll policy in tests/flexy-gridEmmanuele Bassi2013-09-19
| | | | | | | | | | | | This allows testing the FlexyGrid widget in a scrollable widget. [endlessm/eos-sdk#1015]
| * Ensure a correct minimum height for EosFlexyGridEmmanuele Bassi2013-09-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The FlexyGrid cannot really have a fixed minimum height, since we don't support width-for-height layout. This means that the FlexyGrid needs a minimum height equal to its natural height - and we need to compute the latter depending on the passed width. This fixes the height handling when packing a EosFlexyGrid inside a GtkScrolledWindow. [endlessm/eos-sdk#1015] [endlessm/eos-sdk#1015]
| * Fix the annotation for EosFlexyGrid.set_sort_func()Emmanuele Bassi2013-09-19
| | | | | | | | | | | | The correct scope type is 'notified'. [endlessm/eos-sdk#1015]
| * Document EosFlexyGridCellEmmanuele Bassi2013-09-19
| | | | | | | | [endlessm/eos-sdk#1015]
| * Add EosFlexyGrid test unitEmmanuele Bassi2013-09-19
| | | | | | | | | | | | Begin by testing the basic accessors and construction. [endlessm/eos-sdk#1015]
| * Document and clean up EosFlexyGridEmmanuele Bassi2013-09-19
| | | | | | | | | | | | Properties, accessors, and documentation were missing. [endlessm/eos-sdk#1015]
| * Add editor temporary files to the ignore fileEmmanuele Bassi2013-09-19
| |
| * Add a test case for the FlexyGrid widgetEmmanuele Bassi2013-09-19
| | | | | | | | [endlessm/eos-sdk#1015]
| * Massively improve the FlexyGrid layout policyEmmanuele Bassi2013-09-19
|/ | | | | | | Restructure the layout code so that we only have one path that computes both the height-for-width and the allocation. [endlessm/eos-sdk#1015]
* Build fixesCosimo Cecchi2013-09-18
| | | | Spotted by Watson's spidey senses.
* Merge pull request #298 from endlessm/issues/290mattdangerw2013-09-18
|\ | | | | Unit tests for WebHelper
| * Move test autotooling to test/Makefile.am include filePhilip Chimento2013-09-18
| | | | | | | | | | | | | | | | The autotools code for running the tests should go in the included Makefile.am in the test/ subdirectory, so that all those test files are run and distributed in the same place. [endlessm/eos-sdk#290]
| * Unit tests for webhelperPhilip Chimento2013-09-16
| | | | | | | | | | | | | | | | | | These are tests for the basic functionality and a few fail cases of webhelper, by no means exhaustive. There are a few tests that cannot execute because I do not currently know of any way to catch exceptions that occur inside GObject callbacks. [endlessm/eos-sdk#290]
| * Do translation with webhelperPhilip Chimento2013-09-16
| | | | | | | | | | | | | | | | Previously, the translation was such that it did a dummy translation, italicizing the text to be translated. Now it looks for a translationFunction property on the app object, and calls that on the text. [endlessm/eos-sdk#290]
| * Better error checking on web actionsPhilip Chimento2013-09-16
| | | | | | | | | | | | | | - Move normal URI test to the top - Throw an exception if a nonexistent web action is called. [endlessm/eos-sdk#290]
| * Adjust API so that "public" functions don't start with _Philip Chimento2013-09-16
| | | | | | | | | | | | | | | | Also, since the functions will likely be translated into C in the future, give_them_underscored_names insteadOfCamelCase, in order to avoid API changes. [endlessm/eos-sdk#290]
| * Move webhelper smoke test into a new subdirPhilip Chimento2013-09-16
| | | | | | | | | | | | | | The webhelper tests should be in their own directory, mirroring the source directory structure. [endlessm/eos-sdk#290]
| * First attempt at an EOS test runnerPhilip Chimento2013-09-16
| | | | | | | | | | | | | | | | This adds a script eos-run-test which is adapted from gjs_run_tests, but does not try to discover the tests itself. Instead, in keeping with Automake's test suite facilities, it takes the filename of a test to run. [endlessm/eos-sdk#290]
* | Merge pull request #304 from endlessm/flexy-gridCosimo Cecchi2013-09-18
|\ \ | | | | | | Flexy grid for the app store
| * | Don't forget to propagate the enter event furtherCosimo Cecchi2013-09-18
| | | | | | | | | | | | We were missing a return here.
| * | Render a frame inside draw()Cosimo Cecchi2013-09-18
| | | | | | | | | | | | In addition to a background.
| * | Account for previous cell when switching rowCosimo Cecchi2013-09-18
| | | | | | | | | | | | | | | Previously, we were missing a cell while switching to a new row in the preferred height request.
| * | Ensure natural size requests are not smaller than minimumCosimo Cecchi2013-09-18
| | | | | | | | | | | | | | | Make sure we never have a case where the minimum size request for the EosFlexyGrid can exceed its natural.
| * | 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.
| * | Add EOS_DEFINE_ENUM_TYPE macroEmmanuele Bassi2013-09-04
| | | | | | | | | | | | | | | | | | | | | | | | A simple macro that allows you to define a GEnum type. If we start getting a ton of enumeration types, then we should consider adding the various autotooling hooks for generating them through the glib-mkenums script.
* | | Merge pull request #300 from endlessm/issues/299P. F. Chimento2013-09-16
|\ \ \ | |_|/ |/| | #299 Gtk and clutter tests for framerate
| * | Gtk and clutter tests for framerateMatt Watson2013-09-16
| | | | | | | | | | | | | | | | | | | | | Not the greatest code, command line parsing could be better, but these are smoke tests. README with some instructions [endlessm/eos-sdk#299]
* | | Merge pull request #292 from endlessm/issues/289mattdangerw2013-09-12
|\ \ \ | | | | | | | | Install WebHelper into GJS modules directory
| * | | Install WebHelper into GJS modules directoryPhilip Chimento2013-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WebHelper is now importable using const WebHelper = imports.webhelper; [endlessm/eos-sdk#289]
* | | | Merge pull request #297 from endlessm/issues/295mattdangerw2013-09-12
|\ \ \ \ | | | | | | | | | | Fix failing doc tests
| * | | | Need to distribute dummy file for make distcheckPhilip Chimento2013-09-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The dummy file necessary to get 'make check' to do the doc tests correctly was generated at build time, but that way it doesn't support the VPATH build that 'make distcheck' tests. The simplest way is to distribute the dummy file. [endlessm/eos-sdk#295]
| * | | | Document functions that had no documentationPhilip Chimento2013-09-09
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | This fixes the doc tests, unless one is running them from 'make distcheck'. [endlessm/eos-sdk#295]
* | | | Merge pull request #294 from endlessm/issues/122mattdangerw2013-09-09
|\ \ \ \ | |_|/ / |/| | | Use Automake's parallel test harness
| * | | Use Automake's parallel test harnessPhilip Chimento2013-09-04
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | This gets rid of a long-standing workaround and makes it easier to start using a proper test harness for Javascript unit tests. Unfortunately, it requires a workaround to be able to run gtkdoc-check on the documentation, but the workaround is not too bad. [endlessm/eos-sdk#122]
* | | Merge pull request #288 from endlessm/issues/282Nick Isaacs2013-09-04
|\ \ \ | |/ / |/| | Allowed links in domain specific apps
| * | Allowed links in domain specific appsRory MacQueen2013-09-03
| | | | | | | | | | | | | | | | | | | | | | | | These are the changes to the wikipedia SDK to allow for certain showable links in the domain specific apps. The JSON file will specify which links can be clickable across all articles. [endlessm/eos-sdk#282]
* | | Merge pull request #286 from endlessm/issues/284P. F. Chimento2013-08-30
|\ \ \ | | | | | | | | #284 Emit delete-event on x button click
| * | | Emit delete-event on x button clickMatt Watson2013-08-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This gives the apps a chance to intercept the delete event and prompt the user before closing the app. We synthesize the delete-event in eos-window and connect a default handler which destroys the window [endlessm/eos-sdk#284]