labofsahil/github-event-dataset-2012 huggingface dataset:
Fake pull request for "New way of handling previews"

This is a fake pull request to show the proposed changes explained in my email "New way of handling previews". 

=======
David had the idea to put the preview for resources and especially recline into an iframe which would avoid problems with interfering css and js. While doing this I noticed that there is a lot of code in application.js that decides how to embed the preview into the page. However, this can also easily be done on the server. I think that it would make sense because this way we only have to load what is really necessary instead of the whole preview js/ css stuff.

Do give you an idea, here is a possible mapping for previews:
 - html -> show in an iframe
 - sth for recline -> show recline in an iframe that resizes to the right height
 - image -> embed directly with a max-height and max-width
 - txt -> embed directly or show in an iframe 

Notice one problem with embedding text directly! You would have to fetch it before the request can return. However, we could write a small script that does that on the client. 

What I did to show what our idea looks like:
 - created a new page which only displays the preview
 - put an iframe where the preview used to be
 - added some code to package.py to get the appropriate resource url
 - updated recline to the latest version without further changes to the css or js

The only thing that is not fully working is the embed button. It is not possible to yet to save the recline state object to the embed url. 

You can have a look at the changes on https://github.com/domoritz/ckan/commits/2888-datapreview-iframe. 
Please keep in mind that the changes are only there to show my idea. But if you like it I can redo it on the demo branch. 

Let me know what you think. I've probably missed something important and would be glad to improve the solution.
Documentation: editor_cmd

If editor_cmd is unset alot tries /usr/bin/editor first and after that EDITOR.
Fix installer

Make the installer a normal PHP file instead of an executable. Solves PHP parsing problems
Few changes

Here's some commits I made to make the project cleaner and more up-to-date. I hope you will find them useful.
Use the music separator for artists/album artists/genres

This takes us back to how we used to handle multiple values in a tag.

The only potential issue is for those that normally store multiple values in a tag using the list feature of the tag (supported by id3v2 for example) but have only a single value set in a particular tag that happens to contains " / ".  This is reasonably unlikely though...

@night199uk Look OK to you?
#363 #310

#310
сделал загрузку в uploads/catalog, а имя - uniqid. раньше имя было названием алиаса, оно не ексейпилось, самый простой и надежный виход :)
#363
тут понятно. добавил проверку стандартным валидатором - unique, при добавлении(через сценарий)
Add link support for Windows

We can substitute "mklink /j" for `fs.symlink` for Windows until symlink is fully supported in node core.
Allow UTF8_STRING in INCR transfers as well as XA_STRING

See https://bugzilla.gnome.org/show_bug.cgi?id=671066 for the bug that
started this.

Xsel was only accepting XA_STRING during INCR transfers; now
it also takes in UTF8_STRING.  Maybe this bug wasn't triggered
before because most selection transfers are small, and the transfer
described in the bug is quite large.
Fixing downloadFileFromHTTP
Add stylus support

Fixes https://github.com/ajaxorg/ace/issues/801
bluntly added escapeHTML() to LM _val and _mval methods

@javruben and @giannis 

This seems to fix the XSS vulnerabilities of adding arbitrary HTML like `<img src=x onError=alert(1)>` into XML that will be rendered in LM statements like `[@name]` and the like and does NOT seem to break any other existing functionality like E4X-style syntax in LM and adding AML elements from within LM.

