Re-indentation of source code to get a unified look of the source.
This was done using astyle-2.03 with the following command:
astyle --style=java --indent=spaces=2 --break-closing-brackets --keep-one-line-blocks --suffix=none --recursive 'src/*.h' 'src/*.c' 'gui/*.h*' 'gui/*.c*'...
Added .gitignore entries.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2335 70169cfe-8b10-0410-8925-dcb4b91034d8
Added CMake package configuration files
May not work on Mac OSX or Windows because library extensision .so ishard coded.
From: Christian Dávid <christian-david@web.de>
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2334 70169cfe-8b10-0410-8925-dcb4b91034d8
FOX16-GUI: Fixed some layout issues.
FOX-Dialogs should now resize themselves to reasonable sizes, unless thedimensions are read from a configuration.
FOX16_HtmlLabel now determines its size only once per text, if no specialflags are given. This makes the behaviour more predictable....
Possibly fixed FOX16_GUI bug with invalid window sizes.
First create server side ressources so that the init functions have validdata to work with (i.e. font and sub-widget sizes etc).
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2238 70169cfe-8b10-0410-8925-dcb4b91034d8
Fixed a linkage problem under Windows.
Since we now use the same cppgui-code in FOX16 and QT4 we have to fix thelinkage in order to use the GUI code on Win32 platforms, too.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2222 70169cfe-8b10-0410-8925-dcb4b91034d8
Applied a patch by Thomas Baumgart (fixes title problem in dialog boxes).
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2201 70169cfe-8b10-0410-8925-dcb4b91034d8
Removed unused var.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2179 70169cfe-8b10-0410-8925-dcb4b91034d8
Make FOX16_Gui use common CppGui instead of a copy.
Added a test for permanent password storage in FOX16_Gui.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2172 70169cfe-8b10-0410-8925-dcb4b91034d8
Handle new flag "GWEN_GUI_INPUT_FLAGS_DIRECT".
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2162 70169cfe-8b10-0410-8925-dcb4b91034d8
Fix another build failure with GCC 4.7
... similar to commit r2133.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2146 70169cfe-8b10-0410-8925-dcb4b91034d8
Fixed a typo which could crash an application.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2135 70169cfe-8b10-0410-8925-dcb4b91034d8
Adapted to latest gcc.
Idea provided by Bill Nottingham.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2133 70169cfe-8b10-0410-8925-dcb4b91034d8
Disable apparently spurious "break" that causes a confusing warning message.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2127 70169cfe-8b10-0410-8925-dcb4b91034d8
Decrease verbosity of non-error into notice.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2126 70169cfe-8b10-0410-8925-dcb4b91034d8
Fixed a typo.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2120 70169cfe-8b10-0410-8925-dcb4b91034d8
Make QLabel in GUI wrap words.
This fixes the problem of dialogs being too wide to display.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2112 70169cfe-8b10-0410-8925-dcb4b91034d8
Added missing include.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2107 70169cfe-8b10-0410-8925-dcb4b91034d8
Added a needed flag for WIN32.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2105 70169cfe-8b10-0410-8925-dcb4b91034d8
Improved progress handling in network code. Some WIN32 fixes.
Added function GWEN_Gui_ProgressSetTotal() to adjust the total value ofa progress. This is needed when the real size isn't known beforehand (asis the case while downloading via HTTP where the body size is only known...
Added/improved some debug messages.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2083 70169cfe-8b10-0410-8925-dcb4b91034d8
Add some assertions.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2053 70169cfe-8b10-0410-8925-dcb4b91034d8
Fixed a copy'n'paste-error.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2048 70169cfe-8b10-0410-8925-dcb4b91034d8
Applied a patch by Thomas Baumgart to keep the focus chain intact in QT4 GUI
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2033 70169cfe-8b10-0410-8925-dcb4b91034d8
Really fixed use of GTK2 LineEdit widget.
WidgetFlags are defined in src/gui/dialog.h.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2028 70169cfe-8b10-0410-8925-dcb4b91034d8
Gtk2: Use visibility property of GtkEntry to hide the password entry.Patch by Christian Stimming.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2015 70169cfe-8b10-0410-8925-dcb4b91034d8
Win32: Add more missing GWENHYWFAR_CB.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2011 70169cfe-8b10-0410-8925-dcb4b91034d8
Win32: Fix missing GWENHYWFAR_CB macros for windows callback functions.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2008 70169cfe-8b10-0410-8925-dcb4b91034d8
Win32: Fix makefile to create a gtk2-gui DLL.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2007 70169cfe-8b10-0410-8925-dcb4b91034d8
Fixed a few interesting bugs detected by clang.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2003 70169cfe-8b10-0410-8925-dcb4b91034d8
Pre-release cleanup (removed some debug messages).
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1999 70169cfe-8b10-0410-8925-dcb4b91034d8
Fixed an important memory leak.
This leak was important because it was in code which is very often used(at least in AqFinance), so the memory leak would accumulate over timeup to a noticable amount.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1997 70169cfe-8b10-0410-8925-dcb4b91034d8
GUI: Added a test for password entry and a label with an image.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1989 70169cfe-8b10-0410-8925-dcb4b91034d8
Added check for environment variable "DIALOG_DIR" for gui tests.
This is needed for some cocoa tests.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1988 70169cfe-8b10-0410-8925-dcb4b91034d8
CocoaGui: Now also usable from within (obj-) C++.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1984 70169cfe-8b10-0410-8925-dcb4b91034d8
Implement properties "width" and "height".
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1983 70169cfe-8b10-0410-8925-dcb4b91034d8
Fixed a problem with the cocoa frontend (not completely tested, though).
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1981 70169cfe-8b10-0410-8925-dcb4b91034d8
Cocoa: Added more of Sam's work (doesn't compile, yet).
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1977 70169cfe-8b10-0410-8925-dcb4b91034d8
DIALOG: Added property "ToolTip", fixed a bug in widget lookup.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1974 70169cfe-8b10-0410-8925-dcb4b91034d8
GTK2: Fixed another bug.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1973 70169cfe-8b10-0410-8925-dcb4b91034d8
GTK2: Only show scrollbars in listBox if necessary.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1972 70169cfe-8b10-0410-8925-dcb4b91034d8
GTK2: Added scrollbars to ListBox.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1970 70169cfe-8b10-0410-8925-dcb4b91034d8
Dialog: Added tests for TextBrowser widgets.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1968 70169cfe-8b10-0410-8925-dcb4b91034d8
GTK2: Extract raw text for label and textbrowser also in the constructor.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1967 70169cfe-8b10-0410-8925-dcb4b91034d8
Cocoa: Added WebKit framework.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1966 70169cfe-8b10-0410-8925-dcb4b91034d8
GTK2: Fixed some more bugs mostly introduced by cut'n paste.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1965 70169cfe-8b10-0410-8925-dcb4b91034d8
GTK2: Yet another fix.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1964 70169cfe-8b10-0410-8925-dcb4b91034d8
Fixed another problem with the focus chain.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1963 70169cfe-8b10-0410-8925-dcb4b91034d8
TestDialogs: Added a test for WidgetStack.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1962 70169cfe-8b10-0410-8925-dcb4b91034d8
GTK2: Fixed a bug (was not setting the correct title for tab pages).
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1961 70169cfe-8b10-0410-8925-dcb4b91034d8
GTK2: Added a note.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1960 70169cfe-8b10-0410-8925-dcb4b91034d8
Fixed a bug in Gtk2Gui_WListBox_GetCharProperty().
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1959 70169cfe-8b10-0410-8925-dcb4b91034d8
Fixed some bugs in the GTK2 GUI.
Now the GTK2 gui also searches for the active parent window so that thefocus chain remains intact.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1958 70169cfe-8b10-0410-8925-dcb4b91034d8
Let gwengui-gtk2.pc also be installed
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1957 70169cfe-8b10-0410-8925-dcb4b91034d8
Add pkgconfig file for gwengui-gtk2.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1956 70169cfe-8b10-0410-8925-dcb4b91034d8
Removed QT3 GUI implementation (it is no longer used anyway).
The only user of the QT3 GUI implementation was QBankManager which isn'tactively developed anymore.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1951 70169cfe-8b10-0410-8925-dcb4b91034d8
Many fixes for GTK2 GUI implementation, fixed FOX16_GuiDialog::setCharProperty().
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1948 70169cfe-8b10-0410-8925-dcb4b91034d8
Fixed header installation folders.
Now all headers are installed below "$PREFIX/include/gwenhywfar4".
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1943 70169cfe-8b10-0410-8925-dcb4b91034d8
GUI: Added test for progressBar.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1942 70169cfe-8b10-0410-8925-dcb4b91034d8
GTK2: Extract raw text for TextBrowser.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1941 70169cfe-8b10-0410-8925-dcb4b91034d8
Added example images of some GUI implementations.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1940 70169cfe-8b10-0410-8925-dcb4b91034d8
Removed a debug message.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1936 70169cfe-8b10-0410-8925-dcb4b91034d8
Minor fix in QT4_Gui::getFileName().
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1934 70169cfe-8b10-0410-8925-dcb4b91034d8
Added work-in-progress on CocoaGUI implementation by courtesy of Sam Strupp.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1931 70169cfe-8b10-0410-8925-dcb4b91034d8
FOX16: Fixed a bug in combobox-handling.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1927 70169cfe-8b10-0410-8925-dcb4b91034d8
GTK2-GUI: Set title of dialog in constructor.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1926 70169cfe-8b10-0410-8925-dcb4b91034d8
GUI: Added a very simple test dialog.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1925 70169cfe-8b10-0410-8925-dcb4b91034d8
QT4-GUI: Fixed the use of compat headers.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1923 70169cfe-8b10-0410-8925-dcb4b91034d8
Started with the Cocoa implementation of the GWEN_DIALOG framework.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1922 70169cfe-8b10-0410-8925-dcb4b91034d8
FOX16: Fixed a problem with the focus chain.
Now the topmost window is used as owner also for ExecDialog.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1919 70169cfe-8b10-0410-8925-dcb4b91034d8
Added function GWEN_Widget_GetTopDialog(), use that in GTK2 implementation.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1915 70169cfe-8b10-0410-8925-dcb4b91034d8
Fixed a bug.
When using sub-dialogs we have to use the parent dialog pointer to accessthe toolkit-dependent extensions.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1914 70169cfe-8b10-0410-8925-dcb4b91034d8
FOX16: Decreased verbosity, fixed a bug in radio button group handling.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1909 70169cfe-8b10-0410-8925-dcb4b91034d8
FOX16: Check index before Fox crashes. Added a debug message.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1906 70169cfe-8b10-0410-8925-dcb4b91034d8
Added some comments about how to use theme.cpp in other projects.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1902 70169cfe-8b10-0410-8925-dcb4b91034d8
Applied modifications as suggested by Marc Duren.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1901 70169cfe-8b10-0410-8925-dcb4b91034d8
Win32 fixes.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1900 70169cfe-8b10-0410-8925-dcb4b91034d8
Moved HTML code from FOX16 to the general part of Gwen.
This code is used by the FOX16 GUI implementation, but it is also usedby AqFinance's console code which doesn't use FOX at all. So option theconsole tools of AqFinance with a graphical toolkit isn't an option....
Added some safeguards.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1896 70169cfe-8b10-0410-8925-dcb4b91034d8
FOX16: Many fixes to HTML engine.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1894 70169cfe-8b10-0410-8925-dcb4b91034d8
FOX16: Added support for images in HTML text.
The current implementation does not work well with transparency in myicons... Maybe I'll have to work something out for that later.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1893 70169cfe-8b10-0410-8925-dcb4b91034d8
HTML: Allow for "align" attribute in TD and TH elements.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1892 70169cfe-8b10-0410-8925-dcb4b91034d8
HTML: Use bold font for table headers.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1891 70169cfe-8b10-0410-8925-dcb4b91034d8
HTML: Reworked table column width calculation.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1890 70169cfe-8b10-0410-8925-dcb4b91034d8
FOX16: Improved HtmlCtx code.
- added functions to access the dimensions of the rendered HTML text- "BR" element now advances by a default line height if it stands alone in a line- added reference counter to GWEN_XML_CONTEXT
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1889 70169cfe-8b10-0410-8925-dcb4b91034d8
Fix test dialog file location for out-of-source builds.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1888 70169cfe-8b10-0410-8925-dcb4b91034d8
FOX16: Export HTML context functions.
AqFinance uses them now to create a HTMLContext implementation usingCairo to print to PDF files.This commit also fixes some bugs which have been found while testing theCairo implementation (mostly fixed the use of absolute sizes)....
Added missing file.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1885 70169cfe-8b10-0410-8925-dcb4b91034d8
QT4: Fixed a few bugs.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1884 70169cfe-8b10-0410-8925-dcb4b91034d8
GUI: Added SpinBox widget type (we already used it in the CSV editor dialog).
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1883 70169cfe-8b10-0410-8925-dcb4b91034d8
QT4: Fixed two bugs.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1881 70169cfe-8b10-0410-8925-dcb4b91034d8
QT4: Added extra sources to EXTRA_DIST
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1880 70169cfe-8b10-0410-8925-dcb4b91034d8
GUI: Rewrote QT4 implementation.
- added a C++ access layer for GWEN_GUI objects (to be used by the C++-based implementations, starting with the new QT4 implementation)- rewrote QT4 implementation because the previous version failed some tests and was quite unreadable...
FOX16: Implemented HTML label with icon.
This is a replacement for the widget type "image" which had been removedfrom GWEN in the previous version.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1878 70169cfe-8b10-0410-8925-dcb4b91034d8
GUI: More cleanup: removed Image widget.
We don't need this type of widget, the same functionality can beachieved by using a label with an icon.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1877 70169cfe-8b10-0410-8925-dcb4b91034d8
FOX16: Implemented RadioButtons.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1876 70169cfe-8b10-0410-8925-dcb4b91034d8
GTK2: Implemented radio button.
Now the GTK2 GUI is the first complete implementation of GWEN's DialogFramework.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1875 70169cfe-8b10-0410-8925-dcb4b91034d8
GUI: Removed widgets which aren't used in any dialog so far.
I want to make it as easy as possible to create new implementations and tomaintain existing ones. Therefore widget types which aren't really neededneed to be removed.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1874 70169cfe-8b10-0410-8925-dcb4b91034d8
GTK2: Don't handle flag "EQUAL_WIDTH" in hbox (doesn't work with GTK).
Using equal width in a HBox doesn't seem to be working as expected:I would expect all children be of equal width, but instead all children areequally distant to each other while still being of different width......
GTK2: Button can now have an icon.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1872 70169cfe-8b10-0410-8925-dcb4b91034d8