labofsahil/github-event-dataset-2012 huggingface dataset:
Keep caret and anchor position upon indent and unindent

This fixes https://sourceforge.net/tracker/?func=detail&aid=3167355&group_id=153444&atid=787791

However, it seems a little complicated (adds 10 variables), maybe it's overkill, or maybe I overlooked the thing and there is a simpler solution?  Though, note that I also indented some code to move it inside an else, so not *all* is functional changes -- only the save/restore of the positions.

Algo here is that the new position on the line after (de) indentation is `O + (L' - L)` if `O > I`, else `O` (where `O` is original offset on the line, `L` and `L'` are line length before and after (de)indentation, and `I` is the original offest of the indentation on the line).

What do you guys think?
Secure Text Field support. (No new classes, either!)

Title says it all.
Update php/class/ubbcode.php

orange, wieder geadded
bbcode leiste funktionierte sonst nicht komplett
Module#refine, Module#refinements prototype

Not sure where (or if) you'd want this code merged, but sending the pull request just to be more clear where the work that I'm doing lives.  Still missing Kernel#using entirely as well as method dispatch.
3.3/cleanup
Accurating sources (removing crappy spaces)

All trailing spaces removed, no code changed.
Fix Merge Conflicts for Inject and Switch
Don't exit from the Examples since that stops the YARN ApplicationMaster.

....
Removing credentials line in build.

This line isn't needed - in fact it messes with the right way of resolving credentials automatically.
Lieutenant 2

Pull Request
L'avantage d'être intelligent c'est que l'on peut faire l'imbécile, alors que le contraire ...
The class of a module should not be Class

I've found that the following code causes SEGV:

  module X
  end
  X.new

It's because mrb_module_new() calls make_metaclass(), and thus the class of a module is Class, not Module, in mruby:

  module X
  end
  p X.class #=> Class

I think modules should not have metaclasses because there is no need to inherit singleton methods of superclasses.
Remove unused functions.