See the test file `test/livemarkup.html` and execute the following statement from the browser console:
```javascript
apf.xmldb.setAttribute(mdlBlah.data.getElementsByTagName("person")[0], "name", "<img src='x' onError='alert(1)'/>")
```
Eunit cover data export (#246)

Enables users to combine cover data from several different tests or to use the coverage result in external scripts for example to show coverage in continuous build system reports.

Same as pull request #246 but in new branch. 
Caused by me trying to move commits to new clean branch...
Sorry for the inconveniences.
Add jquery countdown 1.6.0

Hello!

A jQuery plugin that sets a div or span to show a countdown to a given time.

http://keith-wood.name/countdown.html

Github:
https://github.com/kbwood/countdown

Difference from github version (https://raw.github.com/kbwood/countdown/master/jquery.countdown.min.js md5=e0fe60ad07d30ad8b30fcb634d05c366) is caused by trailing spaces in header.

You can verify contents of jquery.countdown.min.js:
md5 = 61814db0d3efd990d53bdecab2a7b730
It is equal to file from the official site of this plugin: http://keith-wood.name/zip/jquery.countdown.package-1.6.0.zip

Another verification: this file is already used in other CDN: http://cdn.cepdtoronto.ca/countdown/js/jquery.countdown.min.js (found by googling the md5)

Previous attempts:
https://github.com/cdnjs/cdnjs/pull/203
https://github.com/cdnjs/cdnjs/issues/221
Fix Typo in source/dom/transform.js

transform is probably meant to be translate
Enyo-DCO-1.1-Signed-off-by: Johann Jacobsohn johann.jacobsohn@directbox.com
Update tests to reflect the new statsd.numStats values

The unit tests begin failing at commit 8f202fdb.

I believe this is because, statsd is now (as of that commit) keeping its own stats about its own workings. Thus `statsd.numStats` increases to reflect that. So the tests need to reflect that reflection.
child_process: throw error when .kill fails

just fix a TODO
cluster 2.0 - step 7: kill workers when master dies

This patch will kill the worker once it has lost its connection with the parent. However if the worker are doing a suicide, other measures will be used.

_Related issue: #2060_

This feature is highly requested but hasn't been made before now, because it was first with the resent `cluster` cleanup and `child_process.fork().disconnect` support it could be made in a simpel way.
_Actually this remove more code than it add ;p_ 

_Note that this patch can land before or after #2740 has landed._

/cc @isaacs, @igorzi 

_This is about merging in cluster 2.0 (see #2038)_
Windows signal

implements Process.kill 'EXIT', pid
for windows
AX_CHECK_LIBRARY: Bump serial to match upstream

The m4_ifnblank patch was accepted upstream as
http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=commitdiff;h=7ea1d1b18e5c1c3300936dd89c3e55b5b370ae72

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Support multipart/form-data "name" with backslash at the end, add tests.

While writing a multipart/form-data encoder and using yaws_api:parse_multipart_post/1 to test it against, I noticed that it behaves strangely when a backslash is the last character in the "name" field.

This patch corrects this, and adds tests for this and other "strange" cases.
More explicit touch event checking.

### `isTouchEvent` flag variable is added.

As Chrome (18.0.1025308) on Nexus 7 (Android 4.1.2) is returning `0` as touch.identifier, it does not suffice to check by `touchId ? x : y`.

Rather, it should explicitly check if the event is touch or not by `typeof touchId !== 'undefined'`.

I know not many people are using Nexus 7, but I need to fix those for testing purpose :D
It's just weird that Chrome is assigning simple integer, like `0`, `1`, `2` to touch,identifier ...
Fix a bug when interpolating exponent notation.

We weren't properly detecting "1.e2" as a valid number.
raise ZeroDivisionError instead of crashing.

a) On OpenBSD/amd64, mruby dumps core when we call Integer#divmod with 0:

```
% bin/mruby -e 'p 1.divmod(0)'
zsh: floating point exception (core dumped)  bin/mruby -e 'p 1.divmod(0)'
```

In contrast, CRuby raises an exception:

```
% ruby -e 'p 1.divmod(0)'
-e:1:in `divmod': divided by 0 (ZeroDivisionError)
        from -e:1:in `<main>'
%
```

Integer#divmod is not defined in ISO Ruby but CRuby's behavior looks reasonable.

b) Integer#% and Float#% may return NaN:

```
% bin/mruby -e 'p 1 % 0'
NaN
% bin/mruby -e 'p 1.0 % 0.0'
NaN
```

But ISO Ruby says that "i % 0" should raise a ZeroDivisionError exception.  CRuby implements that.


This pull-request makes Fixnum#%, Float#% and Fixnum#divmod compatible with CRuby.

 - 1.1 % 0.0 = NaN
 - 1 % 0.0 => ZeroDivisionError
 - 1 % 0 => ZeroDivisionError
 - 0 % 0 => ZeroDivisionError
 - 0.0 % 0 => ZeroDivisionError
 - 0 % 0.0 => ZeroDivisionError
 - 1.divmod(0) => ZeroDivisionError
 - 0.divmod(0) => ZeroDivisionError
Joyride homepage integration
New gem format and g2c -> f2c fix

It's now possible to install linalg as a gem using bundler:

Gemfile:

gem 'linalg', git: 'git://github.com/ivanku/linalg'

I also applied the fix that was mentioned here: http://rubyforge.org/forum/forum.php?thread_id=31058&forum_id=1171 (g2c.h -> f2c.h change) to get native extensions to compile (verified on Ubuntu 12.04 64-bit with f2c package installed from standard repository)
Removed ActiveSupport#load_all!

This is no longer used, has no test coverage, and actually raises an error when trying to load `ActiveSupport::Dependencies`. I removed the related code and added the `Dependencies` module to the autoload list.
Adds support for passing multiple models to fresh_when

Alrighty, this is my first time (I think) submitting a pull request to Rails, so please let me know if I need to do anything differently.

This is a small patch to ActionController::ConditionalGet.fresh_when to make it accept multiple models as an argument, like you can with the cache helper in ActionView. Seeing as how fresh_when is just after an etag & last modified timestamp, all it does is sort based on the updated_at attribute and use the most recently updated model for the response.

Please let me know if there's a better way to do this or what changes I could make to improve it.
Features/ansible/dark theme

!(dark background)[https://s3.amazonaws.com/99designs-richo-screenshots/ipZFW.png]
Adding .group method for QuerySelect db.select

Hi Diederick,

Heerlijk die code van jou, ik struin er zo doorheen en alles werkt out of the box.

Ik doe nu een project waar ik een GROUP BY nodig had in een Select Query, heb die method zeer eenvoudig kunnen toevoegen.

Check it out,

Groeten!

Arne.
Re SI-6688

CompileClient now connects by default to the "localhost/127.0.0.1" interface rather than the public external facing local interface.
Shorter flattened names for nested $anons

[scala-internals thread](https://groups.google.com/d/topic/scala-internals/M852v50Rrik/discussion)

Review by @paulp, @odersky

 - Can you suggest additional interesting cases for test/files/run/flatten.scala?
 - Do we care that by unnesting the names we make it harder to mentally link the mangled name to its source code? (Incidentally, it would be great if we could teach YourKit to do this for us automatically, to save us either guessing / messing around with javap to figure it out).
 - I've done this for `$anonFun`, `$anon`: is there anything else that could have the same treatment.
 - The code to walk the `rawowner` chain was a bit fiddly to write and should be scrutinized. I didn't find an existing method on `Symbol` that did what I needed.

References SI-3623.
Fix for adjustment shipping

The Adjustment.shipping scope was using a translated field to identify shipping adjustments. This caused shipping costs to be displayed differently depending on the chosen locale.
Allow options specified in ./.cane to be added to a rake task

So I can run 'cane' from the project root and get similar results to running it via rake.
test_sets: Fixes the test failure

The left hand side is equal to set([S(2), S(3)]),
and that is not equal to set([2, 3]). So this patch fixes the right hand side.

This fixes the test failure introduced by #1394.
S(3).match(1/w) -> {w: 1/3}

A fairly conservative condition had to be applied to the pattern
that is being applied. If if `sb.is_Atom and se.is_Atom:` is left
out then recursive errors abound.
add iterate_list() function

Dear All

I always use library functions that trema has prepared. One of them is the linked-list.

I feel it is useful. But I want to use this transparently, without awareness of linked-list construction.

Concretely, I hate to write linked-list loop and conditional statements at any place.
When the program is longer, the similar statements like following more appear.

  for ( element = *switches; element != NULL; element = element->next ) {
    if ( *( ( uint64_t * ) element->data ) == datapath_id ) {
			... something ...
    }
  }

To deal in list_element transparently, I added a function in [ lib/linked_list.c ].
This function abstract iterate processing and extraction of data that linked-list has.

e.g.
 With this change, linked-list loop statement can be eliminated from switch_info of Trema example.

Thank you.

De: Hiroyasu OHYAMA

===

diff --git a/src/examples/switch_monitor/switch_monitor.c b/src/examples/switch_monitor/switch_monitor.c
index 99c319e..b22cf7b 100644
--- a/src/examples/switch_monitor/switch_monitor.c
+++ b/src/examples/switch_monitor/switch_monitor.c
@@ -43,19 +51,23 @@ create_switches( list_element **switches ) {
   create_list( switches );
 }
 
+static bool
+release_switch_info( void *data, void *user_data ) {
+  UNUSED( user_data );
+
+  if( data != NULL ) {
+    xfree( data );
+  }
+
+  return false;
+}
 
 static void
 delete_switches( list_element *switches ) {
-  list_element *element;
-  for ( element = switches; element != NULL; element = element->next ) {
-    if ( element->data != NULL ) {
-      xfree( element->data );
-    }
-  }
+  iterate_list( switches, release_switch_info, NULL );
   delete_list( switches );
 }
 
-
 static void 
 insert_datapath_id( list_element **switches, uint64_t datapath_id ) {
   list_element *element = NULL;
@@ -81,17 +93,24 @@ insert_datapath_id( list_element **switches, uint64_t datapath_id ) {
   }
 }
 
+static bool
+get_switch_info( void *data, void *user_data ) {
+  uint64_t *datapath_id = (uint64_t *)user_data;
+  bool ret = false;
+
+  if ( *( ( uint64_t * ) data ) == *datapath_id ) {
+    ret = true;
+  }
+
+  return ret;
+}
 
 static void
 delete_datapath_id( list_element **switches, uint64_t datapath_id ) {
-  list_element *element = NULL;
-  for ( element = *switches; element != NULL; element = element->next ) {
-    if ( *( ( uint64_t * ) element->data ) == datapath_id ) {
-      void *data = element->data;
-      delete_element( switches, data );
-      xfree( data );
-      return;
-    }
+  void *data = iterate_list( *switches, get_switch_info, ( void * )&datapath_id );
+  if( data != NULL ) {
+    delete_element( switches, data );
+    xfree( data );
   }
   // not found
 }
Typos and repr output

Some typos and minor changes in world.py, and slightly changed repr in nbt.py of NBTFile: from `<TAG_Compound(u'') at 0x10f9dd990>` to `<NBTFile with TAG_Compound(u'') at 0x10f9dd990>`. This makes it more clear what the thing really is. This closes #35 as far as I'm concerned.

I can pull this later when I'm less sleepy. It should be OK though.
Ajout d'un mode pour les clients : ignore_tag

Les fenêtres qui "ignorent les tags" sont ne sont pas limitées à un tag. Lors que l'utilisateur change de tag, ces fenêtres s'intègrent à ce nouveau tag.
Il est possible de configurer un raccourcis clavier pour modifier le mode du client (client_toggle_ignore_tag), ainsi que d'ajouter une règle avec l'option "ignore_tag = true".

Deux clients qui ne partagent pas le même mode d'ignore_tag ne peuvent pas se "tabber" entre elles.
Par contre, lorsque deux clients (ou plus) sont tabbés, et que la commande "client_toggle_ignore_tag" est lancée, tous les clients du groupe vont se voir attribuer l'option.

Les clients en mode free peuvent aussi ignorer les tags.
Please pull this fix for issue 91

Fixes this bug: https://github.com/zaach/jison/issues/91
SSE3 Optimizations

Skinning and hsMatrx44 * hsMatrix44 now use SSE. Some simple profiling using both AMD CodeAnalyst and the built-in plProfile shows definite performance gains. I have been unable to determine accurate numbers due to poor precision in plProfile (it only shows one decimal place in the counters) and variable numbers of avatars in the test locations.

These optimizations can be disabled through a new cmake setting PLASMA_USE_SSE or the HAVE_SSE macro.
Expand Well Treatment

This change introduces support for building a `WellsManager` from an existing `Wells` object.

Specifically, we introduce a new constructor:

    WellsManager::WellsManager(struct Wells* W)

that creates a clone of the `Wells` object and assumes ownership of the clone through the internal `w_` object.  This enables using wells acquired through external means--e.g., from a textual description in a file--that is not already supported in the `EclipseGridParser`.

The downside of the new constructor is the lack of logic to support the internal state machine for checking well constraints.  In other words, if we are using the new constructor, then we are no longer able to check if any constraints are violated and update the control scenario accordingly.

A new function `clone_wells()` effects the actual deep copy of the `Wells` object.

The second part of this change introduces several debugging assertions to various internal and public routines in the `newwells` module.
Fix crash when attempting to parse a stdout line with no key, e.g. "  :?"

An image seems to mess up the stdout parsing of **gm**. The offending line seems to be `  :??`.

[Here's a copy of the image and test](http://dropbox.com/sh/5g0qpwc2d6nzbyz/oZD4MJZvRE/gm_crash_test.zip), and here's a snippet from the trace:

```
TypeError: Cannot set property '' of undefined

  Identify stdout:
  Image: /Users/chris/img.jpg
  Format: JPEG (Joint Photographic Experts Group JFIF format)
...
  0x00000000: 1800                                          -
    unknown:
  :??
  Profile-EXIF: 11310 bytes
    Make: Canon
    Model: Canon EOS 1000D
...
  Tainted: False
  User Time: 0.010u
  Elapsed Time: 0:01
  Pixels Per Second: 30.5M
    at ChildProcess.<anonymous> (/Users/chris/node_modules/gm/lib/getters.js:124:20)
    at ChildProcess.<anonymous> (/Users/chris/node_modules/gm/lib/command.js:207:18)
    at ChildProcess.emit (events.js:70:17)
    at maybeExit (child_process.js:360:16)
    at Process.onexit (child_process.js:396:5)
```
Added Throttle component.

This is a simple component that can be placed before another component that needs to be throttled lest the system run out of resources (memory, open files, etc). For example I use it with `ReadFile` as follows:

```coffeescript
graph.addEdge "throttle", "out", "read file", "in"
graph.addEdge "read file", "load",  "throttle", "load"
```

This of course requires a modified `ReadFile` component that has a `load` out port. That is coming in a pending pull request.
fixed davvil/pdfpc issue 32

I fixed your issue 32. when "Poppler.Document.from_file" fails, a more graceful shutdown initiated.
Fix very important typo.
Fix for bug

Found a bug with the "Add new reports" section and solved it.
Add support for a block-based sheet handler
TAJO-943: ExternalStoreExec shoud use RawFile as intermediate file forma...

https://dbserver.korea.ac.kr/jira/browse/TAJO-943
[ticket/10120] Update comment to indicate that guests can now view profi...

...les.

PHPBB3-10120
Modify tags to allow for admin / mod specific tags (like 'announcements')

Since a large percentage of users seem to have opted out of the 'meta' tag, there should probably be an announcements tag that is only available to admins, and possibly moderators, for the sole purpose of conveying relevant site announcements that all users should see, such as new feature announcements or policy changes. This commit accomplishes this by adding a 'private' attribute to tags. Private tags would allow admins to create tags that only admins could use, and that regular users could not filter. The best example use case for this is an 'announements' tag for site announements that all users should see.
Fix bug #4324 Cache config memcache array structure
test Pull Request

this is test
Patched v3.4.1

This fix is required to resolve a customer escalation Image Preview Zoom Feature in Documents and Media Portlet Not Working with IE7 (http://issues.liferay.com/browse/LPP-4606).  

On IE7, the zIndex is not being set to a valid attribute. This YUI commit fixes the zIndex problem: WidgetStack now correctly parses `z-index` from a widget's `srcNode`.
Fixes #2530186 (https://github.com/yui/yui3/commit/7fac276f7bad8999927d1d86d779393dc7240ce6)

The reason why this is patching v3.4.1 is because the customer is on GA2, which has alloy 1.5.x and YUI 3.4.1.
add a command-line option for private input files

You might use different phone numbers and/or e-mail addresses in different versions of your resume.  private.yml is set as the default.
fix bug 770486 - Preventing parent slug from displaying upon validation error

Preventing bug reported here:

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

Possibly not the best solution but is important to fix before July 5 deadline.
fix bug 776603: Skip the CSS gauntlet for Kuma

Before review, this PR requires the bleach module under vendor to be updated to this commit:

https://github.com/lmorchard/bleach/commit/2906726af82ed0063a559124cee610bcd2e5859c

That commit comes from this PR on the Bleach project:

https://github.com/jsocol/bleach/pull/73
Some code clean-up and a font change.

Partially removed styling from code. Still some left to cleanup.
Added changes for "hopefully" improved legibility. In the end I chose "Verdana". I'm not 100% sure it is the right chice but I do think it is better that the Google sans serif that does not draw well on any of my monitors.
Fixes to CentOS instructions, etc.

Please also see [this comment](https://github.com/nouiz/Theano/commit/fcca361f341a18f972a0513ece7c09cc85b858ea#commitcomment-1246687), I didn't change it because I wasn't sure what you meant.
[CHEF-2944] Wrap all REST requests within timeout.
Summary reporting with compression

This includes the client with summary only option enabled and with Serdar's changes for including compression.

To get the server to respond with summary only flag set - the following additional configuration needs to be done :
1) set  dark launch flag for node_run_history : false
2) set the summary_client_min_version in opscode-omnibus to a version equal to or less than the client wanting to run summary only changes (for testing purposes) - This is currently set to 10.14.6
[ticket/10601] Make inbox default (instead of compose) in PM module

This alters how names for the "i" get variable are created.
With this, if an element has a name, the name will always be used in favor of the id. With that in mind, the inbox is shown when the "Private messages" tab is created it already has the link to the pm system with defaults to the inbox tab instead of the compose tab (the default for the i=176 is compose, the default for i=ucp_pm is the inbox)

This includes the change to the DB so that the ucp_pm is written in the db for the pm.

PHPBB3-10601
fixed issue with --save-delay

There was a stray call in controller.rb, an extra makePDF(nil) that was preventing the  NSTimer.scheduledTimerWithTimeInterval_target_selector_userInfo_repeats from running.  The entire routine was prematurely exiting.  Now it does a delay for the proper number of --save-delay <seconds>
Do not log empty data
Aggiunta file.

Test aggiunta file.
This is an initial implementation of a Condor DAGMan plugin

See notes in the commit message
CNAME for dry.io
Use git-describe to get git branch

The git-describe command is simpler to parse and seems more robust than the git-branch command to get the git branch.

I tested with git version 1.7.10.1
Always grab CubicVR.js from the master branch now 

rather than the latest tagged version, since there hasn't yet been a version of CubicVR tagged and published with the dist directory.
Ted Integration with Updated Box OneCloud App2App SDK


We added a git submodule for the SDK
add a file named suo in branch suo
fix collection was modified exception and performance improvement issue #30 and issue #26
Adds logging (CP-70)

Note, I'm about to make a PR against 4P/nova as well and changes to both repos will need to be pulled in for CP-70 to work.

https://nebula.atlassian.net/browse/CP-70
Google analytics ARELLE-16

Hello Herm!

I am pleased to offer you this pull request to fix ARELLE-16.

* The Google analytics integration is done with a plugin.
* It works
* The plugin generates a random client identifier, that it stored in Arelle preferences, so that the "Unique number of users" is meaningful.
* The only impact on the core code is a new extension point in `Cntrl`, called "Cntrl.init"
* The plugin tracks all `Dialog*` classes as "screen view". This is displayed live in Google Analytics "real time analytics"
* The plugins tracks a couple of selected methods as "events". This is displayed in Google analytics with a 24h delay
* I still need to think how to track more methods:
    * I was originally thinking about introspection
    * I have just discovered you have a method called `ModelXbrl.profileStat`. But I have not understood how t works
    * Also I think such a tracking method should be a decorator, rather than modyfing so deeply the profiled method calls
* Is there anything else you'd like to track? In particular, crash reports can be tracked (but I don't see how not to modify the core code for this)
* The Google measurement protocol is just a couple of days old. I had to write my own python library
* This `google_measurement.py` library defines all usefull methods for App tracking. 
* All http calls in `google_measurement.py` are asynchronous
Bancha now supports loading of single records
PokemonMonster, random and pokemon data.

Re-made the class for pokemons, made a new method for doubles in random
and created files with data about all the pokemon.
Feature/search with jsonp

Search queries currently go through cache/get on AppEngine, then CloudFront because of browser same-origin policies. This switches the api call to request json-p so the requests can go directly to CloudFront.
Merged knownInt/Floats in integrate_change_member_data hook

Signed-off-by: emanuele <emanuele45@gmail.com>
Small documentation fix

The documentation refers to "Linux-x86" in the Mac OSX section of the README.  It looks like this should be "Linux" instead of "Linux-x86".
Removed the "tip" jutting out of 3 buildings, so they are rectangular in...

Removed the "tip" jutting out of 3 buildings, so they are rectangular instead of awkwardly shaped.

- heavy factory
- high tech factory
- ix research center
DrugInfo & RaxaDrug controllers and resources

Functionality in this pull request includes:
- DrugInfo POJO, service, DAO, resource and controller. Includes attributes such as price, cost, name, description.
- RaxaDrug resource and controller (for creating, updating, retrieving OpenMRS Drugs).
Hugg new junit

Test inf changes.
1) Timeouts and failed processes will show up in reports and end-of-console summaries of failed tests.
2) Logs in testoutput should always be 1-1 with suites that log.
3) testouput folder is archived on each run, pre-timestamps removed.
4) Some unused (hopefully) ant targets removed from build.xml
5) Stranded processes will fail a test and are killed before the next one.
Moved start_gcode to actual start of gcode commands

