12010-12-08 Pierre-Louis Malatray <pierrelouis.malatray@free.fr> 2 * Added isFocused method and HasFocus property to VDKObject 3 * Event slot size modified from int to gulong to avoid compiler warnings 4 * Some variables conversion to avoid compiler warnings 5 62010-01-22 Pierre-Louis Malatray <pierrelouis.malatray@free.fr> 7 * VDKMessageBox changed to get a correct keyboard behaviour, dialog react correctly when enter is pressed on selected button 8 * VDKMessageBox VDK_YESNOCANCEL mode added 9 102009-12-24 Pierre-Louis Malatray <pierrelouis.malatray@free.fr> 11 * VDKUString::FloattoUserFormat and VDKUString::FloattoCFormat using user localization settings added 12 * VDKUString test program is compilable under windows 13 142009-12-18 Pierre-Louis Malatray <pierrelouis.malatray@free.fr> 15 * VDKForm::Raise modified because of a GTK+-2.18.x window focus behaviour change 16 * GTK minimum version becomes 2.16.0 17 182009-11-19 Pierre-Louis Malatray <pierrelouis.malatray@free.fr> 19 * VDKMessageBox have now const char* parameters instead of char* 20 * VDKMessageBox variant added with VDKString and VDKUString parameters 21 222009-11-13 Pierre-Louis Malatray <pierrelouis.malatray@free.fr> 23 * VDKUString added to deal with UTF-8 encoded strings 24 * Also added testvdkustring make parameter to testvdk directory 25FIX * Code modified to avoid many warnings from g++-4.2 (mainly inlining methods) 26 272009-11-05 Pierre-Louis Malatray <pierrelouis.malatray@free.fr> 28 * Code modified to compile with g++-4.2 29 302009-11-03 Pierre-Louis Malatray <pierrelouis.malatray@free.fr> 31 * All source files for Linux and windows grouped in the same tree. 32 * Compilation directives are used to support both systems, easier to maintain that way 33 * configure.ac and all Makefile.am modified to fit new standards 34 352008-07-29 Pierre-Louis Malatray <pierrelouis.malatray@free.fr> 36FIX * msgdialog.cc 37--- Disabled destroy event answer because closing MessageBox seems to sometimes quit also 38 underlying software (gtk_main_quit called twice) 39 402006-08-28 Pierre-Louis Malatray <pierrelouis.malatray@free.fr> 41FIX * vdkcustombutton.cc and .h 42--- Constructors and SetCaption modified to support recreation of key stroke accelerator 43 when changing button caption 44 452005-11-07 Pierre-Louis Malatray <pierrelouis.malatray@free.fr> 46NEW * vdktreeview.cc./.h 47--- New constructor VDKTreeViewModel::VDKTreeViewModel(GtkTreeModel *tvmodel) 48 ActiveSearch, SearchColumn, SearchEqualFunc properties, 49 added to deal with VDKTreeView interactive search. 50 51NEW msgdialog.cc/application.h 52--- New parameter to VDKApplication::VDKMessageBox : 53 msgowner needed to send back focus to this window on closing messagebox 54 defaults to NULL so that old code has not to be modified 55 56NEW forms.cc/.h 57--- Added Sizeable property to VDKForm 58 59NEW * vdkobj.cc/.h, vdktypes.h 60--- Added more mouse cursors 61 62NEW * vdktreeview.cc/.h 63--- Added SetBackground method 64 65FIX * spin.cc/.h 66--- ValueAsInt becomes a read/write property 67 68NEW * combo.cc/.h 69--- Added virtual GrabFocus method, overridden from VDKObject 70 712005-10-14 Mario Motta 72FIX * vdktextview.cc 73--- VDKTextView::LoadFromFile() and VDKTextView::SaveToFile(), 74 resolved a bug in reading and writing correct UTF-8 encoding 75 762005-05-22 Mario Motta 77RELEASE vdk 2.4.1 released 78------- 79 802005-04-22 Mario Motta 81NEW progressbar.cc/.h 82---- * Added two properties: (double) MinValue,MaxValue 83 that set and read progress bar range programmatically 84 852004-11-6 Mario Motta 86NEW * implemented pkg-config support for compiling vdk applications 87--- usage: pkg-config vdk-2.x --cflags [--libs] 88 * Perhaps you should add the directory containing `vdk-2.x.pc' 89 to the PKG_CONFIG_PATH environment variable 90 * Note: however old vdk-config-2 [options] script remains still operative 91 922004-09-16 Mario Motta 93NEW * vdktreeview.cc/.h 94--- Added signals: 95 - cell_edited_signal 96 - cell_toggled_signal 97 Added properties: 98 - ChangedColumn 99 - ChangedText 100 10110/09/2004 Mario Motta 102NEW * testvdk.cc enhanced test program with dockables 103--- 104 10505/08/2004 Mario Motta <mmotta@guest.net> 106 * vdkbtrees.h,vdkheap.h,chart.cc 107 Patched for gcc 3.4.x that is ANSI C++ more compliant. 108 Fixes bug#262091 (debian) 109 Thanks to Michael Vogt <mvogt@acm.org> 110 111 11218/05/2004 Mario Motta <mmotta@guest.net> 113 * renamed version 2.4.1 114 *** vdk 2.4.0 released *** 115 116 11703/10/05 Mario Motta <mmotta@guest.net> 118 * release candidate test passed 119 12003/29/04 Mario Motta <mmotta@guest.net> 121 * testvdk/testvdk.cc 122 Added examples for VDKComboEntry 123 12403/28/04 Mario Motta <mmotta@guest.net> 125NEW * vdkcomboentry.cc/.h 126--- New VDKComboEntry widget that wraps GtkComboBox with entry. 127 12803/25/04 Mario Motta <mmotta@guest.net> 129NEW * entry.cc/.h 130--- Added word completion support to entry widget 131 13203/23/04 Mario Motta <mmotta@guest.net> 133 * recompiled under gtk+ 2.4.0 134NEW * vdkfilechooser.cc/.h 135--- new VDKFileChooser class, wraps new GtkFileChooser widget. 136 13703/06/04 Mario Motta <mmotta@guest.net> 138 * versioning to 2.0.4 139 * this version made to mantain full compatibility 140 with winvdk porting under windows. 141 14202/03/04 Mario Motta <mmotta@guest.net> 143BUG FIX * image.cc 144------- Fixed a bug related to SetImage(NULL); 145 146 * vdkdate.cc /.h 147 MakeDate(char* s, int mode = mmddyyy) 148 Added argument <mode> to build date both in 149 english (mmddyyyy) or european (ddmmyyyy) format 150 15124/02/04 Mario Motta <mmotta@guest.net> 152CODE BREAK !!! 153-------------- 154 * vdktypes.h/application.h/.cc 155 Due to a name clush with Windows following 156 symbolic constants have been redefined: 157 158 old ==> new 159 160 MB_ICONSTOP VDK_ICONSTOP 161 MB_ICONWARNING VDK_ICONWARNING 162 MB_ICONQUESTION VDK_ICONQUESTION 163 MB_ICONINFORMATION VDK_ICONINFORMATION 164 MB_ICONERROR VDK_ICONERROR 165 MB_ICONMASK VDK_ICONMASK 166 167 MB_OK VDK_OK 168 MB_YESNO VDK_YESNO 169 MB_OKCANCEL VDK_OKCANCEL 170 MB_TYPEMASK VDK_TYPEMASK 171 172 IDYES VDK_IDYES 173 IDNO VDK_IDNO 174 IDOK VDK_IDOK 175 IDCANCEL VDK_IDCANCEL 176 177 * also VDKApplication::MessageBox() has been redeclared as 178 VDKApplication::VDKMessageBox() 179 180 1812003-06-05 Motta Mario <mmotta@guest.net> 182FIX * numentry.cc 183--- Fixed a bug that denied any key typing into this widget 184 Bug reported by Michael Vogt <mvogt@acm.org>, Debian maintainer 185 1862003-05-19 Motta Mario <mmotta@guest.net> 187 188 *** version 2.0.3 released *** 189 1902003-05-11 Motta Mario <mmotta@guest.net> 191FIX * vdk/Makefile.am fixed a incompatibility with newest automake. 192--- 193 * Entire library recompiled under Mandrake 9.1 with gcc 3.2.2 194 1952003-02-15 Motta Mario <mmotta@guest.net> 196NEW * vdktreeview.cc .h 197--- Enhanced VDKTreeViewIter class, now given a VDKTreeViewIter you can know parent and childs 198 if any.. (Suggested by P. Malatray) 199 2002003-01-23 Motta Mario <mmotta@guest.net> 201 * VDKTextView and VDKEditor updated with latest cvs version of gtksourceview 202NEW * VDKHLButton widget, (HL stands for HighLighted) it behaves like 203--- Mozilla buttons that highlight when mouse cursor is over 204NEW * VDKHLButtonBar new widget, a toolbar to accomodate a set VDKHLButtons 205--- Both widgets API left unchanged as in parents. 206NEW * VDKDataBox, restored Roland widget wrapper for gtk 2.x 207--- 208 2092003-01-22 Motta Mario <mmotta@guest.net> 210 ** versioning to 2.0.3 211 2122003-01-13 Motta Mario <mmotta@guest.net> 213 ** many fixes to compile in gcc 3.2 214 Huge commit on CVS 215 2162002-05-30 Motta Mario <mmotta@guest.net> 217 *** version 2.0.2 released *** 218 2192002-05-29 Motta Mario <mmotta@guest.net> 220NEW * vdkeditor.cc 221--- VDKEditor now operates on new gtksourceview widget 222 2232002-05-25 Motta Mario <mmotta@guest.net> 224BUG FIX Minor bug fixes related to gcc version 3.1.0 225------ Bugs reported by Otmar Struwe <otmar.struwe@web.de> 226 2272002-05-13 Motta Mario <mmotta@guest.net> 228BUG FIX * vdktextview.cc 229------- Fixed a bug into SaveToFile() that wrote a char less than real lenght 230 of the text buffer. 231 2322002-05-09 Motta Mario <mmotta@guest.net> 233BUG FIX * vdktextview.cc - vdkeditor.cc 234------- Fixed Changed property that was buggy 235 236 2372002-05-02 Motta Mario <mmotta@guest.net> 238 * vdktreeview.cc /.h 239CODE Changed VDKTreeViewModel API, many methods such as AppendBlank(), Root(), Next() 240BREAK now requires an iter address as first argument. 241---- * vdktreeview.cc 242 VDKTreeViewModel::Find() rewritten in a recursive way. Now works properly. 243 * testdvdk/treeviewcompo.cc rewritten due to API changes. 244 2452002-04-10 Motta Mario <mmotta@guest.net> 246 * versioning to 2.0.2 247NEW * Added a VDKDockerBox widget that provides a box that can be detached from his container 248--- and attached (docked) into a separate form. Sources in vdkdockable.h/.cc 249 2502002-04-04 Motta Mario <mmotta@guest.net> 251 * vdk-2.m4.in changed to fix a bug in aclocal. Changed all "dnl" comments to "##" 252 see http://sources.redhat.com/ml/bug-automake/2000/msg00191.html 253 Bug reported by Michael Vogt <mvogt@acm.org> 254 2552002-03-29 Motta Mario <mmotta@guest.net> 256 *** VDK 2.0.1 released *** 257 2582002-03-26 Motta Mario <mmotta@guest.net> 259BUG * image.cc 260FIX Fixed a bug that returned WrappedWidget() always NULL. 261--- 262 2632002-03-19 Motta Mario <mmotta@guest.net> 264 Version renamed to 2.0.1 for further develop and bug fixes. 265 2662002-03-13 Motta Mario <mmotta@guest.net> 267 *** VDK 2.0.0 RELEASED *** 268 2692002-03-08 Motta Mario <mmotta@guest.net> 270 * written an example of VDKDrawArea usage into ./testvdk 271 2722002-03-05 Motta Mario <mmotta@guest.net> 273NEW Added new widget: VDKDrawingArea that should substitute deprecated VDKCanvas. 274___ However VDKcanvas isn't really deprecated, it will continue to be supported even if 275 not more enhanced. Simply VDKDrawingArea is a better widget, much powerfull and easy to use. 276 VDKDrawingArea is contained into vdkdrawarea.h/.cc files. 277 2782002-02-20 Motta Mario <mmotta@guest.net> 279 * canvas.cc .h 280 Overridden VDKCanvas::SetFont() that now uses its own font (or default 281 one if not set). 282 This removes an old problem with canvas setting font into an expose_event response 283 function: VDKcanvas::SetFont() used VDKObject::SetFont() that modifies widget style 284 triggering an expose_event and an infinite loop if used into an expose_event response 285 function. Now resolved using font explicitely without interesting widget style. 286 2872002-02-12 Motta Mario <mmotta@guest.net> 288CODE * canvas.cc .h 289BREAK Made an huge clean up of received events. 290---- Now events on canvas must be handled with dynamic signals table. 291 Removed some properties: 292 - Captured 293 - EnableDrag 294 2952002-01-19 Motta Mario <mmotta@guest.net> 296NEW * Added VDKCalendar widget, wraps GtkCalendar (vdkcalendar.cc /.h) 297--- Moved from builder plugins into vdk core library. 298 2992002-01-17 Motta Mario <mmotta@guest.net> 300 * vdktreeview.cc/.h 301 Improuved VDKTreeView API 302 3032001-12-31 Motta Mario <mmotta@guest.net> 304 * vdk/vdktreeview.cc /.h 305 - Added a VDKTreeViewModel iterator API 306 - Added new properties and methods to VDKTreeView API 307 * testvdk/treeviewcompo.cc 308 * Changed to reflect API changes 309 3102001-12-29 Motta Mario <mmotta@guest.net> 311NEW * scrolled.cc/.h 312--- Added BorderShadow property to VDKScrolled class 313 3142001-12-23 Motta Mario <mmotta@guest.net> 315NEW * value_sem_list.h / dlist.h 316--- Added: 317 -- decremental operator (both infix and postfix) 318 - first(),last() operators. 319 To VDKValueListIterator<> and VDKListIterator<> template classes 320 3212001-12-17 Motta Mario <mmotta@guest.net> 322NEW * vdktreeview.cc .h 323--- Added VDKTreeView class and companions. 324 This class wraps GtkTreeView widget. 325 (incomplete) 326 3272001-12-07 Motta Mario <mmotta@guest.net> 328CODE * vdkprops.h 329BREAK Changed prop value internal assignement made after have calling 330----- setting function. In other words setting function finds prop value 331 at old value when called. 332 This avoid a subtle bug when is necessary to operate on old prop value 333 into the setting function. 334 *** Raw setting function calls are now deprecated. *** 335 3362001-09-28 Motta Mario <mmotta@guest.net> 337NEW * Added VDKInputChannel class 338--- Thanks to Jonathan Hudson <jonathan@daria.co.uk> . 339 3402001-08-22 Motta Mario <mmotta@guest.net> 341CODE * vdkcustom.cc 342BREAK SelectedForeground,Unselectedbackground,UnselectedForeground properties 343----- are now of VDKRgb type to mantain consistency with others color props. 344 3452001-08-15 Tim Lorenz <tim@lorenz.nu> 346 * Trivial Changes to let sigc-extension work with libsigc++-1.0.3 347 under gcc-3.0 348 * configure.in: 349 Added AC_PREREQ(2.50) 350 3512001-08-15 Motta Mario <mmotta@guest.net> 352BUG FIX * VDKCustom.cc/.h 353------ Get rid of SelectedBackground property since it conflicts with 354 VDKObject::SelectedBackground. 355 Modified overridden SetBackGround 356 * testvdk/testvdk.cc 357 Modified to reflect above changes. 358 (Bug reported by Tim) 359 3602001-08-14 Motta Mario <mmotta@guest.net> 361BUG * siglisthandle.h /evlisthandle.h 362FIX Got ride of VDKString in VDK dynamic signal tables. 363--- (probably) due to a gcc 2.96.x compiler weirdness on 364 const we experienced obscure seg faults during signal table scan. 365 VDKString _VDK_Signal_Unit.signal and _VDK_Event_Unit.event 366 substituted with a plain char[]. Sigh :-( 367 3682001-08-11 Motta Mario <mmotta@guest.net> 369BUG * vdkclist.cc vdkctree.cc 370FIX Correctly initialized sigwid with gtk+ widget. This bug 371--- didn't correctly SignalConnect() under some circustances. 372 3732001-07-27 Motta Mario <mmotta@guest.net> 374NEW * Added VDKThread class, a simple wrapper on posix threads. 375___ Thanks to Salmaso Raffaele <r.salmaso@flashnet.it> 376 that did it on 1999. 377 3782001-07-04 Motta Mario <mmotta@guest.net> 379 * vdk updated to latest cvs (gtk+ 1.3.7) 380 * forms.cc 381 GetPosition() changed to use gdk_window_root_origin() to fix a 382 coordinate error. 383 3842001-05-29 Tim Lorenz <tim@marder.flotte> 385 386 The Long Story of Constness: 387 * vdk/vdkeditor.h (VDKEditor::MakeCompletition): 388 made arg const 389 * vdk/vdkedtior.cc (overlap): second arg is const now 390 * vdk/vdkclist.h (class VDKCustomList::_update_pix): consted 391 (SelectionProp::Row): and (Selection::Col): are const methods now. 392 (VDKCustomList::UpdateCell): arg s ist const-pointer now. 393 * vdk/vdkcsortlist.h (VDKCustomSortedList::FindKey): 394 (VDKCustomSortedList::RemoveKey): 395 (VDKCustomSortedList::UpdateCellKey): 396 (VDKCustomSortedList::UpdateKey): 397 The key argument is declared const now (as passed to VDKString-Ctor) 398 I did some more const changes but did not list them. 399 400 Made type-converter operator of VDKRWProp a const method. 401 4022001-05-28 Tim Lorenz <tim@marder.flotte> 403 Tales about const 404 * testvdk/edcompo.cc: 405 (ToggledSource): also operate on const pointer arg (just to be nice). 406 Fixed mem. leak in abortive return (use of std::string would make life 407 easier ;-) 408 (EditorComponent::HasPage): add const qual. to local var. 'fn' 409 410 * vdk/notebook.h (class VDKNotebook::AddPage): consted one arg 411 * vdk/vdkcustombutton.h (VDKCustomButton::SetCaption): 412 (VDKCustomButton::GetCaption): made string a const char* pointer 413 (VDKCustomButton::Caption): 'value_type' now const char* 414 (VDKCustomButton::VDKCustomButton()): label-arg is a const-pointer now 415 * vdk/label.h (VDKLabel::Caption): 416 set second tpl. arg. to const char* -> VDKRWProp<VDKLabel,const char*> 417 (VDKLabel::VDKLabel): made label-argument const 418 (VDKLabel::SetCaption): made argument a const pointer 419 (VDKLabel::GetCaption): made return-value a const-pointer 420 421 * vdk/notebook.h 422 (VDKNotebook::AddPage): 423 (VDKPage::AddPage): 424 added const-qualifier to signatur -> AddPage(VDKObj*, const char*, 425 426 427 * testvdk/edcompo.cc: 428 * vdk/siglisthandle.h: add #include <cstring> and thus use of namespace 429 4302001-05-25 Tim Lorenz <tim@marder.flotte> 431 432 * several: Changed to include c++-versions of c-headers (like cstring 433 instead of string.h). 434 This step requires a compiler with proper handling of namespaces, 435 gcc-2.95.3 and gcc-3.0 can handle this. 436 Affected files: vdk/vdktextview.cc vdk/vdkdate.cc 437 vdk/vdkcolorbrowser.cc vdk/text.cc vdk/rawobj.cc vdk/pixmaps.cc 438 vdk/image.cc vdk/vdkprops.h vdk/vdkregex.h vdk/vdkstring.cc 439 vdk/vdkfont.cc vdk/vdkeditor.cc vdk/vdkctree.cc vdk/vdkcsortlist.cc 440 vdk/vdkclist.cc vdk/tooltips.cc vdk/rawpixmap.cc vdk/rawpixbuf.cc 441 vdk/radiobtngroup.cc vdk/filedlg.cc vdk/combo.cc vdk/chart.cc 442 vdk/FileDialog.cc vdk/messagebox.cc vdk/numentry.cc: 443 444 * vdk/label.cc: 445 * vdk/evhandle.h: added #include <cstring> 446 447 * testvdk/testvdk.cc: converted multi-line string to multi string lines 448 4492001-05-25 Motta Mario <mmotta@guest.net> 450 * dummy commit 451 4522001-05-22 Motta Mario <mmotta@guest.net> 453 * entry.cc 454 Modified SetText() to make it utf8 compliant. 455 4562001-05-14 Tim Lorenz <tim@lorenz.nu> 457 458 CLEANUP: 459 * vdk/vdkcustom.cc (VDKObject::make_gtksigc_connection): removed 460 (no more needed here, see below)(affected files: several ;-) 461 * vdk/vdkobj.cc: Removed deprecated Signals: OnKeyPress, OnKeyRelease 462 * vdk/vdk.h: removed #include <vdkpacker.h> 463 464 GCC-3.0: 465 Begun to add support for gcc-3.0 466 * added #include <string.h> to several files (needed for gcc 3.0) 467 * configure.in: Added namespace to string and auto_ptr test 468 (needed for gcc-3.0) 469 * vdk/checkbutton.cc (SetForeground): added explicit cast 470 (needed for gcc-3.0) same in vdk/spins.cc (SetForeground) and 471 (SetBackground) 472 * vdk/evhandle.h (ON_EVENT): removed g++-3.0 irritating prenthesis 473 4742001-05-06 Motta Mario <mmotta@guest.net> 475 476CODE BREAK 477-------- 478 * toolbar.cc/.h 479 VDKToolbar properties: 480 - Relief 481 - Spacing 482 - SpaceStyle 483 are now themeable properties out of programmer control. 484 Therefore even if mantained as void properties for backward compatibility, 485 their use is deprecated and will be completely removed in future versions. 486 - VDKToolbar::Borderless property, even if deprecated, is mantained operative. 487 However his setting may be overridden changing themes. 488 * menus.cc/.h 489 VDKMenubar::Shadow property is now themeable, so above considerations apply as well. 490 4912001-04-25 Motta Mario <mmotta@guest.net> 492CODE BREAK 493--------- 494 * Removed gtkpacker widget wrapper 495 4962001-04-10 Motta Mario <mmotta@guest.net> 497 498 * Gtk+ patched at line 2539 of gtkdnd.c: 499 Event handler set to return always FALSE otherwise many widgets became insensitive. 500 This gtk+ bug showed a more general and serious bug: returning TRUE from an event 501 handler often blocks any further event propagation also in separated connections. 502 This bug happened recently on cvs snapshot and 1.3.3 release. Previous snapshots and 503 releases didn't show this error. Mailed a msg to gtk-list and made a report to bugzilla. 504 * Changed all event handlers on vdk to return FALSE, this fixed many weird bugs and behaviours. 505 506 5072001-03-28 Motta Mario <mmotta@guest.net> 508 * VDKEditor.cc 509 Added ctrl-1 as word completion keystroke. (ctrl-tab conflicts with kde defaults) 510 5112001-03-24 Motta Mario <mmotta@guest.net> 512CODE BREAK 513--------- 514REMOVED * removed deprecated VDKLabelButton and VDKPixmapButton, 515------- these widgets are substitued by VDKCustomButton 516 5172001-03-04 Motta Mario <mmotta@guest.net> 518NEW * VDKPixmap (deprecated) 519--- Added a bool sensitive arg to constructors (defaults to false), if true pixmap will be 520 embedded into an event box, in a normal box otherwise. Not sensitive means that the widget 521 won't react to any signal. 522 Tips: 523 - in insensitive mode an user that wants pixmap receiving signals should embedd 524 explicitely this widget into a VDKEventBox and connect signals to this one instead 525 pixmap directly. 526 Tip: 527 in insensitive mode to set a tip to a pixmap, embedd it into an event box and set the tip to 528 the event box instead. 529 * VDKImage 530 Same as above. 531NEW * VDKCustomButton 532--- VDKPixmap (deprecated) substituted with a VDKImage. 533 * VDKLabelButton and VDKPixmapButton marked as deprecated, will be cut on first vdk2 release. 534 5352001-03-01 Motta Mario <mmotta@guest.net> 536 * vdkeditor 537 Modified SaveToFile() to avoid that 0xFFFC char that is used as image placeholder. 538 5392001-02-28 Motta Mario <mmotta@guest.net> 540 * combo.cc/.h 541 Same as below for entry part of combobox widget. 542 5432001-02-27 Motta Mario <mmotta@guest.net> 544 * entry.cc/.h 545 Added a data member "buffer" as VDKString. 546 Deprecated gtk_entry_get_text() not more used to get Text property, 547 instead is used gtk_editable_get_chars() that loads buffer. 548 Getting entry->Text property now returns (char*) buffer. 549 ** WARNING ** 550 Accessing to internal VDKString buffer violates OOP data hiding 551 concept, user should make a copy of the returned buffer before 552 make any modification. 553 i.e. 554 VDKString my_own_buffer = entry->Text; 555 // safely modify: 556 my_own_buffer += "tail"; 557 entry->Text = my_own_buffer; // is safe however 558 5592001-02-16 Motta Mario <mmotta@guest.net> 560 * vdkobj.cc 561 Changed 562 static void VDKObject::VDKEventPipe() 563 static void VDKObject::VDKEventUnitPipe() 564 to 565 static int VDKObject::VDKEventPipe() 566 static int VDKObject::VDKEventUnitPipe() 567 as should be. 568 5692001-02-15 Motta Mario <mmotta@guest.net> 570NEW * vdk/notebook.cc,.h 571--- Added a Child() function member to TabPage object that accesses to the object contained 572 into a page. 573 Usage: 574 notebook->Pages[x]->Child() 575 WARNING: since this method could break data hiding concept 576 user should avoid manipulating received address or make it at his own risk. 577 5782001-02-14 Motta Mario <mmotta@guest.net> 579 * Added more examples to testvdk program. 580 5812001-02-12 Motta Mario <mmotta@guest.net> 582 * VDK 2.0 NOW BASED ON GTK CVS SNAPSHOTS 583 ---------------------------------------- 584 To closely track gtk 2.0 developing now vdk 2.0 is based on latest 585 glib/pango/gtk+ cvs snapshot. 586 Actually vdk 2.0 does not compile in gtk 1.3.2 and requires latest cvs snapshot. 587 Gnome cvs instructions: 588 a. first download 589 $ export CVSROOT=':pserver:anonymous@anoncvs.gnome.org:/cvs/gnome' 590 $ cvs login 591 (there is no password, just hit return) 592 $ cvs -z3 checkout glib pango gtk+ 593 b. after initial checkout: 594 $ cvs -z3 update glib pango gtk+ 595 5962001-02-12 Motta Mario <mmotta@guest.net> 597 * Added: 598 vdk/vdkeditor.h vdk/vdkeditor.cc 599 testvdk/tokens.db 600NEW Implemented a nice source editor wrapping Mike Hamerson gtksourceview 0.0.2 601WIDGET (still on alpha), with syntax hilighting and other nice feautures 602----- such as word completion (ctrl-tab) , parent matching, etc. 603 See testvdk.cc 604CODE * VDKText widget not more supported and removed from cvs tree, 605BREAK VDKTextView will replace removed widget. 606----- 6072001-02-11 Motta Mario <mmotta@guest.net> 608 * vdkobj.cc 609 VDKObject::Destroy() revisited and hopefully simplified. 6102001-02-04 Motta Mario <mmotta@guest.net> 611 * Added: 612 vdk/rawpixbuf.h vdk/rwapixbuf.cc 613 vdk/image.h vdk/image.cc 614 testvdk/vitrurian.png 615NEW * New widgets: 616WIDGET - VDKRawPixbuf, wrapper of GdkPixbuff, should substitute VDKRawPixmap now deprecated 617------ (more flexible since supports several graph file formats) 618NEW - VDKImage, wrapper of GtkImage should substitute VDKPixmap now deprecated 619WIDGET (more flexible since supports several graph file formats) 620------ * Changed testvdk to support VDKImage test. 621 6222001-01-24 Motta Mario <mmotta@guest.net> 623 * Added: 624 vdk/vdktextview.h vdk/vdktextview.cc (wrapper of GtkTextView) 625 626NEW Implemented VDKTextView a gtktextview wrapper that would substitute 627WIDGET deprecated and buggy VDKText. 628----- 629 6302001-01-02 Motta Mario <mmotta@guest.net> 631BUG * gboolean window_is_iconified (GdkWindow *window) (forms.cc) 632FIX now work properly. 633--- 634 6352000-12-24 Motta Mario <mmotta@guest.net> 636 * dummy commit, cvs transferred to new amd athlon machine 637 6382000-12-09 Motta Mario <mmotta@guest.net> 639NEW * VDKTimer 640--- Added a "TickTime" property that permits to change 641 timer granularity on the fly. 642 Suggested by a request from: wslu <wslu@263.net> 643 6442000-12-05 Motta Mario <mmotta@guest.net> 645NEW * application.cc 646--- VDKApplication::MessageBox() now uses default gtk+ 647 dialogs. Api unchanged, some features extended with new 648 modal modes. (see application.h) 649 * canvas.cc 650 Modified DrawString() and DrawText() to new font (pango) stuff. 651 * chart.cc 652 Modified text drawing for the same reasons as above. 653 654 6552000-11-29 Motta Mario <mmotta@guest.net> 656 657BUG * forms.cc 658--- gboolean window_is_iconified (GdkWindow *window) 659 disabled for now, returning always false. 660 6612000-11-28 Tim Lorenz <lorenz@extended.de> 662 663 * sigcvdktest 664 added directory, contains old test-programm and new one: 665 props_test.cc (see below). 666 667NEW * vdk/vdkprops.h : Added a signal to property for notification 668--- of property-changes. see next entry. 669 Fixed Value: now returns the value as type S (not T as before). 670 Furthermore Value is const now (pointer-types are automatically 671 casted to const, someone should prove it with gcc < 2.95.2, 672 see test-programm). 673 674 * vdk/sigc_addon.h: introduced template DualSignal#, VDKSignal# 675 is now a specialization from this. DualSignal is intended for 676 use with signals in VDK..Prop-Template. 677 6782000-11-26 Tim Lorenz <lorenz@extended.de> 679 680 * vdk/vdkprops.h (class VDKReadWriteValueProp ): made name in ctor 681 const. Did the same for class VDKReadOnlyProp. 682 6832000-11-26 Motta Mario <mmotta@guest.net> 684BUG * VDKCustom (vdkcustom.cc, .h) 685--- Setting AutoResize property to true sigsegv's 686 for an unknown reason. 687 Now AutoResize property is "false" by default. 688 6892000-11-22 Motta Mario <mmotta@guest.net> 690 * VDKText (text.cc,.h) 691BUG POSSIBLY A BUG on gtk+ 1.3.2: 692--- - is difficult trap "realize" signal in a safe way using 693 both static and dynamics tables on this widget. 694 - a possible work around is to use a lower call to 695 gtk_signal_connect() and connect with a static function 696 that uses a static buffer on which file selection is stored 697 (inelegant but works). 698 - however i have experienced that in most cases is not necessary 699 to connect with a realize signal provided that all font and colors 700 setting are made before adding the widget and file loading made 701 after. 702 Recall that this widget is near to be declared as "deprecated" and 703 that will be substituted with new gtk_text based on 704 view-buffer-controller model. 705 706NEW * VDKFont (vdkfont.cc,.h) 707--- Changed to support new Pango rendering library, backward 708 compatibility with GdkFont is mantained via (GdkFont*) 709 and AsGdkFont() operators, user should gdk_font_unref() 710 after use. 711 ie: 712 VDKFont* font = new VDKFont(this,"courier bold 12"); 713 GdkFont* gdkfont = font->AsGdkFont(); 714 //... use gdkfont 715 gdk_font_unref(gdkfont); 716 717CODE Code breaks: 718BREAK ----------- 719----- VDKFont::Height( char* s) instead VDKFont::Height(), computes 720 an average string height. 721 722 * VDKCustom (vdkcustom.cc,.h) 723NEW - SelectedBackground and SelectedForeground changed to be real 724--- properties instead public members as they were. 725 - UnselectedBackground and UnselectedForeground changed to real 726 properties, instead public members as they were, their use is 727 deprecated however and reverts to setting colors as 728 NormalBackground and Foreground. 729 7302000-11-21 Motta Mario <mmotta@guest.net> 731 * Development of a new vdk test program begins 732 after having ported ./example/hello and ./example/hello2 on 733 vdk 2.0.0 (beta). 734 7352000-11-20 Motta Mario <mmotta@guest.net> 736 * development of VDK 2.0.0 (beta) based on gtk+ 1.3.2 737 begins. 738 Gtk+-1.3.2 is an unstable preview of what gtk+2.0 will be, 739 porting to gtk+1.3.2 was relatively easy (still in progress), 740 few changes was necessary to recompile vdk on new gtk+-1.3.2 741 with an unchanged API, so no source code breaks with an 742 exception on VDKFont now based on pango library, old VDKFont 743 can't remain backward compatible even if with unchanged API. 744 Application made with vdk 1.2. series should be source compatibles 745 with vdk 2.0 (not binary compatibles however) provided that they 746 do not use one of the vdk components based of non-stock gtk+ widgets 747 that unfortunately we lost. 748 749 What we have lost switching to gtk+ 1.3.2: 750 - gtkcombobutton 751 Used on VDKCustomButton class which is now modified, 752 with API unchanged. I plan to ask to original author if it will 753 support gtkcombobutton on new gtk+ version. 754 755 - VDKFileTreeDialog 756 Based on an old gtkdirtree widget. We won't recover it. 757 758 - VDKDatabox 759 Based on gtkdatabox, we will recover it if Ionutz has time to 760 make the porting after having asked to his original author. 761 762 - VDKGrid 763 Based on gtksheet, it will be recovered since A.Feiguin assured me 764 that he will port gtksheet also on gtk+ 2.0 765 766 - VDKFileIconDialog 767 Based on gtkiconfilesel, same as above. 768 769 - VDKCoolbar and VDKCoolButton 770 We won't recover them, was already "deprecated" on previous vdk 771 versions 772 773 - VDKPanedForm and VDKScrolledForm 774 As above, was deprecated. 775 776 - VDKColorBrowser 777 It depends on VDKGrid, it will be recovered. 778 779 - VDKLabelToggleButton and VDKPixmapToggleButton 780 Won't be recovered, was deprecated and substituted with 781 VDKCustomButtons. (Tim i guess you have to modify your sigc 782 test program). 783======= 7842002-03-23 George Boutwell <gboutwel@praize.com> 785WIN32 * Development on vdkwin32 (beta) project begins. 786 Based on gtk+ 2.0 win32 & vdk 2.0.1 (current cvs): 787 Gtk+-2.0 win32 should be considered more or less unstable port 788 of gtk+2.0 (*nix), porting to gtk+2.0 (win32) was fairly easy 789 (still in progress), a few changes where necessary to recompile 790 vdk on gtk+-2.0 (win32). Most of them had to do with the lack 791 (or more precisely non-use) of an autoconf/automake environement. 792 Added an lot of #ifdef HAVE_CONFIG_H...#endifs solve about 3/4 793 compile problems. Added an VDKWIN32 define to makefile.mingw to 794 indicate in code vdkwin32 specifics. 795 Currently the vdk library (both shared and static), testvdk, & 796 testvdkstring code has been successfully compiled under win32 (WinNT 4.0) 797 7982002-03-19 Motta Mario <mmotta@guest.net> 799 Version renamed to 2.0.1 for further develop and bug fixes. 800 8012002-03-13 Motta Mario <mmotta@guest.net> 802 *** VDK 2.0.0 RELEASED *** 803 8042002-03-08 Motta Mario <mmotta@guest.net> 805 * written an example of VDKDrawArea usage into ./testvdk 806 8072002-03-05 Motta Mario <mmotta@guest.net> 808NEW Added new widget: VDKDrawingArea that should substitute deprecated VDKCanvas. 809___ However VDKcanvas isn't really deprecated, it will continue to be supported even if 810 not more enhanced. Simply VDKDrawingArea is a better widget, much powerfull and easy to use. 811 VDKDrawingArea is contained into vdkdrawarea.h/.cc files. 812 8132002-02-20 Motta Mario <mmotta@guest.net> 814 * canvas.cc .h 815 Overridden VDKCanvas::SetFont() that now uses its own font (or default 816 one if not set). 817 This removes an old problem with canvas setting font into an expose_event response 818 function: VDKcanvas::SetFont() used VDKObject::SetFont() that modifies widget style 819 triggering an expose_event and an infinite loop if used into an expose_event response 820 function. Now resolved using font explicitely without interesting widget style. 821 8222002-02-12 Motta Mario <mmotta@guest.net> 823CODE * canvas.cc .h 824BREAK Made an huge clean up of received events. 825---- Now events on canvas must be handled with dynamic signals table. 826 Removed some properties: 827 - Captured 828 - EnableDrag 829 8302002-01-19 Motta Mario <mmotta@guest.net> 831NEW * Added VDKCalendar widget, wraps GtkCalendar (vdkcalendar.cc /.h) 832--- Moved from builder plugins into vdk core library. 833 8342002-01-17 Motta Mario <mmotta@guest.net> 835 * vdktreeview.cc/.h 836 Improuved VDKTreeView API 837 8382001-12-31 Motta Mario <mmotta@guest.net> 839 * vdk/vdktreeview.cc /.h 840 - Added a VDKTreeViewModel iterator API 841 - Added new properties and methods to VDKTreeView API 842 * testvdk/treeviewcompo.cc 843 * Changed to reflect API changes 844 8452001-12-29 Motta Mario <mmotta@guest.net> 846NEW * scrolled.cc/.h 847--- Added BorderShadow property to VDKScrolled class 848 8492001-12-23 Motta Mario <mmotta@guest.net> 850NEW * value_sem_list.h / dlist.h 851--- Added: 852 -- decremental operator (both infix and postfix) 853 - first(),last() operators. 854 To VDKValueListIterator<> and VDKListIterator<> template classes 855 8562001-12-17 Motta Mario <mmotta@guest.net> 857NEW * vdktreeview.cc .h 858--- Added VDKTreeView class and companions. 859 This class wraps GtkTreeView widget. 860 (incomplete) 861 8622001-12-07 Motta Mario <mmotta@guest.net> 863CODE * vdkprops.h 864BREAK Changed prop value internal assignement made after have calling 865----- setting function. In other words setting function finds prop value 866 at old value when called. 867 This avoid a subtle bug when is necessary to operate on old prop value 868 into the setting function. 869 *** Raw setting function calls are now deprecated. *** 870 8712001-09-28 Motta Mario <mmotta@guest.net> 872NEW * Added VDKInputChannel class 873--- Thanks to Jonathan Hudson <jonathan@daria.co.uk> . 874 8752001-08-22 Motta Mario <mmotta@guest.net> 876CODE * vdkcustom.cc 877BREAK SelectedForeground,Unselectedbackground,UnselectedForeground properties 878----- are now of VDKRgb type to mantain consistency with others color props. 879 8802001-08-15 Tim Lorenz <tim@lorenz.nu> 881 * Trivial Changes to let sigc-extension work with libsigc++-1.0.3 882 under gcc-3.0 883 * configure.in: 884 Added AC_PREREQ(2.50) 885 8862001-08-15 Motta Mario <mmotta@guest.net> 887BUG FIX * VDKCustom.cc/.h 888------ Get rid of SelectedBackground property since it conflicts with 889 VDKObject::SelectedBackground. 890 Modified overridden SetBackGround 891 * testvdk/testvdk.cc 892 Modified to reflect above changes. 893 (Bug reported by Tim) 894 8952001-08-14 Motta Mario <mmotta@guest.net> 896BUG * siglisthandle.h /evlisthandle.h 897FIX Got ride of VDKString in VDK dynamic signal tables. 898--- (probably) due to a gcc 2.96.x compiler weirdness on 899 const we experienced obscure seg faults during signal table scan. 900 VDKString _VDK_Signal_Unit.signal and _VDK_Event_Unit.event 901 substituted with a plain char[]. Sigh :-( 902 9032001-08-11 Motta Mario <mmotta@guest.net> 904BUG * vdkclist.cc vdkctree.cc 905FIX Correctly initialized sigwid with gtk+ widget. This bug 906--- didn't correctly SignalConnect() under some circustances. 907 9082001-07-27 Motta Mario <mmotta@guest.net> 909NEW * Added VDKThread class, a simple wrapper on posix threads. 910___ Thanks to Salmaso Raffaele <r.salmaso@flashnet.it> 911 that did it on 1999. 912 9132001-07-04 Motta Mario <mmotta@guest.net> 914 * vdk updated to latest cvs (gtk+ 1.3.7) 915 * forms.cc 916 GetPosition() changed to use gdk_window_root_origin() to fix a 917 coordinate error. 918 9192001-05-29 Tim Lorenz <tim@marder.flotte> 920 921 The Long Story of Constness: 922 * vdk/vdkeditor.h (VDKEditor::MakeCompletition): 923 made arg const 924 * vdk/vdkedtior.cc (overlap): second arg is const now 925 * vdk/vdkclist.h (class VDKCustomList::_update_pix): consted 926 (SelectionProp::Row): and (Selection::Col): are const methods now. 927 (VDKCustomList::UpdateCell): arg s ist const-pointer now. 928 * vdk/vdkcsortlist.h (VDKCustomSortedList::FindKey): 929 (VDKCustomSortedList::RemoveKey): 930 (VDKCustomSortedList::UpdateCellKey): 931 (VDKCustomSortedList::UpdateKey): 932 The key argument is declared const now (as passed to VDKString-Ctor) 933 I did some more const changes but did not list them. 934 935 Made type-converter operator of VDKRWProp a const method. 936 9372001-05-28 Tim Lorenz <tim@marder.flotte> 938 Tales about const 939 * testvdk/edcompo.cc: 940 (ToggledSource): also operate on const pointer arg (just to be nice). 941 Fixed mem. leak in abortive return (use of std::string would make life 942 easier ;-) 943 (EditorComponent::HasPage): add const qual. to local var. 'fn' 944 945 * vdk/notebook.h (class VDKNotebook::AddPage): consted one arg 946 * vdk/vdkcustombutton.h (VDKCustomButton::SetCaption): 947 (VDKCustomButton::GetCaption): made string a const char* pointer 948 (VDKCustomButton::Caption): 'value_type' now const char* 949 (VDKCustomButton::VDKCustomButton()): label-arg is a const-pointer now 950 * vdk/label.h (VDKLabel::Caption): 951 set second tpl. arg. to const char* -> VDKRWProp<VDKLabel,const char*> 952 (VDKLabel::VDKLabel): made label-argument const 953 (VDKLabel::SetCaption): made argument a const pointer 954 (VDKLabel::GetCaption): made return-value a const-pointer 955 956 * vdk/notebook.h 957 (VDKNotebook::AddPage): 958 (VDKPage::AddPage): 959 added const-qualifier to signatur -> AddPage(VDKObj*, const char*, 960 961 962 * testvdk/edcompo.cc: 963 * vdk/siglisthandle.h: add #include <cstring> and thus use of namespace 964 9652001-05-25 Tim Lorenz <tim@marder.flotte> 966 967 * several: Changed to include c++-versions of c-headers (like cstring 968 instead of string.h). 969 This step requires a compiler with proper handling of namespaces, 970 gcc-2.95.3 and gcc-3.0 can handle this. 971 Affected files: vdk/vdktextview.cc vdk/vdkdate.cc 972 vdk/vdkcolorbrowser.cc vdk/text.cc vdk/rawobj.cc vdk/pixmaps.cc 973 vdk/image.cc vdk/vdkprops.h vdk/vdkregex.h vdk/vdkstring.cc 974 vdk/vdkfont.cc vdk/vdkeditor.cc vdk/vdkctree.cc vdk/vdkcsortlist.cc 975 vdk/vdkclist.cc vdk/tooltips.cc vdk/rawpixmap.cc vdk/rawpixbuf.cc 976 vdk/radiobtngroup.cc vdk/filedlg.cc vdk/combo.cc vdk/chart.cc 977 vdk/FileDialog.cc vdk/messagebox.cc vdk/numentry.cc: 978 979 * vdk/label.cc: 980 * vdk/evhandle.h: added #include <cstring> 981 982 * testvdk/testvdk.cc: converted multi-line string to multi string lines 983 9842001-05-25 Motta Mario <mmotta@guest.net> 985 * dummy commit 986 9872001-05-22 Motta Mario <mmotta@guest.net> 988 * entry.cc 989 Modified SetText() to make it utf8 compliant. 990 9912001-05-14 Tim Lorenz <tim@lorenz.nu> 992 993 CLEANUP: 994 * vdk/vdkcustom.cc (VDKObject::make_gtksigc_connection): removed 995 (no more needed here, see below)(affected files: several ;-) 996 * vdk/vdkobj.cc: Removed deprecated Signals: OnKeyPress, OnKeyRelease 997 * vdk/vdk.h: removed #include <vdkpacker.h> 998 999 GCC-3.0: 1000 Begun to add support for gcc-3.0 1001 * added #include <string.h> to several files (needed for gcc 3.0) 1002 * configure.in: Added namespace to string and auto_ptr test 1003 (needed for gcc-3.0) 1004 * vdk/checkbutton.cc (SetForeground): added explicit cast 1005 (needed for gcc-3.0) same in vdk/spins.cc (SetForeground) and 1006 (SetBackground) 1007 * vdk/evhandle.h (ON_EVENT): removed g++-3.0 irritating prenthesis 1008 10092001-05-06 Motta Mario <mmotta@guest.net> 1010 1011CODE BREAK 1012-------- 1013 * toolbar.cc/.h 1014 VDKToolbar properties: 1015 - Relief 1016 - Spacing 1017 - SpaceStyle 1018 are now themeable properties out of programmer control. 1019 Therefore even if mantained as void properties for backward compatibility, 1020 their use is deprecated and will be completely removed in future versions. 1021 - VDKToolbar::Borderless property, even if deprecated, is mantained operative. 1022 However his setting may be overridden changing themes. 1023 * menus.cc/.h 1024 VDKMenubar::Shadow property is now themeable, so above considerations apply as well. 1025 10262001-04-25 Motta Mario <mmotta@guest.net> 1027CODE BREAK 1028--------- 1029 * Removed gtkpacker widget wrapper 1030 10312001-04-10 Motta Mario <mmotta@guest.net> 1032 1033 * Gtk+ patched at line 2539 of gtkdnd.c: 1034 Event handler set to return always FALSE otherwise many widgets became insensitive. 1035 This gtk+ bug showed a more general and serious bug: returning TRUE from an event 1036 handler often blocks any further event propagation also in separated connections. 1037 This bug happened recently on cvs snapshot and 1.3.3 release. Previous snapshots and 1038 releases didn't show this error. Mailed a msg to gtk-list and made a report to bugzilla. 1039 * Changed all event handlers on vdk to return FALSE, this fixed many weird bugs and behaviours. 1040 1041 10422001-03-28 Motta Mario <mmotta@guest.net> 1043 * VDKEditor.cc 1044 Added ctrl-1 as word completion keystroke. (ctrl-tab conflicts with kde defaults) 1045 10462001-03-24 Motta Mario <mmotta@guest.net> 1047CODE BREAK 1048--------- 1049REMOVED * removed deprecated VDKLabelButton and VDKPixmapButton, 1050------- these widgets are substitued by VDKCustomButton 1051 10522001-03-04 Motta Mario <mmotta@guest.net> 1053NEW * VDKPixmap (deprecated) 1054--- Added a bool sensitive arg to constructors (defaults to false), if true pixmap will be 1055 embedded into an event box, in a normal box otherwise. Not sensitive means that the widget 1056 won't react to any signal. 1057 Tips: 1058 - in insensitive mode an user that wants pixmap receiving signals should embedd 1059 explicitely this widget into a VDKEventBox and connect signals to this one instead 1060 pixmap directly. 1061 Tip: 1062 in insensitive mode to set a tip to a pixmap, embedd it into an event box and set the tip to 1063 the event box instead. 1064 * VDKImage 1065 Same as above. 1066NEW * VDKCustomButton 1067--- VDKPixmap (deprecated) substituted with a VDKImage. 1068 * VDKLabelButton and VDKPixmapButton marked as deprecated, will be cut on first vdk2 release. 1069 10702001-03-01 Motta Mario <mmotta@guest.net> 1071 * vdkeditor 1072 Modified SaveToFile() to avoid that 0xFFFC char that is used as image placeholder. 1073 10742001-02-28 Motta Mario <mmotta@guest.net> 1075 * combo.cc/.h 1076 Same as below for entry part of combobox widget. 1077 10782001-02-27 Motta Mario <mmotta@guest.net> 1079 * entry.cc/.h 1080 Added a data member "buffer" as VDKString. 1081 Deprecated gtk_entry_get_text() not more used to get Text property, 1082 instead is used gtk_editable_get_chars() that loads buffer. 1083 Getting entry->Text property now returns (char*) buffer. 1084 ** WARNING ** 1085 Accessing to internal VDKString buffer violates OOP data hiding 1086 concept, user should make a copy of the returned buffer before 1087 make any modification. 1088 i.e. 1089 VDKString my_own_buffer = entry->Text; 1090 // safely modify: 1091 my_own_buffer += "tail"; 1092 entry->Text = my_own_buffer; // is safe however 1093 10942001-02-16 Motta Mario <mmotta@guest.net> 1095 * vdkobj.cc 1096 Changed 1097 static void VDKObject::VDKEventPipe() 1098 static void VDKObject::VDKEventUnitPipe() 1099 to 1100 static int VDKObject::VDKEventPipe() 1101 static int VDKObject::VDKEventUnitPipe() 1102 as should be. 1103 11042001-02-15 Motta Mario <mmotta@guest.net> 1105NEW * vdk/notebook.cc,.h 1106--- Added a Child() function member to TabPage object that accesses to the object contained 1107 into a page. 1108 Usage: 1109 notebook->Pages[x]->Child() 1110 WARNING: since this method could break data hiding concept 1111 user should avoid manipulating received address or make it at his own risk. 1112 11132001-02-14 Motta Mario <mmotta@guest.net> 1114 * Added more examples to testvdk program. 1115 11162001-02-12 Motta Mario <mmotta@guest.net> 1117 * VDK 2.0 NOW BASED ON GTK CVS SNAPSHOTS 1118 ---------------------------------------- 1119 To closely track gtk 2.0 developing now vdk 2.0 is based on latest 1120 glib/pango/gtk+ cvs snapshot. 1121 Actually vdk 2.0 does not compile in gtk 1.3.2 and requires latest cvs snapshot. 1122 Gnome cvs instructions: 1123 a. first download 1124 $ export CVSROOT=':pserver:anonymous@anoncvs.gnome.org:/cvs/gnome' 1125 $ cvs login 1126 (there is no password, just hit return) 1127 $ cvs -z3 checkout glib pango gtk+ 1128 b. after initial checkout: 1129 $ cvs -z3 update glib pango gtk+ 1130 11312001-02-12 Motta Mario <mmotta@guest.net> 1132 * Added: 1133 vdk/vdkeditor.h vdk/vdkeditor.cc 1134 testvdk/tokens.db 1135NEW Implemented a nice source editor wrapping Mike Hamerson gtksourceview 0.0.2 1136WIDGET (still on alpha), with syntax hilighting and other nice feautures 1137----- such as word completion (ctrl-tab) , parent matching, etc. 1138 See testvdk.cc 1139CODE * VDKText widget not more supported and removed from cvs tree, 1140BREAK VDKTextView will replace removed widget. 1141----- 11422001-02-11 Motta Mario <mmotta@guest.net> 1143 * vdkobj.cc 1144 VDKObject::Destroy() revisited and hopefully simplified. 11452001-02-04 Motta Mario <mmotta@guest.net> 1146 * Added: 1147 vdk/rawpixbuf.h vdk/rwapixbuf.cc 1148 vdk/image.h vdk/image.cc 1149 testvdk/vitrurian.png 1150NEW * New widgets: 1151WIDGET - VDKRawPixbuf, wrapper of GdkPixbuff, should substitute VDKRawPixmap now deprecated 1152------ (more flexible since supports several graph file formats) 1153NEW - VDKImage, wrapper of GtkImage should substitute VDKPixmap now deprecated 1154WIDGET (more flexible since supports several graph file formats) 1155------ * Changed testvdk to support VDKImage test. 1156 11572001-01-24 Motta Mario <mmotta@guest.net> 1158 * Added: 1159 vdk/vdktextview.h vdk/vdktextview.cc (wrapper of GtkTextView) 1160 1161NEW Implemented VDKTextView a gtktextview wrapper that would substitute 1162WIDGET deprecated and buggy VDKText. 1163----- 1164 11652001-01-02 Motta Mario <mmotta@guest.net> 1166BUG * gboolean window_is_iconified (GdkWindow *window) (forms.cc) 1167FIX now work properly. 1168--- 1169 11702000-12-24 Motta Mario <mmotta@guest.net> 1171 * dummy commit, cvs transferred to new amd athlon machine 1172 11732000-12-09 Motta Mario <mmotta@guest.net> 1174NEW * VDKTimer 1175--- Added a "TickTime" property that permits to change 1176 timer granularity on the fly. 1177 Suggested by a request from: wslu <wslu@263.net> 1178 11792000-12-05 Motta Mario <mmotta@guest.net> 1180NEW * application.cc 1181--- VDKApplication::MessageBox() now uses default gtk+ 1182 dialogs. Api unchanged, some features extended with new 1183 modal modes. (see application.h) 1184 * canvas.cc 1185 Modified DrawString() and DrawText() to new font (pango) stuff. 1186 * chart.cc 1187 Modified text drawing for the same reasons as above. 1188 1189 11902000-11-29 Motta Mario <mmotta@guest.net> 1191 1192BUG * forms.cc 1193--- gboolean window_is_iconified (GdkWindow *window) 1194 disabled for now, returning always false. 1195 11962000-11-28 Tim Lorenz <lorenz@extended.de> 1197 1198 * sigcvdktest 1199 added directory, contains old test-programm and new one: 1200 props_test.cc (see below). 1201 1202NEW * vdk/vdkprops.h : Added a signal to property for notification 1203--- of property-changes. see next entry. 1204 Fixed Value: now returns the value as type S (not T as before). 1205 Furthermore Value is const now (pointer-types are automatically 1206 casted to const, someone should prove it with gcc < 2.95.2, 1207 see test-programm). 1208 1209 * vdk/sigc_addon.h: introduced template DualSignal#, VDKSignal# 1210 is now a specialization from this. DualSignal is intended for 1211 use with signals in VDK..Prop-Template. 1212 12132000-11-26 Tim Lorenz <lorenz@extended.de> 1214 1215 * vdk/vdkprops.h (class VDKReadWriteValueProp ): made name in ctor 1216 const. Did the same for class VDKReadOnlyProp. 1217 12182000-11-26 Motta Mario <mmotta@guest.net> 1219BUG * VDKCustom (vdkcustom.cc, .h) 1220--- Setting AutoResize property to true sigsegv's 1221 for an unknown reason. 1222 Now AutoResize property is "false" by default. 1223 12242000-11-22 Motta Mario <mmotta@guest.net> 1225 * VDKText (text.cc,.h) 1226BUG POSSIBLY A BUG on gtk+ 1.3.2: 1227--- - is difficult trap "realize" signal in a safe way using 1228 both static and dynamics tables on this widget. 1229 - a possible work around is to use a lower call to 1230 gtk_signal_connect() and connect with a static function 1231 that uses a static buffer on which file selection is stored 1232 (inelegant but works). 1233 - however i have experienced that in most cases is not necessary 1234 to connect with a realize signal provided that all font and colors 1235 setting are made before adding the widget and file loading made 1236 after. 1237 Recall that this widget is near to be declared as "deprecated" and 1238 that will be substituted with new gtk_text based on 1239 view-buffer-controller model. 1240 1241NEW * VDKFont (vdkfont.cc,.h) 1242--- Changed to support new Pango rendering library, backward 1243 compatibility with GdkFont is mantained via (GdkFont*) 1244 and AsGdkFont() operators, user should gdk_font_unref() 1245 after use. 1246 ie: 1247 VDKFont* font = new VDKFont(this,"courier bold 12"); 1248 GdkFont* gdkfont = font->AsGdkFont(); 1249 //... use gdkfont 1250 gdk_font_unref(gdkfont); 1251 1252CODE Code breaks: 1253BREAK ----------- 1254----- VDKFont::Height( char* s) instead VDKFont::Height(), computes 1255 an average string height. 1256 1257 * VDKCustom (vdkcustom.cc,.h) 1258NEW - SelectedBackground and SelectedForeground changed to be real 1259--- properties instead public members as they were. 1260 - UnselectedBackground and UnselectedForeground changed to real 1261 properties, instead public members as they were, their use is 1262 deprecated however and reverts to setting colors as 1263 NormalBackground and Foreground. 1264 12652000-11-21 Motta Mario <mmotta@guest.net> 1266 * Development of a new vdk test program begins 1267 after having ported ./example/hello and ./example/hello2 on 1268 vdk 2.0.0 (beta). 1269 12702000-11-20 Motta Mario <mmotta@guest.net> 1271 * development of VDK 2.0.0 (beta) based on gtk+ 1.3.2 1272 begins. 1273 Gtk+-1.3.2 is an unstable preview of what gtk+2.0 will be, 1274 porting to gtk+1.3.2 was relatively easy (still in progress), 1275 few changes was necessary to recompile vdk on new gtk+-1.3.2 1276 with an unchanged API, so no source code breaks with an 1277 exception on VDKFont now based on pango library, old VDKFont 1278 can't remain backward compatible even if with unchanged API. 1279 Application made with vdk 1.2. series should be source compatibles 1280 with vdk 2.0 (not binary compatibles however) provided that they 1281 do not use one of the vdk components based of non-stock gtk+ widgets 1282 that unfortunately we lost. 1283 1284 What we have lost switching to gtk+ 1.3.2: 1285 - gtkcombobutton 1286 Used on VDKCustomButton class which is now modified, 1287 with API unchanged. I plan to ask to original author if it will 1288 support gtkcombobutton on new gtk+ version. 1289 1290 - VDKFileTreeDialog 1291 Based on an old gtkdirtree widget. We won't recover it. 1292 1293 - VDKDatabox 1294 Based on gtkdatabox, we will recover it if Ionutz has time to 1295 make the porting after having asked to his original author. 1296 1297 - VDKGrid 1298 Based on gtksheet, it will be recovered since A.Feiguin assured me 1299 that he will port gtksheet also on gtk+ 2.0 1300 1301 - VDKFileIconDialog 1302 Based on gtkiconfilesel, same as above. 1303 1304 - VDKCoolbar and VDKCoolButton 1305 We won't recover them, was already "deprecated" on previous vdk 1306 versions 1307 1308 - VDKPanedForm and VDKScrolledForm 1309 As above, was deprecated. 1310 1311 - VDKColorBrowser 1312 It depends on VDKGrid, it will be recovered. 1313 1314 - VDKLabelToggleButton and VDKPixmapToggleButton 1315 Won't be recovered, was deprecated and substituted with 1316 VDKCustomButtons. (Tim i guess you have to modify your sigc 1317 test program). 1318 1319