-
Notifications
You must be signed in to change notification settings - Fork 4
/
ChangeLog
2958 lines (2104 loc) · 128 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
------------------------------------
MUI TextEditor MCC class - ChangeLog
------------------------------------
2022-04-21 Thore Böckelmann <tboeckel@gmx.de>
* mcc/Dispatcher.c: implemented the attributes MUIA_TextEditor_FreeHoriz/Vert
to override the resize limitations of MUIA_TextEditor_Columns/Rows. This
refs #36.
#### v15.56 RELEASE ############################################################
2021-06-08 Thore Böckelmann <tboeckel@gmx.de>
* mcc/Methods.c: implemented the method MUIM_TextEditor_TestPos similar to the
MUIM_List_TestPos method of MUI's List class to obtain some information
based on mouse coordinates. This closes #35.
2021-01-03 Thore Böckelmann <tboeckel@gmx.de>
* dist: added italian translation to Installer script kindly provided by Samir
Hawamdeh. This closes #34.
#### v15.55 RELEASE ############################################################
2020-09-09 Thore Böckelmann <tboeckel@gmx.de>
* ClipboardServer.c: changed the default path for "CURRDIR:" and "PROGDIR:" to
"T:", because the "MUI:" assign does not exist on all systems, i.e. AROS.
This closes #31.
2020-08-14 Thore Böckelmann <tboeckel@gmx.de>
* mcc/InitConfig.c: a custom font can now be set via MUIA_Font. Any valid
TextFont structure as well as MUI's MUIV_Font_XXX definitions will be
accepted. This closes #29 again.
2020-07-14 Thore Böckelmann <tboeckel@gmx.de>
* mcc/GetSetAttrs.c: added a workaround to skip the artifical nesting of
OM_SET in MUIM_Draw in order to avoid double triggers of attributes like
MUIA_ContextMenuTrigger. This closes #28.
#### v15.54 RELEASE ############################################################
2020-06-10 Thore Böckelmann <tboeckel@gmx.de>
* ClipboarsServer.c: set "MUI:" as default "CURRDIR:" and "PROGDIR:" for the
global clipboard server process to avoid locking the directory of the first
started MUI application using this class until it is eventually flushed from
memory.
2019-10-15 Thore Böckelmann <tboeckel@gmx.de>
* PrintLineWithStyles.c: added a custom implementation of
WritePixelArrayAlpha() in case cybergraphics.library is older than V45.
2019-10-12 Thore Böckelmann <tboeckel@gmx.de>
* PrintLineWithStyles.c: fixed a possible division by zero bug during alpha
channel reconstruction. Furthermore the already exclusively allocated pen is
used for the transparent text as well.
#### v15.53 RELEASE ############################################################
2019-08-29 Thore Böckelmann <tboeckel@gmx.de>
* PrintLineWithStyles.c: simplified the SetRPAttrs() call for all systems,
since each system has different requirements on mandatory tags. This refs
#26.
2019-07-28 Thore Böckelmann <tboeckel@gmx.de>
* mcc/UndoFunctions.c: moved the triggering of MUIA_TextEditor_Undo and _Redo
a few lines further down so that a hook being triggered by these attributes
and which get()'s the attributes reads the correct states. This closes #25.
* demo/TextEditor-Demo.c: enable/disable the Undo/Redo buttons according to
the Undo/Redo availability state.
2019-07-06 Thore Böckelmann <tboeckel@gmx.de>
* mcc/Methods.c: let MUIM_CursorXYToIndex return a success code to signal
whether the given coordinates really pointed to a position within the text
or not.
#### v15.52 RELEASE ############################################################
2019-03-13 Thore Böckelmann <tboeckel@gmx.de>
* mcc/PrintLineWithStyles.c: fixed a wrong alpha channel check which caused
crashes on AmigaOS3 in case the system/screen does not support transparency
at all. This closes #23.
#### v15.51 RELEASE ############################################################
2018-10-09 Thore Böckelmann <tboeckel@gmx.de>
* mcc/PrintLineWithStyles.c: integrated the display of transparent text for
AmigaOS3 as known from MUI5 for AmigaOS. Now the alternative text can be
displayed with 50% transparency on AmigaOS3, too.
2018-10-04 Thore Böckelmann <tboeckel@gmx.de>
* mcc/GetSetAttrs.c: the alternative text will be displayed with 50%
transparency if the editor object has the RGB mode enabled and if the system
supports this feature. Otherwise it will be displayed in italics as usual.
* mcc/Dispatcher.c: don't show a ghost cursor in case the alternative text is
displayed in inactive state.
2018-09-27 Thore Böckelmann <tboeckel@gmx.de>
* mcc/misc: implemented MUIA_TextEditor_InactiveContents to set an alternative
text, which will be displayed when no other text has been entered by the
user or been set by the application and the editor object is not the active
object. This closes #22.
#### v15.50 RELEASE ############################################################
2018-01-15 Thore Böckelmann <tboeckel@gmx.de>
* mcp/Dispatcher.c: add the unique names for private custom classes for MUI4
and up only. With MUI 3.8 this causes crashes.
#### v15.49 RELEASE (special MUI 5.0-2017R3 release) ###########################
2017-10-01 Thore Böckelmann <tboeckel@gmx.de>
* mcc/Dispatcher.c: don't trigger unwanted notifications in case an
application sets an attribute like MUIA_TextEditor_HasChanged in parallel
with MUIA_NoNotify=TRUE.
2017-09-24 Thore Böckelmann <tboeckel@gmx.de>
* mcc/Dispatcher.c: forget about any possible detected changes due to the
initial text import right during OM_NEW.
* mcc/HandleInput.c: respect any meta data for triggering the attribute
MUIA_TextEditor_MetaDataChanged in case a deleted block contains some.
2017-09-22 Thore Böckelmann <tboeckel@gmx.de>
* mcc: optimized the handling of the new attributes to get notified about
changes of contents and metadata. I.e. changing the alignment should no
longer trigger MUIA_TextEditor_ContentsChanged.
2017-09-21 Thore Böckelmann <tboeckel@gmx.de>
* mcc: implemented the attributes MUIA_TextEditor_ContentsChanged and
MUIA_TextEditor_MetaDataChanged to complement the already existing but more
global attribute MUIA_TextEditor_HasChanged. The latter attribute can
reflect arbitrary changes only, while the former two attributes will
distinguish between changed textual contents and changed meta data like
alignment, color or style.
2017-09-18 Thore Böckelmann <tboeckel@gmx.de>
* mcc/GetSetAttrs.c: reworked the global alignment handling. Setting the
global alignment no longer destroys any previously set line based alignment
and can also be set during OM_NEW. This finally closes #20.
2017-09-12 Thore Böckelmann <tboeckel@gmx.de>
* mcc/GetSetAttrs.c, mcc/Navigation.c: implemented MUIA_TextEditor_GlobalFlow
to set a global text alignment instead of a line based one. This refs #20.
2017-08-21 Thore Böckelmann <tboeckel@gmx.de>
* mcc/Methods.c: the MUIM_TextEditor_IndexToCursorXY method now returns a
boolean value which indicates whether the index could be successfully
converted to an X/Y position pair or not.
2017-01-25 Thore Böckelmann <tboeckel@gmx.de>
* mcp/Dispatcher.c: added unique names for private custom classes.
* mcc, mcp: removed an unused pen setting.
#### v15.48 RELEASE (special MUI 5.0-2017R1 release) ###########################
2017-01-10 Thore Böckelmann <tboeckel@gmx.de>
* mcp/CreatePrefsGroup.c: removed the explicit column numbers from the title
format. These are of no use when the column order is static.
* mcp/ObjectCreator.c: fixed the wrong attribute for the settings items
MUICFG_TextEditor_BlockQual. A numeric value must not be pen spec. This refs
#19.
* mcc/HandleInput.c: explicitly check for no block qualifier (mouse only).
This refs #19.
2017-01-01 Thore Böckelmann <tboeckel@gmx.de>
* mcc/NewGfx.c: fixed a warning about using an uninitialized variable.
2016-11-08 Alper Sönmez <amithlondestek@gmail.com>
* mcc/EditorStuff.c: Corrected raster scroll in accordance with bottom space
usage.
* mcc/GetSetAttrs.c: Corrected line dump in accordance w. bottom space usage.
* mcc/HandleInput.c, mcc/Methods.c:
Implemented new behaviour for user clicks in the bottom space.
* mcc/MixedFunctions.c: Better cursor drawing and drawbottom evaluations and
tweaks for bottom space usage
* mcc/Navigation.c : Tweaks for bottom space usage.
* mcc/PrintLinesWithStyles.c: A bug in separator drawing removed. Better
evaluation for partial line drawing in double buffer mode.
2016-11-03 Alper Sönmez <amithlondestek@gmail.com>
* mcc/Methods.c: horizontal autoscroll when block marking implemented.
* mcc/private.h, mcc/GetSetAttrs.c, mcc/Dispatcher.c,
mcc/MixedFunctions.c, mcc/PrintLinesWithStyles.c:
- Correct horizontal pattern calculations and scroll implementations.
- Graphic glithces at the bottom of the gadget removed.
- data->xpos made LONG and typecasts removed.
2016-10-27 Alper Sönmez <amithlondestek@gmail.com>
* mcc/CaseConversion.c, mcc/ColorOperators.c, mcc/Dispatcher.c,
mcc/EditorStuff.c, mcc/GetSetAttrs.c, mcc/HandleInput.c, MixedFunctions.c,
mcc/Navigation.c, mcc/NewGfx.c, mcc/PrintLineWithStyles.c,
mcc/StyleOperators.c, mcc/UndoFunctions.c, mcc/private.h,
include/mui/TextEditor_mcc.h:
- Lots of (re-)implementations to support a horizontal scroller in
NoWrapMode.
- TextFitNew() and TextLengthNew() are re-implemented to support very large
input/return values and instead of taking a dummy TextExtent, TextFitNew()
now takes a TextExtentNew structure which uses LONG type members and fills
it properly.
So that its te.Width member can be used instead of calling another
TextLengthNew(). This provides very good optimization.
- Cursor being drawn out of gadget boundaries issue when in NoWrapMode
resolved.
- Issue of highlighted text changing color when edited resolved.
- Passing a NULL to this MUIA_TextEditor_HorizontalScroll now acts as a
switch for turning off horizontal scrolling even in NoWrapMode.
- Behaviour of FLG_HScroll re-implemented
(now keeps the state of horizontal scrolling on or off).
- New public attribute MUIA_TextEditor_HorizontalSlider (passing a NULL to
this attribute disables the horizontal scroll facilities).
2016-09-07 Thore Böckelmann <tboeckel@gmx.de>
* library.c: moved the system and CPU description behind the copyright part.
2016-08-15 Thore Böckelmann <tboeckel@gmx.de>
* all/Debug.c: declare inlined _INDENT() function as static to avoid warnings
of GCC5.
2016-08-12 Thore Böckelmann <tboeckel@gmx.de>
* mcp/Makefile: generate ISO8859-1 encoded catalogs instead of UTF8 encoded
ones.
2016-08-11 Thore Böckelmann <tboeckel@gmx.de>
* mcc/ClipboardServer.c: fixed a missing initialization of the session local
instance data pointer which caused a crash when copying text to the
clipboard. This closes #4.
#### v15.47 RELEASE ############################################################
2016-08-06 Jens Maus <mail@jens-maus.de>
* misc: final v15.47 release preparations
* include: updated SDI headers.
2016-05-02 Thore Böckelmann <tboeckel@gmx.de>
* mcc/Dispatcher.c: create a fully layered rastport for double buffering
instead of using a non-layered one. This fixes the issues with italic text
starting in the first column. Italic text might cause drawing to coordinates
left of the desired text position and hence requires proper clipping. This
closes #3.
2016-02-04 Thore Böckelmann <tboeckel@gmx.de>
* mcc/GetSetAttrs.c, mcc/Dispatcher.c: implemented a new method to cause
asynchronous redraws. This is necessary, because MUI4 forbids recursive
invokations of MUIM_Draw to avoid infinit loops. However, the best approach
would be to fix this in TextEditor.mcc directly and NOT to call MUI_Redraw()
recursively. This fixes the invisible text in AmiKit8's LiveUpdate.
2016-01-05 Thore Böckelmann <tboeckel@gmx.de>
* mcc/PrintLineWithStyles.c: fixed a coloring issue in pen mode.
2015-09-22 Thore Böckelmann <tboeckel@gmx.de>
* mcc/misc: implemented MUIA_TextEditor_RGBMode to completely avoid the usage
of pens for text rendering. All pen numbers will be converted to direct
RGB values as soon as their color information is available, i.e. MUIM_Setup
was called for the TextEditor object.
2015-09-08 Thore Böckelmann <tboeckel@gmx.de>
* mcc/Dispatcher.c, mcc/PrintLineWithStyles.c: reworked the RGB color handling
to be independent of patches like AfAOS on AmigaOS3.
2015-09-02 Thore Böckelmann <tboeckel@gmx.de>
* mcc/ExportHook.c: export the lower 24bits of the RGB color only for
consistency with the documentation and the import functions.
* mcc/PrintLineWithStyle.c: use SetRPAttrs() only to set the text color.
2015-09-01 Thore Böckelmann <tboeckel@gmx.de>
* mcc: implemented support for direct RGB color specs as known from MUI4's
text engine. Use escape sequences like \033P[RRGGBB] to set the RGB color
"RRGGBB" encoded in hex. The visual display of such RGB colors requires a
hi/truecolor screen and a graphics.library which is able to handle such RGB
colors. The latter is true for AmigaOS 4, MorphOS and AROS. For AmigaOS 3.x
a patch like AfAOS is required.
2015-08-24 Thore Böckelmann <tboeckel@gmx.de>
* mcc/Dispatcher.c, mcc/GetSetAttrs.c, mcc/MixedFunctions.c: implemented an
alternative way to handle the current cursor position. This way no longer
treats the position as separate X and Y values but as an index into the text
buffer. This index value is then converted into the known X and Y values
automatically. Thanks to Andreas Falkenhahn for the suggestion.
#### v15.46 RELEASE ############################################################
2015-03-21 Jens Maus <mail@jens-maus.de>
* misc: final v15.46 release preparations
2015-03-16 Thore Böckelmann <tboeckel@gmx.de>
* mcc/HandleInput.c, mcc/Navigation.c: reverted the type cast to ULONG as
it does not produce the wanted code for direct calls on locale.library
functions. Instead the characters are now explicitly ANDed with 0xff to make
sure that no extended signs are passed to the called function.
2015-03-15 Thore Böckelmann <tboeckel@gmx.de>
* mcc/HandleInput.c, mcc/SpellChecker.c: cast all characters passed to any
locale.library function to ULONG to avoid any possible sign extension which
might cause the called function to return wrong results.
2015-03-13 Thore Böckelmann <tboeckel@gmx.de>
* mcc/Navigation.c: treat the character to be checked for being a separation
character as an unsigned values instead of a simple "char". This works
around possible problems with locale drivers (i.e. russian) which return the
wrong result for negative character values due to sign extension by the
compiler.
2014-08-27 Thore Böckelmann <tboeckel@gmx.de>
* mcp/locale: added dutch, spanish and turkish translations and updated all
other translations.
2014-06-11 Thore Böckelmann <tboeckel@gmx.de>
* mcc/InitConfig.c: ensure that a custom fixed font is really a monospaced
font. Otherwise the class will fall back to MUI's internal fixed font
settings.
2014-05-03 Thore Böckelmann <tboeckel@gmx.de>
* mcp/ObjectCreator.c: added some NULL pointer checks when setting up the new
configuration. This closes MUI ticket #28.
* mcc/PrintLineWithStyles.c: fix a wrong color pen handling.
2014-04-28 Thore Böckelmann <tboeckel@gmx.de>
* mcp/KeyStorage: make sure that the saved keybindings contain no trash in the
terminating entry to make them properly comparable when checking for a
modified configuration.
* mcp/KeyStorage: store modified keybindings in the MUI configuration only.
* demo/TextEditor-Demo.c: fixed the missing NULL termination for array of used
classes.
* mcc/InitConfig.c: free really allocated pens only and remove dispose the
suggest window only if it was really added before.
* mcc/SpellChecker.c: the suggest window is now created dynamically as soon as
it is required. This solves the known issues with the realtime prefs of
MUI4.
2014-04-26 Thore Böckelmann <tboeckel@gmx.de>
* mcc, mcp: reworked the complete configuration object handling to massively
simplify things. Furthermore the .mcp and the .mcc class refer to the same
default settings instead of replicating the same stuff in two places. The
two spell checking command settings have been split into two separate items
for each setting to simplify their handling. All in all resetting the
settings to their default values should now really be working in a reliable
fashion which was not the case before.
2014-04-10 Thore Böckelmann <tboeckel@gmx.de>
* mcc/SpellChecker.c: fixed a possibly wrong index check when extracting words
for the spell checker from the text.
2014-04-08 Thore Böckelmann <tboeckel@gmx.de>
* mcc/Dispatcher.c, mcp/CreatePrefsGroup.c: disable the custom selection
pointer if MUI already handles this. The selection pointer can then be
globally enabled/disabled in MUI prefs (AmigaOS only).
#### v15.45 RELEASE ############################################################
2014-04-05 Jens Maus <mail@jens-maus.de>
* misc: final v15.45 release preparations
2014-04-01 Thore Böckelmann <tboeckel@gmx.de>
* mcp/locale: added a new header line to the .po files to specify a correct
name for the generated .catalog file.
2014-03-31 Thore Böckelmann <tboeckel@gmx.de>
* mcp/CreatePrefsGroup.c, locale: restored the missing bubble help texts which
got lots during the transition to .po files. Please note that I copied over
the help texts for all non-slavic languages only. The old help texts are
still available in previous .ct files in the SVN repository.
* mcc/SpellChecker.c: added missing parameter for a notification to call a
hook via MUIM_CallHook. This caused crashes when a spellchecker was about to
replace a mispelled word. Thanks to Mikhail Malyshev for the hint.
2014-02-23 Jens Maus <mail@jens-maus.de>
* mcp/locale: all catalog translations have now been moved to use the free
services of transifex (http://www.transifex.com/projects/p/texteditor-mcc/)
#### v15.44 RELEASE ############################################################
2014-01-26 Jens Maus <mail@jens-maus.de>
* misc: final v15.44 release preparations
2014-01-25 Thore Böckelmann <tboeckel@gmx.de>
* mcc/ImportText.c: remember the current export hook before doing the actual
export with a different hook.
2014-01-13 Thore Böckelmann <tboeckel@gmx.de>
* mcp/locale/danish.ct: updated danish translation kindly provided by Niels
Bache.
2013-12-22 Jens Maus <mail@jens-maus.de>
* InitConfig.c: commented out a ReimportText() call which caused in YAM to
not show text in a write window uncolored while it contains colored
sequences. The root cause of the problem still have to be found but it
seems that call is definitly misplaced here!
2013-12-21 Thore Böckelmann <tboeckel@gmx.de>
* demo/TextEditor-Demo.c: correct wrong count parameter for
MUIM_Application_OpenConfigWindow.
#### v15.43 RELEASE ############################################################
2013-12-18 Jens Maus <mail@jens-maus.de>
* misc: final v15.43 release preparations
* mcc/HandleInput.c: fixed the internal spell checking functionality which was
broken since 15.41 because it triggered the Lookup for every entered
char instead of word. Now the SpellCheckWord() function should be correctly
called. This fixes ticket #108.
#### v15.42 RELEASE ############################################################
2013-12-14 Jens Maus <mail@jens-maus.de>
* misc: final v15.42 release preparations
* mcc/SpellChecker.c: changed the recently added SpellCheck modifications to
use AllocVecPooled/FreeVecPooled instead of calloc/free since this causes
the build to fail for MorphOS.
* Makefile: changed MorphOS build to use our own GetSucc, etc. functions and
not rely on the AROS compatibility macros.
2013-11-01 Thore Böckelmann <tboeckel@gmx.de>
* mcc/GetSetAttrs.c, mcc/HandleInput, mcc/SpellChecker.c: added a new
mechanism to trigger an attribute if the last entered word was found in a
list of keywords defined by the application. This feature will be used by
YAM's attachment reminder.
* mcc/SpellChecker.c: simplified the word extraction process for the keyword
check. This makes the extension check work.
2013-10-15 Thore Böckelmann <tboeckel@gmx.de>
* mcc/TextEditor-Test.c: updated AmigaOS4 build for the latest SDK.
2013-04-30 Thore Böckelmann <tboeckel@gmx.de>
* mcp/locale/greek.ct: updated greek translation kindly provided by Antonis
Iliakis.
#### v15.41 RELEASE ############################################################
2013-04-25 Jens Langner <Jens.Langner@light-speed.de>
* misc: final v15.41 release preparations
* include/muiextra.h: added definition of MUII_PopFont as some MUI SDK might
not have them yet.
2013-04-24 Thore Böckelmann <tboeckel@gmx.de>
* mcp/locale/greek.ct: updated greek translation kindly provided by Antonis
Iliakis.
2013-04-22 Thore Böckelmann <tboeckel@gmx.de>
* mcp/CreatePrefsGroup.c: use the font popup button image for MUI 3.9+.
2013-03-06 Thore Böckelmann <tboeckel@gmx.de>
* include/mccinit.c, include/shellstart.c: rearranged the code to ensure that
trying to start the final class from a shell does not crash.
2013-01-11 Thore Böckelmann <tboeckel@gmx.de>
* mcc/AllocFunctions.c, misc: removed the wrapper functions for allocating
and freeing a line as they covered a single line only.
2013-01-10 Thore Böckelmann <tboeckel@gmx.de>
* mcc/AllocFunctions.c, mcc/EditorStuff.c, mcc/BlockOperators.c: check for
possible references before removing/freeing a line, as getting the line's
preceeding or successing line after it has been removed from the line list
might dereference invalid pointers. This closes bug #107.
2013-01-04 Thore Böckelmann <tboeckel@gmx.de>
* mcc/HandleInput.c: for externally handled double clicks (i.e. the double
click hook) the not yet happend mouse release event will nevertheless be
treated as occured. Before it might have happened that the double click
hook launches a program which steals the focus and leaves the object
pending in a "mouse pressed" situation. This will result in an immediate
marking action as soon as the object regains the focus. For example this
happens when a URL is double clicked in YAM and if launching the browser
takes some seconds. This closes bug #106.
2012-12-22 Thore Böckelmann <tboeckel@gmx.de>
* tools/mkrelease: add italian catalog to the release archive.
#### v15.40 RELEASE ############################################################
2012-12-20 Jens Langner <Jens.Langner@light-speed.de>
* misc: final v15.40 release preparations
2012-11-29 Thore Böckelmann <tboeckel@gmx.de>
* mcc/MixedFunctions.c, mcc/PrintLineWithStyle.c: apply MUIPEN() to all pen
values allocated by MUI_ObtainPen().
2012-11-19 Thore Böckelmann <tboeckel@gmx.de>
* mcc/Pointer.c: make use of the standard mouse pointer images in the AmigaOS4
build if intuition.library 53.37 is available.
2012-09-20 Thore Böckelmann <tboeckel@gmx.de>
* mcp/ObjectCreator.c: don't trigger notifications in
MUIM_Mccprefs_ConfigToGadgets.
* mcp/ObjectCreator.c: save strings with their real length only instead of
their maximum length to assist MUI4's realtime prefs.
2012-09-12 Thore Böckelmann <tboeckel@gmx.de>
* mcc/Dispatcher.c, mcc/InitConfig.c: apply the current configuration before
calling the superclass' MUIM_Setup to ensure the frame settings are applied
correctly.
2012-09-03 Thore Böckelmann <tboeckel@gmx.de>
* mcp/locale/italian.ct: updated italian translation kindly provided by Samir
Hawamdeh.
2012-09-02 Thore Böckelmann <tboeckel@gmx.de>
* mcp/CreatePrefsGroup.c: the floattext object on the Spellchecking page now
accepts wheel scroll events.
2012-09-01 Thore Böckelmann <tboeckel@gmx.de>
* mcp/locale/italian.ct: added italian translation kindly provided by Samir
Hawamdeh.
2012-08-31 Thore Böckelmann <tboeckel@gmx.de>
* mcc/EditorStuff.c: fixed a redraw bug due to a wrong index check when
deleting characters at the end of a wrapped line.
2012-08-28 Thore Böckelmann <tboeckel@gmx.de>
* mcp/CreatePrefsGroup.c: adjusted the crawling text to better match the
capabilities of Crawling.mcc.
* mcc/HandleInput.c: added support for the standard cut, copy, paste, undo and
redo keys of MUI4.
2012-08-27 Thore Böckelmann <tboeckel@gmx.de>
* mcc/SetBlock.c: added missing block enabling when style changes were
requested along with setting the now block. Thanks to Andreas Falkenhahn for
the hint.
2012-08-24 Thore Böckelmann <tboeckel@gmx.de>
* mcc/Navigation.c: fixed several "use before check" occurences.
* mcc/HandleInput.c: fixed wrong handling of DEL key at the end of a line.
* mcc/misc: removed all the senseless distinction between "fast" and "slow"
background images. This makes the code a lot more understandable.
2012-08-22 Thore Böckelmann <tboeckel@gmx.de>
* mcc/EditorStuff.c: moved a check to a more appropriate location to avoid
leaving a function somewhere in the middle.
* mcc/EditorStuff.c: fixed a potential out of bounds access of the text line to
be printed.
* mcc/MixedFunctions.c: check the index to inside the array bounds before
accessing the array.
* mcc/EditorStuff.c: apply all further changes to a line only if a possible
expansion has succeeded before.
* mcc/MixedFunctions.c: removed all the handling of anti-aliased fonts. The
background area affected by redraw operations will always be cleared now no
matter what type of font is used.
2012-08-21 Thore Böckelmann <tboeckel@gmx.de>
* mcc/MixedFunctions.c: fixed an endless loop when splitting a non-empty line
into two new lines.
2012-08-20 Thore Böckelmann <tboeckel@gmx.de>
* mcc/MixedFunctions.c: put the line counting code into a separate function to
reduce code replication.
* mcc/PrintLineWithStyles.c: limit the drawing of the background of unwrapped
lines to the visual area.
2012-08-16 Thore Böckelmann <tboeckel@gmx.de>
* mcc/BlockOperators.c: simplified the cutting block function prototypes to
carry less parameters and avoid double negation.
* mcc/EditorStuff.c: fixed a memory leak when pasting clipboards without using
styles or colors.
* mcc/EditorStuff.c: if things like right alignment or highlighting are found
in the clipboard these will be treated as clipboard entries created by TE.mcc
itself and everything will be restored correctly now.
2012-08-15 Thore Böckelmann <tboeckel@gmx.de>
* mcc/BlockOperators.c: implemented a new function to mark the complete text.
* mcc/PrintLineWithStyles.c: correctly respect the maximum visibile width of
the object when drawing the text. This fixes bug #3558290.
* mcc/PrintLineWithStyles.c: don't print any text if there is no space left
for at least one character.
2012-08-14 Thore Böckelmann <tboeckel@gmx.de>
* mcc/GetSetAttrs.c: treat a NULL content pointer as an empty text. Otherwise
setting a NULL content will have no effect.
* mcc/GetSetAttrs.c: enabling/disabling the object will cause a redraw event
only if the state really changes and MUI4 is not available.
2012-08-09 Thore Böckelmann <tboeckel@gmx.de>
* mcc/misc: avoid copying styles and colors too often.
#### v15.39 RELEASE ############################################################
2012-08-05 Jens Langner <Jens.Langner@light-speed.de>
* misc: final v15.39 release preparations
2012-08-02 Thore Böckelmann <tboeckel@gmx.de>
* mcc/InitConfig.c: restrict certain configuration values to their configurable
limits.
* mcc/GetSet.c, mcc/InitConfig.c, mcc/ImportText.c: added a new function to
reimport the current text with modified TAB size or TAB conversion mode. This
fixes the issues that may arise when the user has configured a custom TAB
size and an application has set a text containing TAB characters before the
class was able to access its configuration, i.e. before opening the window.
This changes ensures that the text will always be correctly displayed with
the configured TAB size.
* mcc/GetSet.c, mcc/InitConfig.c: added a new attribute MUIA_TextEditor_TabSize
to let an application enforce a specific number of spaces per TAB character
no matter what the user has configured.
2012-07-20 Thore Böckelmann <tboeckel@gmx.de>
* mcc/GetSetAttrs.c: fixed a potential memory leak in case importing a text
failed. In this case the former text buffer was not freed.
2012-07-12 Thore Böckelmann <tboeckel@gmx.de>
* mcc/EditorStuff.c: use memmove() instead of strlcpy() when moving characters
backwards as the regions may overlap.
* mcc/EditorStuff.c: rely on the existing line length information instead of
calculating it from scratch when inserting or removing characters.
2012-07-09 Thore Böckelmann <tboeckel@gmx.de>
* mcc/EditorStuff.c: added some more boundary checks when inserting or
deleting a range of characters. I hope this makes it possible to track down
those mysterious crashed during UpdateChange().
* mcc/Dispatcher.c, mcc/ImportHook.c: assume a default TAB size of 4 spaces
per TAB. The "Wetter" application tries to import a text before the
configuration has been parsed and this left the class with a TAB size of
zero which then was used to replace TAB characters by spaces. This closes
bug #3536338.
* mcc/misc: replaced several indirect object pointers by direct ones.
* mcc/misc: removed a global variable to keep the object's top position. This
value is better obtained by using _mtop(obj).
2012-06-20 Thore Böckelmann <tboeckel@gmx.de>
* mcp/KeyStorage.c: don't allocate locked memory here as well and replaced an
AllocMem() call by AllocVec().
2012-06-19 Thore Böckelmann <tboeckel@gmx.de>
* mcc/misc: don't allocate locked memory.
2012-05-16 Pär Boberg <pbobbenb@spray.se>
* mcp/locale/swedish.ct: updated and some minor corrections.
2012-05-14 Thore Böckelmann <tboeckel@gmx.de>
* mcp/Makefile: removed .catalog files in clean target.
* mcp/locale/TextEditor_mcp.cd: replaced non-7bit-ASCII character by a
suitable sequence.
#### v15.38 RELEASE ############################################################
2012-05-12 Jens Langner <Jens.Langner@light-speed.de>
* misc: final v15.38 release preparations
* mcc/Makefile: restored the -DNO_INLINE_STDARG define in CFLAGS as otherwise
our AROS cross-compilers won't build for these targets and raise some
"untermated macro" errors when building our test applications.
* doc/TextEditor.guide: removed the whole "History" section as we solely
rely on the ChangeLog in future as it is too much work to update the .guide
for every new release.
2012-05-04 Thore Böckelmann <tboeckel@gmx.de>
* mcc/HandleInput.c: restored the correct return code interpretation of the
double click hook that was inverted in r756. Now everything is conformant to
the Autodocs again.
2012-04-07 Jens Langner <Jens.Langner@light-speed.de>
* mcc: the graphics library TextLength() function is now used for situations where
only a fixed string is used, thus no \t can be in there.
* mcc/NewGfx.c: removed the xoffset dependance in TextLengthNew() and TextFitNew()
as I can't see any reason for that? In addition, this fixes the problem that
the number of pixels required in ConvertTabs mode and non-ConvertTabs mode
wasn't equal for an instered TAB.
2012-04-05 Jens Langner <Jens.Langner@light-speed.de>
* ImportText.c, ImportHook.c, misc: changed ImportHook to also allow to specify
the number of spaces that should be used to convert tabs to spaces if this
operation is wanted.
* Keybindings.c, MCC_TextEditor.doc: changed default NextGadget keybinding to
use RCOMMAND+TAB instead of ALT+TAB because ALT+TAB is already taken by MUI
itself for switching windows.
* mcc: renamed 'RealTabs' to 'ConvertTabs' and made it default to TRUE so that
the old behaviour is reserved where TE.mcc always converts \t to spaces.
* mcc: removed the global TabSizePixels variable and moved it into the instance
data including reworked Text*New() functions in NewGfx.c.
* mcc/HandleInput.c: when a TE.mcc object has been active and the TAB has was
used the action always ended up in activating the next object in the
CycleChain as the new active object. However, when using the TAB key in an
editor the action should always end up in either storing real tabs (\t) or in
storing a number of spaces into the object according to the current settings.
However, this was not possible at all.
2012-04-05 Thore Böckelmann <tboeckel@gmx.de>
* mcc/HandleInput.c: fixed handling of the TAB key as real input key.
2012-04-04 Thore Böckelmann <tboeckel@gmx.de>
* mcc/GetSetAttrs.c: added missing #include.
2012-04-04 Jens Langner <Jens.Langner@light-speed.de>
* mcc/*: applied patch kindly provided by Nicolas Rybkin. Please note that
the functionality provided by this patch is not complete yet. But it should
provide basic functionality which will allow to put real tabs (\t) into a
texteditor (if the developer enabled this). Currently TE.mcc only supports
replacing tabs by a various number of spaces. With the patches provided
TE.mcc should be able to allow to press the TAB key and see \t to end up
in the buffer. However, as mentioned, the patches are not yet complete
and need some more work to end up in the final release.
* Makefile: got rid of -funroll-loops option as this one is potentially
dangerous under certain circumstances.
2012-04-02 Thore Böckelmann <tboeckel@gmx.de>
* mcc/InitConfig.c: string pointers obtained from the MUI configuration must
be copied instead of rembembered directly. With MUI4's realtime prefs the
pointer might become invalid at any time and hence the class would operate
on invalid data after that.
2012-02-16 Thore Böckelmann <tboeckel@gmx.de>
* mcc/ColorOperators.c: fixed adding new colors in case there was no color
used at all yet on a line.
2012-01-29 Matthias Rustler <mrustler@gmx.de>
* Backport of AROS fixes.
SDI headers updated.
2012-01-10 Thore Böckelmann <tboeckel@gmx.de>
* mcc/HandleInput.c: mouse wheel events happening over the slider object are
now handled in the same way as over the editor object. This makes scrolling
speed to be the same no matter where the mouse pointer is located.
#### v15.37 RELEASE ############################################################
2011-11-26 Jens Langner <Jens.Langner@light-speed.de>
* misc: final v15.37 release preparations
2011-01-04 Thore Böckelmann <tboeckel@gmx.de>
* all/Makefile: fixed the dependency generation to respect the system specific
object file path.
2010-11-17 Thore Böckelmann <tboeckel@gmx.de>
* mcc/HandleInput.c: slightly deobfuscated the double click handling.
* demo/TextEditor-Demo.c: obtain/release the pens in the MUIM_Setup/Cleanup
methods instead of MUIM_Show/Hide.
2010-10-05 Thore Böckelmann <tboeckel@gmx.de>
* include/mccinit.c: make sure that removing the library during LibClose()
really operates on the correct base. Calling LibExpunge() on MorphOS is
wrong, since that takes no parameter but expects the base to be in A6. We
work around this by using an additional function which gets called from
LibClose() and LibExpunge() with the correct base pointer.
#### v15.36 RELEASE ############################################################
2010-09-23 Jens Langner <Jens.Langner@light-speed.de>
* misc: final v15.36 release preparations
2010-09-18 Pär Boberg <pbobbenb@spray.se>
* mcp/locale/swedish.ct: new file generated by FlexCat 2.7.
2010-09-14 Thore Böckelmann <tboeckel@gmx.de>
* mcc/Methods.c: trying to clear the contents of an already instance of TE.mcc
caused an error message, because there was nothing to be deleted. Now the
deleted text is added to the undo buffer only if it really exists. This fixes
ticket #209 of YAM.
2010-09-08 Mariusz Danilewicz <mandi@interia.pl>
* AUTHORS: added translators section (please check and update missing persons).
2010-09-07 Thore Böckelmann <tboeckel@gmx.de>
* mccinit.c: added missing #include <string.h> for memset().
2010-09-03 Thore Böckelmann <tboeckel@gmx.de>
* mccinit.c, #?/ClipboardServer.c: updated to the latest version and clear all
embedded semaphore structures before calling InitSemaphore().
#### v15.35 RELEASE ############################################################
2010-09-01 Jens Langner <Jens.Langner@light-speed.de>
* misc: final v15.35 release preparations
2010-08-17 Thore Böckelmann <tboeckel@gmx.de>
* mccinit.c, SDI_compiler.h: updated to latest versions.
2010-08-04 Thore Böckelmann <tboeckel@gmx.de>
* mcc/#?: replaced lots of direct references to MUI's area data and render
info by the appropriate macro calls. This way we can rid of some private
variables which are just copies of these values.
* mcc/PrintLineWithStyle.c: added a TextFit() call to calculate how many
characters can really be displayed. This works around the problem that very
long lines would either be drawn outside the editors area or were not
correctly displayed at all due to integer overflows in graphics.library.
2010-07-30 Thore Böckelmann <tboeckel@gmx.de>
* mcc/Debug.c, mcp/Debug.c: removed unused debug flags from the .mcp and made
@mtrack user definable for both classes.
* mcp/Makefile, misc: added missing functions for the OS3 debug build.
2010-07-29 Jens Langner <Jens.Langner@light-speed.de>
* mcp: fixed MorphOS compile by applying debugging framework from mcc also
on the mcp.
2010-07-07 Thore Böckelmann <tboeckel@gmx.de>
* mcc/HandleInput.c: the text was no longer refreshed in case the user tried
to paste from an empty or non-text clipboard.
2010-07-06 Thore Böckelmann <tboeckel@gmx.de>
* mcc/Methods.c: clearing the complete text is now remembered as an action
without cursor movement. Undoing this action will result in the cursor being
placed on the very first character of the text instead of behind the very
last character.
* mcc/misc: use the SetAfPt() macro instead of poking directly into the
RastPort structure.
2010-07-05 Thore Böckelmann <tboeckel@gmx.de>
* mcp/CreatePrefsGroup.c: replaced the text editor object containing the
instructions about the spell checking facility by a plain float text object.
Having a flow blown editor is far too much overhead here.
* mcc/UndoFunctions.c: defined a separate value for a "do nothing" undo step
which can be used to erase any other undo step type.
* mcc/UndoFunctions.c: fixed a possible memory leak when resizing the undo
buffer. A resize from any number of steps to zero steps would not have freed
any undo steps done so far.
2010-07-03 Thore Böckelmann <tboeckel@gmx.de>
* mcp/ObjectCreator.c: removed the "undo steps" slider from the real time
settings facility of MUI4 completely. First, adjusting the value will give
no visual feedback. Second (and even more important), adjusting the number
of steps in real time will effectively kill all undo steps so far in case
the slider is moved to zero. This is not what the user expects to happen.
MorphOS-devs, please check the other GUI elements if some of them can be
excluded from the real time settings as well. Furthermore, please check if
this change fixes bug #3024024.
2010-07-02 Thore Böckelmann <tboeckel@gmx.de>
* mcc/UndoFunctions.c: the undo buffer will be preserved in case the number of
undo steps is modified.
* mcc/UndoFunctions.c: a modified number of undo steps will now trigger the
notifications for MUIA_TextEditor_Undo/RedoAvailable.
* mcc/UndoFunctions.c: in case there is not enough memory for a new undo step
(i.e. a too big block) only this single step will be discarded instead of
all remembered steps so far.
* mcc/UndoFunctions.c: in case the number of undo steps is decreased the steps
which don't fit into the new buffer are freed correctly now.
#### v15.34 RELEASE ############################################################
2010-07-01 Jens Langner <Jens.Langner@light-speed.de>
* misc: final v15.34 release preparations
2010-06-30 Jens Langner <Jens.Langner@light-speed.de>
* Makefile: fixed the top-level Makefile to only compile for the standard
platform found by the separate Makefiles in each subdirectories.
* tools/mkrelease.sh: minor fixes to the mkrelease script to generate a complete
new release archive.
2010-06-29 Ilkka Lehtoranta <ilkleht@yahoo.com>
* mcc/Makefile, mcc/private.h: Use standard AROS GetHead/Pred/Succ/Tail
macros in MorphOS.
2010-06-29 Thore Böckelmann <tboeckel@gmx.de>
* mcp/locale/swedish.ct: added ##codeset line.
2010-06-27 Thore Böckelmann <tboeckel@gmx.de>
* doc/MCC_TextEditor.guide: fixed wrong version information. This fixes bug
#3021781.
2010-06-11 Thore Böckelmann <tboeckel@gmx.de>
* Install-MCC: extended the final message that a reboot might be necessary to
be able to use the just installed version.
2010-06-10 Thore Böckelmann <tboeckel@gmx.de>
* mcc/misc: moved all sources which implement stuff which is missing on some
systems to a separate "extrasrc" directory.
2010-06-09 Thore Böckelmann <tboeckel@gmx.de>
* mcc/Get#?.c: added GetHead/Pred/Succ/Tail implementation for those systems
which don't implement these natively.
* mcc/EditorStuff.c: use the growing tables as well when removing characters
and the style/color information needs to be updated. This should have been
the last place for possible buffer overruns if removing some styled text