OberonCore

Библиотека  Wiki  Форум  BlackBox  Компоненты  Проекты
Текущее время: Вторник, 19 Март, 2024 13:44

Часовой пояс: UTC + 3 часа




Начать новую тему Ответить на тему  [ Сообщений: 20 ] 
Автор Сообщение
 Заголовок сообщения: Coming soon: BlackBox Component Builder 1.7 CPC Edition
СообщениеДобавлено: Воскресенье, 09 Март, 2014 18:21 

Зарегистрирован: Суббота, 24 Август, 2013 08:57
Сообщения: 81
I will release BlackBox Component Builder 1.7 CPC Edition soon. My current working version of CPC Edition built on 07.03.2014 contains 66 change points. Are there some changes missing?

List of cange point:
1. Adding Charaters to the Build-Tool, Toolbar to Config & CPC Edition in About
2. Some BlackBox documents correction (Open Points #37)
3. Correction in WinApi
4. Linker DLL bug correction
5. Kernel
6. Open Browser in the same window or in a new windows
7. Expand subsystem name to max. 16 characters (was 9 characters)
8. Report illegal charcters during compilations (Open Points #38)
9. Prevent compiler TRAP 0 by the illegal use of ADR function (Open Points #44)
10. DevCPC486.GetReg: change the register select order (Open Points #53)
11. LONGINT compiler correction (Open Points #32)
12. Remove compiler restriction of code procedure size (Open Points #45)
13. Centralise some Unicode character functions (Part 1: National -> Characters)
14. Centralise some Unicode character functions (Part 2: Characters.Short)
15. Add convert SET to Strings
16. Subsystem Sql corrections
17. OberonCore Dev changes (part of B1 .. B17)
18. OberonCore Host changes (part of B1 .. B17)
19. OberonCore Std changes (part of B1 .. B17)
20. OberonCore System changes (part of B1 .. B17)
21. Add WrappedView used by Hermes (Open Points #03)
22. Speedup ObxActions
23. Underlining spaces (Open Points #59 & #60)
24. Use subystem & module name in registry subkeys
25. Portable BlackBox with ini-File BlackBox /PORTABLE
26. NextBox (popup menu, shortcut keys, mouse wheel support) (Open Points #58)
27. ProjectAll
28. Add missing name into the contributor list
29. Add Windows 7 & Windows 8 to platform
30. Utils
31. Feature that adds redraw with any changes of the window size
32. Fix trap by Info → Analyse Module (Open Points #41)
33. TextCmds.Left/RightTerminator: Fix the search with Word Begins/Ends
34. Speed up the dump of a large data structures
35. Commanders correction B11
36. ODBC Bug (Open Points #36)
37. Using Characters in Strings
38. DevCPT.IdFPrint does not take care about the system flags.
39. Folds in Wine.
40. Cut & Paste (RTF Converter)
41. Multiple languages support ‹‹for Info -> Documentation & Info -> Search In Documentation
42. OberonCore release B18 .. B23
43. Dialog.Beep
44. Add beep & language to preference
45. Missing characters in ThisWndChar and WriteWndChar (Open Points #06)
46. ExpandHook for custom tags added
47. dialogCommand improved, OpenPage with global page numbering (Open Points #12)
48. Bug in HostMenus when the label of a menu item is changed by a guard procedure
49. Cleaning up underlined white space in Info -> Repository
50. Stack overflow (Open Points #62)
51. Using Wingdings or Wingdings 3 for arrows
52. Add and use IsWindows, IsMac, IsLinux & IsWine
53. DevLinker limit by linking DLL (Open Points #15)
54. Identifiers exceeding 32 characters (Open Points #14 & #57)
55. Max numbers of columns of SQL table controls (Open Points #09)
56. Printing.NewDefaultPar: par.header.font, par.footer.font (Open Points #39)
57. OutObject.Invoke: system flag [nil] added (Open Points #01 & #02)
58. Change style of edit field Patch for HostCFrames (Open Points #04)
59. Unexpected Repository Behavior (Open Points #05)
60. Difference title bar for documentation, source and resources
61. Write search pattern to the output window
62. Change DLL Name from SHORTCHAR to CHAR
63. Add link Characters to DevLinker dokumentations
64. File write error with Windows 7
65. Report modified IN parameters during compilations
66. Sort menu alphabetically

End of List.


Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: Coming soon: BlackBox Component Builder 1.7 CPC Edition
СообщениеДобавлено: Воскресенье, 09 Март, 2014 20:20 

Зарегистрирован: Четверг, 17 Ноябрь, 2005 11:51
Сообщения: 2935
Откуда: г. Ярославль
Nice work


Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: Coming soon: BlackBox Component Builder 1.7 CPC Edition
СообщениеДобавлено: Суббота, 15 Март, 2014 18:18 
Аватара пользователя

Зарегистрирован: Четверг, 08 Октябрь, 2009 15:00
Сообщения: 3774
Good job!

I have just found the problem with Cyrillic letter «Я» in procedures and variables. Please, fix it in next release.


Вложения:
russian_letter_fix.png
russian_letter_fix.png [ 20.44 КБ | Просмотров: 22189 ]
Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: Coming soon: BlackBox Component Builder 1.7 CPC Edition
СообщениеДобавлено: Суббота, 15 Март, 2014 23:30 

Зарегистрирован: Суббота, 24 Август, 2013 08:57
Сообщения: 81
Sorry, currently I have no solution for that problem. Should I delay the release?


Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: Coming soon: BlackBox Component Builder 1.7 CPC Edition
СообщениеДобавлено: Воскресенье, 16 Март, 2014 11:45 
Аватара пользователя

Зарегистрирован: Среда, 29 Март, 2006 12:09
Сообщения: 495
Zinn писал(а):
Sorry, currently I have no solution for that problem. Should I delay the release?

There is a solution in attached file.

I've changed Cyrillic character ranges.

http://www.unicode.org/Public/UCD/latest/charts/CodeCharts.pdf, ranges 0400-04FF, 0500-0527.

Save it to System/Mod/, recompile and do not forget to rebuild *.exe file.

Please do not postpone release :)


Вложения:
Комментарий к файлу: Correct Cyrillic unicode ranges inside
Characters.odc [5.65 КБ]
Скачиваний: 936
Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: Coming soon: BlackBox Component Builder 1.7 CPC Edition
СообщениеДобавлено: Воскресенье, 16 Март, 2014 15:03 

Зарегистрирован: Пятница, 25 Сентябрь, 2009 13:10
Сообщения: 1177
Откуда: Мариуполь
As far as I remember Ivan N. Goryachev proposed a different approach in support of Unicode, using Kernel hooks to WinApi implementation. IMO his solution is more clean and language-independent.


Последний раз редактировалось Роман М. Воскресенье, 16 Март, 2014 15:13, всего редактировалось 1 раз.

Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: Coming soon: BlackBox Component Builder 1.7 CPC Edition
СообщениеДобавлено: Воскресенье, 16 Март, 2014 15:12 
Аватара пользователя

Зарегистрирован: Среда, 29 Март, 2006 12:09
Сообщения: 495
Роман М. писал(а):
IMO this solution is more clean and language-independent.

Which one? :)


Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: Coming soon: BlackBox Component Builder 1.7 CPC Edition
СообщениеДобавлено: Воскресенье, 16 Март, 2014 15:14 

Зарегистрирован: Пятница, 25 Сентябрь, 2009 13:10
Сообщения: 1177
Откуда: Мариуполь
Димыч писал(а):
Роман М. писал(а):
IMO this solution is more clean and language-independent.

Which one? :)
Updated. Changed "this" to "his".


Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: Coming soon: BlackBox Component Builder 1.7 CPC Edition
СообщениеДобавлено: Воскресенье, 16 Март, 2014 18:17 
Аватара пользователя

Зарегистрирован: Среда, 29 Март, 2006 12:09
Сообщения: 495
Роман М. писал(а):
IMO his solution is more clean and language-independent.

Well, there was no general solution proposed yet. Mr. Zinn made (included) partial solution for Cyrillic and Greek languages. I understand that having Unicode implemented will be a great feature for BB, but general solution is quiet difficult (take a look to ICU, for example).

By the way, being locked by WinAPI solution is not a good idea, especially with cross-platform development in mind.

So, I think that Character system module is a good start for full Unicode in BB. That is why I made my fix.
Also, we can add languages on community demand, language by language. We have active Russian community, thus we have Russian language included, others can add their own too.


Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: Coming soon: BlackBox Component Builder 1.7 CPC Edition
СообщениеДобавлено: Понедельник, 17 Март, 2014 10:59 

Зарегистрирован: Суббота, 24 Август, 2013 08:57
Сообщения: 81
Hello Димыч, thank you for your solution. It works great. I add it to the CPC-Edition. I need about 3 weeks to finalize the new version.


Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: Coming soon: BlackBox Component Builder 1.7 CPC Edition
СообщениеДобавлено: Понедельник, 17 Март, 2014 15:13 

Зарегистрирован: Пятница, 25 Сентябрь, 2009 13:10
Сообщения: 1177
Откуда: Мариуполь
Helmut, you can release Release Candidate version 1, then RC2 etc until final release when you decide it is stable enough.

Димыч писал(а):
Роман М. писал(а):
IMO his solution is more clean and language-independent.

Well, there was no general solution proposed yet. Mr. Zinn made (included) partial solution for Cyrillic and Greek languages. I understand that having Unicode implemented will be a great feature for BB, but general solution is quiet difficult (take a look to ICU, for example).

By the way, being locked by WinAPI solution is not a good idea, especially with cross-platform development in mind.

So, I think that Character system module is a good start for full Unicode in BB. That is why I made my fix.
Also, we can add languages on community demand, language by language. We have active Russian community, thus we have Russian language included, others can add their own too.
A key point is "partial solution". Instead, Ivan Goryachev proposed to delegate language-specific domain to OS/library level.
No problem with WinApi at all, as it remains wholly in subsystem Host. So I think it's a clever decision with consideration of cross-platform development in mind.


Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: Coming soon: BlackBox Component Builder 1.7 CPC Edition
СообщениеДобавлено: Вторник, 25 Март, 2014 10:17 
Аватара пользователя

Зарегистрирован: Четверг, 08 Октябрь, 2009 15:00
Сообщения: 3774
I had tested a little the "BlackBox 1.7-RC1". Thank you for your work.

Now, there are no problems with Russian letter "я" in module names, procedures and variables.

However Cyrillic module names are reported with wrong encoding during the unloading process (there are ok during compilation). Also Code and Sym files created with wrong encoding. If you improve this, that will be great.


Вложения:
zinn.png
zinn.png [ 17.42 КБ | Просмотров: 21983 ]
Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: Coming soon: BlackBox Component Builder 1.7 CPC Edition
СообщениеДобавлено: Вторник, 25 Март, 2014 15:14 

Зарегистрирован: Четверг, 12 Июнь, 2008 17:30
Сообщения: 37
Try add this patch,

DevCommanders.Scan

Код:
   PROCEDURE Scan (VAR s: Scanner);
      VAR done: BOOLEAN;i:INTEGER; ch:CHAR; <<add
   BEGIN
            .....
             
    >>add
     IF (s.s.type =ident) OR(s.s.type= qualident) THEN
         i:=0;ch:=s.s.string[0];
         WHILE ch # 0X DO
            IF  Characters.IsCyrillic(ch) THEN s.s.string[i]:=Characters.Short(ch); END;
            INC(i);ch:=s.s.string[i];
         END;
      END;
    <<
   END Scan;


PS:
the code file name,and sym file name is nonprintable in my pc,
but it is workable.


Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: Coming soon: BlackBox Component Builder 1.7 CPC Edition
СообщениеДобавлено: Вторник, 25 Март, 2014 17:00 

Зарегистрирован: Четверг, 12 Июнь, 2008 17:30
Сообщения: 37
DevCPS.Identifier
Код:
  (*name[i] := ch;*)
  IF Characters.IsCyrillic(ch) THEN name[i] := Characters.Short(ch); ELSE name[i] := ch; END;


Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: Coming soon: BlackBox Component Builder 1.7 CPC Edition
СообщениеДобавлено: Среда, 26 Март, 2014 11:09 
Аватара пользователя

Зарегистрирован: Среда, 29 Март, 2006 12:09
Сообщения: 495
Next message is for Russian members.

Коллеги!
Поскольку многие из вас выступают контрибуторами для разных дистрибутивов, в том числе и для дистрибутива mr. Zinn'a. Напишите, пожалуйста, здесь (или приватно mr. Zinn'у) соответствие своих ников/реальных имен латинскому написанию ников/реальных имен.

Это облегчит общение с участниками, не говорящими на русском языке, в том числе написание списка участвовавших в доработке.

Спасибо.


Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: Coming soon: BlackBox Component Builder 1.7 CPC Edition
СообщениеДобавлено: Среда, 26 Март, 2014 13:38 

Зарегистрирован: Пятница, 25 Сентябрь, 2009 13:10
Сообщения: 1177
Откуда: Мариуполь
I started a new topic: Module Characters.


Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: Coming soon: BlackBox Component Builder 1.7 CPC Edition
СообщениеДобавлено: Четверг, 03 Апрель, 2014 12:20 

Зарегистрирован: Суббота, 24 Август, 2013 08:57
Сообщения: 81
What is the reason for the patch in DevCommanders.Scan and in DevCPS.Identifier? What is the different? Have you an example which doesn’t run without this patches? As far as I understand we needn’t this patches at all.


Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: Coming soon: BlackBox Component Builder 1.7 CPC Edition
СообщениеДобавлено: Четверг, 03 Апрель, 2014 13:19 

Зарегистрирован: Четверг, 12 Июнь, 2008 17:30
Сообщения: 37
Цитата:
What is the reason for the patch in DevCommanders.Scan and in DevCPS.Identifier? What is the different? Have you an example which doesn’t run without this patches? As far as I understand we needn’t this patches at all.

though the compiler register a code file(precedure) name is CHAR,and StdLoader.Name is CHAR.
but for Kernel.Name is SHORTCHAR, when load code file, the name will be shorten.
the russian char(which is two byte in my code page 936)will be cut to a wrong shortchar,
and the file name will be shorten to a wrong name, then the loader will not find code file.

the call chain:
DevCommanders(long)--> StdLoader(long)-->Kernel(short)

example:
Цитата:
Russian letter "я"


Код:
MOUDLE Testя;
  IMPORT StdLog;
  PROCEDURE Doя*();
  BEGIN
     StdLog.String('Hello Testя');StdLog.Ln;
  END Doя;

END Testя.
^Q Testя.Doя


Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: Coming soon: BlackBox Component Builder 1.7 CPC Edition
СообщениеДобавлено: Четверг, 03 Апрель, 2014 16:01 

Зарегистрирован: Суббота, 24 Август, 2013 08:57
Сообщения: 81
There may be some misunderstanding.

1. Unicode (16 bits = CHAR) replaces the old obsolete ASCII with code page (8 bits = SHORTCHAR). Using Unicode you need no code page at all.

2. Inside BlackBox as long as you are using CHAR don’t translate them back to ASCII with code page with Characters.Short.

3. I already insert Characters.Short inside the Loader for translation from CHAR to SHORTCHAR. So you need not to do it earlier.

4. Your sample program works the same way with and without your patches. Why should we insert this patches?

5. Well, all SHORTCHAR variable should be expand to CHAR, but this is a topic for the future version of BB. After those changes are done then Characters.Short need not any longer.


Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: Coming soon: BlackBox Component Builder 1.7 CPC Edition
СообщениеДобавлено: Четверг, 03 Апрель, 2014 17:17 

Зарегистрирован: Четверг, 12 Июнь, 2008 17:30
Сообщения: 37
Цитата:
There may be some misunderstanding.

1. Unicode (16 bits = CHAR) replaces the old obsolete ASCII with code page (8 bits = SHORTCHAR). Using Unicode you need no code page at all.

2. Inside BlackBox as long as you are using CHAR don’t translate them back to ASCII with code page with Characters.Short.

3. I already insert Characters.Short inside the Loader for translation from CHAR to SHORTCHAR. So you need not to do it earlier.

4. Your sample program works the same way with and without your patches. Why should we insert this patches?

5. Well, all SHORTCHAR variable should be expand to CHAR, but this is a topic for the future version of BB. After those changes are done then Characters.Short need not any longer.

yes, no need this patch anymore! Test work well.


Вернуться к началу
 Профиль  
 
Показать сообщения за:  Поле сортировки  
Начать новую тему Ответить на тему  [ Сообщений: 20 ] 

Часовой пояс: UTC + 3 часа


Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 0


Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете добавлять вложения

Найти:
Вся информация, размещаемая участниками на конференции (тексты сообщений, вложения и пр.) © 2005-2024, участники конференции «OberonCore», если специально не оговорено иное.
Администрация не несет ответственности за мнения, стиль и достоверность высказываний участников, равно как и за безопасность материалов, предоставляемых участниками во вложениях.
Без разрешения участников и ссылки на конференцию «OberonCore» любое воспроизведение и/или копирование высказываний полностью и/или по частям запрещено.
Powered by phpBB® Forum Software © phpBB Group
Русская поддержка phpBB