labofsahil/github-event-dataset-2012 huggingface dataset:
Promptwidget

The change to spawncmd prompt is the result of a discussion I had with micti on IRC,  The idea is to provide the prompt with a command, then the user enters arguments for that command at the prompt.

I added a file completer so that commands could be easily Tab completed where a file is needed.

qtilecmd exposes the Qtile command tree at the prompt with tab completion,  I added an internal version of Client for this, I think this could also be useful for other widgets to control Qtile.

keys config e.g.
```python
# Open files in emacs
Key(
    [mod], "space",
    lazy.spawncmd(
        prompt="emacs open: ",
        command='sakura -e "emacs -nw %s"',
        complete="file",
    ),                                                                                       
),
# Search engine launcher                                                                                                                                              
Key(
    [mod], "g",
    lazy.spawncmd(
        prompt="search: ",
        command="firefox https://duckduckgo.com/?q=%s",
        complete=None,
    ),
),
# spawn a command                                                                                                                                         
Key(
    [mod], "numbersign",
    lazy.spawncmd()
),
# Qtile commander                                                                                                                                                     
Key(
    [mod], "c",
    lazy.qtilecmd()
),
```
Refactoring, testing and documenting pg_connection.distinct (squashed)

This is a squashed pull request #7562
Only use prepared statements when bind variables are present

Prepared statements (prepare/execute/close) were being used unnecessarily
when no bind variables were present, and disabling prepared statement using
prepared_statements:false was principally broken. While bind variables were
correctly substituted with prepared_statements:false, the prepared statement
interface was still used, costing an extra two round trips per query.

In addition to making this behavioral change, I also cleaned up the internals
of exec_stmt and exec_without_stmt so that they behave the same (calling log
and constructing the ActiveRecord::Result in the same way).

Moving the check for binds.empty? to exec_query also will mean that several
code paths explicitly calling exec_without_stmt could be cleaned up to once
again call exec_query instead. I have also left the check for binds.empty? in
exec_stmt, since it is not a private method and could be called directly with
an empty binds array. For the sake of clarity in this patch, I have not made
those changes.

# The previous behavior #

When issuing a Foo.find(1) with prepared_statements:true, the bind variable
is present in the prepared query, and execute shows a value passed:

    Connect	root@localhost on rails_test
    Query	SET SQL_AUTO_IS_NULL=0
    Statistics
    Query	SHOW FULL FIELDS FROM `foos`
    Query	SHOW TABLES LIKE 'foos'
    Query	SHOW CREATE TABLE `foos`
    Prepare	SELECT  `foos`.* FROM `foos`  WHERE `foos`.`id` = ? LIMIT 1
    Execute	SELECT  `foos`.* FROM `foos`  WHERE `foos`.`id` = 1 LIMIT 1
    Close stmt
    Quit

When issuing a Foo.find(1) with prepared_statements:false, the bind variable
has already been removed and substituted with the value, but the prepared
statement interface is used anyway:

    Connect	root@localhost on rails_test
    Query	SET SQL_AUTO_IS_NULL=0
    Statistics
    Query	SHOW FULL FIELDS FROM `foos`
    Query	SHOW TABLES LIKE 'foos'
    Query	SHOW CREATE TABLE `foos`
    Prepare	SELECT  `foos`.* FROM `foos`  WHERE `foos`.`id` = 1 LIMIT 1
    Execute	SELECT  `foos`.* FROM `foos`  WHERE `foos`.`id` = 1 LIMIT 1
    Close stmt
    Quit

# With this patch applied #

When issuing a Foo.find(1) with prepared_statements:true, the bind variable
is present in the prepared query, and execute shows a value passed:

    Connect	root@localhost on rails_test
    Query	SET SQL_AUTO_IS_NULL=0
    Statistics
    Query	SHOW FULL FIELDS FROM `foos`
    Query	SHOW TABLES LIKE 'foos'
    Query	SHOW CREATE TABLE `foos`
    Prepare	SELECT  `foos`.* FROM `foos`  WHERE `foos`.`id` = ? LIMIT 1
    Execute	SELECT  `foos`.* FROM `foos`  WHERE `foos`.`id` = 1 LIMIT 1
    Close stmt
    Quit

When issuing a Foo.find(1) with prepared_statements:false, the bind variable
has been removed and substituted with the value, and the query interface is
used instead of the prepared statement interface:

    Connect	root@localhost on rails_test
    Query	SET SQL_AUTO_IS_NULL=0
    Statistics
    Query	SHOW FULL FIELDS FROM `foos`
    Query	SHOW TABLES LIKE 'foos'
    Query	SHOW CREATE TABLE `foos`
    Query	SELECT  `foos`.* FROM `foos`  WHERE `foos`.`id` = 1 LIMIT 1
    Quit
Shadowing variable warning removed
Remove unncessary code.

Unfortunately, I found new warning. This code doesn't be used.
If removing, tests are still green.
Display annotations in coffee files

