summaryrefslogtreecommitdiff
path: root/endless
Commit message (Collapse)AuthorAge
* Merge pull request #555 from endlessm/issues/544mattdangerw2014-02-07
|\ | | | | Fix font size CSS decimal point
| * Fix font size CSS decimal pointPatrick Ward2014-02-07
| | | | | | | | | | | | Changed the decimal point of the font size's CSS to always use a '.' so that the metric decimal point ',' is never used. This makes sure that GTK's CSS parser will always be able to parse the font-size CSS. [endlessm/eos-sdk#544]
* | Merge pull request #553 from endlessm/issues/546Will Greenberg2014-02-06
|\ \ | | | | | | Dont block the default window-state-event handler
| * | Dont block the default window-state-event handlerMatt Watson2014-02-05
| | | | | | | | | | | | | | | | | | | | | We snoop on window state events to update the maximize button, but we were accidentally blocking the default handler. Semi maximizing wasn't working properly, maybe other things [endlessm/eos-sdk#546]
* | | Merge pull request #552 from endlessm/issues/551Will Greenberg2014-02-05
|\ \ \ | |_|/ |/| | Rounded corners on unmaximized top bar
| * | Rounded corners on unmaximized top barMatt Watson2014-02-05
| |/ | | | | | | | | | | The window manager already does this for most programs. But we have to do it ourselves in the SDK as we have self decorated windows [endlessm/eos-sdk#551]
* | flexygrid: Deselect cell when on empty spaceEmmanuele Bassi2014-02-04
|/ | | | | | | The pointer may be on empty space while still within the bounds of the FlexyGrid widget. [endlessm/eos-shell#1887]
* Show our internal widgets in eos-windowMatt Watson2014-01-29
| | | | | | | | | | | | Users should not have be forced to call show all on the toplevel. Calling show on all the widgets they create should be enough to make things show on screen. Which means we need to call show on our internals ourselves. Added a test for this. Calls show on the window so will actually make something pop on screen for a second. But so do other test we have so I think thats OK [endlessm/eos-sdk#535]
* Updating page background props works before show_all calledMatt Watson2014-01-29
| | | | | | | | | | EosWindow manages the page background transition and relies on a stack internally to transition. The stack was not properly flipping between its child widgets before show_all was called in user code. This is because stack's set_visible_child method won't work unless the children are actually visible. Calling show our stacks children fixes the problem. [endlessm/eos-sdk#535]
* Add publicly available font size propertyPatrick Ward2014-01-29
| | | | | | Added a publicly available calculated font size property. This allows Endless applications to perform actions based on the calculated font size of an EosWindow. In particular, the WebHelper application now uses the property to update the 'default-font-size' property of a WebSettings object. [endlessm/eos-sdk#484]
* 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]
* Use proper assets for maximize button in top barMatt Watson2014-01-21
| | | | | Also update the topbar icon depending on window state. [endlessm/eos-sdk#477]
* Merge pull request #486 from endlessm/issues/477Will Greenberg2014-01-17
|\ | | | | Added a maximize button to eos-topbar
| * Implement code review commentsPhilip Chimento2014-01-17
| | | | | | | | | | | | Spacing fixes [endlessm/eos-sdk#477]
| * Added a maximize button to eos-topbarMatt Watson2014-01-16
| | | | | | | | | | | | Which toggles the application between a maximized and unmaximized state. All applications will still start maximized by default. [endlessm/eos-sdk#477]
* | Fix compile warningPhilip Chimento2014-01-17
| | | | | | | | | | | | Missing type cast in eoswindow.c. [endlessm/eos-sdk#495]
* | Fixed ordering of type checking in public C methodsMatt Watson2014-01-15
|/ | | | | | In a couple of places, we would first access the private data of and pointer, and then assert it was the type we were expecting [endlessm/eos-sdk#469]
* Fix invalid free on gchar pointerPatrick Ward2014-01-15
| | | | | | The priv->current_background_css_props variable is sometimes assigned to a const gchar. Changing the const gchar to a malloc'd gchar pointer allows the existing g_free to free priv->current_background_css_props normally without checking for const values. [endlessm/eos-sdk#478]
* Add configurable properties for font scalingPatrick Ward2014-01-13
| | | | | | Added configurable properties to EosWindow to allow turning on/off scaling, setting a custom base font, and setting a custom base resolution. EosWindow now has a base font-size that allows children widgets to scale font-size via using em. Also added font rescaling tests to both the automated test and smoke test. [endlessm/eos-sdk#398]
* Fix memory leaksPatrick Ward2014-01-13
| | | | | | Fixed a number of gchar memory leaks. Also added eos_window_finalize to properly unreference GtkStyleProvider objects. [endlessm/eos-sdk#466]
* Remove internal child codePhilip Chimento2013-12-17
| | | | | | | | | | GTK 3.10 has gtk_window_set_titlebar(), so we can remove a lot of code that was necessary for treating the top bar as an internal child and dragging the window by its top bar. By setting the 'decorated' flag again, this also solves #375. [endlessm/eos-sdk#28]
* Added nicer warning message when clamping size requestMatt Watson2013-12-10
| | | | [endlessm/eos-sdk#191]
* Clamp minimal size request for windows to fit inside screenMatt Watson2013-12-10
| | | | | | | | This clamping code should not be used in anything production. If you see a warning about your minimal size request being to large fix the size request [endlessm/eos-sdk#191]
* Warn when window minimal size is greater than screen sizeMatt Watson2013-12-10
| | | | | | test/smoke-tests/large-content.js shows the warnings in action [endlessm/eos-sdk#191]
* Use the new way to define private gobject dataMatt Watson2013-12-09
| | | | | Simpler and has a nicer memory layout. Needed glib 2.38 to do this. [endlessm/eos-sdk#421]
* Merge pull request #381 from endlessm/issues/376Rory MacQueen2013-12-05
|\ | | | | Issues/376
| * Fixed size request of eos-windowMatt Watson2013-12-05
| | | | | | | | | | | | | | Since the entire main area of the window is actually in the "over" layer of an overlay, we needed a size group to make sure the background widget underneath had the right size request. [endlessm/eos-sdk#376]
* | Merge pull request #428 from endlessm/issues/417P. F. Chimento2013-12-05
|\ \ | |/ |/| #417 Removed PStack from sdk
| * Removed PStack from sdkMatt Watson2013-12-05
| | | | | | | | | | | | | | We used this for our page manager, now we can just use GtkStack with Gtk 3.10 [endlessm/eos-sdk#417]
* | Remove {GTK,GLIB}_CHECK_VERSIONPhilip Chimento2013-12-03
|/ | | | | | | This removes all conditionally compiled parts for GTK < 3.10 and GLib < 2.38. [endlessm/eos-sdk#420]
* Added a default size to our windowPatrick Ward2013-10-31
| | | | | | | | | | Webkit apps like translation and english have no natural size, so when unmaximized they would size tiny. Adding a default size fixes this. It doesn't affect the minimum size so windows could still be downsized (if we had a resize corner) just controls the size they first appear at when not fullscreen. [endlessm/eos-sdk#376]
* Read personality from keyfile instead of text fileJohn Hiesey2013-10-24
| | | | [endlessm/eos-shell#1269]
* 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]
* Remove redundant declaration now that get_selected() is publicCosimo Cecchi2013-10-11
| | | | [endlessm/eos-sdk#353]
* flexygrid: Emit ::cell-selected on leave-notifyEmmanuele Bassi2013-10-11
| | | | | | | | We need to emit the ::cell-selected signal also in case we are unsetting the currently selected cell without setting a new one - e.g. when the pointer leaves the FlexyGrid widget. [endlessm/eos-sdk#353]
* Mark FlexyGridCell.get_selected() as publicEmmanuele Bassi2013-10-10
| | | | It already is a public symbol, it's not not declared in the header file.
* Fix the buildCosimo Cecchi2013-10-07
| | | | Add a missing include that was breaking the build.
* Fixes after code reviewEmmanuele Bassi2013-10-07
| | | | [endlessm/eos-sdk#326]
* 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]
* Remove unused argumentsEmmanuele Bassi2013-09-28
| | | | | Also, do not cast from the macro otherwise, once we drop the macro, we'll have to modify the call site to do the cast anyway.
* Use gtk_widget_get_toplevel()Emmanuele Bassi2013-09-27
|
* Let GTK emit the GtkWidget::delete-eventEmmanuele Bassi2013-09-27
| | | | | Emitting the ::delete-event signal ourselves is not supported, and will inevitably lead to undefined behaviour.
* API for per-user application config directoryPhilip Chimento2013-09-26
| | | | | | | | | | During application startup, ensure that the config directory ($HOME/.config/com.example.application-id) exists and is writable. Add API for accessing the directory: - eos_application_get_config_dir() - EosApplication:config-dir [endlessm/eos-sdk#303]
* Fix doc testsPhilip Chimento2013-09-23
| | | | | | Add missing EosFlexyGrid documentation and fix a couple of cosmetic issues. [endlessm/eos-sdk#313]
* 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]
* 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]
* Document and clean up EosFlexyGridEmmanuele Bassi2013-09-19
| | | | | | Properties, accessors, and documentation were missing. [endlessm/eos-sdk#1015]