Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
30 user(s) are online (21 user(s) are browsing Forums)

Members: 1
Guests: 29

Raziel, more...

Support us!

Headlines

 
  Register To Post  

(1) 2 »
Markdown Editor / Viewer
Just popping in
Just popping in


See User information
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: Markdown Editor / Viewer
Home away from home
Home away from home


See User information
It works. but crashes when I just load .md from a VIM , and press "update" in the HTMLview task. Maybe because I use os4depot's version and there some newer one?

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Markdown Editor / Viewer
Just popping in
Just popping in


See User information
@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: Markdown Editor / Viewer
Amigans Defender
Amigans Defender


See User information
@billyfish

Great! I write all documentation in MarkDown on my Windows laptop, then export in various formats using Pandoc. Would be great if we had a MarkDown editor for OS4 so that I could use the PC less.

Installed and running but when opening an .md file written on a PC, the program adds too many empty lines after a paragraph. Perhaps AmiMarkDown is unaware that the PC uses the CR+LF control character combination for a line break, while AmigaOS only uses LF?

And... yes, you should think of a new name for the program Ami this and Ami that really sounds clueless

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top
Re: Markdown Editor / Viewer
Home away from home
Home away from home


See User information
@billyfish
Yeah versions exactly the same as yours.

As for what .md cause crash : just download http://os4depot.net/share/utility/text/edit/vim_mui.lha

There is README.md. Load it, and click "Update" it then crashes in the HTMLview, in the DecoderThreadPC function, with 8x00000003.

Crashlog saying it can't load vimllogo.gif , and assmebler instruction which crashing is "lwz r14,12(r15)", and r14 are 0xFFFFFFFF, and r15 are 0x000000.

There is full crashlog

