labofsahil/github-event-dataset-2012 huggingface dataset:
Fix for the ideas_bunch method.

I downloaded the nose and coverage packages and i have run the tests. 
The test_ideas_bunch failed.

The ideas_bunch method in Idea class is expected to return a list of
Idea objects (according to the test_ideas_bunch), but it returns a
Query object. This breaks the test, but not the application,
because both objects are iterable.
Update @dayz/dayz_code/actions/player_wearClothes.sqf

There is no reason for if isFemale checks any more since it will exit if isFemale instantly. I also haven't seen anywhere automatic skin morphing so might as well revert all the female bandit code changes since you will never see one with this addition.
Add Haml rendering support for dashboard views and layouts.

This commit adds basic Haml rendering support for dashboard views and layouts.
Hub resolving fixes

Fixed issue #310.
Hubs can now be resolved only by type name or name provided by attribute (if exists). Providing a hub name using the attribute prevents from resolving hub by type name, so there is always one name under each hub appears.
core-install does not longer try to create a local repository if no tmp ...

...package directory exists

This seems very straightforward but must tested in next installer release

See http://trac.zentyal.org/ticket/5196 for a exemple of a situation that tries to create the repository without   tmp packages directory
Better directory structure

I think the main css file should be in the root directory, since it's the only one important file in the repo. Also it was kinda confused by it being in the same directory with the example `style.css`.

The examples are moved to `examples/`.

Also minor doc improvements are included as well.
Adding basic support for video subtitles in the video player app

Subtitles for the Mozilla Manifesto video are provided for testing/showcase of the feature.
Subtitles are stored as a JSON file.
It would be nice to fetch subtitles from UniversalSubtitles.org in the future.
SMS: Added Turkish translate.
Use SettingsListener for keyboard settings for real

Do this for real this time.

The one thing i messed up was the difference between `continue` and `break` in line 46. I thought that was just a nitpick that doesn't worthy of another try out on the phone before push.

I guess there is a lesson here. Sorry everyone and @cgjones.
Replace more ascii references to backspace and delete.
In game help
Use default port if ansible_ssh_port is not set for the delegated node

Also add testcase for it.
Revert acceptance of directory as dest for copy

Although library/copy can be corrected to understand that dest is
a directory, I can't see how to let _execute_copy know this and let the
file module know.

As a better solution than before #733, the copy module now explicitly (rather
than silently) fails when dest is a directory.
Support iteration over command output in with_items.

This lets you access a command's stdout in a register as a list of lines.

When the result of a command is stored in a register, this splits its stdout 
into a list (using universal newlines) and stores it in the `stdout_lines` field 
of the result object.  You can do whatever you want with it, but in particular 
you can loop over the lines using `with_items`.

Here is an example:

```
---
- name: Ensure only trusted RPM signing keys are present.
  hosts: all
  sudo: True  
  vars:
    trusted_keys: [RPM-GPG-KEY-CentOS-5, RPM-GPG-KEY-EPEL, RPM-GPG-KEY-rpmforge-dag]

  tasks:
  - name: Copy RPM signing keys
    action: copy src=etc/pki/rpm-gpg/$item dest=/etc/pki/rpm-gpg/$item
    with_items: $trusted_keys

  - name: Get list of all keys
    action: command ls -1 /etc/pki/rpm-gpg
    register: all_keys

  - name: Remove untrusted keys
    action: file dest=/etc/pki/rpm-gpg/$item state=absent
    with_items: ${all_keys.stdout_lines}
    only_if: "'$item' not in $trusted_keys"
```

Unit test included.
Create a set of all the hosts in a group to prevent duplicates

Fixes #1516.
Miscellaneous fixes to module_formatter.py

Try to autodetect MODULEDIR, instead of hardcoded path in jpmens
homedir.
Check if MODULEDIR exists; exit if it doesn't.
Rewrite boilerplate() to use DOCUMENTATION.yaml in examples/.  This
makes use of tbielawa's recent change that added this example file.
This also fixes -G so that it works.  boilerplate() was commented out
before.
Fix ovs issues

Various bug fixes and added support for multiple bridges.
fix core vnode eqc

This PR addresses two things:

1. Return useful msgs when a post-condtition fails rather than just saying it failed.

2. Disable rolling vnode starts to avoid hitting race condition in the `all_nodes` post-condition.
updates from help.basho.com docs

These are the remaining docs updates from the Operations section of help.basho.com, including some updated screenshots for the Riak Control page.
This should make it easier to install Haraka on production boxes.

Replaced nodeunit link from git to https.
HAProxy PROXY protocol support

** NOT COMPLETE YET **

Just wanted to get your opinion on what I've done so far.  It works fine - but it feels a bit too hacky (e.g. the setTimeout delay and instance variable).
GUI: add BitcoinGUI::hideTrayIcon() and call on exit 

- remove trayIcon->hide() from BitcoinGUI destructor, as this did not work cleanly

On Windows the tray-icon was still visible after a shutdown, which could lead to many orphan icons in the tray that only disappeared after hovering them with the mouse. This is now fixed.
make CheckDiskSpace() use 15 * 1024 * 1024 Bytes

- remove 2 ugly spacess from a message string
Ignore compiled tools in .gitignore
update simulem, bsignal, waveform

update simulem, bsignal, waveform
Js::writeBuffer() incorrectly returns script tag with url to cache file if following 3 conditions are true:

