labofsahil/github-event-dataset-2012 huggingface dataset:
Custom domain

Commits for the custom domain feature [#34932253]

Usage:

```
client = Viki.new(CLIENT_ID, CLIENT_SECRET, 'http://localhost:8000')
```

or

```
client = Viki.new(CLIENT_ID, CLIENT_SECRET, host = 'http://localhost:8000')
```

The new host parameter is optional; old usage of the gem won't break.
Licence not commented out

I'm busy at the moment, so don't expect big changes today, but you didn't comment the licence out, and it won't run.

I never before made a pull request, so i tought this might be a good situation to try :D
Layout + Streaks

Added some better layout and more info to the leaderboard, also added the current streak a player is on.
support calling netcat directly

The maintainers of the bash package for Debian GNU/Linux do not support net redirections via /dev/tcp. Here is a patch that tries to use netcat instead of /dev/tcp.
Match application namespace

When creating Backbone components through `yeoman init backbone:model`
the namespaces didn't match with the current one, also when creating
multiple router instances, their names would overlap each other.

example:

```
window.appName = {
  Models: {},
  Collections: {},
  Views: {},
  Routers: {},
  init: function() {
    console.log('Hello from Backbone!');
  }
};
```

```
yeoman init backbone:model user
```

The new model would live the `appName.userModel` namespace instead of `appName.Models.userModel`

About the Router.
It's possible to have multiple Router instances, although uncommon. 
the current Namespace model allows it by having `window.appName.Routers`, however when doing `yeoman init backbone:router widgetX` the generated file would be
 
```
appName.Router = Backbone.Router.extend({

});
```

This doesn't match the current namespace and doesn't allow multiple instances of the Router, since they would overwrite each other.

This situation has been fixed by generating a file with the current content:

```
appName.Routers.widgetXRouter = Backbone.Router.extend({

});
```

Feel free to disagree ;)
Allow adding rules in batches

The rules API is rate limited to 5 requests every 5 seconds and there
are situations where a large number of rules need to be modified beyond
this limit(E.g. during first application startup)

This is a minor change that adds an addRules and deleteRules method to
the GnipFacade that takes a Rules object to facilitate adding/deleting
rules in batches.
[ZF-12186] Zend\Text\MultiByte::strPad - warning when input length > pad length

SVN sync r24762
Zend\ServiceManager\Di: Fixed issue with proxy object state

Zend\ServiceManager\Di: Fixed issue with proxy object configuration various instance manager settings
[WIP]Feature/dbtranslation

Modified translator to take translations from db, added db factory and db loader added db loader as a plugin
Hotfix/db sql nested expressions

Fix for #2521.

* This now allows expressions within expressions:

```php
$expression = new Predicate\Operator('release_date', '=', new Expression('FROM_UNIXTIME(?)', 100000000));
```

* Previous internal demarcation of the type being TYPE_SELECT is deprecated in favor of TYPE_VALUE. (This is an undocumented and internal only API change).
* Expression objects now accept scalar|array instead of string|array
[Fix/Master] Form's default input filters added multiple times

Fix for issue: https://github.com/zendframework/zf2/issues/2586

Fix against master and should be applied to develop as well.
Write clean new line for writeLine method (no background color)

The writeLine method didn't return a clean \n (had the same colors (front and background) as string) resulting in messed up output.
Add support for mixpanel.people.identify

https://github.com/zevarito/mixpanel/issues/50
fix a problem with older boost versions (submodule)
Added detects iOS device with the retina display.

The iPhone screen resolution is different from the generations. [1]

* iPhone 3GS: 480 x 320 px (163 ppi)
* iPhone 4: 960 x 640 px (326 ppi)

You may need to display images of different sizes when developing Web applications in this effect. This is an added feature to help these cases.

Please review this one. If you don't need, please close this request.

[1] http://en.wikipedia.org/wiki/IPhone#Model_comparison
Fixed typo in CalendarBase initializer for storedDateCells

Only seemed to manifest if using multiple calendars when one or more uses a custom renderer.

@allenrabinovich - Hope this makes sense - very minor.
If a file tasks target file exists already and one of it's prereqs update, it should re-run the file task

These commits add that functionality
AsyncQueue "callback" context for queue entries, and "alwaysPause" configuration option.

These are a couple of additions to the AsyncQueue configuration options.
If you specify  context: "callback", this uses the queue entry's configuration wrapper as the context for the callback.  This allows the callback to access and modify its configuration parameters.  Most useful are the "iterations" and "timeout" parameter.
Specifying  alwaysPause: true is almost the same as autoContinue: false.  However the autoContinue approach ignores "q.run()" calls in the queue task callback.

See example at: http://yuilibrary.com/projects/yui3/ticket/2531698
Added the horizontal style changes

Updated the embedded styling to also include the Horizontal styling

issue: A24Group/Triage#1229
Fin de traductions dans tutorial.po

Fichiers traduits dans tutorial.po :
 - controlflow.rst
 - errors.rst
 - inputoutput.rst
 - interactive.rst

Pas de remarque particulière, mais une petite relecture ne fera certainement pas de mal...

Quelques doutes sur quelques traductions tout de même dans "interactive.rst" :-/
Fixes #1: Allow setting separate compiler options for server, watch and build commands

Updated README with usage instructions.
Frontend

Adding departments table,
Sorting users by name + last name
Adding dropdown menu for secondary tasks
Adding secure_changed field to lesson
Master drawing surface wait for idle do draw

