GitHub - QL Sources

Anything QL Software or Programming Related.
RWAP
RWAP Master
Posts: 2834
Joined: Sun Nov 28, 2010 4:51 pm
Location: Stone, United Kingdom
Contact:

GitHub - QL Sources

Post by RWAP »

I was wondering if it would be worth someone setting up a GitHub for QL Software - where existing source codes are available, these could be uploaded and then people could more easily see the code behind various programs and it may attract new people to start programming in SuperBASIC or 68008 code - even if only to make small improvements to existing programs, toolkits etc.

For example, with the recently released sources for the ProForma colour ESC/P2 drivers, this could attract any C officienados who may be able to improve the code further (and maybe implement the 1440dpi mode, or even 2880dpi !).

I have created a SinclairQL organisation on GitHub and uploaded the ESC/P2 drivers:

https://github.com/SinclairQL

This is public access, and if anyone else wants to be a member of the organisation to create and add new projects, then please just let me know!


RWAP
RWAP Master
Posts: 2834
Joined: Sun Nov 28, 2010 4:51 pm
Location: Stone, United Kingdom
Contact:

Re: GitHub - QL Sources

Post by RWAP »

I have uploaded both the ESC/P2 Proforma drivers and SToQL for now.

We need some system of getting github to recognise SuperBASIC as a language - having spoken to them, you need an open source Textmate-style language grammar defining for it to get it added.

I wonder if we can pull the other QL related projects on GitHub under this one to make it easier?


georgeo
Bent Pin Expansion Port
Posts: 95
Joined: Wed Aug 03, 2016 8:49 am

Re: GitHub - QL Sources

Post by georgeo »

Is there a straightforward way to transfer code (such as SuperBASIC listings) between a QL and GitHub - e.g. is importing/ exporting ASCII source reliable?


RWAP
RWAP Master
Posts: 2834
Joined: Sun Nov 28, 2010 4:51 pm
Location: Stone, United Kingdom
Contact:

Re: GitHub - QL Sources

Post by RWAP »

I normally use the TotalEdit editor which is fine for editing QL files (and re-saving them) without corrupting characters or line endings.


User avatar
NormanDunbar
Forum Moderator
Posts: 2251
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: GitHub - QL Sources

Post by NormanDunbar »

Evening All,

GitHub and git software has options to either ignore line endings, convert to Linux/QL or convert to windows style. I've got mine set to "do not bloody change line endings!" as the SuperBasic Manual sources were getting flagged as changed when I checked out the latest code at work - Windows - or at home - Linux. It drove me nuts.

I found the setting, which I obviously can't remember at the moment (I'm in the bath!) But I'll have a look later if I remember, and since I put it on, no problems. Mind you, I also changed to using Notepad++ at work. I have that configured to save in Linux format anyway, so that helped too. It also has recordable macros which came in very handy for the conversion to RST. (ReStructuredText)

I'll see about getting the manual sources IP on the new repository as soon as I can. I think there's an import option on github.


Cheers,
Norm.


Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts

No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
tcat
Super Gold Card
Posts: 633
Joined: Fri Jan 18, 2013 5:27 pm
Location: Prague, Czech Republic

Re: GitHub - QL Sources

Post by tcat »

Hi,

I like the idea of sharing QL programs' sources on GIT.

I have two early sources of InfoZIP programs ZIP and UNZIP.
`zip19p1.tar.Z'
`unzip50.tar.Z'

I have so far ported ZIP v1.19 to QL under `qdos-gcc' compiler.
The idea is to learn, improve, and have some fun with C coding.
It is not meant to replace existing work of Jonathan Hudson's, from whose sources I learn a great deal.

My ZIP requires less memory, is v1.9 , does not support level-2 directories, and is generally better suited to bare QLs with minimum extended memory.

Please follow in separate thread at S/W section, any comments from C-coder's better than myself (must be anybody here I guess) are welcome.

Cheers
Tomas
InfoZIP ZIP v1.9 1992
InfoZIP ZIP v1.9 1992


RWAP
RWAP Master
Posts: 2834
Joined: Sun Nov 28, 2010 4:51 pm
Location: Stone, United Kingdom
Contact:

Re: GitHub - QL Sources

Post by RWAP »

Great - if you are already registered on GitHub - pm me your username and I will add you to the SinclairQL team...


tcat
Super Gold Card
Posts: 633
Joined: Fri Jan 18, 2013 5:27 pm
Location: Prague, Czech Republic

Re: GitHub - QL Sources

Post by tcat »

Rich,

Thank you, just registered and thank you for adding me to the project.

I am inexperienced with GIT, so far I used on Linux only to get files with command `git-clone', need to study commands for uploading, annotating, syncing, ...?

Tomas


User avatar
NormanDunbar
Forum Moderator
Posts: 2251
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: GitHub - QL Sources

Post by NormanDunbar »

In case anyone is wondering about this "git" thing, you might be interested to know that "The Git Book" aka "Pro Git" bt Scott Chacon is available for free download - the joys of Open Source - at https://git-scm.com/book/en/v2.

Formats available are pdf, mobile, html and epub.

Enjoy.

Cheers,
Norm.


Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts

No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
User avatar
XorA
Site Admin
Posts: 1358
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: GitHub - QL Sources

Post by XorA »

I have two QL projects already on github

https://github.com/slimlogic/qltools
https://github.com/slimlogic/uqlx-fork

Quite happy if you want to add them to SinclairQL team!


Post Reply