GitHub - QL Sources

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

GitHub - QL Sources

Postby RWAP » Thu Nov 10, 2016 9:50 am

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: 2682
Joined: Sun Nov 28, 2010 4:51 pm
Location: Stone, United Kingdom
Contact:

Re: GitHub - QL Sources

Postby RWAP » Thu Nov 10, 2016 1:43 pm

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

Postby georgeo » Thu Nov 10, 2016 4:15 pm

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: 2682
Joined: Sun Nov 28, 2010 4:51 pm
Location: Stone, United Kingdom
Contact:

Re: GitHub - QL Sources

Postby RWAP » Thu Nov 10, 2016 4:29 pm

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
Aurora
Posts: 986
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: GitHub - QL Sources

Postby NormanDunbar » Thu Nov 10, 2016 9:20 pm

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 - https://www.amazon.co.uk/Arduino-Softwa ... 1484257898, https://www.apress.com/gb/book/9781484257890
tcat
Super Gold Card
Posts: 605
Joined: Fri Jan 18, 2013 5:27 pm
Location: Prague, Czech Republic

Re: GitHub - QL Sources

Postby tcat » Sun Nov 13, 2016 2:28 pm

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

ZIP v1.9.png
InfoZIP ZIP v1.9 1992


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

Re: GitHub - QL Sources

Postby RWAP » Sun Nov 13, 2016 2:40 pm

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: 605
Joined: Fri Jan 18, 2013 5:27 pm
Location: Prague, Czech Republic

Re: GitHub - QL Sources

Postby tcat » Sun Nov 13, 2016 4:32 pm

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
Aurora
Posts: 986
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: GitHub - QL Sources

Postby NormanDunbar » Sun Nov 13, 2016 11:24 pm

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 - https://www.amazon.co.uk/Arduino-Softwa ... 1484257898, https://www.apress.com/gb/book/9781484257890
User avatar
XorA
Super Gold Card
Posts: 619
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: GitHub - QL Sources

Postby XorA » Mon Nov 14, 2016 11:56 am

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!



Who is online

Users browsing this forum: No registered users and 9 guests