Ecode – lightweight multi-platform code editor

A script that is pointing to a beta4 repo perhaps?

A new release of ecode is available: 0.6.2, this release is really important for Haiku since it fixes all performance issues I could find. @Begasus if you could help me updating the recipe it would be great (I tried but I’m not familiar with haikuporter and didn’t work locally). Also I wanted to clarify something about the recipe, the application name is all lowercase ecode (not Ecode).

Just FYI: std::istringstream seems to have big performance problems due to how Haiku manages locales (it seems to be using libICU behind the scenes as far I could check). The fix was to migrate to functions that are not dependant on locale, most important change was here but I did several more later.

Now startup times should be “normal”.

2 Likes

Need to finetune my todo list, atm 2 or 3 projects that are already in the list, can check if I could squize this into it (or someone from the haikuports team), if build-wise there are no big changes updating the recipe shouldn’t be too hard. Thanks for the notice (and keeping Haiku in the picture)! :slight_smile:

Great thanks, there’s no hurry, I just wanted to let you know since this release is relevant for Haiku.
I just realised that my new recipe fails because I added two new git submodules but they are not required for the Haiku build, we will have to add an small patch to comment line 2 and 3 in premake5.lua or add these new 2 submodules. I’ll try to do it myself if I get some time.

Thanks for the notice (and keeping Haiku in the picture)! :slight_smile:

It’s always a pleasure, I love Haiku.

1 Like

Quick check errors out, trying to package or even trying the script in Terminal?

waiting for build package ecode-0.6.2-1 to be activated
Building ...
Error: module 'premake.premake-cmake.cmake' not found:
        no field package.preload['premake.premake-cmake.cmake']
        no file '/usr/local/share/lua/5.3/premake/premake-cmake/cmake.lua'
        no file '/usr/local/share/lua/5.3/premake/premake-cmake/cmake/init.lua'
        no file '/usr/local/lib/lua/5.3/premake/premake-cmake/cmake.lua'
        no file '/usr/local/lib/lua/5.3/premake/premake-cmake/cmake/init.lua'
        no file './premake/premake-cmake/cmake.lua'
        no file './premake/premake-cmake/cmake/init.lua'
        no file '/usr/local/lib/lua/5.3/premake/premake-cmake/cmake.so'
        no file '/usr/local/lib/lua/5.3/loadall.so'
        no file './premake/premake-cmake/cmake.so'
        no file '/bin/premake/premake-cmake/cmake.so'
        no file '/usr/local/lib/lua/5.3/premake.so'
        no file '/usr/local/lib/lua/5.3/loadall.so'
        no file './premake.so'
        no file '/bin/premake.so'
./build.app.sh: line 7: cd: make/haiku: No such file or directory

Don’t worry, I just sent the new recipe PR here. I tested it and it’s working.

1 Like

Just closed down the VM here, thanks so far! :slight_smile:

Thanks for the PR, merged and build for both arch’s 64bit, can be installed from the depot now. :+1: