Commit ad66ce6b authored by Clarence Dang's avatar Clarence Dang
Browse files

Merge /branches/work/~dang/kdegraphics/kolourpaint/ -r651355(last merged upto):692068

to be up-to-date, in time for feature freeze.

This represents more than 3 months worth of changes that make KolourPaint a lot better.
However, KolourPaint still needs a lot of work to just work.

The merge took longer than expected as I had to fight SVN quite a bit :(

I'm worried about libkolourpaint_lgpl and symbol visibility as I saw some
KDE_EXPORT stuff.  Could someone who knows more about this please look into it?
Thanks in advance!


Forward ports from branches/KDE/3.5/:

* Scanning fixes

* Save local files atomically

* Implement rudimentary global session management

* Drop overly-spammed and unchangeable kolourpaint-support@lists.sourceforge.net

* "File / Open Recent" fixes

* CTRL+C'ing a text box also places the text in the middle-mouse-button
  clipboard, in lieu of being able to highlight the text to do this

* Change minimum allowed zoom level for the grid from 600% to 400%


Unique changes (not in branches/KDE/3.5/):

* Remove individual "Thanks To".  Unfortunately, it became unrealistic to keep track of everyone so I give up.  It made me feel really bad to have an incomplete list.

* Change rotate menu items to be consistent with Digikam; "Image / Rotate..." goes back to CTRL+R 
* Add, to the print dialog, a choice between printing the image at the
  top-left of the page or at the center (this was previously a hidden
  configuration option, which is now ignored) [Bug #133481]

* Add Zoom Tool

* Add "Image / Drag Opaque"

* kpTool::mouseReleaseEvent() finally calls draw() before endDraw().

  This means that a quick drag of the mouse immediately before releasing the
  mouse button is no longer ignored in tools that implement just draw()
  and not endDraw() [not sure there are such tools anymore though].
    
* Add Tone Enhance effect (Mike Gashler)

* Add "File / Properties..."

* Decouple from kpMainWindow using kp*Environment facades

* Massive selection code refactor
  - Support creating text selections that are only borders (contain no text
    and will not mutate document-is-modified state) i.e. you will be able to
    drag out text boxes and cancel them without affecting the document-is-modified flag.
    [this currently does not work due to lack of support from kpToolText]

* Identify a number of KolourPaint/KDE3 bugs (added TODOs)

* Make all selection tools work

* Rename kpTempPixmap -> kpTempImage

* Split kpCommandSize out of kpPixmapFX

* Much other refactoring

* Configurable color palette and "Colors" menu

* Animate the Color Similarity Tool Bar Item, to highlight the existence
  of the feature
  - And make the configuration more accessible
    - Also add "Image / Draw With Color Similarity" to duplicate the tool
      bar item

* Add support library containing LGPL code derived from elsewhere




svn path=/trunk/KDE/kdegraphics/kolourpaint/; revision=692114
parent 524310a3
......@@ -3,7 +3,7 @@ Authors
=======
Clarence Dang <dang@kde.org>
Maintainer
Project Founder
Thurston Dang <thurston_dang@users.sourceforge.net>
Chief Investigator
......@@ -20,95 +20,17 @@ Icons
Danny Allen <dannya40uk@yahoo.co.uk>
Icons
Mike Gashler <gashlerm@yahoo.com>
Imaqe Effects
Laurent Montel <montel@kde.org>
KDE 4 Porting
Martin Koller <m.koller@surfeu.at>
Scanning Support
Thanks To
=========
Rashid N. Achilov
Toyohiro Asukai
Bela-Andreas Bargel
Waldo Bastian
Ismail Belhachmi
Sashmit Bhaduri
Antonio Bianco
Stephan Binner
Markus Brueffer
Rob Buis
Lucijan Busch
Mikhail Capone
Enrico Ceppi
Tom Chance
Albert Astals Cid
Jennifer Dang
Lawrence Dang
Christoph Eckert
David Faure
P. Fisher
Nicolas Goutte
Herbert Graeber
Brad Grant
David Greenaway
Wilco Greven
Hubert Grininger
Adriaan de Groot
Esben Mose Hansen
Nadeem Hasan
Simon Hausmann
Michael Hoehne
Andrew J
Werner Joss
Derek Kite
Tobias Koenig
Dmitry Kolesnikov
Stephan Kulow
Eric Laffoon
Michael Lake
Sebastien Laout
David Ling
Volker Lochte
Anders Lund
Thiago Macieira
Jacek Masiulaniec
Benjamin Meyer
Amir Michail
Robert Moszczynski
Dirk Mueller
Ruivaldo Neto
Ralf Nolden
Maks Orlovich
Steven Pasternak
Cedric Pasteur
Erik K. Pedersen
Dennis Pennekamp
Jos Poortvliet
Boudewijn Rempt
Marcos Rodriguez
Matt Rogers
Francisco Jose Canizares Santofimia
Bram Schoenmakers
Dirk Schonberger
Lutz Schweizer
Emmeran Seehuber
Peter Simonsson
Andrew Simpson
A T Somers
Igor Stepin
Stephen Sweeney
Bart Symons
Stefan Taferner
Hogne Titlestad
Brandon Mark Turner
Jonathan Turner
Stephan Unknown
Dries Verachtert
Simon Vermeersch
Lauri Watts
Mark Wege
Christoph Wiesen
Andre Wobbeking
Luke-Jr
Maxim_86ualb2
Michele
Thanks to the many people who have helped to make this program possible.
Please send bug reports and feature requests to http://bugs.kde.org/ or
<kolourpaint-support@lists.sourceforge.net>. Don't hesitate to report bugs
nor hesitate to send us your wishes - it provides valuable feedback that
will help to improve future versions of KolourPaint and you will not
receive flames for reporting duplicates.
Please send bug reports and feature requests to http://bugs.kde.org/.
Don't hesitate to report bugs nor hesitate to send us your wishes - it
provides valuable feedback that will help to improve future versions of
KolourPaint and you will not receive flames for reporting duplicates.
This file lists known bugs in this version that are not considered
......@@ -56,11 +55,6 @@ This file lists known bugs in this version that are not considered
12. You cannot select only parts of the text you write.
13. Due to a workaround for a Qt bug, writing text with the foreground
colour set to transparent is incredibly slow. Write your text in
another colour and then set the foreground colour to transparent after
you've finished typing to avoid this issue.
14. The text cursor may be momentarily misrendered when scrolling the view.
16. The Edit/Paste option is not disabled when the clipboard data is lost
......
......@@ -4,6 +4,8 @@ add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)
include_directories(
# GENERATED BY ./gen_cmake_include_dirs
${CMAKE_CURRENT_SOURCE_DIR}/commands
${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib
${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects
......@@ -21,23 +23,45 @@ ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/imagelib
${CMAKE_CURRENT_SOURCE_DIR}/dialogs/imagelib/effects
${CMAKE_CURRENT_SOURCE_DIR}/dialogs/imagelib/transforms
${CMAKE_CURRENT_SOURCE_DIR}/document
${CMAKE_CURRENT_SOURCE_DIR}/environments
${CMAKE_CURRENT_SOURCE_DIR}/environments/commands
${CMAKE_CURRENT_SOURCE_DIR}/environments/dialogs
${CMAKE_CURRENT_SOURCE_DIR}/environments/dialogs/imagelib
${CMAKE_CURRENT_SOURCE_DIR}/environments/dialogs/imagelib/transforms
${CMAKE_CURRENT_SOURCE_DIR}/environments/document
${CMAKE_CURRENT_SOURCE_DIR}/environments/tools
${CMAKE_CURRENT_SOURCE_DIR}/environments/tools/selection
${CMAKE_CURRENT_SOURCE_DIR}/generic
${CMAKE_CURRENT_SOURCE_DIR}/imagelib
${CMAKE_CURRENT_SOURCE_DIR}/imagelib/effects
${CMAKE_CURRENT_SOURCE_DIR}/imagelib/transforms
${CMAKE_CURRENT_SOURCE_DIR}/mainwindow
${CMAKE_CURRENT_SOURCE_DIR}/interfaces
${CMAKE_CURRENT_SOURCE_DIR}/interfaces/imagelib
${CMAKE_CURRENT_SOURCE_DIR}/layers
${CMAKE_CURRENT_SOURCE_DIR}/layers/selections
${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/image
${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/text
${CMAKE_CURRENT_SOURCE_DIR}/layers/tempImage
${CMAKE_CURRENT_SOURCE_DIR}/lgpl
${CMAKE_CURRENT_SOURCE_DIR}/lgpl/generic
${CMAKE_CURRENT_SOURCE_DIR}/mainWindow
${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx
${CMAKE_CURRENT_SOURCE_DIR}/tools
${CMAKE_CURRENT_SOURCE_DIR}/tools/flow
${CMAKE_CURRENT_SOURCE_DIR}/tools/polygonal
${CMAKE_CURRENT_SOURCE_DIR}/tools/rectangular
${CMAKE_CURRENT_SOURCE_DIR}/tools/selection
${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/text
${CMAKE_CURRENT_SOURCE_DIR}/views
${CMAKE_CURRENT_SOURCE_DIR}/views/manager
${CMAKE_CURRENT_SOURCE_DIR}/widgets
${CMAKE_CURRENT_SOURCE_DIR}/widgets/colorSimilarity
${CMAKE_CURRENT_SOURCE_DIR}/widgets/generic
${CMAKE_CURRENT_SOURCE_DIR}/widgets/imagelib
${CMAKE_CURRENT_SOURCE_DIR}/widgets/imagelib/effects
${CMAKE_CURRENT_SOURCE_DIR}/widgets/toolbars
${CMAKE_CURRENT_SOURCE_DIR}/widgets/toolbars/options
${KDE4_INCLUDE_DIR}
${QT_INCLUDES}
......@@ -73,9 +97,10 @@ endmacro(CREATE_LICENSE)
create_license(${CMAKE_CURRENT_SOURCE_DIR}/COPYING ${CMAKE_CURRENT_BINARY_DIR}/kolourpaintlicense.h)
set(kolourpaint_SRCS
# GENERATED BY ./gen_cmake_srcs
${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectBalanceCommand.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectBlurSharpenCommand.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectClearCommand.cpp
......@@ -83,24 +108,32 @@ ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectCommandBase.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectEmbossCommand.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectFlattenCommand.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectGrayscaleCommand.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectHSVCommand.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectInvertCommand.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectReduceColorsCommand.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectHSVCommand.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectToneEnhanceCommand.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/kpDocumentMetaInfoCommand.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/transforms/kpTransformFlipCommand.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/transforms/kpTransformResizeScaleCommand.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/transforms/kpTransformRotateCommand.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/transforms/kpTransformSkewCommand.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/kpCommand.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/kpCommandHistoryBase.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/kpCommandHistory.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/kpCommandSize.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/kpMacroCommand.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/kpNamedCommand.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/flow/kpToolFlowCommand.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/kpToolColorPickerCommand.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/kpToolFloodFillCommand.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/polygonal/kpToolPolygonalCommand.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/rectangular/kpToolRectangularCommand.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/kpToolImageSelectionTransparencyCommand.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/kpToolSelectionCreateCommand.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/kpToolSelectionDestroyCommand.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/kpToolSelectionMoveCommand.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/kpToolSelectionPullFromDocumentCommand.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/kpToolSelectionResizeScaleCommand.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/kpToolSelectionTransparencyCommand.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/text/kpToolTextBackspaceCommand.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/text/kpToolTextChangeStyleCommand.cpp
${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/text/kpToolTextDeleteCommand.cpp
......@@ -110,6 +143,8 @@ ${CMAKE_CURRENT_SOURCE_DIR}/compat/kpBug.cpp
${CMAKE_CURRENT_SOURCE_DIR}/cursors/kpCursorLightCross.cpp
${CMAKE_CURRENT_SOURCE_DIR}/cursors/kpCursorProvider.cpp
${CMAKE_CURRENT_SOURCE_DIR}/dialogs/imagelib/effects/kpEffectsDialog.cpp
${CMAKE_CURRENT_SOURCE_DIR}/dialogs/imagelib/kpDocumentMetaInfoDialog.cpp
${CMAKE_CURRENT_SOURCE_DIR}/dialogs/imagelib/kpDocumentMetaInfoTextFieldsTableModel.cpp
${CMAKE_CURRENT_SOURCE_DIR}/dialogs/imagelib/transforms/kpTransformFlipDialog.cpp
${CMAKE_CURRENT_SOURCE_DIR}/dialogs/imagelib/transforms/kpTransformPreviewDialog.cpp
${CMAKE_CURRENT_SOURCE_DIR}/dialogs/imagelib/transforms/kpTransformResizeScaleDialog.cpp
......@@ -117,11 +152,18 @@ ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/imagelib/transforms/kpTransformRotateDialog.
${CMAKE_CURRENT_SOURCE_DIR}/dialogs/imagelib/transforms/kpTransformSkewDialog.cpp
${CMAKE_CURRENT_SOURCE_DIR}/dialogs/kpColorSimilarityDialog.cpp
${CMAKE_CURRENT_SOURCE_DIR}/dialogs/kpDocumentSaveOptionsPreviewDialog.cpp
${CMAKE_CURRENT_SOURCE_DIR}/dialogs/kpPrintDialogPage.cpp
${CMAKE_CURRENT_SOURCE_DIR}/document/kpDocument.cpp
${CMAKE_CURRENT_SOURCE_DIR}/document/kpDocument_Open.cpp
${CMAKE_CURRENT_SOURCE_DIR}/document/kpDocument_Save.cpp
${CMAKE_CURRENT_SOURCE_DIR}/document/kpDocumentSaveOptions.cpp
${CMAKE_CURRENT_SOURCE_DIR}/document/kpDocument_Selection.cpp
${CMAKE_CURRENT_SOURCE_DIR}/environments/commands/kpCommandEnvironment.cpp
${CMAKE_CURRENT_SOURCE_DIR}/environments/dialogs/imagelib/transforms/kpTransformDialogEnvironment.cpp
${CMAKE_CURRENT_SOURCE_DIR}/environments/document/kpDocumentEnvironment.cpp
${CMAKE_CURRENT_SOURCE_DIR}/environments/kpEnvironmentBase.cpp
${CMAKE_CURRENT_SOURCE_DIR}/environments/tools/kpToolEnvironment.cpp
${CMAKE_CURRENT_SOURCE_DIR}/environments/tools/selection/kpToolSelectionEnvironment.cpp
${CMAKE_CURRENT_SOURCE_DIR}/generic/kpSetOverrideCursorSaver.cpp
${CMAKE_CURRENT_SOURCE_DIR}/generic/kpWidgetMapper.cpp
${CMAKE_CURRENT_SOURCE_DIR}/imagelib/effects/kpEffectBalance.cpp
......@@ -129,38 +171,52 @@ ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/effects/kpEffectBlurSharpen.cpp
${CMAKE_CURRENT_SOURCE_DIR}/imagelib/effects/kpEffectEmboss.cpp
${CMAKE_CURRENT_SOURCE_DIR}/imagelib/effects/kpEffectFlatten.cpp
${CMAKE_CURRENT_SOURCE_DIR}/imagelib/effects/kpEffectGrayscale.cpp
${CMAKE_CURRENT_SOURCE_DIR}/imagelib/effects/kpEffectHSV.cpp
${CMAKE_CURRENT_SOURCE_DIR}/imagelib/effects/kpEffectInvert.cpp
${CMAKE_CURRENT_SOURCE_DIR}/imagelib/effects/kpEffectReduceColors.cpp
${CMAKE_CURRENT_SOURCE_DIR}/imagelib/effects/kpEffectHSV.cpp
${CMAKE_CURRENT_SOURCE_DIR}/imagelib/effects/kpEffectToneEnhance.cpp
${CMAKE_CURRENT_SOURCE_DIR}/imagelib/kpColor.cpp
${CMAKE_CURRENT_SOURCE_DIR}/imagelib/kpDocumentMetaInfo.cpp
${CMAKE_CURRENT_SOURCE_DIR}/imagelib/kpFloodFill.cpp
${CMAKE_CURRENT_SOURCE_DIR}/imagelib/kpImage.cpp
${CMAKE_CURRENT_SOURCE_DIR}/imagelib/kpPainter.cpp
${CMAKE_CURRENT_SOURCE_DIR}/imagelib/kpTextStyle.cpp
${CMAKE_CURRENT_SOURCE_DIR}/imagelib/transforms/kpTransformAutoCrop.cpp
${CMAKE_CURRENT_SOURCE_DIR}/imagelib/transforms/kpTransformCrop.cpp
${CMAKE_CURRENT_SOURCE_DIR}/kolourpaint.cpp
${CMAKE_CURRENT_SOURCE_DIR}/kpCommandHistory.cpp
${CMAKE_CURRENT_SOURCE_DIR}/kpPixmapFX.cpp
${CMAKE_CURRENT_SOURCE_DIR}/kpSelection.cpp
${CMAKE_CURRENT_SOURCE_DIR}/kpSelectionDrag.cpp
${CMAKE_CURRENT_SOURCE_DIR}/kpSelectionTransparency.cpp
${CMAKE_CURRENT_SOURCE_DIR}/kpTempPixmap.cpp
${CMAKE_CURRENT_SOURCE_DIR}/kpThumbnail.cpp
${CMAKE_CURRENT_SOURCE_DIR}/kpToolAction.cpp
${CMAKE_CURRENT_SOURCE_DIR}/kpViewManager.cpp
${CMAKE_CURRENT_SOURCE_DIR}/kpViewScrollableContainer.cpp
${CMAKE_CURRENT_SOURCE_DIR}/mainwindow/kpMainWindow.cpp
${CMAKE_CURRENT_SOURCE_DIR}/mainwindow/kpMainWindow_Edit.cpp
${CMAKE_CURRENT_SOURCE_DIR}/mainwindow/kpMainWindow_File.cpp
${CMAKE_CURRENT_SOURCE_DIR}/mainwindow/kpMainWindow_Help.cpp
${CMAKE_CURRENT_SOURCE_DIR}/mainwindow/kpMainWindow_Image.cpp
${CMAKE_CURRENT_SOURCE_DIR}/mainwindow/kpMainWindow_Settings.cpp
${CMAKE_CURRENT_SOURCE_DIR}/mainwindow/kpMainWindow_StatusBar.cpp
${CMAKE_CURRENT_SOURCE_DIR}/mainwindow/kpMainWindow_Text.cpp
${CMAKE_CURRENT_SOURCE_DIR}/mainwindow/kpMainWindow_Tools.cpp
${CMAKE_CURRENT_SOURCE_DIR}/mainwindow/kpMainWindow_View.cpp
${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/image/kpAbstractImageSelection.cpp
${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/image/kpEllipticalImageSelection.cpp
${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/image/kpFreeFormImageSelection.cpp
${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/image/kpImageSelectionTransparency.cpp
${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/image/kpRectangularImageSelection.cpp
${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/kpAbstractSelection.cpp
${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/kpSelectionDrag.cpp
${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/kpSelectionFactory.cpp
${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/text/kpTextSelection.cpp
${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/text/kpTextSelection_Cursor.cpp
${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/text/kpTextSelection_Paint.cpp
${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/text/kpTextStyle.cpp
${CMAKE_CURRENT_SOURCE_DIR}/layers/tempImage/kpTempImage.cpp
${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Colors.cpp
${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow.cpp
${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Edit.cpp
${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_File.cpp
${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Help.cpp
${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Image.cpp
${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Settings.cpp
${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_StatusBar.cpp
${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Text.cpp
${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Tools.cpp
${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_View.cpp
${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx/kpPixmapFX_AbstractDraw.cpp
${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx/kpPixmapFX_DrawRasterOps.cpp
${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx/kpPixmapFX_DrawShapes.cpp
${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx/kpPixmapFX_Effects.cpp
${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx/kpPixmapFX_FormatConversion.cpp
${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx/kpPixmapFX_GetSetPixmapParts.cpp
${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx/kpPixmapFX_MaskOps.cpp
${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx/kpPixmapFX_Transforms.cpp
${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolBrush.cpp
${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolColorEraser.cpp
${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolEraser.cpp
......@@ -168,6 +224,7 @@ ${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolFlowBase.cpp
${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolFlowPixmapBase.cpp
${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolPen.cpp
${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolSpraycan.cpp
${CMAKE_CURRENT_SOURCE_DIR}/tools/kpToolAction.cpp
${CMAKE_CURRENT_SOURCE_DIR}/tools/kpToolColorPicker.cpp
${CMAKE_CURRENT_SOURCE_DIR}/tools/kpTool.cpp
${CMAKE_CURRENT_SOURCE_DIR}/tools/kpTool_Drawing.cpp
......@@ -177,6 +234,7 @@ ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpTool_MouseEvents.cpp
${CMAKE_CURRENT_SOURCE_DIR}/tools/kpTool_OtherEvents.cpp
${CMAKE_CURRENT_SOURCE_DIR}/tools/kpTool_UserNotifications.cpp
${CMAKE_CURRENT_SOURCE_DIR}/tools/kpTool_Utilities.cpp
${CMAKE_CURRENT_SOURCE_DIR}/tools/kpToolZoom.cpp
${CMAKE_CURRENT_SOURCE_DIR}/tools/polygonal/kpToolCurve.cpp
${CMAKE_CURRENT_SOURCE_DIR}/tools/polygonal/kpToolLine.cpp
${CMAKE_CURRENT_SOURCE_DIR}/tools/polygonal/kpToolPolygonalBase.cpp
......@@ -190,26 +248,38 @@ ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/kpToolEllipticalSelection.cpp
${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/kpToolFreeFormSelection.cpp
${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/kpToolRectSelection.cpp
${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/kpToolSelection.cpp
${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/kpToolText.cpp
${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/text/kpToolText.cpp
${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/text/kpToolText_CursorCalc.cpp
${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/text/kpToolText_InputMethodEvents.cpp
${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/text/kpToolText_KeyboardEvents.cpp
${CMAKE_CURRENT_SOURCE_DIR}/views/kpThumbnailView.cpp
${CMAKE_CURRENT_SOURCE_DIR}/views/kpUnzoomedThumbnailView.cpp
${CMAKE_CURRENT_SOURCE_DIR}/views/kpView.cpp
${CMAKE_CURRENT_SOURCE_DIR}/views/kpView_Events.cpp
${CMAKE_CURRENT_SOURCE_DIR}/views/kpView_Paint.cpp
${CMAKE_CURRENT_SOURCE_DIR}/views/kpView_Selections.cpp
${CMAKE_CURRENT_SOURCE_DIR}/views/kpZoomedThumbnailView.cpp
${CMAKE_CURRENT_SOURCE_DIR}/views/kpZoomedView.cpp
${CMAKE_CURRENT_SOURCE_DIR}/views/manager/kpViewManager.cpp
${CMAKE_CURRENT_SOURCE_DIR}/views/manager/kpViewManager_TextCursor.cpp
${CMAKE_CURRENT_SOURCE_DIR}/views/manager/kpViewManager_ViewUpdates.cpp
${CMAKE_CURRENT_SOURCE_DIR}/widgets/colorSimilarity/kpColorSimilarityCubeRenderer.cpp
${CMAKE_CURRENT_SOURCE_DIR}/widgets/colorSimilarity/kpColorSimilarityHolder.cpp
${CMAKE_CURRENT_SOURCE_DIR}/widgets/colorSimilarity/kpColorSimilarityFrame.cpp
${CMAKE_CURRENT_SOURCE_DIR}/widgets/colorSimilarity/kpColorSimilarityToolBarItem.cpp
${CMAKE_CURRENT_SOURCE_DIR}/widgets/generic/kpResizeSignallingLabel.cpp
${CMAKE_CURRENT_SOURCE_DIR}/widgets/generic/kpSqueezedTextLabel.cpp
${CMAKE_CURRENT_SOURCE_DIR}/widgets/imagelib/effects/kpEffectBalanceWidget.cpp
${CMAKE_CURRENT_SOURCE_DIR}/widgets/imagelib/effects/kpEffectBlurSharpenWidget.cpp
${CMAKE_CURRENT_SOURCE_DIR}/widgets/imagelib/effects/kpEffectEmbossWidget.cpp
${CMAKE_CURRENT_SOURCE_DIR}/widgets/imagelib/effects/kpEffectFlattenWidget.cpp
${CMAKE_CURRENT_SOURCE_DIR}/widgets/imagelib/effects/kpEffectHSVWidget.cpp
${CMAKE_CURRENT_SOURCE_DIR}/widgets/imagelib/effects/kpEffectInvertWidget.cpp
${CMAKE_CURRENT_SOURCE_DIR}/widgets/imagelib/effects/kpEffectReduceColorsWidget.cpp
${CMAKE_CURRENT_SOURCE_DIR}/widgets/imagelib/effects/kpEffectHSVWidget.cpp
${CMAKE_CURRENT_SOURCE_DIR}/widgets/imagelib/effects/kpEffectToneEnhanceWidget.cpp
${CMAKE_CURRENT_SOURCE_DIR}/widgets/imagelib/effects/kpEffectWidgetBase.cpp
${CMAKE_CURRENT_SOURCE_DIR}/widgets/kpColorCells.cpp
${CMAKE_CURRENT_SOURCE_DIR}/widgets/kpColorPalette.cpp
${CMAKE_CURRENT_SOURCE_DIR}/widgets/kpColorSimilarityCube.cpp
${CMAKE_CURRENT_SOURCE_DIR}/widgets/kpColorSimilarityToolBarItem.cpp
${CMAKE_CURRENT_SOURCE_DIR}/widgets/kpDocumentSaveOptionsWidget.cpp
${CMAKE_CURRENT_SOURCE_DIR}/widgets/kpDualColorButton.cpp
${CMAKE_CURRENT_SOURCE_DIR}/widgets/kpTransparentColorCell.cpp
......@@ -225,10 +295,32 @@ ${CMAKE_CURRENT_SOURCE_DIR}/widgets/toolbars/options/kpToolWidgetSpraycanSize.cp
) # set(kolourpaint_SRCS
set(kolourpaint_lgpl_SRCS
${CMAKE_CURRENT_SOURCE_DIR}/lgpl/generic/kpColorCollection.cpp
)
#
# LGPL Library
#
# This MUST be a dynamic link library to avoid LGPL license infection
kde4_add_library(kolourpaint_lgpl SHARED ${kolourpaint_lgpl_SRCS})
target_link_libraries(kolourpaint_lgpl ${KDE4_KDE3SUPPORT_LIBS})
install(TARGETS kolourpaint_lgpl DESTINATION ${LIB_INSTALL_DIR})
#
# Executable
#
kde4_add_executable(kolourpaint ${kolourpaint_SRCS})
target_link_libraries(kolourpaint ${KDE4_KDEPRINT_LIBS} ${QT_QT3SUPPORT_LIBRARY})
target_link_libraries(kolourpaint ${KDE4_KDEPRINT_LIBS} ${QT_QT3SUPPORT_LIBRARY} kolourpaint_lgpl)
install(TARGETS kolourpaint DESTINATION ${BIN_INSTALL_DIR})
......@@ -319,3 +411,4 @@ install( FILES kolourpaintui.rc DESTINATION ${DATA_INSTALL_DIR}/kolourpaint )
# widgets/*.cpp widgets/*.h \
# -o $(podir)/kolourpaint.pot
#
Copyright (c) 2003-2007 Clarence Dang <dang@kde.org>
Portions Copyright (c) 2006 Mike Gashler <gashlerm@yahoo.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
......
......@@ -6,6 +6,32 @@ KolourPaint 4.0.0 (Frozen ???)
* Port to KDE 4 (Laurent Montel)
* Save local files atomically - KolourPaint will no longer truncate
an existing file if the KImageIO library for the file format is
missing or if you run out of disk space.
[also in branches/KDE/3.5]
* Add "File / Scan..." feature (Martin Koller)
[also in branches/KDE/3.5/]
* Add "Hue, Saturation, Value" effect (Mike Gashler)
* Add "Tone Enhance" effect (Mike Gashler)
* Add global session save/restore (Bug #94651)
[also in branches/KDE/3.5/]
* Make "File / Open Recent" consistently work when multiple windows are
open
[also in branches/KDE/3.5/]
* CTRL+C'ing a text box also places the text in the middle-mouse-button
clipboard, in lieu of being able to highlight the text to do this
[also in branches/KDE/3.5/]
* Change minimum allowed zoom level for the grid from 600% to 400%
[also in branches/KDE/3.5/]
* Rectangles, rounded rectangles and ellipsed are now bounded by
the dimensions of the dragged out rectangle
......@@ -15,17 +41,34 @@ KolourPaint 4.0.0 (Frozen ???)
- Centre image on page
[also in branches/KDE/3.5/]
* Add, to the print dialog, a choice between printing the image at the
top-left of the page or at the center (this was previously a hidden
configuration option, which is now ignored)
(Bug #33481)
* Add hidden configuration option "Open Images in the Same Window"
(Bug #125116)
* Fix crash triggered by rapidly deselecting a selection after
drag-scaling the selection (Bug 117866)
drag-scaling the selection (Bug #117866)
[also in branches/KDE/3.[345]/, branches/kolourpaint/1.2_kde3/]
* Add "Rotate 90 Degrees Counterclockwise" (CTRL+L) and
"Rotate 90 Degrees Clockwise" (CTRL+R) to "Image" menu as a quick way
to access the common types of "Rotate..." (changed from CTRL+R to
CTRL+SHIFT+R) (Bug #135184)
* Add "Rotate Left" (CTRL+SHIFT+Left) and "Rotate Right" (CTRL+SHIFT+R)
to "Image" menu as a quick way to access the common types of "Rotate..."
(Bug #135184, #141530))
* Add "Image / Draw Opaque" menu item since some users expect it.
It duplicates the functionality of the already existent Tool Box widget.
* Animate the Color Similarity Tool Bar Item, to highlight the existence
of the feature
- And make the configuration more accessible
- Also add "Image / Draw With Color Similarity" to duplicate the tool
bar item
* REGRESSION: The rendering quality of a text box with opaque text but
a see-through background, on top of transparent document
areas, is lower than before.
KolourPaint 1.4_relight Series (branches/KDE/3.5/)
......
KolourPaint Version 4.0.0pre (KDE 4.0.0 Release Frozen ???)
KolourPaint Version 4.0.0pre2 (KDE 4.0.0 Release Frozen ???)
http://www.kolourpaint.org/
Copyright (c) 2003-2007 Clarence Dang <dang@kde.org>
......@@ -85,20 +85,17 @@ Visit: http://www.kolourpaint.org/
4. Support
==========
Email: <kolourpaint-support@lists.sourceforge.net>
Visit: http://www.kolourpaint.org/
If you have any questions about compiling, installing or using KolourPaint,
don't be afraid to contact us using the above email address. Email sent
to this address is not publicly archived. We try to support all versions
of KolourPaint and even issues with 3rd party binary packages.
don't be afraid to contact us. We try to support all versions of
KolourPaint and even issues with 3rd party binary packages.
5. Feedback
===========
Please send bug reports and feature requests to http://bugs.kde.org/ or
<kolourpaint-support@lists.sourceforge.net>. Don't hesitate to report bugs
nor hesitate to send us your wishes - it provides valuable feedback that
will help to improve future versions of KolourPaint and you will not
receive flames for reporting duplicates.
Please send bug reports and feature requests to http://bugs.kde.org/.
Don't hesitate to report bugs nor hesitate to send us your wishes - it
provides valuable feedback that will help to improve future versions of
KolourPaint and you will not receive flames for reporting duplicates.
......@@ -59,8 +59,8 @@
kpEffectBalanceCommand::kpEffectBalanceCommand (int channels,
int brightness, int contrast, int gamma,
bool actOnSelection,
kpMainWindow *mainWindow)
: kpEffectCommandBase (i18n ("Balance"), actOnSelection, mainWindow),
kpCommandEnvironment *environ)
: kpEffectCommandBase (i18n ("Balance"), actOnSelection, environ),
m_channels (channels),
m_brightness (brightness), m_contrast (contrast), m_gamma (gamma)
{
......
......@@ -34,11 +34,6 @@
#include <kpImage.h>
class kpMainWindow;
class kpEffectBalanceCommand : public kpEffectCommandBase
{
public:
......@@ -46,7 +41,7 @@ public:
kpEffectBalanceCommand (int channels,
int brightness, int contrast, int gamma,
bool actOnSelection,
kpMainWindow *mainWindow);
kpCommandEnvironment *environ);
virtual ~kpEffectBalanceCommand ();
protected:
......
......@@ -44,20 +44,17 @@
#include <klocale.h>
#include <knuminput.h>
#include <kpMainWindow.h>
#include <kpPixmapFX.h>
kpEffectBlurSharpenCommand::kpEffectBlurSharpenCommand (kpEffectBlurSharpen::Type type,
double radius, double sigma,
int repeat,
bool actOnSelection,
kpMainWindow *mainWindow)
int strength,
bool actOnSelection,
kpCommandEnvironment *environ)
: kpEffectCommandBase (kpEffectBlurSharpenCommand::nameForType (type),
actOnSelection, mainWindow),
actOnSelection, environ),
m_type (type),
m_radius (radius), m_sigma (sigma),
m_repeat (repeat)
m_strength (strength)
{
}
......@@ -81,7 +78,7 @@ QString kpEffectBlurSharpenCommand::nameForType (kpEffectBlurSharpen::Type type)
// protected virtual [base kpEffectCommandBase]
kpImage kpEffectBlurSharpenCommand::applyEffect (const kpImage &image)
{
return kpEffectBlurSharpen::applyEffect (image, m_type, m_radius, m_sigma, m_repeat);
return kpEffectBlurSharpen::applyEffect (image, m_type, m_strength);
}
......
......@@ -30,36 +30,28 @@
#define kpEffectBlurSharpenCommand_H
#include <kpColor.h>
#include <kpEffectBlurSharpen.h>
#include <kpEffectCommandBase.h>
#include <kpImage.h>
class kpMainWindow;
class kpEffectBlurSharpenCommand : public kpEffectCommandBase
{
public:
kpEffectBlurSharpenCommand (kpEffectBlurSharpen::Type type,
double radius, double sigma,
int repeat,
int strength,