labofsahil/github-event-dataset-2012 huggingface dataset:
[Finder] [FrameworkBundle] Added Finder Factory

Bug fix: no
Feature addition: yes
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -
License of the code: MIT
Documentation PR: -

Added `FinderFactoryInterface` and default `FinderFactory` implementation. The idea being able to inject a factory to create Finder instances into services rather than calling `new Finder` in each service.

Added `finder_factory` service to Framework Bundle. This will allow for services to easily consume the default FinderFactory implementation.

Mocking Finder has proven to be extremely difficult if `new Finder` is called inside the class. By injecting a mocked Finder Factory we can have the opportunity to get mocked Finder instances inside our classes for the purpose of testing.

I've created implementations of Finder Factory at least twice now for two different projects and realized it was generic enough that it probably just belonged in the Finder component so I don't have to keep rewriting it and so other people could use it.

Example class:

    <?php
    namespace My;

    use Symfony\Component\Finder\Finder;
    use Symfony\Component\Finder\FinderFactoryInterface;

    class Service
    {
        public function __construct(FinderFactoryInterface $finderFactory = null)
        {
            $this->finderFactory = $finderFactory ?: new FinderFactoryInterface;
        }
        public function findTmpFilesNew()
        {
            // Potential for mocked injected Finder Factory to return
            // a mocked Finder instance.
            $finder = $this->finderFactory()->create();

            return $finder->in(sys_get_temp_dir());
        }
        public function findTmpFilesOld()
        {
            // Difficult to Mock
            $finder = new Finder;

            return $finder->in(sys_get_temp_dir());
        }
    }


Example service:

    <service id="my_service" class="My\Service">
        <argument type="service" id="finder_factory">
    </service>


This also opens the door for "prepared" Finder instances to anyone that wants to leverage the `FinderFactoryInterface` and massage the Finder before returning it.

I can split the PR into two commits or two PR for Framework and Finder if that would be better.
Clean up

