summaryrefslogtreecommitdiff
path: root/perf
Commit message (Collapse)AuthorAgeFilesLines
* perf: DeleteBenjamin Otte2013-07-0811-1358/+0
| | | | | The perf/ directory was unused and the code was outdated. So it's easier to delete than trying to modernize the code.
* Fix a couple of deprecation warnings related to stock itemsWilliam Jon McCann2013-06-301-27/+27
|
* build: remove --disable-rebuildsBenjamin Otte2013-05-091-2/+2
| | | | | It's unused and was only useful when perl wasn't installed. But perl is a dependency of glib these days, so it's useless.
* Use generic marshalerMatthias Clasen2011-07-223-23/+2
| | | | | If only to keep people from refiling the same issue over and over again...
* Use AM_CPPFLAGS instead the obsolete INCLUDESJavier Jardón2011-07-061-1/+1
|
* perf: Use different marshaller prefix than in gtkKalev Lember2011-04-292-4/+4
| | | | | | | Avoids multiple symbol definitions in gtk/gtkmarshalers.c and perf/marshalers.c when both objects are linked in. https://bugzilla.gnome.org/show_bug.cgi?id=648926
* Bump the version to 3.0.0Matthias Clasen2011-02-101-3/+3
| | | | | | | At the same time, change the library sonames for -3.0 to just -3. This is necessary since the 2.99 releases installed libraries like libgtk-3.0.so.0.9903.0, and we want to prevent the library version number from jumping back. So 3.0 will have libgtk-3.so.0.0.0.
* Fix DSO link issuesRobert Ancell2010-12-221-0/+1
|
* Merge libgdk and libgtkMatthias Clasen2010-12-211-6/+4
| | | | | | | | | | | This commit does a number of things: - remove some dead wchar configury from configure.ac and gdkconfig.h - repurpose gdkconfig.h as header that contains GDK_WINDOWING_foo macros for each included backend, include it in gdk.h and install it in $includedir instead of below $libdir - drop the backend from the library names - build libgdk-3.0.la as a convenience lib and include it in libgtk-3.0.la It does not yet enable building multiple backends at the same time.
* gtk: remove "gboolean homogeneous" from gtk_box_new()Michael Natterer2010-11-021-1/+1
| | | | Because it's FALSE in virtually all use cases.
* Use gtk_box_new() instead gtk_[v|h]box_new()Javier Jardón2010-10-301-1/+1
|
* perf: Connect to draw signalBenjamin Otte2010-09-261-8/+8
|
* perf: Use a temp window instead of a normal oneBenjamin Otte2010-09-261-3/+2
| | | | This way, we don't need hacks to not set the background.
* perf/gtkwidgetprofiler.c: Use accessor functions to access GtkWidgetJavier Jardón2010-08-221-4/+8
|
* Make GTK+ use an external gdk-pixbufMatthias Clasen2010-06-261-2/+0
|
* Make 3.0 parallel-installable to 2.xMatthias Clasen2010-05-081-1/+1
| | | | | | | | | | | | | | | In particular, rename - libraries to lib*-3.0.so - pc files to *-3.0.pc - include paths to /usr/include/gtk-3.0/* - module paths to /usr/lib/gtk-3.0/* - rc files names to gtk-3.0/gtkrc - commandline utilities to *-3.0 - adjust documentation Also change the install location for unix-print headers to /usr/include/gtk-3.0/unix-print/gtk.
* Deprecate widget flag: GTK_WIDGET_MAPPEDJavier Jardón2010-03-031-1/+1
| | | | | | Use gtk_widget_get_mapped() instead. https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Deprecate widget flag: GTK_WIDGET_VISIBLEJavier Jardón2010-03-011-1/+1
| | | | | | Use gtk_widget_get_visible() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Deprecate flag macros for toplevel, state, no window and composite childChristian Dywan2010-01-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Deprecate widget flag macros GTK_WIDGET_STATE, GTK_WIDGET_SAVED_STATE, GTK_WIDGET_FLAGS, GTK_WIDGET_TOPLEVEL, GTK_WIDGET_NO_WINDOW and GTK_WIDGET_COMPOSITE_CHILD. Also deprecate the type macros GTK_WIDGET_TYPE, GTK_OBJECT_TYPE_NAME and GTK_OBJECT_TYPE which have become redundant. Instances of GTK_WIDGET_TOPLEVEL are replaced with gtk_widget_is_toplevel, GTK_WIDGET_TYPE is replaced with G_OBJECT_TYPE, GTK_WIDGET_COMPOSITE_CHILD is replaced with use of the "composite-child" property and uses of GTK_WIDGET_NO_WINDOW are adjusted to use gtk_widget_get_has_window. Uses of GTK_WIDGET_SAVED_STATE and GTK_WIDGET_FLAGS inside GtkWidget are changed to direct flag usage. Documentation is updated to refer to gtk_widget_set_has_window and gtk_widget_get_has_window. Gail and tests are updated as well. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Fix up linker flagsBenjamin Otte2009-12-191-1/+2
| | | | | | | This adds LDFLAGS everywhere where they were previously pulled in via other libraries. This is however unsupported by modern linkers. You can trigger these failures by building with gold (or, I'm told, with very new ld).
* Add git.mk to generate .gitignore filesBehdad Esfahbod2009-05-041-0/+2
| | | | Add four new doc templates that were not in repository.
* define -DGDK_PIXBUF_DISABLE_DEPRECATED in the global CFLAGS.Michael Natterer2008-08-121-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-12 Michael Natterer <mitch@imendio.com> * configure.in: define -DGDK_PIXBUF_DISABLE_DEPRECATED in the global CFLAGS. * gdk-pixbuf/Makefile.am: make the contents gdk-pixbuf-marshal.h visible for GDK_PIXBUF_COMPILATION. * contrib/gdk-pixbuf-xlib/Makefile.am * demos/Makefile.am * demos/gtk-demo/Makefile.am * gdk-pixbuf/pixops/Makefile.am * gdk/Makefile.am * gdk/x11/Makefile.am * gtk/Makefile.am * gtk/tests/Makefile.am * gtk/theme-bits/Makefile.am * modules/engines/ms-windows/Makefile.am * modules/engines/pixbuf/Makefile.am * modules/input/Makefile.am * perf/Makefile.am * tests/Makefile.am: remove -DDGDK_PIXBUF_DISABLE_DEPRECATED here. svn path=/trunk/; revision=21096
* do not hard code the prefix of the enum, use @ENUMPREFIX@ instead (youKristian Rietveld2008-06-231-1/+1
| | | | | | | | | | | | | 2008-06-23 Kristian Rietveld <kris@imendio.com> * gdk/gdkenumtypes.h.template: * gdk-pixbuf/gdk-pixbuf-enum-types.h.template: * gtk/gtktypebuiltins.h.template: * perf/typebuiltins.h.template: do not hard code the prefix of the enum, use @ENUMPREFIX@ instead (you need an up to date glib for this). svn path=/trunk/; revision=20674
* perf/widgets.h tests/print-editor.c tests/prop-editor.hMichael Natterer2008-05-231-1/+1
| | | | | | | | | | | | | | | | | | | 2008-05-23 Michael Natterer <mitch@gimp.org> * perf/widgets.h * tests/print-editor.c * tests/prop-editor.h * tests/testmountoperation.c * tests/testmultidisplay.c * tests/testnouiprint.c * tests/testprint.c * tests/testprintfileoperation.h * tests/testtreesort.c * tests/textbuffertest.c: include <gtk/gtk.h> instead of single files. Remove some redundant includes. svn path=/trunk/; revision=20128
* Remove all .cvsignore files.Michael Natterer2007-12-131-9/+0
| | | | svn path=/trunk/; revision=19169
* Use templates for glib-mkenums calls instead of complicated commandlinesMatthias Clasen2007-11-263-14/+65
| | | | | | | | | | | | | | | | | | | | 2007-11-26 Matthias Clasen <mclasen@redhat.com> Use templates for glib-mkenums calls instead of complicated commandlines in Makefiles. (#429910) * gdk-pixbuf/Makefile.am: * gdk/Makefile.am: * gtk/Makefile.am: * perf/Makefile.am: Use templates for glib-mkenums * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template: * gdk/gdkenumtypes.[ch].template: * gtk/gtktypebuiltings.[ch].template: * perf/typebuiltins.[ch].template: The templates svn path=/trunk/; revision=19053
* call g_test_init() from gtk_test_init().15:39:40 Tim Janik2007-11-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-11-22 15:39:40 Tim Janik <timj@imendio.com> * gtk/gtktestutils.c: call g_test_init() from gtk_test_init(). * gtk/tests/testing.c: use g_test_add_func() to register tests and use g_test_run() to run the tests to integrate with the testing framework. * gtk/tests/Makefile.am: removed exemplary testing rules. * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am: * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am: * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am: * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am: * docs/reference/Makefile.am, docs/tools/Makefile.am: * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am: * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am: * demos/gtk-demo/Makefile.am, demos/Makefile.am: * modules/input/Makefile.am, modules/printbackends/file/Makefile.am: * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am: * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am: * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am: * modules/engines/ms-windows/Theme/Makefile.am: * modules/engines/ms-windows/Makefile.am: * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am: * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am: * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am: * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am: * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am: * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am: include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments. svn path=/trunk/; revision=19033
* Replace a lot of idle and timeout calls by the new gdk_threads api.Matthias Clasen2006-12-221-1/+1
| | | | | | | 2006-12-22 Matthias Clasen <mclasen@redhat.com> * *.c: Replace a lot of idle and timeout calls by the new gdk_threads api.
* CleanupsMatthias Clasen2006-10-081-1/+1
|
* Fix https://bugzilla.novell.com/show_bug.cgi?id=184875 - make the locationFederico Mena Quintero2006-07-181-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-07-18 Federico Mena Quintero <federico@novell.com> Fix https://bugzilla.novell.com/show_bug.cgi?id=184875 - make the location entry in Save mode preserve the stuff from set_filename(); it was overwriting it with $cwd. This is the same fix for http://bugzilla.gnome.org/show_bug.cgi?id=347066 * tests/autotestfilechooser.c: (test_black_box): Added black-box test for set_filename() and set_current_name(). * gtk/gtkfilechooser.c (gtk_file_chooser_get_type): Cast to GClassInitFunc in the call to g_type_register_static_simple(), to avoid a compiler warning. * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): Added a browse_files_last_selected_name field. We'll copy the logic from gtkfilesel.c to see when to clear the location entry. (struct _GtkFileChooserDefault): Removed the processing_pending_selections field. * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize): Free impl->browse_files_last_selected_name. (pending_select_paths_process): Don't use impl->processing_pending_selections. (update_chooser_entry): Keep track of the name that was last selected in the file list. We use this to know when to clear the location entry. The logic is similar to that of gtkfilesel.c:gtk_file_selection_file_changed(). This also lets us get rid of the processing_pending_selections flag. (update_chooser_entry): Clear the entry if we didn't have a selection before. (location_switch_to_filename_entry): Do not set $cwd as the contents of the location entry here... (location_popup_handler): ... but do it here instead, only as the result of the user asking to turn on the location entry. (gtk_file_chooser_default_get_paths): If the location entry is empty, do the fallback of seeing if it is sensible to say that $cwd is the selected path. (gtk_file_chooser_default_update_current_folder): Don't set the text of the location entry; this is no longer needed with the fixes above. (shortcuts_activate_iter): Clear the location entry when activating a shortcut if we are not in SAVE mode. This keeps the contents of the location entry consistent even when switching folders via the shortcuts.
* Update the README with some background information - FedericoFederico Mena Quintero2006-06-141-1/+63
|
* New function; it lets us time the expose sequence of a widget.Federico Mena Quintero2006-06-143-16/+113
| | | | | | | | | | | | | 2006-06-14 Federico Mena Quintero <federico@novell.com> * perf/gtkwidgetprofiler.c (gtk_widget_profiler_profile_expose): New function; it lets us time the expose sequence of a widget. (create_widget): New helper function. (map_widget): New helper function. (profile_boot): Use create_widget() instead of doing it by hand. (profile_map_expose): Use map_widget() instead of doing it by hand. * perf/main.c (main): Call gtk_widget_profiler_profile_expose() as well.
* If major.minor of required and available glib versions are the same, addBehdad Esfahbod2006-01-291-1/+0
| | | | | | | | | 2006-01-28 Behdad Esfahbod <behdad@gnome.org> * configure.in: If major.minor of required and available glib versions are the same, add -DG_DISABLE_DEPRECATED to GLIB_CFLAGS. (bug #328617) * */Makefile.am: Remove hardcoded -DG_DISABLE_DEPRECATED.
* const correctness fixesMatthias Clasen2005-11-171-1/+1
| | | | found by Arjan van de Ven and gcc.
* use $(GLIB_MKENUMS) instead of glib-mkenums. (#318582, Damien Carbery)Matthias Clasen2005-10-261-2/+2
| | | | | | | 2005-10-26 Matthias Clasen <mclasen@redhat.com> * */Makefile.am: use $(GLIB_MKENUMS) instead of glib-mkenums. (#318582, Damien Carbery)
* 2.7.5GTK_2_7_5Matthias Clasen2005-08-031-0/+7
|
* Shut up CVSManish Singh2005-08-011-0/+6
|
* Update for the new API of the profiler.Federico Mena Quintero2005-07-2913-423/+787
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-28 Federico Mena Quintero <federico@ximian.com> * perf/README: Update for the new API of the profiler. * perf/gtkwidgetprofiler.[ch]: New files with a widget profiler object. This is the old content of timers.[ch] turned into a nice object, with signals for creation and reporting. The profiler needs to maintain some state when reusing the widget, so it's useful to turn it into a real object. Break down timing show_all into GTK_WIDGET_PROFILER_REPORT_MAP and GTK_WIDGET_PROFILER_REPORT_EXPOSE. * perf/main.c: Refactor to use GtkWidgetProfiler. * perf/appwindow.c (content_area_new): Make this just create a notebook, instead of a complex arrangement of panes. * perf/widgets.h: New header file for all the "create a widget" utility functions. * perf/treeview.c: New file. Moved the tree view part from appwindow.c over to here; GtkTreeView really needs its own tests. (tree_view_new): Set the shadow type to IN. * perf/textview.c: Likewise moved over from appwindow.c, but for GtkTextView. (text_view_new): Set the shadow type to IN. * perf/Makefile.am (testperf_SOURCES): Add the new source files; remove appwindow.h and timers.[ch]. * perf/timers.[ch]: Removed. * perf/appwindow.h: Removed.
* Shut up CVSManish Singh2005-07-271-0/+3
|
* New directory with the start of a framework for testing performance inFederico Mena Quintero2005-07-267-0/+796
2005-07-26 Federico Mena Quintero <federico@ximian.com> * perf/: New directory with the start of a framework for testing performance in GTK+. * Makefile.am (SRC_SUBDIRS): Added the perf directory. * configure.in (AC_OUTPUT): Generate perf/Makefile.