This allows for the start_gcode field to be used to switch on the PSU. 

(current version has a bug that means that if you set a first layer bed temperature in the options, you never get a chance to switch on your PSU and your printer just sits there waiting for the bed to heat up without power.)
Detecting installed software packages through puppet plugin

Puppet plugin save installed software packages into `SoftwareModel` and adds version number package. 
This information is taken from key `packages`.
Key value contains the names of packages with their version numbers separated `,`
Example:
`'packages' : 'apache2 1.2.22-1ubuntu1,mysql-client 5.5.28-0ubuntu0.12.04.2,'`


Installed packages on device has been added in  tab **Software** in DeviceView

Build ok:
http://ralph.allegrogroup.com/buildbot/builders/unittest-ralph-quamilek/builds/48
Fixes in deployment form and plugins
Fix for issue 14, and probably issue 11 as well. 

This fixes issue 14 - corruption of results when a row has any null entries. 

Changed FindMap to ignore columns with null values, rather than trying to set them to nil, which results in corruption of other columns, as presumably result[key] was invalid.

I think it's more desirable to leave null columns alone rather than setting them to blank anyway, as null is not considered the same as blank in sql.
Çalışma tamamlandı.

5 Ağustos Pazar öğleden sonra başladığım çalışmayı tamamladım.
Fix broken installation on test network, by patching test master script
fixed unquoted oldColumnName when changing column definition in MySQL

