forked from libyui/libyui-old
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
1051 lines (718 loc) · 33.8 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
-------------------------------------------------------------------
Thu Apr 17 07:01:08 UTC 2014 - [email protected]
- Added handling of logo bar in wizard (bnc#868722)
- 3.1.2
-------------------------------------------------------------------
Wed Apr 16 14:20:41 UTC 2014 - [email protected]
- Fix YQUI destruction (bnc#867296).
- 3.1.1
-------------------------------------------------------------------
Wed Apr 9 12:44:17 UTC 2014 - [email protected]
- Added YUIOpt_titleOnLeft, YWizardMode_TitleOnLeft (bnc#868859)
- 3.1.0
-------------------------------------------------------------------
Fri Feb 21 14:54:17 UTC 2014 - [email protected]
- now building on https://ci.opensuse.org/view/libyui/ !
- adapted CMake macros for PREFIX != /usr
- use Rakefile for making srcpackage for OBS
-------------------------------------------------------------------
Fri Feb 7 11:43:20 UTC 2014 - [email protected]
- use text version of release notes with NCurses (bnc#862578)
- 3.0.13
-------------------------------------------------------------------
Wed Dec 11 10:09:19 CET 2013 - [email protected]
- added external widget plugin management
- added support for multi plugin loader (one per name)
- Version 3.0.12
-------------------------------------------------------------------
Thu Dec 5 13:19:10 UTC 2013 - [email protected]
- Added a new option for YPushButton: YUIOpt_relNotesButton;
it will pop up a dialog with externally provided release notes.
(by jsrain)
- Added a generic plugin loader libyui-NAME-[qt|gtk|ncurses]
to manage user defined external widget (by anaselli)
- 3.0.11
-------------------------------------------------------------------
Tue Aug 6 14:30:53 CEST 2013 - [email protected]
- Fixed dependencies
- Version 3.0.10
-------------------------------------------------------------------
Wed Jul 24 14:59:07 CEST 2013 - [email protected]
- fixed bnc#752278: ComboBox does not show active item when item
with empty label is present
- Version 3.0.9
-------------------------------------------------------------------
Sun Jun 30 18:52:25 CEST 2013 - [email protected]
- git describe and git --tags do not always return a git hash
to avoid cmake failure a check has been introduced with a warning
message
- skipping also .kdev4 when building source package
-------------------------------------------------------------------
Wed Jun 26 16:20:29 CEST 2013 - [email protected]
- Fixed build of libyui-qt-graph examples
- Version 3.0.8
-------------------------------------------------------------------
Mon Jun 24 16:17:06 CEST 2013 - [email protected]
- fixed the use of -DGIT_VERSION=on
- Version 3.0.7
-------------------------------------------------------------------
Sat Jun 01 08:00:00 UTC 2013 - [email protected]
- fix build with graphviz >= 2.30.0
- Version 3.0.6
-------------------------------------------------------------------
Wed May 15 15:05:00 UTC 2013 - [email protected]
- respect compiler flags of system rpm config when building RELEASE
by adding -DRESPECT_FLAGS to cmake
- add -DSKIP_LATEX to skip generation of LaTeX-based PDF-generation
when invoking `make docs`
- Version 3.0.5
-------------------------------------------------------------------
Fri May 10 14:00:00 UTC 2013 - [email protected]
- checking prefix in -doc pkg is obsolete
- use bootstrap.sh for legacy in -doc pkg here, too
-------------------------------------------------------------------
Fri May 10 10:40:00 UTC 2013 - [email protected]
- use a common toplevel CMakeLists.txt
- fix building *-doc pkgs
- Version 3.0.4
-------------------------------------------------------------------
Mon May 6 13:30:00 UTC 2013 - [email protected]
- fix build issues with ncurses and qt
- Version 3.0.3
-------------------------------------------------------------------
Mon May 6 11:09:31 UTC 2013 - [email protected]
- use SONAME from libyui instead of VERSION.cmake if plugin
- bumped up patch-version to 3.0.2
- disabled auto-gen of docs
INSTALL_DOCS=ON will no longer auto-gen the docs
added a warning to run "make docs" before "make install"
- add DOC_SUBDIR to CMake-Vars
some distributions prefer %{name}-%{version} over
%{name}-%{soname_major} as doc-subdir.
-------------------------------------------------------------------
Tue Apr 30 09:21:48 CEST 2013 - [email protected]
- Increased version because of changed function names
- Version 3.0.1
-------------------------------------------------------------------
Fri Feb 8 15:22:03 CET 2013 - [email protected]
- Code clean-up: removed java-like get-prefix
- Version 2.42.7
-------------------------------------------------------------------
Mon Feb 4 15:46:13 CET 2013 - [email protected]
- Added setLocaleDir(), getLocaleDir()
- Version 2.42.6
-------------------------------------------------------------------
Sat Jan 19 23:55:33 CET 2013 - [email protected]
- wrong path for Libyui_config.h
-------------------------------------------------------------------
Fri Jan 18 14:51:40 CET 2013 - [email protected]
- Fixed YSettings
- Added setThemeDir(), getThemeDir(), setIconsDir() and
getIconsDir() to YSettings
-------------------------------------------------------------------
Mon Jan 7 12:59:46 CET 2013 - [email protected]
- Removed needless loadPluginLib() from header file
- Version 2.42.4
-------------------------------------------------------------------
Fri Nov 2 15:03:47 CET 2012 - [email protected]
- Added new API to managed application title and icon
- Added the availiability to build a git sha1 versioned package using cmake -DGIT_VERSION=on
-------------------------------------------------------------------
Fri Sep 7 13:48:44 CEST 2012 - [email protected]
- Version 2.42.2
-------------------------------------------------------------------
Tue Sep 4 14:33:29 CEST 2012 - [email protected]
- Fixed requirements in doc spec file
-------------------------------------------------------------------
Wed May 2 16:45:38 CEST 2012 - [email protected]
- Fixed bnc#753784: YaST help dialogs appear fullscreen
- Version: 2.21.4
-------------------------------------------------------------------
Thu Apr 12 14:23:02 CEST 2012 - [email protected]
- Fix build with gcc 4.7.
-------------------------------------------------------------------
Fri Mar 16 10:56:18 CET 2012 - [email protected]
- Fixed bnc#722325: untranslated rpm groups
- Version: 2.21.3
-------------------------------------------------------------------
Fri Nov 25 12:22:06 UTC 2011 - [email protected]
- add libtool as buildrequire to avoid implicit dependency
-------------------------------------------------------------------
Wed Nov 16 14:06:41 CET 2011 - [email protected]
- Fixed bnc#713343: YaST ncurses help screen is too small
- Version: 2.21.2
-------------------------------------------------------------------
Tue Apr 19 12:09:27 CEST 2011 - [email protected]
- Don't allow recursive selection for non-multiselection widgets
- V 2.21.1
-------------------------------------------------------------------
Fri Apr 15 16:14:13 CEST 2011 - [email protected]
- Added support for recursive selection in tree widgets
- V 2.20.3
-------------------------------------------------------------------
Fri Feb 11 11:41:53 CET 2011 - [email protected]
- Fixed segfault for currentItem on tree widget
- V 2.20.2
-------------------------------------------------------------------
Tue Feb 8 12:16:30 CET 2011 - [email protected]
- Added support for currentItem to tree widget
- V 2.20.1
-------------------------------------------------------------------
Thu Feb 3 15:05:30 CET 2011 - [email protected]
- V 2.20.0
-------------------------------------------------------------------
Mon Dec 20 16:44:56 CET 2010 - [email protected]
- Added support for check boxes in tree widgets
- V 2.19.2
-------------------------------------------------------------------
Fri Apr 9 17:29:14 CEST 2010 - [email protected]
- Fixed endless loop in layout algorithm (bnc #558699)
- V 2.19.1
-------------------------------------------------------------------
Tue Mar 2 12:38:32 UTC 2010 - [email protected]
- Fixing undefined behaviour that triggers a crash with
gcc 4.5 (bnc#582088)
- V 2.19.0
-------------------------------------------------------------------
Tue Feb 9 17:32:06 CET 2010 - [email protected]
- added license headers
-------------------------------------------------------------------
Tue Jul 28 17:22:58 CEST 2009 - [email protected]
- Search for icons in several possible directories (using
/usr/share/icons/hicolor as fallback) - holds for everything
derived from SelectionWidget (FaTE #306356)
- V 2.18.8
-------------------------------------------------------------------
Fri Mar 6 10:34:28 CET 2009 - [email protected]
- Added context menus
- V 2.18.7
-------------------------------------------------------------------
Sun Mar 1 17:26:31 CET 2009 - [email protected]
- hopefully last fix ;(
-------------------------------------------------------------------
Sun Feb 22 21:10:03 CET 2009 - [email protected]
- another fix
- V 2.18.6
-------------------------------------------------------------------
Wed Feb 18 14:17:41 CET 2009 - [email protected]
- fix compilation with gcc 4.4
- V 2.18.5
-------------------------------------------------------------------
Mon Feb 9 11:43:42 CET 2009 - [email protected]
- Added virtual destructor for YTableCell for better
NCFileSelection support
- V 2.18.4
-------------------------------------------------------------------
Tue Jan 27 15:33:29 CET 2009 - [email protected]
- extended YGraph for simple user-interaction
- V 2.18.3
-------------------------------------------------------------------
Fri Jan 16 11:32:21 CET 2009 - [email protected]
- Fix bnc#427372 once more, YWidgetFactory:createTable was missing
-------------------------------------------------------------------
Thu Jan 15 12:10:27 CET 2009 - [email protected]
- Fixed bnc #427372: Specify class ownership for SWIG bindings
-------------------------------------------------------------------
Wed Jan 14 10:57:17 CET 2009 - [email protected]
- added graph widget
- V 2.18.2
-------------------------------------------------------------------
Wed Jan 7 16:41:13 CET 2009 - [email protected]
- Fixed bnc #461617: Glyph ArrowLeft / ArrowRight in Arabic
-------------------------------------------------------------------
Wed Oct 15 15:11:42 CEST 2008 - [email protected]
- Added `opt(`confirmUnsupported) for PackageSelector widget
(bnc #435479)
- V 2.17.14
-------------------------------------------------------------------
Thu Oct 9 16:58:09 CEST 2008 - [email protected]
- Prevent segfault when deleting YEventFilters in YDialog dtor
- Prevent segfault in YEventFilter with default args
- V 2.17.13
-------------------------------------------------------------------
Fri Sep 26 15:41:16 CEST 2008 - [email protected]
- Fixed bnc #418443: Yast modules windows have no title
- V 2.17.12
-------------------------------------------------------------------
Wed Sep 24 18:26:06 CEST 2008 - [email protected]
- Improved robustness against already-deleted widgets (bnc #421794)
- V 2.17.11
-------------------------------------------------------------------
Wed Sep 17 12:33:09 CEST 2008 - [email protected]
- Fixed reverse layout (for Arabic, Hebrew) in YButtonBox
-------------------------------------------------------------------
Fri Sep 12 18:42:04 CEST 2008 - [email protected]
- Improved resize behaviour of YDialogSpy
-------------------------------------------------------------------
Fri Sep 12 16:12:49 CEST 2008 - [email protected]
- Added widget properties to YDialogSpy
- V 2.17.10
-------------------------------------------------------------------
Fri Sep 12 13:54:34 CEST 2008 - [email protected]
- Now exporting more YWidget base class attributes as properties:
HWeight, VWeight, HStretch, VStretch
-------------------------------------------------------------------
Thu Sep 11 15:42:18 CEST 2008 - [email protected]
- Added highlighting for target dialog in YDialogSpy
- V 2.17.9
-------------------------------------------------------------------
Wed Sep 10 17:15:52 CEST 2008 - [email protected]
- Force [Help] button left-aligned in GNOME button order
-------------------------------------------------------------------
Tue Sep 9 17:05:23 CEST 2008 - [email protected]
- Added YDialogSpy for interactive introspection of a widget tree
- V 2.17.8
-------------------------------------------------------------------
Tue Sep 9 16:21:35 CEST 2008 - [email protected]
- Made YEvents more robust against attempts of duplicate deletion
- Stream output (logging) for YEvents
-------------------------------------------------------------------
Thu Sep 4 14:47:46 CEST 2008 - [email protected]
- Allow ButtonBox sanity check to be relaxed (bnc #422612)
- V 2.17.7
-------------------------------------------------------------------
Thu Aug 21 15:28:14 CEST 2008 - [email protected]
- Added YButtonBox widget (fate #303446)
- V 2.17.6
-------------------------------------------------------------------
Tue Jul 15 19:12:22 CEST 2008 - [email protected]
- Implemented fate #303492: Multi selection for table widget
- V 2.17.5
-------------------------------------------------------------------
Fri Jul 11 16:29:47 CEST 2008 - [email protected]
- Fixed bnc #367023: Keyboard shortcuts for non-ASCII languages
- V 2.17.4
-------------------------------------------------------------------
Tue Jul 8 18:57:10 CEST 2008 - [email protected]
- Enable keyboard shortcuts for YDumbTab widgets (fate #304890)
- V 2.17.3
-------------------------------------------------------------------
Wed Jun 18 18:49:41 CEST 2008 - [email protected]
- Introduced YEventFilter to improve support for higher-level
widgets that might send and need to handle internal events
- V 2.17.2
-------------------------------------------------------------------
Wed Jun 11 19:49:36 CEST 2008 - [email protected]
- Introduced YUITerminator to make sure the UI is properly shut
down in all cases, regardless if called from YCP or plain C++
- V 2.17.1
-------------------------------------------------------------------
Wed May 28 14:31:31 CEST 2008 - [email protected]
- Added YWizard::wizardMode() for bnc #393040
- V 2.16.48
-------------------------------------------------------------------
Wed Apr 30 14:50:36 CEST 2008 - [email protected]
- added repoMgrEnabled() method to YPackageSelector widget
(repository management is now optional) (bnc#381956)
- V 2.16.47
-------------------------------------------------------------------
Wed Apr 23 15:57:16 CEST 2008 - [email protected]
- Fixed segfault when discarding events from foreign dialogs
(bnc #382771)
- V 2.16.46
-------------------------------------------------------------------
Wed Apr 16 12:24:44 CEST 2008 - [email protected]
- Deleting events is now automatically handled by YDialog.
Simply remove all "delete event" calls.
- Introduced uiThreadDestructor() (bnc #346987)
- V 2.16.45
-------------------------------------------------------------------
Mon Apr 14 16:38:12 CEST 2008 - [email protected]
- Added dialog type YWizardDialog for main dialogs that will
contain a wizard (equivalent to YMainDialog if
YApplication::hasWizardDialogSupport() returns false)
- V 2.16.44
-------------------------------------------------------------------
Fri Apr 11 18:17:05 CEST 2008 - [email protected]
- Reverted last changes - sub-wizards seem to be a dead end
- V 2.16.43
-------------------------------------------------------------------
Thu Apr 10 19:51:35 CEST 2008 - [email protected]
- Added support for docked sub-wizards
- V 2.16.42
-------------------------------------------------------------------
Thu Apr 3 15:03:35 CEST 2008 - [email protected]
- Added YPushButton::setHelpButton() and isHelpButton()
- Automatically show topmost YWidget::helpText() when a help button
is activated
- V 2.16.41
-------------------------------------------------------------------
Tue Apr 1 17:49:15 CEST 2008 - [email protected]
- Added "HelpText" property to YWidget for easier support of
YCP wizard layouts without permanent help panel (fate #303291)
-------------------------------------------------------------------
Thu Mar 20 19:17:19 CET 2008 - [email protected]
- Added standard file logger (when used independently of YaST2)
- V 2.16.40
-------------------------------------------------------------------
Wed Mar 5 17:08:42 CET 2008 - [email protected]
- Fixed bnc #365999: Shift-F7 affects only UI logging
- V 2.16.39
-------------------------------------------------------------------
Tue Mar 4 13:48:08 CET 2008 - [email protected]
- Conflict with yast2-core < 2.16.38 (before pkg split)
-------------------------------------------------------------------
Tue Feb 26 18:29:05 CET 2008 - [email protected]
- Added cmake support for dependent packages
- V 2.16.38
-------------------------------------------------------------------
Thu Feb 21 14:39:37 CET 2008 - [email protected]
- Package split off from yast2-core
- V 2.16.37
-------------------------------------------------------------------
Wed Feb 6 00:00:00 CET 2008 - [email protected]
* Macro recording and playing ins now unified and moved out of the YUI class.
Use the static functions in the new YMacro class instead now:
- YMacro::record()
- YMacro::play()
...
* Moved productName() and setProductName() from YUI to YApplication
-------------------------------------------------------------------
Fri Feb 1 00:00:00 CET 2008 - [email protected]
* Moved event handling from YUI to YDialog:
- removed YUI::userInput()
- removed YUI::pollInput()
- Derived classes now have to implement:
- YDialog::waitForEventInternal()
- YDialog::pollEventInternal()
-------------------------------------------------------------------
Thu Jan 31 00:00:00 CET 2008 - [email protected]
* Moved dialog handling from YUI to YDialog:
- removed YUI::showDialog()
- removed YUI::closeDialog()
- Now using YDialog::open() and YDialog::destroy()
- Derived classes now have to implement:
- YDialog::openInternal()
- YDialog::activate()
-------------------------------------------------------------------
Tue Jan 29 00:00:00 CET 2008 - [email protected]
* Moved YCP part out of YEvent to new class YCPEvent
* YUI::runPkgSelection() now returns YEvent * and is pure virtual
-------------------------------------------------------------------
Fri Jan 25 00:00:00 CET 2008 - [email protected]
* UI::OpenDialog() now opens error dialog in case of exception
(using the new mod-ui calls, works for all UIs)
* UI::UserInput() now opens error dialog in case of exception
(using the new mod-ui calls, works for all UIs)
-------------------------------------------------------------------
Sun Jan 20 00:00:00 CET 2008 - [email protected]
* Moved glyph handling from YUI to YApplication,
now using std::string instead of YCPString and YCPSymbol;
forget YMyUI::glyph(), implement YMyApplication::glyph()
-------------------------------------------------------------------
Mon Dec 10 00:00:00 CET 2007 - [email protected]
* Moved file and directory dialogs from YUI to YApplication:
- askForExistingDirectory()
- askForExistingFile()
- askForSaveFile()
* Parameters and return values now all std::string
* Now return empty string upon user cancel
-------------------------------------------------------------------
Fri Nov 30 00:00:00 CET 2007 - [email protected]
* Migrated YDialog
* Removed YContainerWidget for good
* Removed legacy YWidget::queryWidget() and YWidget::changeWidget() methods
* Dropped support for outdated property handling with old
YWidget::queryWidget() and YWidget::changeWidget() methods
* Dropped support for outdated YWidget( YWidgetOpt ) constructors
* Removed unneeded YWidgetOpt fields
* Added basic default button handling to YDialog and YPushButton
-------------------------------------------------------------------
Tue Nov 27 00:00:00 CET 2007 - [email protected]
* Migrated YWizard
* Moved WizardCommand parsing out to YCPWizardCommandParser
* Added lots of pure virtual functions to YWizard
* All YCPValue and other YCP related code can now be removed from
YWizard-derived classes
-------------------------------------------------------------------
Wed Nov 14 00:00:00 CET 2007 - [email protected]
* Migrated YDumbTab
* YDumbTab now inherits YSelectionWidget
-------------------------------------------------------------------
Mon Nov 12 00:00:00 CET 2007 - [email protected]
* Enforced creating YWidget and derived classes with new (on the heap)
* Ported YDownloadProgress
-------------------------------------------------------------------
Fri Nov 9 00:00:00 CET 2007 - [email protected]
* Ported YBarGraph
* Ported YPartitionSplitter
-------------------------------------------------------------------
Tue Nov 6 00:00:00 CET 2007 - [email protected]
* Ported default function key handling
-------------------------------------------------------------------
Wed Oct 31 00:00:00 CET 2007 - [email protected]
* Renamed YTime -> YTimeField
* Renamed YDate -> YDateField
* Ported YTimeField
* Ported YDateField
-------------------------------------------------------------------
Mon Oct 29 14:30:00 CET 2007 - [email protected]
* Moved opaque 'data' void pointer from YTreeItem / YTableItem
to YItem base class
-------------------------------------------------------------------
Thu Oct 25 17:00:00 CEST 2007 - [email protected]
* Changed YTable header handling (bubli's request):
- Constructor now gets YTableHeader object
- no more setHeader() and setAlignment functions - get rid of them
- use columns(), header(), alignment() in the constructor to set up columns
-------------------------------------------------------------------
Wed Oct 10 22:00:00 CEST 2007 - [email protected]
* Ported MenuButton
- Now derived from YSelectionWidget
- Added support for replacing (all!) items
- QueryWidget can now return the complete item term
- Added support for icons in menu entries
- Added YMenuEvent( YMenuEntry * ) constructor
- Derived classes can use YMenuItem::index() as a unique ID
or use YMenuItem::data() and YMenuItem::setData() to store
a custom pointer to some other class.
Look at YQMenuButton for a sample implementation.
-------------------------------------------------------------------
Tue Oct 9 17:00:00 CEST 2007 - [email protected]
* Ported LogView
-------------------------------------------------------------------
Mon Oct 8 17:00:00 CEST 2007 - [email protected]
* Added support for QueryWidget(`id(...), `Items ) for SelectionWidgets:
- SelectionBox
- ComboBox
- MultiSelectionBox
- Tree
- Table
* Ported IntField
-------------------------------------------------------------------
Fri Oct 5 18:00:00 CEST 2007 - [email protected]
* Ported Table
- now based on SelectionWidget
- much streamlined with the other selection widgets
- QueryWidget can now return the complete item term
as well as individual cells
Look at YQTable for a sample implementation.
-------------------------------------------------------------------
Fri Jul 13 19:20:00 CEST 2007 - [email protected]
* Ported MultiProgressMeter
- now using float values internally to safeguard against huge numbers
-------------------------------------------------------------------
Fri Jul 6 18:30:00 CEST 2007 - [email protected]
* Ported YTree
-------------------------------------------------------------------
Tue Jul 3 16:30:00 CEST 2007 - [email protected]
* Ported YMultiLineEdit
- renamed text() -> value()
- renamed setText() -> setValue()
- new: YMultiLineEdit::defaultVisibleLines() (use this in preferredHeight() )
* Ported YProgressBar
- renamed setProgress() -> setValue()
-------------------------------------------------------------------
Mon Jul 2 18:30:00 CEST 2007 - [email protected]
* Ported simple YSelectionWidgets (major rewrite):
- YSelectionBox
- YComboBox
- YMultiSelectionBox
Most (almost all?) of the selection handling went to the YSelectionWidget
base class. The concrete UI implementations have to implement 2 pure virtual
functions each - see the respective header files. See the YQ sample
implementations for more details.
* YComboBox now also supports icons.
-------------------------------------------------------------------
Fri Jun 29 12:00:00 CEST 2007 - [email protected]
* Added YSelectionBox::immediateMode() and setImmediateMode()
as a replacement for YWidgetOpt.immediateMode
* Added YSelectionBox::shrinkable() and setShrinkable()
as a replacement for YWidgetOpt.shrinkable
-------------------------------------------------------------------
Wed Jun 27 18:00:00 CEST 2007 - [email protected]
* YPackageSelector:
* added modeFlags parameter (summarizing all the YWidgetOpts)
* added mode checking functions:
- bool testMode()
- bool onlineUpdateMode()
- bool updateMode()
- ...
* Dropped long-obsolete floppyDevice parameter
* YPackageSelectorPlugin:
* added modeFlags parameter
* Factories:
* added modeFlags parameter for PackageSelector etc.
* now calling the YPackagePlugin from the factory create...() functions
-------------------------------------------------------------------
Wed Jun 27 14:45:00 CEST 2007 - [email protected]
* YImage:
* Dropped support for creating an image from a YCPByteblock
* Dropped support for fallback label (was never used in NCurses anyway)
* Dropped support for `opt(`tiled)
* Moved YWidgetOpt stuff to YImage methods
-------------------------------------------------------------------
Tue Jun 26 12:00:00 CEST 2007 - [email protected]
* Renamed YWidget::getNotify() -> YWidget::notify()
Replace with:
perl -p -i -e 's/getNotify/notify/g' *.cc pkg/*.c
* Added function key methods for NCurses F-key support:
- YWidget::functionKey()
- YWidget::hasFunctionKey()
- virtual YWidget::setFunctionKey
Since YWidgetOpt is no longer passed to constructors, NCurses should use
those new functions instead.
YWidget::setFunctionKey() is called from YCPDialogParser after the widget is
created, so either use the new function in the keyboard handlers or overwrite
YWidget::setFunctionKey().
* YCheckBox:
- getValue() -> value()
- no longer just boolean values, now using YCheckBoxState enum: _on, _off, _dont_care
- YCheckBox constructor doesn't accept an initiallyChecked value any more
(but derived classes should so the widgetFactory can pass it on easily)
-------------------------------------------------------------------
Mon Jun 25 18:00:00 CEST 2007 - [email protected]
* Renamed YTextEntry -> YInputField
For YCP, TextEntry is (and will remain) still a valid widget name.
`InputField is the new default name, though.
-------------------------------------------------------------------
Mon Jun 25 15:00:00 CEST 2007 - [email protected]
* changed nicesize() to preferredWidth() and preferredHeight(), both returning int, not long
see longer explanations on top
* virtual YWidget::setSize() now has int params, no longer long
see longer explanations on top
-------------------------------------------------------------------
Fri Jun 22 16:20:00 CEST 2007 - [email protected]
* added pure virtual YWidgetFactory::createSpacing()
Removed from derived factories:
- YWidgetFactory::createHStretch() is no longer virtual and now returns a YSpacing
- YWidgetFactory::createVStretch() is no longer virtual and now returns a YSpacing
- YWidgetFactory::createHSpacing() is no longer virtual and now returns a YSpacing
- YWidgetFactory::createVSpacing() is no longer virtual and now returns a YSpacing
* Droppped HVStretch widget
-------------------------------------------------------------------
Thu Jun 21 22:00:00 CEST 2007 - [email protected]
* Dropped YColoredLabel
* Moved widget term parsing stuff to separate class YCPDialogParser
* YUI::widgetWithId() is now YCPDialogParser::findWidgetWithId()
!!! the default for throwing exceptions is now reverted: It now throws by default!
-> YUI::widgetWithId( someId, true ) -> YCPDialogParser::findWidgetWithId( someId )
-> YUI::widgetWithId( someId ) -> YCPDialogParser::findWidgetWithId( someId, false )
-> YUI::widgetWithId( someId, false ) -> YCPDialogParser::findWidgetWithId( someId, false )
-------------------------------------------------------------------
Thu Jun 21 12:30:00 CEST 2007 - [email protected]
* YRichText:
virtual setText() -> virtual setValue()
virtual getText() -> virtual value()
setText() is still there, but no longer virtual - implement setValue() instead!
new (instead of YWidgetOpt() ):
- bool plainTextMode() const;
- virtual void setPlainTextMode( bool on = true );
- bool autoScrollDown() const;
- virtual void setAutoScrollDown( bool on = true );
- bool shrinkable() const;
- void setShrinkable( bool shrinkable = true );
-------------------------------------------------------------------
Thu Jan 1 00:00:00 CET 1970 - [email protected]
* Parameter YRadioButtonGroup now obsolete:
YRadioButtons traverse the YWidget hierarchy upwards to find
their parent YRadioButtonGroup. There is no more need to pass
the YRadioButtonGroup as a parameter through all kinds of
calls.
This had cluttered the API for a long time.
* Got rid of all YCP data types in all widget classes:
* YCPString -> std::string
* YCPInteger -> int
* YCPBoolean -> bool
* In function parameters, std::string is generally passed as const std::string & .
* All widgets: No longer implementing changeWidget() / queryWidget() directly,
now using setProperty() / getProperty().
Reason: No more YCP depencency in YWidget derived classes.
See YRadioButton or YTextEntry for examples.
* All widgets: widgetClass() now returns const char *, no longer char *
(gcc had already complained in abuild about this)
auto-replace this with:
perl -p -i -e 's/virtual char \*widgetClass/virtual const char *widgetClass/' *.h
* All widgets: nicesize() was replaced by preferredWidth() and preferredHeight().
Both return an int, not a long like nicesize() did: int is plenty for pixel
coordinates, and it's a LOT less hassle.
The rationale for splitting up nicesize() (and giving it an English name, no
longer German_en) was that in 95% of all cases the first thing an
implementation does is something like
if ( dim == YD_HORIZ )
// calculate width
else
// calculate height
If you must (though this is discouraged), you can still reimplement
int YWidget::preferredSize( YUIDimension dim )
which now by default calls preferredWidth() and preferredHeight().
Use the perl scripts from ~sh/Export/ for easier transition:
(but by all means do "svn ci" immediately before so you can easily revert):
mod-ui-change-nicesize-header *.h
mod-ui-change-nicesize-src *.cc
This doesn't do the work completely, but it's a good starting point.
* All widgets: The parameters of YWidget::setSize() are now int, no longer long.
The reasoning is the same as with long nicesize() vs. int preferredWidth().
Use the perl scripts from ~sh/Export/ for easier transition:
(but by all means do "svn ci" immediately before so you can easily revert):
mod-ui-change-setSize-header *.h
mod-ui-change-setSize-src *.cc
This should do the trick, but make sure to double-check what it did.
* All widgets:
Most 'long' function parameters and return values are now 'int',
including (but not restricted to):
* widget sizes
* widget positions
* layout weights
gcc should complain about missing places. Also remember to check for '%ld' in
y2debug() etc. calls and replace most of them with '%d'.
* Factories:
* Derived UIs now are required to implement:
* YWidgetFactory * createWidgetFactory()
* YOptionalWidgetFactory * createOptionalWidgetFactory()
* Moved widget creation methods to factories
* New header file YTypes.h for simple types to reduce header file interdependencies:
Now it's often no longer necessary to #include YAlignment.h or YWidget.h
* YUI:
* YUI::currentDialog() is now moved to static YDialog::currentDialog()
* New: YApplication
The idea of this class is to bundle all the "misc UI functionality" methods.
See YApplication.h for details.
* YDialog:
* YUI::currentDialog() is now moved to YDialog::currentDialog()
* YDialog::currentDialog() now throws exceptions by default (unless bool param == true),
i.e. there is no more need to check for a 0 pointer after currentDialog()
(but exceptions need to be caught somewhere)
* YSplit:
* renamed to YLayoutBox
* YRadioButton:
* Made all memeber variables private.
Access via access functions only from now on.
* value is now bool , no longer YCPBoolean
* label is now std::string , no longer YCPString
* YCPString getLabel() -> std::string label()
* void setLabel( YCPString ) -> setLabel( std::string )