Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
either libVLC 2.0.5 changed the semantics of their callbacks (they can be
invoked from the main thread, i.e. from the VLC method resulting in the event);
or GTK+ 2.24 silently changed the type of the GDK mutex from recursive to simple.
in either case to avoid GDK mutex deadlocks we must check whether the VLC
callback's thread already holds the lock or owns the main context
|
|
|
|
completely, otherwise throw error
* arbitrary limit (1024 bytes) per line - reading lines of arbritrary length is difficult and will be seldomly used
* introduced is_newline() helper function
|
|
* also made gtk_experiment_transcript_free_formats() an internal function
* declare static functions in gtk-experiment-transcript-formats.c
|
|
default interactive format attributes may be NULL (i.e. don't change these attributes) but pango/gdk free functions cannot handle NULL pointers gracefully
* only results in assertions now since windows are explicitly destroyed (the info window was not destroyed at all previously)
|
|
removes some constraints on resizing the info window containing the widget
(however other widgets have minimum sizes preventing the transcript area being squashed together)
|
|
also required stripping trailing newlines when processing "format" files since "format" files only worked because the newline was part of the "format" expression and ignored
|
|
transient parent
* ensures that the fullscreen window will be on the correct screen (for some reason it was already displayed on the correct screen)
* ensures that the toplevel window (i.e. the player window) cannot be put above the fullscreen window (this was already ensured by keeping the fullscreen window above all other windows)
|
|
|
|
|
|
this causes issues on Linux and is not necessarily required
|
|
|
|
a workaround was necessary: after playing a movie, poll every 100ms for
the availability of the event window created by libVLC (in another
thread!) and disable it when found (stopping the g_timeout)
|
|
correctly initialize signal array
|
|
|
|
|
|
|
|
- fill GtkTreeStore with data out of *.xml file
- respond to double click and coursor change
|
|
|
|
|
|
callbacks
* has the advantage that it will be easier to port libexperiment-reader to other languages (by using its closures and marshallers)
|
|
|
|
* also clarified store data types
* additional comment for Jens to understand how to register signal handlers
|
|
|
|
when an entry is single-clicked
* connected with transcript widgets: the selected section becomes the transcripts backdrop area
* updated documentation for callbacks in class structure
|
|
when setting signal handlers in a class structure (e.g. when deriving the class), there is no user_data argument
|
|
a backdrop area may be set by time points - it's background is highlighted 16% darker or lighter than the configured background color
* configurable only by AC_DEFINE in configure.ac for the time being
|
|
|
|
* introduced widget flag attribute
|
|
code has been refactored allowing for greater flexibility in rendering
|
|
the pixel distance between contributions must be independant of the current time to avoid flickering in the text rendering when time progresses
|
|
necessary because they are visible when contribution texts are right-aligned
* declare some static functions
|
|
it is unknown how large that area has to be in order for every contribution to fit in
|
|
* new functions
* some xmlChar * casting refactoring
|
|
* minor whitespace changes
|
|
|
|
TRUE means successful, FALSE unsuccessful
|
|
to display meaningful error messages
* also cleaned up return value confusion: in GLib world, TRUE means successful
|
|
|
|
|
|
missing)
|
|
* via pop up menu and config file (symbolic value)
* use image menu items in transcript popup
* renamed "Choose Foreground Color..." to "Choose Text Color..."
* simplify transcript related config setters/getters
|
|
* widget configuration in size allocation depends on widget being realized
* widget realization depends on the widget being size allocated
* at least on Windows, the size is not reallocated after widget
realization (except of course it is actually resized)
* so a _reconfigure() function has been introduced (does the same as configure-event handler would do)
|
|
handling of widget state changes
the widget starts in insensitive state so it is not drawn with the configured properties (which are for the NORMAL state).
when the widget state changes it is now immediately redrawn
|
|
|
|
|
|
keyfile or dialogs)
* so if they haven't been changed, the widget defaults are active (may depend on gtk theme and RC files)
* currently it is not possible reset changed fonts/colors to the widget defaults (via the UI, the keyfile may be edited manually)
|
|
save them
* pango attributes cannot be "cached" anymore and must be recreated every time the interactive format is configured
|
|
they must be set after loading a keyfile since when setting them before they are overwritten when a keyfile can be loaded even if they
don't exist in the keyfile
|