An OpenGL 4.4+ text editor.

izzy da17c22831 scrolling in filebrowser fixed hai 3 días
config 8fc15c7d80 make window transparency optional due to visual glitches on startup hai 3 días
images cf33287f08 file browser icons and sorting %!s(int64=4) %!d(string=hai) anos
src da17c22831 scrolling in filebrowser fixed hai 3 días
tools 80e3a326f4 major update of gui system: hai 3 días
.gitignore 80e3a326f4 major update of gui system: hai 3 días
DEVELOPMENT.md 11dfc0bdaa window transparency in X hai 1 mes
LICENSE fe75e9b2b0 Initial commit %!s(int64=6) %!d(string=hai) anos
README.md c9493541d7 it's clever, but not clever enough %!s(int64=2) %!d(string=hai) anos
_build.c da17c22831 scrolling in filebrowser fixed hai 3 días
_build.inc.c cf04d0e0db build modes and new convenience scripts %!s(int64=2) %!d(string=hai) anos
build.sh cf04d0e0db build modes and new convenience scripts %!s(int64=2) %!d(string=hai) anos
debug.sh 4ec7e852f7 properly usable autocomplete, with commands and config tuning hai 1 ano
mkhighlight.sh 9b1e7d88ae mkrelease does an install to minimize required user steps hai 1 ano
mkrelease.sh d95f4f8174 be more cautious hai 1 ano
profiling.sh cf04d0e0db build modes and new convenience scripts %!s(int64=2) %!d(string=hai) anos
setup.sh 1b5485a7d0 long overdue but still insufficient readme update %!s(int64=2) %!d(string=hai) anos
valgrind 6d424ca707 valgrind options change %!s(int64=3) %!d(string=hai) anos
valgrind-gl-suppress.supp f9dd157bf5 wildcard valgrind suppression %!s(int64=4) %!d(string=hai) anos
valgrind.sh cf04d0e0db build modes and new convenience scripts %!s(int64=2) %!d(string=hai) anos

README.md

gpuedit

An OpenGL 4.4+ text editor. Not done yet.

Requirements

  • Linux 2.6+
  • A reasonably modern CPU.
  • OpenGL 4.4+ capable hardware and drivers.
    • Note that some integrated Intel devices are capable of running gpuedit despite claiming to only support OpenGL 3.0, but with sub-optimal performance.

Installing

Automatically

The automatic setup script is out of date and should not be used.

Manually

  1. https://github.com/yzziizzy/c3dlas symlinked as src/c3dlas
  2. https://github.com/yzziizzy/c_json symlinked as src/c_json
  3. https://github.com/yzziizzy/sti symlinked as src/sti

  4. sudo apt-get install libx11-dev libglew-dev libfreetype6-dev libfontconfig1-dev libpng-dev libpcre3-dev

    1. Optional Dependencies: sudo apt-get install libjpeg-turbo8-dev alsa-source
  5. Compile the parser generator:

    1. cd src/sti/parser/ && ./build.sh
  6. For each highlighter in src/highlighters/:

    1. ./build.sh
    2. Copy or symlink the .so to /usr/local/lib/gpuedit/highlighters/
  7. Build gpuedit

    1. ./debug.sh

If you get build errors related to AVX or SSE4.1, try removing the appropriate compile flags in _build.c and commenting out C3DLAS_USE_SIMD in src/c3dlas/c3dlas.h. I'll remove all that old garbage eventually.