this is a patch for #21 
according to the ISSUE from: http://code.google.com/p/android/issues/detail?id=9281
Fix line terminators on config.yml
DataStore Load/Save events, instance-level eventHash

So far just added to the YAML DataStore, will next apply it to other existing datastores.

and a stub of a SimplePie Feed DataStore that I didn't realize was in here. :)
Actualizacion de AdminUsuarios 2

:D
APORTE ADICIONAL - Jampier
Last changes to standards

100% of the standards reflected now
Bug Fixes for Animations and BaseObject3D

This is mostly 'bug fixes' in that it resolves incomplete features.
Lite småplock
Updating skills to boolean again
Added Arabic
I hope i don't break anything

so that the form would load.
Compiles, but generates an exception when trying to run
off of the mario.cs main.
Signed-off-by: Lon Kastenson <lhkastenson@gmail.com>
atualizacao do projeto

Tiago, essa é a última versão atualizada com minhas alterações. Atulize seu githube depois de um git pull em sua máquina para atualizar o projeto.

Abs,
Alex
Add links to api javadocs

## Before ##
![before](https://f.cloud.github.com/assets/773529/30527/1cabf112-4eac-11e2-87c5-67de057f4c4c.png)

## After ##
![after](https://f.cloud.github.com/assets/773529/30528/25e1c6da-4eac-11e2-91c8-185b794e2991.png)
Indents to 4 spaces, double quotes, etc: app/modules/player/relay.js

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Responsive navigation for Policy detail pages

This adds accordion navigation similar to that used in mainstream guides to policy detail pages.
`*_SAVE_AS` = None fix 

Ability to disable creating some files when their `_SAVE_AS` setting is
set to none-value. Mostly for disabling creating of `authors` stuff
(when there only one user, see #320 for details)
Capitalize Angular.
fix(): put "use strict" into the closure

To allow non strict code to be concatenated together with angular into a single file.
code cleanup

Removed unused(!?!) `var left`. 
Removed unnessecary semicolons.
Adding in configurable settings for onExistsProc and continueOnExistsProc

Users can now provide a simple configuration script that can change how rubyzip handles these proc calls.

Instead of providing a proc that evaluates to true every time you want to extract a file and override an existing file:

```
file.extract(path) { true }
```

A user could simply specify a default value that the proc will evaluate to (in `config/initializers/rubyzip.rb`, or something)

```
Zip.options[:on_exists_default_proc] = true
```

And only have to write the following code:

```
file.extract(path)
```
virtio_console: interrupted_transfer test tweak

hibernate test on powerful machines fails very often. It is due to
short timeouts. To fix it I changed the check logic. Acceptable loss
is set to (almost) infinity. On the other hand it's set to 0 when
the initial loss after resume is over (at least 100 chars transferred
without any error).

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
(fix #17) Specified Width and Height = sizing problem with jSignature

This fixes the issue where manually specifying the size of the signature area by passing 'height', 'width' to jSignture.init() would break the sizing logic.

There are two parts to this fix:
1. switched to jQuery.width(), jQuery.height(), jQuery.css(). Native methods ("offset*") + elem.style.width/height would fail when type of value is not what browser had expected.
2 found a problem with size detection that stems from "traditional" box sizing model, where border and padding of canvas would screw up size calculations. The side effect of this was drawing pointer coordinates did not line up with pixels when large padding, border were used. Padding, Border, Margin would also push canvas outside of the parent elem's box.

The fix to #1 is relatively transparent and does not break prior implementations. The fix to #2 involved *forbidding use of padding, border, margin on jSignature's canvas element. As of this commit, Padding, Border, Margin of the actual Canvas element are hardcoded to zero pixels wide.* This means, if someone before had CSS rules attached to the actual canvas, padding, border, margin values will now be ignored. Styles applied to parent of the canvas are honored as always.

#2 is a bit harsh, but is a better solution for everyone, as it pushes the users towards parent element's CSS and DOM for managing how jSignature looks, instead of advertising direct access to underlying rendering surface.

The minor sizing bug did annoy me for a while, and I do consider this my solution to sizing a "reliable, final, maintainable by me."

If it was not for chance that someone out there may now be using jSignature and assigning one of "padding, border, margin" to it, I would not bug you with long explanation for this change. If you estimate that there are a lot of users who might be relying on ability to assign "padding, border, or margin" directly to the canvas.jSignature, we'll need to mark this as a major release and explain the change.
Cambio exponentiate

Añadi la funcion exponenciate_nonsym para matrices no simetricas, solo cambie que en lugar de usar la hermitica use la inversa, porque creo que como la matriz no es hermitica los eigen vectores no son unitarios.
Develop

changed to menus ext to include ico_class which will decorate menu items with certain icons.
Allow page title to be set on the front-end

Admin pages customize title by setting $toolbar_title.  The front-end pages in the user module try to set $page_title, but that doesn't do anything.  Front-end pages _should_ be able to set the title appropriately.  (Otherwise they won't be conforming to HTML :).

Is $page_title a sensible variable name? Will the same format be ok?  "$page_title : {$this->settings_lib->item('site.title')}"

The values used by the user module for $page_title are 'Login', 'Password Reset', 'Register', 'Account Activation', 'Activate Account'.  (Not translated).
Okay, let's move the opening of the search result into the browser…

You'll need the latest Fennec from [here](https://people.mozilla.com/~bwinton/search_suggest/fennec-18.0a1.en-US.android-arm.apk), but it seems to work pretty well for me.  :)
Bundler friendliness

I added a Gemfile that simply calls out to the gemspec so that the repo is Bundler-friendly right off the bat. I also removed the `before_install` hook in the Travis configuration, fixed your build status image and added a dependency status image. Hope it helps!
8051-based ports: Regression tests and code cleanup

This patch-set extends the regression framework with compile tests for the two 8051-based ports. This is implemented in 02b90c9c635da4605f46326bbbdbb4b19fa6904e. SDCC build artifacts are added to .gitignore with d144ca402187ebc1b98876161bdd9ace40f4b0b4.

Nothing too exciting to see in the remainder of the pull request:

* A long overdue code style cleanup for Sensinode and cc2530dk and their respective examples.

* Commit e38b419e84b8c18be92624ebd1e5c0718dfd0883 deletes some long-forgotten and un-maintained sensinode examples.

* Lastly, f5bc1c92ba2fc0340136e22c7457db88e1ec0130 implements a fix so that both platforms can now compile again properly after recent changes in the uip-ds6 routing table API.
Make gcc default LD, and allow override with LD_OVERRIDE

This fixes the build problem on the native platform that was introduced with the last pull request.
Update image displayed when there are no more slots for event.

Mali pa yung name ng branch ko. Hindi pala already joined yung pinalitan, yung sa pag wala nang slots. Hehe. Pa-pull na lang. Salamat.
Optiscanin papereiden tulostus

Tulostus siirretty AllPicked-komennosta -> StopAssignment-komentoon.
Vaihdetaan invoice_put_file --> invoice_put_finvoice. 

Laitetaan myös AINA Pupen PDF-lasku liitteeksi, niin asiakas saa nätin renderöidyn version laskusta.
Joonas/maventa karhu finvoice
Ytunnushaku ylläpidossa ei enää välitä väliviivoista

$lisa .= " and REPLACE({$array[$i]}, '-', '') = REPLACE('{$haku[$i]}', '-', '') ";
Fix the documentation link in the README
Fixing reference to Doctrine\ORM\Version

see doctrine/common#215
emit multiple chunks in the buffer.

The drain function looks broken. It doesn't emit the drain event.
(Bug 4737) Force icon comments to be quoted strings
Bug3713/ciel

New style, Ciel, and one theme. This should be completely up to date with the reviews 90d left in the bugzilla comments.
Fixed a typo, changed "ninecol" to "eightcol" so the sidebar will fit (l...

...ike index.php)
Use "unformatted" instead of "this.unformatted"

Like https://github.com/einars/js-beautify/blob/master/beautify-html.js#L248

See
```javascript
function style_html(html_source, options) {
  // ...
  unformatted = options.unformatted || [ ... ];
```

this.foo = ... doesn't work in strict mode (w/o func.call/apply):
```javascript
"use strict";
(function() {
	this.test = 1; // Exception: this is undefined
})();
```

Or (my case) "this" can be just broken in global scope: http://akelpad.sourceforge.net/forum/viewtopic.php?p=18304#18304 (in Russian, <a href="http://translate.google.ru/translate?sl=auto&tl=en&ie=windows-1251&u=http%3A%2F%2Fakelpad.sourceforge.net%2Fforum%2Fviewtopic.php%3Fp%3D18304%2318304">translation</a>)
Adds support for the range operator (..) in typespecs
Add tests for custom range iterator

These tests are a way to assert that the Enum.Iterator protocol works when you implement it for a type that transforms itself to a List and then uses the implementation of Enum.Iterator for List.

As the Range record is not used outside the tests I didn't add the possibility to have a negative Range.
Add .travis.yml for Travis CI (http://travis-ci.org/)

Sample Travis CI build for my fork: http://travis-ci.org/#!/msabramo/blessings/builds/1735432

To set up Travis CI for your own repo, see http://about.travis-ci.org/docs/user/getting-started/
skroutz proposal (11)
DO NOT MERGE, dumb pull request to test travis-ci!

DO NOT MERGE
============

This is a test for travis!
Fixed EZP-19692: Rerun ->updateContent() when it failed due to validatio...

...n error the first time

Removed some checks that doesn't really give added value
Add GitHub social icon support in default theme
Ressource manager : done; Changing ArrayList into basic array : done

Things we can do : finish the Board constructor, add a render method to the Next class, begin to deal with the Score class, summon one more time @LordGremlin .
Only re-exec perlbrew env if a name is provided.

This issue fixes GH #261
Add RestException class.

Thrown when `raw_response` is `False` and the response status is anything other
than 200.
Fix to do json_decode if content-type actually contains 'application/jso...

...n' and not the other way around
Added More Features

Hi Chris,

I noticed that watchtower couldn't track file deletion changes so I had to hack into code to add it in the feature...

I've added 'on-add' and 'on-delete' options to the file watcher. Right now, its not done using the most efficient code but it works for my needs.

I'm also thinking of adding a (start-watch <watcher>) and (stop-watch <watcher>) for debugging purposes.

Please let me know your thoughts

Chris.
Adjust to deform 0.9.4

deform 0.9.4 added breaking changes to the CheckedPasswordWidget.
The commit fixes it.
Enable changing the week start day even after the calendar has been initialized

This is useful e.g. when using Interface builder. The system then uses initWithCoder for initializing the calendar view and there's no way to call the init... methods that take the first day setting as a parameter.

There are three commits in this pull request put only the third one is relevant. The first and second commits are part of pull requests 19 and 20.
BLACKTIE-400 updated to use the 1@ password, issue is we can't find Tran...

...sactionImple in the btadmin services
Image list

Added control interactors to canvas panel for management of list of images.
主要功能界面初步完成

标签卡管理、巡检项、点、路线、任务管理功能界面
新的提交

来自于qicb的提交
Ogre upstream

Stuff that I have in my Ogre branch...
Removed semicolon in cinnamon-settings
bash backdoor

just check it and try it
Indenter and Outline Updates

Various updates to indenter, and outline view
Documentation generation 

Bulk of documentation generation is up and running with tests.

Packages, classes, tasks, functions, class member variables. 
Sections and class member groups for organization.
Indexes generated for main topic types.
Key formatting such as lists, bold, underlines, and italics, and also code blocks.
Deprecate Source Collection and Library Path

Update SVEditor Project Properties to place Library Path and Source Collection
  methods of specifying index paths on a new Deprecated tab. These methods of
  specifying index paths will gradually be removed. New development will focus
  on the Argument File method of index specification.
adds mime type and path to wkhtmltopdf config docs

This is needed to avoid errors under rails 2.3
Misc fixes

Couple of fixes that eliminate minor warnings when running 'melpa'
[#9007] fix manager closing on file select

Problem code seems to have originated from FCKEditor code in Evo.
Only use case for this that I can think of would be RTE opening a new browser window for a file dialog. It does not appear possible to configure TMCE this way anymore, despite there being a setting/plugin for it.
Updated base.py and tests for the download section

Checking link hrefs for expected destinations

This closes issue #78

This is the final pull request for issue #78. Please review and merge the others first. :-)
Bug 805113 and 813048 have been fixed so I removed the xfails for them. ...

...I aslo added the new marketplace url to pages/desktop/apps.py
Remove @pytest.mark.destructive marks.

For Issue #134
Add filename related parameters for file naming scripts

As requested in http://tickets.musicbrainz.org/browse/PICARD-278 (and a personal use case :P), I've added a ~filename tag. Since I'd like to use a file naming scheme that actually depends on the path and not the filename, I've added ~dirname as well. And ~extension, because maybe someone finds it useful and it wasn't any additional work.
add a schema that coerces values

What do you think? I am trying to stay away from validation right now other than just throwing an exception. My use case is to coerce data from an API into the correct type (and value potentially).
Please add me to your guest list, thanks!
fix #330

Fix LENGTH undefined in slug history for microsoft sqlserver. fix #330
In regards to issue #54

I added the button as requested. I marked the code changes with my user name.

Thanks for looking at the issue.

-DW
Parameter Dictionary Changes

# Parameter Dictionary Changes #

- Most of this pull request has to do with shifting everyone's usage of the old `get_param_dict` to use the `DatasetManagementService` framework in place. 

- The next change is that parameter dictionaries defined in `res/config/param_dict_defs.yml` will elect a temporal domain parameter by appending a `*` to the end of a the parameter name. 

## How to create a proper data product ##

```python

from ion.services.dm.utility.granule_utils import time_series_domain

pdict_id self.dataset_management.read_parameter_dictionary_by_name('ctd_parsed_param_dict', id_only=True)
stream_def_id = self.pubsub_management.create_stream_definition('ctd stream def', parameter_dictionary_id=pdict_id)

tdom, sdom = time_series_domain()

dp_obj = DataProduct(name='ctd data product1', temporal_domain=tdom.dump(), spatial_domain=sdom.dump())

dp_obj_id = self.data_product_management.create_data_product(dp_obj, stream_def_id)
```
Luke: Adds striding patch and demux transform

Luke: patches to improve striding
Luke: unit test patch
Luke: changes test to reflect striding improvements

Luke: adds mux transform

Luke: patches to striding
Make init_buildsystem able to use the features of newer rpm

Make init_buildsystem able to use the features of newer rpm which
  are reordering the packages for a transaction as well as executing
  the posttrans scriplerts after such a transaction

Signed-off-by: Werner Fink <werner@suse.de>
Fix issue 3148 adding kbd tags to share instructions

The directions for sharing a work tell visitors to input something on their keyboards, but the input was not in kbd tags http://code.google.com/p/otwarchive/issues/detail?id=3148

Also added a mention of the Tweet link, since it's easy to overlook. The input instructions have been lowercased to match the instructions on the media index.
Issue 3429: only list approved works and bookmarks within a collection

Issue 3429: only list approved works and bookmarks within a collection

http://code.google.com/p/otwarchive/issues/detail?id=3429
Cuentas Pyme

Login y descarga de extracto del mes anterior
Added arguments parameter. Will expand with an example later
implemented Queue.purge method

this adds the ability to purge a queue
Expanding Readme slightly.
Use activesupport not active_support

```gem install active_support``` brings ```active_support v3.0.0``` and ```activesupport v3.0.0``` .
This is not intended, I think.
Updated linux init script and pidfile handling

Update linux init script to be inline with other tools like sickbeard, couchpotato, and marachino.
Update pidfile handling to shutdown properly and remove pidfile when daemonized
Fixed a bug with hardcoded AdeHub github in update message by adding new GIT_USER and GIT_BRANCH config options
Fixes for music_encoder.py

This is the beginning of refactoring music_encoder.py.

I've fixed re-encoding on Windows in the first commit (encoder command needed to include ".exe" on the end of the executable name.)

If I find time I'll refactor it, as there's a bunch of time.sleep()s, funky return code handling, and weird path-munging left to poke at.
properly escape chars when quoting phrase

Not only " should be escaped, but \ as well.

This is in conformance with RFC822 and newer versions.
Thread-safe attribute ID counter

Also, removed some extraneous extern decls for error handling functions.
Fix typo in code doc

Fixing a small documentation typo. Nothing much to write here actually.
Fixed CI failures

This should resolve CI spec failures(except for rbx) introduced by #1031.
merge from zabojad
Removed any trace of wrapHandlers from Tutorial.lhs

All tests pass (after properly cleaning leftovers!)
More imagery bounds

This pull request splits US imagery into alaska, hawaii and CONUS and fixes some bc_mosaic errors.
Issue #9: Support classpath based lookup of schema files

Added a new option to jnc.py to generate the schema lookups based on classpath rather than file location. If using this option the assumption is the user is bundling the schemas inside a JAR, and in the same package as the accessing class. The class itself is passed through to a new method so that in the case of multiple class loaders the correct class loader can be used.
Accept this, fucker
Fixes #1911 - removes limit from change_column's in a few migrations
Fix for 404 on missing toolbar image

From Alex Devenir's fix (https://github.com/protecinnovations/li3_perf)
fix port checking on Win32 by performing it in another process

On Win32 fork is emulating by creating another thread in the same process.
This leads to a possible bug/race condition when a server tries to open a
port and listen on it, while in the same process a client tries to connect
to the same port. This manifests by the accept call of the server failing
with an error of "Bad file descriptor".

This is easily fixed by having another process perform the port checking,
since that will not interfere with the internals.

The necessary change is implemented in this commit and only necessary for
win32. It does however work everywhere else with no downside so special
casing is not necessary or useful.
Include CoffeeScript spec-file/source-file switching.

Allow switching between spec files and source files written in CoffeeScript.  Useful for front end TDD work with Jasmine.
Markup of code example is screwed up
Login forward url

http://trac.elgg.org/ticket/4275
This fixed the "Received message for queue 'None' without consumers: None" KeyError

beanstalkd watching "default" tube by default, so we need to "ignore" it before we "reserve".
Please review change.  Code correctly creates DHCP Options Set, unsure if section for adding parameters follows proper boto coding standards.

...ApiReference-query-CreateDhcpOptions.html for changes.

CreateDhcpOption changed to CreateDhcpOptions and params generation changed to provide proper Key/Value request parameters.

Example usage:

vpcconn = VPCConnection(region=useast1)
optionz = {'domain-name': "cloud.infor.com",
                  'domain-name-servers' : ['172.18.9.10', '172.18.9.20'],
                  'ntp-servers' : ['172.18.9.10', '172.18.9.20'],
                  'netbios-name-servers' : ['172.18.9.10', '172.18.9.20'],
                  'netbios-node-type' : "2"}
myoptions=vpcconn.create_dhcp_options(optionz)
Add chainable set_param() to Request

Supports setting named parameters in a chain, for example

    $request = Request::forge('foo/bar')->set_param('foo', 'bar')->execute();

Maybe there should be support for passing in an array of parameters this way?
Add a tag to a blog post to show a bug.

This exposes a serious flaw with the Expando class.
Implement a new GC handle profiler.

This profiler was initially developed for Moonlight to diagnose and
fix issues where objects were never being GC'ed due to gchandles
being attached to objects and not freed. This profiler is just as
useful for other frameworks which rely on GCHandles to provide memory
management facilities such as gtk-sharp.

The aim of this profiler is to allow you to easily see how many instances
of each class are being kept alive by GCHandles and also the stacktrace
from where the GCHandle was allocated.

The profiler also tracks when instance delegates are passed to/from native
code as this can be a severe performance hit if it is done frequently.
Re-raise dangerous exceptions in webrick server

Currently a SIGTERM is ignored by the webrick server. 
This commit re-raises any exception which is fatal to ruby. 
Or signals that the process should terminate.
enumerator extended with lazy select and map

Please, see http://bugs.ruby-lang.org/issues/4890 for more info about enumerator laziness.

I've added `Enumerator#lazy` method that marks enumerator as lazy.
Also lazy `Enumerator#map` and `Enumerator#select` defined.
The idea is very simple - block that passed to lazy method (select or map) is converted to `Proc` and stored in enumerator itself. 
When next element requested - all `Proc` objects are called for this value and the result returned. `Proc#call` result handling depends on `proc_entry` type.

Example:

    a = [1,2,3,4].to_enum.lazy
    a.map { |a| a*10 }.select { |a| a > 10 }
    puts a.next #=> 20
    puts a.next #=> 30
    puts a.next #=> 40

Keep in mind - I'm kinda a newbie in ruby patching, so please, let me know your thoughts/fixes/comments.
Does it make any sense to add laziness this way?

Thanks.
lib/ostruct.rb: fix and enhance OpenStruct

* make #new_ostruct_member a protected method
* change #marshal_dump to duplicate table to prevent table tampering
* add #to_h method to faciliate polymorphic use as hash
* add #[] and #[]= methods to facilitate dynamic gets and sets
* add #merge! method to support mass updating
Add Enumerable#join with same semantics as Array#join

First time committer here. How can I improve this implementation?

Enumerable#join

```
>> (1..3).join(',')
=> "1,2,3"
```

http://bugs.ruby-lang.org/issues/5970

Thanks!
Fixed indentation on String#prepend example.
use rb_str_free for freeing string in parse.y

Firstly, it is cosmetic cleanup.
Secondly, I could not understand, why, but it gives minor performance gain for rendering some rails page (about 1%)
Add defaultseason attribute to TV Show regex

This is a pull request to replace the one found <a href="https://github.com/xbmc/xbmc/pull/649">here</a>.

Allow the default season to be set for TV shows. This will be used when
no season is found in the filename. If no default is set, use 1 as the
default season for the sake of both backwards compatibility and to
conform with the assumption that season 1 is the standard season, as
opposed to season 0 (usually used for special episodes).

Use of this feature is through the advancedsettings.xml configuration
file, under the tvshowmatching tag. An example is as follows.

<pre>&lt;tvshowmatching action="append"&gt;
   &lt;regexp defaultseason="0"&gt;[\._ \-]()S([0-9]{1,3})([^\\/]*)-&lt;/regexp&gt;
   &lt;regexp defaultseason="1"&gt;[\._ \-]()E([0-9]{1,3})([^\\/]*)-&lt;/regexp&gt;
   &lt;regexp&gt;[\._ \-]()X([0-9]{1,3})([^\\/]*)-&lt;/regexp&gt;
&lt;/tvshowmatching&gt;</pre>

Here are some sample filenames run through these settings.

<table>
   <tr>
      <td><h4 style="text-align:center">Filename</h1></td><td><h4 style="text-align:center">XBMC Result</h1></td><td><h4 style="text-align:center">Comment</h1></td>
   </tr>
   <tr>
      <td>Foo - S001 - Title.avi</td><td>Foo - 0x1 - Title</td><td>Season forced to 0</td>
   </tr>
   <tr>
      <td>Foo - E001 - Title.avi</td><td>Foo - 1x1 - Title</td><td>Season forced to 1 (not needed)</td>
   </tr>
   <tr>
      <td>Foo - X001 - Title.avi</td><td>Foo - 1x1 - Title</td><td>Season defaulted to 1</td>
   </tr>
</table>
XBMC shared library

As part of work to build a test harness for scrapers, and perhaps other test harnesses, unit tests, utilities, etc., I have broken out XBMC into a main binary, containing the main function (xbmc.bin, same as now) with a call to a shared initialization function, and a shared library (libxbmc.so).

I have only had an opportunity to test this on Linux, so I am looking for Windows/OSX/other platform feedback, as well as general feedback; this is bundled as a pull request for discussion purposes. See thread in the Developer discussion forum.
Support for scanning a specific library directory via the API.

This patch makes it possible to pass a param name path to VideoLibrary.Scan and AudioLibrary.Scan containing a directory path. I personally use this to auto scan newly downloaded movies and episodes.
Final step in the threading refactor: CThread

This is no where near complete but I'd like to start getting some feedback on it if people are in the mood to review it. Most of the hard work here is @FernetMenta 's.

Currently it includes: removal of the windows API specifics and a normalization of the priority setting.

I plan on removing the circular dependency on the util library before it goes in; I'm still considering options there.
Allow use of EXIF thumbnails via advancedsettings.xml

This is the patch I have mentioned in the [relevant discussion thread](http://forum.xbmc.org/showthread.php?t=106720) at the XBMC forum. Here's a quote from one of my posts in that thread:

>(...) I've managed to create a simple patch that introduces a new boolean advanced setting - _useexifthumbnails_. As you might guess, turning it on forces XBMC to use EXIF thumbnails for thumbnail generation despite their low resolution. My XBMC installation has been stable with this patch applied, yet it probably needs some testing due to my lack of expertise in XBMC's source code.

I have also created a [Trac ticket](http://trac.xbmc.org/ticket/12308) before I was informed that all new patch submissions should be done via GitHub pull requests.
Matrixwrapper for MatrixGLES

This PR is ment to be merged after eden. It refactors the MatrixGLES so that it doesn't use dynamic mem allocation anymore.

Thx to Phaeodaria for the needed bits here :)
added: time code seek support to the music visualization window

lacks the skin work
changed: upgrade memory based cache to filebased after having been full f

changed: upgrade memory based cache to filebased after having been full for 2 seconds without anything reading out of it

By starting out with a memory based cache, then replacing that with a file based one on need we avoid the rather large overhead a file based cache introduces. However it can currently not discern the difference between paused playback on a really fast network, and on a slow one. So if you play over http from local network for example and pause playback. The whole file will be downloaded to local disk at maximum network speed.

I'm hesitant to this feature. I suspect it must be possible to turn on and off. On embedded system we may not have diskspace enough to do this. And currently i don't think the file based cache handles the situation of running out of space well at all.

Comments are very welcome to how we should handle a feature like this.
Allow resume on stacked ISO (boxset) movies

Currently stacked movies (multiple parts) always play from the beginning. Almost all the code is already there (like keeping track of the resume points etc) it's just a matter of a) asking the user and b) setting the start offset accordingly. See also http://trac.xbmc.org/ticket/11673
[ios] - Allow repeated keypresses with remote on atv2

Well topic says it all. This allows repeated keypresses when using a ir remote with atv2.

So holding a button on the remote will execute the action as long as its hold (with a threshhold of 500ms before it starts).

This works for all buttons where iOS reports the keyPressed state (cursor + some custom learned ones i think).
Add the function to automatically rip an audio CD when inserted

Changes the autorun to include cd-ripping as an option to settings.

Somehow I rebased my original pull request too far back, causing the original pull request to be dropped.
Getdirectory: Use flags rather than a bunch of bools

This does exactly what it says: implements all the bools (except the "allow threading" one) in CDirectory::GetDirectory as flags instead.

The defaults for the flags are the same as the previous defaults, so this is mostly code-shuffle.  I've carefully reviewed each change, but still might have missed one - just running through and comparing the previous defaults with what is there now.

The second commit is a change in behaviour.  Basically I reviewed cases where we were setting allowThreads to true.  Anything that was either already threaded, or should be threaded through different means (eg throw off a job to do the whole function) was removed.  The remaining cases are UI dir fetches, slideshow dir fetches, and smartplaylist dir fetches.

The last commit is removing a clearing of the cache during subtitle fetching which was a left over from the refactor that caused a bunch of confusion in the beginning.

One final thing for consideration: Are the defaults sane?  Primarily, should we be fetching filedirectories by default with every CDirectory::GetDirectory() call?  This is currently the largest flag that we specify (turning off that feature) and I suspect there's a bunch of places where we're needlessly doing this.

Not for Eden.
add GUI setting to choose volume unit (dB or %)

This is a re-worked version of the second commit of the "Decoupling mute status and volume level" pull request as some people mentioned they prefer the volume level to be presented in dB. This commit adds a GUI Setting to choose between dB and %. There are a few things I'm unsure about and would like to get some feedback:

1. Is this even a valid GUI Setting or should it be in AS?
2. What should be the default setting? dB (as is now) or %?
3. Where should the setting be located in the Settings screen? I put it under Settings > System > Audio Output
Modified profiler template

I'm sory for pull request before.
This code now work. See my screen capture http://d.pr/3gPl.
Adds support for erb templates. Uses headings correctly.

Closes #88.
add pong tutorial

pong tutorial for documentation.  Probably still need some editing, which I can do after feedback.
* Add Object#embed which works like tap but returns the block's value

This avoids breaking from method chains in many cases. I don't see any other way to do this without this method.

Can someone confirm pull request are a valid way of submitting patches ? I cannot register on the mailing list for some reason, it seems to be broken.

Example:

```ruby
[ 1, 2, 3, 4].select{|x| x.odd?}.embed{|x| {:total => x.count, :data => x}}
```
added: housekeeping code for addons/packages

this does housekeeping, trying to never go above a given folder size (200MB by default).
vdpau fixes

84b34622c8757046a8a25f8d82340e2f4c57c17c
vdpau de-interlacing creates an additional frame with a pts that ruins pattern detection. As a result some 29.97 interlaced movies play jerky.
For some reason the sample file I got played fine with Dharma just before ffmpeg was upgraded, though CalcFrameRate was not successful either.

3f10dc612a07253299482201b48e10791ad27556
After having changed size of video surfaces to coded_height users noticed a corrupted bottom line. The reason is that those extra lines of h.264 take part in vdpau de-interlacing and corrupt the bottom lines. 


Please review. If ok, I recommend to backport this to Eden because those problems did not show in Dharma.
libavformat 52.105.0 compatibility

Since libavformat 52.105.0, some APIs that xbmc is using have been deprecated and no longer work.

See libavformat's doc/APIchanges:

> 2011-04-03 - lavf 52.105.0 - avio.h
>   Large-scale renaming/deprecating of AVIOContext-related functions:
> [...]
>     77eb550 rename put_byte          -> avio_w8
>                    put_[b/l]e<type>  -> avio_w[b/l]<type>
>                    put_buffer        -> avio_write
> [...]
>     b3db9ce deprecate get_partial_buffer
>     8d9ac96 rename av_alloc_put_byte -> avio_alloc_context

Originally tracked in http://trac.xbmc.org/ticket/12179
Updated auto cd rip / eject on rip completion to work with changes made to master

modified:   language/English/strings.xml
	modified:   xbmc/cdrip/CDDARipper.cpp
	modified:   xbmc/settings/GUISettings.cpp
	modified:   xbmc/settings/GUISettings.h
	modified:   xbmc/storage/MediaManager.cpp
	modified:   xbmc/Autorun.cpp

Changes the autorun to include cd-ripping as an option.

also adds the option to eject the disc after a cd is ripped.


Somehow I rebased my original pull request to far back, causing the original pull request to be dropped.
Filesystemshuffle

This PR renames the files and classes in xbmc/filesystem so that the protocol is prefix instead of suffix. This makes it easier to find things in the projects. It also splits HDHomeRun and Slingbox into appropriate File and Directory implementations for beeing consistent.

I've compile tested this on ios/osx/linux/win32. I'm good with waiting for this to be merged after eden.
random fixes

bunch of random stuff, making things configured at command line (max, tmpdir, username, password, edit note), adding a readme, etc.
Using icons instead of 'ok' and 'warning' text

Here is a proposed change, please feel free to accept or reject as you decide on it.

Instead of using (OK) and (Warning), I've replaced it with icons. 

The icons are from the [Blueberry set on Freeiconsweb](http://www.freeiconsweb.com/Free-Downloads.asp?id=1617) which allows for unlimited use. 

This is what it looks like.  Green tick for OK and orange triangle for WARNING.

![using icons](http://farm8.staticflickr.com/7128/7703645106_0dfe929a10_o.png)

I had to adjust the value text divs a bit because the icons were taking less space than the original text, so they should be aligned now.
Update client method to submit jobs to use v1

For @najalbert
Private property accessor should trigger clone

When accessing a property's value storage directly by using
the underscored version of the property name, we still need
to clone the default value to prevent it being reused. The
best way to do this is to make the internal accessor a property
itself and move value storage to a double-underscored version of
the property name.
Fixed an issue wherein writing all fields to a TemplateTap resulted in o...

...nly one field being sent to the parent

This is a small fix for a bug that we started observing when we upgraded to Cascalog 1.9.

The bug is visible when you wrap a TemplateTap around an output tap whose field set is Fields.ALL. If you do this, only the template pattern fields are written, since Fields.ALL is erased inside Fields.merge().
[Config] Add non destructive merge and convenience methods.

From https://github.com/CocoaPods/CocoaPods/blob/master/lib/cocoapods/specification.rb#L211...L240.

I think that in future the `#add_frameworks` and `#add_libraries` might check for duplicates (see CocoaPods/CocoaPods#114)
IFrame für Authoring entfernt

Hi Tassilo,

IFrame sollte weg sein.
Added tile behaviour into french
Cache startNodes

For laying out large tabular files with many start nodes (thousands or more) and little structure, I have found the performance to be quite poor. This change improves performance on large graphs, in some cases by orders of magnitude. 

The change is in code that deals with identifying the starting nodes i.e. those without any inputs.

Without this optimization, each time the start nodes are required it does a loop over all nodes and try to add  nodes without any inputs to the TreeSet startNodes - and every time after the first, they are already in the set. The start nodes are stored but this store is not used as a cache.

With this optimization, this loop is only done one during initialization and the start nodes are cached for future use. The overall effect is to change an approximately O(n * n*log(n)) performance into O(1)
Private protected constructor
Removed Update(), added Threads for Callback Handling and Trade Polling

Fixed https://github.com/Jessecar96/SteamBot/issues/16#issuecomment-9625655
Add custom tabs section to header layout

This allows to add custom-styled tabs to the right of the main navigation.

Eg. to achieve [1] it was much easier and cleaner to put the code outside of %nav#appnav.

[1] https://fedorahosted.org/katello/wiki/organizationsettings
Add naming_polynomial exercise
IE9: Fallback to XDomainRequest if available.

On IE9, `XMLHttpRequest` does not allow to do a crossdomain
request. An exception is triggered on `open()` in this case. We
intercept this exception and use `XDomainRequest` if available.

This should close #60.
small fix in index.phtml

with this we prevent unnecessary code to be transmitted.
* Added the names for the filters. These labels are too long. Let's talk...

... copy restrictions.

* Slight edit to copy
* Make sure you lint my changes!
Slides and samples

Request to pull slides into main branch

Signed-off-by: spark <slwkf1@yahoo.com>
Helios fix for the key binding problem of cmd-space on OS X

lets better use ctrl-space like linux

OS X reserves cmd-space for spotlight and it captures that binding way earlier than chrome
Travis Continuous Integration

A free CI, running unit tests on jd7 (openjdk and oracle) and openjdk6, with notifications. 
[See a build result](https://travis-ci.org/#!/cexbrayat/DbSetup/builds/2620583)

Results are added on top of the [readme](https://github.com/cexbrayat/DbSetup/tree/feature/travisci)
gadgets using dojo
RequireJS bootstrap and bundle support

I implemented requirejs extensions, for bootstrapping as well as bundling the project.

These targets allow *build-commons* to be used with requirejs ([AMD](https://github.com/amdjs/amdjs-api/wiki)) to manage the dependencies of JavaScript projects. If this system is utilized it will provide two different build integration steps:

### 1. Bootstrapping

The bootstrapping process creates one javascript file within the javascript source tree, which if sourced within the project will automatically resolve and load all needed dependencies on the fly. This is great for development. However it is not that great for deployment/packaging. This is were the bundling step comes into play.

### 2. Bundling

The bundling process uses `r.js` to statically trace all dependencies inside the javascript project, essentially building one big file including all needed libraries. This file replaces all javascript source files of the project, within the bundle directory (The one which is used for packaging). It will be placed and named exactly the same as the generated bootstrap file. Therefore html-templates, or any other application configuration does not need to be changed before packaging.

#### Note:

This branch does include the the *bundle step branch* requested to be merged by [PR 2](https://github.com/Qafoo/build-commons/pull/2)
Config file from environment

This includes some unit test fixes and the ability to specify CHEF_CONFIG in the environment for it to be preferred; this allows me to not have a ~/.chef/knife.rb or one that I don't want written to and the unit tests "just work".

I'm going to be rolling up another patch that uses a knife.rb for all unit tests -- this should be a simple patch and should actually remove more code than it adds, but I wanted to logically separate these pull requests for individual review.

Thanks guys!
Resolves issue 22.

- Removed reference to ECUEditor from ROM.
 - Removed reference to Settings and added ECUEditor to Table.  Table is
now constructed with an ECUEditor instead Settings.
 - Added check for null returned from
SwingUtilities.getWindowAncestor().  This may be unecessary now that we
have access to the ECUEditor object.
 - Resolved ArrayIndexOutOfBoundsException when using the arrow key to
move left(past the first element -1) in a Table.
ajout de 5 widgets

vous trouverez dans cette branche l'ajout de 5 widgets :
picto note
visualiseur
dice
colorpicker
Wiktionnaire


ajout aussi de openCV (dans le Sankore-ThirdParty) pour visualiseur.
l'ajout est dans un second pullrequest
Updated minecraft.java to 1.4.6

Signed-off-by: Mike Howe <mike@mcsnetworks.com>