labofsahil/github-event-dataset-2012 huggingface dataset:
Capability of mocking delegates (event handlers)

Contents:

In short, this patch adds support for 'new Mock<DLG>' where DLG is derivative of System.Delegate. This should cover all possible event handlers, both concrete like PropertyChangedEventHandler, and generic like EventHandler<EventArgs<string>>, but also all other delegates like System.Action<..> or System.Func<..>.

Previously it was not possible, because the delegates are in fact a compiler-generated classes with parameterized constructors, and the constructor's arguments need to meet several conditions. They couldn't be autogenerated in a standard way the Moq does, and the proxy builder crashed if given a request to make a proxy for a delegate.

The idea behind the patch is fairly simple: translate the request from mock-a-delegate into mock-a-normal-class.

Thus, if Mock<T> detects that the T is a subclass of System.Delegate, it not now doesn't try to mock the delegate, and executes following workaround:
1) dynamically creates an minimalistic interface[1], which declares a single method, which exacly matches the delegate's type
2) it creates a mock object based on that interface, effectively calling 'new Mock< thatinterface >'
3) constructs a delegate of requested type in a classic way, specifing the newly created proxy object the delegate.Target and the interface's single method as delegate.Method

This means that the constructed delegate object is a completely normal delegate object and is not a proxy itself. The proxy is hidden in its Target/Method, and the delegate is properly usable in all normal ways: it can be invoked, used as an event handler, merged with other similar delegates, etc. The Mock<DLG> relays all actions to the actual mock object, thus all Setup/Verify operations work as expected.

Notes:
[1] it is obvious that it is the delegate's type that dictates the exact shape of the generated interface; the dynamic interfaces are cached and reused

Example of use:
test if a public event was raised

    // Arrange
    var fakeHandler = new Mock<EventHandler>();
    var sut = new TestedObject();
    sut.TheEvent += fakeHandler.Object;

    // Act
    // ...do something that should have an side effect of raising the event

    // Assert
    fakeHandler.Verify(eh => eh(sut, It.IsAny<EventArgs>()), Times.Once());

Credits:

Over 90% of the patch was originally prepared by RoystonS...@gmail.com (-> http://code.google.com/p/moq/issues/detail?id=235#c2) for svn rev 668 (-> http://code.google.com/p/moq/source/detail?r=668).
I've updated his original patch to svn's current head (751), and also for the new repo on github. I've also added support for Mock.Get<>(), as it was overlooked in the original patch and rendered usage of 'functional-style' Mock.Of<>() useless if the mocked delegate was meant to .Verify() something.
More encoding fixes

I introduced a bug (which I fixed in this) and then fixed a sending error in the irc backend
Adding the "state" param to auth code url requests

The Facebook auth code URL allows you to include a "state" parameter which is passed back with your redirect_uri. Useful for passing data for verification of the source and/or needed by the handler page.
Updated basecommand.py such that writing to the log file doesn't fail. If...

...

permission is denied for writing in the specified log file the message
will be written to a temporary one.
Sort example

Created an example to show how to use DataSource with 'parser' to convert remote data so sorts with DT works okay.

Then ... I started to rethink myself (dangerous...) if I should include recordType and setters, if that is the "real YUI way" now.

Don't know if I should continue with this example, refactor, or abandon.  

Any thoughts are welcome.  Thanks
fixed stdlib inclusion bug

stdlib inclusion would fail with a python error if dcc was invoked through a symlink
Removed one broken spade DTM, Added two working ones at different angles...

.... Tested and worked.
Update Backlinks extension to utilize atomic updates in Solr

This is some planning ahead for the upgrade to Solr 4.0. Once this is introduced, activating this extension will enable the follow workflow during parse:

* Any time a link is rendered in an article, that link's text, source, and target are stored
* When a page has completed parsing, it registers a job responsible for using the backlinks aggregating during parse to create Solarium_Document_AtomicUpdate instances
* These documents will have dynamic fields set that are uniquely identified by the source article's ID
* All such dynamic fields are copied into a general "backlink text" field, allowing us to use this for generic searching
* Because these dynamic fields use the document ID in its naming, we can actually use [Solr's JOIN capabilities](http://wiki.apache.org/solr/Join) to get some interesting information out of the index

An update to the backlinks maintenance script should allow us to drop all of the tables previously created for this project, as we are pushing this data directly into Solr via our Job application backend. 

Before we can activate these changes, we need to be fully upgraded to Solr 4.0. We will also need to update our backend indexing component to use atomic updates, or we risk overwriting this data any time the page is reindexed.

This update also includes adding in unit tests to the Backlinks extension, where possible.
Preserve job enabled.

Resolves issue #160
Replace Java serialization of DaemonMsg by protobuf. See #1755

* Serializers for DaemonMsgCreate and DaemonMsgWatch
* Protobuf for DaemonMsgCreateProtocol, PropsProtocol,
  DeployProtocol, DaemonMsgWatchProtocol
* Removed unused MailboxProtocol.proto
* Fixed wrong serializeActorRef in DurableMessageSerialization
Cherry-pick of Reset StreamCache in getBodyAs to be able to re-read it, see #2724

(cherry picked from commit 99b02c08268fe363ec6ee5687dc5365a3ec56c78)
Wrong message ordering in ClusterDomainEventPublisherSpec, see #2648

* Problem: testActor subscriber sometimes didn't receive expected published
  message
* Reason: the testActor subscribe/unsubscribe in beforeEach/afterEach via
  different instances of the publisher, therefore the ordering of those
  messages were not guaranteed, and unsubscribe happend after subscribe
* Solution: subscribe directly to the eventStream once, and use separate
  TestProbe to verify the subscribe/unsubscribe
Added changes to Netty pipelines to support SSL/TLS. Fixes #1978

1) Netty server and client pipelines updated to conditionally load keystore/truststore if SSL is enabled in the config
2) Supports any available encryption protocol via 'ssl.protocol'
3) Supported encryption algorithms are specified via 'ssl.encryption-protocol' config key
Fix for addHook(array(),$this);