before: 
```ALTER TABLE AlertCondition CHANGE fulltext `fulltext` VARCHAR(255) DEFAULT NULL``` failed.

after: 
```ALTER TABLE AlertCondition CHANGE `fulltext` `fulltext` VARCHAR(255) DEFAULT NULL``` passes.
Issue 1313 will conference branch

Made changes to the jsp and preview
Fixed-Issue #27

Fixed the issue
Issue 560 permission inheriting content
fixes #1749 - tested on scc

This bug only was only apparent with multi-file uploads and webdav.  Normal file uploads worked fine.
Enyo ENYO-655

Android <textarea> doesn't like being positioned with CSS transforms.

Modified positionControl() in Arranger.js to not use CSS transforms to position panels on Android.
Assets considered multiple times, classical calculator

Addresses: https://bugs.launchpad.net/openquake/+bug/999028.
Fixes #70. Revert case of cookie header key back to "Cookie"
Add |18n

Fix [#3](https://github.com/hopsoft/coast/issues/3).
Bean convention
Replaced `typeof` check in line 28 with a more efficient alternative

There's no need to use typeof (hence creating extra overhead) -- just check using boolean coercion.
Suggest to post a comment when down vote a quote

![Screen Shot 2012-12-15 at 12 55 49 AM](https://f.cloud.github.com/assets/184520/13580/8c1f6006-460a-11e2-9c64-f4ac1b4b13b3.png)

It's cute, isn't it?
fix MADLIB-649

If the user provided ID is not unique, we should report an explicit error.

Currently, we do not report error at all. If we perform several join operation based on the supplied data, the performance degrades very quickly with the expanded data.
SVM: madlib 690

This commit includes the fix for svm_predict_combo, lsvm_predict_batch and lsvm_predict_combo.
Remove shapely dependency from python plugin tests

Addressing comments in pull request 1337 which has already been merged, this removes Shapely dependencies in the test.
Buffer size passed to snprintf is wrong in rate code
fixed built-in function TypeError and mathlog example

python examples/mathlog.py 
Traceback (most recent call last):
  File "examples/mathlog.py", line 9, in <module>
    clime.main()
  File "/Users/ben_wei/src/github/clime/clime.py", line 306, in main
    prog(sys.argv[1:])
  File "/Users/ben_wei/src/github/clime/clime.py", line 264, in __call__
    self.help()
  File "/Users/ben_wei/src/github/clime/clime.py", line 240, in help
    usages = self.get_cmds_usages()
  File "/Users/ben_wei/src/github/clime/clime.py", line 225, in get_cmds_usages
    return [ Command(func).get_usage() for func in self.funcs.values() ]
  File "/Users/ben_wei/src/github/clime/clime.py", line 54, in __init__
    spec = inspect.getargspec(func)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/inspect.py", line 813, in getargspec
    raise TypeError('{!r} is not a Python function'.format(func))
TypeError: <built-in function log> is not a Python function
[781784] Bring in the templates from old input.

f?
State system improvements

A handful of enhancements involving the state system:

* Experiment pausing is now supported.  Dynamic stimuli automatically pause/resume with the experiment, but I/O devices do not.
* `State::isInterruptible` now returns true if and only if the given state *and* all its ancestor states are interruptible; this makes uninterruptible container states work like you'd expect
* TaskSystemState now behaves like other container states with respect to enclosed actions, meaning the task system can be stopped or paused in the middle of the action list
* The standalone "wait" action is now interruptible
* `StandardStateSystem::stop` now sets `state_system_mode` to STOPPING rather than IDLE, so that I/O devices keep running if the experiment is in an uninterruptible state and can't stop immediately
* Eliminated some message duplication in the server console
* Some fixes and cleanup in StateSystem, State, and Component
uudeview: update fails_with build to 421

- This still fails with clang @ XCode-4.5.1, clang-4.1 build 421.
- Update the formula.
- Works with superenv
Added new Formula to build SlowHTTPTest

SlowHTTPTest is a highly configurable tool that simulates some Application Layer Denial of Service attacks.

This project utilizes a standard configure, make, make install build system that respects the --prefix parameter.  The project builds with the "stock" formula created by homebrew.  I simply added a reasonable test case and verified the project didn't install anything outside of the prefix.

Project page: http://code.google.com/p/slowhttptest/
Rename heroku-toolbelt to heroku-client

See explanation at https://github.com/mxcl/homebrew/commit/7bb7b3c0f60495bd9d8166a8744b199c86632b92#commitcomment-2048001
New formula: liblinear

LIBLINEAR is a simple package for solving large-scale regularized linear classification.

Please help review, thanks!
fontforge: force 10.7 SDK, fix hard-coded includes

fontforge fails to build on 10.8 due to being designed for 10.7
through the use of `<FlatCarbon/Files.h>`.  Force the formula
to use 10.7 SDK.  Patch the hard-coded paths with the HB variable
`MacOS.sdk_path(10.7)}` as needed.  Tested on 10.8 using clang
and from XCode-4.4.1.

Fixes #14421
Fix for latex2rtf

Fixes error in compilation, when $(PLATFORM) is set to Darwin, must instead be set to -DUNIX
Very simple js console switcher.

Better alternative to https://github.com/owncloud/core/pull/427
This way there's no need to change existing console.' calls and it will also disable them in 3rd party apps and libs.

Thanks @VicDeo :-)
[es] fix makeebooks to insert figures correctly when lang == es

When you run makeebooks script with parameter for spanish translation
(es) the result didn't render the figures. I've solved it adding a
couple of lines to makeebooks.
fix: getStringValue -> getPrintableValue
get the release for my personal branch
Spelling / Grammar

I found some small spelling errors in the "burn after reading" view and the readme.
DList MonadPlus
对项目结构进行了一些优化

如题，你可以考虑使用新的结构
Background image moved to pageStack

Also opacity function changed
Hprico duplicate IDs pull request

Hey I tried to solve the problem with duplicate IDs in Hpricot. Please have a look and let me know. Not sure if more complicated cases work. I use it solely for downloading pruposes and that seems to work.
Develop

a bunch of fixes and additions on texturefx
phew... 
now going back to finish cubemapfx :)
Make QNetworkAccessManager global

