Robert L. Carpenter
f6013434c4
WIP: Crack wrapper around simplexml
11 years ago
Robert L. Carpenter
d1e27a670a
Set xml version number.
11 years ago
Robert L. Carpenter
f4b71b4cbb
so it turns out that underscores aren't as intuitive as I thought.
11 years ago
Robert L. Carpenter
d5eb7ad6e9
Port \Spark\XmlBuilder to \SparkLib\Xml\Builder
11 years ago
Robert L. Carpenter
7062e9b4ff
Add usage doc.
Signed-off-by: Robert L. Carpenter <robacarp@gmail.com>
11 years ago
Robert L. Carpenter
5ee065af34
"Upgrade" to DOMDocument.
Signed-off-by: Robert L. Carpenter <robacarp@gmail.com>
11 years ago
Robert L. Carpenter
e9004e2086
Allow for namespacing, adding children after definition
Signed-off-by: Robert L. Carpenter <robacarp@gmail.com>
11 years ago
Robert L. Carpenter
4cc4d6f442
basic working stub for an xml builder.
Signed-off-by: Robert L. Carpenter <robacarp@gmail.com>
11 years ago
Brennen Bearnes
3045550f54
Fail::$grep - filters errors when set to a PCRE string
I'm dumping a bunch of queries and such through this logging mechanism -
it's useful to be able to filter those back down.
12 years ago
Brennen Bearnes
4098b52db4
let Fail promote chosen errors to ErrorExceptions
12 years ago
Brennen Bearnes
1f604fbcd0
https sparkfail.png
12 years ago
Brennen Bearnes
ed039cb892
Merge branch 'master' of github.com:sparkfun/SparkLib
12 years ago
Brennen Bearnes
c41ce640a7
CSV - a dirt-simple class for spitting out CSV documents
12 years ago
Casey Dentinger
e769550137
don't round timer results, rounds to zero too much
12 years ago
Brennen Bearnes
b36ec24741
skip namespaced classes for special cases
12 years ago
Brennen Bearnes
deb671d3e7
Util/Mime accounts for GIF
12 years ago
Brennen Bearnes
ac902227a4
Template extends HTML
12 years ago
Brennen Bearnes
220a2b6eae
let Template&addContext() take another template instance
12 years ago
Brennen Bearnes
f7a2d4b02d
HTML - a stupidly simple class for spitting out tags
12 years ago
Brennen Bearnes
c4ca8c291b
basic SocialNoise\Facebook
Trust me, this hurts me more than it does you.
12 years ago
Brennen Bearnes
a53b1f79d7
Template&addContext()
12 years ago
Casey Dentinger
4dc2f02fa3
Merge branch 'master' of github.com:sparkfun/SparkLib
12 years ago
Casey Dentinger
198e5d75bd
adding exec timer utility
12 years ago
Brennen Bearnes
04683ec691
let Template take another Template for context
12 years ago
Brennen Bearnes
acf54e3205
URLParser&isSearchEngine()
12 years ago
Brennen Bearnes
db6b41e29e
URLParser - a little wrapper class for PHP URL parsing builtins
12 years ago
Brennen Bearnes
a00a465896
add toggle for logging user agent from Fail
12 years ago
Brennen Bearnes
caaaef9412
error for a non-responsive Twitter
12 years ago
Brennen Bearnes
673132b9e3
social noise classes: tables for layout
12 years ago
Brennen Bearnes
1d25123cac
record user agent, if set, from Fail messages
This is kind of un-pretty, but functional.
12 years ago
Brennen Bearnes
387b87d43f
add a useCache() accessor to Iterator
Just a bit of interface definition. No real mechanics live here, nor
should they, in all likelihood.
Internally, we're using this for some ORM-y stuff.
12 years ago
Brennen Bearnes
4a32fab394
Merge branch 'master' of github.com:sparkfun/SparkLib
12 years ago
Brennen Bearnes
f1e7ccb5d2
make Util\Text::asciify() default to UTF-8 as source charset
12 years ago
Brennen Bearnes
43e720be0a
remove a SparkFun-specific exception case from SparkFail
12 years ago
Casey Dentinger
f8b8f46e60
Merge branch 'master' of github.com:sparkfun/SparkLib
12 years ago
Casey Dentinger
a26d8ddc47
exit cleanly on __destruct if i haven't already
12 years ago
Brennen Bearnes
89f7f3d5d0
allow Template&tableRow() to take an array arg
12 years ago
Brennen Bearnes
5cc67f4641
Fail: suppress file_put_contents() errors, wordwrap error text
12 years ago
Brennen Bearnes
543e043f99
'nother subtle map() bug
Have I mentioned this isn't exactly stable yet?
12 years ago
Brennen Bearnes
74a3072527
subtle getNext() bug in SL\I\Wrapper
I still don't really like this - what about the case where an Iterator
yields some falsy value? Might mandate hasNext() on \SparkLib\Iterator
descendants. It's already provided by MongoCursor and some others.
12 years ago
Brennen Bearnes
1b3589ce7f
call_user_func() -> call_user_func_array() in \S\I\Wrapper
12 years ago
Brennen Bearnes
f288171aac
Iterator and Iterator\Wrapper
A base class for SPL Iterators. Adds an each(), a weak sort of map(), and
the expectation of a getNext().
\SparkLib\Iterator\Wrapper is a child class that takes another iterator
and wraps its result by instantiating a given class. At the moment, we're
using it to turn arrays from Mongo into instances of a model class.
12 years ago
Brennen Bearnes
69b50099b7
allow optional specification of a file to append to directly
12 years ago
Brennen Bearnes
bec3e145b8
Bugzilla&searchCC() now returns only open bugs
12 years ago
Brennen Bearnes
2f571ce2c6
use $img_url in fail dev display
12 years ago
Brennen Bearnes
2f63f2e8d0
fork http://jsonrpcphp.org/
12 years ago
Brennen Bearnes
d3ce238ad2
Bugzilla&searchCC()
12 years ago
Brennen Bearnes
96b0d59ea3
switch from atom to csv for custom field search
More useful info _and_ easier to parse. What's not to like? (Apart from
the fact that the webservices stuff doesn't just expose this feature...)
12 years ago
Brennen Bearnes
4fa3b21341
search bugs on substrings of custom fields
12 years ago
Brennen Bearnes
0a8b082536
Switch to jsonRPCClient from http://jsonrpcphp.org
12 years ago