aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
AgeCommit message (Collapse)AuthorFilesLines
2012-06-07cleaned up success/failure return value confusionRobin Haberkorn1-13/+13
TRUE means successful, FALSE unsuccessful
2012-06-07cleanup error handling when trying to open URLRobin Haberkorn1-9/+17
2012-06-07added copyright headers and Doxygen @file comments (where they were still ↵Robin Haberkorn1-1/+34
missing)
2012-06-06implemented About dialogRobin Haberkorn1-0/+21
* some values are set in the Glade-UI definition (license text, copyright, authors) * others are set in main() using Autoconf-defined macros to avoid redundancies
2012-06-06configurable transcript widget text alignmentRobin Haberkorn1-1/+19
* 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-06use stock icon constantsRobin Haberkorn1-4/+4
2012-06-04only save transcript widget font and colors if they have been changed (via ↵Robin Haberkorn1-9/+19
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 Haberkorn1-4/+36
save them * pango attributes cannot be "cached" anymore and must be recreated every time the interactive format is configured
2012-06-02save transcript fonts and colors in key-file (config file)Robin Haberkorn1-2/+48
* default widget styles are not handled properly. it must be possible to reset manually chosen fonts/colors (mapped to no key in keyfile) * default interactive format text attributes should be saved as well
2012-06-01support for configuration filesRobin Haberkorn1-2/+5
* currently it saves the quick-open and format-selection directories
2012-05-31allow transcript formatting without markup (like search-as-you type)Robin Haberkorn1-0/+2
* 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-30implemented selection of format files by combo boxRobin Haberkorn1-9/+5
* each transcript widget has its own box, they share their content (via a common GtkListStore) * currently the filename is displayed in the combo boxes
2012-05-30implemented "format" file and expression parsing as well as application to ↵Robin Haberkorn1-3/+12
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-30first draft of transcript widgetRobin Haberkorn1-2/+41
2012-05-11first draft of the libexperiment-reader helper classRobin Haberkorn1-3/+11
it hides libXML2 details when dealing with session.dtd XML files (Folker-transcript + session data)
2012-05-11integrated experiment navigator into UIRobin Haberkorn1-6/+51
* transcript widget placeholder * connected time-selected signal, so when the new widget is properly implemented, everything should fall in place... * implemented "Transcript Open..." using experiment-navigator API * had to manually edit default.ui to include a property Glade-3 for Windows introduced!!!
2012-05-11stubs for experiment navigator widget (to be implemented by Jens L.)Robin Haberkorn1-0/+3
* will be part of a larger library of experiment-player-related widgets (libgtk-experiment-widgets) * an experiment-transcript widget will be part of that library later on * Glade catalog for entire library; installed into experiment-player datadir * preliminary stub for libexperiment-reader, a gobject-based library that abstracts from reading the "Folker"-based transcript files
2012-05-11improved fullscreen mode support and cleaned up widget displayingRobin Haberkorn1-2/+0
2012-05-09fixed opening manual under WindowsRobin Haberkorn1-1/+17
it turned out that gtk_show_uri() doesn't work even if the URI is correct, so we're using Window's ShellExecute() now
2012-05-09handle errors when displaying manualRobin Haberkorn1-1/+26
introduced helper function for displaying GErrors in a message box
2012-05-09enforce "English" as localeRobin Haberkorn1-0/+10
experiment-player is currently not localized. this resulted in different languages for stock items and custom-labeled items.
2012-05-09use only filenames instead of URIs when working with the VLC playerRobin Haberkorn1-6/+8
* under windows, "C:\..." paths are constructed for the quickopen-menu, they are not accepted by libvlc_media_new_location() * support both loading filenames and URIs
2012-05-09disabled focus-on-click for play/stop & reset play button state on movie openRobin Haberkorn1-0/+3
2012-05-09moved quickopen-related functions into separate C fileRobin Haberkorn1-198/+9
2012-05-09sort quickopen-menu itemsRobin Haberkorn1-20/+29
use GPtrArray to manage an item array that is sorted and iterated... * avoid callback for destroying items on quickopen-refresh by setting a default destructor for the array
2012-05-09disable all player controls on startupRobin Haberkorn1-1/+3
2012-05-09reset play-button state on movie stopRobin Haberkorn1-7/+17
2012-05-09rewritten quickopen based on glib calls (cross-platform)Robin Haberkorn1-81/+77
also used glib calls for libc features whereever possible
2012-05-08support for opening the HTML manual from the experiment player help menuRobin Haberkorn1-0/+7
URI is configurable (--with-help-uri)
2012-05-08support for more than one quickopen-filter and some quickopen-related ↵Robin Haberkorn1-12/+19
constants defined in autoconf
2012-05-08remember current folder of quick-open folder choose dialogRobin Haberkorn1-0/+2
2012-05-08quick-open directory chooser implementedRobin Haberkorn1-28/+77
* some larger rewrites were necessary to get it to work
2012-05-08first implementation of the "quick open" feature based on POSIX callsRobin Haberkorn1-9/+156
2012-05-07fixed application exitRobin Haberkorn1-0/+7
2012-05-07support for setting volume in vlc player widgetRobin Haberkorn1-12/+17
API function and volume adjustment * attached volume button with player widget
2012-05-07redesigned video player controlsRobin Haberkorn1-4/+8
totem-like play/stop buttons, but in one HBox * also added a volume button
2012-05-07open movie menu and prepared quick open featureRobin Haberkorn1-7/+44
2012-05-06adjustment support for the gtk-vlc-player pluginRobin Haberkorn1-6/+16
gtk-vlc-player may be connected to scale widgets (and later on the transcript widget) using GtkAdjustments * the main program has been updated accordingly * the main program also updates the "play" button now
2012-05-04use GtkBuilder for UI, more sophisticated UIRobin Haberkorn1-8/+25
default UI file is installed (/usr/share/experiment-player/default.ui) but the actually used file may be changed via --with-default-ui=... (useful for windows where it should read --with-default-ui=default.ui)
2012-05-04some header-including cleanupRobin Haberkorn1-14/+4
2012-05-02preliminary main program (GtkVlcPlayer sample)Robin Haberkorn1-0/+58