Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
61 user(s) are online (49 user(s) are browsing Forums)

Members: 0
Guests: 61

more...

Headlines

Forum Index


Board index » All Posts (rwo)




Re: ListBrowser's WrapText
Not too shy to talk
Not too shy to talk


@jabirulo

Thanks for the feedback. I found my problem, when I was adding the List to the ListBrowser, I also had AutoFit and that broke it.

“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top


ListBrowser's WrapText
Not too shy to talk
Not too shy to talk


I'm trying to get my text string word wrapped.. but I'm not having any luck .. any one that have mastered this?


LAYOUT_AddChild,            GUIObjectsGID_Status ] = IIntuition->NewObjectListBrowserClassNULL,
        
LISTBROWSER_ColumnInfo,    & StatusColumnInfo,
        
LISTBROWSER_Labels,        & StatusList,
        
LISTBROWSER_Striping,    LBS_ROWS,
        
LISTBROWSER_AutoFit,    TRUE,
        
LISTBROWSER_WrapText,    TRUE,
    
End,

IListBrowser->AllocListBrowserNode3,
        
LBNA_Column0,
            
LBNCA_Textmsg->cl_Time,
        
LBNA_Column1,
            
LBNCA_Textstr,
        
LBNA_Column2,
            
LBNCA_Textmsg->cl_String,
            
LBNCA_WordWrapTRUE,
        
TAG_END
    
);

“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top


Re: gcc 9 and 10
Not too shy to talk
Not too shy to talk


@joerg

Quote:
Issue #6: Using .init_array/.fini_array instead of .ctors/.dtors requires changes in the C libraries, maybe even in elf.library.

Regarding the constructor/destructor change, is it just a simple modification in crtbegin and crtend? After all, it's just a list of pointers that get called if I'm not mistaken.

If we start using the .init_array/.fini_array, we need to add a priority parameter. But other than that, it should be simple, or am I overlooking something?

edit:

I played a little around with gcc and the linker.

it looks like we need an update too adtools as I could not get gcc or the linker use .init_array's..

I tryed with a test source to create .init_array/.fini_array instead of .ctors/.dtors elf sections with this

gcc -c tst.c -mcrt=clib2 -Wl,--init-array -z initarray

but it did not work :/


Edited by rwo on 2023/8/20 15:43:37
“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top


Re: Is gprof ever works on os4 ? It is! And can be still!
Not too shy to talk
Not too shy to talk


@kas1e

I looked at the archive you linked to earlier (clib2_profile_library.zip)

in the profile_gmon.c there is this line

Quote:

frompc = 0; /* FIXME: was p->lowpc; needs to be 0 and assumes
-Ttext=0 on compile. Better idea? */


Is this your change? Can it be as simple as changing it to 0x01000000 ?

“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top


Re: What happened to Exec interface's Reschedule function?
Not too shy to talk
Not too shy to talk


@MigthyMaxQuote:
struct Task *task FindTask(NULL);
// changing the priority will trigger a reschedule
// TODO - User IExec->Reschedule()
oldpri SetTaskPri(task, -10);
SetTaskPri(taskoldpri);


Well I beleave this will fail to reschedule if the Task already is running at pri. -10.

“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top


Re: /usr/local/amiga dir
Not too shy to talk
Not too shy to talk


@rjd324

yeah .. I'm trying to follow the instruction on that page

but my full compile fails .. so i'm trying to figure out why

and when I looked at some of the makefiles like this one

https://github.com/sba1/adtools/blob/master/binutils-build/Makefile

I can see its compiled with a prefix too /usr/local/amiga

so I was wonder if it was be course I dident setup up this directory

“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top


/usr/local/amigaos dir
Not too shy to talk
Not too shy to talk


Okay I have a stupid question

First i'm playing around with ubuntu trying to setup a cross compiler..

playing around with adtools .. I see refrence to /usr/local/amigaos so I was wondering what is suposed to be put into that dir?

my bet is it mimic our amiga sdk: dir but i'm not sure

“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top


