vte 0.11.1 → 0.12.0
raw patch · 4 files changed
+54/−26 lines, 4 filesdep ~glibdep ~gtkdep ~pangosetup-changedPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: glib, gtk, pango
API changes (from Hackage documentation)
- Graphics.UI.Gtk.Vte.Vte: beep :: (TerminalClass self) => Signal self (IO ())
+ Graphics.UI.Gtk.Vte.Vte: beep :: TerminalClass self => Signal self (IO ())
- Graphics.UI.Gtk.Vte.Vte: charSizeChanged :: (TerminalClass self) => Signal self (Int -> Int -> IO ())
+ Graphics.UI.Gtk.Vte.Vte: charSizeChanged :: TerminalClass self => Signal self (Int -> Int -> IO ())
- Graphics.UI.Gtk.Vte.Vte: childExited :: (TerminalClass self) => Signal self (IO ())
+ Graphics.UI.Gtk.Vte.Vte: childExited :: TerminalClass self => Signal self (IO ())
- Graphics.UI.Gtk.Vte.Vte: commit :: (TerminalClass self) => Signal self (String -> Int -> IO ())
+ Graphics.UI.Gtk.Vte.Vte: commit :: TerminalClass self => Signal self (String -> Int -> IO ())
- Graphics.UI.Gtk.Vte.Vte: contentsChanged :: (TerminalClass self) => Signal self (IO ())
+ Graphics.UI.Gtk.Vte.Vte: contentsChanged :: TerminalClass self => Signal self (IO ())
- Graphics.UI.Gtk.Vte.Vte: copyClipboard :: (TerminalClass self) => Signal self (IO ())
+ Graphics.UI.Gtk.Vte.Vte: copyClipboard :: TerminalClass self => Signal self (IO ())
- Graphics.UI.Gtk.Vte.Vte: cursorMoved :: (TerminalClass self) => Signal self (IO ())
+ Graphics.UI.Gtk.Vte.Vte: cursorMoved :: TerminalClass self => Signal self (IO ())
- Graphics.UI.Gtk.Vte.Vte: decreaseFontSize :: (TerminalClass self) => Signal self (IO ())
+ Graphics.UI.Gtk.Vte.Vte: decreaseFontSize :: TerminalClass self => Signal self (IO ())
- Graphics.UI.Gtk.Vte.Vte: deiconifyWindow :: (TerminalClass self) => Signal self (IO ())
+ Graphics.UI.Gtk.Vte.Vte: deiconifyWindow :: TerminalClass self => Signal self (IO ())
- Graphics.UI.Gtk.Vte.Vte: emulationChanged :: (TerminalClass self) => Signal self (IO ())
+ Graphics.UI.Gtk.Vte.Vte: emulationChanged :: TerminalClass self => Signal self (IO ())
- Graphics.UI.Gtk.Vte.Vte: encodingChanged :: (TerminalClass self) => Signal self (IO ())
+ Graphics.UI.Gtk.Vte.Vte: encodingChanged :: TerminalClass self => Signal self (IO ())
- Graphics.UI.Gtk.Vte.Vte: eof :: (TerminalClass self) => Signal self (IO ())
+ Graphics.UI.Gtk.Vte.Vte: eof :: TerminalClass self => Signal self (IO ())
- Graphics.UI.Gtk.Vte.Vte: iconTitleChanged :: (TerminalClass self) => Signal self (IO ())
+ Graphics.UI.Gtk.Vte.Vte: iconTitleChanged :: TerminalClass self => Signal self (IO ())
- Graphics.UI.Gtk.Vte.Vte: iconifyWindow :: (TerminalClass self) => Signal self (IO ())
+ Graphics.UI.Gtk.Vte.Vte: iconifyWindow :: TerminalClass self => Signal self (IO ())
- Graphics.UI.Gtk.Vte.Vte: increaseFontSize :: (TerminalClass self) => Signal self (IO ())
+ Graphics.UI.Gtk.Vte.Vte: increaseFontSize :: TerminalClass self => Signal self (IO ())
- Graphics.UI.Gtk.Vte.Vte: lowerWindow :: (TerminalClass self) => Signal self (IO ())
+ Graphics.UI.Gtk.Vte.Vte: lowerWindow :: TerminalClass self => Signal self (IO ())
- Graphics.UI.Gtk.Vte.Vte: maximizeWindow :: (TerminalClass self) => Signal self (IO ())
+ Graphics.UI.Gtk.Vte.Vte: maximizeWindow :: TerminalClass self => Signal self (IO ())
- Graphics.UI.Gtk.Vte.Vte: moveWindow :: (TerminalClass self) => Signal self (Word -> Word -> IO ())
+ Graphics.UI.Gtk.Vte.Vte: moveWindow :: TerminalClass self => Signal self (Word -> Word -> IO ())
- Graphics.UI.Gtk.Vte.Vte: pasteClipboard :: (TerminalClass self) => Signal self (IO ())
+ Graphics.UI.Gtk.Vte.Vte: pasteClipboard :: TerminalClass self => Signal self (IO ())
- Graphics.UI.Gtk.Vte.Vte: raiseWindow :: (TerminalClass self) => Signal self (IO ())
+ Graphics.UI.Gtk.Vte.Vte: raiseWindow :: TerminalClass self => Signal self (IO ())
- Graphics.UI.Gtk.Vte.Vte: refreshWindow :: (TerminalClass self) => Signal self (IO ())
+ Graphics.UI.Gtk.Vte.Vte: refreshWindow :: TerminalClass self => Signal self (IO ())
- Graphics.UI.Gtk.Vte.Vte: resizeWidnow :: (TerminalClass self) => Signal self (Int -> Int -> IO ())
+ Graphics.UI.Gtk.Vte.Vte: resizeWidnow :: TerminalClass self => Signal self (Int -> Int -> IO ())
- Graphics.UI.Gtk.Vte.Vte: restoreWindow :: (TerminalClass self) => Signal self (IO ())
+ Graphics.UI.Gtk.Vte.Vte: restoreWindow :: TerminalClass self => Signal self (IO ())
- Graphics.UI.Gtk.Vte.Vte: selectionChanged :: (TerminalClass self) => Signal self (IO ())
+ Graphics.UI.Gtk.Vte.Vte: selectionChanged :: TerminalClass self => Signal self (IO ())
- Graphics.UI.Gtk.Vte.Vte: setScrollAdjustments :: (TerminalClass self) => Signal self (Adjustment -> Adjustment -> IO ())
+ Graphics.UI.Gtk.Vte.Vte: setScrollAdjustments :: TerminalClass self => Signal self (Adjustment -> Adjustment -> IO ())
- Graphics.UI.Gtk.Vte.Vte: statusLineChanged :: (TerminalClass self) => Signal self (IO ())
+ Graphics.UI.Gtk.Vte.Vte: statusLineChanged :: TerminalClass self => Signal self (IO ())
- Graphics.UI.Gtk.Vte.Vte: terminalAllowBold :: (TerminalClass self) => Attr self Bool
+ Graphics.UI.Gtk.Vte.Vte: terminalAllowBold :: TerminalClass self => Attr self Bool
- Graphics.UI.Gtk.Vte.Vte: terminalAudibleBell :: (TerminalClass self) => Attr self Bool
+ Graphics.UI.Gtk.Vte.Vte: terminalAudibleBell :: TerminalClass self => Attr self Bool
- Graphics.UI.Gtk.Vte.Vte: terminalBackgroundImageFile :: (TerminalClass self) => Attr self String
+ Graphics.UI.Gtk.Vte.Vte: terminalBackgroundImageFile :: TerminalClass self => Attr self String
- Graphics.UI.Gtk.Vte.Vte: terminalBackgroundImagePixbuf :: (TerminalClass self) => Attr self (Maybe Pixbuf)
+ Graphics.UI.Gtk.Vte.Vte: terminalBackgroundImagePixbuf :: TerminalClass self => Attr self (Maybe Pixbuf)
- Graphics.UI.Gtk.Vte.Vte: terminalBackgroundOpacity :: (TerminalClass self) => Attr self Double
+ Graphics.UI.Gtk.Vte.Vte: terminalBackgroundOpacity :: TerminalClass self => Attr self Double
- Graphics.UI.Gtk.Vte.Vte: terminalBackgroundSaturation :: (TerminalClass self) => Attr self Double
+ Graphics.UI.Gtk.Vte.Vte: terminalBackgroundSaturation :: TerminalClass self => Attr self Double
- Graphics.UI.Gtk.Vte.Vte: terminalBackgroundTintColor :: (TerminalClass self) => Attr self Color
+ Graphics.UI.Gtk.Vte.Vte: terminalBackgroundTintColor :: TerminalClass self => Attr self Color
- Graphics.UI.Gtk.Vte.Vte: terminalBackgroundTransparent :: (TerminalClass self) => Attr self Bool
+ Graphics.UI.Gtk.Vte.Vte: terminalBackgroundTransparent :: TerminalClass self => Attr self Bool
- Graphics.UI.Gtk.Vte.Vte: terminalBackspaceBinding :: (TerminalClass self) => Attr self TerminalEraseBinding
+ Graphics.UI.Gtk.Vte.Vte: terminalBackspaceBinding :: TerminalClass self => Attr self TerminalEraseBinding
- Graphics.UI.Gtk.Vte.Vte: terminalCopyClipboard :: (TerminalClass self) => self -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalCopyClipboard :: TerminalClass self => self -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalCopyPrimary :: (TerminalClass self) => self -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalCopyPrimary :: TerminalClass self => self -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalCursorBlinkMode :: (TerminalClass self) => Attr self TerminalCursorBlinkMode
+ Graphics.UI.Gtk.Vte.Vte: terminalCursorBlinkMode :: TerminalClass self => Attr self TerminalCursorBlinkMode
- Graphics.UI.Gtk.Vte.Vte: terminalCursorShape :: (TerminalClass self) => Attr self TerminalCursorShape
+ Graphics.UI.Gtk.Vte.Vte: terminalCursorShape :: TerminalClass self => Attr self TerminalCursorShape
- Graphics.UI.Gtk.Vte.Vte: terminalDeleteBinding :: (TerminalClass self) => Attr self TerminalEraseBinding
+ Graphics.UI.Gtk.Vte.Vte: terminalDeleteBinding :: TerminalClass self => Attr self TerminalEraseBinding
- Graphics.UI.Gtk.Vte.Vte: terminalEmulation :: (TerminalClass self) => Attr self String
+ Graphics.UI.Gtk.Vte.Vte: terminalEmulation :: TerminalClass self => Attr self String
- Graphics.UI.Gtk.Vte.Vte: terminalEncoding :: (TerminalClass self) => Attr self String
+ Graphics.UI.Gtk.Vte.Vte: terminalEncoding :: TerminalClass self => Attr self String
- Graphics.UI.Gtk.Vte.Vte: terminalFeed :: (TerminalClass self) => self -> String -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalFeed :: TerminalClass self => self -> String -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalFeedChild :: (TerminalClass self) => self -> String -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalFeedChild :: TerminalClass self => self -> String -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalFeedChildBinary :: (TerminalClass self) => self -> [Word8] -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalFeedChildBinary :: TerminalClass self => self -> [Word8] -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalFontDesc :: (TerminalClass self) => Attr self FontDescription
+ Graphics.UI.Gtk.Vte.Vte: terminalFontDesc :: TerminalClass self => Attr self FontDescription
- Graphics.UI.Gtk.Vte.Vte: terminalForkCommand :: (TerminalClass self) => self -> (Maybe String) -> (Maybe [String]) -> (Maybe [String]) -> (Maybe String) -> Bool -> Bool -> Bool -> IO Int
+ Graphics.UI.Gtk.Vte.Vte: terminalForkCommand :: TerminalClass self => self -> (Maybe String) -> (Maybe [String]) -> (Maybe [String]) -> (Maybe String) -> Bool -> Bool -> Bool -> IO Int
- Graphics.UI.Gtk.Vte.Vte: terminalForkpty :: (TerminalClass self) => self -> (Maybe [String]) -> (Maybe String) -> Bool -> Bool -> Bool -> IO Int
+ Graphics.UI.Gtk.Vte.Vte: terminalForkpty :: TerminalClass self => self -> (Maybe [String]) -> (Maybe String) -> Bool -> Bool -> Bool -> IO Int
- Graphics.UI.Gtk.Vte.Vte: terminalGetAdjustment :: (TerminalClass self) => self -> IO Adjustment
+ Graphics.UI.Gtk.Vte.Vte: terminalGetAdjustment :: TerminalClass self => self -> IO Adjustment
- Graphics.UI.Gtk.Vte.Vte: terminalGetAllowBold :: (TerminalClass self) => self -> IO Bool
+ Graphics.UI.Gtk.Vte.Vte: terminalGetAllowBold :: TerminalClass self => self -> IO Bool
- Graphics.UI.Gtk.Vte.Vte: terminalGetAudibleBell :: (TerminalClass self) => self -> IO Bool
+ Graphics.UI.Gtk.Vte.Vte: terminalGetAudibleBell :: TerminalClass self => self -> IO Bool
- Graphics.UI.Gtk.Vte.Vte: terminalGetCharHeight :: (TerminalClass self) => self -> IO Int
+ Graphics.UI.Gtk.Vte.Vte: terminalGetCharHeight :: TerminalClass self => self -> IO Int
- Graphics.UI.Gtk.Vte.Vte: terminalGetCharWidth :: (TerminalClass self) => self -> IO Int
+ Graphics.UI.Gtk.Vte.Vte: terminalGetCharWidth :: TerminalClass self => self -> IO Int
- Graphics.UI.Gtk.Vte.Vte: terminalGetChildExitStatus :: (TerminalClass self) => self -> IO Int
+ Graphics.UI.Gtk.Vte.Vte: terminalGetChildExitStatus :: TerminalClass self => self -> IO Int
- Graphics.UI.Gtk.Vte.Vte: terminalGetColumnCount :: (TerminalClass self) => self -> IO Int
+ Graphics.UI.Gtk.Vte.Vte: terminalGetColumnCount :: TerminalClass self => self -> IO Int
- Graphics.UI.Gtk.Vte.Vte: terminalGetCursorBlinkMode :: (TerminalClass self) => self -> IO TerminalCursorBlinkMode
+ Graphics.UI.Gtk.Vte.Vte: terminalGetCursorBlinkMode :: TerminalClass self => self -> IO TerminalCursorBlinkMode
- Graphics.UI.Gtk.Vte.Vte: terminalGetCursorPosition :: (TerminalClass self) => self -> IO (Int, Int)
+ Graphics.UI.Gtk.Vte.Vte: terminalGetCursorPosition :: TerminalClass self => self -> IO (Int, Int)
- Graphics.UI.Gtk.Vte.Vte: terminalGetCursorShape :: (TerminalClass self) => self -> IO TerminalCursorShape
+ Graphics.UI.Gtk.Vte.Vte: terminalGetCursorShape :: TerminalClass self => self -> IO TerminalCursorShape
- Graphics.UI.Gtk.Vte.Vte: terminalGetDefaultEmulation :: (TerminalClass self) => self -> IO String
+ Graphics.UI.Gtk.Vte.Vte: terminalGetDefaultEmulation :: TerminalClass self => self -> IO String
- Graphics.UI.Gtk.Vte.Vte: terminalGetEmulation :: (TerminalClass self) => self -> IO String
+ Graphics.UI.Gtk.Vte.Vte: terminalGetEmulation :: TerminalClass self => self -> IO String
- Graphics.UI.Gtk.Vte.Vte: terminalGetEncoding :: (TerminalClass self) => self -> IO String
+ Graphics.UI.Gtk.Vte.Vte: terminalGetEncoding :: TerminalClass self => self -> IO String
- Graphics.UI.Gtk.Vte.Vte: terminalGetFont :: (TerminalClass self) => self -> IO FontDescription
+ Graphics.UI.Gtk.Vte.Vte: terminalGetFont :: TerminalClass self => self -> IO FontDescription
- Graphics.UI.Gtk.Vte.Vte: terminalGetHasSelection :: (TerminalClass self) => self -> IO Bool
+ Graphics.UI.Gtk.Vte.Vte: terminalGetHasSelection :: TerminalClass self => self -> IO Bool
- Graphics.UI.Gtk.Vte.Vte: terminalGetIconTitle :: (TerminalClass self) => self -> IO String
+ Graphics.UI.Gtk.Vte.Vte: terminalGetIconTitle :: TerminalClass self => self -> IO String
- Graphics.UI.Gtk.Vte.Vte: terminalGetMouseAutohide :: (TerminalClass self) => self -> IO Bool
+ Graphics.UI.Gtk.Vte.Vte: terminalGetMouseAutohide :: TerminalClass self => self -> IO Bool
- Graphics.UI.Gtk.Vte.Vte: terminalGetPadding :: (TerminalClass self) => self -> IO (Int, Int)
+ Graphics.UI.Gtk.Vte.Vte: terminalGetPadding :: TerminalClass self => self -> IO (Int, Int)
- Graphics.UI.Gtk.Vte.Vte: terminalGetPty :: (TerminalClass self) => self -> IO Int
+ Graphics.UI.Gtk.Vte.Vte: terminalGetPty :: TerminalClass self => self -> IO Int
- Graphics.UI.Gtk.Vte.Vte: terminalGetRowCount :: (TerminalClass self) => self -> IO Int
+ Graphics.UI.Gtk.Vte.Vte: terminalGetRowCount :: TerminalClass self => self -> IO Int
- Graphics.UI.Gtk.Vte.Vte: terminalGetStatusLine :: (TerminalClass self) => self -> IO String
+ Graphics.UI.Gtk.Vte.Vte: terminalGetStatusLine :: TerminalClass self => self -> IO String
- Graphics.UI.Gtk.Vte.Vte: terminalGetText :: (TerminalClass self) => self -> Maybe VteSelect -> IO [VteChar]
+ Graphics.UI.Gtk.Vte.Vte: terminalGetText :: TerminalClass self => self -> Maybe VteSelect -> IO [VteChar]
- Graphics.UI.Gtk.Vte.Vte: terminalGetTextIncludeTrailingSpaces :: (TerminalClass self) => self -> Maybe VteSelect -> IO [VteChar]
+ Graphics.UI.Gtk.Vte.Vte: terminalGetTextIncludeTrailingSpaces :: TerminalClass self => self -> Maybe VteSelect -> IO [VteChar]
- Graphics.UI.Gtk.Vte.Vte: terminalGetTextRange :: (TerminalClass self) => self -> Int -> Int -> Int -> Int -> Maybe VteSelect -> IO [VteChar]
+ Graphics.UI.Gtk.Vte.Vte: terminalGetTextRange :: TerminalClass self => self -> Int -> Int -> Int -> Int -> Maybe VteSelect -> IO [VteChar]
- Graphics.UI.Gtk.Vte.Vte: terminalGetVisibleBell :: (TerminalClass self) => self -> IO Bool
+ Graphics.UI.Gtk.Vte.Vte: terminalGetVisibleBell :: TerminalClass self => self -> IO Bool
- Graphics.UI.Gtk.Vte.Vte: terminalGetWindowTitle :: (TerminalClass self) => self -> IO String
+ Graphics.UI.Gtk.Vte.Vte: terminalGetWindowTitle :: TerminalClass self => self -> IO String
- Graphics.UI.Gtk.Vte.Vte: terminalIconTitle :: (TerminalClass self) => ReadAttr self String
+ Graphics.UI.Gtk.Vte.Vte: terminalIconTitle :: TerminalClass self => ReadAttr self String
- Graphics.UI.Gtk.Vte.Vte: terminalImAppendMenuitems :: (TerminalClass self) => self -> MenuShell -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalImAppendMenuitems :: TerminalClass self => self -> MenuShell -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalIsWordChar :: (TerminalClass self) => self -> Char -> IO Bool
+ Graphics.UI.Gtk.Vte.Vte: terminalIsWordChar :: TerminalClass self => self -> Char -> IO Bool
- Graphics.UI.Gtk.Vte.Vte: terminalMatchAddRegex :: (TerminalClass self) => self -> String -> [RegexCompileFlags] -> [RegexMatchFlags] -> IO Int
+ Graphics.UI.Gtk.Vte.Vte: terminalMatchAddRegex :: TerminalClass self => self -> String -> [RegexCompileFlags] -> [RegexMatchFlags] -> IO Int
- Graphics.UI.Gtk.Vte.Vte: terminalMatchCheck :: (TerminalClass self) => self -> Int -> Int -> IO (Maybe (String, Int))
+ Graphics.UI.Gtk.Vte.Vte: terminalMatchCheck :: TerminalClass self => self -> Int -> Int -> IO (Maybe (String, Int))
- Graphics.UI.Gtk.Vte.Vte: terminalMatchClearAll :: (TerminalClass self) => self -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalMatchClearAll :: TerminalClass self => self -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalMatchRemove :: (TerminalClass self) => self -> Int -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalMatchRemove :: TerminalClass self => self -> Int -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalMatchSetCursor :: (TerminalClass self) => self -> Int -> Cursor -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalMatchSetCursor :: TerminalClass self => self -> Int -> Cursor -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalMatchSetCursorName :: (TerminalClass self) => self -> Int -> String -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalMatchSetCursorName :: TerminalClass self => self -> Int -> String -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalMatchSetCursorType :: (TerminalClass self) => self -> Int -> CursorType -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalMatchSetCursorType :: TerminalClass self => self -> Int -> CursorType -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalPasteClipboard :: (TerminalClass self) => self -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalPasteClipboard :: TerminalClass self => self -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalPastePrimary :: (TerminalClass self) => self -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalPastePrimary :: TerminalClass self => self -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalPointerAutohide :: (TerminalClass self) => Attr self Bool
+ Graphics.UI.Gtk.Vte.Vte: terminalPointerAutohide :: TerminalClass self => Attr self Bool
- Graphics.UI.Gtk.Vte.Vte: terminalPty :: (TerminalClass self) => Attr self Int
+ Graphics.UI.Gtk.Vte.Vte: terminalPty :: TerminalClass self => Attr self Int
- Graphics.UI.Gtk.Vte.Vte: terminalReset :: (TerminalClass self) => self -> Bool -> Bool -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalReset :: TerminalClass self => self -> Bool -> Bool -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalScrollBackground :: (TerminalClass self) => Attr self Bool
+ Graphics.UI.Gtk.Vte.Vte: terminalScrollBackground :: TerminalClass self => Attr self Bool
- Graphics.UI.Gtk.Vte.Vte: terminalScrollOnKeystroke :: (TerminalClass self) => Attr self Bool
+ Graphics.UI.Gtk.Vte.Vte: terminalScrollOnKeystroke :: TerminalClass self => Attr self Bool
- Graphics.UI.Gtk.Vte.Vte: terminalScrollOnOutput :: (TerminalClass self) => Attr self Bool
+ Graphics.UI.Gtk.Vte.Vte: terminalScrollOnOutput :: TerminalClass self => Attr self Bool
- Graphics.UI.Gtk.Vte.Vte: terminalScrollbackLines :: (TerminalClass self) => Attr self Int
+ Graphics.UI.Gtk.Vte.Vte: terminalScrollbackLines :: TerminalClass self => Attr self Int
- Graphics.UI.Gtk.Vte.Vte: terminalSelectAll :: (TerminalClass self) => self -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSelectAll :: TerminalClass self => self -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSelectNone :: (TerminalClass self) => self -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSelectNone :: TerminalClass self => self -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSetAllowBold :: (TerminalClass self) => self -> Bool -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSetAllowBold :: TerminalClass self => self -> Bool -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSetAudibleBell :: (TerminalClass self) => self -> Bool -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSetAudibleBell :: TerminalClass self => self -> Bool -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSetBackgroundImage :: (TerminalClass self) => self -> Maybe Pixbuf -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSetBackgroundImage :: TerminalClass self => self -> Maybe Pixbuf -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSetBackgroundImageFile :: (TerminalClass self) => self -> String -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSetBackgroundImageFile :: TerminalClass self => self -> String -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSetBackgroundSaturation :: (TerminalClass self) => self -> Double -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSetBackgroundSaturation :: TerminalClass self => self -> Double -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSetBackgroundTintColor :: (TerminalClass self) => self -> Color -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSetBackgroundTintColor :: TerminalClass self => self -> Color -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSetBackgroundTransparent :: (TerminalClass self) => self -> Bool -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSetBackgroundTransparent :: TerminalClass self => self -> Bool -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSetBackspaceBinding :: (TerminalClass self) => self -> TerminalEraseBinding -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSetBackspaceBinding :: TerminalClass self => self -> TerminalEraseBinding -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSetColorBackground :: (TerminalClass self) => self -> Color -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSetColorBackground :: TerminalClass self => self -> Color -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSetColorBold :: (TerminalClass self) => self -> Color -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSetColorBold :: TerminalClass self => self -> Color -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSetColorCursor :: (TerminalClass self) => self -> Color -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSetColorCursor :: TerminalClass self => self -> Color -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSetColorDim :: (TerminalClass self) => self -> Color -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSetColorDim :: TerminalClass self => self -> Color -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSetColorForeground :: (TerminalClass self) => self -> Color -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSetColorForeground :: TerminalClass self => self -> Color -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSetColorHighlight :: (TerminalClass self) => self -> Color -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSetColorHighlight :: TerminalClass self => self -> Color -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSetColors :: (TerminalClass self) => self -> Color -> Color -> Color -> Int -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSetColors :: TerminalClass self => self -> Color -> Color -> Color -> Int -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSetCursorBlinkMode :: (TerminalClass self) => self -> TerminalCursorBlinkMode -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSetCursorBlinkMode :: TerminalClass self => self -> TerminalCursorBlinkMode -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSetCursorShape :: (TerminalClass self) => self -> TerminalCursorShape -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSetCursorShape :: TerminalClass self => self -> TerminalCursorShape -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSetDefaultColors :: (TerminalClass self) => self -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSetDefaultColors :: TerminalClass self => self -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSetDeleteBinding :: (TerminalClass self) => self -> TerminalEraseBinding -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSetDeleteBinding :: TerminalClass self => self -> TerminalEraseBinding -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSetEmulation :: (TerminalClass self) => self -> String -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSetEmulation :: TerminalClass self => self -> String -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSetEncoding :: (TerminalClass self) => self -> String -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSetEncoding :: TerminalClass self => self -> String -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSetFont :: (TerminalClass self) => self -> FontDescription -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSetFont :: TerminalClass self => self -> FontDescription -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSetFontFromString :: (TerminalClass self) => self -> String -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSetFontFromString :: TerminalClass self => self -> String -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSetMouseAutohide :: (TerminalClass self) => self -> Bool -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSetMouseAutohide :: TerminalClass self => self -> Bool -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSetOpacity :: (TerminalClass self) => self -> Int -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSetOpacity :: TerminalClass self => self -> Int -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSetPty :: (TerminalClass self) => self -> Int -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSetPty :: TerminalClass self => self -> Int -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSetScrollBackground :: (TerminalClass self) => self -> Bool -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSetScrollBackground :: TerminalClass self => self -> Bool -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSetScrollOnKeystroke :: (TerminalClass self) => self -> Bool -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSetScrollOnKeystroke :: TerminalClass self => self -> Bool -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSetScrollOnOutput :: (TerminalClass self) => self -> Bool -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSetScrollOnOutput :: TerminalClass self => self -> Bool -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSetScrollbackLines :: (TerminalClass self) => self -> Int -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSetScrollbackLines :: TerminalClass self => self -> Int -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSetSize :: (TerminalClass self) => self -> Int -> Int -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSetSize :: TerminalClass self => self -> Int -> Int -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSetVisibleBell :: (TerminalClass self) => self -> Bool -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSetVisibleBell :: TerminalClass self => self -> Bool -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalSetWordChars :: (TerminalClass self) => self -> String -> IO ()
+ Graphics.UI.Gtk.Vte.Vte: terminalSetWordChars :: TerminalClass self => self -> String -> IO ()
- Graphics.UI.Gtk.Vte.Vte: terminalVisibleBell :: (TerminalClass self) => Attr self Bool
+ Graphics.UI.Gtk.Vte.Vte: terminalVisibleBell :: TerminalClass self => Attr self Bool
- Graphics.UI.Gtk.Vte.Vte: terminalWindowTitle :: (TerminalClass self) => ReadAttr self String
+ Graphics.UI.Gtk.Vte.Vte: terminalWindowTitle :: TerminalClass self => ReadAttr self String
- Graphics.UI.Gtk.Vte.Vte: terminalWordChars :: (TerminalClass self) => Attr self String
+ Graphics.UI.Gtk.Vte.Vte: terminalWordChars :: TerminalClass self => Attr self String
- Graphics.UI.Gtk.Vte.Vte: textDeleted :: (TerminalClass self) => Signal self (IO ())
+ Graphics.UI.Gtk.Vte.Vte: textDeleted :: TerminalClass self => Signal self (IO ())
- Graphics.UI.Gtk.Vte.Vte: textInserted :: (TerminalClass self) => Signal self (IO ())
+ Graphics.UI.Gtk.Vte.Vte: textInserted :: TerminalClass self => Signal self (IO ())
- Graphics.UI.Gtk.Vte.Vte: textModified :: (TerminalClass self) => Signal self (IO ())
+ Graphics.UI.Gtk.Vte.Vte: textModified :: TerminalClass self => Signal self (IO ())
- Graphics.UI.Gtk.Vte.Vte: textScrolled :: (TerminalClass self) => Signal self (Int -> IO ())
+ Graphics.UI.Gtk.Vte.Vte: textScrolled :: TerminalClass self => Signal self (Int -> IO ())
- Graphics.UI.Gtk.Vte.Vte: windowTitleChanged :: (TerminalClass self) => Signal self (IO ())
+ Graphics.UI.Gtk.Vte.Vte: windowTitleChanged :: TerminalClass self => Signal self (IO ())
Files
- Graphics/UI/Gtk/Vte/Signals.chs +1/−1
- Gtk2HsSetup.hs +44/−19
- Setup.hs +5/−2
- vte.cabal +4/−4
Graphics/UI/Gtk/Vte/Signals.chs view
@@ -52,7 +52,7 @@ import Control.Monad (liftM) import System.Glib.FFI-import System.Glib.UTFString (peekUTFString)+import System.Glib.UTFString (peekUTFString,maybePeekUTFString) import System.Glib.GError (failOnGError) {#import System.Glib.Signals#} {#import System.Glib.GObject#}
Gtk2HsSetup.hs view
@@ -23,16 +23,24 @@ CABAL_VERSION_MICRO) #else #warning Setup.hs is guessing the version of Cabal. If compilation of Setup.hs fails use -DCABAL_VERSION_MINOR=x for Cabal version 1.x.0 when building (prefixed by --ghc-option= when using the 'cabal' command)+#if (__GLASGOW_HASKELL__ >= 700)+#define CABAL_VERSION CABAL_VERSION_ENCODE(1,10,0)+#else #if (__GLASGOW_HASKELL__ >= 612) #define CABAL_VERSION CABAL_VERSION_ENCODE(1,8,0) #else #define CABAL_VERSION CABAL_VERSION_ENCODE(1,6,0) #endif #endif+#endif -- | Build a Gtk2hs package. ---module Gtk2HsSetup ( gtk2hsUserHooks, getPkgConfigPackages ) where+module Gtk2HsSetup ( + gtk2hsUserHooks, + getPkgConfigPackages, + checkGtk2hsBuildtools+ ) where import Distribution.Simple import Distribution.Simple.PreProcess@@ -65,7 +73,7 @@ import Distribution.Simple.Compiler ( Compiler(..) ) import Distribution.Simple.Program ( Program(..), ConfiguredProgram(..),- rawSystemProgramConf, rawSystemProgramStdoutConf,+ rawSystemProgramConf, rawSystemProgramStdoutConf, programName, c2hsProgram, pkgConfigProgram, requireProgram, ghcPkgProgram, simpleProgram, lookupProgram, rawSystemProgramStdout, ProgArg) import Distribution.ModuleName ( ModuleName, components, toFilePath )@@ -83,10 +91,11 @@ #endif import Distribution.Text ( simpleParse, display ) import System.FilePath-import System.Directory ( doesFileExist )+import System.Exit (exitFailure)+import System.Directory ( doesFileExist, getDirectoryContents, doesDirectoryExist ) import Distribution.Version (Version(..)) import Distribution.Verbosity-import Control.Monad (when, unless, filterM)+import Control.Monad (when, unless, filterM, liftM, forM, forM_) import Data.Maybe ( isJust, isNothing, fromMaybe, maybeToList ) import Data.List (isPrefixOf, isSuffixOf, nub) import Data.Char (isAlpha)@@ -94,7 +103,6 @@ import qualified Data.Set as S import Control.Applicative ((<$>))-import System.Directory (getDirectoryContents, doesDirectoryExist) -- the name of the c2hs pre-compiled header file precompFile = "precompchs.bin"@@ -103,13 +111,13 @@ hookedPrograms = [typeGenProgram, signalGenProgram, c2hsLocal], hookedPreProcessors = [("chs", ourC2hs)], confHook = \pd cf ->- confHook simpleUserHooks pd cf >>= return . adjustLocalBuildInfo,+ (fmap adjustLocalBuildInfo (confHook simpleUserHooks pd cf)), postConf = \args cf pd lbi -> do genSynthezisedFiles (fromFlag (configVerbosity cf)) pd lbi postConf simpleUserHooks args cf pd lbi, buildHook = \pd lbi uh bf -> fixDeps pd >>= \pd ->- (buildHook simpleUserHooks) pd lbi uh bf,- copyHook = \pd lbi uh flags -> (copyHook simpleUserHooks) pd lbi uh flags >>+ buildHook simpleUserHooks pd lbi uh bf,+ copyHook = \pd lbi uh flags -> copyHook simpleUserHooks pd lbi uh flags >> installCHI pd lbi (fromFlag (copyVerbosity flags)) (fromFlag (copyDest flags)), instHook = \pd lbi uh flags -> #if defined(mingw32_HOST_OS) || defined(__MINGW32__)@@ -187,7 +195,11 @@ _ | modeGenerateRegFile -> die "Generate Reg File not supported" | modeGenerateRegScript -> die "Generate Reg Script not supported" | otherwise -> registerPackage verbosity+#if CABAL_VERSION_CHECK(1,10,0)+ installedPkgInfo pkg lbi inplace [packageDb]+#else installedPkgInfo pkg lbi inplace packageDb+#endif where modeGenerateRegFile = isJust (flagToMaybe (regGenPkgConf regFlags))@@ -298,7 +310,7 @@ getCppOptions bi lbi = nub $ ["-I" ++ dir | dir <- PD.includeDirs bi]- ++ [opt | opt@('-':c:_) <- (PD.cppOptions bi ++ PD.ccOptions bi), c `elem` "DIU"]+ ++ [opt | opt@('-':c:_) <- PD.cppOptions bi ++ PD.ccOptions bi, c `elem` "DIU"] installCHI :: PackageDescription -- ^information from the .cabal file -> LocalBuildInfo -- ^information from the configure step@@ -308,14 +320,13 @@ let InstallDirs { libdir = libPref } = absoluteInstallDirs pkg lbi copydest -- cannot use the recommended 'findModuleFiles' since it fails if there exists -- a modules that does not have a .chi file- mFiles <- mapM (findFileWithExtension' ["chi"] [buildDir lbi])- (map toFilePath+ mFiles <- mapM (findFileWithExtension' ["chi"] [buildDir lbi] . toFilePath) #if CABAL_VERSION_CHECK(1,8,0) (PD.libModules lib) #else (PD.libModules pkg) #endif- )+ let files = [ f | Just f <- mFiles ] #if CABAL_VERSION_CHECK(1,8,0) installOrdinaryFiles verbosity libPref files@@ -331,13 +342,13 @@ ------------------------------------------------------------------------------ typeGenProgram :: Program-typeGenProgram = (simpleProgram "gtk2hsTypeGen")+typeGenProgram = simpleProgram "gtk2hsTypeGen" signalGenProgram :: Program-signalGenProgram = (simpleProgram "gtk2hsHookGenerator")+signalGenProgram = simpleProgram "gtk2hsHookGenerator" c2hsLocal :: Program-c2hsLocal = (simpleProgram "gtk2hsC2hs")+c2hsLocal = simpleProgram "gtk2hsC2hs" genSynthezisedFiles :: Verbosity -> PackageDescription -> LocalBuildInfo -> IO () genSynthezisedFiles verb pd lbi = do@@ -370,7 +381,7 @@ res <- rawSystemProgramStdoutConf verb prog (withPrograms lbi) args rewriteFile outFile res - (flip mapM_) (filter (\(tag,_) -> "x-types-" `isPrefixOf` tag && "file" `isSuffixOf` tag) xList) $+ forM_ (filter (\(tag,_) -> "x-types-" `isPrefixOf` tag && "file" `isSuffixOf` tag) xList) $ \(fileTag, f) -> do let tag = reverse (drop 4 (reverse fileTag)) info verb ("Ensuring that class hierarchy in "++f++" is up-to-date.")@@ -391,7 +402,7 @@ sequence [ do version <- pkgconfig ["--modversion", display pkgname] case simpleParse version of- Nothing -> die $ "parsing output of pkg-config --modversion failed"+ Nothing -> die "parsing output of pkg-config --modversion failed" Just v -> return (PackageIdentifier pkgname v) | Dependency pkgname _ <- concatMap pkgconfigDepends (allBuildInfo pkg) ] where@@ -456,9 +467,9 @@ extractDeps :: ModDep -> IO ModDep extractDeps md@ModDep { mdLocation = Nothing } = return md extractDeps md@ModDep { mdLocation = Just f } = withUTF8FileContents f $ \con -> do- let findImports acc (('{':'#':xs):xxs) = case (dropWhile ((==) ' ') xs) of+ let findImports acc (('{':'#':xs):xxs) = case (dropWhile (' ' ==) xs) of ('i':'m':'p':'o':'r':'t':' ':ys) ->- case simpleParse (takeWhile ((/=) '#') ys) of+ case simpleParse (takeWhile ('#' /=) ys) of Just m -> findImports (m:acc) xxs Nothing -> die ("cannot parse chs import in "++f++":\n"++ "offending line is {#"++xs)@@ -484,3 +495,17 @@ Just md -> (md:out', visited') where (out',visited') = foldl visit (out, m `S.insert` visited) (mdRequires md)++-- Check user whether install gtk2hs-buildtools correctly.+checkGtk2hsBuildtools :: [String] -> IO ()+checkGtk2hsBuildtools programs = do+ programInfos <- mapM (\ name -> do+ location <- programFindLocation (simpleProgram name) normal+ return (name, location)+ ) programs+ let printError name = do+ putStrLn $ "Cannot find " ++ name ++ "\n" + ++ "Please install `gtk2hs-buildtools` first and check that the install directory is in your PATH (e.g. HOME/.cabal/bin)."+ exitFailure+ forM_ programInfos $ \ (name, location) ->+ when (isNothing location) (printError name)
Setup.hs view
@@ -1,7 +1,10 @@ -- Setup file for a Gtk2Hs module. Contains only adjustments specific to this module, -- all Gtk2Hs-specific boilerplate is stored in Gtk2HsSetup.hs which should be kept -- identical across all modules.-import Gtk2HsSetup ( gtk2hsUserHooks )+import Gtk2HsSetup ( gtk2hsUserHooks, checkGtk2hsBuildtools ) import Distribution.Simple ( defaultMainWithHooks ) -main = defaultMainWithHooks gtk2hsUserHooks+main = do+ checkGtk2hsBuildtools ["gtk2hsC2hs", "gtk2hsTypeGen", "gtk2hsHookGenerator"]+ defaultMainWithHooks gtk2hsUserHooks+
vte.cabal view
@@ -1,5 +1,5 @@ Name: vte-Version: 0.11.1+Version: 0.12.0 License: LGPL-2.1 License-file: COPYING Copyright: (c) 2001-2010 The Gtk2Hs Team@@ -40,9 +40,9 @@ Library build-depends: base >= 4 && < 5, array, containers, haskell98, mtl,- glib >= 0.11 && < 0.12, - pango >= 0.11 && < 0.12, - gtk >= 0.11 && < 0.12+ glib >= 0.12 && < 0.13, + pango >= 0.12 && < 0.13, + gtk >= 0.12 && < 0.13 build-tools: gtk2hsC2hs, gtk2hsHookGenerator, gtk2hsTypeGen