1. Js::writeBuffer() is called with `inline` and `cache` options true
2. Configure var Cache.disable is true
3. No cache file for the buffered script exits

So I added check to use file url only if file exists or call to `cache()` succeeded else just return script tag with inline js contents. That's a sensible approach rather than linking to non existent file.
Fix the module/namespace name
Upgrade OpenLayers. PinchZoom preserveCenter. See OL#801 and OL#802
dynamic IP support

Also fixes a truncation thing that was making the reported unresponsive
node's public key truncated. (52 = 32 * 13 / 8 ?? how do I base32?).
The idea is not to specify any connectTo in cjdroute.conf, but to list
the endpoints in dynamicEndpoints and run it, leaving it running to
catch any that go unresponsive (possibly because their IP changed)
fix merge Issue #252 BUGFIX and #262
Add manpage for colobot 

- Translate it with po4a
- Use POD-format as source, and pod2man for building

Note that this branch is built on top on my https://github.com/OdyX/colobot/tree/dev-desktop-file and hence on https://github.com/colobot/colobot/pull/103 pull request, that should be pulled first.
Something to think about

The Monoid instance of total-map breaks from the spirit of the Monoid instance in Data.Map. Might make more sense to have Semigroup instance instead similar to the one in this pull request.
download and upload in qcloud_tool now works

fixed downoload in Dropbox Backend.
added download ,upload,create folder,delete support for qcloud_tool
start on boot worked with network-interface but not network

Was excited to see the new start on boot stanza added to the foreman master config file. However for me on Ubuntu 12.04 my Rails app only got started when i had 
`start on started network-interface` in the conf file.

Any `upstart` experts care to comment?
Drop parka dependency to make things easier on the build slaves.
Duplicate source files removal
Documentation for ``pecan.testing``
Take5capped

I used the `take5.py` file as a base for this so the `htMeans` etc. are from there.
migrating to factory girl

Migrated to Factorygirl.  Removed methods create_discussion and create_motion. Using factories instead of these methods.
make sure that ets and enaml are going to use the same toolkit back-end

This pull request fixes the two following issues:

**A**. if the user has not defined ETS_TOOLKIT enaml will use qt but ets (e.g. enable) will use wx.
As a result the following code will fail.

```
~/projects/enaml/examples/chaco$ enaml-run image_plot.enaml
```

**B**. if the user/developer wants to temporarily override ETS_TOOLKIT enaml-run will again fail
when ets ui modules are used.

This commit defines a mapping of the various combinations and makes sure that the ets ui modules
will use the same back-end as enaml.
Add tests for evelink.api
forceAllEvents when setting values using WATIN

WATIN was not typing values into text fields, which was causing Knockout
to miss the update. If forceAllEvents is passed to the Set method, WATIN
will now TypeText into the field.
Added an example for rewriting all to one base-url.

Added an example (commented) that can be used to redirect all traffic to one
base url. Can be handy for duplicate content.

Also I added a slash before index.php, which is needed on some setups with
virtual document roots.
Made DataSync emit events and hooked the equipped checkbox up to them
Danielengel

project cleanup
l10n: Initial German translation

Please pull to get the initial German translation.

Thanks

Helped-by: Thomas Kuchs
Signed-off-by: Ralf Thielow <ralf.thielow@googlemail.com>
Recognise that PEG.js-generated parsers are in fact generated

Context: https://github.com/michaelficarra/CoffeeScriptRedux/commit/377adb2a3f24b6315e6266b9555c69336e117dc4#commitcomment-1472750
Save pane height and restore on start

closes #154
HORNETQ-1020 Fix leak: TemporaryTopic must use temporary-queues.
Findbugs: ignore warnings in files generated by JBoss Logging and JavaCC
Blackberry 10 port

Change Blackberry build process (removed package script and integrated in to build).
Removed old CMakeLists.txt.
Added Blackberry build and package instrucions to README.md
Add an option to ppsspp.ini to set the zoom level

I couldn't handle the 1088 tall goodness.  Not sure if it should go in a different section.

-[Unknown]
To prevent auto-registering chef-client

I am still testing this, but looks like it should work.
Fixing instruction set in the readme

The instruction set only says "npm install," shouldn't it say "npm install -g mocha"?
small changes in response to pyflakes pass

Only significant change: removes incomplete kernelstarter file, which shouldn't have been in the repo at all.

closes #1499
Make svg, jpeg and png images resizable in notebook.

This addresses #1193.  All images are now resizable in the notebook by dragging handle in the lower R corner of the image.  I am having problems with svg images not working properly, but I don't know enough about svg to fix this this second.  Wondering if any of the matplotlib devs could help on this.
BUG: test runner fails in Windows if filenames contain spaces.

In Windows test runner, inserts quotes around command line filenames with spaces when possible.
Workaround for #760 until #1888 is ready.
Issue 647: fix handling of malformed 'Expires' header

Fixes s3 testCreateBlobWithMalformedExpiry live test.

---
I also tried running the test against HP Cloud Objects. The changes had introduced some noisy (benign) warn log messages, such as:

    2012-05-17 23:51:41,645 WARN  <Invalid Expires header (-1); should be in RFC-1123 format; treating as already expired>

I therefore (hesitantly) dropped the logging to debug. We're doing what the HTTP 1.1 spec says, so I think that's ok but not great...

---
I tried moving the tests into the base BaseContainerLiveTest, and ran them against HP Cloud Objects. The testCreateBlobWithExpiry failed, with the Expires metadata being null when retrieved.