* Avoid repeatition of the same logic by using an alias afterwards (also easier in maintenance, avoids breaking one of the dupes)
* Convert trailing line comments into proper comments
* Add missing newline at EOF
* Remove redundant `?>` tag, potentially dangerous
* Minor spacing
* Else after return
Meetup 2 info
Keyboard and keymap fixes (was pull req #5)

Rebased cleanly, change pull req target to master (we've dropped 'fixes' as a branch).

Apologies for the clutter.

Original pull request was #5 by @mansandersson .  Text below:

I've changed how woce handles keyboard layouts.

The user now has to select the keyboard languages (english,french,german,swedish) he wants in the Regional Settings app (instead of qwerty, qwertz and azerty). One keyboard language can then hold any amount of keymaps (e.g. qwerty, dvorak). Upon typing the user is presented with the language key as before, by single-taping the key he switches keyboard language and by hold-and-tap he will be able to switch keymap.

The following keyboard layouts are provided:
English - Qwerty, Dvorak
French - Azerty
German - Qwertz
Swedish - Qwerty, Dvorak

I wouldn't mind if someone else tested the changes before accepting my pull request since it's quite large modifications in my opinion. :-)
Devicename as carriertext

Shows the devicename in the upper left corner of Luna (i.e. HP webOS is replaced by your devicename).
Sxm fixes

A bunch of storage xen motion fixes
늦어서 죄송합니다.

기한이 지났지만 늦게라도 제출할게요.
늦어서 진짜 죄송합니다.
lollol 팀 프로젝트 다시 제출합니다.

..
fix namespace move.
Ap guest can invite several guests at once

Added ability to add a list of emails in the invitee form
* Added two new controllers to handle yammer group and user invitees
* Removed functionality and branching from invitation controller previously required to handle different invitte types
* Added the ability to test javascript in the application
* Enhance the yammer autocomplete functionality to send requests to add invitees to the correct controller based on what type of invitee they are adding
Dev

[Feature] 添加baidu.inherits 和 baidu.base.Class 模块
[#42] эвенты становятся прошедшими только на следующий день

https://github.com/BrandyMint/Potee/issues/42
Testing

Updated testing branch.
Selector now showing.
Event_set object is now accessible in the view objects in the following way:
Event_set& set = this->getEventSet();
Some basic classes

Add classes to make more explicit parameter passing especially in constructor. For instance, we generally use a "const A & a" for passing big parameters, but the reference a may be either cloned as a data member or only referenced in the object. This ambiguity is generally removed by looking at the complete documentation, but with the new classes (Alias,ConstAlias,Clone), the user may specify Clone\<A\> a or ConstAlias\<A\> a in the signature to make explicit the distinction.
Add tree ASCII art.

This pull requests adds simple ASCII art for the tree example, mostly because ASCII art is just cool.
Updating to latest noxmox release
Support for process names with spaces on Linux

... and bundler support.

This pull request is an attempt to fix issue #10.
Small change in Chromecertbeggar template of simple_hijacker module

Chromecertbeggar was infinte looping :s
add first, last and index to nav html/twig

Added logic to add first and last to menu nav li elements as well as a index (just because).
This will allow for better css styling of the menus
master mvn refactor (take 2)

Split war-base module in gui/ module tree into war-base and app-base, to allow each WAR project to gwt-compile separately (consuming the -sources jar from app-base), and adjusted the way WAR project webapp sources and resources are merged to shift this up to before gwt-compile happens, to ensure the toolset-profile.properties and ErraiApp.properties are available to enable the appropriate Errai tools.

Also, split the server/ module tree up similarly to the gui/ tree. That is, pulled out common, static webapp sources into war-base, filterable webapp resources into war-templates, and then broke the old war/ project into two pieces plus one parent pom that provides 90% of the configuration. This allows jbpm and riftsaw server WARs to be produced in a single build without stepping on one another.
Bugfix: Don't declare devices SICK if they're just busy initializing

This mainly applies to ModMiner since it takes 4-5 minutes to upload the bitstream
#63 JDK7-style WatchService that can watches file creation events of hdf...

JDK7-style WatchService that can watches file creation events of hdfs
Added submit url option after merging the original submission with development HEAD

Added a flag to the utils/submit.py utility.  This will take the provide path parameter and then create a *.url file in /tmp.  The file that is created is then passed into the submission process.  Example usage:

python utils/submit.py --package ie --url http://www.google.com

This creates /tmp/ed646a3334ca891fd3467db131372140.url with the following contents:
[InternetShortcut]
URL=http://www.google.com
TingReferenceAjax

Fix the issue with lighthouse ticket 55 (aarhus)
Support for Django 1.3 alongside Reversion 1.6
When running interactively, entering a scroll name twice removes it from the template

Currently, if a scroll name is entered and then entered again, it is added twice to the
list of scrolls to be templated. This instead changes the behaviour so that if a scroll
has already been entered, then it is instead removed when its name is entered again.
Report

PDF in 
```
report/pdf
```
BUGFIX: handle missing window control during mouse events on qt

Under some circumstances we were trying to handle mouse events for missing controls - usually where the window was being removed programmatically from traits ui.  This fixes the issue by checking that the control exists before trying to create a mouse event.

If not control is found, we return None, and so we add a check for this possibility in the abstract window base class.
wrapped main in try

fix https://github.com/jabapyth/babytux/issues/2
[AS7-4486] Remove feature that starts bundles automatically on 'deploy' operation

https://issues.jboss.org/browse/AS7-4486
Pull out an entire chapter at once

See subject.
Updated build version for JAVA_HOME detection
Update extensions/s3eFlurry/s3eFlurry.mkf

The previous 'iphone-link-libs' option is now 'iphone-link-lib'.  With this simple change the iOS version will deploy, as is, in Marmalade 6.1
Move clock app out of process.
BUG 802505 - [BB] seekbars

check history of this PR in <a href="https://github.com/mozilla-b2g/gaia/pull/5843">5843</a>
r=kaze
Update mobile data technology icons, fix #2791, and some transiting gif
[Issue #3587] Statusbar over fullscreen

Fix #3587
CI Lint Fixes

Work to improve bot.io lint output
Add WebDriver UI tests for Editor

Here is a small base/proof of concept for UI WebDriver tests against the パラパラ editor.

Test cases:
* Draw a line
* Draw a line and delete it
* Draw a circle
* Draw a circle and delete it
* Resize window to portrait tablet size and assert position of toolbox
* Resize window to landscape tablet size and assert position of toolbox

Some issues are:
- Must be run on Windows or Linux and have the mouse over the Firefox window when the tests starts or for IE, the mouse outside the browser window!

- Difficulty in installing phpunit, php-webdriver and their dependencies creates a bit of difficulty getting started, but I have tried to cover as much of this as I can in the Readme.

- Unable to access the shadow DOM inside the **< object >** which makes clicking on the pencil and eraser objects in the toolbox or film strip quite difficult and unreliable. I have spoken to the WebDriver devs about this and they said it would be possible to do in the future but SVG/Shadow DOM won't be put into WebDriver until there is sufficient demand.

がんばって～！
Updates to conform to changes in kernel Config class

Should be merged together with corresponding pull request in community.

Updates that:

  * Changes how Config is instantiated in HighlyAvailableGraphDatabase, reflecting the fact that defaults and migrations are now done by Config itself.

  * Changes reflecting the fact that GCR cache size defaults are now defined in those config properties, rather than in code outside the configuration

  * Changes reflecting the fact that config.get() does no longer behave as it did before.
Modernize build

Brings in bundler and updates to latest rubygems and rdoc apis.
Apache Licensed.
Added a .textile plugin using the RedCloth gem

Hello

I've had a go at writing a plugin to convert textile formatted pages into html. 

Is it roughly what you imagined? 

I found it a bit convoluted to add a test page, and I can't think how to include textile equivalents of the markdown helper methods (given they are all extending the same Page class), which makes me think I haven't got it right.

Tom
[fixes] a few fixes
simple dependency update
Updating the core of the system... A lot changed
Refactors Source

* Refactors Source, moved file specific stuff into FileSource
* Changes the way hadoop test files are named (because not all
   sources have file paths associated with them).
* Got the code to compile and pass tests for scala 2.8.2
* updates specs to 1.6.6
"ssh my-server rvm" does not work on ubuntu because /etc/profile is not sourced in this case (no login shell)

Conditional sourcing of /etc/profile.d/rvm.sh added in /etc/bash.bashrc during the installation.

Tested on:
  *  Centos 6.3
  *  Archlinux
  *  Gentoo
  *  OpenSUSE 12.1
  *  Ubuntu 11.04
  *  Debian Squeeze

Tell me if you want me to carry out a few more tests.
removed a duplicate function declaration which caused a javascript error

The current version produced javascript code like the following:
var submitStateCallback = function(columnState) { function (columnState) {
var attrs = ...
Branch1

please merge
fixed bug for null selecting,

self.selected の値チェックを入れて、エラーを出力しないようにしました。
firefox で中ボタンからタブを開くという動作がうごかなくなっていました。ev.stopPropagation の位置をずらしました。
minファイルにconsole.log('hidden') が入っていたので、これらの修正を踏まえた最新版 min をチェックインしました。

よろしくお願いします。
Update the Layers control when layers are added or removed

Teaches the Layers control to notice, and update itself, when a layer it is managing is added to or removed from the map.

I haven't written a test I'm afraid because I couldn't work out how to run the existing tests...
Tags

- send correctly formatted tags to the stream search
- unique test data to allow travis to run multiple builds at once.
Improved DataDrivenTest with bug fixes

DataDrivenTest is now more normalized and has a defined algorithm for generating test sets.
Bugs have also been fixed in the runner.
XSD now has an "org" .

POM is still the same, once I have the changes to exclude the Jars, I will incorporate them.
Let me know of any code review comments to incorporate.

Cheers!
Tele op updates

Includes a "working version" of the current tele-op program, since this is the master branch.
banmaster, laser draggers and nethash

Sorry, too lazy to make 3 pull requests, but that should not an issue since @GreYFoX cherry pick them.
Main menu & Pause menu

v1.0
replace array with javascript object if message is dict

This patch fixed a problem that return incorrect value if message is dict.
repack auguments

missing modifications
Fix double header.

Fixed double header in PluginLoggerEvent.java
Added a getAlignedBlocks() method.

Signed-off-by: Karang <arthur.hennequin@free.fr>
Preserve library source attachments to libraries within the 'Bnd Bundle Classpath'

The current implementation stores source attachment data (if there is any) for each library exposed via the BndClasspathContainer. The attachment paths are persisted to a properties file per project within the plugin storage location.

It may well be there is a better approach for doing this, my experiences with eclipse plugin development is somewhat limited.

I am open to suggestions for ways to improve it, whatever that be.
Add cake.pot and cake.po

Make it possible to translate strings coming out of the core that are user-facing - just by installing these po files.
Initial version of env module including a system wide setting for showing history timestamp
fix font render blur, for ios/mac/windows

### REASON

Render fonts, create texture width and height can not be divided by 2, then the display will be blurred (because the origin at the center of the image).

This patch to ensure that the width and height of the texture created font rendering is always a multiple of 2.

.

渲染字体时，如果创建的材质宽度和高度不能被 2 整除，那么显示时将会变得模糊（因为原点在图像的中央）。

这个补丁确保渲染字体时创建的材质宽度和高度总是 2 的倍数。
Improvements to JS Bindings

1. Fixed crash for MoonWarriors
2. Added new bindings to CCBReader
3. Fixed bindings for multiple items including MenuItem, CallFunc, Schedule etc.
4. Fixing cleanup of CallFunc and Schedule wrapper objects
5. Adding setIntervalUpdate to the accelerometer for Android and iOS
6. Fixing api for targetted touches.
Remove packages by default & handle aliases in solver

This moves all handling of deciding which packages to install into the solver. The solver will never request an alias to be installed but will always generate an install operation for the actual package. It will however generate MarkAliasInstalled and MarkAliasUninstalled operations, that allow the locker to keep track of aliases in repositories correctly.

Dumped repositories never contain aliases, but they can be reconstructed from branch alias info on the packages.
Adding Czech into examples

Self explanatory title
updated readme

accept this pull request and I'll let you ride my llama.
get image resource and title in rootline mode

Before these changes, the rootline mode will throws the following errors in webserver log files

stderr: PHP Fatal error: Cannot use object of type Tx_Supersized_Domain_Model_Resource as array
in /path/to/typo3conf/ext/supersized/Classes/ViewHelpers/ImageViewHelper.php on line 70
stderr: PHP Fatal error: Cannot use object of type Tx_Supersized_Domain_Model_Resource as array
in /path/to/typo3conf/ext/supersized/Classes/ViewHelpers/ImageViewHelper.php on line 71
completes basic User model
Completing Spanish translations strings

Completing strings for Spanish *po* and *mo* files
Added beginnings of documentation for developers
Fixed 502 problem with nginx

using this new nginx conf you will not get the 502 error on nginx because it cant fint its socet descriptor.
Slightly changing the way the calendar is positionned 

I use the jquery `position` method instead of `offset`.
In my project I couldn't find a way to position in an acceptable way the calendar, because I have some containers set with `position: relative`. Using the `position` method ensures the calendar is positionned well.

I found two solutions: add the calendar just before the `body`, or use the jquery `position` method. Don't know which one is the best...
added note about inline plugin dependencies
Please report issues on http://github.com/MongoEngine/mongoengine
Hi! I fixed some calls to "sys" for you!

Hello ianjorgensen!


I am migrationBot, an [open-source](https://github.com/blakmatrix/node-migrator-bot) bot, and I'm here to help you migrate your codebase to node v0.8!

Did you know that the "sys" module throws an error if your program tries to require it in node v0.8? To help keep your code running, I automatically replaced `var sys = require('sys')` with `var util = require('util')`.

If you'd like to know more about these changes in node.js, take a look at https://github.com/joyent/node/commit/1582cf#L1R51 and https://github.com/joyent/node/blob/1582cfebd6719b2d2373547994b3dca5c8c569c0/ChangeLog#L51 and http://blog.jit.su/introducing-blakmatrix-and-migratorbot .

As for myself, I was written by your friendly neighborhood node ninjas at [Nodejitsu](http://nodejitsu.com), and you can find them at #nodejitsu on irc.freenode.net or with http://webchat.jit.su .

Enjoy!

--[migrationBot](https://github.com/blakmatrix/node-migrator-bot)
Исправил баг в галерее

С включенным url_suffix не показывались изображения в админке
Capture misc fixes v1.2

Updated versoin (pfring patch) and rebased on current master.
Added "query" feature. Fixed the POM.

... songs that have a matching title, album name or artist name.
Update docs/api.html

Remove no longer spec-required (and distracting) type="text/javascript".
Fix the issues with redirecting Fault messages.

i) Added xml to the WsXmlNsData struct
ii) Modified the xml_parser_ns_add function to return a namespace, when the prefix=xml and uri=XML_XML_NAMESPACE
STM32VLDiscovery support files

Signed-off-by: Anton Eltchaninov <anton.eltchaninov@gmail.com>
Overhaul and update documentation for 0.5.2

These commits overhaul the documentation, including documenting some previously undocumented features, and add change notes for 0.5.2.
Issue 2364 upstream selenium changes

i made a one-line change to @6a68's pull https://github.com/mozilla/browserid/pull/2370 and all the tests pass for me (WinXP FF13) now.

123done/tests/test_change_password.py .
123done/tests/test_logout.py .
123done/tests/test_new_user.py .
123done/tests/test_sign_in.py .

browserid/tests/check_add_email.py .
browserid/tests/check_change_password.py .
browserid/tests/check_reset_password.py .
browserid/tests/check_sign_in.py ......
Issue 1760 dep required email

The initial steps to deprecate requiredEmail

* If console.log is available, log a message.
* Ignore requiredEmail if it reaches the dialog.
* Remove requiredEmail from the example RP.
returnTo, siteName, and siteLogo only should work with the observer API....

...  issue #2086
elnode-docroot-for shouldn't send a 404, should just check if file would be under docroot

This is one of those judgement calls which is totally up to you, but the current behavior confused me for a while when I was trying to use this macro with a handler which creates the requested .html file on demand.
Extract mysql5 and pgsql8 table options
Marshal Cache catalog

Writing catalog in yaml format took too long. To improve that, now we can cache
the catalog in Marchal format.
Added missing library file extensions for freebsd in library.js
bootstrap: group* components

* Added groupMenu component
* Added groupPosition component
* Added HorizontalPosition enum
* Added VerticalPosition enum
* Usage of HorizontalPosition and VerticalPosition on dropdownButton now
* Refactor navbar and tabbable to support group* components
* Corrected the "navbar dropdown" bug
Association injections overwrite existing defined validations

Attribute Injection uses underscore's extend, which overwrites any validation (or other attributes) previously defined in the model.

The patch uses underscore's defaults command, which only overwrites the rawAttributes if the column is not already defined.

The reason for this change is validation. If we want to ensure that the field is required, we define the validation at time the rest of the structure is defined. After this fact, associations are added. Without this patch, the attribute will overwrite the property with just the definition of the name, stripping out all other attributes in the definition.

Re-requested from a close #258 since I did not use a topic branch to request pull.
Extra filters

Hey Sean, good to see you've moved Whysynth's source onto Github. I thought I'd get my tinkering into a git repo & push some branches for you to take a look at. Not sure if this stuff is what you've got in mind for Whysynth, but it helps fill out the 'filter type' knob on my controller: ![controller](https://s3.amazonaws.com/misc.la.id.au/whysynthController-small.jpg)
Use relative font sizes for headers

It has been discussed before but this pull simply sets heading font-size differences relative to `@baseFontSize`.
Slight tweak to when `show` and `hide` events are emitted.

Hey, dude.

The `show` event was being emitted immediately when showing dialogs, but if I want to do something with the contents of the dialog such as `.focus()` on an input I can't do that until it's attached to the DOM. So I moved `show` to trigger a bit later. Figured I'd toss it back, if you thought it made sense.

Also, and perhaps this was intentional. But calling `hide` with a delay would trigger the `hide` event before the delay actually expired. This could be argued, but it seems more useful to actually emit that event right before the element is actually removed from the DOM.
Sanitize with JavaScript

登録時にJS側でsanitizeするようにしてみました。
ただ、更新時など、無駄に複数回sanitizeが呼ばれている箇所があるため、きれいにする必要があるかもしれません。
Release entry creates invalid entries

If you call `ReleaseEntry.GenerateFromFile`, `ReleaseEntry.Filename` (and `ReleaseEntry.EntryAsString` consecutively) contains the complete path of the file. Passing that string to `ReleaseEntry.ParseReleaseEntry` fails, because the regular expression can't cope with it, especially if the path contains spaces.

This PR contains both a failing test and the fix. 

Although you use `System.IO.Abstraction` all over the place, I used `System.IO.Path.GetFilename` since it doesn't care if the file really exists. However, you might change it.
Correctly hydrate when using base fieldset

This fix an odd bug that I discovered while writing my webinar code. I think nobody reported it because it only occurs when using base fieldset and ArraySerializable hydrator (most people use ClassMethods when the use case is more complex I suppose).

Basically, the problem is that even if a base fieldset was set, the form itself was hydrated. The logic was correctly done for extracting phase but not for hydrating phase.
Zend/Di, retriving same shared instance for different extra parameters

I have created an fix for issue #3192, about a problem which I got.  I have create simple test for my situation and add it to tests/ZendTests/Di/DiTest.php.
Make request params retrieval more user-friendly

This PR complements the following request param style:
````php
$this->getRequest()->getPost()->get('foo');
$this->getRequest()->getQuery()->get('bar');
$this->getRequest()->getHeaders()->get('accept');
````

... with an alternative, simpler and more commonly found  syntax:
````php
$this->getRequest()->getPost('foo');
$this->getRequest()->getQuery('bar');
$this->getRequest()->getHeaders('accept');
````
It also supports default values for all containers
````php
$this->getRequest()->getPost('foo','a default value');
$this->getRequest()->getQuery('limit', 10);
$this->getRequest()->getHeader('accept', new GenericHeader('accept','text/json');
````
hotfix : formRow() element error multi-checkbox and radio renderError not shown

Fix error element not shown by formRow() helper in multi-checkbox and radio element.
PrefixPath loader removal

This PR aims to remove references to the prefix path loader. Originally, it was going to be used to remove references to both the prefix path loader as well as the plugin map loader; however, the uses cases for the latter were difficult to achieve with the AbstractPluginManager, and as such are being left (the two locations are Zend\Mail\Headers and Zend\Http\Headers).

Currently, this PR accomplishes removal of the PrefixPathLoader in:
* Zend\Feed\Writer
* Zend\Text\Table
* Zend\Tag (it was no longer used, making this a trivial logical block removal)
* Zend\Feed\Reader
* Zend\File\Transfer\Adapter\AbstractAdapter

Zend\Loader\PrefixPathLoader, related interfaces, and tests, have been removed.
weather almanac support

committing almanac producer bet
Better looking water

also has a couple of sky fixes and the groundwork for depth buffer effects
looks like launcher.qss installation was accidentally removed, so brought it back
Fix the Vanish API not always showing players correctly. Fixes BUKKIT-2078

If you call player.hidePlayer(other) then player.showPlayer(other), other should be visible to player. However, this does not work due to the fact that 1.3.1 now sends batches of entity destroy packets every tick, not instantly and individually like in previous versions.

Since the destroy packet is added to the queue but not sent, a Packet20NamedEntitySpawn is sent first, then a Packet29DestroyEntity is sent afterwards when the queue is processed on the next tick.

A fix for this would be to clear the queue for a player when showPlayer(other) is called to make sure there are no extra Packet29DestroyEntity hanging around.

Leaky ticket: https://bukkit.atlassian.net/browse/BUKKIT-2078
Implemented fix for I153 - [7.35 P]

Clicking on 'Hide Toolbar' in the menu enters full screen mode. 
+Tests

Please Review!
Styling like a boss
pull-request-1347375750621747000
Link to user on top bar.

UI improvement:

- When you are logged in, it is very convenient if the user information on the top bar (gravatar image and user name) links to your user profile. In this way you have an easy way to go to your profile page once you are logged in.
More css style
OBJ FILES : 6 entities - all fences - all stairs - 7 snow levels

Entities are in resources/entities/...
Stairs, Fences and Snow levels are in
resources/materials/block/nonsolid/...

Signed-off-by: Thomas LAMSON <tomlabete@numericable.fr>
Fix CS - PSR2 compliant
Fixing YUI example. Fixes #329

The live example was failing as reported in #329.
Updating the extjs implementation

Fixes #64
Added delete functionality. Code cleanup.
Fix setup to run on Travis

In support of rubinius/rubinius#2006 I wanted to get the tests working.

Adding the Gemfile was the easiest way to install the deps.

Once I added the `run_tests` script I could get the tests to run on [Travis](https://travis-ci.org/jc00ke/fast_xs/builds/3169204). At least they fail now from tests and not from a `LoadError` when trying to `require 'hoe'`.
Extracted Jsonify::Builder#array!

It's often required to start json response with an array, something that would create this:

```json
[
  {"id": 1, "name": "John"},
  {"id": 2, "name": "Peter"}
]
```

This patch allows doing it like this:

```ruby
json.array!(@people) do |person|
  json.id person.id
  json.name person.name
end
```
4444

ttttt
pull deeze

- config.js.EXAMPLE cleanups
- socialfeed.js includes the real config.js, uses 'var' more
	consistently
Maventaan lähtevällä karhu.pdf:llä ja -invoicella pitää ola sama n...

...imi
Mvp qa updates
Mapping test improvements

As discussed at the Symfony Live hackday, I've improved the test coverage of the XML and YAML mapping drivers and fixed a couple of bugs relating to the types of the mapped fields as stored in the CR in the process. There's still much that needs to be covered relating to the more advanced mapped properties, and I'm aiming to complete that in the coming days, but I'll open this PR now just in case you want these changes earlier.

Relates to http://www.doctrine-project.org/jira/browse/PHPCR-42
Jake update

- update jake to 0.4.1
- fail jake if compile errors.
Detect JDK using /usr/libexec/java_home

On my machine, CurrentJDK is not updated to point to Java 7
when I change the Java Preferences list order.

Therefore, the current symbolic link checking method does
not work, and returns Java 6.  Using /usr/libexec/java_home
seems to work (at least for me)

See "Java Home" here:
http://developer.apple.com/library/mac/#qa/qa1170/_index.html
Array doc
Make size_t and ssize_t Windows typedefs more appropriate

The typedefs for `size_t` and `ssize_t` on Windows had them as `unsigned int` and `int`.  It's more appropriate to use `SIZE_T` and `SSIZE_T` from BaseTsd.h (which also prevents http_parser.h from conflicting with similar typedefs using the correct types).
See notes at http://nl.php.net/manual/en/context.http.php

file_get_contents just merges the headers of all redirected requests into one big request. This commit works around that.

Before this change, a 200 OK result after a 302 Redirect response would still give $response->isRedirect() true.
Expo view as grid (optional)

This implements the display of the Expo view as a grid, if enabled by Cinnamon Settings -> Workspaces -> "Display Expo view as grid" (defaulted to false); otherwise the display falls back to a single row.

Screen shot (3 workspaces): http://www.autark.se/dump/expo-as-grid-3-items-20120716.jpg
Screen shot (4 workspaces): http://www.autark.se/dump/expo-grid-20120715.jpg

Screen shot (5 workspaces): http://www.autark.se/dump/expo-grid-5-items-20120716.jpg
Screen shot (6 workspaces): http://www.autark.se/dump/expo-grid-6-items-20120716.jpg
Screen shot (7 workspaces): http://www.autark.se/dump/expo-grid-7-items-20120716.jpg
Screen shot (8 workspaces): http://www.autark.se/dump/expo-grid-8-items-20120716.jpg
Finalized error checking.

Fixed tabbing on some pages.
Added HTML title.
Finalized Javadoc pertaining to my areas.
Version 2 updated

New Menu bar, Save and Open to Google drive functionality complete.
Javascript validation when need use %% instead of %

Hi! Our translators are often confused about when need use %% instead of %. So I added javascript validation for this issue. 

If You think is a good idea you can take this pull request. 

With best regards, bye!
Tidy up of auto-scroll code

...curacy in the time calculations which may be attributable to the Enyo handling of setInterval etc or the execution time of the code.
12factor compliance and Heroku-ready

This pull request adds a Procfile for running on Heroku, updates configuration and package.json to use habitat to help manage and access env vars, and removes separate config files for each environment in favor of managing application configuration with env vars in compliance with the 12factor app guidelines.

You can create a free MySQL database on Heroku using the ClearDB addon: ```heroku addons:add cleardb:ignite``` Once you've created the database, its info can be retrieved by calling the Heroku config ```heroku config:get CLEARDB_DATABASE_URL```

After creating a new Heroku app using ```heroku create``` and pushing your code, several env vars will need to be set. The following are less likely to change from instance to instance, but may need to be tweaked on a particular server:

```
heroku config:add NODE_ENV=production
heroku config:add OPENBADGES_PROTOCOL=http
heroku config:add OPENBADGES_IDENTITY_PROTOCOL=https
heroku config:add OPENBADGES_IDENTITY_SERVER=verifier.login.persona.org
heroku config:add OPENBADGES_IDENTITY_PATH=/verify
```

While the following configurations will need to be set based upon a particular install:
```
heroku config:add OPENBADGES_PORT=8888
heroku config:add OPENBADGES_HOSTNAME=http://yoururl.com/
heroku config:add OPENBADGES_ADMINS=[example@example.com]
heroku config:add OPENBADGES_DB_DRIVER=mysql
heroku config:add OPENBADGES_DB_HOST=
heroku config:add OPENBADGES_DB_USER=
heroku config:add OPENBADGES_DB_PASSWORD=
heroku config:add OPENBADGES_DB_DATABASE=
```
Xmpp service

Add missing import
Context menu titles

Add titles to the context menus in the contact list
changed behaviour of luftboot to better match LPC21xx bootloader:

* thanks to softsr (sergey krukowski) for starting the work
 * first checks if bootloader forced from application with a soft reset
 * then checks if bootloader should be skipped with jumper, same pin as previous force bootloader pin
 * then checks if usb vbus has power - if it does, force the bootloader
 * if none of these, skips the bootloader
 * after a dfu application download, a usb soft disconnect is triggered and the usb peripheral is shut down by disabling the clock, then if the application if valid, it jumps to the start, otherwise it resets

Would be great if someone could test, especially with non-usb power. Comments/concerns welcome.
Bootstrap 2.0

_Actualizando_ a bootstrap 2.0
Add support for ignoring certain globs in the rake task

With this change, the rake task now checks for the presence of `PuppetLint.configuration.ignore_paths` as an array of glob-strings to exclude certain files from being linted.

This is useful for cases where projects have Puppet vendored so its included manifests and modules for testing don't get picked up by the linter.
Suggested workaround for issue #25

https://github.com/rslifka/elasticity/issues/25
Рефакторинг UploadController::uploadImageAction(); ver2

Реализовал нормальный json ответ (раньше json просто в html возвращался). 
По минимуму подправил js-часть функционала (но там еще есть с чем поработать).
В тестах добавил провайдер данных, чтобы убрать копипаст.
Вынес в конфиг путь к папке с загруженными файлами.
Bmc

this adds support the the foreman proxy code to access the smart proxy bmc feature
Handle "ACTION" (/me) messages in a new redis channel, "privmsg_action".

Incoming messages have their type set to "privmsg_action", and to send an outgoing message, set the type to "privmsg_action"
Fix ignoring of colourmode in configuration

alot ignored colourmode set in configuration file due to default value
of 256 being added into commandline
filesystem related

Tune the code of filesystem to avoid some potential problems.
Revert "Allow form builders to trigger rebuilds."

This reverts commit 7a0efc1230d0e6f37f051798b3afd78f0aee7b1d.
... Rebuilding is/was kinda broken.
Update README to reflect project's name change

It's quite confusing for people not involved in mailing-list for Katello to know that converge-ui is changed to alchemy. I am suggesting to update the `README` file.
Added bugfixed UtilitySkills Module, thanks to Tensor
Added PhysicsVehicle class to xcode
Update classes/kohana/cache/redis.php

Result of set operation.
Fix and tests for issue #165: AssetServlet no longer resolves resources correctly

Fix for correctly resolving URLs when there is more than one directory on the classpath with the same name.

Storing the root resource as a fully-qualified URL and not a relative URI string meant that AssetServlet couldn't correctly load the resources in the presence of more than one directory on the classpath with the same name (this actually happens a lot, e.g., module1/javascripts, module2/javascripts).

I completely removed the method ResourceURL#resolveRelativeURL because it was encouraging this incorrect behavior (and isn't used anywhere else).
add SSH fingerprint verification capability

Going to merge this, but undecided when. Before we merge the pull request, I need to finish the logging in the Introducelogging branch and merge that to master. Then, it's probably a good moment to merge. It's good you only need very trivial changes to the server, that makes it easy. Thx!
Feature/capability routers vrrp update ip

Added update virtual IP address to router VRRP capability
Making the source compile on GCC again

GCC doesn't like some macro declarations. String insertion isn't necessary in these cases anyway.
show mouse if moving
Updates to Ørestad theme

Hi Gian,

I just made some tweaks to your Ørestad style to make it use vector graphics rather than JPEG and add styling for the block titles, etc.

Hope it's useful. Sorry for mingling æsthetic and bug-fix updates in one pull request.
Add ability to create a ScreenImage from a Texture, same as from an Image
merge in october meetup lanyrd fix
Change version naming convention
Fixes

- lightbox;
- fix scrollbar: background quando não tem gradient, funcionamento no IE (testado no IE 6);
- removido alguns arquivos desnecessários;
- tamanho do box pra 940px;
- menu de projetos alinhado a esquerda (fix display no IE)
Fixes text object manipulation

Changing from Array.prototype.forEach to a standard for loop causes every text object operation to map to the last member of textObjectList. Wrapping the assignment in an anonymous function forces a new scope and makes things work.
Fix #18214

Runs Tabulature::fretChord() after an up/down note cmd.
Version comparison improved using distutils.

Version comparison improved using distutils.
first commit

Will this be pulled into master? Or merged with master? I hope so...
tcp shell client & listener + minor fixes

Added a TCP shell client and listener to Reg-Shell directory.
Moved 'helpme' and 'extask' help menus from server-side to client-side.
Patch to use Pinch against Amazon S3

Version updated to 0.3.2
Garbage-collect DB at startup

Daemon startup is a good place to do an explicit DB garbage-collection run. That
helps clean up any lingering database bloat from previous invokations of the
daemon, and it doesn't delay startup in the common case as GC typically lasts
less than a second.

Signed-off-by: Deepak Giridharagopal <deepak@puppetlabs.com>
Stringify configuration version in report

This is required to be a string instead of a datetime now, but the
default from Puppet is for it to be a number. Now we will ensure it's
always a string, no matter what.
Cache the result of build_catalog

Use simple memoization pattern to cache RSpec::Puppet::Support::build_catalog results.

This change speeds up our hosts specs quite a bit.
Implemented enable/disable breakpoints. 

A few additional refactorings:

* removed shallow class BreakpointSupport that only added a layer in front of an actor
* added a decorator class to pimp some methods on breakpoint, for retrieving marker attributes
* moved breakpoint-related classes to their own package

Fixed #1001289.

I'd like to discuss the opportunity of removing the `ScalaDebugBreakpointManager` companion actor, as it seems to be doing nothing useful. The listener is already run on a different thread, and there seems to be little gain in forwarding all listener methods to the actor.
Russian: new string translations (Sync)
fix testcode

fix testcode
Linota's dialogue navigation

Fixed tail calls and conformed to coding style guidelines.
Use Languages.objects.by_code_or_alias() to parse language codes in XLIF...

This patch allows any language code accepted by Language.objects.by_code_or_alias() in an XLIFF file.
webui: improved selection of default language(s)

Improved the selection of default language(s) by using a new component in the webui.
Added timezone support

I've added the timezone support for some providers like GeoIP or IPInfoDB.

@willdurand What do you think about this implementation ?
Implementation of enable_tls

Hi!
I think this library should handle the enable_tls method of the underlying net/stmp library.
This is required for some servers which don't fallback or don't allow plain SMTP connection.

I've already implemented this. Hope this helps.
Best regards,
   Shogun
Better debugging for DB Cache path

Because there is no debug level logging for the cache path, it may be difficult to figure out problems associated with setting up DB caching. Also, the check for is dir and is really writable being in the same if statement doesn't really allow for specific debug messages.
For for Issue #106 Convex Shape Bandwidth
nu är det rätt projekt också
Issue #839 New Assignment Remark Checkbox Fix

Now unchecked by default to match the specs.
Moved Chrome's app ID to a central place

For easier testing with Chrome Canary (see #1697, for instance)
added demo for accordion

I didn't include a index page. Let me know if anyone feel one if necessary for this PR.
Resource Owner Password Credentials flow

As discussed here: https://github.com/applicake/doorkeeper/issues/60
Added QueryMultipleAsync

Added QueryMultipleAsync with async data reader
Rc hugefix
Some automation changes

Makefile now has a more reasonable dependency structure, and creates the build directory if not present.

convert_to_tex.sh creates the main.tex file from the file structure instead of relying on a premade main.tex (in preparation for moving chapters around to fix e.g. #10)
FIX typos and comment style

Hi, @dlt!

I noticed lil typos ('respose' should be 'response') and also fix comments style according to <https://github.com/bbatsov/ruby-style-guide#comments>
Broke on osx 10.7.4

It froze up after a while. See commit msg.
Opal-Logo überarbeitet

Es sieht jetzt so aus
![logo](https://f.cloud.github.com/assets/1345784/13471/2f9c36de-4604-11e2-9056-6018d95eed9a.png)
Unicode::CharName was throwing a warning.

defined(%hash) has been depreciated since at least Perl 5.8.8 (and
possibly longer), and throws a warning. So don't do that anymore.

The warning was

defined(%hash) is deprecated at
/usr/local/lib/perl5/site_perl/5.16.1/darwin-2level/Unicode/CharName.pm
line 80.
     (Maybe you should just omit the defined()?)
Add login/account creation info to README
added mobi to CREReader

This was mentioned in #131
Build djvulibre as a shared library

The idea is to build ALL that we current link statically as a shared library.
This PR deals with djvulibre (one thing at a time).
Fixed type

There was a small typo in the dealloc method of JHWaveformView - now fixed :)
Failing test

Hello!

I discovered that I can not save another file on the place of just removed. I have spent a couple of hours to find out where the problem is but unfortunately ended up with no result.

Thank you,
Jura
Styleguide and Base CSS: Adds form element styling

* Adds CSS for form elements to base.css 
* Adds markup and examples to the styleguide
* Please ignore most of the commits. Including the I N C E P T I O N revert reverts.
Issue #5288 - Check before opening HEAD file.

Fixes #5288.
Docs: API > Global config: Consistency lowercase and quotes.
Første pull request

Første versjon
Fixed typo in header text.

Mentioned in

http://rolloutadplayer.de/wordpress/gforums/topic/einbindung-scriptversion-ie-probleme (german)
2 Commits

1.  Support for 3 additional API Endpoints ( FRIENDS, FAVORITES, SHAKE{shake_id} )
     - refactored the MAGIC endpoint
2.  Added support to resolve Shake Name -> Shake ID for SHAKE and UPLOAD API Endpoints
...

Virus wieder entfernt und defaults vereinfacht (das Integer.valueOf(1234) macht eclipse schon automatisch für dich... hat da wer decompilten code als vorlage benutzt? :P)...
Update Xbmc notifier to use JSON for new Xbmc versions(>=frodo)

Xbmc recently dropped the old and long deprecated HTTP API, so notifications and library updates don't work anymore in xbmc nightly builds.

this PR adds methods for the JSONRPC API and uses it if a recent Xbmc version is found.
For older Xbmc builds, nothing changes.
We cannot use json for older xbmc builds, because they don't support notifications over json.
Changes & instructions to work on Ubuntu 12.04

Here are some changes & instructions for getting hubot-skype working on a headless Ubuntu 12.04 server.

Hopefully this will address some of the issues that have been raised, at least on the Ubuntu 12.04 platform :)
MOE_32: Adds args to reRender
Redis panel patch

Sorry, haven't had a lot of time to spend on this today. I can confirm with this patch that the redis panel works for a new Rails app.
Postgres IN(...) clause bind variables

In the past for Postgres bind variables were fairly problematic in general (all situations)
in older versions of Postgres because the types of values was not determined well and that
often prevented it from properly utilizing indices when it should have.  This problem was
eventually lessened by adding explicit type-casts to the binding values and then by
Postgres itself fixing the problem directly in the database.  So this is what was meant by
the comment "The Postgres Expression has a problem using bind variables" in
PostgresqlSQLHelper.formatValueForAttribute.  This problem is no longer present in
Postgres, so it's totally safe to change this so that bind variables will be used
(if configured) by removing the override of formatValueForAttribute.

Links to relevant changes in SVN history:

http://wonder.svn.sourceforge.net/viewvc/wonder/trunk/Wonder/Common/Frameworks/ERExtensions/Sources/er/extensions/ERXEOAccessUtilities.java?r1=2875&r2=2913&pathrev=7103

http://wonder.svn.sourceforge.net/viewvc/wonder/trunk/Wonder/Common/Frameworks/ERExtensions/Sources/er/extensions/ERXEOAccessUtilities.java?r1=3191&r2=3219&pathrev=7103

http://wonder.svn.sourceforge.net/viewvc/wonder/trunk/Wonder/Frameworks/Core/ERExtensions/Sources/er/extensions/jdbc/ERXSQLHelper.java?revision=7710&view=markup

http://wonder.svn.sourceforge.net/viewvc/wonder/trunk/Wonder/PlugIns/PostgresqlPlugIn/Sources/com/webobjects/jdbcadaptor/PostgresqlExpression.java?view=log&pathrev=7700
Mybranch

please pull it into master from mybranch
Updated to latest xerces release.
Test failed 

After git clone and running test I have next


```

Admins-MacBook-Pro:activeresource admin$ rake
/Users/admin/.rvm/rubies/ruby-1.9.3-p125/bin/ruby -w -I"lib:test" -I"/Users/admin/.rvm/gems/ruby-1.9.3-p125/gems/rake-0.9.2.2/lib" "/Users/admin/.rvm/gems/ruby-1.9.3-p125/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb" "test/**/*_test.rb" 
Run options: --seed 32545

# Running tests:

...................................................................................................................................FF...............................................................................................................................................................................................................................

Finished tests in 1.985836s, 179.2696 tests/s, 493.9985 assertions/s.

  1) Failure:
test_to_json(BaseTest) [/Users/admin/Documents/activeresource/test/cases/base_test.rb:1086]:
Expected /^\{"person":\{/ to match "{\"id\":6,\"name\":\"Joe\",\"likes_hats\":true}".

  2) Failure:
test_to_json_with_element_name(BaseTest) [/Users/admin/Documents/activeresource/test/cases/base_test.rb:1114]:
Expected /^\{"ruby_creator":\{/ to match "{\"id\":6,\"name\":\"Joe\",\"likes_hats\":true}".

356 tests, 981 assertions, 2 failures, 0 errors, 0 skips

```



I can't find where include_root_in_json = true is set 
So I added this line setup method to make tests pass.
attribute classification
Add regression spec for #1891.

Will this suffice or it needs more :heart:?
updated app.nginx.conf to prevent 413 error when uploading zipped docs

When uploading a pre-build zipped doc file larger than 1MB to the readthedocs.org site, it currently issues a 413 error because nginx defaults to a client_max_body_size  of 1M.  This PR fixes the nginx configuration so that it allows 50MB uploads to the readthedocs.org site.

I tested this on a local setup that mirrored the setup shown in http://read-the-docs.readthedocs.org/en/latest/architecture.html#diagram and it fixed the 413 error... although of course I can't test it on the production machines.