As i wrote in previous Posts, ive done the neccesary stuff to have a stable base for further Devs somwhen later. And so, i will slow down myScites Development in favour for more real life activities, my current Job and 3 other (smaller) Projects im loosely on.
So -Just dumpin some thoughts to implement within the next Release., which will be somwhen that or even next Year.
1) (Ok) Build upon Michells great efforts who backported Scintillas 4.0.x Code Improvements to the 3.8.0 / cpp11 platform
2) (OK) Replace c-based LexBatch with a lua lexer. ( Seems to perform quite well, so will try to contribute back in a while)
3) (OK) If available, use SciTEs Lua State within LexLPEG.
4) (OK) Remove Lua from SciTE Link to SciLexers included one. (OK): Same for all used LuaLibs.
5 The Installer works fine and finally myScite needs an Updater. Will be done in lua and spawned as a task so it wont block the UI.
6) Encapsulate LexMake's functionality within a Class.
7) recreate php api from http://php.net/manual/de/extensions.alphabetical.php
8) I still do like the Idea seen Scites recognizing simple Class members in .property files for use wtith Autocompletition.
(tbc)...
Sometimes.. when i look through older Code i somedays wrote before.. im smilin while shakein my head simulanously.
That Lexer was initially intended to be just a small addition - enough to learn some basics. ... Often enough i wonder what finally came out. Yes. that surreal std-c stuff has its benefits in speed and portability.. but doin a complete rewrite , oo,class based , would have been much easier.
But thats me.. in the End. Once i have my Teeth somwhere deep within stuff.. its hard for me to let go. Because i really hate givin up.:) Time teached me to at least - calm down a bit, "regenerate" and ome back later with some new ideas. .. or at least.. some fixes.
Happend to be that morning around one oCLock. (while wachtchin TimmyTrumpet on Youtube) Oh-- i was really happy i took the tome to write some inline hints.. woooh.. So.. the lexer recieved some Code simplification, does now understand bash style var notation, can (finally, but with a common refcount) happily correctly handle combinations of (unclosed) strings and brackets within multiline continuations plus some sanity checks here and there. Test on an 2011 built Notebook proved 5MB/Sec which, at least, gives more then most other lexers. So -> Now i do think its "presentable" ... but also.. that i dont feel quite "born" for c/cpp coding...
Another area that recieved work was to cleanup the luaLib repository. Implemented all needed stuff for a succesful lua5.3 built and "hacked" further through the Installer, which i talked about in the previous post... Ok...then. Reallife, Summe, Sun-- -- your next :)
Happy Spring -- Thorsten.
Add: LearnedFromLife: either string.resize is intolerant or my expectations to error reporting with usable stacktraces were too high:
"Check your file for any empty lines. If your edge filling loop finds an empty line it gives you exactly that error, as you try to erase characters at nonexisting positions."
Add2: Seems that was at least partly my Fault by (mis)using a string as an array because of handling strings in "other" Languages i used before. so seems std:vector had been a better approach.
Don't really know why, as i "initially" really decided to pause from myScite Dev ...- but now we have an Installer for it.
Written in a way to be easily adapted for use with other progs, it does work really well and even for all the Win7 Folks out there.
Already "Userchosen" Ext-App mappings will be preserved. Its really small and execution time is just some seconds per run.
The installer is engineered to be Cooperative. So it scales to SciTEs flexibility of been just copied somwhere and just works like a charm.
Lets look at some specs:
1. It doesnt need Administrative privileges. Neither for install - or uninstalling Stuff.
2. The Script will happily preserve already decided App-Extension mappings and just writes [APP_NAME] at the end of "recommended Apps" for the ext. (Seen when clicking "openWith")
3. File Extensions that didnt exist before are properly inited and associated with [APP_NAME]
4. File Extensions that do exist, but dont have a default app during InstallTime are associated with [APP_NAME] as well.
5. A backupFile containing all FileExt Mappings made within HKCU\....\Explorer\FileExts will be created in an Restore .reg file.
6. The uninstaller and the Installer will only touch fileExts in scite_filetypes.txt, so any other stuff, which not "belongs" to it wont be touched.
7. Size: 35 kb
... Woh. Fin...
Update: Done Version 1.0 with "Backup & logging Batteries" included. and does support readonly Pathes too. At least tested dozens of times on my local System here.... read more
German Freetz Project seems to be actively maintained (again) for quite a while now.
So i choosed to give master a try on my goodOld AVM 7390 edge equipment.
- As usual - some stuff had to be searched, others to be worked around - but now
- Its a cool- brandNewReborn - booting from an USB Root - MultiHD NAS -:) even includes a little local WebServer mhaha.
Edit: Currently based on AVM latest 7390-06.83 Image , its working quite well. As Always - left some Stuff in the net to describe what had to be done: https://github.com/Freetz/freetz/issues/27 .. as well as some (update) binary Dependencies on my googleDrive: https://drive.google.com/drive/folders/1qXyMYzFEVputKCHp0MQ8yGd0uF8hVoiN?usp=sharing (2018 Includes DropBear, lighthttpd, usbroot and cron (Idea: automagically sync git repos )
So WeHaveMoreFun !
Tho
Hey Fellows,
Just finished my "travel" through the "Live" Streaming Cloud.
I choosed YouNow for no specific Reason, just was curious about some Trickshots using VLC / Streamlink and FFMPEG
What came out is a small Article placed within that Gist (Edit) ... and a generic YouTube-Localhost bridge, with vlc and php as its only dependencies. Also doesnt need a Youtube APiKey.
Testing showed that its really tolerant and functional, so i decided to put it online on its own gitHub page --> YouTube-playlist-localhost
Oh - and Congratulations too the Wine Project for its 3.x Release! Always enjoy to read through the Changelogs.... read more
.Pause. Doin real Life related Stuff now. Ed while havin great fun using VLC 3.0
enjoy MartyMcFly and feel free to fork || clone. Further releases will appear : somwhen this .. or next Year.
see ya!
Hrmpf. Some Features have to be deferred because i have to respect the Fact that my Eyes just hate looking at (Computer) Screens currently...
but anyway - We have a RC which will evolve over the next Weeks. Maybe im able to add at least (edit)
- highlight.current.word.counter (displaying matches within the status bar.) (Done)
- and a very simple update checker. (...Deferred to 200)
2) Im following wines development since the begin of the century ;)) So when my eyes are better and "see" myscites upcoming release - i want to compare all functions of wines SDK with current MinGW.
(ouch.. fin for today...)
Tho
Edit: Somethings really bad here. Still cant watch screens for very long. And its about Full two weaks now.... Doctooooor ....:)(
(edit; Meanwhile nearly a Month)... so Released 190.. Binaries will follow that weekend.
Hey Folks. Everyone who knows me in personal, knows that . dont really like(tm) ..grammars, regular expressions, patterns and ..all their other names. They are sharp tools. But also very cryptic ones. Sometimes i need them, because of their incredible non matched otherwise- speed and accuracy.
That case happend to happen currently with myScites Autocompletition and Calltip feature. Once finally finished. I choosed to feed some useful CalltipData in: Namely all MinGW known Functions, Function Aliases and Macro declarations plus Header Information. As this might be useful for other Projects too - i uploaded them MinGW.SDK and Glib_Gtk.SDK. So feel free to use them too. (Add: HappyIncludes: All MinGW known COM Objects) -. yours Tho. Add: While working with above ones - i added a new option: max.style.size. for details, see the patch. ScreenShot:... read more
Done Enhanced Autocomplete.lua. Performs quite good with the updated theme.white: Screenshot2
- Supported cTags based Highlightening for Class / Function / Variable / Module / Enum & Struct.
- Code has been included within the current wSciTE.cookies Release.
For all the folks editing in Scintilla/SciTE Sources enjoy the Scintilla/SciTE API-File
- SciTE does now respect property changes made during OnOpen an OnSave Handlers, so cTag changes get applied when the current File has been saved.
- Seems like wikipedia has a quite recent c-api Documentation. Big Kudos - because thanks to them, we have refreshed stdC Api Docs. (c89-c14) in :)
- Here is a sample project file for ctags supported editing within Scintilla and SciTEs sources.
.....hmpf. my mate says i spend too much time online.so will get me some pause.....
....Note: mySciTE.190 will be dual (Lua5.1 / 5.3) released. Havin lua statically linked in will be depreceated.
Current Idea: Make Scintillas Userlists styleable and lineHeight==FontHeight. See the current development revision.
Ed: ...for those of you thinkin about applying patches with MSYS/Cygwin alike bashes on Windows, please read here...
Yo - we have a pretty, shiny new adult & stable arrived!
Hope you have as much using it as i had writing :=)
The Name refers to the fictional Character Artie Nielson from Warehouse13
btw: Did you know that SciTE supports project files ? see here
Plans:
- cTag files update really quickly. (~0.5s) in SciteDirectoryHome so lets parse those cTags within AutoComplete.lua and for Syntax Highlitening.
- Oh, finally made some decisions:
- change the Language menu : Beside listing all Languages, there also will be User configureable Favorites.
- compiler - myScite will stick to cpp11/14. Just had a quick look and i dont think its reasonable to require a cpp17 enabled compiler for the next near future.
- Update Checker
Feelin a bit unhealthy at the moment. German Winters coming and i really dream of a Vacation at the sea.
Done some changes to myScite to improve User Experience now included in the current DevTree.
- Any AutoCompletition of Identifiers (VariableNames) is enabled by default now and understands all included lexers.
- Hunspell has been moved to Users/macros, shows a better Dialog and suports single Clicking on Words.
bg: I was wondering why Scintilla does emit DoubleClick Events - but not for SingleClicks. During the WebSearch i found many scite and Scintilla related patches flying around. One of them (Scite.ru) was a working Implementation for SingleClick Events. Im planning to gather and modify those stuff in an open place, so it will apply against mainlines tree.
- Also changed ExtMan TicTacToe and the Calculator to support scite_OnClick. :)
- Links (with parameters), eMails and guids - will highlight by default now and with any lexer. (excluding Null)
- LexMake has been strongly simplified. Added Folding code from LexCMake.... read more
Black and Blue, round and round... :)) https://www.youtube.com/watch?v=g6qnMB7pOKA
Hey Folks :)
Been busy@reallife.. just released the the new stable yesterday.As always. wScite.160.cookies can be used for enhanced language and theme support with scintilla-scite mainline / fork users. Im reachble via e-mail@ marcedo@HabMalneFrage.de.
Dev: thinking about an addition to scites api files, so teaching them some inheritance basics to optionally use <meta id="xx" ref="aa"> ... tags written to group api file entries. I dont think we need a full featured newnew file format by now, so the solution might be a well weighted one. Maybe signalling an entries Type with \!tp=func|class|Meth|Prop.. would be an easy and elegant way too. ..hmm..- still theres much time to refine that idea..
But for Now and to sum it up - it was a very nice year with my very first bigger openSource project.
Im going to pause now. Feel free to fork... read more
..thought it might be a good idea to do "something completely different" for some Time. With Adobe Flash been abandoned somewhen in a few Years - I had some Fun decompiling and fixin up a popular Flash game.Hey Got it to work up to see the bitmap engine rendering game content. Wont publish much details or -of course the sources - but i can say it was a funny task to put some effort in.
Back to myScite now- The api support Layer recieved some Updates. In Detail a whole bunch of AdobeFlash Classes, Freebasic Keywords and ordered cpp Keywords by Header are in. As a nice gimmick we have some brandnew Ardu.ino Keywords handled by the c lexer. The new features in the makefile lexer are now considered stable. Using it for styling text content too, so i can test it with content it wasnt explicitly designed for. No Problems so far. Oh, just for Fun - a "laughing Lua" Script, utilizing windows speech engine - see here. lbnl - With the next release, we will see a new wScite Cookies Release too. (including aboves api changes and reworked theme.grey)
Have a nice Day - see you somwhen next!
Thorsten
Woh. myScite.June.stable is on GitHub by now and will appear here on Sf today too.
There were some hard nuts to bite meanwhile, but now im really pleased to say - all fine :)
... Topic Change....
20 Years ago -DosEmu was the (one?) pioneer to do Machine Virtualisation for complete Operating Systems.
so cool to remember - we played IPX based LanParties carrying our bigTowers and heavy 14' Display, configured Interrupts with Jumpers and used 7200U Scsi Hds then. DosEmu was (nearly) able to run Warcraft1 with IPX on ?Suse 5.0? and today its just another piece of Geeky Software to remember cool Times with.... read more
ShortNote: myScite.June.RC2 will reach the download area today. Had to fix some issues on w64 which lead to a new gui function called gui.dir. (takes path, returns fileAttrib,fileName) for those who need- gui.files will be still available. (Also fixed a handleLeak in there.) lbnl shell.inputbox was moved to gui.inputbox for consistency.
The makefile lexer recieved a nearly-rewrite. Code here Adds Styling for ( Gnu make Directives / user- and automatic Vars / '-' Flags) .
So -Because of that changes, i have to insert another testcycle. The final stable will be around the next days.
Add: Oh, did you already know this beautiful Lady ?:https://www.youtube.com/watch?v=Da4LJAgGJRk... read more
Its been a while now, since MS decided to add a (somwhat more) GnuLinux compatible Subsystem to Windows 10.
Found the following Videoseries to be quite informative when it comes to the above Topic. Didnt knew that one can just
-> a) apt install build-essential & libgtk...dev to setup a working build-environment for SciTE.
-> b) And from that Step on, simply bashout from a windows commandshell with eg bash -c (make)
to see SciTE compile within the linuxshell.
Of course, this only works (easyly) for compiling a 64bit linux built, but at least, its a nice to have.
Oh, the other way around, on linux, they're utilizing binutils to look at the magicNumber to call within the win subsystem. (try cmd.exe)... read more
Odd MSYS2-64 "feature" havin issues here using SetWindowLongx with index GWLP_WNDPROC on 64bit ...
(other indices do fine. GWLP_WNDPROC even with 32bit).-> reinstalled MSYS2 from scratch didnt do it, so
decided to try VS15. -> Result: everything does fine now even on 64Bit.
->...but now : i need a vacation.
PS; MSYS2 isnt normally that bad.. i will continue to use it. but that bug is really nasty.
To reproduce: Install MSYS2 /do: pacman Syu /do: pacman -S mingw-w64-x86_64-toolchain.
Hi everyone, with the good set of language specific enhancements been ready, id like to invite everyone who likes to include them within their projects. The simplest way to get them would be to download wScite cookies and copy the desired content. Credits welcome :) regards,
Heyo. With the major refactorisations to scites configs been done, working with it isnt that time consuming as it was in the last month. So i started some smaller fun topics. The first one was the installer. I wanted something simple that scales to myscites portability. now we have results. just copy scite wherever you want. Then simply run the batch and it will get you working context menu additions (open with / open Scite here) as well as App registration and simple enough to be adapted for any other binary, feel free to use it if you want.
Other areas touched were
-> the lua repo (unified mingw make either against scite or luaxx.dll)
also shrinked down the size of most libs, with -Os and finally not every guy in there had to compiled -static.
-> added luasocket (ip socket support)
-> antialiased fonts. (current git and >=scitecookies.150c)
Next release will be in a few weeks, finally with linux32/64 binaries.
-> Also reworked the env.userhome patch to completely focus on sciteUserHome for implementing its goals.
(use scite from readonly places / use profiles (like win32/64 etc)
->enhanced scintillas makefile lexer because i liked the idea to edit nicely colored makefiles.
now does gnu make functions / internal variables, directives, as well as internal variables and - flags (Updated)
I do think its ok, but what surely dont believe is that its worth any worldchanging article in a wellknown Scientific Magazine :) ok. anyway. now to something completely different:
-> reworked c/cpp syntax colouring for isoc99 / isocpp98 / isocpp11 + apiFiles. For isocpp14, make_unique was added and our limits.h friends found their way in.
-> finally understood GUI::gui_string. and that i desperately needed a vacation.... read more
With temperatures rising to "bike-levels" in Germany, im planning a fun nonComputer Project:
Years ago, i bought an "ebike upgrade" set for a few bucks. Since then, it sits on my bike. so far, so good.
But,till now, i dont have any 36V Accumulators for it. Today, a colleague showed me his good-old impact-wrench.
(which in turn, with another Accu-pack, continues to do its job fine.:) Most of them have 18V Accupacks- obviously including charging stations. So i plan to get me two (or more) of them and try to power my e-bike, :)
enjoy Summer - Tho
Add: For those of you who wish to sneak preview a Scite development version, compiled with lua 5.3.4, have a look here
Add2: https://msdn.microsoft.com/en-us/library/aa767865(v=vs.85).aspx
olla everyone :-> Dedicated another weekend to myScite. Yeah - we have a releaseCandidate available!
(see the Changelog within the Files Section). Removed runtime-Compression to make Sourceforge happy again.
So if you plan to release on SF, dont use binary packers (tried UPX and Petite).
That been said, im quite pleased with the 150 release. Also released wScite.cookies, which fits on Scite Mainline.
(adds improved Themeing and Language support). So enjoy ! Tho
Add: recompiled lua5.1.chm for compatibility with current windows help parsers.(1.1) see here
Neal reported one glitch,because i misunderstood the use of lua_metatable (oops) which lead to Constants been NIL in lua. This issue has been fixed. besides that - I tested all sorts of (rather stoneage old) lua scripts and they still execute fine. Update: Seems like the patch will be on scite mainlines next release, which will be 3.75 Current is 3.74. Ok. gone stable now. compiled with lua5.1 but with the new 5.3 compatible code.
... read more
Sometimes, when i get stuck for too long on a specific Problem, i tend to follow a thought and search another one to solve meanwhile :) This Time, i thought about: A-> creating a script which lists myScites currently supported filetypes. Result here This will find its use within the Installer.
B-> playing around with Scites Lua Extension. I wanted to know, how much effort it might cost to update SciteLua from 5.1 to 5.3 for the 64bit version. LuaC is completely new for me but the destiny looked worthwhile. So i did a quick edit within the makefile, and replaced the sources in the lua Directory with Lua 5.3 ones.
Surprisingly, the only (few) compiletime errors which popped up where related to LUA_GLOBALSINDEX and lua_open -(which i replaced with luaL_newstate) in LuaExtension.cxx.
Some investigation showed, that Scite does initialize Luas only once and just change/restores/resets (ext.lua.reset) its global environment for each of Scites Buffers and Lua>=5.2 does not support that anymore. (directly).ADD: Pewh digged my way through the lua docs. Placing them here fore reference: lua5.2Docs
and some more informative overviews on lua5.2 changes: here and here
CurrentState.. finally runs extman, ticTacToe and hexedit Macros fine :)
anyone curious may have a look at the current source. Add:Currently, thers no testsuit for scites lua Interface. Which is bad. So, to ensure everythings doin as planned, i will grep the net for scitelua samples to test with.
Have a nice Day!
Thorsten
Since im working fulltime now, my Life was mostly Job-centered. Its so "completely different" from my last occupation but really a Fun one - We are reparing cloth and dish washers :)))
Last week i had my private stuff ordered again and some free time- so i decided to try some of the latest Ubuntu Distributions. Who the Heck decided to bloat up KDE so even more then ever ? in Short - im using Xubuntu right now and im really pleased. Somwhen next Year it will support Wayland and stays to be my Favorite Dist. Okay There still is Fedora but for the time beeing im happy with status quo.
x Fixed GTK Built and implemented some enhancements within the scite-profiles patch Neal suggested meanwhile. I think i do have a better understanding of his plans now, but for now, the change does what it was written for -> allowing to run Scite from a readOnly Place with userData placed on a writeEnabled Folder.
u Using Scite 3.7.0 as Base now. / updated Patchset.
i The full list of changes is available here.
n We now have a Linux32-gtk2.0 Build too.
n Created a scite-lua-lib Repository, which holds lua libs with scite dependencies.
u Added Powershell, Matlab, VHDL and Markdown props.
i I often find myself using plain-text files to note down Information snippets for later use and would like to see scite supporting simple (just colorized) text markup. So im thinking about some little enhancements to scintillas text lexer. "eg support for highlighting Numbers, Brackets,and strings), Till then, im using the matlab lexer for that job too, which seems to fill the gap really good for now.
Have a nice Time - Thorsten
Seems exactly what im searching for. https://www.typescriptlang.org/ (strong typing for es)
or even https://kotlinlang.org/ (link easy to java and javascript)
Add: Electron -> https://www.youtube.com/watch?v=8YP_nOCO-4Q&feature=youtu.be
Add:RedMonk gitHub Language Rating
Add: Github 2017 Language Rating