Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - magorium

Pages: [1] 2 3
Free Pascal / Re: Heap compaction?
« on: December 03, 2018, 03:48:41 AM »
I think it might have been a memory leak. Can't remember the source.
Best is to use heaptrace right at the start of your development so these buggers can be catched (and dealt with) at the moment they occur.

At least on i386 linenumbers are present as well (-gl), which should be able to pinpoint their location for you without too much hassle.

In case you do encounter errors then feel free to mention those to us so that they can be addressed.

The MUI stuff looks good. Would like a nice LCL proxy on other platforms be on the cards?
Not from my side.

It would require a implementation of MUI on those patforms and i don't see that happening any time soon. I don't believe i've heard ALB42 on that subject either (so i do not know his position on that matter).

FPGUI and some (common) LCL components are implemented in MUI so that you are able to do rad-a-like development although it clearly has its drawbacks. Both FPGUI and LCL have quite a different implementation in comparison to MUI.

It has alway been my intention to dig a little deeper into MUI and add some extensions to have some better matched LCL counterparts but alas i still haven't been able to find the time to do so.

I think ALB42's MUI classes (and MUIIDE) are a good enough alternative though.... and afaik even those lack enough participants.

Still abstracting in code at the moment.
The joy of a every day programmer :-)

Sorry, as i've been busy so haven't been able to keep up with your development.

Free Pascal / Re: Heap compaction?
« on: November 29, 2018, 09:06:25 PM »
The memory errors I hear about ....
I am not aware of any memory errors and haven't heard about them either....

Do you have a source for this rumour... or a specific example i could compile ?

is it specific to AROS (which architecture) Amiga(OS) or MorphOS ?, which (exact) version of FPC gives you these issues ?

... are likely objects on the heap with no page table to compact the heap it likely gets quite fragged.
I've never encountered such issues myself (i'm aware that this doesn't mean much).

Do you know how to find the exact object size and if there is any preamble like with ansi strings such as len and ref count.
Objects and classes are not reference counted. They are your own responsibility.

You can use class function instancesize to determine the size of an object instance. As stated there that does not take into account allocations in your custom objects/classes.

Other relevant information concerning objects/classes can be obtained using RTTI.

I could make some pointer hackey data structs with better heap management with such info.
You could, but you shouldn't have to ?

Are you perhaps refering to old style objects ? These are another matter.

Development (General) / Re: Set wanderer screen title
« on: November 17, 2018, 10:45:37 PM »
TS seems to want to it programmatically. Yes, TS can indeed search inside the sources for that but that would hide a underlying problem.

Why would you want to do that ? I'm not questioning your motives there rather that it is uncustom to want to change that. The first 'workbench' screen is a special public screen and as such is somewhat of a special case.

The usual way of 'changing the wb screen title' is by opening your own window on the workbench in which case you can use SetWindowTitles() to 'change' the title of the screen. You could also achieve something similar by applying that to the workbench (backdrop) window..... that is, unless you do not have such window ? Therefor i had to ask why.

funnily enough i just had a little peek and there are two FIXME's inside SetWindowTitles() sources of AROS.... is that perhaps what you're hinting at @Gundam ? and fwiw and imho yes these should be strdupped.... (although i haven't checked with OS 3.x... it just makes logical sense)

Development (General) / Re: Fonts with more than 256 chars
« on: November 17, 2018, 10:36:02 PM »
Amiga disk fonts are limited in their (stored) structures. According to the documentation it is bound by tf_loChar and tf_HiChar fields inside struct TextField.

Free Pascal / Re: Lantin-11X
« on: November 16, 2018, 12:40:51 AM »
What's already in Unicode and good for console apps?
Available in Pascal you meant ? tbh i have no idea other than the occasional comandline util that could support it. Remember that unicode support is fairly new for FPC (it was available for a longer period of time in Lazarus).

Or perhaps games? On the CLI?
As i expressed in the other thread con: games are not something to brag about on Amiga-like Operating systems because the way a shell window (CON:) is situated on top of the GUI.

Having said that, it is ofcourse possible to render your own (virtual character buffer) into a intuition window. That will speed things up considerably.

Most games i know of that require a character interface (TUI= Text User Interface) are rogue-like games. There are a couple available that are written in Pascal. I have two or three of those that i'm working on that are also able to render as graphical components instead of characters and those parts work as intended on AROS)

It could be called the officially unoffical post modern ISO-ANSI-Windows code page. The future of punycode?
Having seen some commits @ freepascal svn tree it looks like preparation or a unicode console/TUI are a work in progress. fwiw it is a subject that also comes up in the Free Pascal forums on a regular base (although it seems less and less people are interrested in TUI, but are interested in unicode @ console)

Free Pascal / Re: Welcome
« on: November 16, 2018, 12:16:06 AM »
Is code page 437 (classic IBM) available as a font
i'm sure it is...

... but i am assuming that you wish to use the box drawing characters in a shell window. If so then that is not a very good idea as a) the shell font is a system wide (user) setting and b) a shell window on amiga/amiga is (by comparison) dead slow. Amiga is originally a graphical OS... the shell is build on top of that.

