Who's Online |
86 user(s) are online ( 54 user(s) are browsing Forums)
Members: 0
Guests: 86
more...
|
|
|
|
Re: Markdown Editor / Viewer
|
Posted on: 2021/1/6 11:20
#101
|
Just popping in
|
@kas1e
Good idea. I'll make a simple test case and see if it still crashes.
|
|
|
|
Re: Markdown Editor / Viewer
|
Posted on: 2021/1/5 18:50
#102
|
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!
|
|
|
|
Re: Markdown Editor / Viewer
|
Posted on: 2021/1/5 18:47
#103
|
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
|
|
|
|
Re: Markdown Editor / Viewer
|
Posted on: 2021/1/5 18:44
#104
|
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
|
|
|
|
Re: Markdown Editor / Viewer
|
Posted on: 2021/1/5 11:38
#105
|
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
|
|
|
|
Re: OS4 UPDAAAATEE !!! BANANA !!
|
Posted on: 2021/1/5 11:27
#106
|
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
|
|
|
|
Markdown Editor / Viewer
|
Posted on: 2021/1/5 11:24
#107
|
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
|
|
|
|
Re: Introducing the Rear Window blog
|
Posted on: 2020/12/23 19:18
#108
|
Just popping in
|
This is awesome news, well done! I'll definitely be using this when it's available
|
|
|
|
Re: Do we have on amigaos and app to read/write ISO files ?
|
Posted on: 2020/12/23 19:17
#109
|
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
|
|
|
|
Re: Implementing mmap () and munmap ()
|
Posted on: 2020/5/21 20:54
#111
|
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
|
|
|
|
Implementing mmap () and munmap ()
|
Posted on: 2020/5/21 18:44
#112
|
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
|
|
|
|
Re: How to allocate TimeRequest
|
Posted on: 2020/5/21 15:46
#113
|
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
|
|
|
|
Re: updating sgit
|
Posted on: 2020/5/21 15:45
#114
|
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.ccheers 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
|
|
|
|
Re: updating sgit
|
Posted on: 2020/5/18 23:02
#115
|
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
|
|
|
|
Re: updating sgit
|
Posted on: 2020/5/18 18:01
#116
|
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
|
|
|
|
Re: updating sgit
|
Posted on: 2020/5/18 15:57
#117
|
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 hereAny questions, email me at tyrrell <dot> simon <at> gmail <dot> com Billy
|
|
|
|
Re: updating sgit
|
Posted on: 2020/5/17 20:02
#118
|
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/issuescheers and good luck! billy
|
|
|
|
Re: How to allocate TimeRequest
|
Posted on: 2020/5/17 19:31
#119
|
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
|
|
|
|
Re: How to allocate TimeRequest
|
Posted on: 2020/5/17 19:00
#120
|
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_ClearWithValue, 0,
TAG_END);
and
IExec->FreeVec (tr);
it works fine. Anyone have any idea what I'm doing wrong with the AllocSysObjectTags() version? cheers billy
|
|
|
|