summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Run tests with run-with-dbusCosimo Cecchi2015-05-22
| | | | | | | | Our JS tests require a session bus, but on Jenkins builder we won't have it. Run them with a test session bus. The run-with-dbus script is borrowed from GJS and simplified a bit. [endlessm/eos-sdk#291]
* Merge pull request #3183 from endlessm/sdk/291Cosimo Cecchi2015-05-22
|\ | | | | Port WebHelper to WebKit2
| * Export webview DBus objects when bus readyPhilip Chimento2015-05-22
| | | | | | | | | | | | | | | | | | Instead of starting an idle function when a webview page is created that waits until the bus connection object is ready before exporting an object on it, we save all page IDs that we haven't registered yet and instead register them all at once when the bus is ready. [endlessm/eos-sdk#291]
| * Expose ngettext() to client-side JSPhilip Chimento2015-05-21
| | | | | | | | | | | | | | | | | | This exposes the function set by webhelper.set_ngettext() to the client- side Javascript as a ngettext() function, defined on the global window object. This allows apps to translate messages that need to be separated into singular and plural, just like the C ngettext() function. [endlessm/eos-sdk#291]
| * Expose gettext() to client-side JSPhilip Chimento2015-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This exposes the function set by webhelper.set_gettext() to the client- side Javascript as a gettext() function, defined on the global window object. This allows apps to translate messages that are generated at runtime, not just messages in static HTML. Some often-used JavaScriptCore operations can be turned into separate functions, which we can put in a separate source file. This is in anticipation of the next commit where we will define another function property of the global object. [endlessm/eos-sdk#291]
| * Implement web actions in WebHelper2Philip Chimento2015-05-21
| | | | | | | | | | | | | | | | | | | | | | This allows communicating with the host program through URIs of the form webhelper://action?param=value&param2=value2. Actions can be defined on the WebHelper object and given a callback in Javascript. Unfortunately we have to use a private C library to register the URI scheme, because of https://bugs.webkit.org/show_bug.cgi?id=116672 [endlessm/eos-sdk#291]
| * WebHelper2 for translating WebKit2 viewsPhilip Chimento2015-05-21
| | | | | | | | | | | | | | | | | | | | | | This adds a new Javascript module, WebHelper2. It's the WebKit2 analogue to WebHelper. It offers a facility for calling gettext() on the contents of DOM elements in your web page. It accomplishes this using an extension module that's loaded into WebKit's web process. [endlessm/eos-sdk#291]
| * 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]
| * Add missing tests to jasmine.jsonPhilip Chimento2015-05-20
| | | | | | | | | | | | | | There were some Javascript tests hiding out in test/endless. Make sure they get run when running Jasmine. [endlessm/eos-sdk#291]
| * Remove section from .gitignorePhilip Chimento2015-05-20
| | | | | | | | | | | | | | | | This section contained several names that weren't necessary to ignore. Specifically "lib" would ignore any "lib" directory, which was dangerous. The whole section seemed unnecessary. [endlessm/eos-sdk#291]
| * Tweak NaturalDocs CSSPhilip Chimento2015-05-20
| | | | | | | | | | | | | | Display a monospace font on systems that don't have DejaVu Sans Mono installed. [endlessm/eos-sdk#291]
| * Move webhelper Makefile code into toplevelPhilip Chimento2015-05-20
| | | | | | | | | | | | In the interest of consolidating the makefiles for readability. [endlessm/eos-sdk#291]
| * Introspection should not be optionalPhilip Chimento2015-05-20
| | | | | | | | | | | | | | Our library isn't meant to be used without introspection, so the build should fail if gobject-introspection is not available. [endlessm/eos-sdk#291]
| * Check for webhelper's required GIR filesPhilip Chimento2015-05-20
| | | | | | | | | | | | Make sure that the necessary GIR packages are installed before building. [endlessm/eos-sdk#291]
* | Trigger rebuild of eos-sdkCosimo Cecchi2015-05-21
|/
* Merge pull request #3185 from endlessm/sdk/3172Cosimo Cecchi2015-05-20
|\ | | | | Generate XML reports when running on Jenkins
| * Generate XML reports when running on JenkinsPhilip Chimento2015-05-20
| | | | | | | | | | | | | | | | If we detect a Jenkins environment using the environment variable JASMINE_JUNIT_REPORTS_DIR that we set in the job's configuration, then generate XML test reports for each Jasmine unit test. [endlessm/eos-sdk#3172]
* | topbar: don't use deprecated margin propertiesCosimo Cecchi2015-05-20
| | | | | | | | Or tests will fail on the runtime deprecation warning.
* | Add a missing Gtk.init()Cosimo Cecchi2015-05-20
|/ | | | Or the test will fail when trying to open the GTK display.
* Use pt_BR directly with TransifexRoddy Shuler2015-05-19
| | | | | | | | Since we are actually providing Brazilian Portuguese translations, we are changing our resources in Transifex for consistency and no longer need to map to pt resources. [endlessm/eos-shell#4272]
* Merge pull request #3176 from endlessm/sdk/3171Cosimo Cecchi2015-05-18
|\ | | | | Jasmine improvements
| * Run tests on uninstalled libraryPhilip Chimento2015-05-18
| | | | | | | | | | | | | | | | By setting GI_TYPELIB_PATH and LD_LIBRARY_PATH in Jasmine's environment we can run the tests with "jasmine" against the uninstalled copy of the library, like we do with "make check". [endlessm/eos-sdk#3171]
| * No need to time out testsPhilip Chimento2015-05-18
|/ | | | | | | Jasmine has its own timeout timer on each spec, so we don't need to set one up ourselves. [endlessm/eos-sdk#3171]
* Merge pull request #3145 from endlessm/sdk/3052Fernando Farfan2015-05-11
|\ | | | | New licenses and markup escaping
| * Add more license typesPhilip Chimento2015-05-06
| | | | | | | | | | | | | | These licenses are used in the new batch of image attributions coming from eos-knowledge-apps. [endlessm/eos-sdk#3052]
| * Remove unused enumPhilip Chimento2015-05-06
| | | | | | | | [endlessm/eos-sdk#3052]
| * Escape strings used as Pango markupPhilip Chimento2015-05-06
|/ | | | | | | | Any strings read from external sources that are used as Pango markup should be escaped before using. Also, add translator comments indicating when a string is Pango markup. [endlessm/eos-sdk#3052]
* Merge pull request #3087 from endlessm/sdk/3025P. F. Chimento2015-05-05
|\ | | | | [endlessm/eos-sdk#3025]
| * Scripts to download and organize CCLicense filesFernando Farfan2015-05-05
| | | | | | | | | | | | | | These scripts download and prepare all the HTML files that are required to publish Creative Commons licenses. [endlessm/eos-sdk#3025]
| * Added Creative Commons LicensesFernando Farfan2015-05-05
|/ | | | | | | | | | | | | | | | | | | | | | Added HTML files for Creative Commons lincenses to be presented offline. Licenses added include: * BY-3.0 * BY-4.0 * BY-ND-2.0 * BY-ND-3.0 * BY-SA-3.0 * BY-SA-4.0 For all these, the following languages were added: * No language suffix: Copy of the English file as fallback * Arabic * English * Spanish * French * Portuguese (Brazil) [endlessm/eos-sdk#3025]
* Merge pull request #3113 from endlessm/sdk/3054Cosimo Cecchi2015-04-27
|\ | | | | Use jasmine-gjs
| * Address warning about rule being overwrittenPhilip Chimento2015-04-17
| | | | | | | | | | | | | | There are two dist-hook rules, so a double-colon rule is appropriate. That means both will get executed when required, instead of only one. [endlessm/eos-sdk#3054]
| * Don't define dist_noinst_DATA in included MakefilePhilip Chimento2015-04-17
| | | | | | | | | | | | | | This is vulnerable to being overwritten. Instead, define it in the top level Makefile and append to it in the included Makefile. [endlessm/eos-sdk#3054]
| * Lose one level of Makefile includeryPhilip Chimento2015-04-17
| | | | | | | | | | | | | | Having these tiny included Makefiles is confusing and vulnerable to mistakenly overwriting variables. [endlessm/eos-sdk#3054]
| * Switch to subdir-objectsPhilip Chimento2015-04-17
| | | | | | | | | | | | | | | | This requires removing the $(ENDLESS_TESTS_DIRECTORY) variable, which wasn't really necessary anyway. Subdir-objects would like you to specify your directories directly in the rule target names. [endlessm/eos-sdk#3054]
| * Remove defunct flexy-grid demoPhilip Chimento2015-04-17
| | | | | | | | | | | | EosFlexyGrid is deprecated, so we don't want a demo of it in our tests. [endlessm/eos-sdk#3054]
| * Integrate Jasmine with AutomakePhilip Chimento2015-04-17
| | | | | | | | | | | | | | This runs the tests during "make check" using jasmine-gjs, and outputs results in the TAP format that Automake understands. [endlessm/eos-sdk#3054]
| * Add Jasmine config filePhilip Chimento2015-04-17
| | | | | | | | | | This sets the options so that you get a nice default output when you run "jasmine" in the repo's root directory.
| * Port eos-application-manifest tests to JasminePhilip Chimento2015-04-17
| | | | | | | | | | | | This somehow escaped Sam's big switcheroo last year. [endlessm/eos-sdk#3054]
| * Remove ancient test runnerPhilip Chimento2015-04-17
| | | | | | | | | | | | | | This test runner dates from even before eos-jasmine, and is not used anywhere. [endlessm/eos-sdk#3054]
| * Remove eos-jasmine submodulePhilip Chimento2015-04-17
|/ | | | [endlessm/eos-sdk#3054]
* Merge pull request #3045 from endlessm/sdk/2736Cosimo Cecchi2015-04-07
|\ | | | | Release stable version 0.2.0
| * Release stable version 0.2.0Philip Chimento2015-04-06
|/ | | | | | | We've been working on development series 0.1.x, so 0.2.0 is what gets released with OS release 2.3.0. [endlessm/eos-sdk#2736]
* Merge pull request #3014 from endlessm/sdk/2962Rory MacQueen2015-04-02
|\ | | | | Use hand cursor on search box secondary icon
| * Use hand cursor on search box secondary iconPhilip Chimento2015-03-31
|/ | | | | | | If the secondary icon is displayed, it should change the mouse cursor to a hand as well. [endlessm/eos-sdk#2962]
* Merge pull request #2985 from endlessm/sdk/2948Cosimo Cecchi2015-03-30
|\ | | | | Remove GPL code
| * Remove GPL codePhilip Chimento2015-03-27
|/ | | | | | | | This removes the code that was copied from the LGPL eos-theme repository and replaces it with a different simple spinner animation, adapted from the MIT-licensed http://projects.lukehaas.me/css-loaders/ [endlessm/eos-sdk#2948]
* Merge pull request #2935 from endlessm/image-creditsCosimo Cecchi2015-03-25
|\ | | | | Initial implementation of image credits
| * Make image credits discoverablePhilip Chimento2015-03-25
| | | | | | | | | | | | | | | | | | This adds a fourth topbar button, to the left of the minimize button, that is invisible by default. When you mouse over the space where it would be, it appears. When you click on it, it activates the image credits dialog. [endlessm/eos-sdk#2934]
| * EosAttribution implements GInitablePhilip Chimento2015-03-25
| | | | | | | | | | | | | | | | Since the first thing we do is load the attribution information from the file and the object is useless if that fails, then we may as well make the file a construct property and implement GInitable. [endlessm/eos-sdk#2934]