or does the IDE render gfx?
FP ide does indeed render the graphics into a intuition Window. One of the amicommon include files contains a (open source) vga BIOS font.

FP IDE (on amiga and alike OS) uses a virtual textmode buffer (with dimensions the size of the intuition expressed in a number of horizontal/vertical character count) that gets (re)rendered to the graphical intuition window when required.

Development (General) / Re: Ide options?
« on: November 15, 2018, 09:21:53 PM »
Ah... i finally managed to locate your clifly work  ;)

Ok, in case you wish to add native Pascal support then i believe you already seem to have found your answer ?

Another way would be by using available libaries on AROS itself (or extractor in this case). Not sure but i believe that xad supports lzx ?

Of course using a native implementation means that you can compile/run your tool anywhere (provided the code used is processor agnostic)

Nice idea btw, and one i've been toying around with myself for a while as well now.... reason for that is that i seem to have to re-invent the wheel everytime i setup my build/install-scripts. There's always someone complaining not having bash or no sed/awk installed or alike.

fwiw feel free to add a dedicated thread for your questions on the Free Pascal sub-board....

Free Pascal / Re: Welcome
« on: November 15, 2018, 09:08:19 PM »
so he is not anymore?
I have no clue whatsoever, so Your guess is as good as mine  :)

What i do know is that neither his usual handle or name is being listed as registered user on this new forum (you can check the memberlist yourself once logged in)

I remember he usually posted his new programs here.
On the old forums, yes. Here on amigalife i haven't seen any sign of life of ALB42 so far.

It is heartwarming to see how you seem to miss ALB... and i can't blame you as he's a great person...  :D

You can always contact him either by using his website or by using the (lazarus) forums (he does have an account overthere).

Site feedback / Re: AROS' Tiny URL Resource Directory (A-TURD)
« on: November 15, 2018, 01:48:25 AM »
I think you could add it is an official site maybe some programmer would come in handy
Thank you sabbate. I've now added a separate sub-category for such links.

Site feedback / Re: Painfull posting
« on: November 14, 2018, 11:46:27 PM »
Perhaps it is of importance (perhaps not, if so then please ignore):
If i travel to your top domain with the amiga forums then my firefox shows a visible session link in the URL bar. The ae subdomain however does not seems to do something similar.

Development (General) / Re: Ide options?
« on: November 14, 2018, 09:37:43 PM »
Hi Jacko,

Please for give me for my ignorance but it seems your posts seems to puzzle me a bit ....

For what I'm doing at the moment (a cli tool) i've gone with fpc hosted on windows
I understand that you are running Free Pascal on Windows, or are you also running AROS on that Windows host ?

(until I hit a win only feature)
No idea why you would run into that, but i play ball there... just mention it when you do. Details required in that case  :)

and using visual code as the editor.
Never heared of such a thing... M$ visual studio you meant ? If yes, then i find the combination a bit odd.... but that is just me.

It's hard getting certain internal source for lxz for example.
I've never heared of lxz... is that perhaps a typo and you meant lzx ? In case you do meant lxz then please feel free to share so that i'm able to educate myself.

In case you did meant lzx then we already have a unlzx unpacker for AROS (it resides in the c directory) ... Free Pascal has a packer/unpacker for lzx inside the chm package (but i never used it explicitely for unpacking lzx files. Not sure if that would work as lzx in chm files is using modified lzx code).

Site feedback / Re: AROS' Tiny URL Resource Directory (A-TURD)
« on: November 14, 2018, 09:27:41 PM »
Thank you sabbate, the link is added.

Still thinking about whether or not to add Amiga Source Preservation....

Free Pascal / Re: Welcome
« on: November 13, 2018, 11:07:40 PM »
Wasn't alb42 around in Aros-Exec, in the past?
Yes, he was  :)

Free Pascal / Re: Welcome
« on: November 13, 2018, 08:01:25 PM »

Hehe... that one came in earlier at my u-tube feed...

Be sure to check out the software and give the developer some feedback ... that's the only way that things are able to improve (if necessary).

Thanks for posting aha.

edit PS: don't miss the updated MUIPlot.

Site feedback / Re: AROS' Tiny URL Resource Directory (A-TURD)
« on: November 13, 2018, 04:29:26 PM »
Thank you aha, added.

Please keep them coming, especially those twitter, facebook, riot, matrix links.... personally i have nothing with those platforms but others might find it interresting.

Also foreign language forums and AROS related sites are welcome.... they are there but i simply do not have time to dig them all up myself.

Pages: [1] 2 3