| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
| |
Adjust container size in create and paste command.
Properly fix issue #470 "Widgets of type need placeholders to add children"
|
|
|
|
| |
Check deprecated-since version for properties and signals
|
|
|
|
|
|
| |
Add resources URL in file properties support to be on par with GtkBuilder
Fix issue #367 "Glade removes double/triple slashes from URLs"
|
|
|
|
| |
Also fix -Wcast-function-type warnings
|
|
|
|
|
| |
Port to use headerbar, stack and stach switcher.
Add warnings textview for deprecations warnigns.
|
|
|
|
|
|
|
| |
Make sure objects retrieved with gtk_tree_model_get() are unref using g_autoptr
This fixes all missing GladeWidget leaks so now we can remove toplevel
destroy workaround and toplevels should not be leaked anymore after closing a
project.
|
|
|
|
|
|
|
|
|
| |
GladeAdaptorChooserWidget: use g_object_add_weak_pointer() instead of
g_object_weak_ref() and unset project on dispose.
GladeDesignLayout, GladeDesignView: use g_object_add_weak_pointer()
GladeEditable: fix project signal disconnect issue
|
|
|
|
|
|
|
| |
Call gtk_widget_destroy() on GtkWindow derived objects to
avoid gtk keeping an internal reference
Fix issue #363 "Toplevel windows are leaked when closing a project"
|
|
|
|
| |
Rename GSC_VERSION_CHECK to GLADE_SIGNALS_DEF_VERSION_CHECK
|
|
|
|
| |
Rename all macros starting with GWA to GLADE_WIDGET_ADAPTOR
|
|
|
|
|
|
|
| |
Show user an error dialog if he tries to open an old
libglade file.
https://gitlab.gnome.org/GNOME/glade/-/issues/389
|
| |
|
| |
|
|
|
|
| |
friendly by registering boxed types
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Most of them are unfreed string and missed GList elements.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If you try to load a non-XML file, such as Glade's own README, the
parser error contains something like this:
Start tag expected, '<' not found
glade_util_ui_message() treats the supplied message as markup; so the
literal < in the error message trips it up:
Gtk-WARNING **: Failed to set text 'Error parsing file '/home/wjt/src/gnome/glade/README' on line 1
Start tag expected, '<' not found
' from markup due to error parsing markup: Error on line 2 char 30: Odd character 'f', expected a '=' after attribute name 'not' of element '''
To fix this, escape the message before passing it to
glade_util_ui_message().
|
|
|
|
|
|
|
| |
Add add, remove, change and activate handler signals.
These signals can be used to easily track signal changes in a project
instead of connecting callbacks to every widget.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Added metadata needed to know in which Gtk version a class is deprecated
|
| |
|
|
|
|
|
|
|
| |
Use bold text to highlight the deprecated property & class names
to make the deprecation messages easier to scan over.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Two of the common deprecation messages are missing a newline,
causing the message display to be 1000's of pixels wide
The scrolled window displaying the messages is also not set
to expand as the window grows, leaving only three lines of
text visible by default. These bugs make the verification
message display almost unusable.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
|
| |
|
|
|
|
| |
Now does not require the gwidget (actually did not for a long time).
|
|
|
|
|
| |
Ensure that required_lib is NULL at the start of each iteration through
the loop.
|
| |
|
| |
|
|
|
|
|
| |
This will warn a user if he is trying to create a template class that targets
a gtk version that does not support it.
|
|
|
|
| |
Fixed function prototype identation and spacing.
|
|
|
|
|
|
| |
of directed graph used to sort objects by topological order.
Fixes bug 727992 "Editing UI and saving does not remove deleted Combo with Entry"
|
|
|
|
|
|
|
|
|
|
| |
glade registered GtkOffscreenWindow as a new type derived from GtkWindow to use in the run time which prevents Anjuta or any of its pluggins to use the real GtkOffscreenWindow widget.
gladeui/glade-widget-adaptor.c: use glade_util_get_type_from_name() in generate_type()
to avoid stepping over types that are simply not instantiated yet like GtkOffscreenWindow
gladeui/glade-project.c: Use Adaptor name instead of runtime instance name to avoid
showing GladeFake* types used by the backend for virtual types.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In two cases, gladeui was doing the equivalent of
printf (var);
instead of the correct (and safe):
printf ("%s", var);
This was caught by clang's pedantic treatment of non-literal format
strings forcing me to add G_GNUC_PRINTF attributes to functions
operating on format strings (which in turn caught the problem). Those
changes are also included here.
https://bugzilla.gnome.org/show_bug.cgi?id=720883
|
|
|
|
|
|
|
|
|
|
| |
Now it is posible to change license type and glade will automatically
generate it for you if you supply copyright and authors
GladeProject: save license data as comments.
Make sure comments do not contain "--"
glade-utils.c: added _glade_util_strreplace() private function.
|
|
|
|
|
|
|
|
| |
GLADE_GTKBUILDER_HAS_VERSIONING() macro needs gtk version numbers,
not the required module we want to save.
Implemented glade_project_required_libs() using _glade_tsort()
so that requires tags are saved in dependency order.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of using glade_widget_depends() which implied N^2 invocations/iterations
(where N is the numbers of objects in the project) we now calcualte
dependencies based on property references.
This way we only have to iterace over every object once to check the list
of properties that constitute a reference to them.
In a real world example, sorting objects in geany.glade decreased from 120ms to just 1ms
plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk-widget.c:
Removed unused glade_gtk_widget_depends()
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This hopefully will set us free of treemodel bugs.
For example, dnd was almost unusable with current gtk master without this patch.
It was getting lots of iter warnings and eventually crashing if you wanted to drag
one child from one toplevel to another back and foward.
Besides, now there is less complex code to maintaing (about 300 lines) and
should be faster in general since GtkTreeModel implements the data tree
with GLists that do not regenerate each time you want to iterate over the model
like we had to do because getting children from objects creates a new list.
|
|
|
|
| |
GLADE_GTKBUILDER_HAS_VERSIONING check was broken for gtk >= 3.0
|