Related issue: https://groups.google.com/forum/#!msg/agile-toolkit-devel/ZZ-sqq_p-a8/n5QQ-PknNCwJ

addHook(array('x','y','z'),$this) and addHook('x,y,z',$this) didn't work anymore because values in $hook_spot was not split before using $callable->hasMethod($hook_spot).
Add i18nmsgattr

Added i18n:msg attribute to some sentences, letting i18n gettext more simple and more flexible. Corresponding gettext file is at https://github.com/cm3/ckan.po-ja/blob/14e8dc445e0b0fad65ec7421a8c380cab09b0d6d/ckan.po.
T2002

This is the Toro et al 2002 GMPE. Requires https://github.com/gem/nhlib/pull/88 to land first for a cleaner diff.
Videoplayer improvements

I lost track of what I was doing in the other branch, so decided to start fresh.
- implemented pause feature, closes #231
- cleaned up kivy.uix.video: no more 'dummy' attributes left over from image
- updated documentation, which builds cleanly with sphinx (please check that I didn't miss/malform the versionadded/versionnew directives)
- updated videoplayer example (tested with old code for backwards compatibility as well)
atheme: Update to 7.0.5 and a few other improvements

- Updated to 7.0.5
- Added a patch to resolve the usage of /var/run which is memory mapped in Arch and not exactly
useful here
- Fixed the download link (for some reason they stopped supporting anything but www. on their
sites ...)
- Gettext is required or else the package won't build unless you disable NLS (it's a base
package, but still could be uninstalled)
- Enabled PCRE support
- Added /var/log/atheme to the owned folders
- Improved the install routine to now be more failsafe
- Added the >=2.0.0 requirement for libmowgli. If you'd have a previous libmowgli and build the
package, libmowgli would be packaged with Atheme, which would break subsequent libmowgli
installations and system updates.
proper dependencies in ufo

needs testing
Fixes a problem that was preventing mono from compiling

Somehow the compiler became more strict, and a not-implemented class is now
causing mono to fail to build.

The attached patch doesn't really fix anything besides letting it compile.

I was nice enough to throw a NotImplementedException() on the default
constructor.

The compile time error was:
System.IO.MemoryMappedFiles/MemoryMappedFileSecurity.cs(35,15): error CS0122:
`System.Security.AccessControl.ObjectSecurity
<System.IO.MemoryMappedFiles.MemoryMappedFileRights>.ObjectSecurity()' is
inaccessible due to its protection level

Feel free to reject this patch if I am the only one seeing this problem (on
Linux x86_64 build) after most recent git clone of mono/master.
Fix for ruby 2.0

try_send includes protected methods in respond_to?

- respond_to? does not return true for protected methods in Ruby 2.0 unless
   you explicitly pass true as a second argument

This fix is entirely from [sax](https://github.com/sax) and closes #572 but since that issue has not been updated for a month I thought I'd fix the things commented on in that thread.
DOC - Add reference to white matter diffusion values.
WIP: Pre release doc cleanup

Removing old sphinx extensions

Using newer versions of extensions.

Switching to PNG math for math (mplmath sometimes fails)

Fixing examples in plots.
853503 - fix the unit remove logic to not worry about symlinks causing p...

...ackagegroup category to fail
fixed jruby_restart.rb for use with bundler

When Puma is run in JRuby in without RBENV or RVM the ARGV is set differently then when using a Ruby version manager. This causes Puma to load the wrong file when issued a restart command and crash.

For example running: 

```bash
jruby -S bundle exec puma -S tmp/status.txt
```

And issuing a restart `kill -s USR2 pid` will call `Puma::JRubyRestart.chdir_exec` setting `argv` to `["/etc/jruby/bin/jruby", "/etc/jruby/bin/puma", …]`. 

This is an issue because `argv` is prepended with `cmd` `/etc/jruby/bin/jruby` causing Puma to reload `/etc/jruby/bin/jruby` instead of the `/etc/jruby/bin/puma` script. 

I added a condition to prevent this.
Fix issue with older versions of asciidoc

Older versions of asciidoc stop with the error
asciidoc: ERROR: relax-and-recover-user-guide.txt: line 9: malformed author: Dag Wieers and Jeroen Hoekx
The patch is a workaround to avoid such errors.
ruby-electric.el: using variable `last-command-event' instead of obsolete `last-command-char'

`last-command-char` is long obsolete and recently was removed in GNU Emacs trunk, which broke "ruby-electric.el".

From emacs documentation:

```
last-command-char is a variable defined in `subr.el'.

  This variable is an alias for `last-command-event'.
  This variable is obsolete since at least 19.34;
  use `last-command-event' instead.

