-
Notifications
You must be signed in to change notification settings - Fork 10
/
ChangeLog
4319 lines (3221 loc) · 153 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
*******************************************************************************
What's new in this version (2.2.0, 2006/09/01 ~ 2007/12/31):
09/11. Create the branch for MiniGUI Version 2.2: dev-2-2.
*******************************************************************************
What's new in this version (2.0.4/1.6.10, 2006/07/01 ~ 2007/11/30):
11/27. ENHANCEMENT #24: Add GetSubDC function.
* include/gdi.h
* src/newgdi/gdi.c.
11/27. ENHANCEMENT #23: Add GetWindowIcon/SetWindowIcon functions.
* include/window.h
* src/gui/window.c.
11/27. BUGFIXING #2424: When drawing focus rect of the pushbutton in fashion
window style, the content is drawn twice.
* src/control/button.c.
11/27. BUGFIXING #2423: Calling LineTo to draw vertical line, but the end-point
is not drawn.
* src/newgdi/pixel_ops.c.
11/20. CLEANUP
* src/kernel/init.c (Error step++ before calling InitFixStr.)
* src/libc/malloc.c (Delete not used code.)
11/16. TUNNING/ENHANCEMENT #16: Support for loading font dynamically in MiniGUI
incore mode and tune the DestroyDynamicDevFont function prototype.(xwyan)
* include/gdi.h
* src/font/devfont.[ch]
* src/font/qpf.[ch]
* src/font/freetype.[ch]
* src/font/freetype2.[ch]
11/16. TUNNING: Add SCANCODE_KEYPADENTER to dialog and controls.
* src/control/simedit.c
* src/control/combobox.c
* src/control/button.c
* src/control/ctrlmisc.c
* src/control/listbox.c
* src/control/edit.c
* src/gui/dialog.c
* ext/control/treeview.c
11/16. BUGFIXING/BUG #2421: Optimize drag message process of Skin UI. (xwyan)
* ext/skin/cmdbutton.c
* ext/skin/chkbutton.c
* ext/skin/slider.c
11/16. BUGFIXING/BUG #2418/2419: Fix some bugs of disable and reset cursor
clipping in ClipCursor. (xwyan)
* src/kernel/cursor-procs.c
* src/kernel/cursor-sa.c
* src/kernel/cursor.c
11/16. BUGFIXING/BUG #2417: Fix a bug of no initializing variable:cliprc in
GetClipCursor. (xwyan)
* src/kernel/cursor-procs.c
* src/kernel/cursor-sa.c
* src/kernel/cursor.c
11/16. BUGFIXING/BUG #2420: Fix a return value error when process keyboard
operation in modal dialog. (xwyan)
* src/gui/dialog.c
11/14. TUNNING: When use SetPenType for no PT_SOLID, add default dash if no
calling SetPenDashes. (xwyan)
* src/newgdi/attr.c
11/13. TUNNING: Do not use time function and <time.h> for uC/OS-II.
* include/common.h
* src/misc/nposix.c
11/07. ENHANCEMENT #22: Suport Hisi3510 IAL and NEWGAL. (Libo Jiao)
* src/ial/ial.c
* src/newgal/hisi/hi3510_fbvideo.c
* src/newgal/hisi/hi3510_fbvideo.h
11/06. OPTIMIZATION: change supporting to freetype2 subpixel
* src/newgdi/drawtext.c
11/02. TUNNING: Replace IDI_APPLICATION with IDI_INFORMATION. (xwyan)
* ext/mywin/mywindow.c
11/02. BUGFIXING/BUG #: A bug in MoveWindow and IsWindowVisible: error in
checking control's visibility.
* src/gui/window.c
11/01. BUGFIXING/BUG #2355/ENHANCEMENT #20: Fix a bug of FillBox using not
BT_SOLID brush.(xwyan)
* src/newgdi/bitmap.c
10/30. BUGFIXING/BUG #2332/ENHANCEMENT #16: Fix a bug when it uses error
filename or device font name to load device font dynamically. (xwyan)
* src/font/freetype.c
* src/font/freetype2.c
10/30. BUGFIXING/BUG #2348: Add SetCursor to reset default desktop cursor when
it happens MSG_MOUSEMOVE.(xwyan)
* src/kernel/desktop-comm.c
10/27. BUGFIXING/BUG #: Fix a bug of CreateCompatibleDCEx: bad assignments of
DC attributes.
* src/newgdi/gdi.c
10/27. ENHANCEMENT #21: New API: CreateSubMemDC function.
* src/newgdi/gdi.c
* include/gdi.h
10/26. BUGFIXING/BUG #2340/ENHANCEMENT #8: Not return conved_wcs_len when
error of WCS2MBSEx. (xwyan)
* src/font/textops.c
10/26. BUGFIXING/BUG #2339: Fix a bug of RestoreDC. (xwyan)
* src/newgdi/gdi.c
10/25. BUGFIXING/BUG #2333: Fix a bug of edit when setting text using vector
font. (xwyan)
* src/control/edit.c
* src/font/freetype.c
10/25. BUGFIXING/BUG #2334: bad implementation of FS_WEIGHT_BOOK log font style.
* src/newgdi/attr.c
10/25. BUGFIXING/BUG #: bad implementation of FS_WEIGHT_BOOK log font style.
* src/newgdi/attr.c
10/25. OPTIMIZATION/ENHANCEMENT #19: (xwyan)
* src/include/control/listbox_impl.h
* src/control/listbox.c
10/25. CLEANUP: cleanup error messages in InitGUI and remove errorlog.c file.
* src/kernel/init-lite.c
* src/kernel/init.c
* src/include/ourhdr.h
* src/misc/errorlog.c (deleted)
* src/client/client.c
* src/server/client.c, server.c
10/25. BUGFIXING/BUG 2331: bad error handling when creating system log fonts.
* src/font/sysfont.c
10/24. ENHANCEMENT #20: Enhance FillBox to support no-solid brush.
* src/include/bitmap.h
* src/newgdi/bitmap.c
* src/newgdi/pixel_ops.c
* src/newgdi/pixel_ops.h
10/24. TUNNING: Update the in-core cursor resource. (xwyan)
* src/sysres/cursors.c
10/24. BUGFIXING/BUG #2329: mginit can not handle client request when calling
HavePendingMessage.
* Tunning the response of client request to the front of the message
queue process.
* src/server/server.c
10/24. BUGFIXING/BUG #2330: Tunning the implementation of EM_GETPARAGRAPHTEXT.
(xwyan)
* include/ctrl/edit.h
* src/control/textedit.c
10/24. ENHANCEMENT #16: (xwyan)
* Add DestroyDynamicDevFont to destroy device font loaded dynamically
from file.
* include/gdi.h
* src/font/devfont.c
* src/font/freetype.[ch]
* src/font/freetype2.[ch]
* src/font/qpf.[ch]
10/23. TUNNING: Tune timeout value for MiniGUI-Processes client.
* src/client/client.c
10/23. BUGFIXING/BUG #2324/CLEANUP: Update the in-core qpf fonts.
* src/font/qpf.c
* src/font/qpf-*-*.c
10/22. BUGFIXING/BUG #2323: (xwyan)
* Tunning the implementation of CreateLogFontIndirect.
* src/font/logfont.c
10/22. BUGFIXING/BUG #2322: Change the default control background color
in fashion style. (xwyan)
* etc/MiniGUI-fashion.cfg
* src/sysres/syscfg.c
10/22. BUGFIXING: Fix memory leak of TermFreeTypeFonts, TermIncoreQPFonts
and TermQPFonts.(xwyan)
* Add relationship member to DEVFONT structure.
* Add DelRelatedDevFont to delete related device fonts when delete a
device font.
* src/font/devfont.c
* src/font/freetype.[ch]
* src/font/qpf.c
* src/include/devfont.h
* include/gdi.h
10/19. BUGFIXING/BUG #2321: Fix a null pointer bug of LoadDevFontFromFile.(xwyan)
* src/font/devfont.c
10/18. BUGFIXING: Fix memory leak of new_instance and delete_instance
in freetype2 engine.(xwyan)
* src/font/freetype2.c
10/17. BUGFIXING: Fix memory leak of TerminateDesktop.(xwyan)
* Free desktop message queue: __mg_dsk_msg_queue.
* src/kernel/desktop-comm.c
10/17. BUGFIXING: Fix memory leak of TerminateScreenDC.(xwyan)
* Free allocated alpha_pixel_format.
* src/newgdi/gdi.c
10/17. BUGFIXING: Fix memory leak using GetStockBitmap.(xwyan)
* Add TerminateStockBitmap to free available StockBitmaps memory in
TerminateSystemRes or TerminateDesktop.
* src/sysres/resource.c
* src/kernel/desktop-procs.c
10/16. BUGFIXING/BUG #2317/ENHANCEMENT #19: Add LBS_MOUSEFOLLOW flag to limit
the function of changing selected item when move mouse. (xwyan)
* src/control/listbox.c
* src/control/combobox.c
* include/ctrl/listbox.h
10/15. BUGFIXING/BUG #2259: Post MSG_SETCURSOR message when message is
MSG_DT_MOUSEMOVE in DefaultDTMouseMsgHandler.(xwyan)
* src/gui/window.c
10/11. TUNNING: Add ShowOpenDialog support for win32.(xwyan)
* src/ext/mywins/newfiledlg.c
* ext/include/newfiledlg.h
* include/common.h minigui.h
* src/misc/systext.c
* build/config-win32.h minigui-win32.dsp
10/11. TUNNING: Tune monthcalendar support for win32.(xwyan)
* src/ext/control/monthcalendar.c
10/11. BUGFIXING/BUG #2275/ENHANCEMENT #7:
* Use round-robin MSGQUEUE.FirstTimerSlot instead of calling
__mg_move_timer_last:
* src/include/internals.h
* src/kernel/message.c
* Remove __mg_get_timer_slot and __mg_move_timer_last functions:
* src/include/timer.h
* src/kernel/timer.c
10/11. BUGFIXING/BUG #2293: enhance code to check the validation of the video
mode string.
* Add GAL_ParseVideoMode function:
* src/include/newgal.h
* src/newgal.c
* Use GAL_ParseVideoMode function to parse the video mode string:
* src/newgal.c
* src/newgal/mlshadow/mlshadow.c
10/11. BUGFIXING/ENHANCEMENT #9: Modify mlsEnableSlaveScreen's set flag bug.
Fix MLSHADOW_DeleteDevice's NULL pointer exceptional bug.(houhh)
* src/newgal/mlshadow/mlshadow.c
* src/newgal/mlshadow/mlsahdow.h
10/11. OPTIMIZATION/ENHANCEMENT #9: Change UpdateSurfaceRects() and
refresh_surface() method, save the surface's update rect to mlshadow_node
struct (add one struct member updaterect).(houhh)
* src/newgal/mlshadow/mlshadow.c
* src/newgal/mlshadow/mlsahdow.h
09/28. BUGFIXING/BUG #2270: Fix bug of RotateScaledBitmap. (xwyan)
* Tune the method to check valid DC region.
* src/newgdi/rotatebmp.c
09/28. CLEANUP/ENHANCEMENT #8: Add check for UTF-16 charset for TabbedTextOut,
TabbedTextOutEx, GetTabbedTextExtent, and DrawTextEx2 funcionts.
* src/newgdi/text.c
09/28. BUGFIXING/BUG #2222/ENHANCEMENT #8: Fix bug of __mg_substrlen and
__mg_strnchr.
* src/font/textops.c
09/28. BUGFIXING/BUG #2245/ENHANCEMENT #7: Fix a bug of KillTimer.
* src/kernel/timer.c
09/28. BUGFIXING/BUG #2245/ENHANCEMENT #7: Fix a bug of KillTimer.
* src/kernel/timer.c
09/27. TUNNING: Tune hh2440 ial engine. (dengdongdong)
* Save max_x and min_x when mouse_getxy is called.
* src/ial/hh2440.c
09/27. BUGFIXING/BUG #2244: A foolish bug of ScrollWindow:
* Duplicated assignment: rcInvalid = rcMove;
* src/kernel/desktop-comm.c
* src/kernel/desktop-procs.c
09/27. BUGFIXING/BUG #2243/OPTIMIZATION #6: Fix race-condition for assignment of __mg_desktop.
* Only for MiniGUI-Threads:
* src/kernel/desktop-ths.c
* src/kernel/desktop-comm.c
09/28. BUGFIXING/BUG #2242: Fix bug of CheckCapturedMouseMessage, and make it
as an inline function.
* src/kernel/message.c
09/27. BUGFIXING: Fix lost mouse messages after captured.
* Add CheckCapturedMouseMessage function to check the mouse messsage.
* src/kernel/message.c
09/26. TUNNING: Add UTF-16 support for qpt incore font. (lbjiao)
* src/font/incore/qpfqpf-helvetica-10.c
* qpf-micro-4.c
* qpf-song-16.c
09/20. BUGFIXING: Fix some bugs for __TARGET_MDGESKTOP__.(lbjiao)
* src/gui/window.c
* src/font/qpf.c
09/18. TUNNING: tune cursors with in-core mode using macro
__TARGET_MGDESKTOP__. (lbjiao)
* src/sysres/cursors.c
09/18. TUNNING: Tune CreateMainWindow using macro __TARGET_MGDESKTOP__.(lbjiao)
* src/gui/window.c
09/17. EXCHANGEMENT #9: Add UpdateSurfaceRect member to GAL_VideoDevice struct.
* src/newgal/mlshadow/mlshadow.c
* src/newgal/video.c
* src/newgal/systemvideo.h
09/17. CLEANUP: Cleanup sysres using macro __TARGET_MGDESKTOP__ in in-core mode.
(xwyan)
* src/sysres/mgetc-pc.c
* src/sysres/mgetc.c
09/17. BUGFIXING: Fix a bug of InitListView.(xwyan)
* ext/mywins/newfiledlg.c
09/12. TUNNING: Tune HH2440 IAL engine.
* src/ial/hh2440.c
09/12. MODIFICATION: change GAL_CalculateBlit() if src surface and dst surface
is same, do not surppot alpha and color_key blit.
* src/newgal/blit.c
09/12. CLEANUP: Cleanup MLShadow engine; still have problems.
* src/newgal/mlshadow/mlshadow.c
* src/newgal/mlshadow/mlshadow.h
09/12. BUGFIXING: Fix a bug of scrollbar when setting width.(jpzhang)
* src/gui/window.c
09/12. CLEANUP: Cleanup the tarball files: (xwyan)
* make_tarball
* configs/config.h
* configs/defconfig
* configs/feature.in
* configs/Configure.help
09/10. ENHANCEMENT #9: MLShadow NEWGAL engine.
* src/newgal/mlshadow/*
* src/newgal/sysvideo.h
* src/newgal/video.c
* src/newgal/surface.c
* src/newgdi/gdi.c
* configure.in
09/07. BUGFIXING: Fix a display bug of skin slider with SI_NRMSLIDER_VERT style.
(xwyan)
* ext/skin/slider.c
09/06. BUGFIXING: Fix a display bug of skin slider with SI_NRMSLIDER_VERT and
SI_NRMSLIDER_STATIC style.(xwyan)
* ext/skin/slider.c
08/31. BUGFIXING: Fix a bug of refreshing caret position when MoveWindow
happens on textedit control.(xwyan)
* src/control/textedit.c
08/31. CLEANUP: Cleanup the tarball files: (xwyan)
* include/ctrl/edit.h
* mark_tarball
* Doxyfile
08/29. CLEANUP: Cleanup the tarball files: (xwyan)
* rtos/nucleus_startup.c
* rtos/threadx_startup.c
* rtos/ucos2_startup.c
* rtos/vxworks_startup.c
* rtos/psos_startup.c
* src/control/textedit.c
* build/config-ose-mx21.h
* config-ucosii-s3c44b0x.h
* example_ads_prj_ucos2.tar.gz
* minigui_ads_prj_nucleus.tar.gz
* minigui_ads_prj_threadx.tar.gz
* minigui_ads_prj_ucos2.tar.gz
* src/misc/misc.c
* nposix.c
* src/libc/nucleus_pprivate.h
* nucleus_pthread.c
* ucos2_pthread.c
* threadx_pthread.c
* vxworks_pthread.c
* include/common.h
* src/sysres/mgetc.c
* src/newgal/commlcd/ose_mx21.c
08/29. TUNNING: Use #define instead of typedef for uchar, ushort, ulong,
u_char, u_short, u_int, u_long.
* src/gui/linux_types.h
08/24. ENHANCEMENT #8: Add support for eCos Linux synthetic target.
* modify QVFB GAL engine and IAL engine to support eCos Linux target.
* src/include/ial.h
* src/newgal/qvfb/qvfb.c
* src/ial/qvfb.c
* Add #include <stdio.h> in the following files to avoid compiler
happy:
* src/gui/caret.c
* src/gui/window.c
* src/gui/element.c
* src/gui/linux_types.h
08/24. MODIFICATION: Redefine the return value type of GetMessage to be BOOL.
* include/window.h
08/24. MODIFICATION: Define GetMessage and PeekMessage as inline functions.
* src/kernel/message.c
* include/window.h
08/24. TUNNING/ENHANCEMENT #7: Support for timer callback procedure.
* Make the timer proc re-enterable:
* src/kernel/message.c
* src/kernel/timer.c
08/24. OPTIMIZATION #6: Use thread specific data to save message queue for GUI
thread instead of hash table (MiniGUI-Threads).
* src/inclue/internals.h
* src/kernel/init.c
* src/kernel/message.c
* src/kernel/desktop-ths.c
* src/kernel/desktop-comm.c
* src/kernel/timer.c
* src/gui/window.c
* Delete file src/kernel/hash.c
* Delete file src/include/hash.h
08/24. OPTIMIZATION #5: Add a semaphore object for sync_message in message queue
in order to avoid creating a new semaphore object when calling SendSyncMessage
if the calling thread is a GUI thread (MiniGUI-Threads).
* src/inclue/internals.h
* src/kernel/message.c
* src/kernel/desktop-ths.c
08/24. CLEANUP: Move some initialization code from DesktopMain to InitGUI
(MiniGUI-Threads).
* src/kernel/init.c
08/23. CLEANUP: Add const to string arguments for MyWins API.
* ext/include/mywindows.h
* ext/mywins/mywindows.c
08/23. TUNNING: Add strncasecmp implementation when not defined
HAVE_STRNCASECMP.
* configure.in
* include/common.h
* src/misc/nposix.c
08/23. MODIFICATION/ENHANCEMENT #20: Tune the implementation of GetSysText.
* Add GetSysTextInUTF8 function to ruturn the localized system text array
in UTF-8 encode.
* include/minigui.h
* src/misc/systext.c
08/23. MODIFICATION: Change the return value type of KillTimer.
* The return value type of KillTimer changed from BOOL to int, the number
of actually killed timers. However, this modification would not break the
backforward compatibility.
* include/window.h
* src/kernel/timer.c
08/23. MODIFICATION/ENHANCEMENT #7: Change the prototype of TIMERPROC.
* The return value type of a TIMERPROC changed from void to BOOL. If a
TIMERPROC returns FALSE, MiniGUI will kill the timer automatically.
* include/window.h
* src/kernel/message.c
* src/kernel/timer.c
08/23. MODIFICATION/ENHANCEMENT #20: Tune the implementation of GetSysText.
(xwyan)
* Add UTF8 encodeing of the GB2312, GBK, GB18030 and BIG5 system text.
* include/minigui.h
* src/misc/systext.c
08/21. ENHANCEMENT #28: Add GetOriginalMousePosition function to get the
original mouse position for _MISC_MOUSECALIBRATE.
* include/minigui.h
* src/include/ial.h
* src/ial/ial.c
08/21. MODIFICATION: Add subdriver of Shadow engine for eCos.
* src/shadow/ecos_generic.c
08/21. MODIFICATION: Change internal structure definition of CommLCD and
Shadow engines.
* lcd_info -> commlcd_info
* src/commlcd/*.[ch]
* lcd_info -> shadowlcd_info
* src/shadow/*.[ch]
08/20. MODIFICATION: Cleanup the COMMLCD GAL engine and COMM IAL engine.
* Rename external COMMLCD driver operations:
* drv_lcd_int -> __commlcd_drv_init
* drv_lcd_getinfo -> __commlcd_drv_getinfo
* drv_lcd_release -> __commlcd_drv_release
* drv_lcd_setclut -> __commlcd_drv_setclut
* Add two COMM IAL engine operations:
* new operation int __comminput_init (void)
* new operation void __comminput_deinit (void);
* Renamve the following COMM IAL engine operations:
* comm_ts_getdata -> __comminput_ts_getdata
* comm_kb_getdata -> __comminput_kb_getdata
* comm_wait_for_input -> __comminput_wait_for_input
* Move code for VxWorks and ThreadX to <os>_startup.c:
* src/ial/comminput.c
* src/ial/Makefile.am
* Rename src/newgal/commlcd/unknown.c to extern.c
08/20. CLEANUP: Cleanup the release files:
* configure.in
* GNUmakefile
* build/*.h
* make_tarball
* Version
* README
08/20. Merge rel-2-0-3-psos.
08/20. CLEANUP: Redefine errnos for MiniGUI's own POSIX Threads.
* include/common.h
08/20. ENHANCEMENT #27: Universal startup API for all RTOSes.
* Cleanup the startup code for RTOSes.
* Delete include/mgdrv-ucosii.c
* Delete include/nucleus_kbdrv.c
* Delete include/threadx_kbdrv.c
* Add rtos/Makefile.am
* Add rtos/nucleus_startup.c
* Add rtos/psos_startup.c
* Add rtos/threadx_startup.c
* Add rtos/ucos2_startup.c
* Add rtos/vxworks_startup.c
* Modify include/Makefile.am
* Modify configure.in
08/19. ENHANCEMENT #27: Universal startup API for all RTOSes.
* Define init_minigui_malloc for MiniGUI's own malloc system.
* Define init_minigui_printf for MiniGUI's own stdio system.
* Define start_minigui_pthread for MiniGUI's own POSIX Threads system.
* include/common.h
* src/libc/malloc.c
* src/libc/defdev.c
* include/psos_pthread.h
* src/libc/psos_pthread.c
* include/ucos2_pthread.h
* src/libc/ucos2_pthread.c
* include/threadx_pthread.h
* src/libc/threadx_pthread.c
* include/vxworks_pthread.h
* src/libc/vxworks_pthread.c
* include/nucleus_pthread.h
* src/libc/nucleus_pthread.c
08/18. ENHANCEMENT #26: POSIX Threads for pSOS.
* Initial version of psos_pthread.c
* include/psos.h
* include/psos_pthread.h
* src/libc/psos_pprivate.h
* src/libc/psos_pprivate.c
* src/libc/psos_pthread.c
05/31. ENHANCEMENT #26: POSIX Threads for pSOS.
* Initial version of psos_sem.c and psos_mutex.c
* src/libc/psos_pprivate.h
* src/libc/psos_sem.c
* src/libc/psos_mutex.c
05/31. MODIFICATION: Cleanup the PThreads implementation for all OSes.
* Use pthread_mutexattr_setprotocol/getprotocol functions instead
of pthread_mutexattr_setpriorityinherit/getpriorityinherit functions.
* include/*_pthread.h
* include/*_semphore.h
* src/libc/*.[ch]
05/28. ENHANCEMENT #26: POSIX Threads for pSOS.
* Add initial version of psos.h.
* include/psos.h (This file will not release for MiniGUI-VAR)
05/16. ENHANCEMENT #25: Support for running MiniGUI-Standalone on RTOSes:
* src/kernel/timer.c
* src/standalone/standalone.c
08/14. BUGFIXING: Fix a bug of OpenFileDialog.(xwyan)
* ext/mywin/filedlg.c
08/14. ENHANCEMENT #20: Tune the implementation of GetSysText.(xwyan)
* include/minigui.h
* src/gui/dialog.c
* src/gui/menu.c
* src/kernel/desktop-comm.c
* src/kernel/desktop-procs.c
* src/misc/systext.c
* ext/mywins/mywindows.c
* ext/mywins/newfiledlg.c
* ext/mywins/colordlg.c
* ext/mywins/filedlg.c
* ext/mywins/helpwin.c
08/10. BUGFIXING: Fix bug of cursor creation (only affect 32-bpp with alpha).
* src/kernel/cursor.c
* src/kernel/cursor-sa.c
* src/kernel/cursor-procs.c
08/09. ENHANCEMENT #24: MBSTOWCSEx and WCSTOMBSEx
* Enhance MBCSTOWCSEx and WCSTOMBSEx to return the length of converted
character.
* include/gdi.h
* src/font/textops.c
07/31. BUGFIXING/ENHANCEMENT #19: Fix bugs of listbox. (xwyan)
* src/control/listbox.c
07/27. ENHANCEMENT #11: Support for FreeType2.
* Add cache manager support for FreeType2. (xwyan)
* src/font/freetype2.c freetype2.h
07/26. BUGFIXING: Fix a bug of control with WS_TABSTOP style. (xwyan)
* src/gui/dialog.c
07/25. BUGFIXING: Fix portential memory leak of InitSysFont. (xwyan)
* src/font/sysfont.c
07/20. ENHANCEMENT #23: Add the implementation of gbk_conv_from_uc32
and big5_conv_from_uc32 to support converting unicode to big5 and gbk.
* src/font/big5unimap.c
* src/font/mapunitobig5.c
* src/font/gbkunimap.c
* src/font/mapunitogbk.c
* src/font/Makefile.am
* src/font/charset.c
07/20. BUGFIXING: Optimize dskScrollMainWindow. (xwyan)
* src/kernel/desktop-comm.c
07/20. ENHANCEMENT #22: Add OffsetRegionEx to offset invalid region in
specified client area. (xwyan)
* src/newgdi/region.c
* include/gdi.h
07/19. OPTIMIZATION #4: Optimize DrawTextEx2. (xwyan)
* src/newgdi/text.c
07/18. ENHANCEMENT #21: Support for zero window size.
* Modify the display of window, when the size of window is zero. (xgwang)
* src/font/window.c
07/17. ENHANCEMENT #16: Loading font dynamically.
* Add the function to load freetype1 and qpf library dynamically.(xgwang)
* src/font/freetype.h
* src/font/freetype.c
* src/font/qpf.h
* src/font/qpf.c
07/17. OPTIMIZATION #4: Tune the implementation of DrawTextEx2 and
txtGetOneLine. (xwyan)
* src/newgdi/text.c
07/17. ENHANCEMENT #20: Modify the definition of GetSysText and implementation
of newfiledlg, filedlg and mywindows control.(xwyan)
* ext/mywin/newfiledlg.c filedlg.c mywindows.c
* src/misc/systext.c
* include/minigui.h
07/10. ENHANCEMENT #19: Add the function of changing selected item when
move mouse, no implementation for LBS_MULTIPLESEL style.(xwyan)
* src/control/listbox.c
07/05. TUNNING: Tune the implementation of TerminateScreenDC.(xwyan)
* Limit the calling of FillBox only for the server.
* src/newgdi/gdi.c:
07/05. ENHANCEMENT #18: Add floating point support for win32.(xwyan)
* include/common.h
07/05. BUGFIXING: Fix a bug of __mg_reset_desktop_capture_info.(xwyan)
* src/kernel/desktop-comm.c
07/04. BUGFIXING: Fix a bug of set_cell_value and
GridCellTypeNumber_draw_content.(xwyan)
* ext/control/gridview.c
* ext/control/gridviewcelltype.c
07/03. ENHANCEMENT #17: Add hi3510 IAL engine, hi3510 and hi3560 NEWGAL
engines.(xwyan)
* configure.in
* make_tarball
* build/ buildlib-linux-hi3510
* include/ minigui.h
* configs/ config.in, defconfig, Configure.help, feature.in
* src/ial/ Makefile.am, hi3510.c, hi3510.h
* src/newgal/ Makefile.am, video.c, sysvideo.h
* src/newgal/hisi Makefile.am, hi3510_fbvideo.c, hi3560_fbvideo.c,
pix_array.c, tde.c, hi3510_fb.h, hi3510_fbvideo.h, hi3560_fb.h,
hi3560_fbvideo.h, hi_tde.h, tde_reg.h
07/03. TUNNING: Add VxWork IAL option in make_tarball.(lbjiao)
* configs/defconfig
* configs/config.in
* make_tarball
06/28. BUGFIXING: Fix an endless loop bug of utf8_pos_first_char, when charset
encoding mismatch.(xwyan)
* src/font/charset.c
06/28. BUGFIXING: Fix a bug of utf8_len_first_char.(xwyan)
* Add the support for ascii character processing.
* src/font/charset.c
06/27. MODIFICATION: Update the logical font setting way of listbox control.
(xwyan)
* src/control/listbox.c
* src/include/control/listbox_impl.h
06/19. ENHANCEMENT #16: Loading font dynamically.
* Add functions to load freetype2 library dynamically. (xgwang)
* src/font/freetype2.c
* include/gdi.h
06/19. BUGFIXING: Fix a bug of put_one_char. (xwyan)
* src/newgdi/drawtext.c
* src/font/qpf.c
06/18. BUGFIXING: Fix a deadlock bug of read/write client socket. (xwyan)
* include/minigui.h
* src/client/client.c
06/07. TUNNING: Use getpagesize instead of PAGE_SIZE.
* src/newgal/fbcon/fbvideo.c
06/07. TUNNING: Tune the implementation of __mg_os_time_delay on eCos. (xwyan)
* src/misc/nposix.c
06/06. TUNNING: Add __attribute__((packed)) to all structures used by PinYin
IME module.
* src/ime/pinyin.h
06/06. TUNNING: Make ime_gb2312_pinyin option to be disabled defaultly.
* configure.in
06/06. CLEANUP: Cleanup the mgetc.c and mgetc-*.c file to ignore the duplicated
includes.
* src/sysres/mgetc.c
* src/sysres/mgetc-*.c
06/06. ENHANCEMENT #16: Add custom IAL engine for customer's board in order to
avoid modification an existing IAL engine.
* configure.in
* src/ial/ial.c
* src/ial/custom.[ch]
05/31. BUGFIXING: Fix a bug of put_one_char advances is ignored when bits is
NULL.
* src/newgdi/drawtext.c
05/31. ENHANCEMENT #15: Enhance ListBox to support disabled item and bold item.
* include/ctrl/listbox.h
* src/control/listbox.c
* src/include/ctrl/listbox_impl.h
05/28. ENHANCEMENT #11: Support for FreeType2.
* Add the support for FONT_OTHER_LCDPORTRAITKERN and FONT_OTHER_LCDPORTRAIT.
(xwyan)
* include/gdi.h
* src/font/fontname.c
05/28. TUNNING: Rename src/kernel/cursor-lite.c to src/kernel/cursor-procs.c
* modify make_tarball to reserve *-lite.c files in src/kernel/.
05/28. ENHANCEMENT #14: Merge the support for vxworks (PowerPC) with WinML2.0
from patch-1-6.(xwyan)
* src/gui/linux_types.h
* src/sysres/mgetc-ppc.c
* src/sysres/mgetc.c
* src/sysres/mgetc-wifi.c
* build/config-vxworks-ppc.h
* build/rules-ppc.vxworks
* src/newgal/commlcd/vxworks-ppc.c
* src/newgal/commlcd/Makefile.am
* src/ial/vxppc_input.c
* src/ial/Makefile.am
05/24. BUGFIXING: Fix bug in __mg_init_jpg in order to call InitMyBitmapSL and
CleanupMyBitmapSL functions without calling LoadMyBitmapSL when loading JPEG
file.
* src/mybmp/jpeg.c
05/24. BUGFIXING/ENHANCEMENT #11: Fix bug to handle memdc for subpixel.
* src/newgdi/drawtext.c
05/23. BUGFIXING: Fix memory leak bug of PaintImageEx and StretchPaintImageEx.
* src/newgdi/readbmp.c
05/21. ENHANCEMENT #11: Support for FreeType2.
* Tune text smoothing interface implementation and data struct definition.
* Add ft2SetLcdFilter function to set the filter of FT2.
* include/gdi.h
* Remove the mg_smooth_flag, mg_smooth_mode variables.
* src/newgdi/drawtext.c
* Add ft_lcd_filter member in FTINSTANCEINFO.
* src/font/freetype2.[ch]
05/18. MODIFICATION: Modify the API description of create_skin_main_window and
create_skin_main_window_ex:
* ext/include/skin.h
* ext/skin/skin.c
05/16. ENHANCMENT #8: Support for UTF-16LE and UTF-16BE charsets/encodings.
* Change the definition of UChar32 to 'int'.
* include/gdi.h
05/16. ENHANCEMENT #11: Support for FreeType2.
* Add conditional compilation for _FT2_SUPPORT:
* src/newgdi/drawtext.c
05/16. MODIFICATION: Change the type of __mg_csrimgsize and __mg_csrimgpitch
to be "unsigned int".
* src/include/internals.h
* src/kernel/cursor-lite.c
05/16. CLEANUP: Remove the type for GetDCAttr and SetDCAttr:
* include/gdi.h
05/17. MODIFICATION: Change local variable index to _index.
* src/font/fontname.c
* ext/mywins/newfiledlg.c
05/17. MODIFICATION: MGETC global variable to __mg_get_mgetc
* src/misc/misc.c
05/17. ENHANCEMENT #13: Support for Blackfin537.
* Merging the support of Blackfin537 from rel-2-0-3-c33l05 branch.
* N build/buildlib-uclinux-bf537
* N src/sysres/mgetc-bfin.c
* configure.in
* src/ial/ial.c
* src/sysres/mgetc.c
* handle mmap args for __TARGET_BLACKFIN__
* src/newgal/fbcon/fbvideo.c:
05/16. ENHANCEMENT #12: Support for C33
* Added files:
* build/buildlib-uclinux-c33l05
* src/ial/c33l05.[ch]
* src/newgal/commlcd/axlinux_c33l05.[ch]
* src/sysres/mgetc-axlinux.c
* Add snprintf and __modsi3 for __TARGET_C33L05__
* src/misc/nposix.c
05/12. ENHANCEMENT #11: Support for FreeType2.
* Add the whole support for freetype2 and subpixel smoothing.(xwyan)
* configure.in
* src/newgdi/gdi.c
* src/newgdi/text.c
* src/newgdi/drawtext.c
* src/newgdi/drawtext.h
* src/include/devfont.h
* src/font/devfont.c
* src/font/freetype.c
* src/font/freetype2.c
* src/font/freetype2.h
* src/sysres/mgetc.c
05/10. BUGFIXING/ENHANCEMENT #9: Fix a bug of RestoreDC to release memdc's ecrgn first.
* src/newgdi/gdi.c
04/05. MODIFICATION: Enhance scancode_table to add the space support.(xwyan)
* src/ial/vxi386_input.c
03/15. ENHANCEMENT #11: Support for FreeType2.
* Add macro _FT2_SUPPORT for the support of FreeType2.(xwyan)
* configure.in
* src/sysres/mgetc.c
* src/newgdi/gdi.c
* src/include/devfont.h
* src/font/devfont.c freetype.c freetype2.c
03/06. BUGFIXING: Change the implementation of SARG in own_vfnprintf.(xwyan)
* libc/vfnprintf.c
03/05. ENHANCEMENT #10: Add "figueroa" IAL engine for D2 FiguerOA. (lbjiao)
* Added files:
* src/ial/figueroa.c
* src/ial/figueroa.h
* build/buildlib-linux-figueroa
* Modified files:
* configure.in
* make_tarball
* configs/config.in
* configs/Configure.help
* configs/defconfig,
* configs/feature.in
* build/Makefile.am
* src/ial/Makefile.am
* src/ial/ial.c
03/05. BUGFIXING: Fix a bug of teNodeDel.(xwyan)
* src/control/textedit.c
03/02. BUGFIXING: Fix a bug of treat_longpress.(xwyan)
* src/kernel/event.c
01/29. ENHANCEMENT #9: Add SaveDC and RestoreDC functions.
* include/gdi.h
* src/newgdi/gdi.c
01/29. ENHANCMENT #8: Support for UTF-16LE and UTF-16BE charsets/encodings.
* Add __mg_strlen, __mg_strnchr, and __mg_substrlen to handle UTF-16 text.
* src/font/textops.c
* src/newgdi/text.c
01/29. ENHANCMENT #8: Support for UTF-16LE and UTF-16BE charsets/encodings.
* Tune the implementation of the following functions to support UTF-16:
* GetTabbedTextExtent, TabbedTextOut, GetTabbedTextExtentPoint
* src/newgdi/drawtext.c
* src/newgdi/text.c
01/28. ENHANCMENT #8: Support for UTF-16LE and UTF-16BE charsets/encodings.
* Add char_type method for CHARSETOPS.
* include/gdi.h
* src/font/charset.c
01/27. MODIFICATION: Clean the full screen when terminating MiniGUI.
* src/kernel/init.c
* src/newgdi/gdi.c
01/27. BUGFIXING: Bugs in implementation of UTF-8.
* Fix bugs in pos_first_char and len_first_substr methods for UTF-8.
* Fix bugs in the get_next_word method of UTF-8.
* src/font/charset.c
01/27. ENHANCEMENT #8: Support for UTF-16LE and UTF-16BE charsets/encodings.
* Change the conv_to_uc16 and conv_from_uc16 of CHARSETOPS to conv_to_uc32
and conv_from_uc32 respectively.
* Implementes pos_first_char and len_first_substr methods for UTF-8 and
UTF-16.
* Cleanup the get_next_word method of UTF-8, UTF-16 charset.
* Remove the bytes_per_char property of CHARSETOPS.
* include/gdi.h
* src/font/charset.c
* src/font/testops.c
01/12. BUGFIXING: Fix a bug of GetGlyphBitmap function.
* Reset advance_x and advance_y to zero.
* src/font/logfont.c
01/12. ENHANCEMENT #7: Support for timer callback procedure.
* Tune implementation of timer.
* Move the latest expired timer to be the last one in the queue in order
that another timer can be treated.
* Change the size of TimerMask in the message queue to 32-bit.
* src/include/internals.h
* src/include/timer.h
* src/kernel/timer.c
* src/kernel/message.c
01/11. ENHANCEMENT #8: Enhance the interface of the following functions to
handle the different size of wide char:
* MB2WC -> MB2WCEx, WC2MB -> WC2MBEx, MBS2WCS -> MBS2WCSEx, and WCS2MBS ->
WCS2MBSEx.
* include/gdi.h
* src/font/textops.c
01/11. ENHANCEMENT #7: Support for timer callback procedure.
* SetTimer -> SetTimerEx, ResetTimer -> ResetTimerEx.
* Use GetThreadInfo to get the message queue intead of window handl.
* Check timer messages before invalidate region of windows.
* include/window.h
* src/include/timer.h
* src/kernel/timer.c
* src/kernel/message.c
01/09. OPTIMIZATION #3: Optimize _dc_draw_hline_clip and _dc_fill_hline_clip:
* src/newgdi/pixel_ops.c
01/09. BUGFIXING: Fix a bug of PolygonGenerator when the polygon is very large.
* You should make sure the vertices of the polygon to be closed so that
PolygonIsMonotoneVertical can work correctly. However, the no-closed
polygon can be treated as a general polygon.