GitHub PullRequestReviewCommentEvent at 2014-08-25 18:07:01
Repository: xapian-glib
Actor: wgreenberg
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/endlessm/xapian-glib/pulls/comments/16670032","id":16670032,"diff_hunk":"@@ -0,0 +1,60 @@\n+/* Copyright 2014  Endless Mobile\n+ *\n+ * This program is free software; you can redistribute it and/or\n+ * modify it under the terms of the GNU General Public License as\n+ * published by the Free Software Foundation; either version 2 of the\n+ * License, or (at your option) any later version.\n+ *\n+ * This program is distributed in the hope that it will be useful,\n+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\n+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+ * GNU General Public License for more details.\n+ *\n+ * You should have received a copy of the GNU General Public License\n+ * along with this program. If not, see <http://www.gnu.org/licenses/>.\n+ */\n+\n+#ifndef __XAPIAN_GLIB_SIMPLE_STOPPER_H__\n+#define __XAPIAN_GLIB_SIMPLE_STOPPER_H__\n+\n+#if !defined(XAPIAN_GLIB_H_INSIDE) && !defined(XAPIAN_GLIB_COMPILATION)\n+#error \"Only <xapian-glib.h> can be included directly.\"\n+#endif\n+\n+#include \"xapian-glib-types.h\"\n+#include \"xapian-stopper.h\"\n+\n+G_BEGIN_DECLS\n+\n+#define XAPIAN_SIMPLE_STOPPER(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), XAPIAN_TYPE_SIMPLE_STOPPER, XapianSimpleStopper))\n+#define XAPIAN_IS_SIMPLE_STOPPER(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), XAPIAN_TYPE_SIMPLE_STOPPER))\n+#define XAPIAN_SIMPLE_STOPPER_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), XAPIAN_TYPE_SIMPLE_STOPPER, XapianSimpleStopperClass))\n+#define XAPIAN_IS_SIMPLE_STOPPER_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), XAPIAN_TYPE_SIMPLE_STOPPER))\n+#define XAPIAN_SIMPLE_STOPPER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), XAPIAN_TYPE_SIMPLE_STOPPER, XapianSimpleStopperClass))\n+\n+typedef struct _XapianSimpleStopper           XapianSimpleStopper;\n+typedef struct _XapianSimpleStopperClass      XapianSimpleStopperClass;\n+\n+struct _XapianSimpleStopper\n+{\n+  XapianStopper parent_instance;\n+};\n+\n+struct _XapianSimpleStopperClass\n+{\n+  XapianStopperClass parent_instance;\n+};\n+\n+XAPIAN_GLIB_AVAILABLE_IN_1_2\n+GType xapian_simple_stopper_get_type (void);\n+","path":"xapian-glib/xapian-simple-stopper.h","position":50,"original_position":50,"commit_id":"ddbf34e8f21cdc5e93aeba286164e40e3ec5bd97","original_commit_id":"9e5e021efec5d4555a526ade5353660eeaf1be57","user":{"login":"wgreenberg","id":626277,"avatar_url":"https://avatars.githubusercontent.com/u/626277?v=2","gravatar_id":"f5e8b2c07199d497fdb565a9786f33d2","url":"https://api.github.com/users/wgreenberg","html_url":"https://github.com/wgreenberg","followers_url":"https://api.github.com/users/wgreenberg/followers","following_url":"https://api.github.com/users/wgreenberg/following{/other_user}","gists_url":"https://api.github.com/users/wgreenberg/gists{/gist_id}","starred_url":"https://api.github.com/users/wgreenberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wgreenberg/subscriptions","organizations_url":"https://api.github.com/users/wgreenberg/orgs","repos_url":"https://api.github.com/users/wgreenberg/repos","events_url":"https://api.github.com/users/wgreenberg/events{/privacy}","received_events_url":"https://api.github.com/users/wgreenberg/received_events","type":"User","site_admin":false},"body":"added this","created_at":"2014-08-25T18:07:01Z","updated_at":"2014-08-25T18:07:01Z","html_url":"https://github.com/endlessm/xapian-glib/pull/12#discussion_r16670032","pull_request_url":"https://api.github.com/repos/endlessm/xapian-glib/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/endlessm/xapian-glib/pulls/comments/16670032"},"html":{"href":"https://github.com/endlessm/xapian-glib/pull/12#discussion_r16670032"},"pull_request":{"href":"https://api.github.com/repos/endlessm/xapian-glib/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/endlessm/xapian-glib/pulls/12","id":19805327,"html_url":"https://github.com/endlessm/xapian-glib/pull/12","diff_url":"https://github.com/endlessm/xapian-glib/pull/12.diff","patch_url":"https://github.com/endlessm/xapian-glib/pull/12.patch","issue_url":"https://api.github.com/repos/endlessm/xapian-glib/issues/12","number":12,"state":"open","locked":false,"title":"Stopper","user":{"login":"wgreenberg","id":626277,"avatar_url":"https://avatars.githubusercontent.com/u/626277?v=2","gravatar_id":"f5e8b2c07199d497fdb565a9786f33d2","url":"https://api.github.com/users/wgreenberg","html_url":"https://github.com/wgreenberg","followers_url":"https://api.github.com/users/wgreenberg/followers","following_url":"https://api.github.com/users/wgreenberg/following{/other_user}","gists_url":"https://api.github.com/users/wgreenberg/gists{/gist_id}","starred_url":"https://api.github.com/users/wgreenberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wgreenberg/subscriptions","organizations_url":"https://api.github.com/users/wgreenberg/orgs","repos_url":"https://api.github.com/users/wgreenberg/repos","events_url":"https://api.github.com/users/wgreenberg/events{/privacy}","received_events_url":"https://api.github.com/users/wgreenberg/received_events","type":"User","site_admin":false},"body":"Implements Xapian::Stopper and Xapian::SimpleStopper, fixes #11 ","created_at":"2014-08-14T18:26:03Z","updated_at":"2014-08-25T18:07:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5559bc5e4f393577d4f78463524fce98587fb939","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/endlessm/xapian-glib/pulls/12/commits","review_comments_url":"https://api.github.com/repos/endlessm/xapian-glib/pulls/12/comments","review_comment_url":"https://api.github.com/repos/endlessm/xapian-glib/pulls/comments/{number}","comments_url":"https://api.github.com/repos/endlessm/xapian-glib/issues/12/comments","statuses_url":"https://api.github.com/repos/endlessm/xapian-glib/statuses/ddbf34e8f21cdc5e93aeba286164e40e3ec5bd97","head":{"label":"endlessm:stopper","ref":"stopper","sha":"ddbf34e8f21cdc5e93aeba286164e40e3ec5bd97","user":{"login":"endlessm","id":1930958,"avatar_url":"https://avatars.githubusercontent.com/u/1930958?v=2","gravatar_id":"26f958d3516cd28adb8d7ad795874c72","url":"https://api.github.com/users/endlessm","html_url":"https://github.com/endlessm","followers_url":"https://api.github.com/users/endlessm/followers","following_url":"https://api.github.com/users/endlessm/following{/other_user}","gists_url":"https://api.github.com/users/endlessm/gists{/gist_id}","starred_url":"https://api.github.com/users/endlessm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endlessm/subscriptions","organizations_url":"https://api.github.com/users/endlessm/orgs","repos_url":"https://api.github.com/users/endlessm/repos","events_url":"https://api.github.com/users/endlessm/events{/privacy}","received_events_url":"https://api.github.com/users/endlessm/received_events","type":"Organization","site_admin":false},"repo":{"id":19084472,"name":"xapian-glib","full_name":"endlessm/xapian-glib","owner":{"login":"endlessm","id":1930958,"avatar_url":"https://avatars.githubusercontent.com/u/1930958?v=2","gravatar_id":"26f958d3516cd28adb8d7ad795874c72","url":"https://api.github.com/users/endlessm","html_url":"https://github.com/endlessm","followers_url":"https://api.github.com/users/endlessm/followers","following_url":"https://api.github.com/users/endlessm/following{/other_user}","gists_url":"https://api.github.com/users/endlessm/gists{/gist_id}","starred_url":"https://api.github.com/users/endlessm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endlessm/subscriptions","organizations_url":"https://api.github.com/users/endlessm/orgs","repos_url":"https://api.github.com/users/endlessm/repos","events_url":"https://api.github.com/users/endlessm/events{/privacy}","received_events_url":"https://api.github.com/users/endlessm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/endlessm/xapian-glib","description":"GObject bindings for Xapian","fork":false,"url":"https://api.github.com/repos/endlessm/xapian-glib","forks_url":"https://api.github.com/repos/endlessm/xapian-glib/forks","keys_url":"https://api.github.com/repos/endlessm/xapian-glib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/endlessm/xapian-glib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/endlessm/xapian-glib/teams","hooks_url":"https://api.github.com/repos/endlessm/xapian-glib/hooks","issue_events_url":"https://api.github.com/repos/endlessm/xapian-glib/issues/events{/number}","events_url":"https://api.github.com/repos/endlessm/xapian-glib/events","assignees_url":"https://api.github.com/repos/endlessm/xapian-glib/assignees{/user}","branches_url":"https://api.github.com/repos/endlessm/xapian-glib/branches{/branch}","tags_url":"https://api.github.com/repos/endlessm/xapian-glib/tags","blobs_url":"https://api.github.com/repos/endlessm/xapian-glib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/endlessm/xapian-glib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/endlessm/xapian-glib/git/refs{/sha}","trees_url":"https://api.github.com/repos/endlessm/xapian-glib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/endlessm/xapian-glib/statuses/{sha}","languages_url":"https://api.github.com/repos/endlessm/xapian-glib/languages","stargazers_url":"https://api.github.com/repos/endlessm/xapian-glib/stargazers","contributors_url":"https://api.github.com/repos/endlessm/xapian-glib/contributors","subscribers_url":"https://api.github.com/repos/endlessm/xapian-glib/subscribers","subscription_url":"https://api.github.com/repos/endlessm/xapian-glib/subscription","commits_url":"https://api.github.com/repos/endlessm/xapian-glib/commits{/sha}","git_commits_url":"https://api.github.com/repos/endlessm/xapian-glib/git/commits{/sha}","comments_url":"https://api.github.com/repos/endlessm/xapian-glib/comments{/number}","issue_comment_url":"https://api.github.com/repos/endlessm/xapian-glib/issues/comments/{number}","contents_url":"https://api.github.com/repos/endlessm/xapian-glib/contents/{+path}","compare_url":"https://api.github.com/repos/endlessm/xapian-glib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/endlessm/xapian-glib/merges","archive_url":"https://api.github.com/repos/endlessm/xapian-glib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/endlessm/xapian-glib/downloads","issues_url":"https://api.github.com/repos/endlessm/xapian-glib/issues{/number}","pulls_url":"https://api.github.com/repos/endlessm/xapian-glib/pulls{/number}","milestones_url":"https://api.github.com/repos/endlessm/xapian-glib/milestones{/number}","notifications_url":"https://api.github.com/repos/endlessm/xapian-glib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/endlessm/xapian-glib/labels{/name}","releases_url":"https://api.github.com/repos/endlessm/xapian-glib/releases{/id}","created_at":"2014-04-23T20:29:18Z","updated_at":"2014-08-14T00:43:10Z","pushed_at":"2014-08-25T18:06:43Z","git_url":"git://github.com/endlessm/xapian-glib.git","ssh_url":"git@github.com:endlessm/xapian-glib.git","clone_url":"https://github.com/endlessm/xapian-glib.git","svn_url":"https://github.com/endlessm/xapian-glib","homepage":null,"size":1066,"stargazers_count":3,"watchers_count":3,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":3,"default_branch":"master"}},"base":{"label":"endlessm:master","ref":"master","sha":"92ed846fc121bbecdce6f3ed4fdfed8de1423495","user":{"login":"endlessm","id":1930958,"avatar_url":"https://avatars.githubusercontent.com/u/1930958?v=2","gravatar_id":"26f958d3516cd28adb8d7ad795874c72","url":"https://api.github.com/users/endlessm","html_url":"https://github.com/endlessm","followers_url":"https://api.github.com/users/endlessm/followers","following_url":"https://api.github.com/users/endlessm/following{/other_user}","gists_url":"https://api.github.com/users/endlessm/gists{/gist_id}","starred_url":"https://api.github.com/users/endlessm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endlessm/subscriptions","organizations_url":"https://api.github.com/users/endlessm/orgs","repos_url":"https://api.github.com/users/endlessm/repos","events_url":"https://api.github.com/users/endlessm/events{/privacy}","received_events_url":"https://api.github.com/users/endlessm/received_events","type":"Organization","site_admin":false},"repo":{"id":19084472,"name":"xapian-glib","full_name":"endlessm/xapian-glib","owner":{"login":"endlessm","id":1930958,"avatar_url":"https://avatars.githubusercontent.com/u/1930958?v=2","gravatar_id":"26f958d3516cd28adb8d7ad795874c72","url":"https://api.github.com/users/endlessm","html_url":"https://github.com/endlessm","followers_url":"https://api.github.com/users/endlessm/followers","following_url":"https://api.github.com/users/endlessm/following{/other_user}","gists_url":"https://api.github.com/users/endlessm/gists{/gist_id}","starred_url":"https://api.github.com/users/endlessm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endlessm/subscriptions","organizations_url":"https://api.github.com/users/endlessm/orgs","repos_url":"https://api.github.com/users/endlessm/repos","events_url":"https://api.github.com/users/endlessm/events{/privacy}","received_events_url":"https://api.github.com/users/endlessm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/endlessm/xapian-glib","description":"GObject bindings for Xapian","fork":false,"url":"https://api.github.com/repos/endlessm/xapian-glib","forks_url":"https://api.github.com/repos/endlessm/xapian-glib/forks","keys_url":"https://api.github.com/repos/endlessm/xapian-glib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/endlessm/xapian-glib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/endlessm/xapian-glib/teams","hooks_url":"https://api.github.com/repos/endlessm/xapian-glib/hooks","issue_events_url":"https://api.github.com/repos/endlessm/xapian-glib/issues/events{/number}","events_url":"https://api.github.com/repos/endlessm/xapian-glib/events","assignees_url":"https://api.github.com/repos/endlessm/xapian-glib/assignees{/user}","branches_url":"https://api.github.com/repos/endlessm/xapian-glib/branches{/branch}","tags_url":"https://api.github.com/repos/endlessm/xapian-glib/tags","blobs_url":"https://api.github.com/repos/endlessm/xapian-glib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/endlessm/xapian-glib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/endlessm/xapian-glib/git/refs{/sha}","trees_url":"https://api.github.com/repos/endlessm/xapian-glib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/endlessm/xapian-glib/statuses/{sha}","languages_url":"https://api.github.com/repos/endlessm/xapian-glib/languages","stargazers_url":"https://api.github.com/repos/endlessm/xapian-glib/stargazers","contributors_url":"https://api.github.com/repos/endlessm/xapian-glib/contributors","subscribers_url":"https://api.github.com/repos/endlessm/xapian-glib/subscribers","subscription_url":"https://api.github.com/repos/endlessm/xapian-glib/subscription","commits_url":"https://api.github.com/repos/endlessm/xapian-glib/commits{/sha}","git_commits_url":"https://api.github.com/repos/endlessm/xapian-glib/git/commits{/sha}","comments_url":"https://api.github.com/repos/endlessm/xapian-glib/comments{/number}","issue_comment_url":"https://api.github.com/repos/endlessm/xapian-glib/issues/comments/{number}","contents_url":"https://api.github.com/repos/endlessm/xapian-glib/contents/{+path}","compare_url":"https://api.github.com/repos/endlessm/xapian-glib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/endlessm/xapian-glib/merges","archive_url":"https://api.github.com/repos/endlessm/xapian-glib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/endlessm/xapian-glib/downloads","issues_url":"https://api.github.com/repos/endlessm/xapian-glib/issues{/number}","pulls_url":"https://api.github.com/repos/endlessm/xapian-glib/pulls{/number}","milestones_url":"https://api.github.com/repos/endlessm/xapian-glib/milestones{/number}","notifications_url":"https://api.github.com/repos/endlessm/xapian-glib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/endlessm/xapian-glib/labels{/name}","releases_url":"https://api.github.com/repos/endlessm/xapian-glib/releases{/id}","created_at":"2014-04-23T20:29:18Z","updated_at":"2014-08-14T00:43:10Z","pushed_at":"2014-08-25T18:06:43Z","git_url":"git://github.com/endlessm/xapian-glib.git","ssh_url":"git@github.com:endlessm/xapian-glib.git","clone_url":"https://github.com/endlessm/xapian-glib.git","svn_url":"https://github.com/endlessm/xapian-glib","homepage":null,"size":1066,"stargazers_count":3,"watchers_count":3,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/endlessm/xapian-glib/pulls/12"},"html":{"href":"https://github.com/endlessm/xapian-glib/pull/12"},"issue":{"href":"https://api.github.com/repos/endlessm/xapian-glib/issues/12"},"comments":{"href":"https://api.github.com/repos/endlessm/xapian-glib/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/endlessm/xapian-glib/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/endlessm/xapian-glib/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/endlessm/xapian-glib/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/endlessm/xapian-glib/statuses/ddbf34e8f21cdc5e93aeba286164e40e3ec5bd97"}}}}