Re: Enhancer Pack 2 is all you need!!
Not too shy to talk
Not too shy to talk


@nbache

yes .. if it really is a system font. It would indicate that this font is broken or missing. A reinstall would be a good idea.

“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top


Re: Enhancer Pack 2 is all you need!!
Not too shy to talk
Not too shy to talk


@SinanSam460

ahh yes.. that would work.. I uploaded a new version to Mantis

“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top


Re: Enhancer Pack 2 is all you need!!
Not too shy to talk
Not too shy to talk


@LiveForIt

I see .. I was under the impression this was a system font release by Hyperion.

Well I do not recall where I got it from :/

“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top


Re: Enhancer Pack 2 is all you need!!
Not too shy to talk
Not too shy to talk


@SinanSam460

Okay that means its trying to open 'Bitstream Vera Sans.font' size 18 font but it fails.

I have changed the code so it tries diffrent fonts too avoid this in the future with falling back too topaz.font that is always present.

This of course do not help you right now.. I don't know if there currently are planned any hot fixes.

I had this font for so long I do not recall when and where it was released. I guess it should be pressent on the last full ISO/CD release of AmigaOS4

“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top


Re: Enhancer Pack 2 is all you need!!
Not too shy to talk
Not too shy to talk


@SinanSam460

The reason why it failed to load .. should be printed to serial.

if you could have a look and tell me what it prints.

anyway looking at the startup it I can see it loaded these resources

newlib.lib v50
icon.lib v50
diskfont.lib v50
dos.lib v50
gfx.lib v50
intuition.lib v50
layers.lib v50
utility.lib v50
scroller.gadget v53
'Bitstream Vera Sans.font' / 18
AllocBitmatsTags() 24x24p * 10

So my guess is either the Scroller.gadget or Font opening fails.

Can't you tell me if you have those ?

“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top


Re: Reactive C Library
Not too shy to talk
Not too shy to talk


@NinjaCyborg

uhh no.. are you?

“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top


Re: Reactive C Library
Not too shy to talk
Not too shy to talk


@NinjaCyborg

I really dont see any benefits worth mentioning by releasing to .. as long as I'm the only coder .. I don't really see the point.

“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top


Re: Reactive C Library
Not too shy to talk
Not too shy to talk


@kas1e

For the moment its only me coding on it .. so no point in releasing it ... but to be honest I havent really desited what too do with it.


“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top


Re: Reactive C Library
Not too shy to talk
Not too shy to talk



ReactiveC.library v1.3 (09-Feb-2022) rolsen

- clock_gettime() added. Only CLOCK_REALTIME and CLOCK_MONOTONIC mode are
supported.

- pthread_condattr_setclock(), pthread_condattr_getclock() added.

- pthread_cond_timedwait() nolonger ignore the Timeout value;

- pthread_create(), pthread_join() added.

- pthread_mutex_timedlock() now uses Timer device. Alot more accurate and
waste less cpu cycles.


“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top


Re: Reactive C Library
Not too shy to talk
Not too shy to talk


ReactiveC.library v1.2 (28-Jan-2022) rolsen

- strtol(), strtoll(), strtoimax() source codes replaced by a copy from
OpenBSD.

- strtoq(), strtoumax() added.

- replaced scanf() with source codes from OpenBSD. WideChar is disabled,
Long Double is just supporting a Double. %lld and %llx are now supported.

“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top


Re: Introducing Profyler
Not too shy to talk
Not too shy to talk


@msteed

I just read your amigaguide... very well done.

Normaly I only skim throu those but yours very very informative... bravo good work.

“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top


Re: Is gprof ever works on os4 ?
Not too shy to talk
Not too shy to talk


@kas1e

ld source code may be the same v2.18 ... just a small change to the include files can make huge diffrense on how it compiles and optimizes.. ie diffrent file size.

“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top


Re: Introducing Profyler
Not too shy to talk
Not too shy to talk


@msteed

Welcome

A profiler is very much welcome, thank you

“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top



TopTop
(1) 2 3 4 ... 14 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project