The ServerBrowser uses QNetworkAccessManager for HTTP requests.
Normally an application uses a single QNetworkAccessManager instance so
that cookies and other state are shared.

This patch moves QNetworkAccessManager out of ServerBrowser and gives it
a global variable that is initialized in main().

The ConnectDialog and ServerBrowser constructors need to take the
QNetworkAccessManager as an argument.  They do not take advantage of the
global so to keep the classes decoupled and easily reusable.

Note that the comment in ServerBrowser about deleting reply objects is
outdated - we already connect the finish() signal to
reply->deleteLater().  It is safe to drop the comment, the reply object
will be freed.

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Removal of terminated pipes from inproc and ignoring peer ends

Sorry, at least now I know what "comment and close" means ..
Einige Rechtsschreibfehler in einigen Dateien beseitigt und unnütze Copyrightjahr-Berichtigungen vorgenommen, und ich würde mich freuen wenn diese Änderungen in Invertika aufgenommen würden.
iw-selphi-timlet-hotel-central-o00-o00-n01 Tische aus dem Fringe-Layer in den Ground-Layer verschoben

http://www.abload.de/img/ivk_screenshot_5ntuxo.png

http://www.abload.de/img/bildschirmfotovom2012w3uqv.png

http://www.abload.de/img/bildschirmfotovom2012g9zcl.png
DroxPerms update.

