Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
133 user(s) are online (96 user(s) are browsing Forums)

Members: 0
Guests: 133

more...

Headlines

Forum Index


Board index » All Posts (Gazelle)




Re: Way is there 3 prefs programs for Language settings?
Just popping in
Just popping in


@LiveForIt

You could save your different preferences in files and make a script to copy them as required.

Go to top


Re: Any interest in a bounty for a native ext2/ext3 file system?
Just popping in
Just popping in


@salass00

There is a "diskcache.library.kmod" in the kickstart directory (SFS and JXFS are using it, I think).

But there is no documentation in the SDK, at least I didn't find one.

Go to top


Re: File notify question.
Just popping in
Just popping in


@LiveForIt

Quote:
Some thing is not right whit AllocSysObjectsTags().


Yeah, you are using the wrong function. AllocDosObjectTags() is what you're looking for.

(edit: changed AllocDosObject() to AllocDosObjectTags()

Go to top


Re: New category in OS4Depot?
Just popping in
Just popping in


@Phantom

Only g(r)eeks know why it's "ell" ;)

Go to top


Re: New category in OS4Depot?
Just popping in
Just popping in


@orgin

done, PM sent

Go to top


Re: New category in OS4Depot?
Just popping in
Just popping in


@orgin

Looks very good, I would say.

But you used the ISO 639-2/B suffix instead of the ISO 639-2/T one.

I'm sorry, but it looks like the provided list form the "Library of Congress" uses the /B variant in the first column and the /T in the second, but only when they differ.

eng||en|English|anglais
ger|deu|de|German|allemand

-> English eng
-> German deu

Maybe I can put together a list what AmigaOS 4 is using in the evening.

Go to top


Re: New category in OS4Depot?
Just popping in
Just popping in


@orgin

AmigaOS 4 uses ISO-639-2/T (three-letter codes) inside the language driver (libraries).

http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes

http://www.loc.gov/standards/iso639-2/ascii_8bits.html

Go to top


Re: smtube! Really good!
Just popping in
Just popping in



Go to top


Re: Converting catalog in UTF-8 code
Just popping in
Just popping in


@Phantom

I have done it with the german catalog because some of the popup menus where missing in my config (german_ISO-8859-15).

My Steps:

  • renamed the file "deutsch.ct" to "owb_german_l9.ct" (l9 = latin9 = ISO-8859-15)

  • edited all strings to iso-8859-15 in "owb_german_l9.ct"

  • converted the file "owb_german_l9.ct" to a new utf-8 file "owb_german_utf8.ct"
    > CharsetConvert owb_german_l9.ct ISO-8859-15 owb_german_utf8.ct UTF-8

  • copied "owb_german_l9.ct" to "owb_german_mixed.ct"

  • replaced all MSG_LOCALIZED_XXX from "owb_german_mixed.ct" with the ones from "owb_german_utf8.ct"

  • set "## codeset 111" in "owb_german_mixed.ct" (thats the MIBenum for ISO-8859-15, see L:CharSets/character-sets for your number)

  • set "## language german" in "owb_german_mixed.ct"

  • compiled the catalog
    > CatComp owb.cd owb_german_mixed.ct CATALOG OWB.catalog

  • installed the catalog in Catalogs/german



Go to top


Re: Converting catalog in UTF-8 code
Just popping in
Just popping in


@Phantom

It looks like OWB is using mixed charsets inside the catalog file. Only MSG_LOCALIZED_XXX should be in UTF-8 and the codeset of the catalog should not be set to UTF-8.

You could try your original translation and replace only the MSG_LOCALIZED_XXX strings with the UTF-8 ones. But I don't know what the locale.library will do.

This should be fixed for the OS4 port.

Go to top


Re: YAM addressbook
Just popping in
Just popping in


@Mlehto

Here it comes, save it under "GetAddresses.yam" int the Rexx folder of your YAM installation and call it over the script menu.

The script will add all new emails from the current folder to your addressbook but will *NOT* save it!

/* GetAddresses.yam - Insert new contacts in adressbook                                     */
/* $VER: GetAddresses.yam 1.0 (18.01.2014) (c) 2014 by Bernd Gollesch <bgollesch@speed.at>  */
/* Gets the senders of all messages in the current folder and adds them to the addressbook. */
/* Tested only with YAM 2.9                                                                 */

OPTIONS RESULTS
ADDRESS YAM

added 
0

'FolderInfo STEM folder.'                        /* get the current folder information */
DO 0 TO folder.TOTAL-1                       /* iterate throu all mails from folder */
   
DROP mess.                                    /* clear the stem for mailinfo */
   
'MailInfo 'i' STEM mess.'                     /* Get mail information */
   
PARSE VAR mess.FROM name' <'email'>'          /* separate name from email */
   
IF LENGTH(email) = 0 THEN DO                  /* no email ? */
      
IF POS('@'name) > 0 THEN DO              /* maybe the name has the email */
         
email name                            /* yup, use name as email */
      
END
   END
   
IF LENGTH(email) = 0 THEN ITERATE             /* still no email, -> no entry */
   
name STRIP(name'B''"')                  /* remove quotes from name */
   
newname name
   cpos 
POS(','name)
   IF 
cpos 0 THEN DO                           /* there is a comma in the name, reverse it */
      
newname substr(namecpos+1substr(name1cpos-1)
   
END
   newname 
SPACE(newname1)                   /* strip to one space only */
   
'AddrFind VAR dummy PATTERN "'email'" EMAILONLY'
   
IF RC 5 THEN DO                             /* email not found, add it */
      
'AddrNew VAR newalias NAME "'newname'" EMAIL "'email'"'
      
added added 1
   END
END

IF added 1 THEN
   
'Request BODY "One new addressbook entry" GADGETS "Ok"'
ELSE
   
'Request BODY "'added' new addressbook entries" GADGETS "Ok"'

EXIT


Go to top


Re: YAM addressbook
Just popping in
Just popping in


@Mlehto

Maybe you can do it with an AREXX script?

Go to top


Re: Sdk 53.20 issues
Just popping in
Just popping in


@corto

I'm using (depending on the required c-library):

clib2 -> SDK:local/clib2/include
newlib -> SDK:local/newlib/include
agnostic -> SDK:local/common/include

As MUI is c-lib agnostic (i hope) I copied the contend of SDK:MUI/C/Include to SDK:local/common/include.

I think that's what the local drawer in the SDK is for.

Go to top


Re: How to build ppc glue stubs for 68k libs, when there is no includes ?
Just popping in
Just popping in


@kas1e:

Shouldn't each opus module use a standard plugin interface defined by opus itself? The glue code for each module would than be the same.

Go to top


Re: Atheros WLAN driver success/failures
Just popping in
Just popping in


Quote:
ncafferkey wrote:
It looks like CachePostDMA() is causing the crash. Do any programmers have any comments or experience with this function on the SAM (Flex)?


I can't help you with the problem, but from the exec autodoc:
Quote:
With release 50, CachePreDMA/CachePostDMA is considered obsolete. Instead, StartDMA/EndDMA should be used.


Maybe switching to the new functions will help.

Go to top


Re: AmigaAmp arexx - DirOpus help
Just popping in
Just popping in


@MickJT

Nope, DOpus4 does enclose the filenames with quotes.

Go to top


Re: AmigaAmp arexx - DirOpus help
Just popping in
Just popping in


Just a copy from the same topic at amigaworld.

/*
simple script for adding files to the playlist of AmigaAMP3
*/

PARSE ARG files

IF SHOW('P''AMIGAAMP'THEN DO
    
ADDRESS AMIGAAMP 'ADD' files
END


Create a new text file with the above content and save it eg: REXX:AmigaAMP_ADD.rexx

Make sure you are using the "all files with path" as parameter in DOpus:
DOpus4 -> ARexx -> REXX:AmigaAMP_ADD.rexx {F}

Go to top


Re: Post-Update 6 updates
Just popping in
Just popping in


@Samo79

Nope, it's still working for me (X1000).

My Tooltypes are:
CX_PRIORITY=0
USEBUTTON
=MBUTTON
NUMCLICKS
=1


6.System:> version ClickToFront full
ClickToFront 52.3 (2007-06-17)
6.System:> version intuition.library full
intuition.library 53.42 (2013-01-07)
6.System:>

Go to top


Re: MUI : help for SimpleButton (shortcut and width)
Just popping in
Just popping in


@zzd10h:

from MUI_Text.doc:
Quote:
MUIA_Text_HiChar -- (V4 ) [I..], char


"[I..]" means it can only be used at object creation time and can NOT be set.
And as you do the underlining yourself it's not necessary.

from libraries/mui.h:
Quote:
** MUIA_... attribute definitions are followed by a comment
** consisting of the three possible letters I, S and G.
** I: it's possible to specify this attribute at object creation time.
** S: it's possible to change this attribute with SetAttrs().
** G: it's possible to get this attribute with GetAttr().

Go to top


Re: minor AREXX programming question
Just popping in
Just popping in


@kas1e

You can do it in one step:

test1 '"RAM:aaaa/aaaa"'
test2 'bbbb'

test3 '"' || strip(test1'B''"') || strip(test2'B''"') || '"'


I stripped both vars to make it more general.

Go to top



TopTop
« 1 (2) 3 4 5 6 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project