Cherry picked as discussed [here](https://github.com/rails/rails/commit/dd8c6f05562ff37060bf102c6ab80dd4f0b4cdbd#-P0)

cc @carlosantoniodasilva

P.S. was not able to run the test suite, trying to figure it out.
Fix delete_all when chained with joins.

I don't know if the MySQL fix is the best one. @tenderlove please review it.

Closes #5202 and #919
Mocha fixes

These commits fix a number of subtle mocha-related bugs that have been present for a while :-

* Mocha was raising a `MiniTest::Assertion` instead of a
  `Mocha::ExpectationError` as intended. The latter is not recognized by
  MiniTest as an assertion failure and so it is recorded as a test
  *error*, not a test *failure* as it ought to. This leads to
  potentially confusing output in the test results.

* Mocha verification should happen as part of the test. The verification
  of expectations is equivalent to a set of assertions. These assertions
  should happen as *part of* the test so that they have a chance to
  cause the test to fail, and not just as part of the teardown. Also if
  an assertion fails during the test, then there is no need to verify
  expectations, because only the first assertion failure is normally
  reported and all subsequent bets are off.

* Expectation verification should be counted as an assertion. Mocha
  cannot record each expectation verification as an assertion, because
  we weren't passing in an assertion counter to `#mocha_verify`.

The code has unfortunately become relatively complicated to support different versions of mocha. If it is acceptable to only support the latest version of mocha (v0.13.0) onwards, I'd suggest it would be preferable to accept [this other pull request](https://github.com/rails/rails/pull/8180) which simplifies the code considerably.

I'd be more than happy to provide back-ported fixes to 3-x-stable branches if these would be useful.
No longer require AS::TestCase

We don't need this any more.

Fixes #6907.
Add update_or_create family of methods to ActiveRecord

Related: #2757

```ruby
# from tests added via test/cases/relations_test.rb
parrot = Bird.where(:color => 'green').update_or_create { |bird| bird.name = 'parrot' }
assert_kind_of Bird, parrot
assert parrot.persisted?
assert_equal 'green', parrot.color
assert_equal 'parrot', parrot.name

same_parrot = Bird.where(:color => 'green').update_or_create { |bird| bird.name = 'parakeet' }
assert_equal parrot, same_parrot
# this test differentiates update_or_create from first_or_create
assert_equal 'parakeet', same_parrot.name
```

I've had to mimic this pattern in my app several times, and the pattern here seems to be consistent with other Relation additions to 3.2.

The only inconsistency is that it cannot take an array when creating. Whether it would be more useful to use this as an "update_all" is a topic for discussion or to be called `update_or_create_all`.

Also, I do use `Object#tap` here such that protected attributes can be updated alongside or separately from update_attributes.

Hope this is helpful!

/cc @jonleighton
fix broken cache tests

Fix tests that were falsely passing because of reversed assertion logic.
Restore "%" ERb/Erubis Trim Mode

Fixed conflict from https://github.com/rails/rails/pull/5915 pull request
wrap translate defaults to use translate helper features

Original issue #1102
fixing a typo: nova/recipes/api-ec2.rb:128: syntax error, unexpected tLABEL
Make time on status updates more inconspicuous.

r?
Update README post browserid stuff

* adds notes about local_settings.py-dist
* adds additional configuration parameters

r?
Fix @hook.singlethread when the hook throws

Tested against buttebot, this PR makes sure that if a single-threaded hook throws, it won't totally kill the hook.
body style change to fix undesirable scrollbars
SI-5830 switches: support guards, unreachability  -- review by @dragos

turn switches with guards into guard-free switches by collecting all cases
that are (possibly) guarded by different guards but that switch on the same constant,
and pushing the implied if-then-else into the collapsed case body

```
case C if G1 => B1
case C if Gi => Bi
case C if GN => BN
```

becomes

```
case C => if (G1) B1
     else if (Gi) Bi
     else if (GN) BN
     else default() // not necessary if GN == EmptyTree
```

default() is a jump to the default case; to enable this, we wrap a default() { } labeldef
around the last case's body (the user-defined default or the synthetic case that throws the matcherror)
so we can jump to the default case after the last guard is checked
(assuming unreachability is checked, once we ended up in a non-default case,
one of the guards either matches or we go to the default case)

the unreachability analysis is minimal -- we simply check (after rewriting to guard-free form)
that:
  - there are no duplicate cases
  - the default case comes last

misc notes:
  - can't jump in exception handlers (TODO: a more fine-grained analysis on when we need to jump)
  - work around SI-6015 (test file run/t5830.scala crashed the inliner)
  - propagate type of case body to label def of default case
    (needed for existentials, see e.g., t2683)
  - the default(){} LabelDef breaks SelectiveANFTransform -- workaround: don't write guarded switches in CPS code
    (do the above transformation manually)
Revert pull request #720 (CPS: enable return expressions in CPS code if ...

...they are in tail position)

Reverts commit 0ada0706746c9c603bf5bc8a0e6780e5783297cf.
Reverts commit 51c92f02229098d0b402a65a72267f7a17984022.
Reverts commit cdfbe8e39fbbec00c969cd74f117ae410b98b40b.
Reverts commit 796024c7429a03e974a7d8e1dc5c80b84f82467d.
remove unnecessary classpath entry
Possible fix for continuations bug.

It comes looking for an implicit from (A @foo) => B
and gives up, despite the fact that there is an implicit
from A => B.  Maybe there is some good reason for this,
and/or I would fully believe there is a better way to fix
it, but I'll propose this and wait to hear about the
good reason and/or better way.
Fixes SI-6500 by making erasure more regular.

With the introduction of value classes, erasure uses specialErasure where a value class C with underlying type T is unboxed to an ErasedValueType. ErasedValue types are eliminated one phase later, in post-erasure. This was done everywhere, except in the parameter types of bridge methods. That was a mistake, because that way  bridge methods could not do the boxing/unboxing logic triggered by ErasedValueTypes.

Note: there is one remaining use of erasure (not specialErasure) in Erasure.scala. I put in a comment why that is OK.

Review by @paulp @adriaanm
LinkedHashSet scaladoc fix after FlatHashTable->HashTable transiton
Fixes SI-5801, error messages regression. Review by @adriaanm
Fix SI-5626.

By not replacing 'CaseClass.apply()' factor by 'new CaseClass()' when the class type 'CaseClass' is not accessible.
DOC: Filter docstring additions

