Merge lp://staging/~ghugesss/xpad/debug_support into lp://staging/xpad

Proposed by Sagar Ghuge
Status: Merged
Merged at revision: 715
Proposed branch: lp://staging/~ghugesss/xpad/debug_support
Merge into: lp://staging/xpad
Diff against target: 283 lines (+244/-1)
4 files modified
src/Makefile.am (+2/-1)
src/xpad-app.c (+4/-0)
src/xpad-debug.c (+171/-0)
src/xpad-debug.h (+67/-0)
To merge this branch: bzr merge lp://staging/~ghugesss/xpad/debug_support
Reviewer Review Type Date Requested Status
Arthur Borsboom Pending
Review via email: mp+242746@code.staging.launchpad.net
To post a comment you must log in.
Revision history for this message
Arthur Borsboom (arthurborsboom) wrote :
Download full text (11.2 KiB)

Hi Sagar,

When I asked for the merge request I was actually referring to the bug
report of the improved headers.
Although it shouldn't matter to much in which order I merge the branches,
is the debugging branch already finished?

If so, I will merge this one first and then the header one.

Cheers,

On 25 November 2014 at 10:09, Sagar Ghuge <email address hidden> wrote:

> Sagar Ghuge has proposed merging lp:~ghugesss/xpad/debug_support into
> lp:xpad.
>
> Requested reviews:
> Arthur Borsboom (arthurborsboom)
> Related bugs:
> Bug #1389334 in Xpad: "Allowing Debug option in Xpad"
> https://bugs.launchpad.net/xpad/+bug/1389334
>
> For more details, see:
> https://code.launchpad.net/~ghugesss/xpad/debug_support/+merge/242746
> --
> You are requested to review the proposed merge of
> lp:~ghugesss/xpad/debug_support into lp:xpad.
>
> === modified file 'src/Makefile.am'
> --- src/Makefile.am 2014-10-02 22:14:44 +0000
> +++ src/Makefile.am 2014-11-25 09:08:40 +0000
> @@ -17,7 +17,8 @@
> xpad-text-view.c xpad-text-view.h \
> xpad-toolbar.c xpad-toolbar.h \
> xpad-tray.c xpad-tray.h \
> - xpad-undo.c xpad-undo.h
> + xpad-undo.c xpad-undo.h \
> + xpad-debug.c xpad-debug.h
>
> AM_CFLAGS = @GTK_CFLAGS@ @X_CFLAGS@ @DEBUG_CFLAGS@
> @GTK_SOURCE_VIEW_CFLAGS@ -DDATADIR=\"$(datadir)\"
> xpad_LDADD = @X_PRE_LIBS@ @X_LIBS@ @X_EXTRA_LIBS@ @GTK_LIBS@ @INTLLIBS@
> @BINRELOC_LIBS@ @GTK_SOURCE_VIEW_LIBS@
>
> === modified file 'src/xpad-app.c'
> --- src/xpad-app.c 2014-11-22 12:14:17 +0000
> +++ src/xpad-app.c 2014-11-25 09:08:40 +0000
> @@ -40,6 +40,7 @@
> #include "xpad-periodic.h"
> #include "xpad-session-manager.h"
> #include "xpad-tray.h"
> +#include "xpad-debug.h"
>
> /* Seems that some systems (sun-sparc-solaris2.8 at least), need the
> following three #defines.
> These were provided by Alan Mizrahi <email address hidden>.
> @@ -94,6 +95,9 @@
> gboolean first_time;
> gboolean have_gtk;
>
> + xpad_debug_init();
> + xpad_debug_message (DEBUG_APP, "Startup");
> +
> /* Set up support different languages */
> #ifdef ENABLE_NLS
> bindtextdomain (GETTEXT_PACKAGE, LOCALE_DIR);
>
> === added file 'src/xpad-debug.c'
> --- src/xpad-debug.c 1970-01-01 00:00:00 +0000
> +++ src/xpad-debug.c 2014-11-25 09:08:40 +0000
> @@ -0,0 +1,171 @@
> +/*
> + * xpad-debug.c
> + * This file is part of xpad
> + *
> + * Copyright (C) 2014 - 2015 Sagar Ghuge
> + *
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License as published by
> + * the Free Software Foundation; either version 2 of the License, or
> + * (at your option) any later version.
> + *
> + * This program is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> + * GNU General Public License for more details.
> + *
> + * You should have received a copy of the GNU General Public License
> + * along with this program; if not, see <http://www.gnu.org/licenses/>.
> + */
> +
> +#ifdef HAVE_CONFIG_H
> +#i...

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches