Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
86 user(s) are online (54 user(s) are browsing Forums)

Members: 0
Guests: 86

more...

Headlines

Forum Index


Board index » All Posts (billyfish)




Re: Markdown Editor / Viewer
Just popping in
Just popping in


@kas1e

Good idea. I'll make a simple test case and see if it still crashes.

Go to top


Re: Markdown Editor / Viewer
Just popping in
Just popping in


Thanks for the feedback guys, if you manage to find any other problems, let me know.

I'm adding the various conversion options but I guess I'll have to dive into htmlview's source code too for the image problem, I'm crossing my fingers it won't be too hard to track down the issue, famous last words!

Go to top


Re: Markdown Editor / Viewer
Just popping in
Just popping in


@trixie

I'll take a look at the line conversion as there's also on option to collapse whitespace during the conversion which might help. I'll take a look.

Yup the name could definitely be better, I'm tempted to call it beanbag after my dog


Go to top


Re: Markdown Editor / Viewer
Just popping in
Just popping in


@kas1e

Hi yeah, it looks like the htmlview class doesn't like the image links. If I remove the top four lines of the README.md from that file, so that the first bit of content is

# MD4C Readme

then "update" works fine for me. Do you get the same?

Looking at the htmlview class, it hasn't been updated in 5 years but the latest commits are about a year after the last public release so I'll take a look at that and see if I can see what the problem is.

cheers

billy

Go to top


Re: Markdown Editor / Viewer
Just popping in
Just popping in


@kas1e

Drat!

Can you ping me the markdown file and I'll send you the debug version ofit to get the stack trace? It worked fine with my markdown files here so would be good to nail down what's happening.

The versions of the mui custom classes I've got installed are:

15.Workbench:MUI/Libs/mui> version full file TextEditor.mcc
TextEditor.mcc 15.55 (18/12/2020)
Copyright (C) 2005-2020 TextEditor.mcc Open Source Team [OS4/PPC]
15.Workbench:MUI/Libs/mui> version full file HTMLview.mcc
HTMLview.mcc 13.4 [OS4/PPC] (20/12/2007)
Copyright (C) 2005-2007 HTMLview.mcc Open Source Team

Do they match with your ones?

cheers

billy

Go to top


Re: OS4 UPDAAAATEE !!! BANANA !!
Just popping in
Just popping in


This is awesome news!

It's certainly me being thick but when you talk about reverting to the update 1 kernel, do you just mean overwriting the sys:Kickstart/kernel file with the one from update 1? Whenever I try this, I get stuck on the "AmigaOS 4.1 loading" screen.

cheers

billy

Go to top


Markdown Editor / Viewer
Just popping in
Just popping in


Happy new year y'all

I've put together an initial version of a Markdown editor and viewer called amimarkdown and uploaded it to os4depot and aminet today. Hopefully some of you may find it useful and any feedback and suggestions are more than welcome.

cheers!

billy


Go to top


Re: Introducing the Rear Window blog
Just popping in
Just popping in


This is awesome news, well done! I'll definitely be using this when it's available

Go to top


Re: Do we have on amigaos and app to read/write ISO files ?
Just popping in
Just popping in


Hi all

My memory is hazy but I'm pretty sure that makecd has read/write iso functionality. Although the image files that it creates have a .raw extension I think they're just iso images.

good luck!

billy

Go to top


Re: Announcing David Pleasance to speak at Amiwest 2020
Just popping in
Just popping in


@asymetrix

I agree that Hyperion doing something positive and interacting would be nice...


As for your other points, I wrote a tool to generate libraries from parsing the header files from a library's source code and it's at http://aminet.net/package/dev/misc/libgen. As for JSON, I ported jansson, using libgen, and it's at http://os4depot.net/?function=showfil ... /misc/jansson_library.lha

cheers

billy

Go to top


Re: Implementing mmap () and munmap ()
Just popping in
Just popping in


@kas1e

Sure, I've added a bit of explanation to the topic. The issue is that this mmap emulation doesn't cover the situation when the memory that is being used as the cache has been labelled as shared and the memory is to be written to. From my initial investigations, I think that libgit2 isn't using threads but I need to look further. If it is running in a single thread then maybe a simple memory buffer approach might even be enough for libgit2 to work. However if someone has developed proper amiga versions of mmap and unmap, I'd much rather use those.

billy


Edited by billyfish on 2020/5/21 22:47:09
Go to top


Implementing mmap () and munmap ()
Just popping in
Just popping in


Hi

As part of the work on porting the latest libgit2, see this topic for more info, I need to implement mmap() and munmap() methods. Has anyone got any experience of this or have some pointers? I can see that the IMMU interface of has some methods that might be useful at the IExec autodoc, is this suitable?

Any info gratefully received!

cheers

billy


Edited by billyfish on 2020/5/21 22:21:46
Edited by billyfish on 2020/5/21 22:46:06
Go to top


Re: How to allocate TimeRequest
Just popping in
Just popping in


@colinw

Thanks they're good bits to know. I'll post a bug report on Hyperion's forum so they can update the example at https://wiki.amigaos.net/wiki/Date_Functions.

cheers

billy

Go to top


Re: updating sgit
Just popping in
Just popping in


Hi all

So the progress on simplegit has continued and there is good news and bad news

The good news is that I've replaced the old statically-linked version of OpenSSL 1.0.1 and it now uses AmiSSL library for all of the SSL calls so we'll keep up to date easier and it has substantially reduced the executeable size.

As for the bad news is that in 2014 libgit2 moved over to using mmap ()/umap () style calls for all of its I/O. It looks like ChrisY implemented emulation of this, however since this full move over to mmap()/umap(), no longer fully works. There are more details at https://github.com/libgit2/libgit2/iss ... 76#issuecomment-342806844.

The specific piece of code is at https://github.com/billyfish/libgit2/blob/master/src/posix.c from line 219 onwards and our missing bit of functionality at line 245.

The issue is that this mmap emulation doesn't cover the situation when the memory that is being used as the cache has been labelled as shared and the memory is to be written to. From my initial investigations, I think that libgit2 isn't using threads but I need to look further.


So is anyone aware of an implementation of mmap()/umap() on OS4 or, if not, any pointers on what libraries I can use to have to try and develop one, like Exec's MMU interface maybe?

For reference, the unix versions of these libgit2 methods are at https://github.com/libgit2/libgit2/blob/master/src/unix/map.c

cheers

billy











Edited by billyfish on 2020/5/21 16:50:13
Edited by billyfish on 2020/5/21 20:37:10
Edited by billyfish on 2020/5/21 20:50:33
Edited by billyfish on 2020/5/21 21:05:33
Go to top


Re: updating sgit
Just popping in
Just popping in


@Shadow

Sorry about that, I've added comments to the issue. I could reproduce it in a default shell, which disappeared for me when I incresed the stack, so I'll add astack cookie into the code too. This in turn led to complaints about the ssl certificate, so I'll need to see if/where I've messed up the compile of openssl that it uses.

billy

Go to top


Re: updating sgit
Just popping in
Just popping in


@Shadow

Quote:
Quick question, does it support SSH and login using private key file?


Not yet, though that's definitely the plan. With the great work that salass00 has done on sshterm, I'm hoping it will be relatively straightforward to implement.

My current plan is make sure that all of the latest libgit2 stuff works, then merge the updated code used in lg2 and simplegit, then add the ssh stuff.

cheers

billy

Go to top


Re: updating sgit
Just popping in
Just popping in


Another update!

Another work in progress version of simplegit and libgit2 to get the functionality up to date. There are two sets of executeables in the linked archive: sgit and lg2. Both are compiled against an up to date version of libgit2. The difference is that sgit uses the existing API wrapper from simplegit, whereas lg2 is based upon the examples that come with libgit2. Currently sgit has more commands available and you may find that those in lg2 have more functionality and/or run faster. Testing with a status command for a checked out version of the simplegit repository, lg2 completed it in 14 seconds as opposed to 39 with sgit. This was on my X1000 and the mileage may vary.

You can download it from here


Any questions, email me at tyrrell <dot> simon <at> gmail <dot> com

Billy

Go to top


Re: updating sgit
Just popping in
Just popping in


Hi all

Ok, I've updated simplegit to using the latest libgit2. As one of the major differences was how it now effectively has an API which mimics a lot of POSIX functions, I've moved the build to using clib2 rather than newlib as that's what the wiki.amigaos.net pages seem to recommend.

So a quick test of a status command on a repo appears to work ok, so it's a start

This is compiled with full debugging symbols and no optimzations, so don't expect it to be a speed demon, the optimizations can come later.

The command line options haven't changed as I want to make sure that the libgit2 functionality still all works ok before adding in the missing stuff. Once we're happy it's stable, I'll submit a pull request to the libgit2 repo so staying up to date in future should be a lot easier.

I've put it on my dropbox and you can download it from here.

Please let me know if you've downloaded and tested it and how it works for you. My email is tyrrell <dot> simon <at> gmail <dot> com.

Any issues can also be added to my forked repo at

https://github.com/billyfish/libgit2/issues

cheers and good luck!

billy




Go to top


Re: How to allocate TimeRequest
Just popping in
Just popping in


@LiveForIt, @salass00 and @Kas1e


Thanks guys, I'll update the code. So the page at https://wiki.amigaos.net/wiki/Date_Functions needs to have the example a2d.c code fixed I guess.

cheers

billy


Edited by billyfish on 2020/5/18 11:45:38
Go to top


Re: How to allocate TimeRequest
Just popping in
Just popping in


@LiveForIt

Sorry, when i pasted ito my post I accidentally added the ASIOR bit. I've edited the post to remove that. It compiles fine, but the timerequest allocation fails and I get the printf statement confirming it.

If I switch to allocating it with

struct TimeRequest *tr IExec->AllocVecTags(sizeof(struct TimeRequest),
    
AVT_ClearWithValue0,
    
TAG_END);


and

IExec->FreeVec (tr);


it works fine. Anyone have any idea what I'm doing wrong with the AllocSysObjectTags() version?

cheers

billy

Go to top



TopTop
« 1 ... 3 4 5 (6) 7 8 9 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project