Search found 213 matches

by Juergen Kuehlwein
Jul 01, 2019 20:41
Forum: Community Discussion
Topic: Extending Wstring and Zstring with UDTs
Replies: 75
Views: 15018

Re: Extending Wstring and Zstring with UDTs

@MrSwiss, please be patient, there already is work in progress behind the scenes. Jeff´s recent compiler changes (EXTENDS WSTRING) allows for a class-like-type acting as a string type. This makes a dynamic wide string tpye with full integration (can syntactically be used like a regular string type) ...
by Juergen Kuehlwein
Jun 28, 2019 13:16
Forum: Community Discussion
Topic: Extending Wstring and Zstring with UDTs
Replies: 75
Views: 15018

Re: Extending Wstring and Zstring with UDTs

I removed the original Ustring pull request and made two new ones. The first one only for adding Ustring, the second one for adding Ustring and applying white space changes for consistent indentation. All of it in separate commits as desired.

JK
by Juergen Kuehlwein
Jun 19, 2019 20:43
Forum: Community Discussion
Topic: New array features
Replies: 130
Views: 22009

Re: New array features

I think, i finally finished my front end. The latest version (0.5.0.5) has all necessary compiler pp changes, future changes should only be adding RTL functions for array processing. Updated (Windows) binaries are in the "New" folder, as well as "array.bi and some test files. The synt...
by Juergen Kuehlwein
Jun 17, 2019 13:29
Forum: Community Discussion
Topic: Extending Wstring and Zstring with UDTs
Replies: 75
Views: 15018

Re: Extending Wstring and Zstring with UDTs

@Jeff,


i made a pull request adding "ustring.bi" and USTRING specific tests. As usual, make the best of it!


JK
by Juergen Kuehlwein
Jun 16, 2019 19:34
Forum: Community Discussion
Topic: Extending Wstring and Zstring with UDTs
Replies: 75
Views: 15018

Re: Extending Wstring and Zstring with UDTs

Jeff, many thanks for your efforts! But as you know too, at best we are only halfway there... As a next logical step, we should have a default dynamic (zero terminated) WSTRING type like the one i added to my pull request. Are there changes needed other than we already discussed? I would propose to ...
by Juergen Kuehlwein
Jun 15, 2019 12:24
Forum: Community Discussion
Topic: @fxm, detecting fixed size arrays vs. dynamic arrays
Replies: 3
Views: 2174

Re: @fxm, detecting fixed size arrays vs. dynamic arrays

I ran some tests with combinations of old and new code and binaries (e.g. a .dll created with V1.05 and an .exe created with the changed compiler version and vice versa). So far i couldn´t find any problems. This a proposal, a demonstration of how it could be done without breaking compatibility betw...
by Juergen Kuehlwein
Jun 15, 2019 12:14
Forum: Community Discussion
Topic: New array features
Replies: 130
Views: 22009

Re: New array features

Next version is here for testing. I moved all the new stuff (Windows executables, array.bi, test files) into the "new" folder (maybe a better choice than "bin"). This version can detect fixed size arrays and is compatible with old code and binaries. According to my tests old bina...
by Juergen Kuehlwein
Jun 13, 2019 16:36
Forum: Community Discussion
Topic: @fxm, detecting fixed size arrays vs. dynamic arrays
Replies: 3
Views: 2174

Re: @fxm, detecting fixed size arrays vs. dynamic arrays

fxm, The advantage of my solution is that this new information is always in the same place relative to the descriptor pointer (at "address - 1"). - granted, in my case it needs a simple multiplication to get the offest. I think the difference between the examples you gave and the current s...
by Juergen Kuehlwein
Jun 13, 2019 10:40
Forum: Community Discussion
Topic: @fxm, detecting fixed size arrays vs. dynamic arrays
Replies: 3
Views: 2174

@fxm, detecting fixed size arrays vs. dynamic arrays

Hi fxm, i refer to this post Maybe a cookie (var/fix length array flag) could be stored just before the descriptor structure: - a "hidden" Integer at address = @Cptr(Integer Ptr, @descriptor)[-1] This is better than my proposal."Old" code (e.g. a dll) would definitely get into tr...
by Juergen Kuehlwein
Jun 12, 2019 13:41
Forum: Community Discussion
Topic: New array features
Replies: 130
Views: 22009

Re: New array features

Next version is here for testing.

This commit includes all executables (compiler + RTL 32 and 64 bit) and shows a possible front end (array syntax). See array.bi and test files for more.

As always, comments, critics, bug reports and ideas for improvement are welcome!

JK
by Juergen Kuehlwein
Jun 10, 2019 10:32
Forum: Documentation
Topic: Array Descriptor (split from Wiki Improvements)
Replies: 121
Views: 14598

Re: Wiki improvements

Don´t worry Jeff, it´s just thinking about and discussing concepts. Feel free to move this topic and corresponding posts elsewhere, because it´s not really about wiki improvments Maybe a cookie (var/fix length array flag) could be stored just before the descriptor structure: - a "hidden" I...
by Juergen Kuehlwein
Jun 09, 2019 18:02
Forum: Documentation
Topic: Array Descriptor (split from Wiki Improvements)
Replies: 121
Views: 14598

Re: Wiki improvements

Array descriptor size change makes this a full break if the user lib uses array descriptors I think the beauty of my proposal is - the size doesn´t change! If we come across an "old" descriptor, we will have no other problem than we have right now (we just can´t tell), but it doesn´t brea...
by Juergen Kuehlwein
Jun 09, 2019 16:25
Forum: Documentation
Topic: Array Descriptor (split from Wiki Improvements)
Replies: 121
Views: 14598

Re: Wiki improvements

coderJeff wrote: It can be fixed if we are willing to break binary compatibility, by changing the array descriptor to track if memory should be freed or not. Can be tricky because fbc itself uses arrays. If we do this though, it can clean up some dead code out of the rtlib that's only been kept for...
by Juergen Kuehlwein
Jun 09, 2019 15:34
Forum: Documentation
Topic: Compiler option: -w
Replies: 6
Views: 2506

Re: Compiler option: -w

Thanks, i already had it, but i made a mistake linking it to my IDE. So the older one was used instead of the new one, and i didn´t even notice it - my bad.


JK

Go to advanced search