Giter Site home page Giter Site logo

state of the project? about geshi-1.0 HOT 6 CLOSED

geshi avatar geshi commented on August 18, 2024
state of the project?

from geshi-1.0.

Comments (6)

cweiske avatar cweiske commented on August 18, 2024

A namespace will no be introduced since it will break backwards compatibility. Use geshi-1.1 for that.

What I would really miss is unit tests that tell me if a patch breaks things :/

from geshi-1.0.

splitbrain avatar splitbrain commented on August 18, 2024

Yeah. Unit tests would be awesome, but I don't know enough about the GeSHi internals to do that. However I thought about two things that would be relatively easy:

  1. dogfood the geshi source through geshi and simply check that a few keywords are in the resulting output -- this would ensure at least the PHP compatibility and catch possible syntax errors.
  2. use the checklang.php mechanism in a unit test

When both are in place it could be set up at travis and you could at least see if new PRs violate those basic things already. Eg. I had to fix most of the language additions becasue checklang found some issues

from geshi-1.0.

cweiske avatar cweiske commented on August 18, 2024

unit tests would be too much,yes. I thought about having a set of source test files and their expected output, which gets compared by phpunit.

But having checklang in travis would also help, yes.

from geshi-1.0.

splitbrain avatar splitbrain commented on August 18, 2024

@cweiske I started working on unit testing as outlined above. Can you have a look at my questions here: splitbrain-forks#1

from geshi-1.0.

splitbrain avatar splitbrain commented on August 18, 2024

I converted the geshi-doc.html document to markdown, manually fixed stuff and added the contents (mostly) to the wiki. I left out stuff that very obviously needs rewriting. A new table of contents linking to the various documents should be created on the Home page. And of course all the pages need some work, but now the community could step in.

from geshi-1.0.

splitbrain avatar splitbrain commented on August 18, 2024

I'm closing this in favor of #79 #81 and #82

from geshi-1.0.

Related Issues (20)

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.