Documentation:
Last input event that was part of a command.
```

This patch simply replaces uses of `last-command-char` with `last-command-event`.
Android cannot load libraries from "java.io.tmpdir"

Android cannot load libraries from System.getProperty("java.io.tmpdir"). See http://stackoverflow.com/a/6291443/14731
Refactored C code to remove GOTO's

Replaced GOTO-statements in the crypto_scrypt-*.c files with functions doing the same things. A few lines longer, but more readable.
Bug when cleaning the database from rar files

Since the CRarFile::Exist method looks for files in the rar cache, it might return false positives when a file exists in the cache but not in the filesystem.

This small fix solves that problem by adding a check to the RarFile::Exists method, checking for the file in the filesystem using the CFile::Exists-method. If so; it continues by looking for the file in the archive, else it returns false.
[droid] Enable API Level 9 (platforms/android-9) 

The AndroidManifest.xml had the API level set to 10 when it should be 9. The change will allow a number of 2.3 devices to run XBMC instead of receiving an error at launch.

The documentation example also shows API level 9 used.

This was reported by an XDA user an a user of www.xbmcandroid.com/forums .  I worked with the users to ensure that this resolves a manifest error they received at launch.
Implement new step definition: 'Then the browser should have a "___" cookie

Note that the `cookies.feature` test will not pass without the `GoutteDriver::getCookie` fix that I did in commit 298cf12b4a7d14ed57f8114fb0004feca90bef4d (pull request: https://github.com/Behat/Mink/pull/216)
改main.css

只改了兩個地方(#servicesIntro的height=275, #servicesIntro ul li的height=276)
Alsaequal asoundrc

Install alsaequal and run alsamixer -D equal to configure the equalizer.
[BUGFIX] make type loading order independent

For sub- and supertypes to properly work and contain all metadata,
the supertypes had to be loaded *before* the subtypes.

This change fixes this; making the supertype loading order agnostic,
also retaining the metadata of the super type.

This is needed for TYPO3 Neos to work properly, as we make escessive use of supertypes and metadata.
Feature/raise auth failure if publickey only

If "publickey" is the only auth method, raise `Net::SSH::AuthenticationFailed` on auth failure instead of prompting for password
bugfix in assign
Stream compression using Zlib
Set https-proxy to http by default in "utils/fetch.js"

When I set "proxy" property in config, but does not set "https-proxy", I have this error:

npm http GET https://registry.npmjs.org/wordwrap
npm http 200 https://registry.npmjs.org/wordwrap
npm http GET https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz
npm ERR! fetch failed https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz 

with this exception:
{ [Error: connect ENETUNREACH] code: 'ENETUNREACH', errno: 'ENETUNREACH', syscal
l: 'connect' }

I find in "utils/fetch.js" that that for HTTPS protocol by default does not use "proxy" property, and this cause error.

P.S. Sorry for my English :)
Allow repository to be used from $NODE_PATH

Having a toplevel directory called "lib" means you can't put a repository checkout on $NODE_PATH and be able to require("dynamo").

I've added a symlink that enables this, although it would be perfectly reasonable (but a little more effort) to rename "lib" -> "dynamo".

I need this because I don't use `npm`, and would rather not have to maintain a fork of this project just to change the toplevel directory name.
poprawiony update bazy. najpierw sprawdza czy wpis istnieje.
Bind 'esc' to close panel. Also stop pane bindings when in input mode

Replacement for https://github.com/lwc/triage/pull/25/files

The functionality is the same, the difference is that instead of checking the user's focus on certain actions we simply stop the event propagation by catching the event on the textearea/input/select element.
Create new mgp plans
updated to_msgpack() implementation

This patch improves to_msgpack implementations in test/perf_simple.rb and test/perf_strict.rb.

And here is a benchmark result that shows different result than the current README.md:
https://gist.github.com/2692477
Fix OOIION-625: Scalable extended resources queries

DO NOT MERGE !

Stephen, please review this change in algorithm.

I have tested it briefly with the UI and it works fine. Needs more testing and review before merge, but it feature complete at this point.
Adding documentation for cast and make-predicate.

Also converted tabs to spaces.
Update YUI to latest version (3.6.0).

This updates YUI to the latest version (3.6.0), which was released on August 1, 2012:
http://www.yuiblog.com/blog/2012/08/01/announcing-yui-3-6-0/

I am unsure what `libraries` map in `public/js/render/console.js` is used for, but it had a reference to really old YUI version, so I updated that to 3.6.0 as well.
export into the exports object if present

One thing I forgot on my last pull request was to export into the `exports` object if it is present instead of exporting functionality onto window as globals. The old test suite should still pass but now when you `require('lens')` you should get:

```
> require('lens')
{ CopyLens: [Function],
  DefaultLens: [Function],
  DelLens: [Function],
  ConcatLens: [Function],
  KleeneLens: [Function],
  UnionLens: [Function] }
