| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
| |
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]
|
|
|
|
|
| |
Also update the topbar icon depending on window state.
[endlessm/eos-sdk#477]
|
|\
| |
| | |
Added a maximize button to eos-topbar
|
| |
| |
| |
| |
| |
| | |
Spacing fixes
[endlessm/eos-sdk#477]
|
| |
| |
| |
| |
| |
| | |
Which toggles the application between a maximized and unmaximized
state. All applications will still start maximized by default.
[endlessm/eos-sdk#477]
|
| |
| |
| |
| |
| |
| | |
Missing type cast in eoswindow.c.
[endlessm/eos-sdk#495]
|
|/
|
|
|
|
| |
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]
|
|
|
|
|
|
| |
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]
|
|
|
|
|
|
| |
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]
|
|
|
|
|
|
| |
Fixed a number of gchar memory leaks. Also added eos_window_finalize to properly unreference GtkStyleProvider objects.
[endlessm/eos-sdk#466]
|
|
|
|
|
|
|
|
|
|
| |
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]
|
|
|
|
| |
[endlessm/eos-sdk#191]
|
|
|
|
|
|
|
|
| |
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]
|
|
|
|
|
|
| |
test/smoke-tests/large-content.js shows the warnings in action
[endlessm/eos-sdk#191]
|
|
|
|
|
| |
Simpler and has a nicer memory layout. Needed glib 2.38 to do this.
[endlessm/eos-sdk#421]
|
|\
| |
| | |
Issues/376
|
| |
| |
| |
| |
| |
| |
| | |
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]
|
|\ \
| |/
|/| |
#417 Removed PStack from sdk
|
| |
| |
| |
| |
| |
| |
| | |
We used this for our page manager, now we can just use GtkStack
with Gtk 3.10
[endlessm/eos-sdk#417]
|
|/
|
|
|
|
|
| |
This removes all conditionally compiled parts for GTK < 3.10 and
GLib < 2.38.
[endlessm/eos-sdk#420]
|
|
|
|
|
|
|
|
|
|
| |
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]
|
|
|
|
| |
[endlessm/eos-shell#1269]
|
|
|
|
|
|
|
| |
The personality file is moving to /etc/EndlessOS/personality.txt
for OSTree, since /usr/share is read-only.
[endlessm/eos-shell#1157]
|
|
|
|
| |
[endlessm/eos-sdk#353]
|
|
|
|
|
|
|
|
| |
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]
|
|
|
|
| |
It already is a public symbol, it's not not declared in the header file.
|
|
|
|
| |
Add a missing include that was breaking the build.
|
|
|
|
| |
[endlessm/eos-sdk#326]
|
|
|
|
|
|
|
|
|
| |
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]
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
Emitting the ::delete-event signal ourselves is not supported, and will
inevitably lead to undefined behaviour.
|
|
|
|
|
|
|
|
|
|
| |
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]
|
|
|
|
|
|
| |
Add missing EosFlexyGrid documentation and fix a couple of cosmetic issues.
[endlessm/eos-sdk#313]
|
|
|
|
| |
[endlessm/eos-sdk#1015]
|
|
|
|
| |
[endlessm/eos-sdk#1015]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]
|
|
|
|
|
|
| |
The correct scope type is 'notified'.
[endlessm/eos-sdk#1015]
|
|
|
|
| |
[endlessm/eos-sdk#1015]
|
|
|
|
|
|
| |
Properties, accessors, and documentation were missing.
[endlessm/eos-sdk#1015]
|
|
|
|
|
|
|
| |
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]
|
|
|
|
| |
Spotted by Watson's spidey senses.
|
|\
| |
| | |
Flexy grid for the app store
|
| |
| |
| |
| | |
We were missing a return here.
|
| |
| |
| |
| | |
In addition to a background.
|
| |
| |
| |
| |
| | |
Previously, we were missing a cell while switching to a new row in the
preferred height request.
|
| |
| |
| |
| |
| | |
Make sure we never have a case where the minimum size request for the
EosFlexyGrid can exceed its natural.
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| | |
This fixes the doc tests, unless one is running them from 'make
distcheck'.
[endlessm/eos-sdk#295]
|