- add parameters and returns to all matlab-style filter docstrings
- fixed default bandpass mistake in butter()
- missed some while changing `analog` to boolean 
- remove "lowpass" from descriptions since they all do all types (`iirfilter()` is actually bandpass by default)
- clarify units (dB, rad/second vs rad/sample)

Please double-check the accuracy of these, I made a mistake the last time
add a note to new github oauth requests

By default new oauth tokens appears as `GitHub API` but it seems worth using `gh.el - <hostname>` as a better nomenclature.  This allows one to know which keys to revoke in their "Authorized Applications" tab in cases where they would like to.
Rebase SampleCount stat on the number of datapoints

The SampleCount statistic was tied to the rolling sum maintained
by pandas, as opposed to the rolling count of the observations
received within the window.

As a result this statistic value would generally be incorrect,
except in the special case where the average of the datapoint
stream is constantly one.
Fixed json_data of products in admin

Fixed variant_images method in product to return array instead of ActiveRecord::Relation
Added LASCO color tables as asked for in Issue 131
Escape symbol names that are python keywords during printing

Fixes issue 3394 "Symbol called lambda causes syntax error in code from python()".
This is only half of the work:

```
In [2]: 5*Symbol("lambda")+2
Out[2]: 5*lambda + 2

In [3]: python(_)
Out[3]: "lambda_ = Symbol('lambda_')\ne = 5*lambda + 2"
```
Convert German tutorial to po file.

Converted from rst to po file.
Make compatible with zeroMQ-3.x

In the 3.x versions of ZeroMQ some definitions were refactored, this
commit makes uwsgi compatible again with newer versions. Without this
patch compiliation of uwsgi will fail
[docs][blog] Correction from `yiic` to `Gii`
Improved bash scripts for imports, SequenceFile loader and storer, some refactors

A couple of improvments:
1) scripts to create sequence files (from bwmeta zip archives), create HBase table based on sequence file generated, importing sequence files into this table
2) extending Pig's sequencefileloader to load byteswritable and store data into sequence file
3) some refactors in document-similarity
4) some small refactors in other classes

Needs to be done:
1) Change Oozie workflow for document similarity to reflect new changes
2) Make all test work (some does not work because the bugs are in tests, not in the code)
Fixing bug with device token

It's a little bug fix.
Update features-json/css3-boxsizing.json

I tested this during the course of my work. I was intrigued by the idea of creating a new site with the box-model set for all elements to border-box. I needed to check IE first and my test page revealed the problem.
Got example with complete assist sequence working

The file Full_AGPS_assist.cpp performs an assisted cold start with all available assist data (AID-INI, ephemeris, almanac, and AID-HUI), and an unassisted cold start to compare it too.  Be aware that the receiver needs to run for a few minutes before it decodes all the HUI data needed.
Latest version of aq
Update README with info about building opm-core as a dune module

We should probably add more information about possible configure options in the future. Maybe not in the README, though.
removed unecessary dependency on postgres for mysql users and vice versa

Added on to the select-dbms script to change out Gemfiles depending on what is selected
Attribute annotate

When setting an attribute you can also set a special variable 'value' to
set the value of an XML element. JSON representation will retain the
name 'value' in the object.

$hal = new Nocarrier\Hal('/orders', array(
    'content' => array(
        '@type' => "text",
        'value' => "Lorem Ipsum"
    )
));
Updated action signatures to use underscores instead of camelCase

This change should remove any ambiguities new developers have when attempting to figure out action signatures.
Do not absorb the first headline of an rst article
License apache2.0

Re-opening the PR against the devel branch. Changes since the last PR:

- Rebased the branch onto devel. Tests started failing, but they were failing in the devel branch before these commits.

- Renamed the license file to LICENSE-APACHE2 like you asked.

The init task still drops in the license correctly.

Cheers.
rmagick replaced  with mini_magick

 简单的修改了一下, 不知道 Affine Matrix  在 mini_magick 里面改, 就去掉了, 做了个简单的....,

等以后想修改为 mini_magick 的时候作为参考吧~
Adding a stub for SparkLauncher
Using stateManager.currentPath

(I was not totally up to date)
Fixed pids in child specifications

