1. 25 Jul, 2014 2 commits
  2. 24 Jul, 2014 17 commits
    • Denis Kuplyakov's avatar
      Fixed TestKoTextEditor test building. · e1b97ced
      Denis Kuplyakov authored
      e1b97ced
    • Denis Kuplyakov's avatar
      Squashed commit of the following: · 14288876
      Denis Kuplyakov authored
      commit 578d19922580ca154a8083c033b600190075ba88
      Merge: 7b77578 a9b08c0
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Thu Jul 24 19:48:43 2014 +0300
      
          Merge branch 'master' into words-sections-deniskup
      
      commit 7b77578090c59b87a35124fd141d07b85130b86c
      Merge: aa09fac 2a6ff90
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Thu Jul 24 16:33:00 2014 +0300
      
          Merge branch 'master' into words-sections-deniskup
      
      commit aa09facf492dc536f8505b554c6a6b5aef7bdce1
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Thu Jul 24 16:27:57 2014 +0300
      
          Added xml:id saving for a KoSection.
      
          And minor formatting changes in other files as always.
      
      commit 6450a56541eb9a741d1ec0902afee8c02279dec0
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Tue Jul 22 18:06:57 2014 +0300
      
          Added after-merge missing function declarations...
           and includes.
      
      commit f0f55d433c5c2d8c153c357b84e52b67a47596b1
      Merge: 2c27da8 91ef492
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Mon Jul 21 23:16:45 2014 +0300
      
          Merge branch 'master' into words-sections-deniskup
      
          Conflicts:
          	libs/kotext/commands/DeleteCommand.cpp
          	libs/kotext/opendocument/KoTextWriter_p.cpp
          	libs/odf/KoOdfPaste.cpp
      
      commit 2c27da8b29700aabadb524d25e69b60c04a9d7e5
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Sat Jul 19 20:05:24 2014 +0300
      
          Implemented merge for RenameSectionCommand
      
      commit b671d2d509e09b0f83ab4c5dd35d9afa33490bee
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Sat Jul 19 19:13:49 2014 +0300
      
          Fixed NewSectionCommand implementation
      
      commit c033430ed0f6f6c5dc5a30cad49083bd7db271c0
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Sat Jul 19 19:05:45 2014 +0300
      
          Intoduced NewSectionCommand
      
          Need it to handle invalidation of KoSectionManager on undo.
          Otherwise has bug in showing sections after undo.
          Also added missing invalidate in DeleteCommand undo.
          Fixed minor formatting issues.
      
      commit dc8394523c88d0cbb0f2aabe8e510930ebf517e2
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Sat Jul 19 16:01:30 2014 +0300
      
          Deleted test data generation code
      
          Conflicts:
          	libs/kotext/tests/TestKoTextEditor.cpp
      
      commit b13762c66841bd3d799258b909195e2a67aef3c7
      Merge: e881b06 8c24a7b
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Sun Jul 6 14:49:33 2014 +0400
      
          Merge branch 'master' into words-sections-deniskup
      
      commit e881b06e2492dfae28c1a7f47f315565f899a928
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Sun Jul 6 14:44:26 2014 +0400
      
          Added some comments
      
      commit a6f8e0453168826e3f6ed6e13e3b920cc2cb80c2
      Merge: 34837b7 a715bc4
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Fri Jul 4 18:30:04 2014 +0400
      
          Merge branch 'master' into words-sections-deniskup
      
          Conflicts:
          	libs/kundo2/kundo2magicstring.h
      
      commit 34837b75f032b1239c08b4bbeaf7f72a95b16c4d
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Fri Jul 4 18:24:18 2014 +0400
      
          Added undo/redo for section renaming
      
          Also extracted model update to KoSectionManager.
      
      commit 84eaff0e11cc36d54ed00d5d04be18a164b48f74
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Fri Jul 4 01:05:41 2014 +0400
      
          Deleted unneeded QDebug
      
      commit 283daada3b037644dff24013bc3b6ed40c84654c
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Fri Jul 4 00:54:33 2014 +0400
      
          Added missing files
      
      commit a2a29a9187087019a2b3380f0200429757ffe4af
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Fri Jul 4 00:42:59 2014 +0400
      
          Added new "Configure section" dialog
          Also fixed loading bug for KoSection
      
      commit dee6fc1d6f4efde0b725cf2f89ba9ecd8d4f4d4d
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Tue Jul 1 18:58:45 2014 +0400
      
          Fixed "Undo New section" message
      
      commit 1e5606a5b0387feb362249fb0f6bc1dc39bb2944
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Tue Jul 1 18:46:54 2014 +0400
      
          Picked better icon for new section button
      
      commit aa97339894c2e03bad57e02d04b7674189654a46
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Tue Jul 1 15:24:49 2014 +0400
      
          Added missing invalidate in DeleteCommand
      
      commit 617d7c938cbfe1a2e191003bed93a5b0ef87eae8
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Tue Jul 1 15:09:50 2014 +0400
      
          Fixed wrong indication of section bug
          1) minor formatting issues and comment changes
          2) new APIs for KoSection, KoSectionEnd
          3) introduced KoSectionManager that handles sections and updates their info
          4) some FIXMEs for the future
      
      commit 7af342a2cbc56f5d78f5749075a288eaefb27512
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Mon Jun 23 20:54:54 2014 +0400
      
          Fixed latest reviewboard issues
      
      commit 2cc32394c25c834832a75805b077b465ff42d069
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Mon Jun 23 19:58:42 2014 +0400
      
          Fixed section indication for multiline and dropcap
      
      commit dc3206c70bcf9c475b44ba1dc63687df25ce0a2f
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Mon Jun 23 13:05:38 2014 +0400
      
          Fixed minor issues from reviewboard
      
      commit 3ca8f003bcb7f1b8e4ec748f4d29879b4f0437fc
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Mon Jun 23 13:00:24 2014 +0400
      
          Rework of KoSection* classes and methods
      
          Splitted KoSection, KoSectionEnd, KoSectionUtils by different files
          Now KoSectionEnd and KoSection have cross-reference pointers
      
      commit bf5cb0b78d9d7f12af00eee5602ed4d51abee11a
      Merge: 12e56cf 10acd05
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Sun Jun 22 23:50:17 2014 +0400
      
          Merge branch 'master' into words-sections-deniskup
      
          Conflicts:
          	words/part/CMakeLists.txt
      
      commit 12e56cf2eb6bc9b4fd5286a1ed54501692425caa
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Sun Jun 22 23:14:37 2014 +0400
      
          Section indication has toggle in GUI now
      
      commit b007d3fd9a177a68732343b2b70869d56673c0b6
      Merge: dbe0ad8 942492d
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Sat Jun 7 00:07:37 2014 +0400
      
          Merge branch 'master' into words-sections-deniskup
      
      commit dbe0ad82217678d845d23eaebe8f465e4b2cb291
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Sat Jun 7 00:03:34 2014 +0400
      
          Deleted useless comment
      
      commit 260c966f5e274416c5f1bdad2129b9620411eba4
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Sat Jun 7 00:01:47 2014 +0400
      
          New indication of sections
      
          Now it looks more clean, less vivid, and more intuitive for me
      
      commit 22b965cc0a290a986844eaaa948553a0d4430362
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Fri Jun 6 01:06:05 2014 +0400
      
          Fixed indication of sections in tables
      
      commit 41019e4a2742dd41705a8478c5abd4610260f438
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Fri Jun 6 00:55:25 2014 +0400
      
          Added ability to insert new section
      
          This is very simple, you can't even change section name.
      
      commit b1a4d0c1a6998b4378dc94208edd1bd0b2664a96
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Fri Jun 6 00:53:51 2014 +0400
      
          Fixed comments formatting
      
      commit b4920130e86d96b715d60f4eb88b6c63e518d59e
      Merge: 94545f7 bfdef54
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Thu Jun 5 16:37:53 2014 +0400
      
          Merge branch 'master' into words-sections-deniskup
      
      commit 94545f736d0112b73a1da7fef15717602d82bdfe
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Thu Jun 5 16:36:45 2014 +0400
      
          Fixed bugs and extracted delete code to visitor
      
          Fixed two bugs in getNextBlock that lead to hangs when working with
          tables.
      
          Fixed documentation for a getNextBlock function.
      
          Extracted section handling code of DeleteCommand to DeleteVisitor to
          work right with write-protected text.
      
          Fixed issues from reviewboard.
      
      commit db5b0938b9b1ea899e4e6334cc9020ea98d541d0
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Wed Jun 4 23:40:15 2014 +0400
      
          Fixes of issues from review-board
      
          Also some additional documentation added
      
      commit 7ff74553ea21d19ff4bbca596b2c9165d1eb7151
      Merge: 7056db0 1655736
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Wed Jun 4 20:08:06 2014 +0400
      
          Merge branch 'master' into words-sections-deniskup
      
      commit 7056db0250010aa5e98a311d64efecd1ecca86c3
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Wed Jun 4 20:07:16 2014 +0400
      
          Fixed explanation of algorithm
      
      commit d67cd25a80a637f9f8961f173401fbff67be3e34
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Wed Jun 4 18:22:58 2014 +0400
      
          Extracted some repeated code to functions
      
      commit 7b7dec9ed57d6736d15aa9df677c6fd3f432b047
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Wed Jun 4 18:15:17 2014 +0400
      
          Another fix for delete cmd and section handling
      
      commit a79ce2e840c89222a5dceb6a55b9e119970f3bd9
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Fri May 30 19:45:13 2014 +0400
      
          Extracted getNextBlock to KoSection files
          It is now on KoSectionUtils namespace
      
      commit ee3fb8f0245412d1c8390e9c46eec406eeeb85b3
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Fri May 30 19:27:34 2014 +0400
      
          Minor changes
          Fixed formatting
          Deleted useless FIXME
          Added more comments
      
      commit aad278b1314a3517e615c640e9523002e81e095e
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Fri May 30 18:40:16 2014 +0400
      
          Fixed paste operation
      
          Now paste moves the ends of the sections forward,
          after the inserted text
      
      commit 1eb10a721a4645b5fbd203c0d5b4a4c42b0a5dbc
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Fri May 30 17:14:06 2014 +0400
      
          Some minor formatting fixes
      
      commit d2450717548a32682779a1bc0510d76b50a27381
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Fri May 30 14:55:45 2014 +0400
      
          Fixed saving of entire document
          To == -1 was unhandled
      
      commit 1e83e15e8592888ac4acede1252fc4fb5104629d
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Fri May 30 14:36:50 2014 +0400
      
          Fixed the copy function
      
          Copy used a KoTextWriter to generate xml of copied fragment,
          now it doesn't write the sections that aren't lying entirely
          within selection.
      
      commit 6db5c1d5ce3e73f38e259a05ba3a08efae60172b
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Fri May 30 13:15:46 2014 +0400
      
          Fixed "apply style" deletes section info
      
      commit 52fe80e28f28b11f6f60a74a5c37e5e97bc18de3
      Merge: a598b5c 2576f5f
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Wed May 28 21:23:51 2014 +0400
      
          Merge branch 'master' into words-sections-deniskup
      
      commit a598b5c4e7528847d28f8f9ea9f7f7ca4655a6d8
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Wed May 28 21:19:51 2014 +0400
      
          New way of handling sections on delete
      
          Old deleting has some bugs, have tested this version
          looks like it's working good.
      
      commit fff67f96eae878901185f150245b5abb5f0a2e95
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Wed May 28 21:17:58 2014 +0400
      
          Added some new debug info to debugWidget
      
      commit c85dddd0e06f01ae216f5225a6ab2a0384f9b3a5
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Sat May 17 17:16:12 2014 +0400
      
          Fixed build error for CMAKE_BUILD != debug
      
          Also added FIXME to make better implementation
          and fixed minor formatting issue
      
      commit 7756392d19d72416fa170a993e6f88387990c758
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Sat May 17 16:24:31 2014 +0400
      
          Fixed codestyle and deleted qDebug()
      
      commit d327b6f6aaa36d8ac03241a83a8287550fd2a044
      Merge: 06b590c dc9d3ef
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Sat May 3 00:52:13 2014 +0400
      
          Merge branch 'master' into words-sections-deniskup
      
      commit 06b590c377dfd5821d7a3dd55566960da3619d95
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Sat May 3 00:50:42 2014 +0400
      
          First implementation of handling sections
      
          1) It seems that creating new paragraph works correct
          2) It seems that deleting of the text works correct
      
      commit e2b2e2834b26b19d376aa254e619a0293802ee73
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Sat May 3 00:48:44 2014 +0400
      
          Added info about block number to DebugWidget
      
      commit 9496c843e188174a2ca527d00ddbe5544a16fe06
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Fri May 2 14:52:40 2014 +0400
      
          Implemented indication of sections
      
          Starts of sections is green with names on left and ends is red with
          names on right.
      
          Length of line shows level of the section.
      
      commit e07d1c7b0f75f0d2bb830339ecb3c4c652718160
      Merge: 697d1e8 060ef86
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Thu May 1 21:54:51 2014 +0400
      
          Merge branch 'master' into words-sections-deniskup
      
      commit 697d1e8acbc75889cf96ce15b6bb9f92da259b8f
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Thu May 1 21:23:11 2014 +0400
      
          Added special productset for fast building
      
          It builds author and words.
      
      commit a1b71b464d067c4c879627f2eaa332fd6e62c2a8
      Author: Denis Kuplyakov <dener.kup@gmail.com>
      Date:   Thu May 1 21:20:18 2014 +0400
      
          Implemented tool to debug sections
      
          Special docker has been written, that shows info about sections of
          current QTextBlock. It builds only if DEBUG build is performed.
      14288876
    • Boudewijn Rempt's avatar
      Set the docker font also on tool option panels · f0734e73
      Boudewijn Rempt authored
      We set the docker font to small and on OSX the docker widgets to
      WA_MacSmallSize, but the tool option widgets are added later, so they
      still had the default font size and widget size. This fixes that
      inconsistency.
      f0734e73
    • Boudewijn Rempt's avatar
      Revert "Enable the resource manager" · 1374a30c
      Boudewijn Rempt authored
      This reverts commit ea5429da898b9268b7104ea7e3140b919b589d2d.
      1374a30c
    • Boudewijn Rempt's avatar
      Use a cheaper way to check whether the layer has effect masks · 6ecce26e
      Boudewijn Rempt authored
      Creating the stringlist and the properties object, then all
      the comparisons of strings took 3.5% of cpu time during canvas
      recalculation.
      
      However, we might have to add a lock around this.
      6ecce26e
    • Boudewijn Rempt's avatar
      Opengl: keep the conversion caches around · 7ba194a6
      Boudewijn Rempt authored
      So we don't have to create and delete a whole lot of memory every update.
      7ba194a6
    • Boudewijn Rempt's avatar
      Fix memory leak in KisTextureTile · 8be9c938
      Boudewijn Rempt authored
      We would create a QGLBuffer with every update but only delete it
      in the texture tile destructor.
      8be9c938
    • Boudewijn Rempt's avatar
      Cache the number of mipmap levels instead of asking KisConfig · 5f0a60ec
      Boudewijn Rempt authored
      setTextureParameters took 0.7% according to vtune, now nothing. It
      was called for every texture update.
      5f0a60ec
    • Boudewijn Rempt's avatar
      Cache the value of useOpenGlBuffer · b0342ab7
      Boudewijn Rempt authored
      So we don't have to create and destroy a KisConfig object every time the
      tile gets updated. This was about half the cost of KisTextureTile::update
      according to vtune.
      b0342ab7
    • Boudewijn Rempt's avatar
    • Boudewijn Rempt's avatar
    • Boudewijn Rempt's avatar
      OpenGL: do not create lots of QVector objects while rendering · 213a073a
      Boudewijn Rempt authored
      According to vtune, this took about 6% of CPU time while rendering.
      After this change, PaintGL went from 13,5% of CPU time while drawing
      to 6,5%.
      213a073a
    • Boudewijn Rempt's avatar
      fix includes · 8d8b12cd
      Boudewijn Rempt authored
      8d8b12cd
    • Boudewijn Rempt's avatar
      Enable the resource manager · b7b23d28
      Boudewijn Rempt authored
      b7b23d28
    • Boudewijn Rempt's avatar
      a049c8ff
    • Script Kiddy's avatar
      SVN_SILENT made messages (.desktop file) · 9bfba18e
      Script Kiddy authored
      9bfba18e
    • Script Kiddy's avatar
      SVN_SILENT made messages (after extraction) · 04c6e886
      Script Kiddy authored
      04c6e886
  3. 23 Jul, 2014 21 commits