aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
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
2012-05-31allow transcript formatting without markup (like search-as-you type)Robin Haberkorn2-20/+95
* controlled via checkbox * if markup is disabled the entered text is only regular expressions * default text attributes are used according to some constants (in configure.ac, later they will be configurable via config file) * fixed return value of gtk_experiment_transcript_load_formats() * care about possible capture mismatches in regular expressions (capture braces are inserted automatically - the user is not allowed specify own captures) * display state of interactive format via icon (successful/error)
2012-05-30allow empty filename when loading a format file into the transcript widgetRobin Haberkorn1-3/+7
this resets any active formats
2012-05-30implemented "format" file and expression parsing as well as application to ↵Robin Haberkorn6-77/+362
the transcript * "formats" are regular expressions encapsulated in Pango markup that allow the description of powerful highlighting rules * highlight as you type via entry boxes * loading from files implemented and tested but cannot yet be done via the UI * transcript widget is built as libtool convenience library * some renamings were necessary * install transcript widget header
2012-05-30implemented font and color configuration for transcript widgetRobin Haberkorn2-4/+155
* drop-down menu and selection dialogs * drawing routines care about using the correct graphics contexts
2012-05-30workaround: manually invoke configure-event callback from realize-event callbackRobin Haberkorn1-0/+3
2012-05-30let gtk_experiment_navigator_load() stub succeedRobin Haberkorn1-1/+1
2012-05-30first draft of transcript widgetRobin Haberkorn5-2/+553
2012-05-30first draft of experiment-reader API for handling contributionsRobin Haberkorn2-1/+161
2012-05-30fixed adjustment handling in gtk-vlc-playerRobin Haberkorn2-10/+88
* reconfigure on set_adjustment() * disconnect signal handlers on dispose()
2012-05-14fixed installing catalog files into Glade-3 module dir or fallback dirRobin Haberkorn2-6/+2
for various obscure technical reasons, it turned out to be necessary to define the catalog directory in the autoconf file * also use the AM_COND_IF macro whereever possible
2012-05-14install widget catalogs into Glade-3 catalog directory if possibleRobin Haberkorn2-2/+4
* eases installation on Linux * on MinGW where Glade-3 is in its own hierarchy, this will probably not work, but there's a fallback to install the catalogs into PREFIX/share directories
2012-05-14minor experiment-reader unit test fixRobin Haberkorn1-0/+2
2012-05-14experiment-reader: fixed detection of first contribution in topic (to get ↵Robin Haberkorn1-1/+12
start-time of topic)
2012-05-14added test suite for libexperiment-reader using GTesterRobin Haberkorn4-0/+1014
* automatically generate test reports * does not abort when gtester tools are missing (as test suite programs can be built nevertheless)
2012-05-13gtk-experiment-navigator: added support for private attributes, and instance ↵Robin Haberkorn2-20/+169
disposal/finalization * in case Jens needs them * also updated documentation
2012-05-13updated gtk-vlc-player documentation and check object attributesRobin Haberkorn2-53/+92
methods may be invoked after instance disposal, so object attributes may already be unreferenced
2012-05-13updated experiment-reader documentation and topic-callbackRobin Haberkorn2-14/+21
2012-05-13documented public API of GtkVlcPlayer widgetRobin Haberkorn2-2/+161
2012-05-13minor experiment-navigator documentation changeRobin Haberkorn1-2/+5
2012-05-12use proper CClosure marshallers for vlc-player and experiment-navigator signalsRobin Haberkorn6-8/+40
the ...VOID__LONG standard marshaller used worked for INT64 but this wasn't guaranteed (size of LONG is platform-dependant) * now, required marshallers are generated if they don't already exist in gobject, if they do, only an alias is defined * every widget has its own marshaller namespace * exclude marshallers from Doxygen docs
2012-05-12add some @bug and @todo infosRobin Haberkorn2-1/+8
2012-05-12make private gtk-vlc-player attributes private (well sort of...) and fix ↵Robin Haberkorn2-112/+166
object destruction (dispose, finalize) * private attributes allow us to remove the vlc.h dependency from the class header (users of the header/widget might not have the header or correct flags to include it) * destruction using _dispose() and _finalize() handlers: vlc references are finalized, while Gtk objects are disposed * in order for reference counting on the GtkObjects to work, their reference counter must be explicitly initialized (side effect of g_object_ref_sink()) * don't use deprecated gtk_object_ref/unref() functions
2012-05-12minor comment change explaining why freeing the GtkTreeStore of the ↵Robin Haberkorn1-0/+2
navigator works
2012-05-12simplified gtk_experiment_navigator_get_type()Robin Haberkorn1-27/+7
2012-05-12fixed experiment-reader destruction (chain up to parent class)Robin Haberkorn2-26/+7
2012-05-12fixed phase-selection when processing session XML filesRobin Haberkorn1-1/+1
2012-05-12some experiment-navigator documentation fixesRobin Haberkorn2-16/+27
also some additional todos and changed sample tree store column names
2012-05-11fixed experiment-navigator sample data on 32-bit machinesRobin Haberkorn1-1/+1
integer constant was pushed on stack as 32-bit integer, while gtk_stree_store_set() expected a 64-bit integer. this resulted in very strange crashes under 32-bit system
2012-05-11fix windows/linux printf incompatibility by using inttypes.h macrosRobin Haberkorn1-1/+2