Skip to content

Commit

Permalink
Update headers etc. "brushlib" → "libmypaint"
Browse files Browse the repository at this point in the history
Closes mypaint#34.
  • Loading branch information
achadwick committed May 22, 2016
1 parent c3296b6 commit 74e4ec7
Show file tree
Hide file tree
Showing 25 changed files with 32 additions and 28 deletions.
2 changes: 1 addition & 1 deletion COPYING
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
brushlib - The MyPaint Brush Library
libmypaint - The MyPaint Brush Library
Copyright (C) 2008-2011 Martin Renold and contributors

Permission to use, copy, modify, and/or distribute this software for any
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,5 @@ in `po/POTFILES.in`.

### Documentation

Further documentation can be found in the MyPaint wiki:
<https://github.com/mypaint/mypaint/wiki/Brushlib>.
Further documentation can be found in the libmypaint wiki:
<https://github.com/mypaint/libmypaint/wiki>.
2 changes: 1 addition & 1 deletion brushmodes.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* brushlib - The MyPaint Brush Library
/* libmypaint - The MyPaint Brush Library
* Copyright (C) 2007-2014 Martin Renold <[email protected]> et. al
*
* Permission to use, copy, modify, and/or distribute this software for any
Expand Down
2 changes: 1 addition & 1 deletion gegl/mypaint-gegl-surface.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* brushlib - The MyPaint Brush Library
/* libmypaint - The MyPaint Brush Library
* Copyright (C) 2012 Jon Nordby <[email protected]>
*
* Permission to use, copy, modify, and/or distribute this software for any
Expand Down
2 changes: 1 addition & 1 deletion gegl/mypaint-gegl-surface.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef MYPAINTGEGLSURFACE_H
#define MYPAINTGEGLSURFACE_H

/* brushlib - The MyPaint Brush Library
/* libmypaint - The MyPaint Brush Library
* Copyright (C) 2012 Jon Nordby <[email protected]>
*
* Permission to use, copy, modify, and/or distribute this software for any
Expand Down
2 changes: 1 addition & 1 deletion helpers.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* brushlib - The MyPaint Brush Library
/* libmypaint - The MyPaint Brush Library
* Copyright (C) 2007-2008 Martin Renold <[email protected]>
*
* Permission to use, copy, modify, and/or distribute this software for any
Expand Down
2 changes: 1 addition & 1 deletion mypaint-brush-settings.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* brushlib - The MyPaint Brush Library
/* libmypaint - The MyPaint Brush Library
* Copyright (C) 2012 Jon Nordby <[email protected]>
*
* Permission to use, copy, modify, and/or distribute this software for any
Expand Down
2 changes: 1 addition & 1 deletion mypaint-brush-settings.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef MYPAINTBRUSHSETTINGS_H
#define MYPAINTBRUSHSETTINGS_H

/* brushlib - The MyPaint Brush Library
/* libmypaint - The MyPaint Brush Library
* Copyright (C) 2012 Jon Nordby <[email protected]>
*
* Permission to use, copy, modify, and/or distribute this software for any
Expand Down
2 changes: 1 addition & 1 deletion mypaint-brush.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* brushlib - The MyPaint Brush Library
/* libmypaint - The MyPaint Brush Library
* Copyright (C) 2007-2011 Martin Renold <[email protected]>
*
* Permission to use, copy, modify, and/or distribute this software for any
Expand Down
2 changes: 1 addition & 1 deletion mypaint-brush.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef MYPAINTBRUSH_H
#define MYPAINTBRUSH_H

/* brushlib - The MyPaint Brush Library
/* libmypaint - The MyPaint Brush Library
* Copyright (C) 2008 Martin Renold <[email protected]>
* Copyright (C) 2012 Jon Nordby <[email protected]>
*
Expand Down
2 changes: 1 addition & 1 deletion mypaint-mapping.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* brushlib - The MyPaint Brush Library
/* libmypaint - The MyPaint Brush Library
* Copyright (C) 2007-2008 Martin Renold <[email protected]>
*
* Permission to use, copy, modify, and/or distribute this software for any
Expand Down
2 changes: 1 addition & 1 deletion mypaint-rectangle.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* brushlib - The MyPaint Brush Library
/* libmypaint - The MyPaint Brush Library
* Copyright (C) 2008 Martin Renold <[email protected]>
* Copyright (C) 2012 Jon Nordby <[email protected]>
*
Expand Down
2 changes: 1 addition & 1 deletion mypaint-rectangle.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef MYPAINTRECTANGLE_H
#define MYPAINTRECTANGLE_H

/* brushlib - The MyPaint Brush Library
/* libmypaint - The MyPaint Brush Library
* Copyright (C) 2008 Martin Renold <[email protected]>
* Copyright (C) 2012 Jon Nordby <[email protected]>
*
Expand Down
2 changes: 1 addition & 1 deletion mypaint-surface.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* brushlib - The MyPaint Brush Library
/* libmypaint - The MyPaint Brush Library
* Copyright (C) 2008 Martin Renold <[email protected]>
* Copyright (C) 2012 Jon Nordby <[email protected]>
*
Expand Down
2 changes: 1 addition & 1 deletion mypaint-surface.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef MYPAINTSURFACE_H
#define MYPAINTSURFACE_H

/* brushlib - The MyPaint Brush Library
/* libmypaint - The MyPaint Brush Library
* Copyright (C) 2008 Martin Renold <[email protected]>
* Copyright (C) 2012 Jon Nordby <[email protected]>
*
Expand Down
2 changes: 1 addition & 1 deletion mypaint-tiled-surface.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* brushlib - The MyPaint Brush Library
/* libmypaint - The MyPaint Brush Library
* Copyright (C) 2007-2014 Martin Renold <[email protected]> et. al.
*
* Permission to use, copy, modify, and/or distribute this software for any
Expand Down
2 changes: 1 addition & 1 deletion operationqueue.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* brushlib - The MyPaint Brush Library
/* libmypaint - The MyPaint Brush Library
* Copyright (C) 2012 Jon Nordby <[email protected]>
*
* Permission to use, copy, modify, and/or distribute this software for any
Expand Down
2 changes: 1 addition & 1 deletion tests/mypaint-benchmark.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* brushlib - The MyPaint Brush Library
/* libmypaint - The MyPaint Brush Library
* Copyright (C) 2012 Jon Nordby <[email protected]>
*
* Permission to use, copy, modify, and/or distribute this software for any
Expand Down
2 changes: 1 addition & 1 deletion tests/mypaint-benchmark.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef MYPAINTBENCHMARK_H
#define MYPAINTBENCHMARK_H

/* brushlib - The MyPaint Brush Library
/* libmypaint - The MyPaint Brush Library
* Copyright (C) 2012 Jon Nordby <[email protected]>
*
* Permission to use, copy, modify, and/or distribute this software for any
Expand Down
2 changes: 1 addition & 1 deletion tests/mypaint-test-surface.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* brushlib - The MyPaint Brush Library
/* libmypaint - The MyPaint Brush Library
* Copyright (C) 2012 Jon Nordby <[email protected]>
*
* Permission to use, copy, modify, and/or distribute this software for any
Expand Down
2 changes: 1 addition & 1 deletion tests/mypaint-utils-stroke-player.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* brushlib - The MyPaint Brush Library
/* libmypaint - The MyPaint Brush Library
* Copyright (C) 2012 Jon Nordby <[email protected]>
*
* Permission to use, copy, modify, and/or distribute this software for any
Expand Down
2 changes: 1 addition & 1 deletion tests/mypaint-utils-stroke-player.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef MYPAINTUTILSSTROKEPLAYER_H
#define MYPAINTUTILSSTROKEPLAYER_H

/* brushlib - The MyPaint Brush Library
/* libmypaint - The MyPaint Brush Library
* Copyright (C) 2012 Jon Nordby <[email protected]>
*
* Permission to use, copy, modify, and/or distribute this software for any
Expand Down
10 changes: 7 additions & 3 deletions tests/test_ctests.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import os
import ctests

"""Simple nosetest compatible test wrapper that runs the plain-C tests found in brushlib."""
"""Nosetest compatible wrapper, runs the libmypaint plain-C tests."""

tests_dir = ctests.tests_dir

Expand All @@ -13,8 +13,12 @@ def is_ctest(fn):
return fn.startswith('test-') and not os.path.splitext(fn)[1]


def test_brushlib():
c_tests = [os.path.abspath(os.path.join(tests_dir, fn)) for fn in os.listdir(tests_dir) if is_ctest(fn)]
def test_libmypaint():
c_tests = [
os.path.abspath(os.path.join(tests_dir, fn))
for fn in os.listdir(tests_dir)
if is_ctest(fn)
]

for executable in c_tests:
yield ctests.run_ctest, executable
2 changes: 1 addition & 1 deletion tilemap.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* brushlib - The MyPaint Brush Library
/* libmypaint - The MyPaint Brush Library
* Copyright (C) 2012 Jon Nordby <[email protected]>
*
* Permission to use, copy, modify, and/or distribute this software for any
Expand Down
2 changes: 1 addition & 1 deletion tilemap.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* brushlib - The MyPaint Brush Library
/* libmypaint - The MyPaint Brush Library
* Copyright (C) 2012 Jon Nordby <[email protected]>
*
* Permission to use, copy, modify, and/or distribute this software for any
Expand Down

0 comments on commit 74e4ec7

Please sign in to comment.