repo string | commit string | message string | diff string |
|---|---|---|---|
markpasc/mt-plugin-action-streams | 7946221581992094491bd0c927848b6d56381d5f | Fixed BugID:89499 * Added hint, label, examples * Modified template which enables hint showing | diff --git a/plugins/ActionStreams/services.yaml b/plugins/ActionStreams/services.yaml
index eac0de0..4aaf86f 100644
--- a/plugins/ActionStreams/services.yaml
+++ b/plugins/ActionStreams/services.yaml
@@ -1,317 +1,340 @@
oneup:
name: 1up.com
url: http://{{ident}}.1up.com/
fortythreethings:
name: 43Thin... |
markpasc/mt-plugin-action-streams | ac1745ff3e1ab2914539e65deb7404b422f6720f | Added destructoid service image. BugzID:89526 | diff --git a/mt-static/plugins/ActionStreams/images/services/destructoid.png b/mt-static/plugins/ActionStreams/images/services/destructoid.png
new file mode 100644
index 0000000..4179ff4
Binary files /dev/null and b/mt-static/plugins/ActionStreams/images/services/destructoid.png differ
|
markpasc/mt-plugin-action-streams | d1f67040488a4d7146ea26731dad3ef53b6699f3 | Revert changes r1365 BugId:89294 | diff --git a/plugins/ActionStreams/lib/ActionStreams/Tags.pm b/plugins/ActionStreams/lib/ActionStreams/Tags.pm
index 76c8f1e..418dace 100644
--- a/plugins/ActionStreams/lib/ActionStreams/Tags.pm
+++ b/plugins/ActionStreams/lib/ActionStreams/Tags.pm
@@ -1,465 +1,464 @@
package ActionStreams::Tags;
use strict;
use... |
markpasc/mt-plugin-action-streams | 499e0917e069ab0d9d77ddb1c28809d2f44c2d22 | Implemented a workaround of the issue that Oracle does not like the name of the meta table created by the Action Streams plugin. BugId:82819 | diff --git a/plugins/ActionStreams/config.yaml b/plugins/ActionStreams/config.yaml
index 8733dc9..dd1404e 100644
--- a/plugins/ActionStreams/config.yaml
+++ b/plugins/ActionStreams/config.yaml
@@ -1,183 +1,184 @@
name: Action Streams
id: ActionStreams
key: ActionStreams
author_link: http://www.sixapart.com/
author... |
markpasc/mt-plugin-action-streams | cc781784c9bbccf0de53f52b92ffe6a83ec2cd05 | Fixed BugID:89294 * Added actionstreams_pre_search callback that do call before search for ActionStreams::Event | diff --git a/plugins/ActionStreams/lib/ActionStreams/Tags.pm b/plugins/ActionStreams/lib/ActionStreams/Tags.pm
index 418dace..76c8f1e 100644
--- a/plugins/ActionStreams/lib/ActionStreams/Tags.pm
+++ b/plugins/ActionStreams/lib/ActionStreams/Tags.pm
@@ -1,464 +1,465 @@
package ActionStreams::Tags;
use strict;
use... |
markpasc/mt-plugin-action-streams | 663b23adab45b9602c5179888fc81626eb48018e | Create StreamActionID tag for feed. BugzID:89133 | diff --git a/plugins/ActionStreams/config.yaml b/plugins/ActionStreams/config.yaml
index 0448c44..8733dc9 100644
--- a/plugins/ActionStreams/config.yaml
+++ b/plugins/ActionStreams/config.yaml
@@ -1,182 +1,183 @@
name: Action Streams
id: ActionStreams
key: ActionStreams
author_link: http://www.sixapart.com/
author... |
markpasc/mt-plugin-action-streams | 829a96293ceb9195d522a57f5eb7e49b0da0cc9e | Change to get contributor permission author id also. BugzID:86646 | diff --git a/plugins/ActionStreams/lib/ActionStreams/Tags.pm b/plugins/ActionStreams/lib/ActionStreams/Tags.pm
index f494946..475fe42 100644
--- a/plugins/ActionStreams/lib/ActionStreams/Tags.pm
+++ b/plugins/ActionStreams/lib/ActionStreams/Tags.pm
@@ -1,457 +1,457 @@
package ActionStreams::Tags;
use strict;
use... |
markpasc/mt-plugin-action-streams | e5f96fec3778a3a91d0194c57e04b110ab02c5c6 | Fixed BugID: 87474 * Hide menus when creating user | diff --git a/plugins/ActionStreams/lib/ActionStreams/Plugin.pm b/plugins/ActionStreams/lib/ActionStreams/Plugin.pm
index fe50dab..bb32a96 100644
--- a/plugins/ActionStreams/lib/ActionStreams/Plugin.pm
+++ b/plugins/ActionStreams/lib/ActionStreams/Plugin.pm
@@ -1,523 +1,525 @@
package ActionStreams::Plugin;
use stri... |
markpasc/mt-plugin-action-streams | 0d17ca331fc0517cbe662def69c00d7ed4ce9828 | Make Backtype actions unique per url as the feed doesn't have guids BugzID: 87177 | diff --git a/plugins/ActionStreams/streams.yaml b/plugins/ActionStreams/streams.yaml
index 83a8bf3..1f9b66e 100644
--- a/plugins/ActionStreams/streams.yaml
+++ b/plugins/ActionStreams/streams.yaml
@@ -1,529 +1,530 @@
oneup:
playing:
name: Currently Playing
description: The games in your collecti... |
markpasc/mt-plugin-action-streams | e28c6e416236da07f6fae981f3081a9c392e5a7a | Reverting the change at r3123. Page Archive is a entry archive. BugId:82643 | diff --git a/plugins/ActionStreams/tmpl/dialog_add_profile.tmpl b/plugins/ActionStreams/tmpl/dialog_add_profile.tmpl
index f18301a..2cee720 100644
--- a/plugins/ActionStreams/tmpl/dialog_add_profile.tmpl
+++ b/plugins/ActionStreams/tmpl/dialog_add_profile.tmpl
@@ -1,206 +1,210 @@
<mt:setvarblock name="page_title"><__t... |
PeteMo/sethostname | 4368bba412e60c658292d25b9a8f639ef6914daf | End if statement correctly | diff --git a/sethostname b/sethostname
index 5e02143..b558e39 100644
--- a/sethostname
+++ b/sethostname
@@ -1,47 +1,48 @@
#!/bin/bash
#--------------------------------------------------------------------
# Set a computer's hostname. OS X specific.
#
# Usage: sethostname <interface> </path/to/hostnames/file>
#... |
PeteMo/sethostname | 2e1f9dc87c9fbcdf2d8fb52d7c5e1b2253d3642d | Fix spelling error | diff --git a/sethostname b/sethostname
index e7c6565..5e02143 100644
--- a/sethostname
+++ b/sethostname
@@ -1,47 +1,47 @@
#!/bin/bash
#--------------------------------------------------------------------
# Set a computer's hostname. OS X specific.
#
# Usage: sethostname <interface> </path/to/hostnames/file>
#... |
PeteMo/sethostname | 96de4b8bc984915011e3620477e22cb81c8d393d | Initial import | diff --git a/sethostname b/sethostname
new file mode 100644
index 0000000..e7c6565
--- /dev/null
+++ b/sethostname
@@ -0,0 +1,47 @@
+#!/bin/bash
+
+#--------------------------------------------------------------------
+# Set a computer's hostname. OS X specific.
+#
+# Usage: sethostname <interface> </path/to/hostnames... |
pkrumins/node-jpeg | 15a12d6286e7e1d32990f736d73a0c31dd540981 | v2.0.0 now | diff --git a/package.json b/package.json
index 182c2b3..601e0d7 100644
--- a/package.json
+++ b/package.json
@@ -1,35 +1,35 @@
{
"name": "jpeg",
- "version": "1.0.3",
+ "version": "2.0.0",
"main": "build/Release/jpeg",
"description": "A C++ module for node-js that converts RGB and RGBA buffers to a JPE... |
pkrumins/node-jpeg | becc5ee99fa3bb2a94aeb6b267c4c16046ae745a | add module declare | diff --git a/src/module.cpp b/src/module.cpp
index 593142d..539139c 100644
--- a/src/module.cpp
+++ b/src/module.cpp
@@ -1,17 +1,18 @@
#include <node.h>
#include "jpeg.h"
#include "fixed_jpeg_stack.h"
#include "dynamic_jpeg_stack.h"
using namespace v8;
extern "C" void
init(Handle<Object> target)
{
Ha... |
pkrumins/node-jpeg | 0c277810cb4758cbd88e58d7249c8d963582c395 | Revert "v8::" | diff --git a/src/module.cpp b/src/module.cpp
index 8039e8d..593142d 100644
--- a/src/module.cpp
+++ b/src/module.cpp
@@ -1,17 +1,17 @@
#include <node.h>
#include "jpeg.h"
#include "fixed_jpeg_stack.h"
#include "dynamic_jpeg_stack.h"
using namespace v8;
extern "C" void
-init(v8::Handle<v8::Object> target)
+i... |
pkrumins/node-jpeg | 77814182b453ba1e2b23b9e899d219f1f01b24d6 | changed config on win | diff --git a/binding.gyp b/binding.gyp
index 160f8f6..49570ce 100644
--- a/binding.gyp
+++ b/binding.gyp
@@ -1,45 +1,44 @@
{
"targets": [
{
"target_name": "jpeg",
"sources": [
"src/common.cpp",
"src/jpeg_encoder.cpp",
"src/jpeg.... |
pkrumins/node-jpeg | c7f822d9fd84d9261423a28aa3aef5dbff1991d4 | node-waf --> node-gyp compatible for node 0.10.x | diff --git a/binding.gyp b/binding.gyp
new file mode 100644
index 0000000..160f8f6
--- /dev/null
+++ b/binding.gyp
@@ -0,0 +1,45 @@
+{
+ "targets": [
+ {
+ "target_name": "jpeg",
+ "sources": [
+ "src/common.cpp",
+ "src/jpeg_encoder.cpp",
+ "... |
pkrumins/node-jpeg | af1874056013dde2770db8052388a51286687660 | 1.0.3 now | diff --git a/package.json b/package.json
index 18e2b8e..ce43a89 100644
--- a/package.json
+++ b/package.json
@@ -1,35 +1,35 @@
{
"name": "jpeg",
- "version": "1.0.2",
+ "version": "1.0.3",
"main": "build/Release/jpeg",
"description": "A C++ module for node-js that converts RGB and RGBA buffers to a JPE... |
pkrumins/node-jpeg | cc9c4a4fe0b540c9279dedcf25f80f3043ddd551 | Revert "show encode timings" | diff --git a/src/jpeg_encoder.cpp b/src/jpeg_encoder.cpp
index 0cf6d03..0ff82de 100644
--- a/src/jpeg_encoder.cpp
+++ b/src/jpeg_encoder.cpp
@@ -1,218 +1,210 @@
#include "jpeg_encoder.h"
-#include "time.h"
JpegEncoder::JpegEncoder(unsigned char *ddata, int wwidth, int hheight,
int qquality, buffer_type bbuf_ty... |
pkrumins/node-jpeg | 57697029aa659dba943fbb1df5f7652a5a0171a6 | show encode timings | diff --git a/src/jpeg_encoder.cpp b/src/jpeg_encoder.cpp
index 0ff82de..0cf6d03 100644
--- a/src/jpeg_encoder.cpp
+++ b/src/jpeg_encoder.cpp
@@ -1,210 +1,218 @@
#include "jpeg_encoder.h"
+#include "time.h"
JpegEncoder::JpegEncoder(unsigned char *ddata, int wwidth, int hheight,
int qquality, buffer_type bbuf_ty... |
pkrumins/node-jpeg | 410331853192bb75692d2b7ad6d1a1429d0ae8cc | Added smoothing option | diff --git a/src/jpeg.cpp b/src/jpeg.cpp
index 3231756..cf0a0eb 100644
--- a/src/jpeg.cpp
+++ b/src/jpeg.cpp
@@ -1,232 +1,262 @@
#include <node.h>
#include <node_buffer.h>
#include <jpeglib.h>
#include <cstdlib>
#include <cstring>
#include "common.h"
#include "jpeg.h"
#include "jpeg_encoder.h"
#include "buff... |
pkrumins/node-jpeg | 55fa704d722b7afbfbca561cbba8178509ceb89e | bump to v1.0.2 | diff --git a/package.json b/package.json
index ccf4e9f..18e2b8e 100644
--- a/package.json
+++ b/package.json
@@ -1,35 +1,35 @@
{
"name": "jpeg",
- "version": "1.0.1",
+ "version": "1.0.2",
"main": "build/Release/jpeg",
"description": "A C++ module for node-js that converts RGB and RGBA buffers to a JPE... |
pkrumins/node-jpeg | 4f19eac298ec3eab451a788f45394a6d83c00815 | bump to v1.0.1 | diff --git a/package.json b/package.json
index 017cc89..896f474 100644
--- a/package.json
+++ b/package.json
@@ -1,35 +1,35 @@
{
"name": "jpeg",
- "version": "1.0.0",
+ "version": "1.0.1",
"main": "build/Release/jpeg",
"description": "A C++ module for node-js that converts RGB and RGBA buffers to a JPE... |
pkrumins/node-jpeg | ea0e11391df942792e76e6002d5dce60b67b1037 | fix buffer unwraps | diff --git a/src/dynamic_jpeg_stack.cpp b/src/dynamic_jpeg_stack.cpp
index 66afd10..77058a6 100644
--- a/src/dynamic_jpeg_stack.cpp
+++ b/src/dynamic_jpeg_stack.cpp
@@ -1,478 +1,478 @@
#include <node.h>
#include <node_buffer.h>
#include <jpeglib.h>
#include <cstdlib>
#include <cstring>
#include "common.h"
#inc... |
pkrumins/node-jpeg | b1f2b69e98ab198832310292fbf43e127ae35b68 | BufferData -> Buffer::Data | diff --git a/src/dynamic_jpeg_stack.cpp b/src/dynamic_jpeg_stack.cpp
index 949c248..66afd10 100644
--- a/src/dynamic_jpeg_stack.cpp
+++ b/src/dynamic_jpeg_stack.cpp
@@ -1,478 +1,478 @@
#include <node.h>
#include <node_buffer.h>
#include <jpeglib.h>
#include <cstdlib>
#include <cstring>
#include "common.h"
#inc... |
pkrumins/node-jpeg | df3f6b0c5e264602491e64cb2a670504e3cffa85 | no longer use ObjectWrap::Unwrap for Buffer | diff --git a/src/fixed_jpeg_stack.cpp b/src/fixed_jpeg_stack.cpp
index 4ff291a..ed75fe1 100644
--- a/src/fixed_jpeg_stack.cpp
+++ b/src/fixed_jpeg_stack.cpp
@@ -1,343 +1,343 @@
#include <node.h>
#include <node_buffer.h>
#include <jpeglib.h>
#include <cstdlib>
#include <cstring>
#include "common.h"
#include "fi... |
pkrumins/node-jpeg | a0fd478aaf586299097900c746bca879cf0ef2bd | BufferData -> Buffer::Data | diff --git a/src/fixed_jpeg_stack.cpp b/src/fixed_jpeg_stack.cpp
index 56be937..4ff291a 100644
--- a/src/fixed_jpeg_stack.cpp
+++ b/src/fixed_jpeg_stack.cpp
@@ -1,343 +1,343 @@
#include <node.h>
#include <node_buffer.h>
#include <jpeglib.h>
#include <cstdlib>
#include <cstring>
#include "common.h"
#include "fi... |
pkrumins/node-jpeg | a75bfe0d05629ac9bd870bd357c201abad76e698 | add cast to unsigned char* | diff --git a/src/jpeg.cpp b/src/jpeg.cpp
index dbd5c12..3231756 100644
--- a/src/jpeg.cpp
+++ b/src/jpeg.cpp
@@ -1,232 +1,232 @@
#include <node.h>
#include <node_buffer.h>
#include <jpeglib.h>
#include <cstdlib>
#include <cstring>
#include "common.h"
#include "jpeg.h"
#include "jpeg_encoder.h"
#include "buff... |
pkrumins/node-jpeg | c561defef9328befc5103320f5849e8c5648c06c | fix conflicting declaration | diff --git a/src/jpeg.cpp b/src/jpeg.cpp
index 6f2c0c8..dbd5c12 100644
--- a/src/jpeg.cpp
+++ b/src/jpeg.cpp
@@ -1,232 +1,232 @@
#include <node.h>
#include <node_buffer.h>
#include <jpeglib.h>
#include <cstdlib>
#include <cstring>
#include "common.h"
#include "jpeg.h"
#include "jpeg_encoder.h"
#include "buff... |
pkrumins/node-jpeg | af82a61d7d52effe060c30fc7f4489a6d8c8d02e | make Jpeg compatible to node 6 | diff --git a/src/jpeg.cpp b/src/jpeg.cpp
index 1d3c418..6f2c0c8 100644
--- a/src/jpeg.cpp
+++ b/src/jpeg.cpp
@@ -1,232 +1,232 @@
#include <node.h>
#include <node_buffer.h>
#include <jpeglib.h>
#include <cstdlib>
#include <cstring>
#include "common.h"
#include "jpeg.h"
#include "jpeg_encoder.h"
#include "buff... |
pkrumins/node-jpeg | d561a09fc6ab5ab7a0415c3b239eee12878d490a | BufferData -> Buffer::Data | diff --git a/src/jpeg.cpp b/src/jpeg.cpp
index 625597a..1d3c418 100644
--- a/src/jpeg.cpp
+++ b/src/jpeg.cpp
@@ -1,232 +1,232 @@
#include <node.h>
#include <node_buffer.h>
#include <jpeglib.h>
#include <cstdlib>
#include <cstring>
#include "common.h"
#include "jpeg.h"
#include "jpeg_encoder.h"
#include "buff... |
pkrumins/node-jpeg | 00352513f9d3be690c20e8727c9279c4e18f24c2 | point main in package json to right location of compiled module | diff --git a/package.json b/package.json
index 2c61ebd..2e46206 100644
--- a/package.json
+++ b/package.json
@@ -1,43 +1,43 @@
{
"name": "jpeg",
"version": "1.0.0",
- "main": "jpeg",
+ "main": "build/Release/jpeg",
"description": "A C++ module for node-js that converts RGB and RGBA buffers to a JPEG im... |
pkrumins/node-jpeg | 4a73ef5d6892970183875c8f60754d9202c7f043 | adapt to change in `eio_custom` signature | diff --git a/src/dynamic_jpeg_stack.cpp b/src/dynamic_jpeg_stack.cpp
index 9554ddb..949c248 100644
--- a/src/dynamic_jpeg_stack.cpp
+++ b/src/dynamic_jpeg_stack.cpp
@@ -1,480 +1,478 @@
#include <node.h>
#include <node_buffer.h>
#include <jpeglib.h>
#include <cstdlib>
#include <cstring>
#include "common.h"
#inc... |
pkrumins/node-jpeg | 477a84c1d1e53ae6caf991b9cfcb2ba42062ffa9 | integrated buffer helpers | diff --git a/src/dynamic_jpeg_stack.cpp b/src/dynamic_jpeg_stack.cpp
index 8969ce5..9554ddb 100644
--- a/src/dynamic_jpeg_stack.cpp
+++ b/src/dynamic_jpeg_stack.cpp
@@ -1,479 +1,480 @@
#include <node.h>
#include <node_buffer.h>
#include <jpeglib.h>
#include <cstdlib>
#include <cstring>
#include "common.h"
#inc... |
pkrumins/node-jpeg | b86cfa653586e247bd5bd889990056d22af771a9 | added buffer compatibility helpers to avoid node version conflicts | diff --git a/src/buffer_compat.cpp b/src/buffer_compat.cpp
new file mode 100644
index 0000000..24dac9c
--- /dev/null
+++ b/src/buffer_compat.cpp
@@ -0,0 +1,58 @@
+#include <node.h>
+#include <node_buffer.h>
+#include <node_version.h>
+#include <v8.h>
+#include "buffer_compat.h"
+
+
+#if NODE_MINOR_VERSION < 3
+
+
+char... |
pkrumins/node-jpeg | 25f5f8509f1079743555b6eec2a3867f38d06ba0 | wrote a very cursory documentation of FixedJpegStack and DynamicJpegStack | diff --git a/readme.txt b/readme.txt
index b5215a3..65334ac 100644
--- a/readme.txt
+++ b/readme.txt
@@ -1,39 +1,126 @@
This is a node.js module, writen in C++, that uses libjpeg to produce a JPEG
image (in memory) from a buffer of RGBA or RGB values. Since JPEG has no notion
of A (alpha), the module always uses j... |
pkrumins/node-jpeg | 7090e1bbb2075aa09e41381b866db72b591fa9be | DynamicJpegStack now returns Buffer | diff --git a/examples/dynamic-jpeg-stack-async.js b/examples/dynamic-jpeg-stack-async.js
index 114bea2..90b43e3 100644
--- a/examples/dynamic-jpeg-stack-async.js
+++ b/examples/dynamic-jpeg-stack-async.js
@@ -1,35 +1,33 @@
var JpegLib = require('jpeg');
var fs = require('fs');
var sys = require('sys');
var Buffer =... |
pkrumins/node-jpeg | 1b2ac0c36b64ee00a5eea07893e74422de275124 | FixedJpegStack now returns Buffer | diff --git a/examples/fixed-jpeg-stack-async.js b/examples/fixed-jpeg-stack-async.js
index 40f34a0..e8c8da7 100644
--- a/examples/fixed-jpeg-stack-async.js
+++ b/examples/fixed-jpeg-stack-async.js
@@ -1,29 +1,27 @@
var JpegLib = require('jpeg');
var fs = require('fs');
var sys = require('sys');
var Buffer = require... |
pkrumins/node-jpeg | 7104754541637d7f56dfc20984235433860d7704 | Jpeg now returns Buffer | diff --git a/examples/jpeg-example-async.js b/examples/jpeg-example-async.js
index 477feb8..4553cff 100644
--- a/examples/jpeg-example-async.js
+++ b/examples/jpeg-example-async.js
@@ -1,14 +1,12 @@
var fs = require('fs');
var sys = require('sys');
var Jpeg = require('../jpeg').Jpeg;
var Buffer = require('buffer')... |
pkrumins/node-jpeg | bdf1b7fd027c71e919859fdcf302e5befacd44e7 | added async example for dynamic jpeg stack | diff --git a/examples/dynamic-jpeg-stack-async.js b/examples/dynamic-jpeg-stack-async.js
new file mode 100644
index 0000000..114bea2
--- /dev/null
+++ b/examples/dynamic-jpeg-stack-async.js
@@ -0,0 +1,35 @@
+var JpegLib = require('jpeg');
+var fs = require('fs');
+var sys = require('sys');
+var Buffer = require('buffer... |
pkrumins/node-jpeg | 1a5f26bb3400dfc33616b92e7aa6bd05eac9f273 | this example now uses the new encodeSync function | diff --git a/examples/dynamic-jpeg-stack.js b/examples/dynamic-jpeg-stack.js
index d100188..12524d2 100644
--- a/examples/dynamic-jpeg-stack.js
+++ b/examples/dynamic-jpeg-stack.js
@@ -1,35 +1,35 @@
var JpegLib = require('jpeg');
var fs = require('fs');
var sys = require('sys');
var Buffer = require('buffer').Buffe... |
pkrumins/node-jpeg | 2f94fe9ec7c7c41ab15fdee24eb24d5cb255ced2 | dynamic jpeg stack is now async | diff --git a/src/dynamic_jpeg_stack.cpp b/src/dynamic_jpeg_stack.cpp
index d2416f7..0f06c04 100644
--- a/src/dynamic_jpeg_stack.cpp
+++ b/src/dynamic_jpeg_stack.cpp
@@ -1,376 +1,476 @@
#include <node.h>
#include <node_buffer.h>
#include <jpeglib.h>
#include <cstdlib>
#include <cstring>
#include "common.h"
#inc... |
pkrumins/node-jpeg | 47b2af14e180823cd9583100583451491e93cc68 | add async example and update old example to use the new encodeSync function | diff --git a/examples/fixed-jpeg-stack-async.js b/examples/fixed-jpeg-stack-async.js
new file mode 100644
index 0000000..40f34a0
--- /dev/null
+++ b/examples/fixed-jpeg-stack-async.js
@@ -0,0 +1,29 @@
+var JpegLib = require('jpeg');
+var fs = require('fs');
+var sys = require('sys');
+var Buffer = require('buffer').Buf... |
pkrumins/node-jpeg | 0a6559996d0e51222c047b0e5e7bc31b8d72ece7 | fixed jpeg stack is now async | diff --git a/src/fixed_jpeg_stack.cpp b/src/fixed_jpeg_stack.cpp
index 9380b50..fdc88d5 100644
--- a/src/fixed_jpeg_stack.cpp
+++ b/src/fixed_jpeg_stack.cpp
@@ -1,246 +1,341 @@
#include <node.h>
#include <node_buffer.h>
#include <jpeglib.h>
#include <cstdlib>
#include <cstring>
#include "common.h"
#include "fi... |
pkrumins/node-jpeg | 4020d264f7495af27c2c37cf914c23a67c698b33 | Jpeg class is now async! | diff --git a/examples/jpeg-example-async.js b/examples/jpeg-example-async.js
new file mode 100644
index 0000000..477feb8
--- /dev/null
+++ b/examples/jpeg-example-async.js
@@ -0,0 +1,14 @@
+var fs = require('fs');
+var sys = require('sys');
+var Jpeg = require('../jpeg').Jpeg;
+var Buffer = require('buffer').Buffer;
+... |
pkrumins/node-jpeg | 30fce44baa2be517eb9d758883adcbc51739fa69 | move to switch/case. forgot to free converted BUF_BGR data pointer | diff --git a/src/jpeg_encoder.cpp b/src/jpeg_encoder.cpp
index f01155f..97aa948 100644
--- a/src/jpeg_encoder.cpp
+++ b/src/jpeg_encoder.cpp
@@ -1,200 +1,204 @@
#include "jpeg_encoder.h"
JpegEncoder::JpegEncoder(unsigned char *ddata, int wwidth, int hheight,
int qquality, buffer_type bbuf_type)
:
dat... |
pkrumins/node-jpeg | 448bea70f96eb07c61bdbc3d64e0e562d607ff84 | improve the same code madness as in dynamic jpeg stack | diff --git a/src/fixed_jpeg_stack.cpp b/src/fixed_jpeg_stack.cpp
index afbcc10..9380b50 100644
--- a/src/fixed_jpeg_stack.cpp
+++ b/src/fixed_jpeg_stack.cpp
@@ -1,230 +1,246 @@
#include <node.h>
#include <node_buffer.h>
#include <jpeglib.h>
#include <cstdlib>
#include <cstring>
#include "common.h"
#include "fi... |
pkrumins/node-jpeg | 1aef540cc4594e9bf0f00ae9f2754e303cdc9969 | make this a switch/case instead of if/else if/else if/..., too | diff --git a/src/dynamic_jpeg_stack.cpp b/src/dynamic_jpeg_stack.cpp
index fe7feaa..d2416f7 100644
--- a/src/dynamic_jpeg_stack.cpp
+++ b/src/dynamic_jpeg_stack.cpp
@@ -1,360 +1,376 @@
#include <node.h>
#include <node_buffer.h>
#include <jpeglib.h>
#include <cstdlib>
#include <cstring>
#include "common.h"
#inc... |
pkrumins/node-jpeg | 97d96d3004319321958668881abcbc5e10a52bcd | improved this crayzy code | diff --git a/src/dynamic_jpeg_stack.cpp b/src/dynamic_jpeg_stack.cpp
index e5042f4..fe7feaa 100644
--- a/src/dynamic_jpeg_stack.cpp
+++ b/src/dynamic_jpeg_stack.cpp
@@ -1,353 +1,360 @@
#include <node.h>
#include <node_buffer.h>
#include <jpeglib.h>
#include <cstdlib>
#include <cstring>
#include "common.h"
#inc... |
pkrumins/node-jpeg | 9407c4bdfca40eccbb1dce5c83ce49e43d4980b0 | quality is no longer an argument to ctor. fix examples. 'rgb' is now the default buffer input type. | diff --git a/examples/dynamic-jpeg-stack.js b/examples/dynamic-jpeg-stack.js
index ed78100..d100188 100644
--- a/examples/dynamic-jpeg-stack.js
+++ b/examples/dynamic-jpeg-stack.js
@@ -1,35 +1,35 @@
var JpegLib = require('jpeg');
var fs = require('fs');
var sys = require('sys');
var Buffer = require('buffer').Buffe... |
pkrumins/node-jpeg | 7248a56b665e7b96063f0ff7c2778f51dc1b3c71 | rename .cc -> .cpp | diff --git a/package.json b/package.json
index 3d70dd8..2c61ebd 100644
--- a/package.json
+++ b/package.json
@@ -1,42 +1,43 @@
{
"name": "jpeg",
"version": "1.0.0",
"main": "jpeg",
"description": "A C++ module for node-js that converts RGB and RGBA buffers to a JPEG images (in memory).",
"keywords"... |
pkrumins/node-jpeg | 01fa97a074c93bc459905279a3d633c7e05c46fb | could sometimes double-free. push now works with all buffer types (rgb, bgr, rgba, bgra) | diff --git a/src/dynamic_jpeg_stack.cc b/src/dynamic_jpeg_stack.cc
index 03c9cc7..cf45c13 100644
--- a/src/dynamic_jpeg_stack.cc
+++ b/src/dynamic_jpeg_stack.cc
@@ -1,289 +1,323 @@
#include <node.h>
#include <node_buffer.h>
#include <jpeglib.h>
#include <cstdlib>
#include <cstring>
#include "common.h"
#include... |
pkrumins/node-jpeg | f0ced113539c05458914c8aa6aba769f3ccf782c | recognize 'bgr' and 'bgra' arguments. | diff --git a/src/dynamic_jpeg_stack.cc b/src/dynamic_jpeg_stack.cc
index 4c0412a..03c9cc7 100644
--- a/src/dynamic_jpeg_stack.cc
+++ b/src/dynamic_jpeg_stack.cc
@@ -1,285 +1,289 @@
#include <node.h>
#include <node_buffer.h>
#include <jpeglib.h>
#include <cstdlib>
#include <cstring>
#include "common.h"
#include... |
pkrumins/node-jpeg | 6e71c07fb7c4deac0f8d3ad9522ec7f91f8afe81 | make encoder work with older libjpegs, such as libjpeg-turbo | diff --git a/src/jpeg_encoder.cc b/src/jpeg_encoder.cc
index 733829c..bcb6b1d 100644
--- a/src/jpeg_encoder.cc
+++ b/src/jpeg_encoder.cc
@@ -1,96 +1,194 @@
#include "jpeg_encoder.h"
JpegEncoder::JpegEncoder(unsigned char *ddata, int wwidth, int hheight,
int qquality, buffer_type bbuf_type)
:
data(dda... |
pkrumins/node-jpeg | 49cc12c4447fd7a37f1d6a279fa24e0c8aff7d10 | output dims | diff --git a/examples/dynamic-jpeg-stack.js b/examples/dynamic-jpeg-stack.js
index e46842f..ed78100 100644
--- a/examples/dynamic-jpeg-stack.js
+++ b/examples/dynamic-jpeg-stack.js
@@ -1,32 +1,35 @@
var JpegLib = require('jpeg');
var fs = require('fs');
var sys = require('sys');
var Buffer = require('buffer').Buffe... |
pkrumins/node-jpeg | cd3d203b4a90d3584496041adc8f1a142151b13a | remove debug statement | diff --git a/src/dynamic_jpeg_stack.cc b/src/dynamic_jpeg_stack.cc
index 5c07a81..4c0412a 100644
--- a/src/dynamic_jpeg_stack.cc
+++ b/src/dynamic_jpeg_stack.cc
@@ -1,287 +1,285 @@
#include <node.h>
#include <node_buffer.h>
#include <jpeglib.h>
#include <cstdlib>
#include <cstring>
#include "common.h"
#include... |
pkrumins/node-jpeg | d5693fc78af1571faf8dea07e4587c1726398ee5 | optimal dimension now gets computed on the fly. added .reset method to reset optimal dimension | diff --git a/src/dynamic_jpeg_stack.cc b/src/dynamic_jpeg_stack.cc
index 8f02748..5c07a81 100644
--- a/src/dynamic_jpeg_stack.cc
+++ b/src/dynamic_jpeg_stack.cc
@@ -1,271 +1,287 @@
#include <node.h>
#include <node_buffer.h>
#include <jpeglib.h>
#include <cstdlib>
#include <cstring>
#include "common.h"
#include... |
pkrumins/node-jpeg | 5d581171f73e63484db5940b0aa5edd2c770f609 | no need for repeated code, just set start correctly | diff --git a/src/jpeg_encoder.cc b/src/jpeg_encoder.cc
index aad41b2..733829c 100644
--- a/src/jpeg_encoder.cc
+++ b/src/jpeg_encoder.cc
@@ -1,102 +1,96 @@
#include "jpeg_encoder.h"
JpegEncoder::JpegEncoder(unsigned char *ddata, int wwidth, int hheight,
int qquality, buffer_type bbuf_type)
:
data(dda... |
pkrumins/node-jpeg | baa4946d56214589a456a322eb1de75091ff8204 | added dynamic jpeg stack example | diff --git a/examples/dynamic-jpeg-stack.js b/examples/dynamic-jpeg-stack.js
new file mode 100644
index 0000000..e46842f
--- /dev/null
+++ b/examples/dynamic-jpeg-stack.js
@@ -0,0 +1,32 @@
+var JpegLib = require('jpeg');
+var fs = require('fs');
+var sys = require('sys');
+var Buffer = require('buffer').Buffer;
+
+// -... |
pkrumins/node-jpeg | c50cb32a6943cda78a0f4752ac084d09df10fa92 | compile dynamic_jpeg_stack.cc | diff --git a/wscript b/wscript
index 0fe0a33..2ecb0fe 100644
--- a/wscript
+++ b/wscript
@@ -1,29 +1,29 @@
import Options
from os import unlink, symlink, popen
from os.path import exists
srcdir = "."
blddir = "build"
VERSION = "0.0.1"
def set_options(opt):
opt.tool_options("compiler_cxx")
def configur... |
pkrumins/node-jpeg | ccb381ac101ac3db983a58b7fecc114c7bf77415 | export DynamicJpegStack to node | diff --git a/src/module.cc b/src/module.cc
index d4ddb5f..593142d 100644
--- a/src/module.cc
+++ b/src/module.cc
@@ -1,15 +1,17 @@
#include <node.h>
#include "jpeg.h"
#include "fixed_jpeg_stack.h"
+#include "dynamic_jpeg_stack.h"
using namespace v8;
extern "C" void
init(Handle<Object> target)
{
Handle... |
pkrumins/node-jpeg | 7c94f02b5f99f00f20e18b585fce19ae6e90d7a7 | added setRect to encode a subrect only (used in dynamic jpeg stack) | diff --git a/src/jpeg_encoder.cc b/src/jpeg_encoder.cc
index 0a6c7e5..aad41b2 100644
--- a/src/jpeg_encoder.cc
+++ b/src/jpeg_encoder.cc
@@ -1,78 +1,102 @@
#include "jpeg_encoder.h"
JpegEncoder::JpegEncoder(unsigned char *ddata, int wwidth, int hheight,
int qquality, buffer_type bbuf_type)
:
data(dda... |
pkrumins/node-jpeg | 23af6ee3efeedcd72da437b4ded2952b599ec20b | added Point and Rect classes | diff --git a/src/common.h b/src/common.h
index 15168a2..abbeb8c 100644
--- a/src/common.h
+++ b/src/common.h
@@ -1,17 +1,30 @@
#ifndef COMMON_H
#define COMMON_H
#include <node.h>
#include <cstring>
v8::Handle<v8::Value> VException(const char *msg);
+struct Point {
+ int x, y;
+ Point() {}
+ Point(in... |
pkrumins/node-jpeg | 7cb2e806dcd9aa2042729fd406972644bc0c9d25 | added dynamic jpeg stack | diff --git a/src/dynamic_jpeg_stack.cc b/src/dynamic_jpeg_stack.cc
new file mode 100644
index 0000000..8f02748
--- /dev/null
+++ b/src/dynamic_jpeg_stack.cc
@@ -0,0 +1,271 @@
+#include <node.h>
+#include <node_buffer.h>
+#include <jpeglib.h>
+#include <cstdlib>
+#include <cstring>
+
+#include "common.h"
+#include "dyna... |
pkrumins/node-jpeg | d0971cc950312cd24e87879c591af7f932a3de88 | added FixedJpegStack | diff --git a/examples/fixed-jpeg-stack.js b/examples/fixed-jpeg-stack.js
new file mode 100644
index 0000000..3546814
--- /dev/null
+++ b/examples/fixed-jpeg-stack.js
@@ -0,0 +1,27 @@
+var JpegLib = require('jpeg');
+var fs = require('fs');
+var sys = require('sys');
+var Buffer = require('buffer').Buffer;
+
+var jpegSt... |
pkrumins/node-jpeg | 7e938fab97c3d0ed9294e7179808220b9870490f | i like this weird syntax better | diff --git a/src/jpeg_encoder.cc b/src/jpeg_encoder.cc
index 7ff7d8f..0a6c7e5 100644
--- a/src/jpeg_encoder.cc
+++ b/src/jpeg_encoder.cc
@@ -1,77 +1,78 @@
#include "jpeg_encoder.h"
JpegEncoder::JpegEncoder(unsigned char *ddata, int wwidth, int hheight,
- int qquality, buffer_type bbuf_type) :
+ int qquality, ... |
pkrumins/node-jpeg | f3d4a507b7ad2ac128d7e8ac0b10e29bd6700f40 | added two checks for w<0 and h<0 | diff --git a/src/jpeg.cc b/src/jpeg.cc
index a30a754..9e1e3c8 100644
--- a/src/jpeg.cc
+++ b/src/jpeg.cc
@@ -1,94 +1,98 @@
#include <node.h>
#include <node_buffer.h>
#include <jpeglib.h>
#include <cstdlib>
#include <cstring>
#include "common.h"
#include "jpeg.h"
#include "jpeg_encoder.h"
using namespace v8... |
pkrumins/node-jpeg | 501af33427bc748b2b332234656f2bd3ab61efaa | move everything to src/ dir | diff --git a/common.cc b/src/common.cc
similarity index 100%
rename from common.cc
rename to src/common.cc
diff --git a/common.h b/src/common.h
similarity index 100%
rename from common.h
rename to src/common.h
diff --git a/jpeg.cc b/src/jpeg.cc
similarity index 100%
rename from jpeg.cc
rename to src/jpeg.cc
diff --git ... |
pkrumins/node-jpeg | 9086976f9b5508eda43366138421cc318ec4478e | factored node-jpeg | diff --git a/common.cc b/common.cc
new file mode 100644
index 0000000..490241c
--- /dev/null
+++ b/common.cc
@@ -0,0 +1,67 @@
+#include <cstdlib>
+#include <cassert>
+#include "common.h"
+
+using namespace v8;
+
+Handle<Value>
+VException(const char *msg) {
+ HandleScope scope;
+ return ThrowException(Exception::... |
pkrumins/node-jpeg | efcef0f0edb5f95df0a68098374509e7e58585e0 | better notation | diff --git a/jpeg.cc b/jpeg.cc
index dbb0101..06fd4a6 100644
--- a/jpeg.cc
+++ b/jpeg.cc
@@ -1,154 +1,170 @@
#include <node.h>
#include <node_buffer.h>
#include <jpeglib.h>
#include <cstdlib>
#include <cstring>
+#include <cassert>
using namespace v8;
using namespace node;
static Handle<Value>
VException(co... |
pkrumins/node-jpeg | b1fa21d392ef7b38332966e608b1301bec15aca1 | remove comma from package.json | diff --git a/package.json b/package.json
index 8c94570..3d70dd8 100644
--- a/package.json
+++ b/package.json
@@ -1,42 +1,42 @@
{
"name": "jpeg",
"version": "1.0.0",
"main": "jpeg",
"description": "A C++ module for node-js that converts RGB and RGBA buffers to a JPEG images (in memory).",
"keywords"... |
pkrumins/node-jpeg | 629cff265b14f3007483f9fc2ea483b9bcee09f7 | added .npmignore | diff --git a/.npmignore b/.npmignore
new file mode 100644
index 0000000..b969101
--- /dev/null
+++ b/.npmignore
@@ -0,0 +1,3 @@
+build
+discovery
+jpeg.node
|
pkrumins/node-jpeg | cb154dc4161dd9290feedc32acf3c30848ed2f3c | package.json npm ready | diff --git a/package.json b/package.json
index 3499752..8c94570 100644
--- a/package.json
+++ b/package.json
@@ -1,43 +1,42 @@
{
- "name": "node-jpeg",
- "version": "1.0",
- "description": "A C++ module for node-js that converts an RGBA buffer to a JPEG image (in memory).",
+ "name": "jpeg",
+ "version": "1.... |
pkrumins/node-jpeg | 84f72253e1758e3db9c505929168f9dfa1ee3ea4 | V8 exceptions get returned not thrown, so I had to modify the code to return them | diff --git a/jpeg.cc b/jpeg.cc
index 498dc05..dbb0101 100644
--- a/jpeg.cc
+++ b/jpeg.cc
@@ -1,143 +1,154 @@
#include <node.h>
#include <node_buffer.h>
#include <jpeglib.h>
#include <cstdlib>
#include <cstring>
using namespace v8;
using namespace node;
+static Handle<Value>
+VException(const char *msg) {
+ ... |
pkrumins/node-jpeg | ac3591d5f13968be94e3c5baadec44ea8912383b | discovery/ is hacks to figure out how stuff works, before coding anything else up | diff --git a/discovery/jpeg.c b/discovery/jpeg.c
new file mode 100644
index 0000000..e9288fe
--- /dev/null
+++ b/discovery/jpeg.c
@@ -0,0 +1,140 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <jpeglib.h>
+
+#define WIDTH 720
+#define HEIGHT 400
+
+#define SIZE 720*400*4
+
+#define OUTFILE "jpeg.jpeg"
+
+unsigned... |
pkrumins/node-jpeg | dc22ecf526b667863a6f675c6966eec2d80e83c8 | no more events. | diff --git a/examples/jpeg-example.js b/examples/jpeg-example.js
index ba6657b..3e8dded 100644
--- a/examples/jpeg-example.js
+++ b/examples/jpeg-example.js
@@ -1,24 +1,14 @@
var fs = require('fs');
var sys = require('sys');
var Jpeg = require('../jpeg').Jpeg;
var Buffer = require('buffer').Buffer;
// the rgba-... |
pkrumins/node-jpeg | 0e0d3480ea20bf679b517dca3f427b3dd6cbd7a1 | png is not jpeg | diff --git a/examples/jpeg-example2.js b/examples/jpeg-example2.js
index 84b4ed8..dd5930a 100644
--- a/examples/jpeg-example2.js
+++ b/examples/jpeg-example2.js
@@ -1,29 +1,29 @@
var fs = require('fs');
var sys = require('sys');
var Jpeg = require('../jpeg').Jpeg;
var Buffer = require('buffer').Buffer;
var WIDT... |
pkrumins/node-jpeg | ed33d83dc4d9c8f29d3aa118ca8bb506befc4594 | it's working | diff --git a/examples/jpeg-example.js b/examples/jpeg-example.js
new file mode 100644
index 0000000..ba6657b
--- /dev/null
+++ b/examples/jpeg-example.js
@@ -0,0 +1,24 @@
+var fs = require('fs');
+var sys = require('sys');
+var Jpeg = require('../jpeg').Jpeg;
+var Buffer = require('buffer').Buffer;
+
+// the rgba-term... |
cincinnatirb/Suggestion-Box | 6951b20e4a3aa5fb2ff13d4edf32cb020df8b254 | Don't use http urls for git repositories | diff --git a/Gemfile b/Gemfile
index b856465..deb13a5 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,14 +1,14 @@
source :gemcutter
gem "rails", "3.0.0"
gem "sqlite3-ruby", :require => "sqlite3"
-gem 'formtastic', :git => "http://github.com/justinfrench/formtastic.git", :branch => "rails3"
+gem 'formtastic', :git => "git... |
cincinnatirb/Suggestion-Box | 7fa12c55eb4c9f29308b9fae28fc4e1859a0863f | Upgrading to Rails 3.0.0 final | diff --git a/Gemfile b/Gemfile
index 7091e47..b856465 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,14 +1,14 @@
source :gemcutter
-gem "rails", "3.0.0.rc"
+gem "rails", "3.0.0"
gem "sqlite3-ruby", :require => "sqlite3"
gem 'formtastic', :git => "http://github.com/justinfrench/formtastic.git", :branch => "rails3"
gem "... |
cincinnatirb/Suggestion-Box | 0afe1d7dd7c0b8eba453d045e3609317be52e82a | Using Capybara for integration testing. | diff --git a/Gemfile b/Gemfile
index 4b4c94c..7091e47 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,12 +1,14 @@
source :gemcutter
gem "rails", "3.0.0.rc"
gem "sqlite3-ruby", :require => "sqlite3"
gem 'formtastic', :git => "http://github.com/justinfrench/formtastic.git", :branch => "rails3"
+gem "escape_utils"
group... |
cincinnatirb/Suggestion-Box | 49160e1ea366b5b416c108c40185326f00decb3e | generating formtastic stylesheets | diff --git a/config/initializers/formtastic.rb b/config/initializers/formtastic.rb
new file mode 100644
index 0000000..bb710ef
--- /dev/null
+++ b/config/initializers/formtastic.rb
@@ -0,0 +1,54 @@
+# Set the default text field size when input is a string. Default is 50.
+# Formtastic::SemanticFormBuilder.default_text_... |
cincinnatirb/Suggestion-Box | 63cd15359490dbe7e5f5f11999aa44d6e2e139e4 | add ability to show a topic (aka, a suggestion) | diff --git a/app/controllers/topics_controller.rb b/app/controllers/topics_controller.rb
index 2142098..4be8cf1 100644
--- a/app/controllers/topics_controller.rb
+++ b/app/controllers/topics_controller.rb
@@ -1,18 +1,22 @@
class TopicsController < ApplicationController
def index
@topics = Topic.all
end
... |
cincinnatirb/Suggestion-Box | b9519e6c97178b20bc096d9d82330f5e17d0305d | Fancy up the home page with a "no topics yet" message. | diff --git a/app/views/topics/index.html.erb b/app/views/topics/index.html.erb
index 8582d35..d1a194d 100644
--- a/app/views/topics/index.html.erb
+++ b/app/views/topics/index.html.erb
@@ -1,8 +1,13 @@
-<h1>Topics</h1>
-<ul>
- <%= render @topics %>
-</ul>
+<h2>Suggestion Box</h2>
-<p>
- <%= link_to "Submit a new To... |
cincinnatirb/Suggestion-Box | 0cecf7fb2d6f902e46fbfe2fd1589c5660b0987a | Add vendor/cache to source control so bundle install will install from there in prod. | diff --git a/vendor/cache/abstract-1.0.0.gem b/vendor/cache/abstract-1.0.0.gem
new file mode 100644
index 0000000..a9be232
Binary files /dev/null and b/vendor/cache/abstract-1.0.0.gem differ
diff --git a/vendor/cache/actionmailer-3.0.0.rc.gem b/vendor/cache/actionmailer-3.0.0.rc.gem
new file mode 100644
index 0000000..... |
cincinnatirb/Suggestion-Box | d457eb70484c97a88cd05c797dff9a8584dc4e10 | converting "==" heading markers to working markdown headers | diff --git a/README.md b/README.md
index 1016d5a..3d4bb4e 100644
--- a/README.md
+++ b/README.md
@@ -1,306 +1,306 @@
-== Welcome to the Cincinnati Ruby Brigade's Suggestion Box
+# Welcome to the Cincinnati Ruby Brigade's Suggestion Box
This app started as a demo project for the Cinci.rb group to work on
together. I... |
cincinnatirb/Suggestion-Box | ed3402e558ce9e8ad3ac3fefb718e6414ba1b27f | Adding some description of what the project is about | diff --git a/README.md b/README.md
index c55b7b5..1016d5a 100644
--- a/README.md
+++ b/README.md
@@ -1,296 +1,306 @@
== Welcome to the Cincinnati Ruby Brigade's Suggestion Box
+This app started as a demo project for the Cinci.rb group to work on
+together. It's serving several purposes. First, as an app for the
+new... |
cincinnatirb/Suggestion-Box | 6de1b087f22681270876fb5ae8ccf0ff119d592b | Move public/index.html to public/rails.html and update README | diff --git a/README b/README
index edeee84..c55b7b5 100644
--- a/README
+++ b/README
@@ -1,290 +1,296 @@
== Welcome to the Cincinnati Ruby Brigade's Suggestion Box
You'll need to start with:
* rvm link:http://rvm.beginrescueend.com/
** <tt>gem install rvm</tt>
* (for Windows users)
** pik link:http://github.c... |
cincinnatirb/Suggestion-Box | de9fbe90e273bdee6d1d6f0ee2051f1740312620 | better README and some typical links | diff --git a/README b/README
index 6966fe9..edeee84 100644
--- a/README
+++ b/README
@@ -1,256 +1,290 @@
+== Welcome to the Cincinnati Ruby Brigade's Suggestion Box
+
+You'll need to start with:
+
+* rvm link:http://rvm.beginrescueend.com/
+** <tt>gem install rvm</tt>
+* (for Windows users)
+** pik link:http://github.c... |
cincinnatirb/Suggestion-Box | 8b93a70c23aa0b369d35a06b1b388b71c108c184 | resolve deprecation warnings | diff --git a/app/views/topics/_topic.html.erb b/app/views/topics/_topic.html.erb
index 188a076..5b93563 100644
--- a/app/views/topics/_topic.html.erb
+++ b/app/views/topics/_topic.html.erb
@@ -1 +1 @@
-<li><%= link_to topic.title %></li>
+ <li><%= link_to topic.title, topic %></li>
diff --git a/app/views/topics/index.... |
cincinnatirb/Suggestion-Box | 2422c68dcbd68b5458e655945d2963ef8b5b311e | initial code to allow adding topics from web | diff --git a/app/controllers/topics_controller.rb b/app/controllers/topics_controller.rb
new file mode 100644
index 0000000..2142098
--- /dev/null
+++ b/app/controllers/topics_controller.rb
@@ -0,0 +1,18 @@
+class TopicsController < ApplicationController
+
+ def index
+ @topics = Topic.all
+ end
+
+ def new
+ ... |
cincinnatirb/Suggestion-Box | c2ddfe5baedc477602aef68794e7f469c9991f69 | adding formtastic and factory_girl_rails gems and other test gems | diff --git a/Gemfile b/Gemfile
index 8a03710..4b4c94c 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,4 +1,12 @@
source :gemcutter
gem "rails", "3.0.0.rc"
gem "sqlite3-ruby", :require => "sqlite3"
+gem 'formtastic', :git => "http://github.com/justinfrench/formtastic.git", :branch => "rails3"
+
+group :test do
+ gem ... |
sophacles/vim-bundle-python | 8f661092e2f79bfbdf4de76e8a490ec37e12c4cb | adding latest python.vim from vimscripts | diff --git a/ftplugin/python.vim b/ftplugin/python.vim
index 7c7cf21..e2eaa90 100644
--- a/ftplugin/python.vim
+++ b/ftplugin/python.vim
@@ -1,446 +1,547 @@
-" -*- vim -*-
-" FILE: python_fn.vim
-" LAST MODIFICATION: 2008-08-28 8:19pm
-" (C) Copyright 2001-2005 Mikael Berthe <bmikael@lists.lilotux.net>
-" Maintained by... |
sophacles/vim-bundle-python | caaf7564696e6319a465aafd960bd69d7b5bddd6 | fixed settings to be buffer-local instead of global, as that makes way more sense | diff --git a/after/ftplugin/python/python.vim b/after/ftplugin/python/python.vim
index 29ffdf5..fcf3d9f 100644
--- a/after/ftplugin/python/python.vim
+++ b/after/ftplugin/python/python.vim
@@ -1,6 +1,5 @@
-set fdm=indent
+setlocal fdm=indent
let python_highlight_all=1
-set sr
-set expandtab
-set sw=4
+setlocal expandt... |
sophacles/vim-bundle-python | 3ce3325dcbda9f58a8fd34a94bc7e6d8d3865680 | standardized my vimbundle readme format | diff --git a/README b/README
index a06e982..13cfb28 100644
--- a/README
+++ b/README
@@ -1,11 +1,12 @@
Personal stuff:
* after/ftplugin/python/*
just setting some vars and whatnot. ipy.vim is from back in the day when i
- was all about ipython<->vim communication.
+ was all about ipython<->vim communication.
... |
sophacles/vim-bundle-python | 27efaa712aaf0d0c40c0cc30b133c365629cc952 | Added some personal vim stuff | diff --git a/README b/README
index 672511d..a06e982 100644
--- a/README
+++ b/README
@@ -1,5 +1,11 @@
Personal stuff:
+* after/ftplugin/python/*
+ just setting some vars and whatnot. ipy.vim is from back in the day when i
+ was all about ipython<->vim communication.
External file sources:
-* syntax/python.vim
+*... |
sophacles/vim-bundle-python | a36d968cc05be80d94036cadfc6bfa8820d87d8b | added some ftplugin goodness | diff --git a/ftplugin/python.vim b/ftplugin/python.vim
new file mode 100644
index 0000000..7c7cf21
--- /dev/null
+++ b/ftplugin/python.vim
@@ -0,0 +1,446 @@
+" -*- vim -*-
+" FILE: python_fn.vim
+" LAST MODIFICATION: 2008-08-28 8:19pm
+" (C) Copyright 2001-2005 Mikael Berthe <bmikael@lists.lilotux.net>
+" Maintained by... |
sophacles/vim-bundle-python | 73ecea5788b1f6274d8a348bb833bc750646c4df | Added syntax highlighting. | diff --git a/README b/README
index e69de29..672511d 100644
--- a/README
+++ b/README
@@ -0,0 +1,5 @@
+Personal stuff:
+
+External file sources:
+* syntax/python.vim
+ http://www.vim.org/scripts/download_script.php?src_id=12804
diff --git a/syntax/python.vim b/syntax/python.vim
new file mode 100644
index 0000000..0e0... |
theflow/deployed_at | d9304ce332f4e8327160ccf18ad55d563779fde2 | make created_at a parameter in the API | diff --git a/deployed_at.rb b/deployed_at.rb
index 893a8a2..3132556 100644
--- a/deployed_at.rb
+++ b/deployed_at.rb
@@ -1,255 +1,255 @@
require 'rubygems'
require 'sinatra'
require 'dm-core'
-require 'dm-timestamps'
require 'net/smtp'
DataMapper.setup(:default, "sqlite3://#{Dir.pwd}/database.sqlite3")
enable... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.