2005-08-20 Roozbeh Pournader * configure.in: Added "fa" (Persian) to ALL_LINGUAS. 2005-08-08 Behdad Esfahbod * configure.in: Fix more of AC_ARG_WITH handling. (#311490) 2005-08-06 Behdad Esfahbod * Src/main.cc, Src/Gtk2/dasher.cc, Src/Gtk2/fileops.cc: Move #include's around such that we see the effect of config.h soon. Was breaking build with GNOME_A11Y. (#312765) 2005-08-05 Behdad Esfahbod * configure.in: Fix around Xtst. (#140950) 2005-08-03 Behdad Esfahbod * Src/Gtk2/accessibility.cc: Move #include accessibility.h after #include dasher.h such that we see the effect of config.h in accessibility.h. Was breaking build with GNOME_A11Y. (Kjartan Maraas) 2005-07-29 Behdad Esfahbod * configure.in: Turn Cairo on by default. 2005-07-29 Behdad Esfahbod * Src/DasherCore/DasherViewSquare.cpp (RenderGroups): Initialized mostleft to zero. Shuts up valgrind warning. * Src/DasherCore/libdasher.cc, Src/Gtk2/canvas.cc: Set Width and Height to zero if failing for any reason. Shuts up valgrind warning. * Src/Gtk2/dasher.cc: Leak fix. Free focusEvent. * Src/Gtk2/edit.cc: Leak fix. Free pango_font_description. * Src/DasherCore/Alphabet/Alphabet.cpp: Fixed a slight buffer overflow. Better UTF-8 handling. In valid UTF-8, no character is longer than 4 bytes. 2005-07-25 Behdad Esfahbod * Src/DasherCore/DasherViewSquare.cpp, Src/DasherCore/libdasher.cc, Src/Gtk2/canvas.cc: Use delete[] instead of delete, for new[]'ed memory. * Src/Gtk2/dasher.cc: Cleanup memory after ourselves, mostly glib and gtk+ related structures. 2005-07-24 Behdad Esfahbod * Src/Gtk2/dasher.cc, Src/Gtk2/canvas.cc: Use DASHERFONT instead of "DASHERFONT" which is a useless string literal! 2005-07-23 Behdad Esfahbod * configure.in: Stepped up version to 3.2.16pre. * configure.in, Src/Common/Common.h: Use a config.h file now. It is included in Common.h conditionally. * configure.in, */Makefile.am: Add -Wall and -O2 flags if g++ is the compiler in configure, so Makefiles don't need to do that. --with-cairo option added. * configure.in, Src/Makefile.am, Src/Gtk2/Makefile.am: Summarize all CXXFLAGS and LIBS in configure and use in both Makefiles. * Src/DasherCore/Makefile.am, Src/DasherCore/Alphabet/Makefile.am: Cleanup after files that were moved into Alphabet. * Src/Gtk2/canvas.cc: Cleaned up quite a bit, should be faster. Added Cairo support. So the code will use Cairo or Gdk based on WITH_CAIRO. * Src/Gtk2/canvas.cc, Src/Gtk2/canvas.h, Src/Gtk2/dasher.cc: Removed unnecessary width and height parameters from initialise_canvas(). * Src/Gtk2/dasher.cc: Comment out code about lmsettings tab that was removed from dasher.glade. Shuts up Gtk+ runtime warnings. 2005-07-22 Behdad Esfahbod * Src/main.cc: Exit if glade file not found. * Src/Alphabet/AlphIO.cpp: Fix parsing of orientation. * Src/DasherCore/LanguageModelling/WordLanguageModel.cpp: Fix assignment operator (=) that was mistyped as equality (==). 2005-07-21 Behdad Esfahbod * AUTHORS, README: Minor wording changes. * ChangeLog: Lots of linebreaking and whitespaces fixes. * Makefile.am: Cleanup and added MAINTAINERCLEANFILES. * configure.in: Updated to the preferred new syntax. Fixed misc stuff. And removed the old hack to patch libtool. It was from 2003 and should be fixed now. If not, it really should be reported as a libtool bug. * Src/Test/configure.in: Updated to the preffered new syntax. Passing `foreign' to automake, to not nag about missing NEWS and other files. This was breaking jhbuild builds in tinderbox. * Src/Makefile.am, Src/Gtk2/Makefile.am: We set SETTINGS_* in configure now, no need to do here. * Src/Common/IOstreamDasherEdit.cc: Free allocated memory. * Src/Common/IOstreamDasherEdit.cc, Src/DasherCore/DasherModel.cpp, Src/DasherCore/DasherViewSquare.cpp: Comment out unused variable. * Src/DasherCore/DasherViewSquare.cpp: Explicitly cast between double, int, long, myint, and screenint. Shuts up gcc warning. * Src/DasherCore/DasherViewSquare.cpp: Initialize variables that gcc thinks might be used uninitialized. Shuts up gcc warning. * Src/DasherCore/DasherViewSquare.cpp, Src/DasherCore/DasherModel.cpp: Removed unused variables. Shuts up gcc warning. * Src/Gtk2/accessibility.cc: #ifdef GNOME_SPEECH a variable that is only used in that case. Shuts up gcc warning. * Src/DasherCore/LanguageModelling/MixtureLanguageModel.h: Remove excess namespace qualifier. * Src/DasherCore/DasherModel.cpp, Src/DasherCore/Alphabet/Alphabet.cpp, Src/DasherCore/LanguageModelling/WordLanguageModel.cpp: Avoid comparison between signed and unsigned integers. Shuts up gcc warning. * Src/DasherCore/LanguageModelling/DictLanguageModel.cpp, Src/DasherCore/LanguageModelling/PPMLanguageModel.cpp, Src/DasherCore/LanguageModelling/WordLanguageModel.cpp, Src/Common/IOstreamDasherEdit.cc, Src/DasherCore/DasherModel.cpp, Src/DasherCore/DasherNode.h, Src/DasherCore/DasherTypes.h: Reorder member variables in initialization to follow the order in the class definition. Shuts up gcc warnings about initialization order. 2005-06-12 David Ward * remove non-standard C++ - gcc extension allows dynamic arrays, suggest this is switched off 2005-06-11 David Ward * couple of Win32 fixes * new Cint64 operator< required for mixed 32/64bit comparisons 2005-06-10 Ignacio Casal Quinteiro * configure.in: Added 'gl' to ALL_LINGUAS. 2005-05-22 David Ward * New Alphabet directory for all the alphabet classes - CCustomAlphabet functionality moved to CAlphabet and deleted CCustomAlphabet - Nicer CAlphabet interface 2005-05-07 David Ward * MAJOR changes to DasherCore - Linux build temporarily broken - only minor fixes should be needed - DasherCore relatively stable - hence this checkin * CDasherScreen interface is now entirely UTF8, rather than part Symbol, part string - renamed DrawText to DrawString because of Win32 macros * Win32 - dropping support for non-unicode build - major clean up - use a precompiled header for all frequently used windows headers * CDasherCore - simplify DasherNode children and clean up Push_Node - children at index 0 are now valid children. So child-loops now look sensible i=0;i * New LanguageModel interface with more abstract interface - removed dependency on Dasher-specific CAlphabet * The rendering of the mouse, mouse line and mouse position box are now handled by the view, rather than DasherInterface or Platform. A few changes to CDasherInterface have been made - some functions have been removed. See code comments. * Clean up DasherView classes - started implementing a push mechanism that is view-driven rather than model-driven. Ditched the silly 'force' flag on DasherNodes - this was created to stop small nodes initially flashing in and out of view. This has been solved another way. * Win32 CDasherScreen now caches TextSize calls. This was previously taking 25% runtime, now its negligible. 2005-04-15 Iaki Larra�aga * configure.in: Added "eu" (Basque) to ALL_LINGUAS. * Data/Translations/training_basque_EU.txt: Added Basque tranining file. * Data/system.rc/alphabet.basque.xml: Added Basque language support. 2005-04-14 David Ward * Fix mem leak when switching alphabets * DasherScreen interface now takes a const pointer to CustomColours 2005-04-11 David Ward * Add Trace mechanism for printf-like debugging (see Common/Trace.h) * Customize for your platform if necessary 2005-04-08 David Ward * Replaced CContext class with Context handle * Moved language model files to LanguageModelling directory * Created CBigramLanguageModel * Introduced pooled allocators for faster and more compact allocation PPM language model now uses them for nodes and contexts 2005-04-04 Christian Rose * configure.in: Added "ug" to ALL_LINGUAS. 2005-03-31 Steve Murphy * configure.in: Added "rw" to ALL_LINGUAS.