Browsing projects by Tag(s)

Select a tag to browse associated projects and drill deeper into the tag cloud.

Showing page 1 of 1

LibCSS is a CSS parser and selection engine, written in C. It aims to parse the forward compatible CSS grammar. It is currently in development for use with NetSurf and is intended to be suitable for use in other projects too.

5.0
 
  0 reviews  |  1 user  |  38,392 lines of code  |  5 current contributors  |  Analyzed about 17 hours ago
 
 

jStyleParser is a CSS parser written in Java. It has its own application interface that is designed to allow an efficient CSS processing in Java and mapping the values to the Java data types. It parses CSS 2.1 style sheets into structures that can be efficiently assigned to DOM elements. It is ... [More] intended be the primary CSS parser for the CSSBox library. While handling errors, it is user agent conforming according to the CSS specification. [Less]

5.0
 
  0 reviews  |  1 user  |  31,253 lines of code  |  1 current contributor  |  Analyzed 7 days ago
 
 

CSS Redundancy CheckerA simple script that, given a CSS stylesheet and either a .txt file listing URLs of HTML files, or a directory of HTML files, will iterate over them all and list the CSS statements in the stylesheet which are never called in the HTML. Basically, it helps you keep your CSS ... [More] files relevant and compact. And it's reasonably accurate. Usagecss-redundancy-checker.rb [cssfile] [directory of html files OR .txt file listing urls to use]Requirementsyou'll need Rubygems and Hpricot, plus a reasonably up-to-date version of Ruby (built on 1.8.5; should be fine on at least 1.8.4). More detailed instructions (if the above wasn't clear enough)First, you'll need Ruby and Rubygems installed. That's left as an exercise for the reader. Next, you'll need the Hpricot gem: sudo gem install hpricot Pick the most recent version for your OS (mswin32 for Windows, ruby for anything else) Once you've got all that, you should be set. Now, get the redundancy checker script (or update it to the latest version): svn checkout http://css-redundancy-checker.googlecode.com/svn/trunk/ css-redundancy-checker Navigate to the directory you've checked the code out to. Then, it's just a case of doing this: ruby css-redundancy-checker.rb [cssfile] [directory of html files OR .txt file listing urls to use] The first argument should be a CSS file. The second argument should EITHER be a directory, containing HTML files, or a .txt file with one URL per line for an HTML file. The script will process all the relevant files, and at the end, list any CSS statements which are not relevant to ANY of the HTML files. NotesThe script will NOT work with incomplete HTML files (eg: template components, partial fragments, etc). You should only use it on complete HTML, either in the form of flat files, or rendered output from your web application. Bugs and correspondance...should be addressed to tom@infovore.org --- Released under the MIT License. [Less]

0
 
  0 reviews  |  0 users  |  47 lines of code  |  0 current contributors  |  Analyzed 7 days ago
 
 

css.py - CSS parsing for Python

0
 
  0 reviews  |  0 users  |  1,092 lines of code  |  0 current contributors  |  Analyzed 4 days ago
 
 

NOTE: Flyparse-mode is now hosted at github: flyparse-mode Flyparse-mode is an emacs minor-mode designed to support the creation of programming-language major-modes. Flyparse uses external parsers to generate s-expression ASTs for language files, as they are being edited. Language modes are then ... [More] able to query these ASTs using a declarative search syntax. Features: Pluggable architecture. It doesn't matter how you implement the parser, as long as it supports the flyparse protocol. Simple and unobtrusive. Can be used to compliment an existing language mode. Provides an intuitive query language for accessing the parse-trees. For example, to get a list of all javascript function names in a file, you might say: (flyparse-query-all '("PROGRAM" "FUNCTION_DECLARATION" "FUNCTION_NAME" "IDENT")). Supports cross-file queries; it's very simple to implement a 'jump to definition' helper (see the included AS3 helpers). Provides helper functions to pretty-print a buffer's syntax tree or to overlay a shaded depth representation over the buffer (see images below). Includes parsers for javascript, css and actionscript 3. Allows for the creation of robust, readable language helpers. Here's an example of a non-trivial css helper helper. Pictures are a lot more fun, so here's some eye-candy. First off, prototype.js (that's 3000+ lines of hairy javascript) - flyparse is currently able to parse and load this AST in about 2 seconds (remember, emacs is not blocked): Here's the parse tree - pretty printed: And here's a colorized visualization of the code structure: [Less]

0
 
  0 reviews  |  0 users  |  21,301 lines of code  |  0 current contributors  |  Analyzed 5 days ago
 
 

IronCss aims at enabling CSS styling mechanism for .NET desktop and Silverlight applications. Also this toolkit can be adapted for using in Business Reporting tools for styling report components. This is a very early alpha version not intented to be used in production environments. GoalsBe ... [More] suitable and easy adaptable for various GUI toolkits available in .NET/Mono worlds. These primarily include WinForms and WPF. Be suitable for managed web content rendering engines. For example, for SVG and HTML rendering engines. FeaturesCompilable with Silverlight 3 Framework. Other Silverlight versions just have not been checked. Supports CSS3 Selectors. BTW: Selector Engine can be used as independent component to query objects in hierachical data structures. Implements CSS3 Namespaces Module Implements CSS Variables proposal Implements CSS Gradients proposal Supports @import, @media at rules Supports @page at rule and implements cascading in the page context Provides two demo applications for WPF and WinForms UI toolkits which show how to use IronCss to enable CSS styling of UI elements StatusThe project is currently in alpha development. Please feel free to take a look, try it out, and contact me if you have any questions/suggestions or if you'd like to improve the code - just write me to stodyshev@gmail.com ResourcesDiscussion Group Continuous Integration CodePlex Mirror To-DosWrite more unit tests to make the library more reliable. For example, tests for CSS parser. Documentation Extend and simplify CSS styling of WPF controls Build and test IronCss on Mono platform Implement backend for Gtk# GUI Toolkit Second HomeI've registered IronCSS project at codeplex also. Go to http://ironcss.codeplex.com. I will try to sync periodically codeplex repository with main svn. [Less]

0
 
  0 reviews  |  0 users  |  48,096 lines of code  |  1 current contributor  |  Analyzed about 2 years ago
 
 
 
 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.