summaryrefslogtreecommitdiff
path: root/endless
Commit message (Collapse)AuthorAge
* 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]
* 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 #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.
* | 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 #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]
* | | Merge pull request #281 from endlessm/issues/178P. F. Chimento2013-08-30
|\ \ \ | | | | | | | | #178 Drag EosWindows by topbar
| * | | window: don't call gtk_widget_show() on the top bar againCosimo Cecchi2013-08-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This breaks window sizing for some reason. It shouldn't be needed anyway, so just remove it. [endlessm/eos-sdk#178]
| * | | topbar: implement window draggingCosimo Cecchi2013-08-29
| |/ / | | | | | | | | | | | | | | | Similar to how GtkToolbar does it. [endlessm/eos-sdk#178]
* | | Also set the GDK program classPhilip Chimento2013-08-30
| | | | | | | | | | | | | | | | | | | | | | | | When setting the application ID, sometimes the GDK program class is not set, so set it explicitly to remove possiblities for having it out of sync. [endlessm/eos-sdk#285]
* | | Set prgname rather than wmclass directlyRoddy Shuler2013-08-30
|/ / | | | | | | | | | | | | | | | | Changes were made by Cosimo. Per Cosimo, applications should not call gtk_window_set_wmclass directly. Calls to g_set_prgname will indirectly set the wmclass. [endlessm/eos-shell#853]
* | WM_CLASS is application's unique IDPhilip Chimento2013-08-28
| | | | | | | | | | | | | | | | We set the window manager's WM_CLASS hint to the application's unique ID, e.g. com.endlessm.typing, in order to prevent the WM_CLASS from being set to "Gjs". [endlessm/eos-shell#853]
* | Create private method for setting 'EosWindow:application'Philip Chimento2013-08-28
| | | | | | | | | | | | | | In order to avoid lots of code in the switch statement in eos_window_set_property() [endlessm/eos-shell#853]
* | Fixed the cairo line drawing locationMatt Watson2013-08-01
| | | | | | | | | | | | Tiny changes so each line draws over an exact row of pixels on the screen, and not between rows [endlessm/eos-sdk#197]
* | Add top bar edge finishingPhilip Chimento2013-08-01
| | | | | | | | | | | | | | | | | | | | | | Add a highlight and shadow, on the bottom of the top bar; two pixels go over the top bar, and two pixels go over the app content. Added a smoke test with a button that turns red on press, in order to test that the two pixels on top of the app content do not catch input events. [endlessm/eos-sdk#197]
* | Change top bar colors and icons to match specsPhilip Chimento2013-08-01
| | | | | | | | | | | | | | | | | | Changed the GtkBox to a GtkGrid so that the margin properties are properly respected, and removed the background color overrides (they are not necessary anymore because of our CSS theme getting installed alongside the SDK.) [endlessm/eos-sdk#185]
* | Internal frame in eos window always has no borderMatt Watson2013-07-31
| | | | | | | | | | | | | | | | | | Before, if no background_uri property was set per page, the internal frame would have a one pixel border. We needed to set an initial css provider that styled our internal frames as borderless [endlessm/eos-sdk#189] [endlessm/eos-sdk#189]
* | Merge pull request #170 from endlessm/issues/146P. F. Chimento2013-07-24
|\ \ | | | | | | #146 Layout of `EosActionMenu`
| * | EosActionMenu places cancel, close and delete actions at the bottom. ↵Felipe Erias Morandeira2013-07-23
| | | | | | | | | | | | | | | | | | Internally, it uses a GtkOverlay to correctly position the two sets of actions. [endlessm/eos-sdk#146]
| * | eos_action_menu_remove_action() also removes the corresponding EosActionButtonFelipe Erias Morandeira2013-07-22
| | | | | | | | | | | | [endlessm/eos-sdk#146]
| * | EosActionMenu extends GtkFrameFelipe Erias Morandeira2013-07-22
| | | | | | | | | | | | [endlessm/eos-sdk#146]
* | | Code styleFelipe Erias Morandeira2013-07-23
| | | | | | | | | | | | [endlessm/eos-sdk#108]
* | | Take "label-position" into account when drawing EosActionButtonFelipe Erias Morandeira2013-07-22
| | | | | | | | | | | | [endlessm/eos-sdk#108]
* | | Add "label-position" property to EosActionButtonFelipe Erias Morandeira2013-07-22
|/ / | | | | | | [endlessm/eos-sdk#108]