aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2013-06-10gtk-vlc-player widget: fixed VLC callback processing (dead locks)Robin Haberkorn1-6/+38
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
2013-06-09commented out unused variables to avoid compiler warningsRobin Haberkorn1-2/+2
2012-08-06when parsing a format file, check whether each line could be read ↵Robin Haberkorn3-8/+29
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
2012-08-06resolved pattern-length restriction bug by calculating the pattern+captures sizeRobin Haberkorn2-4/+25
* also made gtk_experiment_transcript_free_formats() an internal function * declare static functions in gtk-experiment-transcript-formats.c
2012-08-01some NULL pointer checks in transcript widgetRobin Haberkorn1-3/+6
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)
2012-08-01remove transcript widget size requestRobin Haberkorn2-14/+0
removes some constraints on resizing the info window containing the widget (however other widgets have minimum sizes preventing the transcript area being squashed together)
2012-06-21fixed handling of regexp patterns at the end of "format" expressionsRobin Haberkorn1-26/+31
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
2012-06-21gtk-vlc-player: set the widget's toplevel window as the fullscreen windows ↵Robin Haberkorn1-7/+25
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)
2012-06-21simplify expression using MIN()Robin Haberkorn1-1/+1
2012-06-20keep fullscreen window above all othersRobin Haberkorn1-0/+2
2012-06-20don't set vlc-player's fullscreen window as not-resizableRobin Haberkorn1-2/+0
this causes issues on Linux and is not necessarily required
2012-06-20some gtk-vlc-player fullscreen window propertiesRobin Haberkorn1-0/+12
2012-06-20fixed receiving click events on the gtk-player-widget on WindowsRobin Haberkorn1-14/+81
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)
2012-06-20minor fix in experiment navigator widgetRobin Haberkorn1-1/+1
correctly initialize signal array
2012-06-19Expanding Name column editedJens Lammert1-0/+1
2012-06-19Documentation for signal callbacks editedJens Lammert1-3/+20
2012-06-19Imlement API function gtk-experiment_navigator_load_filename()Jens Lammert1-4/+10
2012-06-19Funtionality of navigator widget implementedJens Lammert1-36/+182
- fill GtkTreeStore with data out of *.xml file - respond to double click and coursor change
2012-06-19emulate VLC_PLUGIN_PATH support for libvlc < 2.0.0Robin Haberkorn1-1/+31
2012-06-17use more glib macros to improve portabilityRobin Haberkorn5-22/+24
2012-06-17use closure objects internally in libexperiment-reader instead of plain C ↵Robin Haberkorn4-14/+84
callbacks * has the advantage that it will be easier to port libexperiment-reader to other languages (by using its closures and marshallers)
2012-06-17extended libexperiment-reader API: pass topic end times to callbackRobin Haberkorn3-5/+38
2012-06-15new end-time column in experiment navigator widgetRobin Haberkorn1-12/+41
* also clarified store data types * additional comment for Jens to understand how to register signal handlers
2012-06-14allow enabling/disabling the transcript backdrop area (simplifies main.c)Robin Haberkorn3-11/+59
2012-06-14new navigator signal (for Jens to use): section-selected should be emitted ↵Robin Haberkorn3-6/+59
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
2012-06-14fixed documentationRobin Haberkorn1-6/+4
when setting signal handlers in a class structure (e.g. when deriving the class), there is no user_data argument
2012-06-14preliminary transcript backdrop area implementationRobin Haberkorn3-4/+103
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
2012-06-13use Glib format specifiers instead of the standard libc onesRobin Haberkorn1-2/+1
2012-06-13transcript widget reverse mode is saved in config fileRobin Haberkorn3-11/+59
* introduced widget flag attribute
2012-06-13implemented topdown (reverse) rendering of contributionsRobin Haberkorn3-50/+141
code has been refactored allowing for greater flexibility in rendering
2012-06-12resolve numeric instability when calculating contribution pixel positionsRobin Haberkorn1-2/+3
the pixel distance between contributions must be independant of the current time to avoid flickering in the text rendering when time progresses
2012-06-12remove trailing whitespaces from contribution textsRobin Haberkorn1-4/+9
necessary because they are visible when contribution texts are right-aligned * declare some static functions
2012-06-12don't render into invisible area of the text layerRobin Haberkorn3-14/+22
it is unknown how large that area has to be in order for every contribution to fit in
2012-06-11refactored experiment_reader_get_contributions_by_speaker()Robin Haberkorn1-89/+106
* new functions * some xmlChar * casting refactoring
2012-06-11documented some previously undocumented libexperiment-reader API functionsRobin Haberkorn2-9/+52
* minor whitespace changes
2012-06-11include filename in GError describing an error while opening the fileRobin Haberkorn1-2/+2
2012-06-07cleaned up success/failure return value confusionRobin Haberkorn3-13/+13
TRUE means successful, FALSE unsuccessful
2012-06-07format-file related transcript widget methods return a GError which is used ↵Robin Haberkorn3-28/+103
to display meaningful error messages * also cleaned up return value confusion: in GLib world, TRUE means successful
2012-06-07added missing documentation for GtkExperimentTranscript API methodsRobin Haberkorn3-3/+99
2012-06-07minor comment formatting changeRobin Haberkorn1-0/+1
2012-06-07added copyright headers and Doxygen @file comments (where they were still ↵Robin Haberkorn11-2/+193
missing)
2012-06-06configurable transcript widget text alignmentRobin Haberkorn3-10/+112
* 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
2012-06-05fixed transcript widget configuration (on Windows)Robin Haberkorn1-22/+31
* 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)
2012-06-05fixed and optimized handling of transcript widget size changes; fixed ↵Robin Haberkorn1-26/+29
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
2012-06-04fix transcript scrolling (via wheels/buttons) at the end of the transcriptRobin Haberkorn1-6/+6
2012-06-04support scrolling of the transcript widget via scroll wheelsRobin Haberkorn1-0/+34
2012-06-04only save transcript widget font and colors if they have been changed (via ↵Robin Haberkorn1-0/+1
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)
2012-06-04load default interactive format font and colors from config file and also ↵Robin Haberkorn3-39/+47
save them * pango attributes cannot be "cached" anymore and must be recreated every time the interactive format is configured
2012-06-04fixed and simplified handling of default config valuesRobin Haberkorn1-6/+8
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
2012-06-01handle windows linebreaks in format filesRobin Haberkorn1-0/+1