repo string | commit string | message string | diff string |
|---|---|---|---|
yui/builder | 057e455b1030e842143acc853ef1181a0ff1aba2 | Added sub dir walking to assets/skins dir to support more than one skin | diff --git a/componentbuild/3.x/module.xml b/componentbuild/3.x/module.xml
index 79551a6..73e2f75 100644
--- a/componentbuild/3.x/module.xml
+++ b/componentbuild/3.x/module.xml
@@ -1,132 +1,170 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiModuleTargets">
<dirname property="module.basedir" file... |
yui/builder | 3c2a7bb00f1f5402ad90f254446a73230a9bd700 | Adding 'tests' target for modules and rollups. | diff --git a/componentbuild/3.x/module.xml b/componentbuild/3.x/module.xml
index e0ba31b..79551a6 100644
--- a/componentbuild/3.x/module.xml
+++ b/componentbuild/3.x/module.xml
@@ -1,108 +1,132 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiModuleTargets">
<dirname property="module.basedir" file... |
yui/builder | 5046355733a36d384236859a934153adb7bbf3e9 | Don't fail the build for JSLint errors. | diff --git a/componentbuild/shared/properties.xml b/componentbuild/shared/properties.xml
index 5597633..cb40391 100644
--- a/componentbuild/shared/properties.xml
+++ b/componentbuild/shared/properties.xml
@@ -1,167 +1,165 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiSharedProperties">
<!-- ANT... |
yui/builder | d1d67b67c919eb82add198dc6bf05dbbbc1f5ab0 | Only define Compressor tasks if yuicompressor.jar is set. | diff --git a/componentbuild/shared/macrolib.xml b/componentbuild/shared/macrolib.xml
index 46d821c..b7f6721 100644
--- a/componentbuild/shared/macrolib.xml
+++ b/componentbuild/shared/macrolib.xml
@@ -1,376 +1,384 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiMacroLib">
<macrodef name="arraylit... |
yui/builder | 3cef0e692223beb44370caf1b074950f3aaa53c6 | 'self' predef | diff --git a/componentbuild/lib/jslint/jslint-console.js b/componentbuild/lib/jslint/jslint-console.js
index 7081817..ff1700a 100644
--- a/componentbuild/lib/jslint/jslint-console.js
+++ b/componentbuild/lib/jslint/jslint-console.js
@@ -1,71 +1,72 @@
/**
* Javascript Shell Script to Load and JSLint js files through ... |
yui/builder | 7b04dffaa5ccc9c9e4486d9c2be81480bc462e2c | Require Java 1.5 in YUI Compressor JAR for real. | diff --git a/componentbuild/lib/yuicompressor/ant-yuicompressor-2.4.5pre2.jar b/componentbuild/lib/yuicompressor/ant-yuicompressor-2.4.5pre2.jar
index bfc2a06..38c211a 100644
Binary files a/componentbuild/lib/yuicompressor/ant-yuicompressor-2.4.5pre2.jar and b/componentbuild/lib/yuicompressor/ant-yuicompressor-2.4.5pre... |
yui/builder | 8723763f2be24498bca967f9783466a9ed2537e8 | Require Java 1.5 or later in YUI Compressor JAR. | diff --git a/componentbuild/lib/yuicompressor/ant-yuicompressor-2.4.5pre2.jar b/componentbuild/lib/yuicompressor/ant-yuicompressor-2.4.5pre2.jar
index db0114d..bfc2a06 100644
Binary files a/componentbuild/lib/yuicompressor/ant-yuicompressor-2.4.5pre2.jar and b/componentbuild/lib/yuicompressor/ant-yuicompressor-2.4.5pre... |
yui/builder | d6b3363f311ff3d26649c4f39d23f25874247186 | Upgrade YUI Compressor. Use native Ant task. Fix #28. | diff --git a/componentbuild/lib/yuicompressor/ant-yuicompressor-2.4.5pre2.jar b/componentbuild/lib/yuicompressor/ant-yuicompressor-2.4.5pre2.jar
new file mode 100644
index 0000000..db0114d
Binary files /dev/null and b/componentbuild/lib/yuicompressor/ant-yuicompressor-2.4.5pre2.jar differ
diff --git a/componentbuild/li... |
yui/builder | d37a167deb4f9933f4119f33d58ca7e444bda8e0 | Add FIXME comment with encoding information. | diff --git a/componentbuild/shared/macrolib.xml b/componentbuild/shared/macrolib.xml
index 2e638fe..a6c08ba 100644
--- a/componentbuild/shared/macrolib.xml
+++ b/componentbuild/shared/macrolib.xml
@@ -1,431 +1,461 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiMacroLib">
<macrodef name="arraylit... |
yui/builder | e12de9094b83feaa707c81b7f60b78b2f5f13a0a | Upgrade YUI Compressor. Fix #28, encoding issues. | diff --git a/componentbuild/lib/yuicompressor/yuicompressor-2.4.5pre.jar b/componentbuild/lib/yuicompressor/yuicompressor-2.4.5pre.jar
deleted file mode 100644
index 0317776..0000000
Binary files a/componentbuild/lib/yuicompressor/yuicompressor-2.4.5pre.jar and /dev/null differ
diff --git a/componentbuild/lib/yuicompre... |
yui/builder | 07b12500c35e07117d7ffa82c74213820cd25022 | more predefs | diff --git a/componentbuild/lib/jslint/jslint-console.js b/componentbuild/lib/jslint/jslint-console.js
index cf999f8..7081817 100644
--- a/componentbuild/lib/jslint/jslint-console.js
+++ b/componentbuild/lib/jslint/jslint-console.js
@@ -1,71 +1,71 @@
/**
* Javascript Shell Script to Load and JSLint js files through ... |
yui/builder | 4a8c68b7447647a73d75173d156caad503deeb0e | Added 'after' support | diff --git a/componentbuild/shared/macrolib.xml b/componentbuild/shared/macrolib.xml
index 9c56b36..2e638fe 100644
--- a/componentbuild/shared/macrolib.xml
+++ b/componentbuild/shared/macrolib.xml
@@ -1,430 +1,431 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiMacroLib">
<macrodef name="arraylit... |
yui/builder | e990b90899dcdb3d2d2ada7331f065a7b4ca686c | Added YUI to predefs, added condition around use of exports | diff --git a/componentbuild/lib/jslint/fulljslint.js b/componentbuild/lib/jslint/fulljslint.js
index 7c7bd57..5b3222c 100644
--- a/componentbuild/lib/jslint/fulljslint.js
+++ b/componentbuild/lib/jslint/fulljslint.js
@@ -5107,513 +5107,515 @@ loop: for (;;) {
return this;
}).exps = true;
stmt('... |
yui/builder | df4af4ab795d38e9368e3cfc3df3af98e40aa4dc | Upload file to YUI Compressor instead. | diff --git a/componentbuild/lib/yuicompressor/yuicompressor-2.4.5pre.jar b/componentbuild/lib/yuicompressor/yuicompressor-2.4.5pre.jar
index 522809f..0317776 100644
Binary files a/componentbuild/lib/yuicompressor/yuicompressor-2.4.5pre.jar and b/componentbuild/lib/yuicompressor/yuicompressor-2.4.5pre.jar differ
diff --... |
yui/builder | 76ffa2e6f128c89782982819e9ba96c6335fd9c2 | Check if Node.js is installed before spawning. | diff --git a/componentbuild/shared/targets.xml b/componentbuild/shared/targets.xml
index a77c0b8..cd9b509 100644
--- a/componentbuild/shared/targets.xml
+++ b/componentbuild/shared/targets.xml
@@ -1,201 +1,214 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiSharedTargets">
<echo level="info">Star... |
yui/builder | 988d49d48a87ba35c98086b85bc84773fd380e4c | Don't fail on optional server targets. | diff --git a/componentbuild/shared/targets.xml b/componentbuild/shared/targets.xml
index 8e4c9df..a77c0b8 100644
--- a/componentbuild/shared/targets.xml
+++ b/componentbuild/shared/targets.xml
@@ -1,201 +1,201 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiSharedTargets">
<echo level="info">Star... |
yui/builder | 3581ab5151db0f9b14a94300825474e6afcaaef5 | Use Java 1.5 compatable fallback YUI Compressor. | diff --git a/componentbuild/shared/macrolib.xml b/componentbuild/shared/macrolib.xml
index 366e5bc..0febb26 100644
--- a/componentbuild/shared/macrolib.xml
+++ b/componentbuild/shared/macrolib.xml
@@ -1,430 +1,430 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiMacroLib">
<macrodef name="arraylit... |
yui/builder | de05a4b5c0eecb8aaed8eac6cb9221fed59f873d | Prevent false failure before the server starts. | diff --git a/componentbuild/shared/macrolib.xml b/componentbuild/shared/macrolib.xml
index dbae5c2..366e5bc 100644
--- a/componentbuild/shared/macrolib.xml
+++ b/componentbuild/shared/macrolib.xml
@@ -1,439 +1,430 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiMacroLib">
<macrodef name="arraylit... |
yui/builder | 4ae244ccd2aa0f3c4dd794cd9f63b667c7935ef6 | Give options for folks without cURL installed. | diff --git a/componentbuild/shared/macrolib.xml b/componentbuild/shared/macrolib.xml
index 8ba807a..dbae5c2 100644
--- a/componentbuild/shared/macrolib.xml
+++ b/componentbuild/shared/macrolib.xml
@@ -1,441 +1,439 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiMacroLib">
<macrodef name="arraylit... |
yui/builder | 43ed82adbcbc4c8a5fe8b2cb45821d5754bd5ca6 | Use YUI Compressor's HTTP server if possible. | diff --git a/componentbuild/lib/yuicompressor/yuicompressor-2.4.5pre.jar b/componentbuild/lib/yuicompressor/yuicompressor-2.4.5pre.jar
new file mode 100644
index 0000000..522809f
Binary files /dev/null and b/componentbuild/lib/yuicompressor/yuicompressor-2.4.5pre.jar differ
diff --git a/componentbuild/shared/macrolib.x... |
yui/builder | cd712cf13a18cd0334f5f1d506e7c998a5bf2f9e | Interim release -- css compress improvements, removes YUI token warning, handles preserved comments better, prefers lower case replacement tokens, can process multiple files at once. | diff --git a/componentbuild/lib/yuicompressor/yuicompressor-2.4.4.jar b/componentbuild/lib/yuicompressor/yuicompressor-2.4.4.jar
new file mode 100644
index 0000000..d9ddb33
Binary files /dev/null and b/componentbuild/lib/yuicompressor/yuicompressor-2.4.4.jar differ
|
yui/builder | abb7f98a642fb620e44d43dda7fbdf0b8f9db534 | Introduce component.cssfiles.base. [fix #19] | diff --git a/componentbuild/shared/cssmodule.xml b/componentbuild/shared/cssmodule.xml
index 8ac8370..f95b9b9 100644
--- a/componentbuild/shared/cssmodule.xml
+++ b/componentbuild/shared/cssmodule.xml
@@ -1,27 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiCssModuleTargets">
<dirname prope... |
yui/builder | b39dca7d41e9868cd7b6abb2431737ab5d60c498 | Welcome to YUI Builder. | diff --git a/componentbuild/README b/componentbuild/README
index 86db405..32227d9 100644
--- a/componentbuild/README
+++ b/componentbuild/README
@@ -1,230 +1,232 @@
+Welcome to YUI Builder.
+
INTRODUCTION
------------
YUI uses ANT to create component build files from individual source files.
Each component has ... |
yui/builder | e6f6c278d4a41b8535bf4b12687eee541c47b5ab | Changed cssmodule to support component.basefilename | diff --git a/componentbuild/shared/cssmodule.xml b/componentbuild/shared/cssmodule.xml
index 54ac37d..8ac8370 100644
--- a/componentbuild/shared/cssmodule.xml
+++ b/componentbuild/shared/cssmodule.xml
@@ -1,27 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiCssModuleTargets">
<dirname prope... |
yui/builder | 5ff10ceedb1d4dde12a8b6662ceac00cce4975be | Fallback to forked compressor if native ant task isn't available. | diff --git a/componentbuild/shared/macrolib.xml b/componentbuild/shared/macrolib.xml
index 56dd24c..029407c 100644
--- a/componentbuild/shared/macrolib.xml
+++ b/componentbuild/shared/macrolib.xml
@@ -1,385 +1,407 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiMacroLib">
<macrodef name="arraylit... |
yui/builder | 069d3e0b42d41f3bb5e8e046d0bfe773cbb3ad18 | Don't start the lint server if lint.skip=true. | diff --git a/componentbuild/shared/targets.xml b/componentbuild/shared/targets.xml
index 9c1dfe2..f81f625 100644
--- a/componentbuild/shared/targets.xml
+++ b/componentbuild/shared/targets.xml
@@ -1,170 +1,179 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiSharedTargets">
<echo level="info">Star... |
yui/builder | 1ece969c9b25eba5ad0bc1d1925ff9c5e9f2643e | Fail when JSLint fails and lint.failonerror=true. | diff --git a/componentbuild/lib/jslint/jslint-node.js b/componentbuild/lib/jslint/jslint-node.js
index 6db012f..4ca1f16 100644
--- a/componentbuild/lib/jslint/jslint-node.js
+++ b/componentbuild/lib/jslint/jslint-node.js
@@ -1,106 +1,117 @@
/**
* Javascript Shell Script to Load and JSLint js files through Rhino Java... |
yui/builder | c76f06535bddf80ceb15ca45b82f6e7aa3b1c8e5 | Prevent Rhino fallback when Node hasn't started yet. | diff --git a/componentbuild/shared/macrolib.xml b/componentbuild/shared/macrolib.xml
index 17a75ca..b956e74 100644
--- a/componentbuild/shared/macrolib.xml
+++ b/componentbuild/shared/macrolib.xml
@@ -1,377 +1,372 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiMacroLib">
<macrodef name="arraylit... |
yui/builder | d38925c37ab6343149b1ecd3cbe97a8ca9e16dbf | Server exits by itself after 10 seconds of silence. | diff --git a/componentbuild/lib/jslint/jslint-node.js b/componentbuild/lib/jslint/jslint-node.js
index d04a1aa..6db012f 100644
--- a/componentbuild/lib/jslint/jslint-node.js
+++ b/componentbuild/lib/jslint/jslint-node.js
@@ -1,96 +1,106 @@
/**
* Javascript Shell Script to Load and JSLint js files through Rhino Javas... |
yui/builder | cefb5cf2fe48cfcd5ef6e3a5b97378f8971d53d7 | Add -node-spawn target. | diff --git a/componentbuild/shared/targets.xml b/componentbuild/shared/targets.xml
index f8286de..9c1dfe2 100644
--- a/componentbuild/shared/targets.xml
+++ b/componentbuild/shared/targets.xml
@@ -1,154 +1,170 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiSharedTargets">
<echo level="info">Star... |
yui/builder | e6ba7e78210bec1203b1d23068fbe5e939d0769c | Remove debugging and dead code. | diff --git a/componentbuild/lib/jslint/jslint-node.js b/componentbuild/lib/jslint/jslint-node.js
index 782beda..d04a1aa 100644
--- a/componentbuild/lib/jslint/jslint-node.js
+++ b/componentbuild/lib/jslint/jslint-node.js
@@ -1,103 +1,96 @@
/**
* Javascript Shell Script to Load and JSLint js files through Rhino Javas... |
yui/builder | 51fe7361f1fe3db802c9ac8c5509164d2e22adc0 | JSLint server accepts filenames instead of script | diff --git a/componentbuild/lib/jslint/jslint-node.js b/componentbuild/lib/jslint/jslint-node.js
index 47e954a..782beda 100644
--- a/componentbuild/lib/jslint/jslint-node.js
+++ b/componentbuild/lib/jslint/jslint-node.js
@@ -1,90 +1,103 @@
/**
* Javascript Shell Script to Load and JSLint js files through Rhino Javas... |
yui/builder | aa966fa49f27ee804e29c7885c9cf3572d7cd78e | NodeJS based JSLint server. | diff --git a/componentbuild/lib/jslint/fulljslint.js b/componentbuild/lib/jslint/fulljslint.js
index 9dcc2b6..7c7bd57 100644
--- a/componentbuild/lib/jslint/fulljslint.js
+++ b/componentbuild/lib/jslint/fulljslint.js
@@ -5106,512 +5106,514 @@ loop: for (;;) {
reachable('return');
return this;
}... |
yui/builder | 6cd837556639ebec46b313e75479f23e6defee06 | Support for CSS compression. | diff --git a/componentbuild/3.x/module.xml b/componentbuild/3.x/module.xml
index 8bfb8d1..e0ba31b 100644
--- a/componentbuild/3.x/module.xml
+++ b/componentbuild/3.x/module.xml
@@ -1,108 +1,108 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiModuleTargets">
<dirname property="module.basedir" file... |
yui/builder | 018f7b500544f6eedaabcc856997d4ee1d94a9ef | Add jslint.skip property. | diff --git a/componentbuild/shared/macrolib.xml b/componentbuild/shared/macrolib.xml
index d66df0e..3ed78b8 100644
--- a/componentbuild/shared/macrolib.xml
+++ b/componentbuild/shared/macrolib.xml
@@ -1,354 +1,368 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiMacroLib">
<macrodef name="arraylit... |
yui/builder | e63df502ffe71e519b7e3af9e8d9c3da1526238d | Compress JS without forking. | diff --git a/componentbuild/shared/macrolib.xml b/componentbuild/shared/macrolib.xml
index 00cd8bd..d66df0e 100644
--- a/componentbuild/shared/macrolib.xml
+++ b/componentbuild/shared/macrolib.xml
@@ -1,349 +1,354 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiMacroLib">
<macrodef name="arraylit... |
yui/builder | 1b9871cb92899d0a0fa3849f53d2584934bdb35c | Add jslint.failonerror property. | diff --git a/componentbuild/shared/macrolib.xml b/componentbuild/shared/macrolib.xml
index e5cb122..00cd8bd 100644
--- a/componentbuild/shared/macrolib.xml
+++ b/componentbuild/shared/macrolib.xml
@@ -1,345 +1,349 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiMacroLib">
<macrodef name="arraylit... |
yui/builder | 61b67a5bb65f4f797879d95120a9e826d14538a5 | datatype component builds with Ant 1.8.1 | diff --git a/componentbuild/3.x/module.xml b/componentbuild/3.x/module.xml
index 5301109..8bfb8d1 100644
--- a/componentbuild/3.x/module.xml
+++ b/componentbuild/3.x/module.xml
@@ -1,96 +1,108 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiModuleTargets">
<dirname property="module.basedir" file=... |
yui/builder | 7e26762c181d59363dc3cc12a32a58e29afaae2f | Added more verbose output to deploy steps, to help id gallery issue, if it happens again. | diff --git a/componentbuild/shared/targets.xml b/componentbuild/shared/targets.xml
index 18892b0..f8286de 100644
--- a/componentbuild/shared/targets.xml
+++ b/componentbuild/shared/targets.xml
@@ -1,154 +1,154 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiSharedTargets">
<echo level="info">Star... |
yui/builder | 74815e1694671431fb084adc9003866dc2c45f26 | Added overwrite=true to deploy steps, to see if it helps with gallery build problem - in case it's a timestamp issue. Also removed preservelastmodified | diff --git a/componentbuild/shared/targets.xml b/componentbuild/shared/targets.xml
index 7059aec..18892b0 100644
--- a/componentbuild/shared/targets.xml
+++ b/componentbuild/shared/targets.xml
@@ -1,154 +1,154 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiSharedTargets">
<echo level="info">Star... |
yui/builder | 9b5587f4e5f32cf8fb4fb35d16e96ca3f1625142 | Changed componentbuild infrastructure files to use relative paths from "ant.file.[projectName]" as suggested by ANT Import docs, when importing other infrastructure files instead of using builddir, which wouldn't work when src area for a component existed at a depth different from the yui src structure. | diff --git a/componentbuild/2.x/bootstrap.xml b/componentbuild/2.x/bootstrap.xml
index 541166e..7a3f3f7 100644
--- a/componentbuild/2.x/bootstrap.xml
+++ b/componentbuild/2.x/bootstrap.xml
@@ -1,8 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiDefaultProperties">
<property name="yui.version" v... |
yui/builder | d3db9bfc4836e6978aa8a4f1602aac81821f5378 | Added support for Yahoo Resource Bundles: YRB->JSON converter, integration into build scripts. | diff --git a/componentbuild/lib/yrb2json/yrb2json-console.js b/componentbuild/lib/yrb2json/yrb2json-console.js
new file mode 100644
index 0000000..97b0d06
--- /dev/null
+++ b/componentbuild/lib/yrb2json/yrb2json-console.js
@@ -0,0 +1,41 @@
+/**
+ * Converts resource bundles provided in YRB format into JSON format.
+ *
... |
yui/builder | fabdfb9dc1ea4f2d62afe0b9c2757b672db6c481 | Added preview of the 2.4.3 release of the compressor | diff --git a/componentbuild/lib/yuicompressor/yuicompressor-2.4.3pr1.jar b/componentbuild/lib/yuicompressor/yuicompressor-2.4.3pr1.jar
new file mode 100644
index 0000000..34e3104
Binary files /dev/null and b/componentbuild/lib/yuicompressor/yuicompressor-2.4.3pr1.jar differ
|
yui/builder | 422b2389d81a61aacc99091aa654b08993265bd1 | Only building min version of lang packs, to avoid file explosion. Since the lang packs are basically json structures, supporing raw and debug versions doesn't seem as valuable | diff --git a/componentbuild/3.x/module.xml b/componentbuild/3.x/module.xml
index 115acfa..419dec7 100644
--- a/componentbuild/3.x/module.xml
+++ b/componentbuild/3.x/module.xml
@@ -1,96 +1,95 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiModuleTargets">
<import file="${builddir}/shared/targets.... |
yui/builder | 937cc5955400cd5e8cd306e6bfc3f66a88965d84 | Rollup lang support fixed - now adds rollup YUI.add correctly | diff --git a/componentbuild/3.x/module.xml b/componentbuild/3.x/module.xml
index b9dbbb9..115acfa 100644
--- a/componentbuild/3.x/module.xml
+++ b/componentbuild/3.x/module.xml
@@ -1,104 +1,96 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiModuleTargets">
<import file="${builddir}/shared/targets... |
yui/builder | d24c924515f99c4254881cfbff68081873a896ba | Added rudimentary support for language bundles for rollups of rollups (e.g. datatype_en-US.js, datatype-date_en-US.js, datatype-date-format_en-US.js) | diff --git a/componentbuild/3.x/module.xml b/componentbuild/3.x/module.xml
index 9528c00..b9dbbb9 100644
--- a/componentbuild/3.x/module.xml
+++ b/componentbuild/3.x/module.xml
@@ -1,84 +1,104 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiModuleTargets">
<import file="${builddir}/shared/targets... |
yui/builder | 1e6e3fa1519c4b6a0373125891b8016c1d4a49ce | Added lang pack build support at the module level | diff --git a/componentbuild/3.x/module.xml b/componentbuild/3.x/module.xml
index 472b4b5..9528c00 100644
--- a/componentbuild/3.x/module.xml
+++ b/componentbuild/3.x/module.xml
@@ -1,68 +1,84 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiModuleTargets">
<import file="${builddir}/shared/targets.... |
yui/builder | a85a94f971076403ae08cf752dbea9d88cf7b97d | Added support for component.lang for YUI.add() call | diff --git a/componentbuild/docs/properties.html b/componentbuild/docs/properties.html
index 0f3f4a0..43b7efb 100644
--- a/componentbuild/docs/properties.html
+++ b/componentbuild/docs/properties.html
@@ -1,368 +1,373 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<htm... |
yui/builder | b6ecbfbb803f5559148aa52a3fa9a9fae7483784 | Added charset argument for yuicompressor. Defaults to utf-8. Overrideable using yuicompressor.js.charset and yuicompressor.css.charset | diff --git a/componentbuild/docs/properties.html b/componentbuild/docs/properties.html
index 317f69c..0f3f4a0 100644
--- a/componentbuild/docs/properties.html
+++ b/componentbuild/docs/properties.html
@@ -1,358 +1,368 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<htm... |
yui/builder | 7d7e583f7f627398d03b8234ab85ad3c24d24009 | 2009 -> 2010 | diff --git a/componentbuild/LICENSE b/componentbuild/LICENSE
index 24d009b..ead055a 100644
--- a/componentbuild/LICENSE
+++ b/componentbuild/LICENSE
@@ -1,53 +1,53 @@
All code under this directory and any subdirectories, with the exception
of the "lib" directory, is licensed under the BSD license, presented below:
... |
yui/builder | 7840dd727c88f48741f938df8ac0e789b224566b | Fixed 3.x rollup support for skin css | diff --git a/componentbuild/3.x/module.xml b/componentbuild/3.x/module.xml
index 942a5b6..472b4b5 100644
--- a/componentbuild/3.x/module.xml
+++ b/componentbuild/3.x/module.xml
@@ -1,68 +1,68 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiModuleTargets">
<import file="${builddir}/shared/targets.... |
yui/builder | da3e8d4a07b95f53c9761d6538e9a23905c8dd7a | Adding whitespace to verify CC CI builds are disabled | diff --git a/componentbuild/README b/componentbuild/README
index 1ce700d..1edfd26 100644
--- a/componentbuild/README
+++ b/componentbuild/README
@@ -1,230 +1,231 @@
INTRODUCTION
------------
YUI uses ANT to create component build files from individual source files.
Each component has its own ANT build file resi... |
yui/builder | 74f5b71dca6b9651478af5fd2fbeac11f718a004 | Added standard .gitignore, in prep for hudson builds | diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b1f1def
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,10 @@
+build_tmp/
+build_rollup_tmp/
+.DS_Store
+.*.swp
+.svn
+CVS/
+# Ignore all backup files
+*~
+# Ignore Emacs auto saved files
+*#*#
|
yui/builder | 71f459ce3a1b4ad453a698260e947b0c81cbecda | Added whitespace to test builds | diff --git a/componentbuild/README b/componentbuild/README
index 22df996..1ce700d 100644
--- a/componentbuild/README
+++ b/componentbuild/README
@@ -1,229 +1,230 @@
INTRODUCTION
------------
YUI uses ANT to create component build files from individual source files.
Each component has its own ANT build file resi... |
yui/builder | 39007ada282c85502c1ce7e8e3fab41b04206b7b | Added failonerror to lint and yuicompress tasks, to force build failure on compressor or lint fatal errors | diff --git a/componentbuild/shared/macrolib.xml b/componentbuild/shared/macrolib.xml
index f454dba..24b4f2f 100644
--- a/componentbuild/shared/macrolib.xml
+++ b/componentbuild/shared/macrolib.xml
@@ -1,214 +1,214 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiMacroLib">
<macrodef name="arraylit... |
yui/builder | 7878c0101a03b65a5f8788cfff65e34155fb0e14 | Added throw new Error, for fatal JS lint errors. Allows us to failonerror if required, as part of build | diff --git a/componentbuild/lib/jslint/jslint-console.js b/componentbuild/lib/jslint/jslint-console.js
index 0a90359..6eb6da9 100644
--- a/componentbuild/lib/jslint/jslint-console.js
+++ b/componentbuild/lib/jslint/jslint-console.js
@@ -1,64 +1,70 @@
/**
* Javascript Shell Script to Load and JSLint js files through ... |
yui/builder | a04030193c48087c5d3f980c5c7b7fdc04a4bc28 | Fixed handling of empty details fields. Fixes #12 | diff --git a/componentbuild/shared/macrolib.xml b/componentbuild/shared/macrolib.xml
index c526924..f454dba 100644
--- a/componentbuild/shared/macrolib.xml
+++ b/componentbuild/shared/macrolib.xml
@@ -1,211 +1,214 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiMacroLib">
<macrodef name="arraylit... |
yui/builder | 6b230fe9b28c64403acd80c41e3cffa19d3ababe | Added -rollupjs step to rollup.xml to allow creation of rollup of rollups. TODO: Need to add -rollupcss step also | diff --git a/componentbuild/3.x/rollup.xml b/componentbuild/3.x/rollup.xml
index 19683c7..1611b5e 100644
--- a/componentbuild/3.x/rollup.xml
+++ b/componentbuild/3.x/rollup.xml
@@ -1,30 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="YuiRollupTargets">
<import file="${builddir}/shared/targets.... |
yui/builder | 0e54d65696edde33501862877d8a1b4f0182821d | Added download link to README. yuilibrary.com download page update pending. | diff --git a/componentbuild/README b/componentbuild/README
index f0ad50c..22df996 100644
--- a/componentbuild/README
+++ b/componentbuild/README
@@ -1,221 +1,229 @@
INTRODUCTION
------------
YUI uses ANT to create component build files from individual source files.
Each component has its own ANT build file resi... |
yui/builder | 930ef382f4ca553f176b132e84a10cc83e6d7b0c | Editorial changes on license file. | diff --git a/componentbuild/LICENSE b/componentbuild/LICENSE
index 3bc5303..24d009b 100644
--- a/componentbuild/LICENSE
+++ b/componentbuild/LICENSE
@@ -1,51 +1,53 @@
All code under this directory and any subdirectories, with the exception
of the "lib" directory, is licensed under the BSD license, presented below:
... |
mex868/Nissi.Solution | eeca08f1f08e2f6190406a3551a103d44840c66d | Correcao no arquivo do projeto web | diff --git a/Nissi.WebPresentation/Nissi.WebPresentation.csproj b/Nissi.WebPresentation/Nissi.WebPresentation.csproj
index 77b28ab..0c7e2e5 100644
--- a/Nissi.WebPresentation/Nissi.WebPresentation.csproj
+++ b/Nissi.WebPresentation/Nissi.WebPresentation.csproj
@@ -299,528 +299,525 @@
<Compile Include="EntradaEstoq... |
bfritscher/www-itunesu | bfc5cd537ada606f07f1f7c6cc4b83389bccb255 | fixed for iTunes 9.1 | diff --git a/WebContent/WEB-INF/groovy/index.groovy b/WebContent/WEB-INF/groovy/index.groovy
index dbd7f09..c2ee616 100644
--- a/WebContent/WEB-INF/groovy/index.groovy
+++ b/WebContent/WEB-INF/groovy/index.groovy
@@ -1,32 +1,32 @@
/**
* Browsing iTunesU without installing iTunes
* iTunesU xml to html - proxy applica... |
bfritscher/www-itunesu | d6c3794e154edcf14e18a2d7e7b94cb26e9f0f1a | fixed url | diff --git a/WebContent/WEB-INF/groovy/proxy.groovy b/WebContent/WEB-INF/groovy/proxy.groovy
index 1ceff0a..3523bbf 100644
--- a/WebContent/WEB-INF/groovy/proxy.groovy
+++ b/WebContent/WEB-INF/groovy/proxy.groovy
@@ -1,13 +1,13 @@
if(request.getParameter("url")){
def url = request.getParameter("url")
- def conn = ... |
bfritscher/www-itunesu | 542d16fbeb2d620145e5000b468b9d90d32c6416 | created proxy for redirecting url of media files | diff --git a/.project b/.project
index eab949c..a596c57 100644
--- a/.project
+++ b/.project
@@ -1,42 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>itunesu</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
- <buildCommand>
- <name>org.codehaus.groovy.eclip... |
bfritscher/www-itunesu | b6ebc102d64918c5faa5be5fde47f92b02a567de | some comments | diff --git a/WebContent/WEB-INF/groovy/index.groovy b/WebContent/WEB-INF/groovy/index.groovy
index f845e35..6325beb 100644
--- a/WebContent/WEB-INF/groovy/index.groovy
+++ b/WebContent/WEB-INF/groovy/index.groovy
@@ -1,32 +1,32 @@
-import xmlwise.*
import groovy.xml.StreamingMarkupBuilder
-
def handle = "http://deimo... |
bfritscher/www-itunesu | 6c593a6f1cf446aad74253680e5df646a339a1e2 | cleanup fixes for some paths | diff --git a/WebContent/WEB-INF/groovy/index.groovy b/WebContent/WEB-INF/groovy/index.groovy
index 3e06db6..f845e35 100644
--- a/WebContent/WEB-INF/groovy/index.groovy
+++ b/WebContent/WEB-INF/groovy/index.groovy
@@ -1,32 +1,32 @@
import xmlwise.*
import groovy.xml.StreamingMarkupBuilder
def handle = "http://deimo... |
bfritscher/www-itunesu | a8300bea6f09d7d666961a2c7adb06d4ca0ca00d | moved css changed download/itunes links | diff --git a/WebContent/WEB-INF/groovy/index.groovy b/WebContent/WEB-INF/groovy/index.groovy
index d05d00e..3e06db6 100644
--- a/WebContent/WEB-INF/groovy/index.groovy
+++ b/WebContent/WEB-INF/groovy/index.groovy
@@ -1,32 +1,32 @@
import xmlwise.*
import groovy.xml.StreamingMarkupBuilder
def handle = "http://deimo... |
stuartloxton/php-sprockets | 320f708d19ec7fbcc9d3dfbd843fd2a0960a6fd5 | Supports constants.yml with both erb <%= and php <?= syntax! Thats now full cross compatibility | diff --git a/js/constants.yml b/js/constants.yml
new file mode 100644
index 0000000..13ec8d6
--- /dev/null
+++ b/js/constants.yml
@@ -0,0 +1 @@
+AUTHOR: Stuart Loxton
\ No newline at end of file
diff --git a/js/sprocket.js b/js/sprocket.js
index 3590676..5b575f8 100644
--- a/js/sprocket.js
+++ b/js/sprocket.js
@@ -1,7 ... |
stuartloxton/php-sprockets | 8a489e6f94f56cb208d7c9c7a1a29c122ecf0906 | Now has full support for the provide directive, only constants.yml support missing. | diff --git a/README.textile b/README.textile
new file mode 100644
index 0000000..a3a9428
--- /dev/null
+++ b/README.textile
@@ -0,0 +1,3 @@
+h1. PHP Sprocket
+
+PHP Sprocket is a port of Sprockets - the ruby library for Javascript dependency management and concatenation.
\ No newline at end of file
diff --git a/js/ajax... |
stuartloxton/php-sprockets | b00ea925e78ee99e1501e2d5adb14941a0b30222 | Now has full support for the provide directive, full support accomplished | diff --git a/README.textile b/README.textile
new file mode 100644
index 0000000..a3a9428
--- /dev/null
+++ b/README.textile
@@ -0,0 +1,3 @@
+h1. PHP Sprocket
+
+PHP Sprocket is a port of Sprockets - the ruby library for Javascript dependency management and concatenation.
\ No newline at end of file
diff --git a/js/ajax... |
stuartloxton/php-sprockets | 2d09a84b6a228ac5e856cd589f837e64f051b5a4 | Caching is now working, also appending ?debug to the JS files URI will stop caching taking place, perfect for development | diff --git a/.htaccess b/.htaccess
index 48a93be..eb09653 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,3 +1,3 @@
RewriteEngine On
-RewriteRule \.js$ lib/phpsprocket.php
\ No newline at end of file
+RewriteRule \.js$ lib/phpsprocket.php [QSA]
\ No newline at end of file
diff --git a/js/sprocket.js b/js/sprocket.js
in... |
stuartloxton/php-sprockets | 6d702a583d039f46c45c855e1be74d0d7fa8402b | PHPSprocket now parses all files and supports the require directive fully | diff --git a/.htaccess b/.htaccess
new file mode 100644
index 0000000..48a93be
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,3 @@
+RewriteEngine On
+
+RewriteRule \.js$ lib/phpsprocket.php
\ No newline at end of file
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..3ed46b5
--- /dev/null
+++ b/index.h... |
kerryb/real-world-haskell | d73ead0a56bf3071ba54c8696035182f1c863e23 | Try calling matchesGlob with malformed regexp | diff --git a/ch8/GlobRegexp.hs b/ch8/GlobRegexp.hs
index 6c75d47..8acae28 100644
--- a/ch8/GlobRegexp.hs
+++ b/ch8/GlobRegexp.hs
@@ -1,35 +1,40 @@
module GlobRegex
(
globToRegex
, matchesGlob
) where
import Text.Regex.Posix ((=~))
globToRegex :: String -> String
globToRegex cs = '^' : glob... |
kerryb/real-world-haskell | 6bdb45d39b315c9c209e4fada172bd2e96f66bc0 | Code from book for chapter 8 | diff --git a/ch8/GlobRegexp.hs b/ch8/GlobRegexp.hs
new file mode 100644
index 0000000..6c75d47
--- /dev/null
+++ b/ch8/GlobRegexp.hs
@@ -0,0 +1,35 @@
+module GlobRegex
+ (
+ globToRegex
+ , matchesGlob
+ ) where
+
+import Text.Regex.Posix ((=~))
+
+globToRegex :: String -> String
+globToRegex cs = '^' : g... |
kerryb/real-world-haskell | ec41eaa419e8b3260446ce3a1127ba4635098d53 | Something to do with chapter 7 | diff --git a/ch7/callingpure.hs b/ch7/callingpure.hs
new file mode 100644
index 0000000..700babf
--- /dev/null
+++ b/ch7/callingpure.hs
@@ -0,0 +1,12 @@
+name2reply :: String -> String
+name2reply name =
+ "Pleased to meet you, " ++ name ++ ".\n" ++
+ "Your name contains " ++ charcount ++ " characters."
+ wher... |
kerryb/real-world-haskell | c26021a3b6f46331bca0bbb001881bcd355f8940 | Some fiddling with JSON stuff. Can't remember why. | diff --git a/ch5/Prettify.hs b/ch5/Prettify.hs
index 41b7cfa..939ef49 100644
--- a/ch5/Prettify.hs
+++ b/ch5/Prettify.hs
@@ -1,93 +1,84 @@
module Prettify where
data Doc = Empty
| Char Char
| Text String
| Line
| Concat Doc Doc
| Union Doc Doc
deriving (... |
kerryb/real-world-haskell | 99209d1d4eb3f7d34767d8ea8ea7b7be5a72edd9 | ADd pretty function | diff --git a/ch5/Prettify.hs b/ch5/Prettify.hs
index 5d755af..41b7cfa 100644
--- a/ch5/Prettify.hs
+++ b/ch5/Prettify.hs
@@ -1,71 +1,93 @@
module Prettify where
data Doc = Empty
| Char Char
| Text String
| Line
| Concat Doc Doc
| Union Doc Doc
deriving (... |
kerryb/real-world-haskell | 88a3f1320444493c15fa36ba23c15906efefd5c5 | Import all of SimpleJSON | diff --git a/ch5/PrettyJSON.hs b/ch5/PrettyJSON.hs
index 1104f65..0aaa571 100644
--- a/ch5/PrettyJSON.hs
+++ b/ch5/PrettyJSON.hs
@@ -1,59 +1,59 @@
module PrettyJSON
(
renderJValue
) where
import Numeric (showHex)
import Data.Char (ord)
import Data.Bits (shiftR, (.&.))
-import SimpleJSON (JValue(..)... |
kerryb/real-world-haskell | 058fba4adf594b2c7e83b2dae4dfba46898eeb00 | Add function definitions | diff --git a/ch5/Prettify.hs b/ch5/Prettify.hs
index ff1dc19..5d755af 100644
--- a/ch5/Prettify.hs
+++ b/ch5/Prettify.hs
@@ -1,30 +1,71 @@
module Prettify where
-data Doc = ToBeDefined
- deriving (Show)
+data Doc = Empty
+ | Char Char
+ | Text String
+ | Line
+ | Concat Doc Do... |
kerryb/real-world-haskell | bb87f838c9b22ed2019b0b1707e9fc7cbb1e367a | Pretty printer with stubs | diff --git a/ch5/Prettify.hs b/ch5/Prettify.hs
new file mode 100644
index 0000000..ff1dc19
--- /dev/null
+++ b/ch5/Prettify.hs
@@ -0,0 +1,30 @@
+module Prettify where
+
+data Doc = ToBeDefined
+ deriving (Show)
+
+text :: String -> Doc
+text str = undefined
+
+double :: Double -> Doc
+double num = undefined
+
+... |
kerryb/real-world-haskell | eef19d452b0a8cf6e391d12d55b7653309baeddb | putJSON | diff --git a/ch5/PutJSON.hs b/ch5/PutJSON.hs
new file mode 100644
index 0000000..165f69c
--- /dev/null
+++ b/ch5/PutJSON.hs
@@ -0,0 +1,24 @@
+module PutJSON where
+
+import Data.List (intercalate)
+import SimpleJSON
+
+renderJValue :: JValue -> String
+
+renderJValue (JString s) = show s
+renderJValue (JNumber n) =... |
kerryb/real-world-haskell | 3a32bf7034100b2e982d7350db3f79ead885958b | Add simple test application | diff --git a/.gitignore b/.gitignore
index ffe8ca5..9ff3e75 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,7 @@
*.hi
*.o
ch4/Interact
ch4/FixLines
ch4/part1/ex3/FirstLines
ch4/part1/ex4/Transpose
+ch5/simple
diff --git a/ch5/Main.hs b/ch5/Main.hs
new file mode 100644
index 0000000..341e49e
--- /dev/null
+++ ... |
kerryb/real-world-haskell | f2b781b26344f27206e3d8f661ab5900f1f55159 | Add module declaration | diff --git a/ch5/SimpleJSON.hs b/ch5/SimpleJSON.hs
index ee98b88..09b0361 100644
--- a/ch5/SimpleJSON.hs
+++ b/ch5/SimpleJSON.hs
@@ -1,27 +1,39 @@
+module SimpleJSON
+ (
+ JValue(..)
+ , getString
+ , getInt
+ , getDouble
+ , getBool
+ , getObject
+ , getArray
+ , isNull
+ ) where
+
dat... |
kerryb/real-world-haskell | 94f0a4b957ff8fc05f418565c2e41abacd660d65 | Add other accessor functions | diff --git a/ch5/SimpleJSON.hs b/ch5/SimpleJSON.hs
index 08074ed..ee98b88 100644
--- a/ch5/SimpleJSON.hs
+++ b/ch5/SimpleJSON.hs
@@ -1,11 +1,27 @@
data JValue = JString String
| JNumber Double
| JBool Bool
| JNull
| JObject [(String, JValue)]
| JArray [J... |
kerryb/real-world-haskell | 0672469f4910973ba523585f72adebbc283b674b | Add getString accessor function | diff --git a/ch5/SimpleJSON.hs b/ch5/SimpleJSON.hs
index cebc498..08074ed 100644
--- a/ch5/SimpleJSON.hs
+++ b/ch5/SimpleJSON.hs
@@ -1,7 +1,11 @@
data JValue = JString String
| JNumber Double
| JBool Bool
| JNull
| JObject [(String, JValue)]
| JArray [JV... |
kerryb/real-world-haskell | a917a1df5521095b2349c76ffc0d85e58a94783c | Chapter 5: create JValue type | diff --git a/ch5/SimpleJSON.hs b/ch5/SimpleJSON.hs
new file mode 100644
index 0000000..cebc498
--- /dev/null
+++ b/ch5/SimpleJSON.hs
@@ -0,0 +1,7 @@
+data JValue = JString String
+ | JNumber Double
+ | JBool Bool
+ | JNull
+ | JObject [(String, JValue)]
+ | JArray ... |
kerryb/real-world-haskell | e82c639cdaf59b8d3078a82985e2215c32808ea9 | Chapter 4 part 2 exercise 5 | diff --git a/ch4/part2/ex5/MyGroupBy.hs b/ch4/part2/ex5/MyGroupBy.hs
new file mode 100644
index 0000000..d31a51b
--- /dev/null
+++ b/ch4/part2/ex5/MyGroupBy.hs
@@ -0,0 +1,6 @@
+import Data.List
+
+myGroupBy f xs = foldl' step [] xs
+ where step a x | null a = [[x]]
+ | f (head$last a) x = (init a) ... |
kerryb/real-world-haskell | f66a9cbd562a8dc0bb81d1e4813870f96568d593 | Remove function type declaration | diff --git a/ch4/part2/ex4/TakeWhileFold.hs b/ch4/part2/ex4/TakeWhileFold.hs
index ed06b6a..2c776f0 100644
--- a/ch4/part2/ex4/TakeWhileFold.hs
+++ b/ch4/part2/ex4/TakeWhileFold.hs
@@ -1,4 +1,3 @@
-takeWhileFold :: (a -> Bool) -> [a] -> [a]
takeWhileFold f xs = foldr step [] xs
where step x a | f x = x:a
... |
kerryb/real-world-haskell | 2ca0b4134f5d797943e5de893ac6185e8d30f0fe | Second part of exercise 4 | diff --git a/ch4/part2/ex4/TakeWhileFold.hs b/ch4/part2/ex4/TakeWhileFold.hs
new file mode 100644
index 0000000..ed06b6a
--- /dev/null
+++ b/ch4/part2/ex4/TakeWhileFold.hs
@@ -0,0 +1,4 @@
+takeWhileFold :: (a -> Bool) -> [a] -> [a]
+takeWhileFold f xs = foldr step [] xs
+ where step x a | f x = x:a
+ ... |
kerryb/real-world-haskell | a6a0f5f9d01607be17d7c217f090baa3baaf5fbb | Chapter 4 part 2 exercise 4 | diff --git a/ch4/part2/ex4/TakeWhileRecursive.hs b/ch4/part2/ex4/TakeWhileRecursive.hs
new file mode 100644
index 0000000..3dd3faf
--- /dev/null
+++ b/ch4/part2/ex4/TakeWhileRecursive.hs
@@ -0,0 +1,3 @@
+takeWhileRecursive _ [] = []
+takeWhileRecursive f (x:xs) | f x = x:(takeWhileRecursive f xs)
+ ... |
kerryb/real-world-haskell | 54e40f2d78655361ab396e3b2c688359871fa7a9 | Chapter 4 part 2 exercise 3 | diff --git a/ch4/part2/ex3/MyConcat.hs b/ch4/part2/ex3/MyConcat.hs
new file mode 100644
index 0000000..27c2dc7
--- /dev/null
+++ b/ch4/part2/ex3/MyConcat.hs
@@ -0,0 +1 @@
+myConcat xs = foldr (++) [] xs
|
kerryb/real-world-haskell | 87cddf78b25bae02c06612ec27aa744c5d7d6f46 | Finally! AsInt fully working using Either | diff --git a/ch4/part2/ex2/AsInt_either.hs b/ch4/part2/ex2/AsInt_either.hs
index 6f018e5..15b0c11 100644
--- a/ch4/part2/ex2/AsInt_either.hs
+++ b/ch4/part2/ex2/AsInt_either.hs
@@ -1,14 +1,15 @@
import Data.Char
import Data.List
type ErrorMessage = String
asInt_either :: String -> Either ErrorMessage Int
asInt... |
kerryb/real-world-haskell | f1ae69b3957f1a117196572bf20465b64de73c16 | Use Either for asInt, but not in step function yet | diff --git a/ch4/part2/ex2/AsInt_either.hs b/ch4/part2/ex2/AsInt_either.hs
new file mode 100644
index 0000000..6f018e5
--- /dev/null
+++ b/ch4/part2/ex2/AsInt_either.hs
@@ -0,0 +1,14 @@
+import Data.Char
+import Data.List
+
+type ErrorMessage = String
+
+asInt_either :: String -> Either ErrorMessage Int
+asInt_either (... |
kerryb/real-world-haskell | 26dadb9fe43d4d13f8d3332f2ab2e82ba44fe64d | Fix indenting | diff --git a/ch4/part2/ex1/AsInt_fold.hs b/ch4/part2/ex1/AsInt_fold.hs
index d80ebbb..b9f3163 100644
--- a/ch4/part2/ex1/AsInt_fold.hs
+++ b/ch4/part2/ex1/AsInt_fold.hs
@@ -1,9 +1,9 @@
import Data.Char
import Data.List
asInt_fold ('-':xs) = -(asInt_fold xs)
asInt_fold xs | null xs = error "Empty string"
... |
kerryb/real-world-haskell | 0d03737e3c2f1f6854e92768c0b98e57691169bd | Throw exception on too-big numbers | diff --git a/ch4/part2/ex1/AsInt_fold.hs b/ch4/part2/ex1/AsInt_fold.hs
index a6454b8..d80ebbb 100644
--- a/ch4/part2/ex1/AsInt_fold.hs
+++ b/ch4/part2/ex1/AsInt_fold.hs
@@ -1,8 +1,9 @@
import Data.Char
import Data.List
asInt_fold ('-':xs) = -(asInt_fold xs)
asInt_fold xs | null xs = error "Empty string"
... |
kerryb/real-world-haskell | 9eace437066dd6e7b276468f762cd13c2c9f097c | Throw exception on non-integer input | diff --git a/ch4/part2/ex1/AsInt_fold.hs b/ch4/part2/ex1/AsInt_fold.hs
index 366a44f..a6454b8 100644
--- a/ch4/part2/ex1/AsInt_fold.hs
+++ b/ch4/part2/ex1/AsInt_fold.hs
@@ -1,8 +1,8 @@
-import Data.Char (digitToInt)
-import Data.List (foldl')
+import Data.Char
+import Data.List
-asInt_fold "" = error "Empty str... |
kerryb/real-world-haskell | 5f9fe7cf4c921a0146612f13c346972f38ad554d | Throw exception on empty input | diff --git a/ch4/part2/ex1/AsInt_fold.hs b/ch4/part2/ex1/AsInt_fold.hs
index 8588aa7..366a44f 100644
--- a/ch4/part2/ex1/AsInt_fold.hs
+++ b/ch4/part2/ex1/AsInt_fold.hs
@@ -1,6 +1,8 @@
import Data.Char (digitToInt)
import Data.List (foldl')
+asInt_fold "" = error "Empty string"
+asInt_fold "-" = error "E... |
kerryb/real-world-haskell | 893c045f9d55bd3d212140529777ea517cf35f5a | Handle negative numbers | diff --git a/ch4/part2/ex1/AsInt_fold.hs b/ch4/part2/ex1/AsInt_fold.hs
index 5ab2f7d..8588aa7 100644
--- a/ch4/part2/ex1/AsInt_fold.hs
+++ b/ch4/part2/ex1/AsInt_fold.hs
@@ -1,5 +1,6 @@
import Data.Char (digitToInt)
import Data.List (foldl')
+asInt_fold ('-':xs) = -(asInt_fold xs)
asInt_fold xs = foldl' parseDigits... |
kerryb/real-world-haskell | be6b1f1bd196733cd0afa2982eb587c3100f1188 | Make parseDigits private | diff --git a/ch4/part2/ex1/AsInt_fold.hs b/ch4/part2/ex1/AsInt_fold.hs
index 746055c..5ab2f7d 100644
--- a/ch4/part2/ex1/AsInt_fold.hs
+++ b/ch4/part2/ex1/AsInt_fold.hs
@@ -1,8 +1,5 @@
import Data.Char (digitToInt)
import Data.List (foldl')
-parseDigits :: Int -> Char -> Int
-parseDigits acc char = acc * 10 + (digi... |
kerryb/real-world-haskell | 34e8b7cf90253d0882618e47917ec62778a873ca | Chapter 4 part 2 exercise 1: working for +ve numbers | diff --git a/ch4/part2/ex1/AsInt_fold.hs b/ch4/part2/ex1/AsInt_fold.hs
new file mode 100644
index 0000000..746055c
--- /dev/null
+++ b/ch4/part2/ex1/AsInt_fold.hs
@@ -0,0 +1,8 @@
+import Data.Char (digitToInt)
+import Data.List (foldl')
+
+parseDigits :: Int -> Char -> Int
+parseDigits acc char = acc * 10 + (digitToInt... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.