```

Just bump the version in the package.json to `0.0.1` (or whichever) and `npm publish` to put the newest version on npm.
Add attachments to JEs
Feature/mutability by default

Cleans up the network spec and serialisation a bit and introduces an important change:

## GameMaster does not copy the universe before sending anymore

(but sometimes it does – e.g. when the universe is noised)

In effect this means, that in a *local* game it is possible for a malicious (or negligently written) Viewer or Player to alter the universe. AbstractPlayer is taking care of the badly written ones by doing some copying on its own before storing new universes in the history, but anyone is able to change or circumvent this. (**)

Remote games have the advantage that copying is done ‘in the design’ so there is no need to enforce it.

Also, as an educational feature: Understanding the added test in test_simplesetup is key to understanding how zmq works and how to deal with asynchrony without using time.sleep.


(**) AbstractPlayer should turn the copying off, when it figures that a remote game is being run. Otherwise there won’t be any speed improvements and instead the time needed for copying brings the Player a tiny bit closer to the timeout. We’ll need to find some proper way of doing this, though.
Account cards

This branch is additional work on top of user_account.  It flips the account/card relationship so that @card.account updates the account with @card.save.  When this is acceptable for development, merge it into user_account and we will continue to refine that pull request.
systemd: Fail if kernel features are missing.

@edolstra: For you to review, don't want to hijack your systemd branch.

This has rendered my system unbootable, because I forgot to enable AUTOFS4 in my custom kernel. In addition to AUTOFS4, this includes (hopefully) all other kernel features needed by systemd, as listed in the README:

```
REQUIREMENTS:
  Linux kernel >= 2.6.39
    with devtmpfs
    with cgroups (but it's OK to disable all controllers)
    optional but strongly recommended: autofs4, ipv6
```

Autofs4 is not a requirement here, but in our case it turns out that the system is not able to boot properly with a LUKS-enabled system (or at least not on _my_ system).
Port TJpgDec, reimplement BMP decoder, add mono color support and bug fix

After several rounds of trial and error, finally I made the history simpler and clearer. 
Please review.
Fixes and improves ACPMenuCacheBuilder

Previously, the menu items for the option categories were broken. Additionally, I rewrote the code using database object lists which saves two queries, one including a sub-query.

Hopefully, the **complete** ACP menu is working now again.
Roll scroller width back (from css to js)

width: 100% does not consider gutter.
So, let set width by js. Or we can set "right" property when initializing and know scrollbar width.
Subpixel positioning

fixes part of the Issue #681 (misplaced selection),
scrolling for small zoom levels remains
but it is probably a bug in chrome, since after calling 

```js
element.scrollTop = x
element.scrollTop != x // is true
```

also someone on mailing list reported problem with rtl pages because of measure node
changing it's position to `fixed` solves is there any reason `absolute` is used?
Go mode

Hi guys,

as part of my work on http://cocode.io, I've implemented a Go mode for ACE.
I'm glad to share it with you, any interest?

Thanks!
Davide
Hotfix/domparser conflict

@janjongboom @mostafaeweda 

This is the fix for the problem you wrote me about:

'insertMarkup' can't be executed in parallel, but it doesn't implement any queue'ing mechanism or something. (Or it could even mean that it breaks after the first insertMarkup call, don't know this for sure). Therefore we run into timing issues on the deploy plugins, who all use insertMarkup to inject themselves into the deploy 'holder' element.

The reason it exits is this I believe:

        var doc = this.nodeType == this.NODE_DOCUMENT ? this : this.ownerDocument;
        if (!doc || doc.$domParser.$shouldWait) {
            return amlNode;
        }

doc.$domParser.$shouldWait is '1' here. At the moment this means that (on c9.io) Azure won't load every once in a while, and on the cloudfoundry branch only 1 deploy target loads (most of the time, and the one that loads is random, because timing issue).

It's pretty easy to test by calling this multiple times:

        var options = {
            callback: function(inserted) {
                var childNodes = inserted.amlNode.childNodes;
                childNodes.shift();
                var insertedXmlNodes = childNodes.map(function(n) {
                    return n.$aml;
                });
                this.nodes = this.nodes.concat(insertedXmlNodes);
                this.signinChecking();
                 
                this.setupModelEvents();
                herokuSignin.setProperty("visible", true);                 
            }.bind(this)
        };
        var res = hboxHeroku.insertMarkup(markup, options);

The callback doesn't always get fired.
Merge gdocs fixes
更改网络请求框架

更改网络请求框架
Added the Database class API
Restore buster build compatibility
no thx??
Regex refine

* Merge solution with https://github.com/dynjs/dynjs/pull/39
* Add more specs for regex literal
* Refactoring
Added `ibackwards` to `Control.Lens.IndexedFold`

This somewhat addresses #74, although it doesn't unify the two.  Actually, I don't think it's possible to unify them as the library currently stands, because you'd have to abstract over the ability to both construct and apply both `Index`-based `Overloaded`s and `(->)`-based `Overloaded`s, *while maintaining the original type used*.  You'd have to introduce some new functions and possibly a type family or similar into the `Indexed` type class.
Asymm algos

I need faster iteration on re-incorporating branch projects into the main line, so I'm opening a new long-running branch 'devel'.  I propose that we keep this branch perpetually, and use looser criteria for adding to it.  Then we can merge devel into master periodically when convenient.  In keeping with the idea of looser criteria, I will merge this pull request into devel immediately.
Fix checks in enyo.kind for mistakenly undefined base kinds and throw an error if the kind property exists and is explicitly set to a misspelt value or if it evaluates to undefined at run-time. 

Fix checks in enyo.kind for mistakenly undefined base kinds and throw an error if the kind property exists and is explicitly set to a misspelt value or if it evaluates to undefined at run-time.
fix for Errai 271
Silence chmod() warnings (operation not permitted) when using CIFS

When using chmod() in a CIFS mount (NTFS) in Linux, Twig 1.6.5 in PHP 5.3.3 throws a warning:

    Warning: chmod(): Operation not permitted in /smb/.../Twig/Environment.php on line 1052

There may be other combinations that trigger this warning. Related Symfony issue: https://github.com/symfony/symfony/issues/2125
Fixed a typo in the 'escape' filter documentation.

This typo prevents the proper rendering of one code block.
According F# 3.0 fsc -> fsharpc

Newer F# build system for mono doesn't install it as fsc, it installs it as fsharpc
Routing

Adding support for routing parameters during indexing, deleting, and searching.
Add option for tmux message foreground

Currently it uses whatever tmux's default foreground color is set to. For someone using the tmux solarized them this is orange. A failure background of bright red with orange text is almost impossible to read.

I've added an option to set the foreground color defaulting it to white.
implemented download and others helpers. refs #9
kaboom for an extra remote server

Whack this in your ~/.boom.remote.conf

```js
{"backend": "redis",
  "redis": {
    "port": "6379",
    "host": "localhost"
  }
}
```
Kai: Hey Mark, how do you get ack to ignore the log folder and ridiculous temp files etc?

Mark:

```
kaboom config ackrc < ~/.ackrc
```

Kai:

```
kaboom config ackrc > ~/.ackrc
```

Kai: Nice thanks, it works! By the way did you TDD that fork of boom?

Mark: Not exactly. I was feeling hungover and hacked it together. But then I wrote some tests afterwards.

Kai: Do you think Zack will merge it?

Mark: I dunno, but I'm happy to take feedback to pimp up the code a bit more.
Don't clobber bottle's response object

I was getting an 'UnboundLocalError: local variable 'response' referenced before assignment' error when trying to call parts of the API. This commit fixes that issue. 

Also, while cleaning up some of my own whitespace issues, I inadvertently fixed all of the whitespace issues in the file.
doc: document the address object in the cluster listening event

/cc @isaacs

_@isaacs please also take decision to #3007_
elli_http:mk_req/6 and more type specs.

elli_http:mk_req/6 help the elli user to test elli_handlers without listening to a port etc.
Added missing 'expose' comment to Kohana::init() refs #4180

This also effects 3.3/develop, so ideally it will need merging into that branch too
cleanup

Fix undelete button. Minor css tweaks and shuffling.
Updates to Tip with unit tests

updates to Tip w/decorators, plus six-way unit tests
lu jslint cleanup

cleaned up some missing semicolons etc reported by jslint
Port test-fs-readfile-zero-byte-liar from node.js
Transition reselection.

It is now possible to reselect elements with scheduled transitions and redefine
associated tweens; this enables "post-selection" to customize the behavior of
reusable components undergoing transitions, such as an axis. This commit also
makes it much easier to sequence transitions.

Previously, a transition's tweens were stored privately by the transition and
could only be accessed through the transition. This made it impossible to modify
transitions created by components: the transition is not accessible externally,
and cannot be reselected from the document. Consider the following snippet:

  g.select(".x.axis")
      .call(xAxis)
    .selectAll("text")
      .attr("dy", null);

If `g` is a selection, then this code alters the appearance of the axis as
expected. However, if `g` is a transition, then transition.selectAll creates a
new concurrent transition, and now multiple tweens compete to set the "dy"
attribute. Oy!

Under the new design, an element's scheduled tweens are stored semi-privately on
the node (in the existing node.__transition__). Transition parameters can thus
be reselected and modified by transitions that share the same id. If you now
reselect a transitioning element, you modify the transition rather creating a
competing transition; this should be less surprising and allow greater control.

As a side-effect of this change, it is no longer possible to schedule concurrent
transitions on the same element, even with the same id: only one transition may
be active on a given element at any time. (Note that you can still schedule
multiple future transitions on the same element, and concurrent transitions on
different elements.) For example, you could previously schedule overlapping
transitions with different easing functions, delays or durations, provided you
were careful to avoid conflict. This seems like a relatively obscure use-case
compared to modifying a transition, so I believe this is a reasonable change.

This commit also changes transition.transition, such that the returned
transition starts at the end of the originating transition, rather than
overlapping. This makes it much easier to schedule sequenced transitions without
the complexity of transition.each("end") and d3.select(this).

Also, transitions are now simply arrays of nodes, consistent with selections!
Automate d3.time.format and d3.format locale generation.

This avoids having to include a large number of locales in the D3 repository itself, and also reduces the potential for typos when transcribing locale mappings. Even if we do want to include many locales, we can include this as a script for easily generating them.

Ideally the generated locale file should be deleted, otherwise unnecessary locale files could be left lying around. A change in the LOCALE environment variable is not currently detected by the Makefile, so I wonder if the current locale should be stored in some kind of dot-file so a change can be detected. Is there a standard way for doing this?
Add indices to foreign keys
Lieutenant 2

Ceci est une requête de pull !!
MWAHAHAHA
Added SSL support

Added SSL support as per https://github.com/sbp/phenny/pull/3/files

Please consider adding this, it would've saved me about 5 hours.
Presenter - inject dependecies

Ahoj, 

závěrem debaty u minulého pull requestu [PresenterDependencies](https://github.com/nette/nette/pull/643) bylo, že vyžadovat předávání závislostí v konstruktoru by bylo zřejmě příliš pracné a hledali jsme tedy alternativu.

Tu @dg nastřelil v podobě injectPrimary, které nahradilo v Presenteru metodu setContext. Tento pull se zabývá rozvinutím a dotažením této myšlenky.

Účelem inject tedy bude předávat veškeré přímé závislosti, které Presenter potřebuje. Vzhledem k tomu, že tato metoda slouží pouze pro inicializaci, tak nejde o klasický setter, který je obecně možné volat vícekrát. Tato skutečnost se v samotné metodě kontroluje (především proto, aby bylo jasné k čemu vlastně slouží a někdo ji nevolal byť neúmyslně vícekrát).

Způsob, jakým se inject metody při vytváření Presenteru v PresenterFactory volají, zaručuje, že když si jakýkoli potomek/předek nadefinuje svoji vlastní inject metodu/metody, tak budou  budou nejdříve volány inject metody předků a teprve následně jejich potomků. Jediný čas, kdy objekt tedy bude částečně nekonzistentní je při provádění konstruktoru - pokud zde někdo použije metody presenteru, které závisí na ještě nenastavených závislostech, tak buď může skončit na fatal-erroru nebo by se případně mohl dočkat i nepředvídatelného chování nějaké metody. Ostatně viz rozebrání výhod a nevýhod jednotlivých způsobů u PresenterDependencies a v Davidově článku, který tam odkazoval.

Trochu problém je s tím, že momentálně není žádný pěkný způsob, jak předávat parametry, které nelze autowirovat (skalární/specificky nakonfigurovaná služba). Tohle se tedy do budoucna bude muset ještě dořešit.

Díky tomuto refaktoringu už celý Presenter momentálně pracuje s přímými závislostmi místo práce s Contextem. Ten tam nadále zůstává jednak proto, že ho na několika místech používá Control pro práci se šablonami a také kvůli zpětné nekompatibilitě z pohledu uživatelů (použíávání getContext a getService).

---

Opět jde pouze o první krok v řadě změn, takže co by mělo následovat:
1. Refaktoring Control, tak aby nepotřeboval používat Context, ideálně aby se nepotřeboval dotazovat na služby Presenteru
2. Doplnit deprecated warning do metod jako getContext, getUser, getHttpContext - pokud uživatel tyhle záležitosti potřebuje, měl by si je klasicky vyžádat v konstruktoru - to opět zvýší future-compatibility
3. Zrušit getContext, getService, ostatní metody překlopit na private nebo také zrušit

---

Dále se celkem zdvihla vlna nevole proti injectPrimary, na jménu moc nezáleží, klidně to můžeme nechat, dát injectPresenterDependencies nebo něco úplně jiného, pište návrhy. Vzhledem ke své povaze se to jméno nikde defacto objevovat nebude, takže na něm nesejde.
closures

Support for closures and inner functions.
Fix #49510: boolean validation fails with FILTER_NULL_ON_FAILURE

Fix #49510: Fix empty strings validation (treat it as correct false value).
Done.

Viz http://brun.cz:3000/course/turtle1 . Házím to do tabulky log, v duchu BigData nijak zvlášť strukturovaně. Prosím, udělejte na tom libovolné změny, o kterých jste přemýšleli.

Všimněte si, že se snažím posílat na server chyby, které se staly v JS. Možná to půjde nějak vylepšit, nic o tom nevím, jen mi to přijde jako kůl nápad.
updated merge_otu_maps.py to support qiime_test_data
Use Forem.formatter to sanitize input if it has sanitize method. Needed for HTMl/WYSIWYG formatting.

Very basic change: if a formatter has a sanitize method, use it. With a simple spec.
Remove AC::RenderError class second declaration

RenderError class declared twice:

[action_controller/metal/exceptions.rb#L5](https://github.com/rails/rails/blob/86aefdb4f2b957acc6d6c7eef557dff6a3888803/actionpack/lib/action_controller/metal/exceptions.rb#L5)
[action_controller/metal/exceptions.rb#L33](https://github.com/rails/rails/blob/86aefdb4f2b957acc6d6c7eef557dff6a3888803/actionpack/lib/action_controller/metal/exceptions.rb#L33)

Injected at: 01a4bc84b8787df74d54147a0cf564df75e87970
MemCacheStore's move to dalli as a backend broke :race_condition_ttl support

Sending dalli an expires_in integer that matches the Entry instance's expires_at will invalidate the cached value in Memcache at the same time the Entry is expired.  This breaks the ability for Cache#fetch to determine if the :race_condition_ttl has occurred since the value will never make it back from Memcached.
Deprecate composed of

composed_of is a complicated feature that's rarely used. So let's deprecate it. And remove it in Rails 4.

Related: #6743

/cc @jonleighton @tenderlove
Allowing pass couple extension to one register_template_handler call

To make possible add synonyms extension by one function call

```ruby
ActionView::Template.register_template_handler :md, :markdown, markdown_handler
```
Worker and consumer logs failed jobs instead of raising an exception

This fixes activesupport tests.
Escape html in build output

Update #43
Fixes SI-5373

And finally adds support for testing models (ScaladocModelTest)
New take on SI-6534, value classes.

Don't prohibit equals and hashCode in universal traits;
instead, always override them in value classes.
Typer cycles
Fix performance bug in GenASM.

It was going through missingHook looking for android classes
every time something was compiled, which means four failing
missingHook calls for every line in the repl.
Clear undoLog more frequently. Saves accumulated 300M when running scala...

...doc.This is certainly a hack, but a hack it was anyway...
Split @milessabin HasRepr into IsTraversableOnce and IsTraversableLike t...

...ype class-ish things.

This removes some of the sprawl of the pattern at the cost of slightly uglier usage syntax.

Review by @alex22 and @milessabin
[readme] move all documentation to the wiki
Master server resigns when faced with connection issues

- Improved Redis client reconnect, imitating the AMQP client
- Cleaned up process signal trapping
- Used "class << self" to clean up API (still stuck w/ global variables, class variables annoy me "@@")
[version] build the first 0.9.7 beta
remove gh-api-v2 (end of life)

see https://github.com/blog/1160-github-api-v2-end-of-life
Filter out &nbsp; in truncated cart display.

Should also be merged into master
Fixes encoding problem in admin when using a different locale to :en
Fix split_prices_from_variants migration

I found that this migration cannot be rolled back. Fixed it.

- Change scale and precision
- Fix data migration
- Fix :null => false
current_currency Product Searching

This change defines a controller helper method called current_currency (which in this case is simply the value of Spree::Config[:currency]).  This change will allow a extension writer to override current_currency in order to return a value based on different information (session values, request domain, locale, etc.).

The value of current_currency is passed in to the searcher retrieve_products, so that products will only be found if they have a matching currency entry.

Partials which display the price for a product also explicitly look for a price listed in current_currency.

The default for current_currency is Spree::Config[:currency], and the searcher class will use Spree::Config[:currency] if a value for current_currency is not passed in via an accessor.  This should maintain the current functionality, but provide benefits to extension writers wishing to make currency based decisions.
CanCan::AccessDenied on orders#show Fix

This is a fix to #1727
Fix spelling of 'preceding'

Just noticed it two seconds before you merged!


Also, I filled out the "contributor agreement", to please your lawyers.
Piecewise canocalization

Remove consecutive identical conditions:
```
>>> Piecewise((x, x < 1), (0, x < 1), (0, True))
Piecewise((x, x < 1), (0, True))
```

Try to solve conditions upon substitution:
```
>>> Piecewise((1, Eq(x, y)), (0, True)).subs(x, y)
1
>>> Piecewise((1, Eq(x, y)), (0, True)).subs(x, -y)
Piecewise((1, Eq(y, 0)), (0, True))
```
Set.sort_key, default_sort_key edits

This is a replacement for @scolobb's branch #1446 (he doesn't show up in the branch list in github so I can't send it directly to him).
Fix some failures

This fixes some of the test failures in master.
A very simple fix to use with bdoc

I use BDOC ([[https://github.com/rmanalan/bdoc]]) and I can't open documentation file without this fix.

Thanks for your great work! ;-)

Frédéric
Hud and SG updates
Using --browser setting will no longer automatically use selenium driver

This is important so that you can run descriptors that contain both selenium and nodejs tests. Without this change you are restricted to firefox browsers for mixed driver runs. I think this may be the cause for the race conditions I was seeing when running Mojito's tests (reported internally).
Additional docs related to the form validation rules.

Added docs for scenario blacklisting ($off).
CErrorHandler only set headers if not sent

this has been missed in commit f68fef2fe2cc21859e2bd490f63eaf1a6c5e5973 and causes php warning if headers where sent.
related to #901
Basic performance test tool

> ./zre_perf_remote 20 
> ./zre_perf_local 20 10000

Took 14 ms to coordinate with all remote
Took 15 ms to get greeting from all remote
Took 4275 ms to send/receive 10000 message. 2339.18 msg/s 
Took 29360 ms to send 500, recv 10000 GROUP message. 340.60 msg/s (actually 20 * 10000 messages in a wifi network)

with 30 interfaces, my testing wifi network seems to  be messed up at the 30 * 10000 messages.
Tweaks for CF

Adron - after making these changes it runs on foundry.gs:

http://gldmnd-luke.foundry.gs/
Modify API rename method
some changes

simplier if statement, print first and last statement not literally-way, deleted strange parameter from print_first_line method, new file for non-yet-implemented colored output
Boilerplates

* Additional boilerplates for scripts
Window shouldn't have a resizing border

Resizing the window (which now that the cursor can go outside of the window is much easier to do inadvertently) distorts the image and makes the mouse cursor disappear. As long as the engine cannot properly deal with it, the window should not be resizable.

Skoader has implemented this on the OU fork, but apparently his fix has never made it here.

Of course implementing proper resizing would be nicer, but as a quick fix this will do.
Update src/main/java/ru/csc/database/server/Master.java

Standard java String has startsWith method.
add simple makefile for conveniently gettings things up and running...

this runs virtualenv, setup.py & the tests, just type ``make``…

it also provides a ``make clean`` target to easily remove potentially outdated dependencies.
let decorator shouldn't try to execute unbounded methods.

calling getattr(TestCaseClass, method_name) tries to execute the method. I believe this is not the intended behavior.
Refactoring some commands
Early startup of PyDev Scripting console

Hi Fabio,

Please find details below of a small pull request.

Create the PyDev Scripting as part of the Eclipse startup. This is done
as part of startup so that future creations of IPythonInterpreter (with
newPythonInterpreter) don't cause the PyDev Scripting console to pop-up
on top of the current interactive console.

A particular case that hits regularly is if the PyDev Scripting console
has not yet been created and you request an completion in a pydev
interactive console, the scripting console is then created, popping up
on top of the interactive console the completion was requested on.

This behaviour can easily be overridden by unchecking "Jython Plug-in" in
the "Startup and Shutdown" Preference page.

Thanks,
Jonah
サンプルコード修正

printf()とか使ったり
ほげら
Allow project launcher to work with an eclipse workspace with a space

@aeisma
I believe this addresses problem #1 in:
https://github.com/bndtools/bndtools/issues/329

@egoine
This should address this one too:
https://github.com/bndtools/bndtools/issues/349
Add new ja translate : String : Retry

Hi, I retry to add ja translate.

Original : https://github.com/cakephp/docs/pull/297
Add tests for nested embedded loading

Doing some testing of this work-in-progress, I noticed that nested `embedded: load` records are not loaded correctly.  Just wanted to make sure it doesn't get overlooked.
Update doc/providers/url_generator.rst

Added example on how to pass a Twig variable to path so you can generate a dynamic link.
Remove systemd dependency from gdm.  Can now successfully emerge gnome without masking gdm out.

GDM and Gnome with Cinnamon now work ok on my configuration.
Small fixes in avant-window-navigator
Only set $TERM when not a dumb terminal

[extra info](https://github.com/danheberden/dotfiles/issues/1) - basically setting `TERM` when a dumb terminal is connecting causes problems for git. I ran into this trying to clone a git repo over SSH, and kept getting "fatal: protocol error: bad line length character:"
TAJO-955: Dangling task problem
gh-pages 样式

链接样式, 去掉textarea的 ouline, 加上 textarea 的 padding

另，开启wiki后，可以放一页wiki：who are using At.js
Added `auto_item` support for product URLs

The other pull request somehow closed itself. Sorry for that.
Update documentation/error to refer to proper dateutil package

* dateutil is actually python-dateutill in PyPi as well as for the deb package name.
test: fix finished consumer number check

I made a bug in f7c991f1cef1e0691b384b900f551a5c30745c36 that an error sometimes occurs in checking the finished consumer number in the test because of racing when a producer thread finishes before the last consumer does. 
Checking should be put in the place where joining all threads is finished.
Add support for older sbcl releases.

Add support for sbcl releases that do not support --quit.  Also, change cl to compile cleanly under Linux.
Allow to define runtime "_" in configuration file

Related to #79
COSMETIC Get the JqPlot object with the right method (I find it !)
Replaced link_to_function and disable_with

This should get rid of all the deprecation errors
fixes issue #120
Port limits

The scope of this patch is to port the service limits store to JOOQ.
Window stick

Implements `gtk_window_stick` and `gtk_window_unstick`
Changed the authorization header in deployment notification command

Changed the authorization header in deployment notification command from x-license-key to x-api-key (otherwise you're getting Forbidden error back from the server).
Update the version of uber-s3

Admin is currently throwing errors when you try to refresh images, because of a reference to uber-s3's private head method.

Updating the version of uber-s3 alleviates this problem.

That's what this commit is.
Add before and after filters

Sometimes its useful to be able to say 

ir.northbound_from('station').after('hh:mm')
ir.northbound_from('station').before('hh:mm')

By default, only upcoming trains are returned, so hh:mm needs to be soon enough.
updated index.csv
OWEBOS-2557 fix text glyphs looking garbled

This fixes a bug in qt where pixmaps requested from freetype
are interpreted as the wrong format. Upstream bug:

https://bugreports.qt-project.org/browse/QTBUG-27380
https://codereview.qt-project.org/#change,35981

Change-Id: Ibfa1a4e6345ab071322d86fcf3b805ff193b9c04
[CHEF-3183] Resource retry updates for expected behavior and consistency
Cambiado el formato de las fotos
[ticket/11156] Delete Misc tab of forum based permissiONS

PHPBB3-11156
Move lint script to bin and fix reported errors. 

Lint results are appended to test run, too.

Owning reviewer: @kans
Add documentation about how nodemon looks for changes.
Enhancement/add spork

Refs #79
offline mode in development/test env. (dumping config to tmp)
Make maps work

* Implement maps feature for member controller (complete, but possibly buggy).
* Adds reference jQuery library hosted on Microsoft's AJAX CDN. (It makes client-side programming much easier, and will be useful for things like client-side validation later on.)
* Adds a small open source (licensed for commercial use) library to allow Zend_Form subclasses to take advantage of the Bootstrap CSS framework.

# Notes for testing #

* The "New Client" button currently throws an error. This should be expected, as its destination action hasn't been written yet.
* Here's an address within the parish boundary to test: "100 83rd st"
* Here's an address outside the parish boundary to test: "30 n brainard st"
Added missing closing parenthesis

The example call to Promise.setValue() is missing the closing parenthesis.
better styling; pulling style info from manifest
new case

- added verifying of case ass_*, it can catch words as ass_with_hands
- removed whitespaces
Clear the cobwebs


* Updated .rvmrc to use latest patch level of ruby 1.9.3
* Added report.txt to .gitignore file (it seems to change on every spec run)
* Running specs was committing things, so I stubbed system for rspec
* It appears the methods available on StringIO.new have changed in 1.9.3
Added features to whois.ua parser

Added `property_supported`:
  1. domain

Added `property_not_supported`:
  1. domain_id
  2. referral_whois
  3. referral_url
  4. registrar

Implemented `property`:
  1. created_on
Seperated documents for each module.
Arma2: OA should use Gamespy v3 protocol
Pager资源目录修改

[Doc] Pager资源目录修改，使文档系统可以取到资源
Pager：资源目录修改，相关的demo修改
DAO Implementation (Status: 50%) - Community help requested

Documentation (under construction): https://wiki.duraspace.org/display/~joaomelo/DAO+Implementation
Tips (under construction): https://wiki.duraspace.org/display/~joaomelo/Implementation+tips
Jira Ticket (discussion): https://jira.duraspace.org/browse/DS-1438
SpringUI Demo using it: http://demo.lyncode.com:8080/springui
Router refactor take4

Resubmit the former commit that refactored the router with corrected tests.
Optimized version of BackgroundSubtractorGMG

This is an optimized version of BackgroundSubtractorGMG algorithm (10-15x faster than previous). It uses cv::Mat instead of std::vector and std::list, that saves time on memory allocation. Also new version use tbb. Results from new version may a bit differ from old version on object's boundaries.
Fix issue

Still won't push gh-pages to the remote repo
UP-3570: Upgrade uPortal to CAS 3.5.1 with Clearpass enabled.
Issue #668  --  NancyModule OnErrorHook

Added the OnError hook to NancyModule.
Return 404 instread of diag help page in release

Updates so that StatisConfiguration.IsRunningDebug is public. The
DiagnosticsHook will not check that flag before returning the
diagnostics help view. If true then it will return NotFound
instead.

Also updated the diagnostics settings page so that it only lists
members, of StaticConfiguration, that has been decorated with a
DescriptionAttribute.

Fixes #625
RAXAJSS-144 Registration - New Patient: Create an OpenMRS person via REST

there has been some modifications
Avoid unnecessary analysis imports.

Removed one slow unused import, and deferred the other (because it's only used by deprecated methods).
Revert version back to 1.0.0-dev after rc1 tag
Fix #252: Restore old value if dgrid-datachange prevented.
Fixing for nonexistent classes