Search found 2173 matches

by coderJeff
Dec 07, 2019 23:29
Forum: General
Topic: namespace problem
Replies: 47
Views: 16079

Re: namespace problem

New feature request: #293 Allow using of Sizeof()/Typeof() on non-static members through type/union name OK, this is added now. Len / sizeof udt member Can use Len|Sizeof|Typeof on non-static members. I've tested mostly simple use cases. So will need to see how it holds up to more complicated synta...
by coderJeff
Dec 07, 2019 22:52
Forum: General
Topic: namespace problem
Replies: 47
Views: 16079

Re: namespace problem

For the variables defined in a namespace block or the static member variables in an UDT, the keywords "Typeof()" or "Sizeof()" require double parentheses around the names This should be fixed now. It's possible to use fully qualified names without the double parentheses. #404 le...
by coderJeff
Dec 05, 2019 1:40
Forum: Community Discussion
Topic: Pull Requests
Replies: 4
Views: 288

Re: Pull Requests

Jeff, i need your help! As you have noticed, i have written a lot of code and made several pull requests recently. Don´t worry, i don´t expect you to comment and review all of this right now. You requested for smaller PRs, i know, but ultimately i must be able to test all new things together. More ...
by coderJeff
Nov 30, 2019 16:41
Forum: Documentation
Topic: Wiki improvements
Replies: 373
Views: 60512

Re: Wiki improvements

No, I don't want you to delete what you have already done. The array descriptor is only the first low level thing we have tried to expose in a somewhat documented and "reliable" way. I put 'reliable' in quotes because hopefully, developers still have some flexibility to change this interna...
by coderJeff
Nov 30, 2019 16:37
Forum: Tips and Tricks
Topic: Brownian motion.
Replies: 36
Views: 1324

Re: Brownian motion.

Who remembers this movie? Words from wise men -- https://www.youtube.com/watch?v=rph_1DODXDU After the forum attacks couple weeks ago, it's on my TODO list to update forum software. Been too busy lately to complete. Anyway, I could see something like the golden rule added in a noticeable way to help...
by coderJeff
Nov 30, 2019 14:28
Forum: Community Discussion
Topic: FreeBASIC Namespace Project
Replies: 72
Views: 6559

Re: FreeBASIC Namespace Project

The default startup state is political and a matter of taste. lol, yes. The most difficult issue to mitigate. ;) marcov, paul doe, fxm, thank-you. Your contributions to the on-going discussion are invaluable. In the early days, the common rule was if it was in QB then should be in fbc too, unless w...
by coderJeff
Nov 30, 2019 14:02
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 117
Views: 5939

Re: FreeBASIC 1.08 Development

Of course we're offended! ;) Dang it, of course you would jump on that one. ;) Little request, if I may: could any of the devs expose a simple function to retrieve the number of events in the FBGFX events queue Internally, gfx lib locks the event list when adding or consuming events from the event ...
by coderJeff
Nov 30, 2019 13:48
Forum: Community Discussion
Topic: Audio library for FreeBasic - Features
Replies: 77
Views: 12765

Re: Audio library for FreeBasic - Features

Designing an API is likely harder than implementing it, since any future change will break a lot of code. I looked through some of my codes. I regret not having finished and published more. I think I have tried fbsound, sdl, and fmod sound libraries. My API tends to look something like this: #ifnde...
by coderJeff
Nov 30, 2019 13:27
Forum: Community Discussion
Topic: FreeBASIC 1.07 Release Discussion
Replies: 43
Views: 6609

Re: FreeBASIC 1.07 Release Discussion

It's not really on my mind to release another 1.07.x, so the safe answer for me is no. The root issue is the potential buffer overflow which I do not intend revert, but we also have changed behavior. I feel like it is combination bug/feature request. Just so it's not forgotten, I have added it as bu...
by coderJeff
Nov 30, 2019 13:01
Forum: Documentation
Topic: Wiki improvements
Replies: 373
Views: 60512

Re: Wiki improvements

fxm, I think I see what you are going for by including the array descriptor outside of the "dev" pages similar to EVENT structure but I feel there is one major difference compared to EVENT. I think the intent is that the raw array descriptor is targeted towards the advanced/developer user ...
by coderJeff
Nov 21, 2019 0:39
Forum: Tips and Tricks
Topic: Brownian motion.
Replies: 36
Views: 1324

Re: Brownian motion.

You might also like Coder Jeff's 'atom smasher': https://freebasic.net/forum/viewtopic.php?f=8&t=3167 If you take the download at the bottom of the first post and add #lang "fblite" and remove CONST FALSE = 0, TRUE = NOT FALSE it runs fine. Maybe add sleep 1 in the main loop if you ha...
by coderJeff
Nov 21, 2019 0:37
Forum: Tips and Tricks
Topic: Brownian motion.
Replies: 36
Views: 1324

Re: Brownian motion.

A very quiet day. Brownian motion. This topic now. Am I the only one that smells the irony? MrSwiss' account is now on temporary suspension and I have invited him to have a conversation with me. His remarks and opinions tend to evoke an emotional response rather than a thoughtful one. In my opinion,...
by coderJeff
Nov 11, 2019 22:08
Forum: Community Discussion
Topic: FreeBASIC 1.07 Release Discussion
Replies: 43
Views: 6609

Re: FreeBASIC 1.07 Release Discussion

Thanks Xusinboy. - file must have the UTF-8 BOM or OPEN will fail - encoding "utf8" and "utf-8" specifiers are both valid, the manual doesn't mention that. The change from 1.06 to 1.07 is due to: - github #145: WSTRING concat and assign buffer (&=) overrun I didn't notice at ...
by coderJeff
Nov 10, 2019 13:27
Forum: General
Topic: GCC compile delay on large projects?
Replies: 14
Views: 1426

Re: GCC compile delay on large projects?

The long compile time for gcc is due a bug in string building found within the gcc emitter itself: Speed issue with string concatenation and a solution Memory allocation study for character data of var-len string I don't think there is a bug report on sf.net. gas emitter can emit data statements to ...

Go to advanced search