Clipboard 2.2.0 → 2.2.0.1
raw patch · 4 files changed
+32/−12 lines, 4 files
Files
- Clipboard.cabal +23/−10
- README.md +7/−0
- System/Clipboard.hs +1/−1
- license +1/−1
Clipboard.cabal view
@@ -1,29 +1,42 @@ Name: Clipboard -Version: 2.2.0 +Version: 2.2.0.1 Author: Sævar Berg, Daniel Díaz -Homepage: http://sites.google.com/site/dheltadiaz/packages/clipboard +Homepage: http://dhelta.net/hprojects/Clipboard License: BSD3 License-file: license -Maintainer: Daniel Diaz <dhelta.diaz@gmail.com> +Maintainer: Daniel Diaz [danieldiaz `at` dhelta `dot` net] Category: System Synopsis: System clipboard interface. +Bug-reports: https://github.com/Daniel-Diaz/Clipboard/issues Description: - /Clipboard/ is a package that allows you to interact with the system clipboard easily. - . + /Clipboard/ is a library for easily interfacing with the system clipboard with additional unicode support. Currently, only in a Windows system. . - Changes from last version: + For example, if you type: . - * Added compatibility with the unicode character set with 'getClipboardString'. + > setClipboardString "Hello, World!" . - * Unicode character set is the new standard for 'setClipboardString'. + Then you have @\"Hello, World!\"@ available to be pasted where you want. . - * Fixed the function 'modifyClipboardString'. + Now, if you type: + . + > modifyClipboardString reverse + . + You will have @\"!dlroW ,olleH\"@ in your clipboard. So: + . + >>> getClipboardString + "!dlroW ,olleH" + . + Changes from last version: + . + * New documentation with examples. Build-type: Simple Cabal-version: >= 1.6 +Extra-source-files: README.md + Source-repository head type: git - location: git://github.com/DheltaDiaz/Clipboard.git + location: git://github.com/Daniel-Diaz/Clipboard.git Library Exposed-modules: System.Clipboard
+ README.md view
@@ -0,0 +1,7 @@+# Clipboard + +A simple library for a simple purpose: to set, get and modify the system clipboard. + +## Limitations + +I'm so sorry, but this library **only works on Windows**. Contributions are welcome! :)
System/Clipboard.hs view
@@ -1,4 +1,4 @@--- | Interface to the system clipboard. +-- | System clipboard interface with unicode support. -- -- For more information, see "Graphics.Win32.GDI.Clip" -- or documentation for /GetClipboardData/ on MSDN.
license view
@@ -1,4 +1,4 @@-Copyright (c)2010, Daniel Díaz +Copyright (c)2011, Daniel Díaz All rights reserved.