I haven't investigated that further yet (e.g. whether we'd expect it to work at all with that cloud), and haven't pushed the change to move the tests into the base class.
Added pricing api to Abiquo api

The pricing API provides access to the billing and pricing features in Abiquo.
It allows end-users to check programatically how much they'll be charged for their deployed resources, and allows each tenant to define their pricing plans.
Moved openstack-cinder and rackspace-cloudblockstorage-us/uk out of labs.

Rally!
added configuration necessary to override timeout default for ami create

put together base configuration for overriding anything, such as timeouts, xml parsers, etc.  Then, used that to override the timeout for ami create as it is a blocking call on cloud bridge
Give a helpful failure message when obsolete usage is encountered.

Currently any Rakefiles which contain lines like

  require 'rake/rdoctask'

will fail with the cryptic message "GONE" due to support for
deprecated tasks being removed.  This patch makes it much easier
to identify and fix the offending obsolete usage.
Bug in src/server/session.coffee, callback is not defined

callback is not defined, removing it
Added "before" callback

I'd like to track the load-time of resources, which are added via postscribe. 
Therefore i added a 'before' callback. In my use-case, this allows to start a timer before the start-task. The timer is ended via the 'done'-callback.

Furthermore:
- updated qunit to 1.10
- updated jquery to 1.8.2
- updated the dist/*
[Log] Don't stop writing log files when an event listener is defined

As described in [this forum topic](http://forums.laravel.com/viewtopic.php?id=2203), the default logging mechanism of writing to a file is completely overwritten and thus not executed when any event listener for the "laravel.log" event is registered.

This happens, for example, when the profiler is enabled.

This behaviour is obviously not what we want.

I am sure that my solution could be discussion-worthy still (that code was there for a reason), but on the other hand I don't really see a use case for completely overwriting the logging (that could be done by extending, too - maybe use a separate method for determining the log file name?).
Added Bulgarian language files

Signed-off-by: Roumen Damianoff <roumen@dawebs.com>
Expose a malloc function to 3rd party ODB backends

The ODB backend interface has functions in it for doing reads. These functions allocate buffers and return them (and ownership of them) to the caller. It is expected right now that the ODB backend allocates these buffers using `git__malloc`. Since this function is not exported, it's not possible to write a third-party ODB backend for libgit2. All backends must be in the git2 library so that they can call `git__malloc`.

This change asks that backends use a new exported function called `git_odb_backend_malloc` to allocate buffers that will change ownership from the backend to libgit2. The fact that this entry point just redirects to `git__malloc` right now is an implementation detail.

This implementation detail means that the existing backends don't have to be switched over to using `git_odb_backend_malloc` (although they could be). It also means that the caller (who takes ownership of the buffer) can still assume that `git__free` is the function to be used to free any buffer that comes back from an ODB backend. 

The implementation could be changed to have a separate heap for `git_odb_backend_malloc` allocations. Doing so would mean that libgit2 would need to keep track of the `free` function for each buffer so that it can call the right function at free time.

This implementation detail does expose `git__malloc` to any outside caller. But anyone using it for a purpose other than allocating a buffer to return from read/read_prefix in libgit2 is in violation of the contract and subject to being broken by the implementation details described above changing.

There are certainly other ways to do this. If this isn't what the team feels like is the best approach then I would be happy to revisit it.

Thanks,
Philip
Microsoft Corporation
Define git_reference_listall macro for backward compatibility.

The function name change breaks the backward compatibility: 4fbd1c007e6c72b32c0dd2a29036a5670f85120a

Wish you could merge this pull request to keep the backward compatibility.
Multiple event-listeners on dustjs.Stream

Hallo,

this PR adds support for assigning multiple event-listeners on dustjs.Stream.

This enables:

 * pipe to multiple streams
 * listen for the 'data'-, 'end'- and 'error'-event on several places that don't know about each other

It should not slow down the event-emitter.

Tests included.
Rebuild parser
reformatting files - no code change
Fixing a few issues.

This pull request is primarily to address complaints involving skill change saving, especially in regard to flatfiles. It implements the config option to limit how often a skill saves, while at the same time implementing a more complete save system, that attempts to save any changes that are made to a player.
better npm integration / package improvements

- add nodeunit to devDependencies, to be installed by running <code>npm install</code> from the uglify root dir
- add <code>npm test</code> script, to run all tests more conveniently
- require local version of uglify in the bin/uglifyjs script instead of global version
Ratio

closes #148
Add HasUuid module.

- Add with_model gem.
- Add HasUuid module.
- Post, User now use HasUuid module.
Firefox base resp fix

the non-responsive base.less got some responsive changes - cleaned up here
Final fixes for auto-upgrade.py.  Please include in 18.0.
768059 crashes by many

Fixes a bug in check_adu and update_crash_by_users
Fixed exception in JsonWebServiceBase.get

```args``` is a tuple, so ```%``` operator, applied to the tuple, expects that string contains ```len(args)``` ```"%s"``` substrings in the first argument.
I think that expected behaviour is a string representation for ```args```.
removing throttle selectors and relevant code from webapp fixes bug 770482

adrian r?
Bug 740256 - Correct password check for BID sourced credentials
introducing BroFactory, AddonFactory, and AppFactory

let's you create `Addon` objects (unsaved or saved) with some nice defaults. this is an improvement to the previous `addon_factory` which did 4 saves. and it speeds up tests a tad:

     (z)(Chris-MacBook-Pro.local) %% python /opt/speed.py factories "webapps search"                                                                                                    /opt/zamboni (factories)Benchmarks for webapps search:
     After (factories):
          Dropping database ...
          Trial 1:
               Ran 181 tests in 33.986s
          Dropping database ...
          Trial 2:
               Ran 181 tests in 31.541s
          Dropping database ...
          Trial 3:
               Ran 181 tests in 31.702s
          Dropping database ...
          Trial 4:
               Ran 181 tests in 31.457s
          Dropping database ...
          Trial 5:
               Ran 181 tests in 31.730s
          Total duration: 160.4160s
          Average time per trial: 32.0832s
     Before (master):
          Dropping database ...
          Trial 1:
               Ran 181 tests in 41.873s
          Dropping database ...
          Trial 2:
               Ran 181 tests in 43.294s
          Dropping database ...
          Trial 3:
               Ran 181 tests in 39.206s
          Dropping database ...
          Trial 4:
               Ran 181 tests in 35.471s
          Dropping database ...
          Trial 5:
               Ran 181 tests in 35.499s
          Total duration: 195.3430s
          Average time per trial: 39.0686s
     Before (195.3430 / 5) vs. After (160.4160 / 5) => 6.9854s faster (1.2177x speedup)
選手登録、選手一覧モック画面

選手登録、選手一覧モック画面です
Added Greek locale

After the recent update, I saw there is locale support in the addon page, so I translated the file which I think will provide greek locale support. I tried to keep any references I noticed. Also, this is the first time I am using both git and github and I am not sure if commiting to the master branch is the right thing. I followed github help in what I did. Please review.
26 Mayis bulusmasi

26 Mayis icin eklemeleri yaptim.
Better support for Graphviz subgraphs, and a test for example usage.

Changes triggered by a discussion on the user mailing list:
https://groups.google.com/forum/?fromgroups#!topic/neo4j/bY6YxT4g0RI
GCR cache renaming, cleanup, size diverge bug fix and more...

* Added fine grained size() tests for Node/Relationship and friends
* Reinstated GCR as the default cache, now that all known bugs are fixed
* Renamed Array cache to GC resistant cache after consensus on that name
* Changed size to always calculate worst case size.
* Added (reluctanty) a registeredSize on EntityWithSize which requires more memory, but solves a concurrency issue which made cache size diverge over time
* Correct size() calculations for all objects and some tests for size diverge bug
* Manual cache section updated with cache name change and minor changes.
Changed the precedence of AND/OR

fixes #426
added streaming results for http batch operations

* batch-http now streams results
* co-exists with normal batch-http, selection by accept application/json;stream=true
* changes error handling, http header is already sent so errors are in the payload
Fixes for bundler and Gemspec

Also added Travis link and URL to README (which you can remove)
Updated Arquillian to 1.0.0.Final

Hey Lincoln,

I was searching for the reason of the "response already committed" exception I got in the integration tests. Therefore I updated Arquillian to 1.0.0.Final and Jetty to the latest 8.1 release. Unfortunately I'm still getting the exception.

However I think we could consider to do these updates. All tests are running fine. The only problem I got was that running the build failed due to "too many open files" exceptions. But after increasing the allowed number of open files via `/etc/security/limits.conf` from 1024 to 2048 everything works fine.

I'm not sure if we should apply this patch due to the file limit problem. I leave it to you. Perhaps it is a problem that only appears on my box? I'm not sure. :)
Operation on files check
Components

I've added the most basic component structure and first component - Transform. You can take a look, it's example of use is in Camera/FreelanceCameraHandler.
Action menu, keywords.txt

Hacked keywords.txt so it's usable for clicking by ID.  Tests now passing for action menu. jbeyers & shentonfreude
RavenDB-556. Allow index entries queries on dynamic indexes
Make m_axis field available to subclasses of AxisLabelLayout

I was writing a subclass of AxisLabelLayout and this information is unavailable through any straightforward means. As far as I can tell, this is an omission and not a useful design choice, although I'm open to discussion on that point. The path exposes m_axis conservatively; a public method might be reasonable.
Finished translation in simplified-chinese except for module streams_core

Hi, I have finished the most translation in simplified-chinese for pyrocms project, except a new module "streams_core", because I haven't play this new module for a while, so I will leave it for my next step.

Also, I have pulled another request to 2.2/develop, so I only can submit a new pull request to a different branch. But, I think it will be great if you can merge this translation into 2.2/develop.

Cheers
I can has contribute spot ya?
Add xpath independent opf parser as replacement for jath

Hi there!

Finally got some time to digg a little further into #85. One of the biggest problems seems to be the missing XPath support of androids WebKit-Build for any version before Honeycomb. Jath, the tool used to convert opf xml to json, largely depends on XPath. However, the android 2.2 and 2.3 versions still build the majority over all phones worldwide. I could think of three approaches:

1. Use a javascript based XPath implementation (slow)
2. Use another XPath independent XML to JSON converter like operation-treadstone
3. Use a handmade opf to json parser

I decided to implement version 3 because i'm not sure if treadstone is ready for production use. The custom parser is only used if the current browser does not support XPath. What do you think?
Added support for extra properties that can be defined in the dash.yaml 

using the key ':graph_properties'. These properties can be and used in
the graphs as normal ruby code.

Example::

 :name: Java core metrics.
 :description: Different java process metrics.
 :graph_properties:
  :environment: dev
  :servers: [ server1, server2, server3, server4  ]

And in the Graph:

 title       "Heap memory for #{environment} machines"
 timezone    "Europe/London"
 vtitle      "size"
 linewidth   2
 linemode    "connected"
 description "Java Memory Usage in all machines in #{environment}"

 field :heapmax, :alias => "Heap Max",
                 :data  => "sumSeries(servers.java.caspercore.#{environment}.#{servers[0]}.jvm-heap.HeapMemoryUsage_max)"

 servers.each do |servername|
   field "heap_used_#{servername}".to_sym,
   :alias => "Heap Used #{servername}",
   :data  => "servers.java.caspercore.#{environment}.#{servername}.jvm-heap.HeapMemoryUsage_used"
 end
My docs' improvements on a separate branch.

Hi Ricardo,

here are the (virtually) promised documentation improvement for ::Section::Bugs in a separate branch (to gain more commentary). All tests pass.

Regards,

-- Shlomi Fish
Check for directory, not just existence.

... that it is, in fact, a directory.
Feature/dictionary support

Updated phonetic search and candidate related routines
SCUMM: More HES Games Detection fixes

I couldn't resist and bought some more HES CDs.
Excluding filters for facet ranges

https://github.com/sunspot/sunspot/issues/273
[WebProfilerBundle] Ajusted the color of the PHP logo

Since the redesign of the Web-Debug-Toolbar in #3850, a new PHP icon has been added, but its color is a bit darker (`#000000`) than the other icons in the toolbar (`#302e32` for the Symfony2 logo). @stloyd also noticed it [here](https://github.com/symfony/symfony/pull/3850#issuecomment-5137859).

This (minor) PR aims to ajust the background color of the PHP logo to keep a certain homogeneity.

The color change can be see there (before/after) : http://twitpic.com/9kbs4p
[FrameworkBundle] Added hostnamePattern to the router:debug command

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -
License of the code: MIT

When you use the router:debug command with a specific route, the hostname is not show. I fix this with this PR.  Also I make a little improvement to the requirements section.
[Component][Finder] tests and condition: contains() used on dir

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -

`Finder::contains()` and `Finder::notContains()` can't be used on directories.
[Process][Tests] fixed chainedCommandsOutput tests

Bug fix: no
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes (previously no)
Fixes the following tickets: -
Todo: -
License of the code: MIT

Currently, if you run the Process Component tests on an OS where echo does not support the -n option (like MacOS X), they will fail.

This PR fix that by using only a simple echo which is universal.
[HttpFoundation] Add isMethod() to Request object.

Bug fix: no
Feature addition: yes
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -

Justification is for convenience.
[HttpKernel] Have Kernel Extend ContainerAware

Minor pull request to have Kernel extend ContainerAware. Will save us having to declare ```protected $container```.
[Form] fixed a bug that caused input date validation not to be strict when using the single_text widget with a date/datetime field


Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -
License of the code: MIT
Documentation PR: -

Currently, input date validation is not strict when using the single_text widget with a date or datetime field. This will cause unexpected transformation of input date value as follows:

* 2012-04-31 => 2012-05-01
* 2012-04-31 03:04:00 => 2012-05-01 03:04:00

Additionally this is not same as other transformation logic for date/datetime fields because they use the checkdate() function to validate input date values. The checkdate() function validates a date strictly.

```php
<?php
var_dump(checkdate(4, 31, 2012)); // bool(false)
```

BTW, the documentation of [IntlDateFormatter::setLenient()](http://php.net/manual/en/intldateformatter.setlenient.php) and [IntlDateFormatter::isLenient()](http://php.net/manual/en/intldateformatter.islenient.php) have been fixed recently. Please see https://bugs.php.net/bug.php?id=61896 **The default parser is lenient, not strict**.
Establish the root object, `window` in the browser, or `global` on the server.

Instead of using `window` object directly, establish the root object which will be `window` in the browser or `global` on the server.

The change imitated underscore.js.
This change would also make moment.js possible to use on mongoDB shell.
Fixing javascript error in IE7, fetching href property with % symbol in it.

IE7 breaks when you try to retrieve the href property if it contact a percent symbol (except when it is an urlencoded other symbol, eg: %20). Using the getAttrib lets it fall back to the tiny-mce-href property which does not break.
vikiOpenUrlWith

Fix a possible typo that can cause: 'Please define g:vikiOpenUrlWith_http or g:vikiOpenUrlWith_ANY' on some systems.
Edge

Hi, the previous version has bugs when the pbs server is not a pbs mom, I fixed it.
Master3

hui
New zinc

No need for the depemitter plugin, zinc now has this functionality. 

Note that you may need to futz with your ivysettings.xml to pull the new zinc. It's in maven central though, so maybe you just need to wait for it to percolate to the mirror you use?
Initial port to sbt 0.11

I couldn't find an sbt 0.7.4 for Scala 2.9, so I began porting to sbt 0.11.

This builds and runs and generates working output. But tests do not run yet as most of the test harness is commented out in the Build.scala.

Maybe pull this into the `twitter/scrooge` repo under an `sbt11` branch to work on. I'll keep hacking on it in my fork, too.
Adjusts templates to generate working forms and show views

Scaffolds should build proper forms and show actions now.
Refactor and clean up views

I reverted jquery-rails change and squashed all commits into one.
CA-83837: VBD_unplug is now more robust; should not hang erroneously

Reliably cleaning up a VBD is quite tricky since:
  1. the domain may have been destroyed underneath us
  2. the xenstore device may have shutdown already

The code now cleans all the resources up independently, and avoids exiting early with (occasionally expected) exception.

Note this depends on a xen-api-libs pull request.
Note this does fix the blocking behaviour *but* it won't be as good as the previous release until either
  1. we revert the shutdown-done / PVops compatibility fix
  2. blkback guarantees to fire the udev remove event even when a hotunplug is initially rejected by the frontend.

This has been tested by:
  1. quicktest: this does a number of VBD operations which are relevant
  2. suspend: verified no storage resource leak
  3. localhost migrate: verified storage resources are properly accounted for
  4. VBD.unplug doesn't block even if the device is in use by the guest. *Note* this is where the blkback bug was exposed: if the guest initially refuses the unplug but then subsequently lets go, the VBD is left attached because the remove udev event doesn't fire. The disk ends up in limbo: the guest can't touch it and neither can anyone else, until the VM is rebooted.

On component testing: we don't have an easy to manipulate/signal guest kernel (yet) so I couldn't write an explicit component-level test for this stuff. Instead I've added a file:

ocaml/xapi/storage_test_ideas.md

with descriptions of what the test cases should do, once we have the infrastructure.
CA-96211: Fix return value of system.isAlive.

This was causing pooling not to work, as all connections failed
the 'is_reusable' test in xen-api-libs/http_svr/xmlrpc_client.ml (!)

Resolves: CA-96211
Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Pipeline.sort with dstkey uses right Response type. Issue #220
issue #18281: Error when incident saved because of "Note to Comment" trigger.
Prefer built-in clojure.string/escape over .replace
Update master

一点JavaScript语法错误
Security fixes

These fixes attempt to prevent malicious users from deleting any file writeable by the webserver or files uploaded by another user that the malicious user shouldn't be able to delete.

I made it backwards compatible to keep from breaking current installations, but I'd suggest we add info to the docs on the Yii extension page about the secureFileNames flag for the action and recommend its use.
About contents and titles

- Use CTEXsetup instead of titletec
- Modify skip before and after titles and contents entry
Patch 55
Implement Playlists

Ability to create and manage playlists.
x:line bugs and updates

Apparently I derped matching q:lines when I normalized it to match with `self.matches_xline` like most of the rest of them.
Also, I caught too late for the last pull (#90) an exception on startup caused by it trying to incorrectly match the date format.  I've fixed what it thinks it should be.

I just saw your comment on #90 and added save-on-expire for matched z:lines and q:lines on connect as well.
Issue#71 Naturally reinforced blocks

Added the ability to configure reinforcement per material types for blocks
 generated across the map. This reinforcement is different than player
 reinforced blocks as it is done automatically in the DAO cache when a
 block of a configured material type is first broken. This type of
 reinforcement does NOT get saved to the database.

The configuration is simple:

      hardenedMaterials:
        IRON_ORE: 3
        DIAMOND_ORE: 10

This configuration would cause Iron Ore blocks to require breaking 3 times
 before they actually broke. As you can guess, the second material defined
 here would cause diamond ore to require 10 breaks.

I will add that the Reinforcement class should be refactored into
 IReinforcement, PlayerReinforcement, and EnvironmentalReinforcement so
 that this type of reinforcement, with how it is added here, isn't as
 kludgey in the code.

http://www.erocs.org/~erocs/Citadel_i71.jar
History for closed tabs + fix tab close animation.

Now when you close tab, the next focused is managed by an history of focused tabs.
Static pages

updated view for Home page with an Embedded Ruby title.
Added missing description in #__categories table SQL creation

Default mysql.sql file was missing the `description` field
Review: In IBA::resize, use divide rather than multiply-by-inverse to improve precision

In IBA::resize, use divide rather than multiply-by-inverse to improve precision for filter normalization.

There are numbers for which x*(1.0f/x) != 1.0, wowee, and that throws off our filtering,
for example we can filter a flat 1.0 image and get result values that aren't exactly 1.0.

I did verify that even when resizing big images, this makes no measurable difference in speed.

(This was the original source of the roundoff error for the review I sent out yesterday regarding float-to-int quantization.)
Change channel range notation for ImageInput methods to [chbegin,chend).

I've recently become deeply bothered by the inconsistency in ImageInput between how we specify spatial extends as [begin,end) but channel ranges as firstchan,nchans.  I think we should change the ImageInput API calls to specify [chbegin,chend) as well.

This patch altered the ImageInput::read_scanlines, read_tiles, read_native_scanlines, read_native_tiles, read_native_deep_scanlines, read_native_deep_tiles so that instead of specifying channel subsets as (firstchan, nchans), they are specified as [chbegin, chend), to match how spatial extents are done, as well as how channel ranges already were specified in ROI and ImageBuf.

We hate changing API meanings, but we really think this is better and more consistent.  Note that the two common uses of channel subsets were firstchan=0,nchans=nchannels (select all channels) and firstchan=foo,nchans=1, and we have rigged it so that [chbegin,chend) returns the same channels in both of these cases (in the latter case, because we retrieve a minimum of 1 channel), so we believe this is unlikely to break working code in the vast majority of cases.

I realize that this may be controversial.  One possibility is to commit this to 1.1 -- despite promising that we don't break APIs once we have stable releases, it just went out so it probably won't inconvenience people too much if we do it quickly.  Another possibility is to leave 1.1 as it is, and commit this to master only, essentially making the API change be part of 1.2.  Opinions wanted.
oiiotool & iinfo: bug fix with SHA-1 hash

We were not doing a seek_image before the read for the SHA-1 hash, so in the case of a MIP-mapped image, we were pointed to the lowest-res MIP level, not the highest-res level.  That could result in two images that were quite different having the same hash if they had the exact same average color.

Note: this did NOT affect maketx/TextureSystem's detection of duplicate textures, which always hashed the original pixels correctly.

Also put in a check for errors in the read_image call used to read the buffer that is hashed.
Chat

der chat aktualisiert sich jetzt automatisch alle 5 sekunden. sowohl dieses interval, als auch die anzahl der anzuzeigenden nachrichten laesst sich ueber die config.yml einstellen. ausserdem wird der zeitpunkt der nachricht dank des knp/time-bundles jetzt huebsch in der form "vor 5 sekunden" etc angezeigt.
merge Slider2d dev
fixed handling of directories and added supported Windows versions to readme

Here is a fix for the issue I reported in http://robindavid.comli.com/pyads/#comment-298.

FindFirstStreamW in ADS.retrieveStreams was returning a handle of -1 when there is no data stream, which is the case for directories without any data stream. This was never a problem for files, because files always have at least the default data stream. Also, the first ADS of directories with one or more ADS was missed: it was found already by FindFirstStreamW, but not appended to streamlist.

This now works for me, but I may not  have tested all use cases.

I added to readme that FindFirstStreamW and FindNextStreamW were not available before Vista/2003.
chg: outsourced callpolymake configuration to seperate configure file
Mushroom and huge mushroom generation code

I'm still working on the populate method. I've made the generation code flexible, so size parameters can be modified and the mushrooms will keep correct shape and metadata and new mushroom types can easily be added. Since metadata doesn't yet work on Spout, I test it it on CraftBukkit. I'm using world instead of chunk parameters for generation since a mushroom on the edge of a chunk can have blocks outside of it, which currently aren't being placed properly. This code also works for generating huge mushrooms by bonemeal using on small mushrooms.
Bugfix/nextAll

Currently, a large number of slides causes crippling performance in Chrome (and I think IE).

It seems that Chrome can't handle a lot of stacked (z-index) slides that are "visible" (display: block).

I have added a limit to the nextAll selector that sets all the next slides to display: block.  Now, it only acts on the next 2 slides.

Additionally, I have modified curtain.css to hide all but the first 2 slides by default.

These fixes took my project from unusable to lightning fast in Chrome and IE9, and also improved load time and performance in Firefox and Safari.
Nerd tree navigation

Enjoy
Quick fix for boost 1.50

This simply changes the namespace name for "filesystem" since boost 1.50 removed filesystem v2 entirely.
Some changes on the google branch good for master
Rebase of #46 to account for host token order correction

This is just a rebase of #46 on top of the bwf-pr35 branch, to clean up the merges and to account for the correction of `host_tokens` order.
Terrain integrated into main code folder
Пропущен предлог

В истории про C++
modifié le paragraphe 5

modifié le paragraphe 5
Fix tags handling

Ensure that tags are not accumulated from one scenario to the next and that tags specified in config file is not overridden when `-t` (or `--tags`) option is not specified.
Kill job and task PR for Issue #81

add kill task and fail task cli,
btw: add task type for taskId, task index is still exists
Please add fixes for VS2010 and the charset bugfix.
Updated to Scala 2.9.2

Updated the nbscala.patch for and pom dependencies to use scala 2.9.2.

Rearranged the nbscala pom a bit for readability & got rid of some more compiler warnings.

The commit for restricting the NB platform to releases (ee2edd1a), you may or may not want to use.
Added zip and unzip definitions for Vect
add __add_properties__ to GeoInterface

This pull request suggests adding an `__add_properties__` property to the `GeoInterface` class. With this user-defined classes can define additional properties (e.g. association proxy properties) that should be considerer by `__read__` and `__update__`.
root as InitialState for Ember.Router
ECMS-4165 just synchonize on addUIExtension to avoid BLOCKED thread

ECMS-4165 just synchonize on addUIExtension to avoid BLOCKED thread
Makefile

Added quick and dirty makefile and short readme
[jcommon] Remove log4j dependency in code

Summary:
This diff tries to remove log4j dependency in code and let the library
only depend on slf4j-api. I also removed a lot of logging statements
in unit test because in my opinion unit tests should only print
when the they fail.

This diff only cleans up a minor bug in jcommon-concurrency, where
the file ExceptionHandler is put into a wrong package. This caused
the build in eclipse to fail.

Test Plan: mvn clean install in root directory.

Reviewers: srash, timw

CC: jaxlaw, security-diffs@lists

Differential Revision: https://phabricator.fb.com/D626976
Update to sguil output plugin to allow events without packets to insert some IP information

I'm still not entirely sure how events get into the log without packets, but this allows sguil to receive as much IP information from the event itself as possible even without the packet.
Adding 'clear' as a module level function for use with defaultLogger

Pretty small change, I'd like to be able to 'clear' all the transports on the default logger. Seems like most of the code to do this is already there.

Let me know if there's anything I missed!
Add Scientific Linux to platform cases

Will be nice to transition from this to "platform_family" but for now, I just need to include Scientific Linux alongside RHEL and the rest.
Fix for issue #16

This fixes #16 but introduces a memory leak.  The array of nonces is not just a nonce count, but an array of used nonces, which is pretty sequential.  Some added logic to merge sequences would probably avoid the memory leak
Added tests for optimized matrix4 multiplication.
Propagation of focus event from the original select to chosen

This relates to PR #240, but I changed the .coffee file instead of the .js file. I think it's handy to have the focus event from the original select propagate to chosen.

This also prevents a nasty problem I encountered when using HTML5 validation attributes (i.e., required) on a select later turned into a chosen field. If the user tries to submit the form with no value selected in the field, the submit will just silently do nothing, because the browser can't focus the select field as it's hidden.
Results of dropdowns should be forced to 1 line.

An example of what i've come across is below...

Desired results (of a dropdown): 

January 1
February 1
March 1
April 1
May 1
June 1
July 1
August 1
September 1
October 1
November 1
December 1

Actual Results: 

January 1
February 1
March 1 
April 1 May 1 <----
June 1
July 1
August 1
September 1
October 1
November 1
December 1

Since the width is being set by the largest element, if there are smaller ones in the list, they are wrapping incorrectly (in all browsers). Adding float: left; clear: left; is forcing every item to be on its own line. Confirmed to work in IE8+, IE7 falls back to the default selects anyway.
Fix GH-17 use standard hadoop install paths for libhdfs

- Remove redundant cmake code
- Remove use of EXTERNALS_DIRECTORY

Signed-off-by: Rodrigo Pastrana <Rodrigo.Pastrana@lexisnexis.com>
请看看合不合适

主要对daemon部分进行了修改。确保每次只能有一个daemon在运行。
可以通过
sudo yah3c start|stop|restart 
来控制daemon的状态
并且兼容已有的命令。即
sudo yah3c
的行为和原来的一样
I worked on the refactor of the User suite

Whats left: change the app router and change the app view to include the various user views.
Update web/tutorials/faq.markdown

Removed extra ">>>" to fix the compilation error.
[AS7-4112] Fix XSD and parsers for the deployments element.

Fixed all versions of the XSD and enforced the behavior in the parsers.
Simple test that the DC version information is applied to the slave doma...

...in. Patch remoting and xnio for backward compatibility as discussed on IRC

The remoting and xnio upgrades are handled in OldVersionCopier, and the reason is here:
[3:24pm] kkhan: dmlloyd: In the mixed domain tests if you try to connect to an old version of HC and execute an op which returns a lot of data, it hangs. Here is the slave thread dump: http://pastebin.com/e32D97gg, and here the test thread dump http://pastebin.com/XsjbCWBc. The ModelControllerClientOperationHandler line numbers in the slave one are a bit off due to printlns
[3:25pm] kkhan: THis is also reproducable using CLI from master, and trying to run ops on e.g. a 7.1.2 standalone instance
[3:26pm] kkhan: A :read-resource works while a :read-resource(recursive=true) hangs
[3:26pm] kkhan: emuckenhuber has looked a bit at window sizes but I'll let him fill you in on that once you come online
[3:29pm] • dmlloyd 
[3:30pm] dmlloyd: definitely looks like a window issue of some sort
[3:30pm] dmlloyd: the reader is reading and the writer is writing
[3:30pm] kkhan: Also reproducible if you have a 7.1.2 slave connected to master DC and you do a /host=slave/server=server-one:read-resource(recursive=true) which I assume is the same problem
[3:31pm] dmlloyd: can you verify the remoting versions on each side?
[3:31pm] kkhan: sec
[3:31pm] dmlloyd: I think that unless Remoting is up to date on both sides there will be unavoidable issues
[3:31pm] dmlloyd: that even applies to old HCs
[3:32pm] kkhan: So old HCs would need their remoting patched?
[3:32pm] dmlloyd: I suspect so, yes
[3:32pm] kkhan: so master uses jboss-remoting:jar:3.2.13.GA
[3:33pm] kkhan: 7.1.2 uses jboss-remoting:jar:3.2.7.GA
[3:33pm] dmlloyd: then yeah I think that's it
[3:33pm] kkhan: ok, I'll take that for a test spin
[3:41pm] kkhan: dmlloyd: ok, so I needed to upgrade jboss-remoting for those versions^
[3:41pm] kkhan: and xnio-api from 3.0.3->3.0.7 to avoid a java.lang.NoClassDefFoundError: org/xnio/BrokenPipeException
[3:41pm] kkhan: bstans_afk: ^^
[3:42pm]
AS7-5448 for 7.1

Accitently hacked this over 7.1. soo....
Web 7.0.14
[7.1][AS7-5767] marshall empty messaging subsystem

check whether the messaging subsystem has defined any hornetq-server
before marshalling them

the bug does not occur in AS7 master branch since https://github.com/jbossas/jboss-as/commit/d6c93c2e5a4677a15ecc5de72010f4e1e9fc722a
Added event ID to API V2 events output.

Adds the event ID into the V2 API output when listing events or retrieving a single event's details.
DatePicker: modified the wrong translation of abbreviated month names in Chinese

DatePicker: modified the wrong translation of abbreviated month names in Chinese. Fixed #8511 - Localization Issue: the monthNameShort in Chinese is wrong
Update tests/SyncTestCase.py

Not PEP8 but more readable
Check for non-alphanumeric characters on both right and left sides of equation

This will raise exceptions in QC.  This commit also adds an error check pre-output port assignment, so that broken expressions do not get assigned.