Couple changes here - DroxPerms 0.4.0 has methods
for getting a list of groups, so now DroxPerms is 100% Vault
compatible. *woo*
UPnP implemented directly in Spout.

Signed-off-by: William Lebel <lebelwilliam@gmail.com>
A final set of tweaks for the first round of audio player changes.
Attemp to fix closing connection bug

Hi.

Here is a patch thats should fixes the Closing connection issue [https://github.com/abarisain/dmix/issues/36]  by properly closing both mpdConnection and mpdIdleConnection sockets.

JC
Add info dialog for live development and improve wording

Fixes #1050 and #1537.

* Adds an info dialog the first time you use Live Preview that explains what it does and that it only works for CSS files with Chrome right now.
* Improves the wording in the "relaunch Chrome" dialog that makes it clear that it's not an error.
* Changes the command name from "Live File Preview" to "Live Preview" (we might change it again, but this at least makes it consistent everywhere right now).
Added Language Switching

I noticed several people offering to do localization work. To help these people, I added a basic localization infrastructure to Brackets and an option to switch languages from the Debug menu.

Localizations are added to the strings folder using their ISO language and country names (en-US for American English). These localizations show up when initiating the switch language command. The language preference is stored in localStorage.

If things break (e.g., the language file is deleted after enabling it in Brackets), the user must manually reset the localStore (window.localStore.removeItem("language") ). This is no state that can occur under normal conditions but might happen as people play around with this.

All code is JSLinted.
* Help with loading filesystem after apf is inited.

Fixes ajaxorg/cloud9infra#1290
Fix/apf debug

Fixes #271 (and a pet peeve).
Change to accomodate --bpp arg setting

The --bpp arg was added to LOAD81 - this change accommodates this new arg, setting the bpp for the Open Pandora to 16.  NOTE: --bpp 32 breaks Alpha, --bpp 24 reduces framerate to 20fps, --bpp 16 produces acceptable color depth and average of 30fps
Scan

Before:

```
benchmarking scan/short
mean: 358.0328 ns, lb 345.5312 ns, ub 373.1948 ns, ci 0.950
std dev: 70.45989 ns, lb 59.70583 ns, ub 85.89838 ns, ci 0.950

benchmarking scan/long
mean: 5.743816 us, lb 5.609002 us, ub 5.976789 us, ci 0.950
std dev: 885.7352 ns, lb 583.6299 ns, ub 1.306541 us, ci 0.950
```

After:

```
benchmarking scan/short
mean: 129.9878 ns, lb 129.4059 ns, ub 130.7030 ns, ci 0.950
std dev: 3.287788 ns, lb 2.764916 ns, ub 4.086365 ns, ci 0.950

benchmarking scan/long
mean: 5.709869 us, lb 5.579818 us, ub 5.909338 us, ci 0.950
std dev: 811.9284 ns, lb 591.1549 ns, ub 1.113595 us, ci 0.950
found 13 outliers among 100 samples (13.0%)
```
Attach play/pause shortcut to controller and create global show/hide controller shortcut

Fixes #88.
run failure hooks if job cannot be found

wraps the entire Resque::Job#perform method in a rescue. now it includes Resque::Job#payload_class.

Currently functionality is the job gets tossed if the job class cannot be found. At least now the failure hooks would run and potentially notify about the error.
Load bundle for tests

This got the tests green for us -- as an alternative to #669
make app title link to project info page
Real example and documentation

As asked in #4, here are the nodejs and requirejs example and a bit of documentation.

Sorry for the number of commits, I wanted to force github to switch from text to markDown readme.
I got no time right no to improve the doc, I may come back later.
Better pluralizer
switches pg to sqlite3
Use Ext.Loader for mappanel example
Added support fot html compression

I added support for html compression through [htmlcompressor](https://code.google.com/p/htmlcompressor/).
I tested the new gem and it seams to work without any problem.

Please, review the changes in this commit 45703fd because I do not know if these options would be acceptable to all users.
README: Fix some typos.
Allow for configurable group separator

I had a need for using a different group separator other than the '/' character. I'm not sure if this is useful to others, but figured I'd share.
Strictcompiler

Fixes some compile issues when a project is set up with very strict compiler settings.
JSDoc for admin site JS files
Fix wrong merge using for options
Update map boundaries after image processing

Newest version, pushes the map boundaries to the server via a /maps/id PUT request.
support Github Enterprise

I want to use gist-vim on Github Enterprise.

```vim
let g:github_api_url = 'http://your-github-enterprise-domain/api/v3'
```
Implement System.gcDo, ozProtect and ozUnprotect.

Some minor changes for the GC.

## System.gcDo

The VM now has an extra boolean, which when set to true will force GC in the next `vm->run()`. This is based on the implementation of that in VM 1.4.

## `ozProtect` and `ozUnprotect`

Similar to OZ_protect and OZ_unprotect in VM 1.4, they prevent a node from being freed after a GC, to safely store Oz nodes inside a C pointer in long term. However, **their usage is
distinct from that of 1.4**. Commit 8165013 described in depth the new API. I didn't made it work like VM 1.4, as I can't think of a safe way to implement that :)

Implementation-wise, the protected nodes in this pull request form a hash set of stable node references (similar to BoostBasedVM::_asyncIONodes), while in VM 1.4 it was a singly linked
list of reference-counted pointers of terms. I did not implement the reference-counting part, and I'm sure protecting the same node twice won't cause problem (it will just create two
different stable node references to the same stable node).
T1191
Add preliminary support for SELinux context setting and getting

Adds restorecon, get_context and set_context methods to modules/selinux.py. I intend to add more SELinux related code this coming weeks.
Replace AHC use with httpclient, though this is once again missing query...

...-string params

example using httpclient4
Add the ability to publish releases to the maven central repository.

This set of changes allow chisel to published to the maven central repository as described in [this guide](http://www.cakesolutions.net/teamblogs/2012/01/28/publishing-sbt-projects-to-nexus/).

Major changes include:
* Upgrade to sbt 0.11.3 (so that we can use the gpg plugin to sign releases)
* Add new sbt launcher to the repository for easy building (chisel can now be build by invoking `bin/sbt`)
* Move source code from `src` to `src/main/scala` to follow standard sbt conventions.

The usage of SBT changes slightly from 0.7X to 0.11.x so you'll probably want to let all the other developers know before merging this into master.  However, the incremental compiler is a lot better so probably worth the overhead of switching.

Other things that remain to be done:
* Finish filling in contributor details in build.sbt (right now Jonathan is the only person listed)
* Actually publish a release (just let me know what when you are ready and what version you want to use)

Note, that in order to publish a release you need to sign up for an account with sonatype as described in this [step by step](https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide#SonatypeOSSMavenRepositoryUsageGuide-11.WhatDoPeopleThinkAboutOSSRH).  You will also need to install GnuPG and create a key.
重构了整个页面，调整了目录结构，删除无用信息。

原来的页面滥用了\<table>标签，删除了大部分这样的代码。
除此之外还有很多大的调整。
Fixes #153 for bad call to abs()

In the planner, some calls to abs() are made with a float value. In order to be C-compliant, these calls have to be changed to fabs() to avoid integer truncation errors.
Issue #120: Preserve original key event.

In case key strokes do not go through a key map, they come attached with
the original NSEvent. When toEvent is called and an NSEvent is attached,
just return that, otherwise (eg. from key maps) synthesise one.
textmate tweak

I was slightly overzealous with my source annotation and ended up getting syntax hilighting on brackets in function calls, etc.
Update Facebook endpoint to prevent unnecessary HTTP redirects

Facebook now redirects (via a 301 response) all requests to /sharer.php to /sharer/sharer.php

You can verify the behavior using Charles or Fiddler. Below is the redirection response for https://www.facebook.com/share.php

```HTTP/1.1 301 Moved Permanently
Cache-Control: private, no-cache, no-store, must-revalidate
Expires: Sat, 01 Jan 2000 00:00:00 GMT
Location: https://www.facebook.com/sharer/sharer.php
P3P: CP="Facebook does not have a P3P policy. Learn why here: http://fb.me/p3p"
Pragma: no-cache
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
Set-Cookie: wd=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/; domain=.facebook.com; httponly
Content-Type: text/html; charset=utf-8
X-FB-Debug: dTFcisqpTCXH4R8s81kLbq4x/5ETctBtfSHc54Bx2X8=
Date: Thu, 18 Oct 2012 03:44:38 GMT
Connection: keep-alive
Content-Length: 0```
Defines the client and the technicians list time and material spend on a...

... list, that can be incorporated into the webERP system.
preloader fixes
adding autofac type resolution as another Feature signature injection vector

DreamFeatures can now have types injected that are resolved from the request container

reviewed by andyv
Metrics event stream

Remove Strategy Injection on HystrixCommand
https://github.com/Netflix/Hystrix/issues/34

Add event-stream module and necessary changes to hystrix-core to support directly retrieving metrics from Hystrix rather than via something like Servo.
Fix: Solving dependency problem  where do_sqlite3 and arachni is asking for different specific version of data_objects

Solving dependency problem  where do_sqlite3 and arachni is asking for different specific version of data_objects 

i.e. solving this error message:
ERROR:  While executing gem ... (Gem::DependencyError)
    Unable to resolve dependencies: arachni requires data_objects (= 0.10.7); dm-do-adapter requires data_objects (~> 0.10.2); do_sqlite3 requires data_objects (= 0.10.8)
Browser testing 4

Todays browser fixes. The associated commits will now be tagged as 'pull-request' until this is merged.

Associated pull requests:

alphagov/frontend#92
alphagov/licence-finder#18
Exit when unable to load the address in examples/rasterize.js 

Missing the phatom.exit() in case when the address cannot be loaded.
Filter out whitespace and zero-width non-breaking spaces in validator

- Fixes issues with copy/pasting from web or html emails (#1325)
Update Classes/SDKFiles/BoxLoginViewController.m

Changed loadView to handle landscape orientation
Merged upstream with my master

Merged upstream with my master