hscurses 1.3 → 1.3.0.1
raw patch · 4 files changed
+22/−22 lines, 4 filesdep ~basenew-uploaderPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- UI/HSCurses/CWString.hsc +1/−1
- UI/HSCurses/Curses.hsc +1/−1
- UI/HSCurses/CursesHelper.hs +16/−16
- hscurses.cabal +4/−4
UI/HSCurses/CWString.hsc view
@@ -226,7 +226,7 @@ return x e -> error $ "HSCurses.CWString.wcsrtombs: impossible case: "++show e -#def inline HsInt hs_get_mb_cur_max () { return MB_CUR_MAX; }+#def HsInt hs_get_mb_cur_max () { return MB_CUR_MAX; } foreign import ccall unsafe hs_get_mb_cur_max :: IO Int mb_cur_max :: Int
UI/HSCurses/Curses.hsc view
@@ -595,7 +595,7 @@ color_content :: CShort -> Ptr CShort -> Ptr CShort -> Ptr CShort -> IO CInt foreign import ccall unsafe "HSCurses.h hs_curses_color_pair" colorPair :: Pair -> ChType-#def inline chtype hs_curses_color_pair (HsInt pair) {return COLOR_PAIR (pair);}+#def chtype hs_curses_color_pair (HsInt pair) {return COLOR_PAIR (pair);} ------------- -- Attributes
UI/HSCurses/CursesHelper.hs view
@@ -6,28 +6,28 @@ -- -- Derived from: yi/Curses/UI.hs -- Copyright (C) 2004 Don Stewart - http://www.cse.unsw.edu.au/~dons--- Released under the same license.+-- Released under the GPL, granted permission to release this module+-- under the LGPL. -- -- Derived from: riot/UI.hs -- Copyright (c) Tuomo Valkonen 2004.--- Released under the same license.------ 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.+-- Released under the GPL, granted permission to release this module+-- under the LGPL.++-- This library is free software; you can redistribute it and/or+-- modify it under the terms of the GNU Lesser General Public+-- License as published by the Free Software Foundation; either+-- version 2.1 of the License, or (at your option) any later version. ----- This program is distributed in the hope that it will be useful,+-- This library 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, write to the Free Software--- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA--- 02111-1307, USA.---+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU+-- Lesser General Public License for more details. --+-- You should have received a copy of the GNU Lesser General Public+-- License along with this library; if not, write to the Free Software+-- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA+ module UI.HSCurses.CursesHelper (
hscurses.cabal view
@@ -1,5 +1,5 @@ Name: hscurses-Version: 1.3+Version: 1.3.0.1 License: LGPL License-file: LICENSE Author: John Meacham <john at repetae dot net>@@ -19,11 +19,11 @@ application's display on character-cell terminals. Additionally, it contains some basic widgets such as a text input widget and a table widget.-Homepage: http://www.informatik.uni-freiburg.de/~wehr/haskell/+Homepage: http://www.informatik.uni-freiburg.de/~wehr/software/haskell/ -Build-depends: base >= 1.0, unix >= 1.0, mtl >= 1.0, old-time, old-locale+Build-depends: base >= 1.0 && < 4, unix >= 1.0, mtl >= 1.0, old-time, old-locale Build-Type: Simple-Tested-with: GHC==6.8.2, GHC==6.6.1+Tested-with: GHC==6.10, GHC==6.8.3 Exposed-modules: UI.HSCurses.Curses, UI.HSCurses.CursesHelper, UI.HSCurses.Widgets,