No function calls mrb_cmpint (and mrb_cmperr that called by mrb_cmpint).
Fix ref caching #841
Config: cache invalidation based on source files in non-debug-mode. [Closes #615]
Improve HTTP message streaming in decoder

Currently HttpMessageDecoder reads a HTTP message in chunks if the message's content length is specified and is larger than the max chunk size or if the content length isn't specified then if buffer's readable bytes is larger than the max chunk size. If either of those conditions are satisfied the content is added to the message and the message isn't artificially chunked. The problem with this is that the content of the message is stored in memory whilst waiting for an arbitrary threshold like max chunk size or the content length before forwarding on the content as a HttpChunk. In the case where the content length isn't specified the message's content is read, seemingly without bound, until the connection is closed.

It would be better if HttpChunks were forwarded on as soon as data was available to read, this would be especially beneficial in the cases where Netty is being used in a HTTP forwarding scenario. The pull request that is associated with this issue uses the ReplayingDecoder.actualReadableBytes() to read as much data as possible and forward it on as soon as possible.
Add support for method chaining to ByteBuf

This commit add support for method chaining to ByteBuf.

So before you wrote:

```java
    ByteBuf buf = ..
    buf.writeInt(1);
    buf.writeInt(2);
    buf.writeInt(3);
    ....
```
Now you can write:

```java
    ByteBuf buf = ..
    buf.writeInt(1).writeInt(2).writeInt(3);
    ....
```

@trustin please review..
Proposal to fix issue #397

Issue in #397 shows that some RESERVED_NAMES are still in use in some space on the Web.
After analysis RFC and blogs information, in fact it seems the issue comes first from Java Sun Cookie implementation that badly interprets the RFC. No RESERVED_NAMES exists, only '$' as first character should be tested, in addition to all unallowed characters.

So the proposal
Testupdate

After updating to the latest PHPunit 3.6.10, some of the tests required minor changes. I have no way of knowing whether these changes are or should be backwards compatible with earlier versions of phpunit.
few typos (I think it was Nuitka intended)
BUG: Fix ticket #1588/gh issue #398, refcount error in clip

This hopefully does the trick, it fixes the crash for me.

This patch enforces a strict dichotomy for the variables 'indescr'
and 'newdescr', so they are either NULL, or they own a reference.
Following the consequences of this allowed the reference error
to be tracked down.
Remove recursive locking from variable caching

The current Pressflow6 has a recursive call to variables_init trying to obtain a lock.  It has a bailout at 50.  But when high burst traffic is received by a site, this recursion causes very long response times on sites that do a lot of variable setting.  Each recursive call has a 30sec timeout.  Adding a watchdog to our site shows recursion levels >30 deep during some bot bursts.  Since this is called at shutdown, it causes many worker threads to stay busy and ultimately causing 503 varnish timeout errors on a site.

The attempt of this patch is to add some ideas from the following Drupal.org threads: http://drupal.org/node/973436 , http://drupal.org/node/1595070.  These threads have interesting discussion of the problem, but tend to get sidetracked into D8 implementation.  Because this is a very serious problem for a couple of our sites, I wanted to bring a more practical solution back to the table for Pressflow users.  Porting this patch to Drupal7 should be straight-forward.

My approach is to completely remove the lock recursion.  After a variable_set or variable_del, a static variable is marked, and at shutdown it will attempt to acquire a lock to write-thru the Drupal cache.  However, if the lock cannot be easily acquired, it simply clears the cache.   This potentially adds delay to the next request where variable_init will need to rebuild the cache, but that response time is better capped them any sort of recursion lock delay.

I've done jmeter benchmarks on a site with and without this patch and on normal sites I don't see any noticeable differences.  However if I construct a test page that does a lot of variable_sets, I find the performance of that page to be significantly better with this patch (factor of 2 speed boost) and I no longer get any busy/locked worker threads and no longer experience the very long response times that led to 503 errors.
Move ActiveSupport inflections to the initializer template

This is a patch meant for 4.0 that will move most inflections that are
currently defined in `activesupport/lib/active_support/inflections.rb`
to the inflection initializer template defined in Railties.

Inflections are currently "frozen" in Rails. Commits that add/remove/alter
inflections are largely ignored whether or not they make sense when
considering English grammar. The freezing was a decision made to avoid
breaking existing apps that depend on these defined inflections. By moving the
inflections to an initializer, we can unfreeze this area of Rails and change
inflections without fear of breaking existing applications.

Additionally, this will garner more understanding as to how Rails
pluralization/singularization works. For oddities that occur in the
inflections Rails has defined, it's often simply a "WTF?" moment and
people have to source dive in order to figure out why their
singularization/pluralization is not working as expected. Laying them
all out in the initializer will reduce a lot of headache associated with
inflection oddities.

Two things to note:

1. I've left the two basic inflections within ActiveSupport. These are:
  * Add an "s" to make a word plural (unless it already has one)
  * Remove an s to make a word singular (unless it ends in two)

  I'm not actually sure about whether that second one should be
  included, or even if I should move both to the initializer as well.
  I'd appreciate some input on that.

2. I have another pull request open (pull request #6820) that would need
   to be modified if this is merged.

Signed-off-by: David Celis <david@davidcelis.com>
sum fail on includes

Sum and other calculations generate wrong sql when used with includes and called on included table.
The following line will raise sql exception.

`Category.includes(:authors).sum('authours.id')`


The problem was in Relation#references_eager_loaded_tables?, it checks that Relation#to_sql references eager loaded tables, but to_sql and and sql generated by Relation#sum is two different things.
removed warning: shadowing outer local variable
Proper mime negotiation in case of non-ajax request

Currently when client send request to rails with proper `Accept` header rails will return always HTML. When I need `JSON` or other format I can of course add `.(:format)` and rails will recognize this. Why is this the only option?

* I do not want nor need to use :format in routes
* I use jQuery.getJSON method with cross-domain option `HTTP_X_REQUESTED_WITH` is not set
* There is a proper Accept header : `application/json, text/javascript, */*; q=0.0`
* There is respond_to `:json` in controller definition
* I use `respond_with` in action and give it an object that has `to_json` and `as_json` method implemented

When I ask for `JSON` rails should respond with `JSON`.
Made the code far more beautiful by following the contribution guide and outdenting private/protected code

My opinion is that this greatly improves the code base by making everything consistent.. most importantly consistent with the way that the contribution guide states.

As a bonus, now all the `end` keywords line up properly :-)

I spent a few hours on this into the wee hours of the night and so now I'm going to sleep.

Thanks!
Don't HTML escape ActionMailer plaintext templates

Continuation of https://github.com/rails/rails/pull/6943
AS::BasicObject cannot be inherited from

In #8454 `ActiveSupport::BasicObject` was deprecated. And this broke the inheritance.

AFIK, the class was made mainly to be inherited from. If you try doing something like this:

```ruby
class Foo < ActiveSupport::BasicObject
end
```

you'll get this error:
```
wrong argument type ActiveSupport::Deprecation::DeprecatedConstantProxy (expected Class) (TypeError)
```
which I believe is not a good way to deprecate a class, 99% of usage for is to inherit from.

Since the class itself does not contain any methods, there is no point of using `DeprecatedConstantProxy` to deprecate it.
correct handling of date selects when using both disabled and discard options

we should take disabled option not only from `html_options` hash but from
`options` hash too like `build_select` method does it. So

datetime_select("post", "updated_at", { :discard_minute => true }, { :disabled => true })
datetime_select("post", "updated_at", :discard_minute => true , :disabled => true)

both these variants work now

closes #7431
Add `Relation#and` which is an alias of `#where`

This new method a syntatic sugar when you're chaining multiple #where clauses together.

```ruby
# Before
User.where("created_at < ?", 1.week.ago).where(state: 'active')

# After
User.where("created_at < ?", 1.week.ago).and(state: 'active')
```
Improve and cleanup a bit partial renderer

Some refactoring for collection rendering:

* Remove post template assignment: there is no need for this assignment, given we are rendering a collection with different templates.
* Remove segments array with `<<` in favor of `Array#map`
* Use local vars whenever possible, including a local var for indexing
* Cache local template keys, remove defaults from find_template

This is somewhat related to the discussion in #6006. [Here are some quick benchmarks](https://gist.github.com/2553080). If it's necessary I can try to prepare another.

@josevalim could you take a look please?

Any feedback is welcome. Thanks!
Fix method redefined warnings.

I saw the following warnings when executing rake test in activemodel.

```
...
warning: method redefined; discarding old reserved_karmas
...
```
Backport #6995 to 3-2 stable

Update `test_help` to config properly turn natural language option.
Last versions of Turn don't monkey patch MiniTest to setup
the natural language option. Here is an [example](https://github.com/TwP/turn/blob/master/try/test_autorun_minitest.rb#L3).

This patches the following behaviour:

    $ rake test:units
    `<top (required)>': undefined method `use_natural_language_case_names='
    for MiniTest::Unit:Class (NoMethodError)
ignore .swp; link 'pr'; don't tag #123

A bunch of us put "pr NNN" instead of "pull NNN"

Also, if we do #NNN it shouldn't create a tag for NNN should it? The link is the obvious and better markup.
clase_ventas
Added Touch support, closed #15
fix for SI-4935

 review by @VladUreche
SI-6555 Better parameter name retention

We were losing track of parameter names in two places:

  1. Uncurry was using fresh names for the apply method
     parameters during Function expansion. (The parameter names
     in the tree were actually correct, they just had synthetic
     symbols with "x$1" etc.)
  2. When adding specialized overrides, the parameter names
     of the overriden method were used, rather than the parameter
     names from the overriding method in the class to which we are
     adding methods.

The upshot of this is that when you're stopped in the debugger in
the body of, say, `(i: Int) => i * i`, you see `v1` rather than `i`.

This commit changes Uncurry and SpecializeTypes to remedy this.

Review by @dragos
Add convenience attribute operator to NodeSeq

Compared to the current method of reading the string text of an attribute:

```
(x \ "@bar").text
```

...the new operator removes the need for a pair of parenthesis and shortens the overall expression by 7 chars :

```
x \@ "bar"
```



Discussion on scala-internals:

https://groups.google.com/d/topic/scala-internals/BZ-tfbebDqE/discussion
Fixed positions in de-aliased special symbols..

..and for automatically adde.d `apply` methods.

Fixed #5064, thanks to @paulp who showed the right direction (and how to test it).

review by @paulp.
Removed restriction on final vars, SI-2418.

The original fix for SI-2418 excluded final vars entirely, but
the problem was not final vars per se, but the emission of ACC_FINAL
in combination with ACC_VOLATILE.  Since vars never get ACC_FINAL
now, this is no longer an issue.

Review by @dragos.
SI-6276 Warn on def or val that trivially loops infinitely

Review by Mr Lint, aka @paulp.
[subdue] test subdue at handler
Changing Admin AJAX urls in the _head partial to use relative paths

Fixes #1508
Fix issue #1521 with api key not showing in user edit view after generation.

Updated @user.authentication_token.present? check, and print out to use @user.api_key instead in the api_fields partial.

Not sure why @user_authentication_token was being used instead.

My first spree commit!

[Fixes #1521]
Added fix for #1256 

Is not a elegant solution but it works well
Improvements to LASCO support; detection of byte-scaled images

Support for LASCO ctypes and default cmap selection; detection of byte-scaled data for deciding default normalization (scaling) behavior.
changed tart.dom.createElement's return type
Placeholder for text area

Added the posibility to define a placeholder value that will be set initially and whenever the text area loses focus while being empty
fixed appending put data to request in remote data

Similar to post, data can now be appended to the request with the put method.
Add Support for Ruby

I have added preliminary support for `ruby`. I have also updated `knitr-lang.Rmd` and `knitr-lang.md`. I tested it with simple `ruby` code and it works. Let me know what you think.
Removed extra tabs in COciCommandBuilder::applyLimit().

I'm working on Oracle unit tests. These tabs a bit annoying when asserting SQL containing them. I'm sure they're definitely shouldn't be there.
Fix issue #162, eventhandlers attached twice

when enabling a behavior after attach, eventhandlers got attached twice.
issue #162
Permalinks better behavior: Ticket #309
Implements admin tool
Compatibility with OSx

The few changes needed to get it working. Tested on Windows 7 too with no problems.

p.s I'll push a commit to remove the iostream header.
Package files (.pc and -config.cmake) consistent with DUNE

An exhaustive list of header directories and libraries needed to link an application to the library should be provided, instead of just the project's own library. This avoids having the client programs figure out the entire dependency chain for themselves.

Rename the config-mode CMake file to have a project-name with a dash, which is consistent with the naming convention used in DUNE. Note that this will require a change in client programs that uses this file, although it seems little likely that there is any, given that it wasn't really usable before.
Deprecate 'kotti.includes' in favour of 'pyramid.includes'
Ajout sfPot Paris décembre
Clientes

se puso la lista de los clientes
Cleanup and organization of code

Did bunch of things:
- Fix whitespaces and tabs
- Added some documentation
- Cleaned up usage files, to test Neon from browser and node console
- Added version
- Added changelog
- Applied Siedrix' change that fixes issue #4
return immediately after feeling claustrophobic

The way isFree is used it has the same effect as a return. But instead of immediately returning, it finishes the for loops and goes through an if to the end of after_place_node. Nothing happens after it is set except for spinning some wheels. Using a return is slightly more efficient and does the same thing, not place the board.
change glob in compile to prevent building twice

Noticed that Frank was building everything twice, tracked it down to the file matching in compile.

Symlinks still work as far as I can tell (don't use them in any projects so I just made a quick test case), and the Mailchimp site still builds fine.
added test with bigint[]

https://github.com/bmizerany/pq/issues/6
There is not an error if you select it without the sequence
DS improvements

This fixes up Service-Component header processing to support the DS 1.2 additions, rewrites it to use the ComponentDef/ReferenceDef classes from the DS spec annotation processing, and adds a lot of new method checking and several new tests.

There are several bug fixes in the DS annotation processing and it's changed to generate a DS 1.0 xml file when appropriate as well as DS 1.1 and 1.2.

The Service-Component header processing also now allows explicitly specifying an entire namespace, needed for example for the felix DS preview of potential DS 1.3 features.
Removed a dependency on clojure-contrib

clojure.contrib.string migrated to clojure.string.
Better invalidation support + bug fix
// in app/Layout/default.ctp <-- should be plural:

// in app/Layouts/default.ctp
Add reading of gists.

Allows for reading of gists in the format
```
gist -r GIST_ID
```

This resolves [issue 21](defunkt/gist#21)

Credit to @nobbs, this feature is based of [his old fork](https://github.com/defunkt/gist/issues/21#issuecomment-2347150).
Docs

- Add API methods descriptions as they was defined in docbook with one exception: they are represented as lists, not tables. Tables are hard to maintain, while lists are also easy read and easy to edit;
- Add missed tables. Some tables as lists to improve readability;
- Fix notes and their indention;
- Fix typos in API docs;
- Add todo extension and setup actuals todos there TBC was defined. `todolist` directive could autogenerate this list if needed;
- Add explicit code-blocks language name to help editors to highlight them.
reintroduce ACL check in service base class; remove ACL wrapper

Beim implementieren vom ACL gemerkt, dass der automatische ACL-check via magic functions nicht funktionieren wird. Denn nur die Service-Methode kennt den genauen Kontext und kann von sich aus die richtigen Überprüfungen starten.

Schau dir mal den Draft an mit assertAccess, implementiert für UserService->CreateCamp und CampService->Delete.
Change to 'proto' to use ember master

On ember master ( from commit https://github.com/emberjs/ember.js/commit/1520369d998c4cdeea95e2fe74b92fd6bc9c41c9 ), proto is no longer a computed property.

Ember data uses proto to get the primary key and naming convention. Change the code to call proto() as a normal function.

All tests are passing.
Internet connection asking to Network Manager through DBUS
Review: Ubuntu and noDelay() fixes

- added missing sc_require() statements
- only set this.sublayers in init if it is null
- be sure to set the initial value when proxying properties with noDelay()
- wait to sync noDelay bindings until after the object is fully init'd
Ignore unknownFields

The documents were saving JSON properties named unknownFields because of the public method in the ReplicatorDocument class. Fixed by ignoring this field during JSON parsing.
Fixes invalid JSON request body

I am using Kensa with Node.js and Express. With the latest Express/Connect, I am unable to add a global bodyParser, e.g.

```
app.configure(function() {
  app.use(express.bodyParser());
})
```

This is because the test suite's `DELETE` requests use a `Content-Type: application/json` header and no body. Express (and ultimate Connect) sees this `Content-Type` request header and attempts to parse with `JSON.parse` which fails with an empty string.

The current [kensa-create-node](https://github.com/heroku/kensa-create-node) bypasses this issue by adding the `express.bodyParser()` middleware to just `POST` and `PUT` routes. Not an ideal solution for a large project with a few pieces of middleware per route.

This pull request should resolve the issue, though I am unsure of how the `DELETE` request is implemented in Heroku's addon provisioning itself.
TAJO-695: Add Limit Clause to TQL Parse
Order Products

Die Produkte im Warenkorb sollten sortiert sein und nicht zufällig angeordnet werden. Da es teilweise Produkte gibt die aufeinander aufbauen.
Fix uv_dlopen to handle valid opens

This fixes issue #462
Fix #382

This should fix #382
removed pet attack macro

fixed syntax
validTest() documentation

No logic changes, just making it easier to understand.
use compile_inline method for a caption

以下をlatexbuilderで変換してlatexでコンパイルするとエラーになるようです。

    = test
    == foo_bar
    @<hd>{foo_bar}

アンダーバーがそのまま出てしまうのがまずいようです。

インラインの@<hd>{xxx}で出力されるcaptionに対してもcompile_inlineを使うように修正してみました。
Minimal fix to setup.py

Fix for missing "import os" and new filename to README.
Fixed tests.

Checked on Windows and on Mac (similar to Linux).
Fist commit pull request

test what happens after pull
Some modifications on how to register things in Druid

I think eventually Registererers will become the endpoint for plugins in Druid. Ideally I hope to be able to register an object like a complex metric or a query type and also register some information about how to serde the object. 

I deprecated BaseNode and renamed it to QueryableNode because I found it a bit confusing that many new nodes I was creating could not extend BaseNode (the name implies something a bit more extendable). QueryableNode implements RegisteringNode because I was thinking that we can create new Node interfaces and new concrete Node classes can extend those interfaces. This way common operations can be written that apply to all Nodes of a certain type.
Kompletna lokalizacia stvorcekov
DOCS-524 explain paddingFactor equation
fix shell example for unique key enforcement

The shell example uses invalid syntax to insert a document into the `proxy` collection.
Putting getVerifiedEmail method back for login

Preventing issue.
Bug 634263 updates to installation docs

This is a follow-up to https://github.com/mozilla/kuma/pull/207 to update the docs on setting up vagrant and split the common set up tasks into a separate document (development.rst)
fix bug 763616 - Adding article searching and removing redirects

FYI -- I tried using "\d" instead of "[0-9]" but, for some reason, it wasn't properly matching.
[bug 761546] Remove entry from report on event delete.
fleshing out time.rs

Good morning all,

I finally got my time code to a point where it works on all the platforms. This patch series does a couple things. First, it converts get_time to return {sec: i64, nsec: i32}. I made this change because many systems return negative values for times before 1/1/1970, 64 bit machines can return 64 bit second times, and linux can return subtimes with nanosecond resolution.

Second, I added pure-rust versions of strftime and strptime. The functionality is not complete to the c standard, but it's pretty thorough. I also added some helper functions that generate time strings for generating ctime, rfc822, and rfc 3339 formatted strings.

Please let me know if you have comments or want changes. I'm not completely sold on using strftime formats. It's standard, but you need to look at documentation to decipher what's going on. Perhaps instead we should copy how [icu](http://userguide.icu-project.org/formatparse/datetime), [C#](http://msdn.microsoft.com/en-us/library/8kb3ddd4.aspx), [java](http://docs.oracle.com/javase/1.4.2/docs/api/java/text/SimpleDateFormat.html) or [go](http://golang.org/pkg/time/#constants) does time string formatting.
Fixed the position of error markers involving multibyte-characters

By this, non-european users like me will also enjoy OcaIDE!
entityhub CRUD methods {create,update,delete}Entity()
New Channel Logo 'Souvenirs from earth TV'
Update the grid when a record is changed

This commit allows to update the grid's rows as soon as the corresponding models have been changed.
Signon

Signon and user registration mostly complete.
Ohai 348

This fixes :platform to be "suse" on SUSE.
Fix options link broken by 486ba68a42e2ba7b96a7a14b0ae34aca7ac7e780

We needed to update the popup link to the options page after refactoring its location.
package: create deb target for packaging
Data validation

Here it is :-)
リンクがぁーーー

リンクが切れていました
Spell evade
Support for UK endpoint; also getting ETag, timestamp, content-type via getMetaFull()

There's a clear difference between the user-supplied "Metadata" (as described by Rackspace) and the implicit metadata in the response headers that's discarded by getMeta().

I don't think my getMetaFull() is a good solution, but I didn't want to alter getMeta().  Otherwise, if the output from the modified getMeta() was passed to setMeta(), I'm guessing it'd create some misleading "Metadata" which may not then match future calls to getMeta(). Thoughts?
Do not require specific nunit version.

NUnit version is 2.6 and not 2.5 and NUnit will be updated in the future.
add gem: pry, pry-nav

用pry进行断点调试！
Add Django admin setup.

With this merged, after you syncdb, fire up runserver and navigate to `localhost:8000/admin` and you'll see the admin UI.
Tidy up

Everything uses .format() for consitstency.
x and x or y expressions moved to simple x or y statements.
fix bug in findWhere; bson exports

1) fixed bug in findWhere where privs were not used when doing labelel
comparison with clearance

2) reexporting bson, as trustworthy interface
[default-settings] setting defaults, no backtrace w/ invalid config

- rabbitmq & redis settings default to empty hashes
- separate file for sensu version
add experimental literate tests

A while ago we thought about restructuring the test suite. I experimented a bit with literate tests generated from a markdown file. It is not finished, just an idea.

@stonean: What do you think?
Fixes issue #353

Changes core.StyleSheetList to function, hen a stylesheet is added, it adds it to the list, and getComputedStyle() now iterates through the list and applies styles if the node matches the selector text.
Fix directory casing to make form loading work again on Linux
Pretty fn names
gtk3 compability

This fixes all gtk 3.4 compilation errors and most of the deprecation
warnings.  There are still deprecation warnings about ```gtk_vbox```.  Those
are best remedied by using GtkGrid.

Note: I couldn't test the "move window to mousepointer screen"-feature as I
don't have a second monitor at the moment.
fix to work with IE 9
changed the action of the tunnel to be the mojito default
fix `mojito compile` fatal error

minimal fix for getting a mu or hb view renderer.

- removed store.preload() calls that were made
  redundant by store.js:createStore()
- add return callback to exit on error.
- copy utils func from develop

I'm not sure that custom view renderers were loaded successfully before, but they aren't now (issue #779)
Symlink mojito when installing from GitHub

Rather than install the full mojito package globally, just symlink the
cloned copy into the global npm path using `npm ln`.
Adding deep copy support for better template overrides

Switching the $.extend method to a deep copy allows users to override specific templates individually rather than the entire template object.

For example, without a deep copy (as the plugin currently is) if a user initializes orbit with:

$.orbit({
    template: {
        link: '<a>Something</a>'
    }
});

...the result will be the template object, in its entirety, will be completely overwritten. The templates for timer, tip, wrapper and button will no longer exist.

By toggling deep copy support on our extend function, the override works as expected (in this example, link will be overwritten, but the other templates will still exist).
[change]调整目录结构

﻿[change]调整目录结构
Add dumper in order to generate feature files

I think it would be useful to write a feature from an object. It is the role of this Dumper
Teleportation problem

Forgotten to stop the command executing if there's no target to teleport to.
Added PotionIngestEvent - Adresses BUKKIT-1778

This event is triggered whenever a player drinks a potion.

CraftBukkit part:
LESS

Switched to compiling bootstrap from the LESS files rather than pre-compiled files.

Much easier if we want to tweak the styles at all. Also puts in place the architecture to allow us to use LESS for our own CSS if desired.

(Git fail, based this from my jshint branch, so includes those changes in this PR also)
Added diagonstic and fixed (minor) locking bug in time_map
Add Dave's actual information

It is me, myself and Eye.
Export types

I want types.  I want types now!
fix a compile error in case of building without highgui

Compiler swears on imwrite in objdetect.
Use a fileset in case the ProgrammingGuide has not been generated
[MOSYNC-2200] Added Maalert to the doxyGen fron Cover.
Commented out IRouteCache routeCache; only warning in whole solution

Hopefully I did the rebase thing right this time.
YondaimeUzumaki

completo
tradotto tutto tranne una

lovey-dovey k significa xxxxxxxxxxxxxxxxxxD
Python rsvg pull request (was #115)

Add python-rsvg and key-mon, which uses python-rsvg.

See the discussion "Python bindings to librsvg or gnome-desktop" on the mailing list and #115 for further details.

This only adds functionality so it shouldn't break anything, it will however cause a lot of rebuilding and I haven't tested that everything will be rebuilt successfully.
Do not call save on the model when only a few attributes are being changed.

Hello,

In our user model we have a couple of serialized attributes and Rails apparently always saves serialized attributes when calling save because it cannot keep track of whether they are dirty or not (I think). This meant that in many requests that used Sorcery, we end up doing a rather big update to a database. Also, we have some after filters that were unexpectedly run due to Sorcery calling save on the model.

We noticed this didn't always happen because some modules of Sorcery use update_single_attribute. We wrote a similar but more generic update_many_attributes and made sure it is used instead of save everywhere where it makes sense (it doesn't when changing the password or creating a new user).

We did this change on top of the last stable version (v0.7.12).

We ran all the tests before and after this commit and we got the same amount of failures (everything passed but three oauth related tests). We also made sure we ran all the touched lines by manual testing from our application that is using Sorcery, except the mongo implementation of update_many_attributes, that is untested.

We did this change pair-programming, @dmagliola and I.

This pull request supersedes #279.
activate the indentation of the field ".opam/build"

activate the indentation of the field ".opam/depends" also ?
typeo fix

was not invoking method.
Resolve the long long int printf error on other systems other than Mac
bunch of works during of may 2012

Offliner
changed history; history of person's actions
some improvements
Fix a typo and some English quirks

BTW, http://galleria.io/docs/getting_started/beginners_guide/ needs to be updated - it still mentions setting dimensions to 500x500.
add How to handle redis build error to readme

Before finding suitable solution to solve redis build error.

I think it is a good way that giving some information, how to handle these build error
FIXED: Added a newline.
Gameserv fantasy commands being run in channels with gameserv off
Chapter22 translate done

希望能检查一下。。。我觉得不是太过关。
经验还不够，希望提点建议。
dd

test2
Fix poor promiser form for commands promise

Spaces in commands type promisers cause warnings about binary not
existing. Any spaces in the promiser should be in the args attribute.
Closes Redmine 1277
cf-execd reload fix for schedule attribute

This fixes a bug where previously, if a schedule was defined in
executor control and later removed, cf-execd did not revert to the
default schedule but instead kept using the old defined schedule.
Fixed #19243 -- Edit GeoDjango Tutorial for consistency and style.

Rewrote parts of GeoDjango tutorial.
[py3] Updated install docs to reflect Py 3 status.
Issue 1468 oracle typing issues
Normalise concept

I think we should store the normalising parameters in the network?

Try using:

void print_data(ENCOG_DATA *data){
	
	REAL *input,*ideal;
	unsigned long i;
	INT j;

	for(i=0; i<data->recordCount; i++)
	{
		printf("\nRecord %d",i);
		input = EncogDataGetInput(data,i);
		ideal = EncogDataGetIdeal(data,i);

		printf("\nInput: ");
		for(j=0; j<data->inputCount; j++){
			printf("%0.3f ",input[j]);
		}

		printf("\nIdeal: ");
		for(j=0; j<data->idealCount; j++){
			printf("%0.3f ",ideal[j]);
		}
	}
}

int main()
{
    ENCOG_DATA *data;
	ENCOG_DATA_NORM *norm;

    data = EncogDataGenerateRandom(5,2,10,0,10);

	printf("\n--------------------------\n");
	print_data(data);
	printf("\n--------------------------\n");

	norm=EncogDataNormalise(data);

	printf("\n------------NORMAL--------------\n");
	print_data(data);
	printf("\n--------------------------\n");

	EncogDataDenormalise(data,norm);

	printf("\n------------DE-NORMAL--------------\n");
	print_data(data);
	printf("\n--------------------------\n");

	return 0;
}


Signed-off-by: Stephen Cox <stephencoxmail@gmail.com>
B-02898 Data Designer App - Form Step 1

Add the following fields in step 1:

* Name (required)
* Module (string - required)
B-02843 Accounts 2.0 App - User Detail View - Memberships graph and spec...

...ial users

Make sure to use the special icons for "Anonymous" and "Super user" in the memberships graph as well (currently the user without icon is displayed)
Next

big decrease in startup time. vcs support in app file
Next

Major changes. mainly support for vcs based vsn and a speedup in sinan startup time.
call super instead of read_attribute
Improve S3 directory mirroring in barkeep

Changes to facilitate directory mirroring, also added an example Jakefile.
Bounds fix

This changes `UPPER-BOUND` and `LOWER-BOUND` to match the documented behavior (`PRED`-or-equal), by combining `TEST` and `PRED` to include or exclude branches appropriately.

Additionally, it fixes an edge case where the root node was not being considered as a potential match.

Included is a test that creates a tree of even numbers, and performs both `BOUND` functions on a random number `X` within range.  For an even `X`, both functions should return `X`.  For an odd `X`, the functions should return the appropriate next value.

The tests run for predicates `<`, `<=`, `>`, and `>=`, for all tree types.  Running the tests on master without the changes will produce errors.
Fix an intermittent test failure

This error:
<pre>
test_import_job_profile (tests.engine_unittest.EngineAPITestCase) ... FAIL

======================================================================
FAIL: test_import_job_profile (tests.engine_unittest.EngineAPITestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/larsbutler/proj/oq-engine/tests/engine_unittest.py", line 222, in test_import_job_profile
    "model", "_owner_cache")))
AssertionError: False is not True
</pre>

This error only appears if you run the QA test suite and then the unit test suite. If you rebuild the database in between, the error does not occur.
Completed realization bug

I noticed that after a calculation completed, the `completed_sources` counter didn't ever get incremented to the total (it stayed at 16).

Pull request # 818 should land first.
Configurable Redis DB number

KVS db is now configurable.

This was introduced to help separate KVS DB usage in the CI (so CI jobs don't flush or otherwise tamper with another's KVS).
what should be in package __init__ files
Adding Modular Extensions

Adding the Modular Extensions libraries and also modifying the routing.

It's done in the "cart" controller using the _remap method.
default filename for log when invoked as sensd
Fixed ellipse ROI bug reported by Christian Dietz

Hi guys, this is a bug fix to the ellipse ROI requested by Christian Dietz. I'm hoping he can review, then you can pull.

Thx, Lee
Jappix Mini License

dual-license mini.js under AGPL/MPLv2
compiler: silence a valgrind 'invalid read' warning
Fix for nthValue() in lib-clay/values/values.clay

Fixed the bug nthValue() not returning lvalue when needed, by adding a couple of missing 'forward's.
set dispatch incorrectly added to python 3 section

On python 3 the hashing module was throwing an error due to the face the dispatch variable was only instantiated on version < 3

Moved set dispatch into existing section for non python 3 code
Fix bug 12531, attribute selectors can now contain html

html creation should be done using jQuery.parseHTML, but it can still be done with jQuery(htmlString) when htmlString begins with a "<"

http://bugs.jquery.com/ticket/12531
Fix jQuery #12671: quasi-array duplicate removal in oldIE

Sizes - compared to jQuery master @ [60f546acb1c7136092b4fd01cccff052e468cc72](https://github.com/jquery/jquery/commit/60f546acb1c7136092b4fd01cccff052e468cc72)
```
    265219       (+91)  dist/jquery.js                                         
     93468       (+35)  dist/jquery.min.js                                     
     33471        (+8)  dist/jquery.min.js.gz
```
update readme

fix bug :B60-1234
touch issue

enable double click zoom for ipad
Release 0.0.4

synchronize both
schoolboy error fix (put gamespot stuff back in)
New rotation methods for Vector3 and Camera

Added Vector3.rotate (to rotate by given angle around given axis) and Camera.rotateAround (to rotate around given axis attached to given point, useful if one wants to rotate a camera while still looking at the same point).
Add GetRawInputData support

Could you look over this and advise on how to add in the struct RAWINPUT. The syscall GetRawInputData fills in an LPVOID array with RAWINPUT structs, but the RAWINPUT struct uses C unions. How should support for these unions be done?
Exception Handling and minor changes

1. Removed reference to skydrive (absolute paths are a no go)
2. Exception handling to prevent app throwing an error when 64 bit app
is attempted to be launched from 32 bit launchy (will require a 64 bit
version to be separately compiled for x64 OS)
3.  Double clicking tray icon no longer calls the showlist() function.
(run menu used more frequently than adding/editing entries/directories -
more convenient)
4. Set platform target to x86 for now.
Fixes for batched updates and composite PKs

Hi Max,

Here are a couple of fixes for batched updates and composite PKs.  21e8bc0d is a pretty trivial fix.   With 2ce2a40d, we need JDBC params for the PK.  The way I did this is not exactly pretty so please let me know if there is a better way of doing this.  

(either way, I'll mash the two commits together and commit as one to master once you're happy with the changes...)

Pete
underscore.js package updated to v1.4.1  

From http://underscorejs.org/#changelog

#### 1.4.1 — Oct. 1, 2012 — Diff
* Fixed a 1.4.0 regression in the lastIndexOf function.

#### 1.4.0 — Sept. 27, 2012 — Diff
* Added a pairs function, for turning a JavaScript object into [key, value] pairs ... as well as an object function, for converting an array of [key, value] pairs into an object.
* Added a countBy function, for counting the number of objects in a list that match a certain criteria.
* Added an invert function, for performing a simple inversion of the keys and values in an object.
* Added a where function, for easy cases of filtering a list for objects with specific values.
* Added an omit function, for filtering an object to remove certain keys.
* Added a random function, to return a random number in a given range.
_.debounce'd functions now return their last updated value, just like _.throttle'd functions do.
* The sortBy function now runs a stable sort algorithm.
* Added the optional fromIndex option to indexOf and lastIndexOf.
"Sparse" arrays are no longer supported in Underscore iteration functions. Use a for instead (or better yet, an object).
* The min and max functions may now be called on very large arrays.
* Interpolation in templates now represents null and undefined as the empty string.
* Underscore iteration functions no longer accept null values as a no-op argument. You'll get an early error instead.
* A number of edge-cases fixes and tweaks, which you can spot in the diff. Depending on how you're using Underscore, 1.4.0 may be more backwards-incompatible than usual — please test when you upgrade.
SERVER-6736 Changed size calculation to represent MBs as 1024*1024

SERVER-6736, a quick change to make size calculations use 1024 instead of 1000
SERVER-6708 sh._adminCommand is silent and sh helpers return result obj
Added fix for F# project template

Added fix for F# project template item not being copied to the output folder.  
Added assembly info for F# template.
Develop3d - Touch orientation fix and unlock crash fix

Just submitting a couple of fixes I found recently. See commit messages.
Non-4x4 matrices now set correctly as shader constants

3x4, 4x3 and 3x3 matrices are not set correctly in EffectParameter.
The number of vectors used by an EffectParameter is now used to advance the offset.
Matrix transpose is now done in the assignment of the unrolled loop.
Two tests that lambdas short-circuit the section rendering rules

Here are a couple tests that lambdas "special case" the rendering rules spelled out in the part governing sections.  The Python implementation missed at least one of these test cases even though it passed all other tests involving lambdas or the single dot.
addition of simpledb formula

This is a formula for the installation of a third party perl script for accessing Amazon Web Services Simple DB
Updating DGtal project homepage URL

Minor edit to set the brand new homepage URL.
Updated formula: libvirt

Updated for new upstream libvirt 0.10.0 release.
Mercurial 2.4.1

http://mercurial.selenic.com/wiki/WhatsNew#Mercurial_2.4.1_.282012-12-03.29
New formula: t

T is a command-line power tool for Twitter.
scrotwm 0.9.34

- Upgrade to 0.9.34
- Add a required dep on x11. It's an X window manager.
- Works well with superenv
Upgrade the_silver_searcher to 0.5
Pathfinder formula

Pathfinder is a purely relational XQuery Processor
and relational optimizer (http://db.inf.uni-tuebingen.de/research/pathfinder/).
This formula enables people to get a smooth installation experience rather than
building the whole package by themselves :)
Updates gradle to 1.0-rc-2

There's a new version of gradle out. I've updated the formula appropriately, and tested that it works.
Fix error on new redis installation

New redis installations will not have a redis.conf and so the 2.4 to 2.6 upgrade check should not occur. Doing this check causes the installation to fail abruptly.
Updates sphinx version
Libdogleg

Now cleaned up the commit history (had to recreate my clone :( )
Fixing the_silver_searcher install failure.

This formula assumes that the aclocal include directory is /usr/local/share/aclocal; this is not true if you have installed homebrew into a different location (as I have done).

Using HOMEBREW_PREFIX instead of assuming /usr/local is the correct fix.
New formula: bats

bats is a testing framework for shell scripts : https://github.com/sstephenson/bats
Adds formula for minidjvu

minidjvu is a program which converts monochrome images in PBM, BMP, or TIFF format to DJVU format. What differentiates this from the djvulibre tools is that minidjvu can create shared dictionaries over multiple pages, which greatly decreases the size of multi-page djvu files.
Updated threading building blocks to 4.0u4
Add pypy 2.0-beta1 for devel and update distribute to 0.6.30
refs #269 - Fixing unsupported spaces in path and argument splitting

Went ahead and created the corresponding fixes to support paths with spaces and prevent arguments with values (e.g. --param=value) from being split (e..g --param value).
ENH: subjects_dir parameter

In addition to using the SUBJECTS_DIR environment variable, allow the subjects directory to be set using a parameter. This is useful allows e.g. opening several Brain figures with different values for subjects_dir. 

This feature is also used in the new SourceEstimate plot functionality of mne-python. See mne-tools/mne-python#303.
Translation system reorg

Here are my commits to reorganize the translation system
Bug 821107 - Allow an unrecognizable SSH key to be uploaded

Users adding a key can specify --confirm to override validation on the client.  The server may still reject the key and the user will get a warning.
Stage us2600 followup

These didn't make the cut last night.
UI changes and modernizr.js for the contacts app.

Modernizr.js and Placeholder Polyfills library included for the old browser support.
The input elements now float correctly.
Bug http://bugs.owncloud.org/thebuggenie/files/show/73 solved.