Search found 72 matches

by X512
Sat Mar 28, 2020 12:55 am
Forum: Brainstorming
Topic: Tiled workspace view
Replies: 2
Views: 12641

Tiled workspace view

I created tiled workspace view for Blackbox some time ago. I allows to contain non-overlapping rectangular tiles without holes in any configuration. Each tile has tabs that contains view. Vertical and horizontal lines separating tiles are called splits and used for creating/deleting/resizing tiles. ...
by X512
Sun Nov 24, 2019 5:03 pm
Forum: Bug
Topic: Crash when using coroutines
Replies: 11
Views: 26495

Re: Crash when using coroutines

unfortunately, it traps out many window when close the opened View ; If trap contents is like this NIL dereference (read) Windows.RootContext.GetSize [000007F2H] .c Windows.RootContext [02A85B50H] .h INTEGER 2143944424 .w INTEGER 19334948 than this is intended behavior. Each coroutine crash because...
by X512
Sun Nov 24, 2019 4:56 pm
Forum: Bug
Topic: Crash when using coroutines
Replies: 11
Views: 26495

Re: Crash when using coroutines

@X512 Please have a look at http://blackboxframework.org/unstable/issue-%23197/blackbox-1.7.3-a1.1120.zip for the fix as you proposed. The list of changes is in https://redmine.blackboxframework.org/projects/blackbox/repository/revisions/93acb1d2fc68882b5f8382a78b3bbad0a8f88ab6/diff/ . Seems OK.
by X512
Mon Nov 18, 2019 4:15 pm
Forum: Bug
Topic: Crash when using coroutines
Replies: 11
Views: 26495

Re: Crash when using coroutines

Kernel.Coroutine.prev/next pointers are untagged and not traced by garbage collector, so object pointed by this pointers can be deleted by garbage collector making dangling pointers. This dangling pointers are causing crash when traversing coroutine stacks in mark phase (Kernel.MarkReferencedCorouti...
by X512
Sat Nov 16, 2019 11:52 am
Forum: Bug
Topic: Crash when using coroutines
Replies: 11
Views: 26495

Crash when using coroutines

This is blackbox-1.7.3-a1.1115. Steps to reproduce: 1. Compile 2 modules below. 2. Execute "A.Open". New empty window will open. 3. Execute "A.Run". 16 moving black circles will be added to window. Each black circle is processed in separate coroutine. 4. Unload module A. 5. Repea...
by X512
Tue May 30, 2017 7:31 am
Forum: Common questions
Topic: TestModList: tool for automatic compilation
Replies: 5
Views: 8788

Re: TestModList: tool for automatic compilation

Is it the only example of this kind? Yes, at least for modules (there is still probability of case mismatch in links, tool dialogs paths etc.). My tool get module name by traversing subsystem folders and odc files in "Mod" folder in each subsystem. Then try to read module name and imports...
by X512
Fri May 26, 2017 9:50 am
Forum: Common questions
Topic: TestModList: tool for automatic compilation
Replies: 5
Views: 8788

Re: TestModList: tool for automatic compilation

Thanks. I didn't noticed about DevCompiler update.

ObxRatCalc module file name is Ratcalc.odc in center distribution. Windows file names are usually case-insensitive, but I see no reason to name file different from module name. It can also cause problems with Linux port.
by X512
Wed May 24, 2017 5:17 pm
Forum: Common questions
Topic: TestModList: tool for automatic compilation
Replies: 5
Views: 8788

TestModList: tool for automatic compilation

I made some time ago a tool that can traverse all module source code files, extract import list, topologically sort module list and compile. This tool allow to compile all modules in Blackbox folder. For now, this tool process only all modules. Modules must be stored properly: module name must match...
by X512
Thu Feb 16, 2017 2:56 pm
Forum: Common questions
Topic: Run-time debugger in Blackbox Component Builder
Replies: 29
Views: 34996

Re: Run-time debugger in Blackbox Component Builder

I just noticed that EBX is not really changed by setting it to modList because it already had this value when the module body was started. It is an implicit parameter passed from the main entry point to the module Kernel. In theory EBX register may be allocated by compiler for expression evaluation...
by X512
Thu Feb 09, 2017 12:56 pm
Forum: Common questions
Topic: Run-time debugger in Blackbox Component Builder
Replies: 29
Views: 34996

Re: Run-time debugger in Blackbox Component Builder

Using RemDebug in theory any BlackBox made application with Kernel linked may be debugged.