Giter VIP home page Giter VIP logo

tide's Introduction

Tide : Cleaner than Vim :P

I have implemented a text editor in Go..... But apparently Gtk+ hates the Go GC. So decided to re write the whole project in C++ but using FLTK (Cross platform). I think I have documented the code to some extent. Currently makefile is written for Linux. Should work in unix like platforms using X11.

Requirements

Following libraries and tools are required for building tide and it's dependancies.

Tools

  • cmake
  • GNUmake
  • Any working compiler toolchain supporting C++ 14 standard
    • GNU Compiler Collection (gcc) > 4.9
    • Clang Compiler (clang) > 3.4

Libraries

  • autotools
  • autotools additional macros for X11 and others.
  • Xlib, Xcb, Xft, Xcursor, Xinerama, Xext, Xau, Xdmcp, libgraphite libs and headers
  • FreeType, Harfbuzz.
  • libstdc++
  • Cairo

If you are using any kind of GUI in X11 most of these libraries must be installed already in your system. Just install the devel packages of those packages from your distro.

Building

Clone the source, update submodules and build the source as following.

git clone https://github.com/aki237/tide.git
cd tide
git submodule init
git submodule update
make

This will pull all the dependancies from the git repo sources and build them. Following are built during the process:

  • libclipboard - For Cross platform Clipboard purposes
  • lua - Lua Embeddable Scripting library
  • sol2 - The Direct C++ to Lua binding.
  • fltk - Cross Platform Fast and Light Tool Kit

and the needed static libraries will be installed install directory in the root.

For documentation run this

make doc

For cleaning the source directory. Note : This also cleans the doc directory.

make clean

All the docs will be stored in the docs directory. Every class (.cpp,.hpp) have been mentioned in the docs. Currently the editor doesn't do much than moving around, typing, selection, line number, line highlight. etc., (only keyboard sorry because the text editing component is wholly written from scratch in Cairo Vector Drawing.) Soon this will evolve into a normal notepad with all necessary utils (Save, Copy, Paste, Find&Replace). I have already tested a lua embeding (Why Lua ? : lightweight) for this with which plugins can be written. Any thoughts and help is welcome. Currently It only consumes only a little under 2 Megs of RAM.

Lua plugin system is not yet ready. It is added for just demo purposes. The function calls may change in the future.

tide's People

Contributors

aki237 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.