labofsahil/github-event-dataset-2012 huggingface dataset:
Fix two instances of memcpy with overlapping source and destination.

Found using valgrind -- but looks like Nathaniel Smith already worked that one out by intuition:

http://mail.scipy.org/pipermail/numpy-discussion/2012-June/063010.html

There are a few more memcpy calls in that file, but I think they're innocent until proven guilty.
#3517 / Fix Referer plugin to correct calculating of visitors uniqueness

Patch to fix a ticket 3517
Factor out cluster functionality into cluster2

Factor out cluster function into [cluster2](https://github.com/ql-io/cluster2). This change also moves ECV checks to cluster2.
Changed window.Internal.create to window.Internal.__init__

No other class is instantiated by a classmethod like Internal was.
Remove old sqlite adapter

SQLite adapter is NOT compatible with SQLite 3. Why Rails should continue support this antiques? I don't know. I think that only mad can say 'Lets work with rails3 (4?) but with SQLite < 3.

I suggest to stop drag this heritage and continue support only sqlite3.

cc @fxn @tenderlove
Assert template layout improve

There are fixes for 2 defects:

`assert_template :layout => 'some'` worked wrong if we rendered any partial

`assert_template :layout => nil` did nothing

And in the last commit I suggest to make `assert_template :layout => 'something'` a little bit better. Now we can set `layout :admin` in controller, but can't check `assert_template :layout => :admin` or  `assert_template :layout => 'admin'`. I think we should.
ActiveSupport: Added `each_with_hash` to Enumerable

This is in response to the discussion at https://bugs.ruby-lang.org/issues/7241

I think an `each_with_hash` method would be a very useful addition. It would provide a nice shortcut for the very common `each_with_object({})`, but here's the most extreme example of how I would write less code using this method:

```ruby
# each_with_object:

[1,2,3,2].each_with_object(Hash.new(&-> hash, key { hash[key] = [] })) {|el, hash| hash[el] << el ** 2 }
#=> {1=>[1], 2=>[4, 4], 3=>[9]}

# each_with_hash:

[1,2,3,2].each_with_hash([], true) {|hash, el| hash[el] << el ** 2}
#=> {1=>[1], 2=>[4, 4], 3=>[9]}
```

I would love to be able to easily use `<<` with arrays, instead of having to write `hash[el] += [el ** 2]`.


If this gets merged, it would be awesome if it could also be included in `3-2-stable`.


Thanks!
Add new inflection for singular (SS)

I got a bug when trying to call a simple "business".classify. 
Because inflections configuration, it returns "Busines". 

This PR adds a new entry for singular inflections and asserts with a unit test.
Updated description of #retrieve_collector_from_mimes

The previous method description was obsolete due to recent code refactoring.
Bad Regexp exploits "fix" backport into 3-2-stable

See https://github.com/rails/rails/pull/6569
This is a backport for 3-2-stable branch with exception changed to a deprecation warning.
Call undefine_attribute_methods only when defining new attributes

Every time we call `attribute_method_prefix` and related methods, we also call `undefine_attribute_methods` behind the scenes. I think it'd be more clear and possibly more efficient to just do it before we define new attributes.
Adding ability to specify association class as :class vs. :class_name

To avoid having to type out class_name and a few quote characters for every non-standard class association, with these proposed changes can specify association with :class, e.g.:

    belongs_to :employee, class: User

in addition to the old way:

    belongs_to :employee, class_name: User
use VariaModel in JSON Config
Layout the sidebar buttons side by side

![new location](https://s3.amazonaws.com/99designs-richo-screenshots/sO0yW.png)

Added an extra button to show how it'd look.

Pretty sure the css is awful though @alecsloman ?
Fix of SI-5939

Empty packages can now be cleanly invalidated. I think this needs to go into 2.10 because it is critical to enable resident compilation in SBT 13. Review by @moors, @pvlugter, @harrah
SI-4478 Replaces wrt with (hopefully) slightly improved wording.
Fixed json_data of products in admin

Fixed `Spree::Product#variant_images` to return array instead of `ActiveRecord::Relation`
process sets in sorted order

Fixes the problems between pypy and sets and the order in which terms are processed. (See #1555)
TEIID-2291: avoiding the NPE
ClassAnalyzerRunner Refactored

- Binding of SUT method via annotation and static method.
- Examples see the ProperlyConstructedAcceptanceTest class.
Fix a problem with invoke()

I had a problem where invoke() was broken, so I remmaped it to invoke_all.
add base64.R

I rename the function names to let the naming style consist your naming style.

Therefore, the usage becomes

``` r
opts_knit$set(upload.fun = knitr:::base64_encode )
knit("test.Rmd","test.md")
```
added ja translations of blog tutorial

docs/blog/ja/final.deployment.txt,
docs/blog/ja/final.future.txt,
docs/blog/ja/final.logging.txt,
docs/blog/ja/final.url.txt
issues installing manually from master, fixes #428

please see bug #428 for details
Update features-json/use-strict.json

Changed URL to HTML version of ECMAScript
Adding <a download> data
Fixed include unistd.h for MSVC

- MSVC does not have <unistd.h> header
   Reference: http://lists.gnu.org/archive/html/bug-gnulib/2011-09/msg00145.html
Added get_master_ip and get_master_id methods.
issue 252.  Fix a lot of problems determining the ds namespace

Compared to ds-9 this fixes determination of namespace from bind method signatures and makes the logic more straightforward for the signature to namespace determination.  Also there are more tests.
Add grunt.log.warn (yellow)
task_init.md: fix example repo urls
Error exception text notes

Error exception for reading and writing text notes.
- Reading : Error messages on screen and in nvpy.log
- Writing : Error messages in nvpy.log
Add support for custom findRecord functions to be passed to DS.hasMany

...allows for things like extracting id's from ref urls.

This isn't quite complete yet, I want to ensure that we have the same support for belongsTo as well.

There are related or potentially conflicting things in other issues, so I'm opening the discussion to see if the approach is agreeable.
Modified approach for time init additions

Good idea to allow for initializing the Time object with an existing Time object.  

There is an existing method `Time.replicate(self, format, copy)` that makes a reference copy or deep copy (copy=True) of a Time object.  I used this method within a new `Time.__new__` method to take care of the copying bit when `val` is a `Time` object.  The main benefit of this approach is that all the other `Time` initialization keywords will now function as expected, i.e. `format`, `scale`, `precision`, and so on.  

Also added code to do the same in `TimeDelta`.
1199 simplified inventory

Here's a first stab at the simplified needs widget, minus any tweet functionality (much of which is here, but commented out). Looking forward to your feedback!
Fix "Closure and counters in loops" example
Use push retrieve to create records and don't re-register a child to a p...

...arent if it's already been done. These are more efforts to reduce notification noise and unorthodox behaviors.
vi mode cleanup + performance change

These are some relatively minor changes
- Bug fix to vi search mode
- Additions to CHANGELOG
- Minor code cleanup (as suggested by jdillon)
- Small performance improvement
Support Direct variable evaluation support in rsp

In a response _r file vaidating presence of a data element against a
variable was not working.
removed LineInput#ungets

現在peekでungetsで@bufに記録しています。getsも@bufがあるために、@bufが空かどうか調べてから@input.getsしているようです。@bufの代わりに@lineを導入した方がpeekもgetsも効率的かと思い書きました。
Fix typo

You mean lisP, right?
FIX No more job shown after an update remaining
fixes errors in global term change (sharded clusters)
DOCS-617 edits to CR of CRUD
Fix bug 797779: Allow 'dir' attribute in bleach.

Since it's a global attribute in HTML, for simplicity's sake this
simply allows it on anything. If there are elements it shouldn't be
allowed on, we can always pare that down.
Vagrantfile and removing a few presentational spans

This was meant to be a pull request for Vagrantfile only. In the future, I'll use feature branches and push those.

Sorry also about the revert, and the revert to the revert. Turns out "git revert" does something very different than "hg revert".
733366 modelform usage
MindTouch-to-kuma file migration script.

Not ready to merge right away, due to discussion about the three file revisions it doesn't find, but throwing it up here for people to look at and try out as needed.
librustc: Allow moves out of `self`

r? @nikomatsakis
Added psd of the design to the img folder for testing

Added psd of the design to the img folder for testing
Added some new elements to make creating a form styled using Twitter Boo...

...tstrap styles easier
avoid big string concatenation

So if a stream fragment is too big, it to small string concatenation instead of the big string concatenation.
[ticket/10937] Comment removal functions: Restore backward compatibility

PHPBB3-10937

http://tracker.phpbb.com/browse/PHPBB3-10937
R4R: Fixes for Upgrades + Unit Test

* Couple bug fixes for bundle/executable upgrades
Fix for Python threading error message bug.

This is a small patch to roslaunch/__init__.py which suppresses the message:

Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored

which Python 2.7.3 prints when using roslaunch.

See http://stackoverflow.com/questions/13193278/understand-python-threading-bug for details on the bug and this fix.

I know the "right" thing to do is wait for the Python people or the Ubuntu people to do another release, since it is already fixed in the Python source upstream, but who knows how long that will be.  In the meantime the error message happens so frequently that it makes it hard to see where our real errors occur.
Add Procfile

Hey, @synboo!!

I added ```Procfile``` which enables run this app on heroku.

It's needed when run app via [foreman](https://rubygems.org/gems/foreman).
Quick fix for Windows when using Vagrant 1.0.1

just tried to use sahara on Windows after bumping the versions: had to fix quoting in the commandline to make it work at all. you still need to have VBoxManage and grep / cut in the PATH (see README)
格式化第一章节

目前看来, 自动生成的脚本还是有问题,  另外就是中文标点符号的问题.
new `mojito create app` archetype "hybrid" & new custom archetype support

sorry for the messy PR but it essentially contains three changes:

1. small bug fix for build.js not exiting on error
2. new archetype for `mojito create app hybrid` which incorporates hybrid/crt app settings.
3. reworked create.js
  * new `mojito create custom path/to/custom/archtype`
  * allow optional user-defined key/value pairs to be passed to custom templates

In anticipation of #2 to require changes and updates, I added #3, which may restore `mojito create project xcode` functionality (without mojito needing to update the sources).
[fix bug 5439377] support falsey config and definition values

one line change to allow configs and definitions to have falsey values
Update Git test 3.html part two--does it leave dancing on the ceiling?
fixes bug in dumper

background, steps with ouline node
Added hint to conflict
added the social page

Added the social page, plus some css and custom slider.
Br 1.0

enriched notification
Make BUILD a script
Feature/clear results

Add a button to clear current search results.
Fixed the JSNativeUI issue with iOS6.
[MOSYNC-2289] Examples: Fixed a problem in WebViewTwitter causing a cryptical error message
Add warning to obsolete sorcery:bootstrap
Fix typo for OPAMVERBOSE

Look hard enough and you will always find a bug :-P #337
Fixed a crash when rank greated than numpy.MAXDIMS is requested in dimshuffle.

```python
>>> from theano.tensor import dscalar
>>> x = dscalar()
>>> y = x.dimshuffle(('x',)*40)
>>> y.eval({x: 0})
Segmentation fault (core dumped)
```
CMDB bugfixes and ui improvements/simplifications
Website index now loads
Update templates/jui/page/doc/dsql/where.html

grammar fix
Proposed fix to handle binary and integer in secondary indexes.

Added function riak_pb_kv_codec:decode_index_pair/1. I am not sure if this should be exported for some use, but already made encode_index_pair/1 isn't.

I will fix things according to comments if needed.

ps. tests from test/encoding_test.erl are failing for me, but changed it to reflect the proper decoding.
Updates for tests removing hardcoded image references

Commits to fix the last few issues with tests.

* Implement a `Server#reboot` to comply with fog API
* Dynamically select an image for testing refactored slightly
* Last references to hardcoded image replaced by another image lookup but seeking Ubuntu to enable use to be closer to being able to `bootstrap` servers
Extracted hard coded test paths to test.conf

I have extracted all the hard coded path to test resources in BaseTest.java to a test.conf file placed in the settings directory which can then be changed without having to recompile.
noConflict

I added a noConflict() method to keep nimble from clobbering the global scope.  I needed this because my code is embedded on external pages and I do not want to clobber underscore.js or any other object that is stored at window._.
Add an experimental bootstrap process accelerator for testing

...uild
Move server tests to staging untl the reason for the RH5 failiure is determined
Decay fix

Fixes #126 and unbreaks global material list maintenance for simulation-wide auto decay (partial fix of #418 - tests still needed).  A few minor house-keeping changes (isolated in their own commits).

This should make experimenting with decay possible, but still no guaruntees on decay correctness - yet.

Update:

I added a couple of commits that include tests for the timer's global decay, and proper decay delta tracking through the material-isovector-comp-map stack.  I fixed a couple of instability issues, updated Material::isoVector method to return by reference, and tweaked the Timer to accomodate temporal testing a bit better (allowing listener resets).
NoMethodArrangementTest: Put methods in a specific order

Put methods in a specific order, since Class.getDeclaredMethods()
makes no such guarantees, causing the test to fail otherwise
cf. http://bugs.sun.com/view_bug.do?bug_id=7023180
[#18903] Outline for validating GB telephone numbers.

Very detailed RegEx patterns and outline code that should allow someone to easily build a very comprehensive GB telephone number validation routine for django forms input.

These patterns have been extensively tested elsewhere and are 100% correct.

See also ticket 18903 at https://code.djangoproject.com/ticket/18903
Update django/utils/encoding.py

Since `Exception` inherits from `object`, and `object` has had the `__unicode__` method since Python 2.5, it is impossible to have an Exception subclass that would not have the `__unicode__` method.
Issue 1548 require file fields not submiting
Issue 1265 update install doc for osgi

Updated install and readme docs also added a new OSGI example for adding into the bundle 3rd party libraries.
fixes #1251

fixed the issue, committed the code for review, please check it.
Separator decoration in Extension config table

As shown here:
http://static.galaxyhost.org/cotonti/priori_css_2012-10-03_16-42_Administration.png
Add a step to cowboy_rest to support HTTP 429.

See [rfc6585] for an explaination of status code 429.

The callback for that example might look something like this:

```erlang
-define(RATE_LIMIT_MSG,
        "I only allow 50 requests per hour "
        "to this Web site per logged in user.  "
        "Try again soon.").

rate_limited(Req, State) ->
    ReqCount = user_requests(Req, 3600),
    if
        ReqCount > 50 ->
            Body = error_html(<<"Too Many Requests">>,
                              <<?RATE_LIMIT_MSG>>),
            {ok, Req2} = cowboy:set_resp_body(Body, Req),
            {{true, 3600}, Req2, State};
        true ->
            {false, Req, State}
    end.

error_html(Title, Message) ->
    <<"<html>"
      "<head>"
      "<title>", Title/binary, "</title>"
      "</head>"
      "<body>"
      "<h1>", Title/binary, "</h1>"
      "<p>", Message/binary, "</p>"
      "</body>"
      "</html>">>.
```

Bring on the feedback!

[rfc6585]: http://tools.ietf.org/html/rfc6585#section-4
Risk calculation schema

Second patch for https://bugs.launchpad.net/openquake/+bug/1069732

This patch adds a sketch of the `uiapi.risk_calculation` table.

https://github.com/gem/oq-engine/pull/899 needs to land first.
Move require "uri_encode_component"

I have a bug when use gollum without app server.

```ruby

# lib/gollum/markup.rb

def process_headers(doc)
      toc = nil
      doc.css('h1,h2,h3,h4,h5,h6').each do |h|
        id = encodeURIComponent(h.content.gsub(' ','-'))
  # ...
end
```

But, `encodeURIComponent` is defined in `lib/gollum/frontend/uri_encode_component.rb` and requieres only in `lib/gollum/frontend/app.rb`.

So if I don't start app I have not get this file required and gollum will raise `undefined method `encodeURIComponent' for #<Gollum::Markup:0x007fd92fe59e70>`
max_pixrad function

Hi, 

Please pull the following commit:

add max_pixrad function returning the maximum distance from the center to the pixel edges

Cheers, 
     Sergey
Style and main.html modified
Remove mention of wrap-remotes from README.md.

The example in README.md still uses the obsolete `wrap-remotes` middleware.
new chat log url
No ticket: separate test module for utilities now that it doesn't break jQuery tests
add readme file and required jar
Dev

Added expect.perform(1); to get example test passing on FireFox see issue #1
Fix race condition in deleting blobs.

When uploading messages from Riak to Disco, some messages'
keys would linger longer than the object itself, resulting
in crashes when attempting to retrieve the non-existent object.
Fix: ignoring such objects.

Also fixed a duplicate reference to the Zerolog app
in the reltool.config file.
Added title and icon management to YAplication

There is not way at the moment to get rid of window title and icon in yui.
About title gtk always set yast, while qt use argv[0], that for script binding is the name of the language interpret (perl, pyton or ruby), same as in ncurses.

My patch -as well as the reimplementation for gtk, qt and ncurses- fixed it.
add a notice about loading assets in production mode

When doing something like `<%= javascript_include_tag params[:controller] %>` or `<%= stylesheet_link_tag params[:controller] %>`, it's necessary  to modify `production.rb`
Fix in cron.aug

Crontab entries can be prefixed by '-'. Cron.aug used to fail for such entries.
Added Twitter Bootstrap as a smart package.

Pretty straightforward except that Bootstrap includes some .png icon sprites.  Had to add support for an "img" data type in Bundle.add_resource in order to handle adding them.
Fix for #922 and Project template Fixes

This PR has a fix for #922 in which setting the InactiveSleepTime throws an exception. This usually comes up when porting a Windows Phone 7 game to Windows 8, but results in a weird error from the Helper class to create the game rather than the NotImplementedException. 

The other changes are to the projects to hopefully fix some of the references issues. Also changes to the MonoDevelop addin to allow the runtime to be deployed with the AddIn on Mac and Linux. This will remove the need for an installer for those platforms.
Added support for spanish

So that the spanish version of the simulator can also be controlled with Frank.
String Methods trimLeft and trimRight

I've added the methods trimLeft and trimRight for the native String object. These two methods were introduced with JS 1.8 in Spidermonkey and are also implemented in V8.
integrity of posts and replies done

hooray
libglademm: add `depends_on :x11`

libglademm will fail to compile in HB-0.9.2 unless is has a new
dep on :x11 to help it find its components. Add a `depends_on :x11`
Tested on Lion with clang and llvm from XCode-4.3.3.
`brew leaves` breaks for formulas with no `deps`

Certain formula in the `josegonzalez/homebrew-php` repo (https://github.com/josegonzalez/homebrew-php/blob/master/Formula/composer.rb, for example) have separate classes for verifying dependencies. This confuses the `brew leaves` command, which I guess expects all classes to have a `deps` method.

I'm not sure if this is correct place to fix the problem, but I added an additional check to the `brew-leaves` script that ignores classes without a `deps` method. This seems to fix the problem (i.e. `brew leaves` now runs without errors), but I don't know if this is something that should instead be fixed in the `josegonzalez/homebrew-php` repo.

Steps to reproduce:
`brew tap josegonzalez/homebrew-php`
`brew install composer`
`brew leaves`
percona-server fixes

https://github.com/mxcl/homebrew/pull/16055 https://github.com/mxcl/homebrew/pull/15901 https://github.com/mxcl/homebrew/pull/15921
Update Percona Server to version 5.5.24-26.0.
Updated git-ftp to upstream release
add osmium formula

This pull request adds the osmium formula. Osmium is a C++ framework for building osm-processing apps in C++. It comes with half a ton of example apps that demonstrate its power.

The maintainer, @joto, is not willing to provide a named version yet. As I also contributed a bunch of code and regularly talking to him I started to tag versions on a date-basis. Whenever some major changes occur, I'll update my tag and this formular. Once @joto is ready to launch a stable version, we can swtich this formula over.

There's one problem I see with this formula: some examples require gdal being compiled with spatialite support which isn't there by default. Unfortunately there's no way to tell homebrew that the version of gdal installed does not provide the neccessary features and it needs to be reinstalled using other command line options.

I read, that there are changes to the dependency system which will fix those issues (#10555) but I was unable to find any documentation about this. For the moment all tools will compile but osmium_toogr in example will fail to run if gdal was not installed with the --complete flag.

This is mentioned in the caveats section of th formula beeing pull-requested.
The formula contains code originally written by @christoph-buente who is hereby informed of this pull request ;)
ykpers 1.7.0
lame: update 3.99.5

update lame 3.99.5
Added option that applies patch

I added a "--enable-largefiles" option to the netcdf brew that applies a patch to the netcdf.h header file so that ExodusII LargeFile support will be enabled.  This is in preparation for an ExodusII brew formula I will be committing later.
dcled 2.0

Upgrade dcled to version 2.0.
Add `FONTDIR` to the list of makefile paths to be adjusted so
the fonts get installed into `share+name` rather than
`HOMEBREW_PREFIX/share` where they can't be uninstalled.
Tested with clang and llvm on Lion.
atlassian-plugin-sdk 3.10.2
updated download path for log4cpp

log4cpp changed their download path, changing version 1.0.x from "(current)" to "(old)"
- set the db45-utils package as recommend for openSUSE 12.1 and later

* at present a user running into a rpm db incompatibility issue may get
    an error message that the db45_load tool is not available. This leaves
    the user with no idea where the tool may be found. Unfortunately the
    command-not-found utility does not turn up the command either. Setting
    the package as recommends increases the chance that it will be installed
    when KIWI packages get installed.
** DO NOT MERGE ** Cartridge refactor

status is still only available via the legacy rhc app cartridge status interface while we wait for it to be implemented in the rest apis
m0 C interpreter cleanup (work in progress)

This pull request tracks my progress on the following [TODO items](https://gist.github.com/2878662). 

Please **DO NOT CLOSE** - it is intended as a platform for discussion.
Empêcher le double badgeage

Empêche une transaction d'être réalisée deux fois en ignorant les lectures de badges pendant l'attente de la réponse AJAX
Website

The links are created to the wiki and the trello board.
Use User.all_for_selections for all user selections on admin pages

The sorted and formatted user selection should be used on all admin pages.
Adding a first draft of a Features page, excluding the "Errata" section ...

...that I hope to pawn off on someone who knows about them.
Claiming color #F83E43

Very cool stuff. I might have to get it make a node.js version some day. Will definitely be adding some other pieces to it though. http://charliekey.me
Bitbucket integration

The bitbucket integration is very similar to Github, except user location, homepage, and "following" are not supported by the bitbucket API. Instead I added repository logo and fork details when available.

Fork numbers require one API call for each repository, so it is turned off by default. It can be enabled by the `BITBUCKET_SHOW_FORKS` settings.

README.md is missing a image showcasing the feature, as I was unsure how you wanted it to look --- other features use your personal homepage, but your bitbucket account has no public repositories.

I have tested it successfully on Ubuntu 12.04 on Opera 12, Firefox 14, Chromium 18, as well as Safari on iPad and iPhone. I don't know if it works on Internet Explorer.

PS: the integration is running on my personal syte page at http://eventh.herokuapp.com/
Fix arg parsing bug

Fixed issue #197
relaxed Validation#bitraverse constraint
Expose IndSeq's length

..and add a couple of tests
PyPy fix

This is a fix for Issue #188.

It is caused by a disagreement about methods' `__call__` attribute being `im_func` in CPython vs PyPy. 

[Here is the test case](https://gist.github.com/4220533)
Topic/new logger

This removes the custom implementation of Pinto::Logger and replaces it with calls to Log::Dispatch, which is wonderfully extensible - for now it is just using Log::Dispatch::Screen::Color as an output (and Filehandle as a hook just for the t/07-logger.t tests), but in the future can use output channels like DBI, File, Syslog etc.

I tried not to change the API (although I saw your invitation to do so on an earlier thread) :), and just added aliases where appropriate - changing the method names that everything calls can be done in separate commits.  I wanted to keep the diffs to a minimum where possible, to avoid confusion :)
Fixes issue #22: give more fine-grained error messages from validate_address 


Added some more detail to the text of those error messages.
issue #18745: added user account parameter widget
align fmq_chunk_t to 64-bits

problem: On 32-bit machines, fmq_chunk_t is not  8-byte aligned which causes fmq_hash_update() to assert.
some RWG, windows magnifier+keyboard, yuras no-op settings handler

There still is an issue with RWG not properly resetting the prefs.. not an issue for the demo, but definitely and issue post WSIS
sarmnoo   

hahaha.....xuezhang ni hao shuai ~~~~
Add skeleton loader

General progress on skeleton
Capacity to add index on vertex

Signed-off-by: L5D <cholley.thibaut@gmail.com>
Renforcing socket exception handling

This doesn't fix the deadlock issue, but secures a little more the disconnection method by always trying to close sockets.
09cors

added the ie cors stuff.
handle same command in multiple menus

This is for issue #1293. The main fix is to get the correct MenuItem associated with the Command id for the target Menu.

The designed behavior is to add MenuItem to end of target menu if the correct position cannot be determined (so that it just doesn't disappear into the ether). But, we were not logging any info to the console in some cases, so I added some messages. There should now be a console message for any case where the correct MenuItem position cannot be determined.

I also added an 8th test case to the description of bug.

I wrote an extension to test all of these cases. The main.js file can be found here:
https://gist.github.com/3299639
Update zocial buttons

Twitter has a new logo. We should be consistent with the logo guidelines at https://twitter.com/logo.
Added support for sidebar resize on drag

Round 2. This pull request adds support for resizing the sidebar with a drag. Some notes:

- It snaps closed when the sidebar gets within 10 pixels of the edge. 
- It's hooked into the other sidebar code so the Hide/Show Sidebar menu will be correct 

It should be pretty self-contained because it's set up within its own initHandlers function.
Reparados los acentos
Fixed an error, if user does not configure anything on memcachedstats

fixing 'TypeError: int() argument must be a string or a number, not 'NoneType'' error on memcached plugin
Fix the export in CommonJS environments

Summary:
If the current module is used in a mixed environment, loaded as part of
a CommonJS style module, but where the scopechain contains an AMD style
'defined' function, this function would wrongfully use this to define
itself instead of exporting using the module/exports variables.

This diff changes the order of the tests so that it prefers exporting to
the `module` object, then the `exports` object and finally using `define`.

Test Plan: Ran the test suite, and loaded the module inside a local
CommonJS environment running in a page also hosting an AMD style loader.

Reviewers: kitcambridge
don't forward Notify messages to the remote endpoint
Add SHOESTRAP_BASE environment variable

This adds SHOESTRAP_BASE to helpers/default, which
allows the cookbook file to be stored separately from
the rest of the shoestrap stuff, making the shoestrap
directory less cluttered. For example:

Old way:

  (cd /shoestrap && ./test1.book)

New way (with cookbook moved to subdirectory 'books/'):

  (cd /shoestrap && SHOESTRAP_BASE=/shoestrap ./books/test1.book)
Add Extension validator
Fix NaN handling for stacked graphs.

Dygraph was handling NaNs inconsistently, drawing lines and shaded areas
for values encountered while stacking until it ran into a NaN, then
stopping at that point due to NaN contagion, with the effect that it
drew some lines and partial gaps.

Change this to create a clean gap in the data by propagatng the NaN contagion
in both directions.

Note that users can preprocess the data to replace NaNs with zeros if
they prefer that, but this should not happen by default since it's
irreversible and can lead to confusing graphs that don't match actual
data.
Update bibref/biblio.js

Added JAX-RS
Make Travis CI image in README.rst link to the build page in Travis CI i...

...nstead of the image
Add #include_rules to the nanoc compiler DSL

I have two additional rules files: `rules/assets.rb` and `rules/content.rb`. To include them in my site's main rules collection, I add two lines to the top of `rules.rb`:

```rb
# encoding: utf-8

include_rules 'rules/assets'
include_rules 'rules/content'

# ...
```

Sweet!
add geolocation kind
Fix for HTTPS

Hey Manu,

Could you merge this one in real quick? It effects chrome when browsing the admin tool, as it tries to load the resource from http currently and is blocked.

Thanks!
Remove unnecessary throws declaration from connectAsync
Fixing Invalid Argument JS error in Internet Explorer

This set of empty parentheses following the closing curly brace of a function definition was causing an error in Internet Explorer.  When they're removed IE works fine.  Firefox and Chrome are unaffected.  Was there a reason for them being there, or is their inclusion strictly an error?
share drinkup.pgx

so it can be shared with Pegex. If this doesn't work out well there's another
way to do it.
example app/simple panel.Map added with vector layer
Layout handling changes for the Railo admin

Hi,
I was about to start working on the upload functionality for Extensions, when I once again noticed the inline images and inline styles/scripts in the admin, and the .cfm extensions for javascript files.
Since the .cfm extensions will always reload on every request, and the inline images make the page unnecessarily heavy, I made some changes.

File getfile.cfm first does a security check for valid file path, and then either returns a 304 Not Modified based on ETag, or the file (img, css, js) contents plus an ETag header.
If getfile.cfm is run from /railo-context/getfile.cfm, it will also append 2 caching headers, which should cache the contents for 1 full day. This way, while developing locally, the files will renew, but when released, the files will be renewed only once a day.

Then, I added the following directories, and moved inline styles and javascripts to the respective directories:
/railo-admin/img
/railo-admin/js
/railo-admin/css

Kind regards,

Paul Klinkenberg
Galapagos release hub recent schedule entries
Fix in Object Inspector.
Added: gitignore, Fixed: landscape drawing on OS X
Vanity pull request: I just changed my username :3

This feels a little silly, but I just changed my Github username. ctrlp is the only project I've contributed to that actually references my old name. Correctness shall avail!

If this is too vain, please ignore me and I'll find my way to the department of silly commits.

Cheerio!
payeasy? huh.
bump required node version from 0.6 to >= 0.6

I suggest to bump up required node version, so that latest module will install in more recent Node versions, rather than an old one.

thanks!
Results in an HTML table

Hi Alon,

The results of my changes can be seen here: http://gurjeet.singh.im/sqljsdemo.html

I have modified and added some stuff to make the results show up as HTML table.

Primary modification is that the exec() function's result is now a 2-dimensional array. First row of this array contains the column-headers, and the rest of the rows contain the respective data.

I have then modified the demo.html to use d3js library and generate a clean-looking HTML table for the result-set emitted by exec().

Please note that the sql.js that I compiled always threw I/O error, and because I don't know enough of Emscripten/LLVM internals to fix it, I mirrored the changes I made in post.js in to the pre-generated  file sql.js (git version of it). Look for the variable named columns_header in sql.js.

It'd be great if you could help me understand what I did wrong, so I can get a locally generated sql.js and play around with my custom modifications. Another goal of mine is to compile Postgres database (single-user mode ) to JS, so that Postgres' advanced SQL features can be easily taught on the web.

PS: Thanks for the innovative approach to bring native apps to JS world.

Best regards,
Support for diff merge operation

Merge on diff objects is now supported.

```python
from pygit2 import Repository

repo = Repository('/tmp/dirtyrepo')
head = repo[repo.lookup_reference('HEAD').resolve().oid]
tree = head.tree
diff_index = tree.diff(repo.index)
diff_work  = tree.diff()

diff_index.merge(diff_work)
```
Off-by-1 in JSON string escaping

Hi,

This was a bug which affected a deployed application. Hope you can consider this fix.

(Also, just curious, why not c.toInt instead of c:Int)?

--Toby
Receipt verification overhaul

This pull request is related to Issue #5.

Hi mattt,

For bb9695f, I think it should be a POST request instead of a GET request.

Under [Verifying a Receipt with the App Store](http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/StoreKitGuide/VerifyingStoreReceipts/VerifyingStoreReceipts.html%23//apple_ref/doc/uid/TP40008267-CH104-SW3),

> 3\. Post the JSON object to the App Store using an HTTP POST request. The URL for the store is https://buy.itunes.apple.com/verifyReceipt.

For 9ee5aa3, I was thinking of providing the interface (as oppose to storing it as a property) to allow verifying of receipt with password (shared secret) for auto-renewable subscription.

Under [Verifying an Auto-renewable Subscription Receipt](http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/StoreKitGuide/RenewableSubscriptions/RenewableSubscriptions.html%23//apple_ref/doc/uid/TP40008267-CH4-SW5),

> Verifying a receipt for an auto-renewable subscription is almost identical to the process described in “Verifying Store Receipts.” Your application creates a JSON object and posts it to the App Store. The JSON object for an auto-renewable subscription receipt must include a second parameter — the shared secret you created earlier on iTunes Connect:
>
>     {
>         "receipt-data" : "(receipt bytes here)",
>         "password"     : "(shared secret bytes here)"
>     }

They are not tested yet though. I will get back soon (By tonight or tomorrow) if there's any more issue.

Cheers! :D
T1369 Fixed track data not populating editors upon opening an existing event

https://webmademovies.lighthouseapp.com/projects/65733/tickets/1369-pop-up-template-after-editing-pop-plugin-text-dissapears#ticket-1369-9
T1828

https://webmademovies.lighthouseapp.com/projects/65733/tickets/1828-allow-for-butteruid-appending-to-be-turned-off-via-config-option#ticket-1828-2
Requesting a pull to mozilla:master from k88hudson:t2196
Fixes text clipping

Create text mask layer, temporary replaces current image with the empty canvas, let it draw stuff. And upon restore() applies mask, restores saved image and paints the result. Fixes #1125, #1227, #1687, #1931, #2165, #2201.

@brendandahl, can we use the similar technique for smask/blend?
client: replace dirty hack by usage of standard library
FOUND_ROWS-Lösung von Redaxo 5 übernommen.
remove localfqdn grain

I realize I added this grain just a couple of days ago, but as I've thought about it, I've become more convinced by the argument (sorry, I forget who - dzen maybe?) from #salt that we should instead fix the fqdn grain. By "fix", I will rejigger it to check if socket.getfqdn() returns localhost, and fall back to 'hostname -f', etc. But I wanted to remove the localfqdn grain before the 0.9.8 release, so that we weren't stuck with it for all time (or at least a couple of releases).
cp.get_dir: Only makedirs is the path doesn't already exist.

When testing 10.6 I ran into a traceback copying over an existing directory:

```
{'ret': 'Traceback (most recent call last):\n  File "/home/deploy-test/src/salt/salt/minion.py", line 349, in _thread_return\n    ret[\'return\'] = func(*args, **kw)\n  File "/home/deploy-test/src/salt/salt/modules/cp.py", line 156, in get_dir\n    return __context__[\'cp.fileclient\'].get_dir(path, dest, env, gzip)\n  File "/home/deploy-test/src/salt/salt/fileclient.py", line 297, in get_dir\n    os.makedirs(minion_mkdir)\n  File "/home/deploy-test/lib64/python2.7/os.py", line 157, in makedirs\n    mkdir(name, mode)\nOSError: [Errno 17] File exists: \'/var/deploys/test/1/code/resources\'\n'}
```

Doing a git blame I don't think this was introduced in 10.6, I just think it wasn't hit before.  My fix was simply to check if the dir existing before makedirs'ing it.  It's annoying that makedirs doesn't do that for you, as shown here:

```
Python 2.7.3 (default, Nov 29 2012, 01:36:47) 
[GCC 4.5.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.makedirs('/tmp')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/root/deploy-master/lib64/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 17] File exists: '/tmp'
```
Documentation fixes

I fixed a few broken links in the documentation.
24_x_2012_rano
Add License to Repo Request

Self explanatory.
Change group id of nexus lucene indexer model

Changed group of indexer lucene model to align with the other models.

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
[NEXUS-5246] Use status 307 (temporary redirect) instead of 301 (permanent redact) to avoid browser caching

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
Editor buttons

Proper layout and naming for the editor and present buttons – the Slides/Transitions is a toggle, separated from the Present button.

Also removing the redundant View menu. The goal should be to completely get rid of the text menu bar, also for reasons of tablet usability.

NOTE: Not tested because of error mentioned in Issue #10.
Uploaded everything. Hopefully I didn't mess up again.
Chapter12

Implements Chapter 12. Task G: Checkout!

@hussmanne Some progress.
Add support for @function and @return in sass

My first crack at syntax in vim, so I probably did something wrong. The second commit is pretty liberal, maybe we want to highlight builtins differently from user defined. Thoughts?
Add initial support for `haml-js`

This adds support for [haml-js](https://github.com/creationix/haml-js), while trying to change as little as
possible with the existing implementation.

It's a bit rough around the edges -- I didn't (at present) want to rename all of the ruby* syntax names, but will if this is something worth pulling in. Thoughts?
Update zipkin-query gem

* Generate Ruby with new Thrift changes
* Bump version number
Adding "Fork me on Github" and download links to index page.

Fixes #16.
Replace check_attribute -> "href" to "url" on advanced rules
issue #18771
Extended bouncing property fix #13 for vertical scrolling

Extended bouncing property fix #13 for vertical scrolling
NEW: Added function to refresh config
Several JobAgent-Matcher logic optimizations

CHANGE: JobAgent - provide resource description as a dictionary to avoid extra JDL parsing by the Matcher
CHANGE: Matcher - report pilot info once instead of sending it several times from the job
CHANGE: Matcher - set the job site instead of making a separate call to JobStateUpdate
!>Bug<! DEV: enable definition of ChecksumType per SE

New CS option value ```/Resources/Storages/SEName/ChecksumType```.

Available and valid values are none, null, adler32, sha1 and md5. If above CS option is not defined, the global one is used (```/Resources/Storages/ChecksumType```).  To enable/disable checksum test from failing SE, you can just set this option to none or null.
Nö

Jo, pull ma alta
Updated german translations in language.h

and eliminated a few double lines.
external tools

add new contextual menu to launch external tools

to add an external tools add a script in folder .remmina/external_tools/

name remmina_YourTools.sh (exemple remmina_ping.sh)

and add the code in this file.
add CSW ISO test
Ivktool überprüft nun auch die namensanfänge der Dateien (iw, uw, ow)
Updated the framework search path

Updated the framework search path to handle the two common locations that the private frameworks might reside.

The frameworks still show up as red in the project navigator but this will at least let us build it.

fixes #225
Ctags

I've added a simple ctags file that will extract function definitions from Julia code.  I figure that this could be useful for general use or any planned IDEs.

Also, this contains a change to the Makefile that will force linking of the Julia binary during successive install attempts.  On my Fedora 17 system, it would complain that the symbolic link already existed and halted the "make install" process.

I apologize for the messy commit log.  This is my first time issuing a pull request and I would be happy to clean it up, if required. (I might need a bit of direction/git-magic for that though.)

--Rob
863461 - Headpin Cli automation : Failure to list the org updated

with special chars other than ascii chars

realized it was fixed for 'org list' but not 'org list -v'
Move code from katello-configure to shareable functions

@lzap check it please
test package and installation with scratch build works
requiring new minitest gems
node@0.6.x http.get() needs options

As noted in #102 some tests were failing.

`http.get()` in node `0.6.x` needs `options` as a parameter. It seems `0.8.x` will accept a string.
metagenome_statistics resource: added verbosity levels, added more qc ou...

...tput to make our stat people happy
changes: api2 overhaul and new analysis db schema

1. added new sql schema for anaysis db
2. changed API2 to object based
   - each resource is an object that inherits functions from parent (resource.pm)
   - allows all non-resource specific functions to be in one place
   - modified api2.cgi to call resources as objects
3. added ipythin notebook api resource
4. fixed some minor bugs within api:
    - pagination display was inconsistant
    - query output was inconsistant
    - total count not correct
    - all IDs provided by a resource that point to other resources now are tuples (id, url)
    - metagenome and project resources now correctly pull ordered / offset / limit set from DB (instead of pulling all)
Xdoc enumerator fix

***Needs Review***

Moved the logic to set the OwnerDocument.XmlResolver to null to only entry points providing an XmlDocument or XmlNode, instead of iterating over the list of nodes every time a XDoc is created.
Move all the queries to Flask-SQLAlchemy. Closes #209 Fixes #167

This commit uses the full power of Flask-SQLAlchemy in the code. This commit
also fixes the PEP-8 Compliant issue.
Added the IsValidDeviceRegistrationId() method we discussed today

Let me know if you have any questions.
Develop - Merge from upstream, mostly GATK 1.5 compatibility.
Fixed bug which allowed bad long names for ACL for all object. Replace b...

...lanks for categorized lists directories to workaround  squid bug


Unfortunately this is not backwards  compatible with already set categorized lists with spaces in its names
Another FIx
Roguelike fix

This one fixes the roguelike keyset a bit (#1300 & #1604)
Fetch module: run dwim on dest after templating, not before
Addhost module
DAO, DAO factory, and major structural change!

Exceed Vote Architecture Change for DAO
=======================================

Since the DAO is responsible for finding, inserting, and saving things to the database, so we take that responsibility out of VoteEvent.

VoteEvent will now only concern about the voting period and announcement time.

No more BallotBox. They are now handled by the DAO.

No more voter profile. We put it in Voter, because there is only one voter profile per voter.

The association has been switched from top down to bottom up. Then we use DAO to query top down.

All domain model class will become Java bean, so we always have default constructor for these classes.

A Design Mistake
-----------------------
The motivation for this (big) change is this: we made the domain model classes too smart that they are having too many responsibilities...

Now, the domain model classes are just entity classes that contain data for passing around, while process classes (facade) and other helper classes (such as BallotSubmitter) will do these extra smart things.

62 changed files... wow that's a lot....
add var keyword to prevent global leak
Allow writing binary content in WebServerResponse::write

write() now takes QByteArray instead of taking QString and converting it manually to QByteArray in bad way.
This change is transparent to JavaScript - types are converted automatically by QVariant class.

Fixes issue 505: http://code.google.com/p/phantomjs/issues/detail?id=505

This is generally just implemented suggestion by @detro from https://github.com/ariya/phantomjs/pull/288#issuecomment-6698415
After compiling and testing, test case from that pull request was working correctly.