kernel 54.30 (1.1.2021AmigaOne X5000 release
Machine model
(AmigaOne X5000/20)
Dump of context at 0xEFA97000
Trap type
DSI exception
DSISR
00000000  DAR0000000C
No matching page found
Machine State 
(raw): 0x0002F030
Machine State 
(verbose): [Critical Ints on] [ExtInt on] [User] [IAT on] [DAT on]
Instruction pointer0x7CCB50B0
Crashed process
HTMLview https://github.com/vim/vim/blob/master/runtime/vimlogo.gif (0x5DD7D7B0)
DSI verbose error descriptionAccess to address 0x0000000C not allowed by page protection in user state (protection violation)
Access was a load operation
Exception Syndrome Register
0x00000000
 0
5D07AF20 5C93CD90 00000002 5C93CE30 6842DF50 01955038 FFFFFFFF 5CD53DF8
 8
5DD7D834 68430000 5E24CE24 6FEB3228 00000000 0000000D FFFFFFFF 00000000
16
5EAF0D70 5C93CF90 7CCB568C 7CCB0000 5C93CDA0 6842DE0E 68430000 7CCBE330
24
7CCC0000 FFFFFFFF 0239ECC2 00000000 5CD53DF8 5DD7D7B0 02008624 5CD53CC8
CR
33953395   XERE000007E  CTR7CCB4FBC  LR7CCB50A4

Disassembly of crash site
:
 
7CCB50A0480109C9   bl                0x7CCC5A68
 7CCB50A4
3C806843   lis               r4,26691
 7CCB50A8
81E10104   lwz               r15,260(r1)
 
7CCB50AC3884DF50   subi              r4,r4,8368
>7CCB50B081CF000C   lwz               r14,12(r15)
 
7CCB50B4820F0000   lwz               r16,0(r15)
 
7CCB50B891C100FC   stw               r14,252(r1)
 
7CCB50BC818F0014   lwz               r12,20(r15)
 
7CCB50C080700000   lwz               r3,0(r16)
 
7CCB50C480AC0004   lwz               r5,4(r12)
msr0x0002B032
TLB1 
(64 entries):
 * [ 
52]: size=7 tid 0 TS 1 epn=0xFE000000 rpn=0x0000000F_FE000000 WIMG=0x5 XXWWRR=0xF protected
 * [ 
53]: size=6 tid 0 TS 1 epn=0x01000000 rpn=0x00000000_01000000 WIMG=0x0 XXWWRR=0x5 protected
 * [ 
54]: size=6 tid 0 TS 1 epn=0x01400000 rpn=0x00000000_01400000 WIMG=0x0 XXWWRR=0x5 protected
 * [ 
55]: size=6 tid 0 TS 1 epn=0x01800000 rpn=0x00000000_01800000 WIMG=0x0 XXWWRR=0x33 protected
 * [ 
56]: size=6 tid 0 TS 1 epn=0x01C00000 rpn=0x00000000_01C00000 WIMG=0x0 XXWWRR=0x33 protected
 * [ 
57]: size=6 tid 0 TS 1 epn=0x02000000 rpn=0x00000000_02000000 WIMG=0x0 XXWWRR=0xF protected
 * [ 
58]: size=4 tid 0 TS 1 epn=0x02400000 rpn=0x00000000_02400000 WIMG=0x0 XXWWRR=0xF protected
 * [ 
59]: size=3 tid 0 TS 1 epn=0x02440000 rpn=0x00000000_02440000 WIMG=0x0 XXWWRR=0xF protected
 * [ 
60]: size=3 tid 0 TS 1 epn=0x02450000 rpn=0x00000000_02450000 WIMG=0x0 XXWWRR=0xF protected
 * [ 
61]: size=7 tid 0 TS 0 epn=0xFE000000 rpn=0x0000000F_FE000000 WIMG=0x5 XXWWRR=0xF protected
 * [ 
62]: size=A tid 0 TS 0 epn=0x00000000 rpn=0x00000000_00000000 WIMG=0x0 XXWWRR=0x3F protected
 * [ 
63]: size=A tid 0 TS 0 epn=0x40000000 rpn=0x00000000_40000000 WIMG=0x0 XXWWRR=0x3F protected
HAL_MaxTLB 51HAL_NextTLB 0
MMUCFG 
0x064809C4
mas0 
0x103F0000
mas1 
0xC0000A00
mas2 
0x40000000
mas3 
0x4000003F
mas4 
0x00000100
mas5 
0x00000000
mas6 
0x00000001
mas7 
0x00000000
mas8 
0x00000000

Kernel command line
serial munge debuglevel=1

Registers pointing to code
:
r4 LIBS:mui/HTMLview.mcc:_ZSt7nothrow()+0x0 (section 11 0x54)
r5 native kernel module dos.library.kmod+0x0002a458
r18
LIBS:mui/HTMLview.mcc:_Z13DecoderThreadPc()+0x6d0 (section 1 0x28688)
r19LIBS:mui/HTMLview.mcc:_ZN13ColourManagerC2EP6Screen()+0x298 (section 1 0x22FFC)
r21module LIBS:mui/HTMLview.mcc at 0x6842DE0E (section 3 0x4E)
r23LIBS:mui/HTMLview.mcc:__gxx_personality_sj0()+0x0 (section 1 0x3132C)
r24LIBS:mui/HTMLview.mcc:__cxa_rethrow()+0x3c (section 1 0x32FFC)
r26native kernel module kernel+0x00b9ecc2
r30
native kernel module kernel+0x00808624
ip 
LIBS:mui/HTMLview.mcc:_Z13DecoderThreadPc()+0xf4 (section 1 0x280AC)
lr LIBS:mui/HTMLview.mcc:_Z13DecoderThreadPc()+0xe8 (section 1 0x280A0)
ctrLIBS:mui/HTMLview.mcc:_Z13DecoderThreadPc()+0x0 (section 1 0x27FB8)

Stack trace:
(
0x5C93CD90LIBS:mui/HTMLview.mcc:_Z13DecoderThreadPc()+0xf4 (section 1 0x280AC)
(
0x5C93CF90LIBS:mui/HTMLview.mcc:_Z13DecoderThreadPc()+0xe8 (section 1 0x280A0)
(
0x5C93CFC0native kernel module kernel+0x0005c18c
(0x5C93CFD0native kernel module kernel+0x0005c204

Disassembly of crash site
:
 
7CCB50A0480109C9   bl                0x7CCC5A68
 7CCB50A4
3C806843   lis               r4,26691
 7CCB50A8
81E10104   lwz               r15,260(r1)
 
7CCB50AC3884DF50   subi              r4,r4,8368
>7CCB50B081CF000C   lwz               r14,12(r15)
 
7CCB50B4820F0000   lwz               r16,0(r15)
 
7CCB50B891C100FC   stw               r14,252(r1)
 
7CCB50BC818F0014   lwz               r12,20(r15)
 
7CCB50C080700000   lwz               r3,0(r16)
 
7CCB50C480AC0004   lwz               r5,4(r12)
Stack pointer (0x5C93CD90is inside bounds
Redzone is OK 
(4)

68k register dump
DATA
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ADDR
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Page information
:
Page not found

Ready Tasks
                                    HID Mouse 
(pri  10sigrec 0x80000000sigwait 0x80001000masked 0x80000000)
                                    
hid.usbfd (pri  10sigrec 0x00000100sigwait 0xE0000000masked 0x00000000)
                           
WinFrame 2 Process (pri   5sigrec 0x00800000sigwait 0xFF800000masked 0x00800000)
                           
WinFrame 3 Process (pri   5sigrec 0x00800000sigwait 0xFF800000masked 0x00800000)
                    
IDF1/FastFileSystem 53.2  (pri   5sigrec 0x20000000sigwait 0xA8000100masked 0x20000000)
                    
IDF0/FastFileSystem 53.2  (pri   5sigrec 0x20000000sigwait 0xA8000100masked 0x20000000)
                                 
compose.task (pri   1sigrec 0x00000010sigwait 0x00000010masked 0x00000010)
                                    
Workbench (pri   1sigrec 0x80000100sigwait 0x80000000masked 0x80000000)
                       
ScreenBlanker Library. (pri   1sigrec 0x14000100sigwait 0xB4001000masked 0x14000000)
                                      
AmiDock (pri   0sigrec 0x00000100sigwait 0x00000100masked 0x00000100)
                           
NotificationServer (pri   0sigrec 0x04000000sigwait 0xBC001000masked 0x04000000)
                                      
Odyssey (pri   0sigrec 0x11000080sigwait 0x03E0D000masked 0x01000000)
                               
TCP/IP Control (pri   0sigrec 0x40000100sigwait 0xF8009080masked 0x40000000)
                                    
hub.usbfd (pri   0sigrec 0x10000000sigwait 0x30000000masked 0x10000000)
                                
ELF Collector (pri   0sigrec 0x00000100sigwait 0x00000100masked 0x00000100)
                           
vsata disk changer (pri   0sigrec 0x80000000sigwait 0x80000000masked 0x80000000)
                                    
hub.usbfd (pri   0sigrec 0x10000000sigwait 0x30000000masked 0x10000000)
                            
dos_signal_server (pri  -5sigrec 0x00004000sigwait 0x0000F000masked 0x00004000)
                             
CPUDock_idleTask (pri -127sigrec 0x00000000sigwait 0x40000000masked 0x00000000)
                                    
idle.task (pri -128sigrec 0x00000000sigwait 0x00000000masked 0x00000000)

Waiting Tasks
                      DH1
/NGFileSystem 54.72  (pri  10sigrec 0x00000100sigwait 0xF0000000masked 0x00000000)
                      
DH0/NGFileSystem 54.72  (pri  10sigrec 0x00000100sigwait 0xF0000000masked 0x00000000)
                      
DH4/NGFileSystem 54.72  (pri  10sigrec 0x00000100sigwait 0xF0000000masked 0x00000000)
                                    
hid.usbfd (pri  10sigrec 0x00000100sigwait 0xE0000000masked 0x00000000)
                  
EHCI Controller Task Unit 0 (pri  15sigrec 0x00000000sigwait 0xBE009000masked 0x00000000)
                                    
USB stack (pri  18sigrec 0x00000000sigwait 0xF800D000masked 0x00000000)
                                    
HID Mouse (pri  10sigrec 0x00000000sigwait 0x80001000masked 0x00000000)
                  
EHCI Controller Task Unit 1 (pri  15sigrec 0x00000000sigwait 0xBE009000masked 0x00000000)
                                  
AmiMarkdown (pri   0sigrec 0x40000000sigwait 0x02000000masked 0x00000000)
                                  
dopus_clock (pri   1sigrec 0x00000000sigwait 0xC0000000masked 0x00000000)
                      
p50x0sata.device Port 1 (pri  12sigrec 0x10000000sigwait 0xC0007000masked 0x00000000)
                                       
rhd_gc (pri 100sigrec 0x00000000sigwait 0x80000001masked 0x00000000)
                      
ICD1/CDFileSystem 53.8  (pri  10sigrec 0x00000000sigwait 0x00000100masked 0x00000000)
                      
ICD0/CDFileSystem 53.8  (pri  10sigrec 0x00000000sigwait 0x00000100masked 0x00000000)
               
USB0/CrossDOSFileSystem 53.11  (pri  10sigrec 0x00000000sigwait 0x00010100masked 0x00000000)
                   
DH2/SmartFilesystem 1.293  (pri  11sigrec 0x00000000sigwait 0x00000100masked 0x00000000)
                    
URL/launch-handler 53.39  (pri   5sigrec 0x00000100sigwait 0x80000000masked 0x00000000)
              
TEXTCLIP/textclip-handler 53.4  (pri   3sigrec 0x00000100sigwait 0x80000000masked 0x00000000)
                  
RANDOM/Random-Handler 52.1  (pri   5sigrec 0x00000000sigwait 0x00000100masked 0x00000000)
                   
DH2/SmartFilesystem 1.293  (pri  10sigrec 0x00000000sigwait 0xE0000100masked 0x00000000)
           
MainUSB0/CrossDOSFileSystem 53.11  (pri  10sigrec 0x00000000sigwait 0x40000100masked 0x00000000)
                        
appdir envarc manager (pri -50sigrec 0x00000000sigwait 0x80005000masked 0x00000000)
                                 
Mounter Task (pri  -1sigrec 0x00000000sigwait 0xB0001000masked 0x00000000)
                                  
Mounter GUI (pri   0sigrec 0x00000000sigwait 0x80007000masked 0x00000000)
                    
Mounter Companion Process (pri  -1sigrec 0x00000000sigwait 0x80003000masked 0x00000000)
                     
Workbench DosList Notify (pri   1sigrec 0x00000100sigwait 0x00003000masked 0x00000000)
                       
CON/con-handler 53.82  (pri   5sigrec 0x00000000sigwait 0xA0000100masked 0x00000000)
                                 
ClickToFront (pri  21sigrec 0x00000100sigwait 0xE000D000masked 0x00000000)
                               
Background CLI (pri   0sigrec 0x00000100sigwait 0x5C009000masked 0x00000000)
                                    
hid.usbfd (pri  10sigrec 0x00000100sigwait 0xE0000000masked 0x00000000)
                                 
HID Keyboard (pri  10sigrec 0x00000000sigwait 0x90001000masked 0x00000000)
                           
TCP/IP Superserver (pri   0sigrec 0x00000100sigwait 0xD0000080masked 0x00000000)
                               
P50x0 Ethernet (pri  20sigrec 0x00000000sigwait 0x00001000masked 0x00000000)
                                 
ContextMenus (pri   0sigrec 0x00000000sigwait 0xE0001000masked 0x00000000)
                               
Background CLI (pri   0sigrec 0x00000100sigwait 0xC0009000masked 0x00000000)
                           
dos_filedir_notify (pri   5sigrec 0x80000000sigwait 0x40001000masked 0x00000000)
                      
p50x0sata.device Port 0 (pri  12sigrec 0x10000000sigwait 0xC0007000masked 0x00000000)
                                  
AmiMarkdown (pri   0sigrec 0x40000000sigwait 0x02000000masked 0x00000000)
                               
ramlib.support (pri  -2sigrec 0x00000000sigwait 0x80005000masked 0x00000000)
                                       
ramlib (pri   1sigrec 0x00000000sigwait 0x80001000masked 0x00000000)
                         
TCP/IP Configuration (pri   0sigrec 0x00000100sigwait 0xF8003000masked 0x00000000)
                       
CON/con-handler 53.82  (pri   5sigrec 0x00000000sigwait 0xA0000100masked 0x00000000)
                                
Shell Process (pri   0sigrec 0x00000000sigwait 0x00000100masked 0x00000000)
                       
CON/con-handler 53.82  (pri   5sigrec 0x00000000sigwait 0xB8000100masked 0x00000000)
     
HTMLview https://github.com/vim/vim/blob/master/runtime/vimlogo.gif (pri  -1, sigrec 0x00000000, sigwait 0x00000010, masked 0x00000000)
                                  
AmiMarkdown (pri   0sigrec 0x40000000sigwait 0x02000000masked 0x00000000)
                                  [
OWBTimer (pri   0sigrec 0x20000000sigwait 0x50000000masked 0x00000000)
              
TextEditor.mcc clipboard server (pri   1sigrec 0x00000100sigwait 0x80000000masked 0x00000000)
                       
CON/con-handler 53.82  (pri   5sigrec 0x00000000sigwait 0xA0000100masked 0x00000000)
                                
dopus_arbiter (pri   0sigrec 0x00000000sigwait 0x00000100masked 0x00000000)
                          
sys:utilities/UnArc (pri   0sigrec 0x00000100sigwait 0xC0003000masked 0x00000000)
                           [
OWBIconDatabase (pri   0sigrec 0x00000000sigwait 0x00000010masked 0x00000000)
                       
RAM/ram-handler 54.24  (pri  10sigrec 0x00000100sigwait 0x80000000masked 0x00000000)
              [
OWBJavaScriptCore::BlockFree (pri   0sigrec 0x00000000sigwait 0x00000010masked 0x00000000)
                       
CON/con-handler 53.82  (pri   5sigrec 0x00000000sigwait 0xB0000100masked 0x00000000)
            
application.library messageserver (pri   0sigrec 0x00000000sigwait 0xC0000000masked 0x00000000)
                 
MUI imagespace screen notify (pri   1sigrec 0x00000100sigwait 0xC0001000masked 0x00000000)
                                   
RexxMaster (pri   4sigrec 0x00000100sigwait 0xC0000000masked 0x00000000)
              
ContextMenus Command Dispatcher (pri   1sigrec 0x00000000sigwait 0x80001000masked 0x00000000)
                         
KeymapSwitcher.docky (pri   0sigrec 0x00000000sigwait 0x80001000masked 0x00000000)
                                      
AsyncWB (pri   0sigrec 0x00000100sigwait 0xC0001000masked 0x00000000)
                                
dopus_hotkeez (pri   1sigrec 0x00000000sigwait 0xC0000000masked 0x00000000)
                                     
RAWBInfo (pri   0sigrec 0x00000100sigwait 0x80001000masked 0x00000000)
                                         
FKey (pri   0sigrec 0x00000100sigwait 0xC000D000masked 0x00000000)
                       
CON/con-handler 53.82  (pri   5sigrec 0x00000000sigwait 0xA0000100masked 0x00000000)
                                     
DefIcons (pri   0sigrec 0x00000100sigwait 0x80009000masked 0x00000000)
                       
CON/con-handler 53.82  (pri   5sigrec 0x00000000sigwait 0xA0000100masked 0x00000000)
                       
CON/con-handler 53.82  (pri   5sigrec 0x00000000sigwait 0xA0000100masked 0x00000000)
                       
CON/con-handler 53.82  (pri   5sigrec 0x00000000sigwait 0xA0000100masked 0x00000000)
                   
Workbench Clipboard Server (pri   1sigrec 0x00000100sigwait 0x80000000masked 0x00000000)
                                   
▒ IPrefs ▒ (pri   0sigrec 0x20000000sigwait 0x0000F000masked 0x00000000)
                                   
TCP/IP Log (pri   0sigrec 0x00000000sigwait 0x80003000masked 0x00000000)
                                    
hid.usbfd (pri  10sigrec 0x00000100sigwait 0xE0000000masked 0x00000000)
                                 
HID Consumer (pri  10sigrec 0x00000000sigwait 0x80001000masked 0x00000000)
                                 
HID Consumer (pri  10sigrec 0x00000000sigwait 0x80001000masked 0x00000000)
                                      
ConClip (pri   0sigrec 0x00000000sigwait 0x80000000masked 0x00000000)
                                 
HID Consumer (pri  10sigrec 0x00000000sigwait 0x80001000masked 0x00000000)
                                 
HID Keyboard (pri  10sigrec 0x00000000sigwait 0x90001000masked 0x00000000)
                                    
hid.usbfd (pri  10sigrec 0x00000100sigwait 0xE0000000masked 0x00000000)
                                    
hid.usbfd (pri  10sigrec 0x00000100sigwait 0xE0000000masked 0x00000000)
                      
diskimage.device unit 1 (pri   4sigrec 0x00000100sigwait 0xC0000000masked 0x00000000)
                      
diskimage.device unit 0 (pri   4sigrec 0x00000100sigwait 0xC0000000masked 0x00000000)
                      
diskimage.device unit 5 (pri   4sigrec 0x00000100sigwait 0xC0000000masked 0x00000000)
                      
diskimage.device unit 4 (pri   4sigrec 0x00000100sigwait 0xC0000000masked 0x00000000)
                            
USB stack Process (pri   0sigrec 0x00000000sigwait 0x80001000masked 0x00000000)
                       
AUDIO/AHI-Handler 6.2  (pri   5sigrec 0x00000000sigwait 0x00000100masked 0x00000000)
                 
APPDIR/appdir-handler 54.17  (pri   5sigrec 0x00000100sigwait 0x80000000masked 0x00000000)
                         
MassStorage Notifier (pri   0sigrec 0x00000000sigwait 0x80001000masked 0x00000000)
                                  
DST watcher (pri   0sigrec 0x00000000sigwait 0xC0000000masked 0x00000000)
                               
NotifyA Server (pri   1sigrec 0x00000000sigwait 0xE8001000masked 0x00000000)
                         
string.gadget server (pri   1sigrec 0x00000100sigwait 0x40000000masked 0x00000000)
                            
datatypes.library (pri   1sigrec 0x00000000sigwait 0x80001000masked 0x00000000)
                       
ENV/env-handler 54.18  (pri   5sigrec 0x00000100sigwait 0x80000000masked 0x00000000)
                       
CON/con-handler 53.82  (pri   5sigrec 0x00000000sigwait 0xA0000100masked 0x00000000)
                       
RAW/con-handler 53.82  (pri   5sigrec 0x00000000sigwait 0xA0000100masked 0x00000000)
                       
CON/con-handler 53.82  (pri   5sigrec 0x00000000sigwait 0xA0000100masked 0x00000000)
                          
SFS DosList handler (pri  19sigrec 0x00000000sigwait 0x80000000masked 0x00000000)
                             
dos_nbmd_process (pri   5sigrec 0x00000000sigwait 0x00001100masked 0x00000000)
                             
dos_lock_handler (pri   5sigrec 0x00000000sigwait 0x00001100masked 0x00000000)
                                    
hub.usbfd (pri   0sigrec 0x00000000sigwait 0x30000000masked 0x00000000)
                                    
hub.usbfd (pri   0sigrec 0x00000000sigwait 0x30000000masked 0x00000000)
                     
Exec Command and Control (pri  30sigrec 0x00000000sigwait 0x80000000masked 0x00000000)
                       
DMA2 Channel 4 Handler (pri   0sigrec 0x00000000sigwait 0x80001000masked 0x00000000)
                       
DMA1 Channel 4 Handler (pri   0sigrec 0x00000000sigwait 0x80001000masked 0x00000000)
                       
DMA2 Channel 3 Handler (pri   0sigrec 0x00000000sigwait 0x80001000masked 0x00000000)
                       
DMA1 Channel 3 Handler (pri   0sigrec 0x00000000sigwait 0x80001000masked 0x00000000)
                       
DMA2 Channel 2 Handler (pri   0sigrec 0x00000000sigwait 0x80001000masked 0x00000000)
                       
DMA1 Channel 2 Handler (pri   0sigrec 0x00000000sigwait 0x80001000masked 0x00000000)
                       
DMA2 Channel 1 Handler (pri   0sigrec 0x00000000sigwait 0x80001000masked 0x00000000)
                       
DMA1 Channel 1 Handler (pri   0sigrec 0x00000000sigwait 0x80001000masked 0x00000000)

Suspended Tasks


Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Markdown Editor / Viewer
Site Builder
Site Builder


See User information
MarkDown editor and viewer is a must have app. Thanks Billyfish for doing this.

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: Markdown Editor / Viewer
Home away from home
Home away from home


See User information
@billyfish

And have exactly the same crash when loading your "README.md" from md4c, and click "update" in it.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Markdown Editor / Viewer
Just popping in
Just popping in


See User information
@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


See User information
@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


See User information
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
Home away from home
Home away from home


See User information
@billyfish
If it will be an issue in mui class, Thore surely will fix it. Just need to be sure if it is, and create a proper bug-report (or write to Thore directly, he very helpful when it comes to mui and mui classes fixes).

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Markdown Editor / Viewer
Just popping in
Just popping in


See User information
@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


See User information
Ok a new version has been uploaded to os4depot.net. Amongst other things, I've moved to using the OS launch-handler for showing the converted html which gets rid of the image problems with HTMLview. It's still a work-in-progress, and yes the name will change @trixie . Any feedback, good, bad or indifferent, is welcome.

Enjoy!

Go to top
Re: Markdown Editor / Viewer
Amigans Defender
Amigans Defender


See User information
@billyfish

Thanks for working on the program, such a tool is badly needed! And... don't lose any sleep over the comments on OS4depot: looks like someone had a bad day or two.

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top
Re: Markdown Editor / Viewer
Home away from home
Home away from home


See User information
@billyfish

Choose of a browser instead of an HTML view class is probably good, but it spawns a new instance for every "update" hit :) Is it possible to make it so you will have to open it one time (for the first "update" click), and then each other "update" click will refresh content in the already opened browser?

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Markdown Editor / Viewer
Just popping in
Just popping in


See User information
@kas1e

Quote:

Is it possible to make it so you will have to open it one time (for the first "update" click), and then each other "update" click will refresh content in the already opened browser?


Yeah I wanted that too According to the launch handler docs, it's a single event where you instantly close the file handle that you use to launch the browser. I'll look to split the convert function into convert or "convert and launch". That way you can just use convert and then refresh the web browser window.

Go to top
Re: Markdown Editor / Viewer
Just popping in
Just popping in


See User information
@trixie

Quote:

don't lose any sleep over the comments on OS4depot: looks like someone had a bad day or two.


Yeah they're not a happy camper are they?!? I'm sleeping ok over it though

Go to top
Re: Markdown Editor / Viewer
Just popping in
Just popping in


See User information
So I've just uploaded a new version to os4depot, quite a few nice changes in there like a proper(!) toolbar and bits for generating tables, images, etc.. As ever, any level of feedback is more than welcome.

Go to top
Re: Markdown Editor / Viewer
Site Builder
Site Builder


See User information
That's awesome. Some remarks on things I found:

1. Project menu both Load and Save have the same shortcut
2. It would be good to have a shortcut for the Project > Update. It can be handy
3. There is no way to save the Settings, if you do a change. They are not saved on window close, nor there are any buttons to do that.
4. In settings, "Allow blocks" and "Allow spans" have the same bubble help text
5. At the main window, at the buttons, if you have assigned any shortcuts, it would be great if you show them on help bubbles as well
6. If you start a new project, you cannot preview it. I guess because there is no way to run md4c while there is no file. Maybe create a new one only in Ram, and work with that.
7. I don't know if you have this in your plans, but it would be good if there was a way to use always a specific browser and not open new tabs all the time. I am working on ideas on that, and I will be back with proposals. I guess a good candidate would be to use NetSurf, since it doesn't need to support Javascript. Which brings us maybe to a way to set if the user wants to use OpenURL (like it is now) or use ARexx to send the url to a specific browser. And let the user create it.
8. Choices that open a new window, like adding a link, maybe it would be good to close after the user press OK.
9. The last version includes Makefile and the project file from Codebench, which might not needed.

The AmiMarkDown is getting better and better. Thank you for doing this.

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: Markdown Editor / Viewer
Just popping in
Just popping in


See User information
@walkero

Yassou George, thanks for trying it out and finding these, I'm working through them I've done 1-4 and 8 so once I've got the other ones done, I'll upload an updated version. For the others:

Quote:

5. At the main window, at the buttons, if you have assigned any shortcuts, it would be great if you show them on help bubbles as well


I'll investigate whether this can be done automatically in TheBar mcc docs as the toolbar has the shortcuts defined. If not, I can add them explicitly to the help bubbles.

Quote:

6. If you start a new project, you cannot preview it. I guess because there is no way to run md4c while there is no file. Maybe create a new one only in Ram, and work with that.


Good find, I hadn't noticed that. Yup the md to html part works ok without being saved, but it saves the html to a file with the original filename and appends ".html". So when it hasn't been saved yet, it was silently stopping at this point.

Quote:

7. I don't know if you have this in your plans, but it would be good if there was a way to use always a specific browser and not open new tabs all the time. I am working on ideas on that, and I will be back with proposals. I guess a good candidate would be to use NetSurf, since it doesn't need to support Javascript. Which brings us maybe to a way to set if the user wants to use OpenURL (like it is now) or use ARexx to send the url to a specific browser. And let the user create it.


Yeah I agree, like @kas1e mentioned too, that opening a new tab every time is a pain. Launch-Handler doesn't seem to offer the function to reload an existing tab if the url is already open. So any proposals that you have would be great!

Quote:

9. The last version includes Makefile and the project file from Codebench, which might not needed.


oops!


Again thanks for going through the pain of testing it and the bug reports, it's really appreciated

Go to top

  Register To Post
(1) 2 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project