It seems that this issue is still reproducible:
(https://github.com/extend/cowboy/issues/239)

At least I could force supervisor which supervises listener_sup itself to restart by forcibly closing the listening socket. So then I got this in shell:
```
1> P = lists:last(erlang:ports()).
#Port<0.6816>
2> gen_tcp:close(P).
ok
...
[error] Supervisor ranch_listener_sup had child ranch_acceptors_sup started with ranch_acceptors_sup:start_link(http_listener, 12, ranch_tcp, [{ip,{127,0,0,1}}, ...], cowboy_protocol, <0.118.0>, <0.119.0>) at <0.120.0> exit with reason shutdown in context child_terminated
[debug] Supervisor ranch_listener_sup started ranch_listener:start_link(http_listener, 1024, [{dispatch, ...}]) at pid <0.169.0>
[debug] Supervisor ranch_listener_sup started ranch_conns_sup:start_link() at pid <0.170.0>
[error] Supervisor ranch_acceptors_sup had child {acceptor,<0.171.0>,1} started with ranch_acceptor:start_link(http_listener, #Port<0.7012>, ranch_tcp, cowboy_protocol, <0.118.0>, <0.119.0>) at undefined exit with reason {'EXIT',{noproc,{gen_server,call,[<0.118.0>,get_max_connections]}}} in context start_error
[error] Supervisor ranch_listener_sup had child ranch_acceptors_sup started with ranch_acceptors_sup:start_link(http_listener, 12, ranch_tcp, [{ip,{127,0,0,1}},{port,31338},{poolsize,12}], cowboy_protocol, <0.118.0>, <0.119.0>) at undefined exit with reason shutdown in context start_error
[debug] Supervisor ranch_listener_sup started ranch_listener:start_link(http_listener, 1024, [{dispatch, ...}]) at pid <0.173.0>
[debug] Supervisor ranch_listener_sup started ranch_conns_sup:start_link() at pid <0.174.0>
[error] Supervisor ranch_acceptors_sup had child {acceptor,<0.175.0>,1} started with ranch_acceptor:start_link(http_listener, #Port<0.7013>, ranch_tcp, cowboy_protocol, <0.118.0>, <0.119.0>) at undefined exit with reason {'EXIT',{noproc,{gen_server,call,[<0.118.0>,get_max_connections]}}} in context start_error
...
```
Suggest removing the minimum-stability flag

Silex can be installed with stable versions of the Symfony2 components.

https://groups.google.com/forum/?fromgroups=#!topic/silex-php/vPwMs7CMMT0
Added support for running Sismo with the PHP built-in webserver

Hi Fabien,

I've made a small addition to allow running Sismo through the PHP built-in webserver with a console command.

Hope that could be useful!
Christian.
Updated symfony/process

See https://github.com/symfony/symfony/pull/5592

Tests are ok

Before that, tests failed because of https://github.com/fabpot/Sismo/blob/master/tests/Sismo/Tests/GithubProjectTest.php#L51

Note : I had to change (temporarly) the minimum-stability to dev...
patched from Colony-1.0 archive
Test Scripts added & fixed, updates to Menus
Fixed #503 

When selecting and then deselecting a Criterion in the BR-wizard the underlying Meta Analysis will still be used
Improve success rate of mustachification

imgtype=face tries to return results that contain human faces making it easier for mustachify to do its job.
26 add handle to left edge of the sidebar to resize it

Drag-resize feature added to the 'Triangle' icon.
You can try it out here: http://hypotest.nolmecolindor.com:8000/
Improve ratelimit methods (specs and reuse old header)

Add:
 * Specs for the ratelimit methods
 * Ability to 'force' the ratelimit methods to use an API call
 * Functionality to reuse the last API response's header for ratelimit methods
Change 10e8 to 1e9. It is clearer and used everywhere else.
Fix uv_hrtime() bug on 32-bit unix

Conversion to nanoseconds was overflowing
EVO Show workdays in Holidays
Correct race condition in integration test for escalations processing

The test `scanShouldTriggerResend` expects that all actions will be completed by the time the scan finishes. This is no longer true, and in some test runs results in the test failing. This test introduces synchronization and a timed wait for the actions to be completed. 

Just for kicks, it also includes a minor default for the mail dir to allow the SameEnvironmentTest to be run standalone from the command line against a running Diffa instance.
Tree rings

This branch adds a "tree-rings" visualisation. The idea of this visualisation is to add a compact representation showing a breakdown of the recency of differences per pair. It consists of a series of up to 3 concentric circles, showing:

* Difference count in the past 60 minutes in the outermost ring;
* Difference count in the 60 minutes before that in the next ring;
* Difference count prior to the last 120 minutes in the centre;

Hovering a ring will show an overlay with the actual difference count, as well as altering the colour to indicate the target of the hover.

If there are no differences for a pair, a green panel will be displayed stating "No Differences Detected".

There isn't currently any support for navigating away from the widget in this branch, but it is expected this could be added in a followup. Another potential followup might be to add animation to the static widget to make the screen feel more active.
Fix Google Apps MX entries

According to http://support.google.com/a/bin/answer.py?hl=en&answer=33915.
Add a command line option for HTTP proxy support

I've been using twurl for some API debugging work and wanted to inspect requests in Charles proxy.  I saw the pull request which implemented this using an environment variable and decided to add a command line option and tests like you requested in https://github.com/marcel/twurl/pull/7

I've written almost no Ruby code before so any criticism or suggestions would be most welcome.  I've also added some superficial unit tests, but if you have any others you'd recommend, I'm happy to try and implement them.
pep8 plugin

added pep8 plugin, code validated and tested, it may have some issues, please review
bug 769399: Stop generating IDs as part of document save, wait until after kumascript processing

This should improve the [TOC issue](https://bugzilla.mozilla.org/show_bug.cgi?id=769399) by delaying ID generation until after kumascript has had a crack at the doc. [Still some quirks](https://bugzilla.mozilla.org/show_bug.cgi?id=769399#c6), but I think they're beyond the scope of ID generation
fix bug 767526 - Add URL as title attribute to link
fix bug 780150 - Make note elements spacing balanced.

https://bugzilla.mozilla.org/show_bug.cgi?id=780150

To spot check:

Copy this document (https://developer-new.mozilla.org/en-US/docs/Project:Getting_started) locally.  The "note" block should have even spacing on top and bottom.
syntax: switch tt quoter to emit ~[tt], not tt.

This is just a small change to make the tt quasiquoter quote ~[token_tree] vectors, rather than token_tree values. It is less efficient this way but it seems like the only sensible interpretation given the semantics of token trees: their nesting is mostly incidental and doesn't actually represent the expression or item structure (for example: `if foo { ... }` is three token-trees, despite being one expression).

r? @brson
Remove versioned .DS_Store file

I have removed a versioned/cached .DS_Store file from the repo.
Handle opening notes without content

Currently, trying to open a note created with an empty content section throws the following exception:

```
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/everpad/pad/list.py", line 74, in note_dblclicked
    self.app.indicator.open(item.note)
  File "/usr/lib/pymodules/python2.7/everpad/pad/indicator.py", line 65, in open
    editor = Editor(self.app, note)
  File "/usr/lib/pymodules/python2.7/everpad/pad/editor.py", line 601, in __init__
    self.update_title()
  File "/usr/lib/pymodules/python2.7/everpad/pad/editor.py", line 681, in update_title
    self.setWindowTitle(u'Everpad / %s' % self.note_edit.title)
  File "/usr/lib/pymodules/python2.7/everpad/pad/editor.py", line 141, in title
    self._title = soup.find(id='title').text
AttributeError: 'NoneType' object has no attribute 'text'
```

This is valid.  Content == "".   Uninitialized notes, however, have title/content == None.

This diff replaces the Truthy checks (which include content != "") with something more like an "is not None" check.
Add some channels and logos

Added some channels from S1.0W (Thor 5 and Thor 6) and national DVB-T service in Finland as broadcasted in Espoo and corresponding logos for them.
Remove unused field

Remove unused field `TerminalNodeImpl.s`, saves at least 4 bytes per token in a parse tree!
fixes

a couple minor random bug fixes heh
Ticket/11189

DEBUG and DEBUG_EXTRA basically do the same thing and it's not clear what the original intention for either was.

Cleanup DEBUG/DEBUG_EXTRA usage and merge them into one DEBUG setting

http://tracker.phpbb.com/browse/PHPBB3-11189
Catalan language fully integrated

main changes:

 * Finish string translations to catalan
 * Correct some translations
 * Add catalan as a new allowed language
 * Modify docs to reflect catalan language

pending issues:

 * Second review of translations
Dont call pause no ref on pure lua stream
added zfstats and fstats files to output
Fixed a typo in the Sprockets URL
Updated documentation for the new templating feature

Just updated the README.rst example with a little bit of documentation for the new Mako templating feature introduced in version 0.3.2 (see issue #11).
Use regexp replace instead of context.eval for sanitizing multiline escapes in JS source

This avoids the exception fallthrough which prevented barber from being used with Rhino.

I've made `Precompiler#sanitize` public so that it can be tested and also modified the coffeescript multiline test to assert on the output of `Precompiler#sanitize` instead of checking whether a `Precompiler#compile` fails.

If there are scenarios that aren't handled by this please send me data that I can use to add new test cases.
Fix up build bits to add a release script and some release metadata for maven.
Easier API for Shape creation

**(please discuss)**

Creating shapes is something that users will want to do very often. Filling a shape and applying a stroke are also pretty frequent use-cases. 

Currently `Shape` instances only support the generalised `attr` method with no convenience methods for the most common  use-cases.

This pull request would make shape creation look like this:

```js
var a = rect(0, 0, 50, 50).fill('red').line('green', 2);
```

Instead of the current way:

```js
var a = Shape.rect(0, 0, 50, 50).attr({
  fillColor: 'red',
  lineColor: 'green',
  lineWidth: 2
});
```

Three main changes:

 * All `Shape.*` factories are exposed globally, including `rect`, `arc`, `star`, `circle` etc. (this might create annoying global conflicts for the user)
 * `Shape#fill()`: can accept a color, a gradient or a bitmap as the fill.
 * `Shape#line()`: can accept a color or a gradient, and a lineWidth as the 2nd argument.

Both `line()` and `fill()` are just setters. They're not getters. It would be impossible to implement them as getters because a shape can have multiple fill styles (a fillColor and a fillGradient, for example).

Exposing all factories might be a little bit too much though, as it further pollutes the global namespace. I'm okay to remove that... just wanted to see what people thought.

---

My reasoning is that we should provide convenient ways of doing the most common things. Currently the shape creation process is needlessly verbose.
Pass Node ID string to run().

Thought this would be an easy one to tackle and start looking into some more of the code.

The tests with `funcSetup` are definitely a lot harder to follow. I had to change the check to a string from an `!(node instanceof Node)` since the tests `createMockNode` function returns a simple object.
完成4-7章的bug校验

完成4-7章的bug校验
extra dots in model name mean something now, rename to get example working

minor fix to example app.
Improve code readability in no-results.php

It's difficult to get around php if () {} statements when mixed with markup, so using if () : endif; syntax instead.
Undeprecate previously unimplemented PotionEffects.

Two PotionEffects added to the PotionEffectType enum have been implemented into the game, and as such should be undeprecated.

Leaky: https://bukkit.atlassian.net/browse/BUKKIT-2677
Allow TripwireHook to be "Attachable", Adds BUKKIT-2278

Description of use in the leaky (JIRA) ticket.

JIRA: https://bukkit.atlassian.net/browse/BUKKIT-2278

No associated CraftBukkit PR.
Updating R VaRlib - fixing the reporting module
fixed compile problem with the old Xcode (<4.5)

fixed compile problem with the old Xcode (<4.5)
Add built binaries and NetBeans project files to .gitignore
Tradotto Completamente -Felix
tradotto evento
add new variables %{enable}% and %{disable}%
Harvester bug fix and configurable search radius values
Add spank plugin hooks in slurmd, prolog & epilog

I have a set of patches for SLURM that add the following callbacks to
the spank plugin interface:

  slurm_spank_slurmd_init:  Called as slurmd(8) starts
  slurm_spank_slurmd_exit:  Called just before slurmd(8) exit
  slurm_spank_job_prolog:   Called at the same time as SLURM job prolog
  slurm_spank_job_epilog:   Called at the same time as SLURM job epilog

In addition, a new function for spank plugins that process options
is added:

 spank_err_t spank_option_getopt (spank_t sp, struct spank_option *opt,
                                  char **optargp);

as an alternative to requiring a global 'option handler' script.

The motivation for this functionality is to enable the consilidation
of code that currently must be spread in three different places --
a spank plugin (to provide a new SLURM option), the job prolog script,
and/or the job epilog script.

An example of this would be a plugin which provides an option to disable
memory overcommit on the nodes of a job based on user option. Currently,
we have a spank/lua plugin that exports a --overcommit-memory=never
option which, when used, sets a 'job control environment' variable
that is propagated to the job prolog and epilog. The job prolog and
epilog then *separately* have code to check for the option variable
and take action. After these patches are applied, the code for this
functionality can fit in one self-contained plugin.

The method chosen for loading spank plugins at job prolog/epilog
time is of note. These hooks cannot be called within the address
space of slurmd for several reasons (see description in
commit 4e6a2964), so instead a new "mode" for slurmstepd is used.
When slurmstepd is run in the form

   slurmstepd spank [prolog|epilog]
                                  
it loads the spank stack and runs relevant plugins for either
the prolog or epilog. This not only allows plugins to re-initialize
at each prolog/epilog run, but also ensures plugins that are updated
at runtime are reloaded at the next prolog or epilog run (akin to
the functionality of the job prolog/epilog scripts). This method
is unusual enough that I wanted to be sure to note it up front
here, in case there are further comments.

Further implementation details are contained within the commit
messages for the 30 or so commits that add this functionality.
Updates/cleanup

Model class is now documented using standard DocBlocks.

Required field fix so that an empty string triggers an error as well (not just null values).
Default argument fix

Fix everywhere in the codebase where I saw a "config.value" used as a default argument. This should be avoided.

Also fixed other mutable default arguments such as [] and {}. Even if not modified in the function body these are very dangerous. I've found a whole lot more but I don't have time to fix them right now, I've kept a log though.
Fix import issue Olivier caught after my last PR was merged
Venture extra cost types
Documentation and website updates
Reports - sorting by last ping

http://ralph.allegrogroup.com/buildbot/builders/unittest-ralph-ajankowski/builds/53
Core C++ - mutex timedlock fix, lesser improvements

Thrift concurrency::Mutex have had its timedlock implemented slightly wrong. 
Patched it. Added a pretty simple emulation when a platform does not provide pthread_mutex_timedlock. The solution seems to be close to the one used in Mono for Android. Manually tested under android-8, works fine.

The rest commits are the set of small code improvements. I'm pretty sure the commit descriptions are informative enough.
to convert argument in the preprocess

引数で渡したオブジェクトをpreprocess内で使用したいため
console.jsのdataにargsを追加するように修正いたしました。
使用したい理由としては引数で渡したオブジェクトの情報の一部情報をログに埋め込みたいためです。
具体的にはsession情報を保持したオブジェクトを渡すことで
ログにsessionId等を出力することを行おうとしております。

内容のご確認いただき、問題なければ取込をお願いいたします。
handoff visibility

Purpose
----------

Visibility into handoff is really poor.  The typical method used to
discover handoff information is `riak-admin transfers` but that gives
hardly any useful information, as shown below.

    'dev3@127.0.0.1' waiting to handoff 7 partitions
    'dev2@127.0.0.1' waiting to handoff 4 partitions
    'dev1@127.0.0.1' waiting to handoff 5 partitions

This PR adds visibility transfers/handoff by tracking various stats on
active transfers and displaying this information in a human friendly
way, as shown below.

    ./dev/dev1/bin/riak-admin transfers
    'dev2@127.0.0.1' waiting to handoff 1 partitions
    'dev1@127.0.0.1' waiting to handoff 2 partitions

    Active Transfers:

    transfer type: hinted_handoff
    vnode type: riak_kv_vnode
    partition: 1096126227998177188652763624537212264741949407232
    started: 2012-04-23 03:08:27 [2.02 s ago]
    last update: 2012-04-23 03:08:29 [16.97 ms ago]
    objects transferred: 5720

                           2857 Objs/s                        
      dev2@127.0.0.1 =======================>   dev3@127.0.0.1
                              23.59 MB/s

See basho/riak_core#170
Mimetype For Case Insensitive JPG Files

Not sure why the .jpg case was the only regex without the case insensitive flag `i`.

Added it--this pull request totals a 1 character change!
Update README.ru.md

Обновил ссылки с ветки nodejs
Fix codegen for repeated fields leaking into non-repeated fields
Namespace tests for redmine 1096, 1134, and 1161
Add rvm file

Added file for the setting of gemset and defining rvm set at 1.9.3
change argument order for BLPOP / BRPOP operations
Allow "short chests" mode for huge GUI scales

This change allows silver, gold, and diamond (and crystal) chests to have slightly different dimensions that display better at huge GUI scales, such as Auto scale in full-screen mode. Silver chests continue to have the same capacity, while gold chests increase from 81 to 84 slots, and diamond (and crystal) chests decrease from 108 to 104 slots. Setting the shortChests configuration value to true enables this change.

This is my first foray into Minecraft modding. Patience and feedback appreciated. If you choose to use this change, no credit is necessary.
Fixed #15566. Clarified behaviour of auto_now with .update.
Simplified QuerySet field.null handling

QuerySet had previously some complex logic for dealing with nullable
fields in negated add_filter() calls. It seems the logic is leftover
from a time where the WhereNode wasn't as intelligent in handling
field__in=[] conditions.

All tests passed on SQLite. I believe all tests should pass on other
backends, too.

The reason why this should be fixed is that it is very hard to see what
is happening in the negated field.null case currently. I hope this patch
makes the logic and why the condition is added clearer
Fix docs for context_processors.auth

Copy said it created three context variables, but only lists two. ("messages" was removed.)
Fixed #18837: [py3] Double import of six in django.forms.models

Just a tiny cleanup
Added import statement to redirect documentation

The import statement is only for the first example.

See https://code.djangoproject.com/ticket/18159
auto-quote table and column name in Connection->delete/insert/update()

I wonder why quoting of table/column names in Connection->delete/insert/update() is left to the developer and not not done internally by the library?

I made a patch to allow the lib to quote table and column names in a backward-compatible way. I believe that if this feature is not already in the lib, there must be some reason, but I can't understand it right now, nor find a reference to any rational.

Would it be possible to elaborate the reason if possible, while accepting / rejecting the pull request at your will of course?

Many thanks.
Fixing breaking test provoke by #172
fixes  #902

Fixed and tested now pagination is working as expected.

Please check.
fixes #459 added api call url to 'show query'
made dropdown menu need to update lanaguage file #1539
fixes #1155
fixes #67 - bugs in copyContentlet
https://github.com/dotCMS/dotCMS/issues/442
Issue 416 bundlers publishers respect lang
CMS-225: Used-by link open edit page, where ICE is not available.

4.7
Respect name in stack trace.

This makes sure to set the name before doing `Error.call(error)` and capturing
the stack trace so the user-provided name is reflected in the stack trace
instead of the generic `Error: ...`.
Stubbed out versioning command 

This is necessary for CyberDuck, which issues the versioning command and errors
out if that doesn't work. This implementation simply returns that versioning
hasn't been configured.

See: http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketGETversioningStatus.html
updated _sample_based function, added tests

Addresses: https://bugs.launchpad.net/openquake/+bug/1018369
Disaggregation core calculator

Addresses: https://bugs.launchpad.net/openquake/+bug/1078277
Fixed mistake in answer of Example 4.35
Feedservice Integration

Branch to integration the mygpo-feedservice (https://github.com/gpodder/mygpo-feedservice)
add link to Sonar website

add link to [Sonar](http://www.sonarsource.org) website
fix the scope selector

This fixes habari/habari#337
fix format of avatar
All operator for Guest OK
Fix hibernate, fix guest
Fix warnings.

Fix some warnings (redundant import, variable defined but not used, deprecated Prelude.catch)
Develop

Menu Management Fix
Adding a new variable to get the selected locale

Add a new automatic variable ISO2_LANG with the lang in Java 'classical' format thus enabling the filtering of packs with the selected lang.
Follow-up for .selector property removal

-23 bytes.
/cc @dmethvin
Get english skos:prefLabels for dewey classes used as dct:subjects
add google analytics

Please import this commit.
moving {{{head_extra}}} to the start of the <head>

moving {{{head_extra}}} to the start of the <head> to enable projects to load the content-type as soon as possible
(firefox complains about the meta Content-Type not being in the first 1024 bytes of the file after i add it to the <head> in one of my templates)

[another solution to this problem would be to get the server to send the content-type in the http headers but i cant find out how :( gonna look a lot more through meteor the next days though, maybe i will find out :D]
add script for "Under Translation of ECMA-262 3rd Edition"

url: http://www2u.biglobe.ne.jp/~oz-07ams/prog/ecma262r3/
First working version of libfm build config with build optional GTK+ lib...

...rary. Added option --enable-gtk. If --enable-gtk=no is used, then libfm-gtk library is not built, thus no GTK+ UI extensions are generated.
SERVER-6693 fix multiline list input in mongo shell

This fixes the isBalanced functions in the mongo shell so that it tracks square brackets for JS lists as well as curly brackets and parentheses.
develop branch: Android - lock default orientation based on PreferredBackBuffer(Width/Height)

GraphicsDeviceManager:
- Set default preferred size to a landscape aspect ratio to cause it to default to landscape if the user does not set the preferred sizes
- Removed calls to ResetClientBounds in setters for PreferredBackBuffer(Width/Height). Setting preferred buffer sizes should not have immediate effect. They are just stored for next device reset.

AndroidGameWindow:
- Use PreferredBackBuffer(Width/Height) to determine landscape vs portrait when handling SupportedOrientations == DisplayOrientation.Default.
CSSmin.php: some improvements

Now substring and str_slice methods match exactly their Javascript counterparts behavior.
Removed ini_set() calls from method "run".
Minor cleaning/formatting.
Tabs to spaces (Clay seems to use spaces instead of tabs)
[UPGRADE] innotop 1.8.1
New formula: libpgm

Libpgm is from OpenPGM, An implementation of the PGM reliable
multicast protocol.  It's a dep for zeromq that fixes zeromq
so that it compiles on ML.  Tested with clang and llvm from
XCode-4.4.1.

Fixes #14210
Generate the bottle download URL correctly.

Fixes #11561.
scm-manager 1.21
Updated Library/Formula/pari.rb from 2.5.1 to 2.5.3

Only changed the version number and the sha1 hash of the tarball.

No differences introduced in the build system. Works on the few machines I have access to.
Update MongoDB to 2.0.7

MongoDB 2.0.6 to 2.0.7
Grails devel 2.1.0.RC3

Grails devel 2.1.0.RC3
libgda: ENV.libxml2 needed if no CLT

Fix #14108
Added a startup plist for Darner Formula.

As above.

Complete with caveats method for the info subcommand.
Allow spaces when specifying multiple decorators

When specifying multiple decorators adding a space after the comma causes the framework to crash because it cannot locate the decorator.  I've updated TestDecoratorTest to reflect the condition.  

Example: 
```cfm
<component extends="mxunit.framework.TestCase" output="false"
	mxunit:decorators="...StoreTestNameDecorator, ...IgnoreFunnyFunctionsDecorator">
```

This would fail because it couldn't find &lt;space&gt;IgnoreFunnyFunctionsDecorator

It looks like some line endings may have had windows delims in TestCase.cfc, however the actual update I did is on line 531.
eliminate need for separate require 'pry-nav', closes #9

* Pry loads the cli.rb for a plugin at startup, rather than at Pry.start().
By adding this file we ensure that pry-nav's monkeypatch applies without requiring an additional
require 'pry-nav' by the user.
[#118] Update share to facebook text.
Fix BZ874416, minor but annoying formatting glitch

The output should now read:

```
Run 'rhc app create' to create your first application.
Below is a list of the types of application you can create:
    * diy-0.1 - rhc app create <app name> diy-0.1
    * jbossas-7 - rhc app create <app name> jbossas-7
    * jbosseap-6.0 - rhc app create <app name> jbosseap-6.0
    * jbossews-1.0 - rhc app create <app name> jbossews-1.0
⋮
```
Mark --leak-test to be skipped with AddressSanitizer

See issue GH #765. interp can be already freed, but avoid checking it for now.
Removed unused parameter names.
Fixing typo in tab on job: "Worflow" --> "Workflow"

This was just a really really minor thing that was bugging me.  Thanks!
[ru] Fixes for russian translation

Lots of punctuation errors and typos have been fixed and some fixes from the original version have been incorporated into the translation. 

This PR is a cleaner version of #302 + some other translation corrections.
ENH: partial date slicing for day, hour, and minute resolutions #2306
Fix Github URLs to go to the website rather than the API endpoints

I'm guessing this was a change from Github API version 3, but the Github links are all api.github.com, so they open a page with JSON.

Just changed the template to use html_url instead of url.
Added my blog to README

Hi, great project! Here is my addition to the README, would be nice to be there.

Peter
jms-based services

added a handful of services, probably most of the code can be moved apart from what is properly the vuze plugin
importfeeds plugin: use os.path.expanduser

Use os.path.expanduser on the feeds_dir setting so that you can use the `~` character instead of writing the full path of your home directory
Fixed missing classname and list options for dropdown

Fixed missing classname and list options for dropdown
Relative Paths in test fixtures

Closes issue #89. Allow test fixtures to be relative paths.
Update .vcproj (VS2008)
Fix #219 & #220

Fixes #219
Fixes #220
Integrate issue 115

Fixes #115
Some fixes and components
Develop

sorry for late pullrequest..
added some helppatches for new texturefx's + some fixes
Added support for radius disconnect packets

I'm not sure if this is the implementation you were looking for exactly, but it has been tested and works with our gear.  This is mostly copy and paste with a few alterations to support the separate port for disconnect packets.
Syncup mainline with changes from xvisor-next tree.

Signed-off-by: Anup Patel <anup@brainfault.org>
Fix reordering compile errors

Last commit created some issues on g++ 4.6 and clang 3.0.
Clean author

This should help out with parsing content on eLibrary.ru. They put nbsp in-between names. We also didn't handle Cyrillic initials properly before.

We should also be able to easily add more capital letter ranges.
Echo successful NICK back to users who are not in channels

Does what it says on the tin, as discussed briefly in #help.
Activerecord CRUD helper
Add Annul operation

Added Annul operation to annul authorized transactions before capture.

I could not run the tests, but I tested it in my application.
ASGARD-1035 - Remove appname_1 convention

Remove the special parsing rule for trailing underscore-number tokens 
on application names.

We no longer need the surprising, arcane convention that clusters 
should be included in searches for an application name like fido, 
even if the actual app name of the cluster is fido_0 or fido_1.
slovak translation

Signed-off-by: casso <cassobiker@gmail.com>
Fix GUIColorMaterial

Signed-off-by: Karang <arthur.hennequin@free.fr>
Prevent cascading populators...

...which would cause 100% RAM and CPU usage (and often server crashes and "out of heap space exceptions").

This would happen when a populator/decorator would overflow on another chunk (think of a tree, on the edge of a chunk, some leaves could end up on the neighboring chunk), and cause this chunk to be loaded and populated, and possibly overflowing too, causing an infinite chain.

This PR adds an observer check before unforced population, making sure the chunk is being observed, so that cascading will stop when players can't see the to-be-populated chunks anymore.

Also, some random formatting, which I have no idea where it came from... The actual change is at line 823.

Signed-off-by: Aleksi Sapon <QcTechs@gmail.com>
fix oversized chrome icons

Just a quick, safe fix for the regression on master. A DRYer fix will come later.
Prevent re-entrancy into handleFileNewInProject(), fixes issue #738

handleFileNewInProject() initiates a two step process where the user is first prompted to name a file and then it is written asynchronously to disk. This process must complete before a new file is generated. This change prevents reentrancy and also closes the rename field when the user chooses "new file" during a rename.

I earlier tried a fancier approach that queue up user requests for new files. This got overly complex plus in the future "new file" is likely to create a new in-memory file rather than one on disk. In which case this code will change.

Fixes issue #738
added autoclosing of elements like ( , [, "

This pull request assumes this has been implemented:

https://github.com/adobe/CodeMirror2/pull/76
Enable LiveDevelopment onDocumentSaved unit test

Fixes #1887

* Remove stale code ``NativeApp. _setLiveBrowserUserDataDir``
* Remove early STATUS_ACTIVE update that caused async issue in LiveDevelopment unit test
* Use more reliable checking of LiveDevelopment status before checking updated DOM
* Remove ``NativeApp.closeAllLiveBrowsers`` so that Chrome remains open and is restored to its original state after running unit tests
putting a tighter edge on the highlight

Flashes the outerglow on transition, but settles on an inset shadow with no blur