From 7dfa3fe589d1722d49681f42cdb0bf1e6efb5223 Mon Sep 17 00:00:00 2001 From: Sven Hoexter Date: Fri, 3 May 2024 14:10:12 +0200 Subject: [PATCH] Import Upstream version 2.6.11 --- CMakeLists.txt | 334 + INSTALL.txt | 18 + LICENSE.txt | 307 + README.md | 83 + aboutdialog.cpp | 251 + aboutdialog.h | 72 + adaptormodel.cpp | 68 + adaptormodel.h | 39 + adaptorvym.cpp | 41 + adaptorvym.h | 28 + animpoint.cpp | 140 + animpoint.h | 39 + arrowobj.cpp | 218 + arrowobj.h | 56 + attribute.cpp | 296 + attribute.h | 93 + attributedelegate.cpp | 138 + attributedelegate.h | 37 + attributedialog.cpp | 118 + attributedialog.h | 49 + attributedialog.ui | 60 + attributeitem.cpp | 195 + attributeitem.h | 48 + attributewidget.cpp | 39 + attributewidget.h | 28 + attributewidget.ui | 51 + branchitem.cpp | 575 + branchitem.h | 89 + branchobj.cpp | 737 + branchobj.h | 63 + branchpropeditor.cpp | 404 + branchpropeditor.h | 64 + branchpropeditor.ui | 406 + bugagent.cpp | 206 + bugagent.h | 48 + cmake/Findcppcheck.cmake | 160 + cmake/Findcppcheck.cpp | 16 + command.cpp | 123 + command.h | 33 + demos/ao-report-example.vym | Bin 0 -> 8067 bytes demos/frames.vym | Bin 0 -> 86706 bytes demos/lifeforms.vym | Bin 0 -> 25422 bytes demos/math.vym | Bin 0 -> 8669 bytes demos/time-management.vym | Bin 0 -> 36801 bytes demos/vym-contribute.vym | Bin 0 -> 6057 bytes doc/vym.1.gz | Bin 0 -> 1068 bytes doc/vym.pdf | Bin 0 -> 1647796 bytes doc/vym_es.pdf | Bin 0 -> 775187 bytes doc/vym_fr.pdf | Bin 0 -> 990791 bytes dockeditor.cpp | 25 + dockeditor.h | 25 + downloadagent.cpp | 205 + downloadagent.h | 61 + editxlinkdialog.cpp | 132 + editxlinkdialog.h | 40 + editxlinkdialog.ui | 285 + exporthtmldialog.cpp | 343 + exporthtmldialog.h | 79 + exporthtmldialog.ui | 440 + exportoofiledialog.cpp | 90 + exportoofiledialog.h | 37 + exports.cpp | 1402 ++ exports.h | 180 + exports/orange-blue.conf | 4 + .../META-INF/manifest.xml | 14 + .../1000000000000040000000400142E835.png | Bin 0 -> 351 bytes .../Thumbnails/thumbnail.png | Bin 0 -> 2284 bytes .../template-orange-blue/content-template.xml | 247 + exports/template-orange-blue/content.xml | 2 + exports/template-orange-blue/meta.xml | 2 + exports/template-orange-blue/mimetype | 1 + .../template-orange-blue/page-template.xml | 21 + exports/template-orange-blue/settings.xml | 2 + exports/template-orange-blue/styles.xml | 2 + exportxhtmldialog.ui | 489 + extrainfodialog.cpp | 62 + extrainfodialog.h | 35 + extrainfodialog.ui | 196 + file.cpp | 558 + file.h | 53 + findresultitem.cpp | 150 + findresultitem.h | 45 + findresultmodel.cpp | 279 + findresultmodel.h | 69 + findresultwidget.cpp | 125 + findresultwidget.h | 47 + findwidget.cpp | 105 + findwidget.h | 42 + flag.cpp | 142 + flag.h | 56 + flagobj.cpp | 158 + flagobj.h | 53 + flagrow.cpp | 208 + flagrow.h | 51 + flagrowobj.cpp | 171 + flagrowobj.h | 41 + flags/flag-2arrow-down.png | Bin 0 -> 972 bytes flags/flag-2arrow-up.png | Bin 0 -> 1016 bytes flags/flag-arrow-down.png | Bin 0 -> 722 bytes flags/flag-arrow-up.png | Bin 0 -> 787 bytes flags/flag-clock.png | Bin 0 -> 1462 bytes flags/flag-cross-red.png | Bin 0 -> 784 bytes flags/flag-exclamationmark.png | Bin 0 -> 705 bytes flags/flag-flash.png | Bin 0 -> 534 bytes flags/flag-heart.png | Bin 0 -> 1139 bytes flags/flag-hideexport.png | Bin 0 -> 408 bytes flags/flag-hook-green.png | Bin 0 -> 660 bytes flags/flag-info.png | Bin 0 -> 1471 bytes flags/flag-lamp.png | Bin 0 -> 1689 bytes flags/flag-lifebelt.png | Bin 0 -> 1533 bytes flags/flag-note.png | Bin 0 -> 1293 bytes flags/flag-phone.png | Bin 0 -> 1458 bytes flags/flag-present.png | Bin 0 -> 1652 bytes flags/flag-questionmark.png | Bin 0 -> 971 bytes flags/flag-rose.png | Bin 0 -> 1517 bytes flags/flag-scrolled-right.png | Bin 0 -> 286 bytes flags/flag-smiley-good.png | Bin 0 -> 1394 bytes flags/flag-smiley-omb.png | Bin 0 -> 1441 bytes flags/flag-smiley-sad.png | Bin 0 -> 1361 bytes flags/flag-stopsign.png | Bin 0 -> 1854 bytes flags/flag-target.png | Bin 0 -> 2206 bytes flags/flag-task-finished.png | Bin 0 -> 1135 bytes flags/flag-task-new-morning.png | Bin 0 -> 1319 bytes flags/flag-task-new-sleeping.png | Bin 0 -> 1247 bytes flags/flag-task-new.png | Bin 0 -> 1263 bytes flags/flag-task-wip-morning.png | Bin 0 -> 1328 bytes flags/flag-task-wip-sleeping.png | Bin 0 -> 1264 bytes flags/flag-task-wip.png | Bin 0 -> 1317 bytes flags/flag-task.png | Bin 0 -> 1153 bytes flags/flag-thumb-down.png | Bin 0 -> 1343 bytes flags/flag-thumb-up.png | Bin 0 -> 1341 bytes flags/flag-tmpUnscrolled-right.png | Bin 0 -> 338 bytes flags/flag-url-16x16.png | Bin 0 -> 828 bytes flags/flag-url-bugzilla-novell-closed.png | Bin 0 -> 1490 bytes flags/flag-url-bugzilla-novell.png | Bin 0 -> 1567 bytes flags/flag-url.png | Bin 0 -> 1237 bytes flags/flag-urlnew.png | Bin 0 -> 1545 bytes flags/flag-vymlink.png | Bin 0 -> 1187 bytes flags/flag-vymlinknew.png | Bin 0 -> 1342 bytes flags/flag-wip.png | Bin 0 -> 1355 bytes flags/freemind/attach.png | Bin 0 -> 224 bytes flags/freemind/back.png | Bin 0 -> 231 bytes flags/freemind/bell.png | Bin 0 -> 630 bytes flags/freemind/bookmark.png | Bin 0 -> 820 bytes flags/freemind/clanbomber.png | Bin 0 -> 917 bytes flags/freemind/desktopnew.png | Bin 0 -> 805 bytes flags/freemind/flag.png | Bin 0 -> 291 bytes flags/freemind/forward.png | Bin 0 -> 231 bytes flags/freemind/gohome.png | Bin 0 -> 307 bytes flags/freemind/help.png | Bin 0 -> 250 bytes flags/freemind/idea.png | Bin 0 -> 340 bytes flags/freemind/kaddressbook.png | Bin 0 -> 402 bytes flags/freemind/knotify.png | Bin 0 -> 508 bytes flags/freemind/korn.png | Bin 0 -> 815 bytes flags/freemind/licq.png | Bin 0 -> 901 bytes flags/freemind/mail.png | Bin 0 -> 647 bytes flags/freemind/password.png | Bin 0 -> 950 bytes flags/freemind/pencil.png | Bin 0 -> 288 bytes flags/freemind/penguin.png | Bin 0 -> 754 bytes flags/freemind/priority-1.png | Bin 0 -> 735 bytes flags/freemind/priority-2.png | Bin 0 -> 921 bytes flags/freemind/priority-3.png | Bin 0 -> 960 bytes flags/freemind/priority-4.png | Bin 0 -> 835 bytes flags/freemind/priority-5.png | Bin 0 -> 903 bytes flags/freemind/priority-6.png | Bin 0 -> 985 bytes flags/freemind/priority-7.png | Bin 0 -> 814 bytes flags/freemind/stop.png | Bin 0 -> 882 bytes flags/freemind/warning.png | Bin 0 -> 766 bytes flags/freemind/wizard.png | Bin 0 -> 558 bytes flags/freemind/xmag.png | Bin 0 -> 767 bytes floatimageobj.cpp | 125 + floatimageobj.h | 35 + floatobj.cpp | 110 + floatobj.h | 30 + frameobj.cpp | 455 + frameobj.h | 60 + geometry.cpp | 385 + geometry.h | 70 + heading.cpp | 20 + heading.h | 15 + headingeditor.cpp | 17 + headingeditor.h | 14 + headingobj.cpp | 293 + headingobj.h | 47 + highlighter.cpp | 127 + highlighter.h | 64 + historywindow.cpp | 174 + historywindow.h | 39 + historywindow.ui | 149 + icons/cursorcolorpicker.png | Bin 0 -> 208 bytes icons/cursorcolorpicker16.png | Bin 0 -> 185 bytes icons/cursorcopy.png | Bin 0 -> 203 bytes icons/cursorhandopen.png | Bin 0 -> 223 bytes icons/cursorhandopen16.png | Bin 0 -> 209 bytes icons/cursorxlink.png | Bin 0 -> 223 bytes icons/down.png | Bin 0 -> 1357 bytes icons/editcopy.png | Bin 0 -> 507 bytes icons/editcut.png | Bin 0 -> 1196 bytes icons/editpaste.png | Bin 0 -> 881 bytes icons/editsort.png | Bin 0 -> 790 bytes icons/editsortback.png | Bin 0 -> 755 bytes icons/edittrash.png | Bin 0 -> 996 bytes icons/exit.png | Bin 0 -> 1221 bytes icons/file-document-export.png | Bin 0 -> 628 bytes icons/fileclose.png | Bin 0 -> 1119 bytes icons/filenew.png | Bin 0 -> 825 bytes icons/filenewcopy.png | Bin 0 -> 1025 bytes icons/fileopen.png | Bin 0 -> 1356 bytes icons/fileprint.png | Bin 0 -> 1003 bytes icons/filesave.png | Bin 0 -> 821 bytes icons/filesaveas.png | Bin 0 -> 1137 bytes icons/find.png | Bin 0 -> 942 bytes icons/formatcolorbranch.png | Bin 0 -> 941 bytes icons/formatcolorpicker.png | Bin 0 -> 288 bytes icons/formatcolorpicker.xpm | 29 + icons/formatcolorsubtree.png | Bin 0 -> 964 bytes icons/formatfixedfont.png | Bin 0 -> 237 bytes icons/formatrichtext.png | Bin 0 -> 825 bytes icons/formatvarfont.png | Bin 0 -> 226 bytes icons/headingeditor.png | Bin 0 -> 733 bytes icons/history.png | Bin 0 -> 1515 bytes icons/linestyle-dash.png | Bin 0 -> 589 bytes icons/linestyle-dashdot.png | Bin 0 -> 591 bytes icons/linestyle-dashdotdot.png | Bin 0 -> 590 bytes icons/linestyle-dot.png | Bin 0 -> 589 bytes icons/linestyle-solid.png | Bin 0 -> 585 bytes icons/modecolor.png | Bin 0 -> 323 bytes icons/modecopy.png | Bin 0 -> 553 bytes icons/modelink.png | Bin 0 -> 542 bytes icons/newbranch.png | Bin 0 -> 781 bytes icons/newmapcenter.png | Bin 0 -> 846 bytes icons/redo.png | Bin 0 -> 736 bytes icons/rotate-ccw.png | Bin 0 -> 1322 bytes icons/rotate-cw.png | Bin 0 -> 1332 bytes icons/scripteditor.png | Bin 0 -> 536 bytes icons/selectnext.png | Bin 0 -> 1454 bytes icons/selectprevious.png | Bin 0 -> 1423 bytes icons/slide-camera.png | Bin 0 -> 2075 bytes icons/slideeditor.png | Bin 0 -> 1884 bytes icons/slidenext.png | Bin 0 -> 1220 bytes icons/slideprevious.png | Bin 0 -> 1207 bytes icons/sliderecord.png | Bin 0 -> 1843 bytes icons/taskeditor.png | Bin 0 -> 1153 bytes icons/text_block.png | Bin 0 -> 510 bytes icons/text_bold.png | Bin 0 -> 997 bytes icons/text_center.png | Bin 0 -> 591 bytes icons/text_italic.png | Bin 0 -> 876 bytes icons/text_left.png | Bin 0 -> 503 bytes icons/text_right.png | Bin 0 -> 523 bytes icons/text_sub.png | Bin 0 -> 1076 bytes icons/text_super.png | Bin 0 -> 1077 bytes icons/text_under.png | Bin 0 -> 973 bytes icons/treeeditor.png | Bin 0 -> 801 bytes icons/undo.png | Bin 0 -> 683 bytes icons/up.png | Bin 0 -> 1320 bytes icons/view-filter.png | Bin 0 -> 429 bytes icons/viewmag+.png | Bin 0 -> 1145 bytes icons/viewmag-.png | Bin 0 -> 1080 bytes icons/viewmag-reset.png | Bin 0 -> 1296 bytes icons/viewshowsel.png | Bin 0 -> 1377 bytes icons/vym-128x128.png | Bin 0 -> 16282 bytes icons/vym-16x16.png | Bin 0 -> 303 bytes icons/vym-editor.png | Bin 0 -> 2448 bytes icons/vym.icns | Bin 0 -> 39570 bytes icons/vym.ico | Bin 0 -> 3262 bytes icons/vym.png | Bin 0 -> 3882 bytes icons/vym.xpm | 24 + imageitem.cpp | 165 + imageitem.h | 57 + imageobj.cpp | 61 + imageobj.h | 21 + imports.cpp | 92 + imports.h | 47 + lang/vym.cs_CZ.ts | 4232 ++++++ lang/vym.de_DE.ts | 7156 ++++++++++ lang/vym.el.ts | 5869 ++++++++ lang/vym.en.ts | 3824 +++++ lang/vym.es.ts | 6190 ++++++++ lang/vym.fr.ts | 5736 ++++++++ lang/vym.hr_HR.ts | 3886 +++++ lang/vym.ia.ts | 4351 ++++++ lang/vym.it.ts | 6560 +++++++++ lang/vym.ja.ts | 4033 ++++++ lang/vym.pt_BR.ts | 5217 +++++++ lang/vym.ru.ts | 5209 +++++++ lang/vym.sv.ts | 5287 +++++++ lang/vym.zh_CN.ts | 5582 ++++++++ lang/vym.zh_TW.ts | 4571 ++++++ lineeditdialog.cpp | 42 + lineeditdialog.h | 26 + lineeditdialog.ui | 142 + linkablemapobj.cpp | 633 + linkablemapobj.h | 150 + lockedfiledialog.cpp | 28 + lockedfiledialog.h | 25 + lockedfiledialog.ui | 166 + macros.cpp | 49 + macros.h | 11 + macros/macro-01.vys | 2 + macros/macro-02.vys | 2 + macros/macro-03.vys | 2 + macros/macro-04.vys | 2 + macros/macro-05.vys | 2 + macros/macro-06.vys | 2 + macros/macro-07.vys | 2 + macros/macro-08.vys | 3 + macros/macro-09.vys | 2 + macros/macro-10.vys | 2 + macros/macro-11.vys | 2 + macros/macro-12.vys | 4 + macros/macro-s01.vys | 3 + macros/macro-s02.vys | 1 + macros/macro-s03.vys | 1 + macros/macro-s04.vys | 1 + macros/macro-s05.vys | 1 + macros/macro-s06.vys | 1 + macros/macro-s07.vys | 1 + macros/macro-s08.vys | 1 + macros/macro-s09.vys | 1 + macros/macro-s10.vys | 1 + macros/macro-s11.vys | 1 + macros/macro-s12.vys | 1 + macros/slideeditor-snapshot.vys | 5 + main.cpp | 509 + mainwindow.cpp | 6159 ++++++++ mainwindow.h | 538 + mapeditor.cpp | 2126 +++ mapeditor.h | 228 + mapitem.cpp | 187 + mapitem.h | 79 + mapobj.cpp | 170 + mapobj.h | 77 + misc.cpp | 230 + misc.h | 38 + mkdtemp.cpp | 63 + mkdtemp.h | 6 + mysortfilterproxymodel.cpp | 37 + mysortfilterproxymodel.h | 35 + noteeditor.cpp | 46 + noteeditor.h | 19 + options.cpp | 142 + options.h | 60 + ornamentedobj.cpp | 326 + ornamentedobj.h | 72 + parser.cpp | 630 + parser.h | 67 + scripteditor.cpp | 222 + scripteditor.h | 46 + scripteditor.ui | 174 + scriptoutput.cpp | 25 + scriptoutput.h | 21 + scripts/bugger | 17 + scripts/getbinaries | 58 + scripts/make-qrc.rb | 29 + scripts/makedist-vym | 116 + scripts/screencast | 10 + scripts/vivym | 64 + scripts/vym-addmail.rb | 40 + scripts/vym-ruby.rb | 120 + settings.cpp | 250 + settings.h | 50 + shortcuts.cpp | 113 + shortcuts.h | 38 + showtextdialog.cpp | 45 + showtextdialog.h | 24 + showtextdialog.ui | 77 + slidecontrolwidget.cpp | 99 + slidecontrolwidget.h | 46 + slideeditor.cpp | 116 + slideeditor.h | 37 + slideitem.cpp | 269 + slideitem.h | 72 + slidemodel.cpp | 341 + slidemodel.h | 85 + styles/vym.css | 170 + styles/vym2taskjuggler.xsl | 270 + task.cpp | 259 + task.h | 63 + taskeditor.cpp | 286 + taskeditor.h | 56 + taskfiltermodel.cpp | 54 + taskfiltermodel.h | 22 + taskmodel.cpp | 323 + taskmodel.h | 45 + test/default.vym | Bin 0 -> 1309 bytes test/example-2.4.0.vym | Bin 0 -> 4514 bytes test/note-plain.txt | 3 + test/note-richtext.xml | 1 + test/note.html | 5 + test/start-test.sh | 20 + test/vym-test.rb | 852 ++ tex/commands.tex | 817 ++ tex/examples/branches.vym | Bin 0 -> 1231 bytes tex/examples/macros.vym | Bin 0 -> 5004 bytes tex/examples/windows-main.vym | Bin 0 -> 66274 bytes tex/examples/windows.vym | Bin 0 -> 43302 bytes tex/examples/xlinks.vym | Bin 0 -> 6444 bytes tex/images/branches-flags.png | Bin 0 -> 13135 bytes tex/images/branches-flags_es.png | Bin 0 -> 27652 bytes tex/images/branches-flags_fr.png | Bin 0 -> 16013 bytes tex/images/branches.png | Bin 0 -> 13953 bytes tex/images/branches_es.png | Bin 0 -> 17254 bytes tex/images/branches_fr.png | Bin 0 -> 9543 bytes tex/images/color-buttons.png | Bin 0 -> 1810 bytes tex/images/default-flags.png | Bin 0 -> 8167 bytes tex/images/example1.png | Bin 0 -> 33258 bytes tex/images/example1_es.png | Bin 0 -> 37064 bytes tex/images/example1_fr.png | Bin 0 -> 45772 bytes tex/images/export-oo.png | Bin 0 -> 48810 bytes tex/images/export-oo_es.png | Bin 0 -> 21341 bytes tex/images/find-window.png | Bin 0 -> 143555 bytes tex/images/find-window_es.png | Bin 0 -> 6731 bytes tex/images/flag-hideexport.png | Bin 0 -> 459 bytes tex/images/flag-target.png | Bin 0 -> 2206 bytes tex/images/flag-url-bugzilla-novell.png | Bin 0 -> 1567 bytes tex/images/flag-url.png | Bin 0 -> 1237 bytes tex/images/flag-urlnew.png | Bin 0 -> 1545 bytes tex/images/flag-vymlink.png | Bin 0 -> 1187 bytes tex/images/flag-vymlinknew.png | Bin 0 -> 1342 bytes tex/images/formatfixedfont.png | Bin 0 -> 251 bytes tex/images/frames.png | Bin 0 -> 154036 bytes tex/images/headingeditor.png | Bin 0 -> 113891 bytes tex/images/hiddenlink.png | Bin 0 -> 48074 bytes tex/images/hiddenlink_es.png | Bin 0 -> 118021 bytes tex/images/hiddenlink_fr.png | Bin 0 -> 35710 bytes tex/images/historywindow.png | Bin 0 -> 33705 bytes tex/images/includeImages.png | Bin 0 -> 25401 bytes tex/images/includeImages_es.png | Bin 0 -> 33710 bytes tex/images/includeImages_fr.png | Bin 0 -> 18511 bytes tex/images/macros.png | Bin 0 -> 37950 bytes tex/images/macros_fr.png | Bin 0 -> 25320 bytes tex/images/mainwindow.png | Bin 0 -> 145301 bytes tex/images/modmodes.png | Bin 0 -> 1902 bytes tex/images/move-buttons.png | Bin 0 -> 1508 bytes tex/images/newmapcenter.png | Bin 0 -> 846 bytes tex/images/noteeditor.png | Bin 0 -> 26811 bytes tex/images/noteeditor_es.png | Bin 0 -> 27489 bytes tex/images/noteeditor_fr.png | Bin 0 -> 17318 bytes tex/images/propwindow.png | Bin 0 -> 11721 bytes tex/images/scripteditor.png | Bin 0 -> 27832 bytes tex/images/slideeditor.png | Bin 0 -> 72585 bytes tex/images/taskeditor.png | Bin 0 -> 195124 bytes tex/images/vym-logo-new.png | Bin 0 -> 64089 bytes tex/images/windows-main.png | Bin 0 -> 205207 bytes tex/images/windows.png | Bin 0 -> 213006 bytes tex/images/windows_es.png | Bin 0 -> 82392 bytes tex/images/windows_fr.png | Bin 0 -> 91515 bytes tex/images/xlink-control.png | Bin 0 -> 38242 bytes tex/images/xlink-property.png | Bin 0 -> 13160 bytes tex/images/xlink.png | Bin 0 -> 35403 bytes tex/images/xlink_es.png | Bin 0 -> 79085 bytes tex/images/xlink_fr.png | Bin 0 -> 35456 bytes tex/images/zoom-buttons.png | Bin 0 -> 1660 bytes tex/vym.tex | 1937 +++ tex/vym_es.tex | 868 ++ tex/vym_fr.lyx | 11687 ++++++++++++++++ tex/vym_fr.tex | 1886 +++ texteditor.cpp | 1207 ++ texteditor.h | 159 + treedelegate.cpp | 12 + treedelegate.h | 19 + treeeditor.cpp | 81 + treeeditor.h | 29 + treeitem.cpp | 847 ++ treeitem.h | 222 + treemodel.cpp | 309 + treemodel.h | 52 + version.cpp | 65 + version.h | 17 + vym.pro | 289 + vym.qrc | 151 + vym.rc | 1 + vymlock.cpp | 147 + vymlock.h | 34 + vymmodel.cpp | 6898 +++++++++ vymmodel.h | 828 ++ vymnote.cpp | 16 + vymnote.h | 15 + vymprocess.cpp | 83 + vymprocess.h | 27 + vymtext.cpp | 280 + vymtext.h | 51 + vymview.cpp | 368 + vymview.h | 56 + warningdialog.cpp | 65 + warningdialog.h | 28 + warningdialog.ui | 167 + winter.cpp | 229 + winter.h | 57 + xlink.cpp | 286 + xlink.h | 74 + xlinkitem.cpp | 92 + xlinkitem.h | 35 + xlinkobj.cpp | 531 + xlinkobj.h | 78 + xml-base.cpp | 86 + xml-base.h | 50 + xml-freemind.cpp | 335 + xml-freemind.h | 57 + xml-vym.cpp | 972 ++ xml-vym.h | 85 + xmlobj.cpp | 165 + xmlobj.h | 35 + xsltproc.cpp | 97 + xsltproc.h | 31 + 505 files changed, 144180 insertions(+) create mode 100644 CMakeLists.txt create mode 100644 INSTALL.txt create mode 100644 LICENSE.txt create mode 100644 README.md create mode 100644 aboutdialog.cpp create mode 100644 aboutdialog.h create mode 100644 adaptormodel.cpp create mode 100644 adaptormodel.h create mode 100644 adaptorvym.cpp create mode 100644 adaptorvym.h create mode 100644 animpoint.cpp create mode 100644 animpoint.h create mode 100644 arrowobj.cpp create mode 100644 arrowobj.h create mode 100644 attribute.cpp create mode 100644 attribute.h create mode 100644 attributedelegate.cpp create mode 100644 attributedelegate.h create mode 100644 attributedialog.cpp create mode 100644 attributedialog.h create mode 100644 attributedialog.ui create mode 100644 attributeitem.cpp create mode 100644 attributeitem.h create mode 100644 attributewidget.cpp create mode 100644 attributewidget.h create mode 100644 attributewidget.ui create mode 100644 branchitem.cpp create mode 100644 branchitem.h create mode 100644 branchobj.cpp create mode 100644 branchobj.h create mode 100644 branchpropeditor.cpp create mode 100644 branchpropeditor.h create mode 100644 branchpropeditor.ui create mode 100644 bugagent.cpp create mode 100644 bugagent.h create mode 100644 cmake/Findcppcheck.cmake create mode 100644 cmake/Findcppcheck.cpp create mode 100644 command.cpp create mode 100644 command.h create mode 100644 demos/ao-report-example.vym create mode 100644 demos/frames.vym create mode 100644 demos/lifeforms.vym create mode 100644 demos/math.vym create mode 100644 demos/time-management.vym create mode 100644 demos/vym-contribute.vym create mode 100644 doc/vym.1.gz create mode 100644 doc/vym.pdf create mode 100644 doc/vym_es.pdf create mode 100644 doc/vym_fr.pdf create mode 100644 dockeditor.cpp create mode 100644 dockeditor.h create mode 100644 downloadagent.cpp create mode 100644 downloadagent.h create mode 100644 editxlinkdialog.cpp create mode 100644 editxlinkdialog.h create mode 100644 editxlinkdialog.ui create mode 100644 exporthtmldialog.cpp create mode 100644 exporthtmldialog.h create mode 100644 exporthtmldialog.ui create mode 100644 exportoofiledialog.cpp create mode 100644 exportoofiledialog.h create mode 100644 exports.cpp create mode 100644 exports.h create mode 100644 exports/orange-blue.conf create mode 100644 exports/template-orange-blue/META-INF/manifest.xml create mode 100644 exports/template-orange-blue/Pictures/1000000000000040000000400142E835.png create mode 100644 exports/template-orange-blue/Thumbnails/thumbnail.png create mode 100644 exports/template-orange-blue/content-template.xml create mode 100644 exports/template-orange-blue/content.xml create mode 100644 exports/template-orange-blue/meta.xml create mode 100644 exports/template-orange-blue/mimetype create mode 100644 exports/template-orange-blue/page-template.xml create mode 100644 exports/template-orange-blue/settings.xml create mode 100644 exports/template-orange-blue/styles.xml create mode 100644 exportxhtmldialog.ui create mode 100644 extrainfodialog.cpp create mode 100644 extrainfodialog.h create mode 100644 extrainfodialog.ui create mode 100644 file.cpp create mode 100644 file.h create mode 100644 findresultitem.cpp create mode 100644 findresultitem.h create mode 100644 findresultmodel.cpp create mode 100644 findresultmodel.h create mode 100644 findresultwidget.cpp create mode 100644 findresultwidget.h create mode 100644 findwidget.cpp create mode 100644 findwidget.h create mode 100644 flag.cpp create mode 100644 flag.h create mode 100644 flagobj.cpp create mode 100644 flagobj.h create mode 100644 flagrow.cpp create mode 100644 flagrow.h create mode 100644 flagrowobj.cpp create mode 100644 flagrowobj.h create mode 100644 flags/flag-2arrow-down.png create mode 100644 flags/flag-2arrow-up.png create mode 100644 flags/flag-arrow-down.png create mode 100644 flags/flag-arrow-up.png create mode 100644 flags/flag-clock.png create mode 100644 flags/flag-cross-red.png create mode 100644 flags/flag-exclamationmark.png create mode 100644 flags/flag-flash.png create mode 100644 flags/flag-heart.png create mode 100644 flags/flag-hideexport.png create mode 100644 flags/flag-hook-green.png create mode 100644 flags/flag-info.png create mode 100644 flags/flag-lamp.png create mode 100644 flags/flag-lifebelt.png create mode 100644 flags/flag-note.png create mode 100644 flags/flag-phone.png create mode 100644 flags/flag-present.png create mode 100644 flags/flag-questionmark.png create mode 100644 flags/flag-rose.png create mode 100644 flags/flag-scrolled-right.png create mode 100644 flags/flag-smiley-good.png create mode 100644 flags/flag-smiley-omb.png create mode 100644 flags/flag-smiley-sad.png create mode 100644 flags/flag-stopsign.png create mode 100644 flags/flag-target.png create mode 100644 flags/flag-task-finished.png create mode 100644 flags/flag-task-new-morning.png create mode 100644 flags/flag-task-new-sleeping.png create mode 100644 flags/flag-task-new.png create mode 100644 flags/flag-task-wip-morning.png create mode 100644 flags/flag-task-wip-sleeping.png create mode 100644 flags/flag-task-wip.png create mode 100644 flags/flag-task.png create mode 100644 flags/flag-thumb-down.png create mode 100644 flags/flag-thumb-up.png create mode 100644 flags/flag-tmpUnscrolled-right.png create mode 100644 flags/flag-url-16x16.png create mode 100644 flags/flag-url-bugzilla-novell-closed.png create mode 100644 flags/flag-url-bugzilla-novell.png create mode 100644 flags/flag-url.png create mode 100644 flags/flag-urlnew.png create mode 100644 flags/flag-vymlink.png create mode 100644 flags/flag-vymlinknew.png create mode 100644 flags/flag-wip.png create mode 100644 flags/freemind/attach.png create mode 100644 flags/freemind/back.png create mode 100644 flags/freemind/bell.png create mode 100644 flags/freemind/bookmark.png create mode 100644 flags/freemind/clanbomber.png create mode 100644 flags/freemind/desktopnew.png create mode 100644 flags/freemind/flag.png create mode 100644 flags/freemind/forward.png create mode 100644 flags/freemind/gohome.png create mode 100644 flags/freemind/help.png create mode 100644 flags/freemind/idea.png create mode 100644 flags/freemind/kaddressbook.png create mode 100644 flags/freemind/knotify.png create mode 100644 flags/freemind/korn.png create mode 100644 flags/freemind/licq.png create mode 100644 flags/freemind/mail.png create mode 100644 flags/freemind/password.png create mode 100644 flags/freemind/pencil.png create mode 100644 flags/freemind/penguin.png create mode 100644 flags/freemind/priority-1.png create mode 100644 flags/freemind/priority-2.png create mode 100644 flags/freemind/priority-3.png create mode 100644 flags/freemind/priority-4.png create mode 100644 flags/freemind/priority-5.png create mode 100644 flags/freemind/priority-6.png create mode 100644 flags/freemind/priority-7.png create mode 100644 flags/freemind/stop.png create mode 100644 flags/freemind/warning.png create mode 100644 flags/freemind/wizard.png create mode 100644 flags/freemind/xmag.png create mode 100644 floatimageobj.cpp create mode 100644 floatimageobj.h create mode 100644 floatobj.cpp create mode 100644 floatobj.h create mode 100644 frameobj.cpp create mode 100644 frameobj.h create mode 100644 geometry.cpp create mode 100644 geometry.h create mode 100644 heading.cpp create mode 100644 heading.h create mode 100644 headingeditor.cpp create mode 100644 headingeditor.h create mode 100644 headingobj.cpp create mode 100644 headingobj.h create mode 100644 highlighter.cpp create mode 100644 highlighter.h create mode 100644 historywindow.cpp create mode 100644 historywindow.h create mode 100644 historywindow.ui create mode 100644 icons/cursorcolorpicker.png create mode 100644 icons/cursorcolorpicker16.png create mode 100644 icons/cursorcopy.png create mode 100644 icons/cursorhandopen.png create mode 100644 icons/cursorhandopen16.png create mode 100644 icons/cursorxlink.png create mode 100644 icons/down.png create mode 100644 icons/editcopy.png create mode 100644 icons/editcut.png create mode 100644 icons/editpaste.png create mode 100644 icons/editsort.png create mode 100644 icons/editsortback.png create mode 100644 icons/edittrash.png create mode 100644 icons/exit.png create mode 100644 icons/file-document-export.png create mode 100644 icons/fileclose.png create mode 100644 icons/filenew.png create mode 100644 icons/filenewcopy.png create mode 100644 icons/fileopen.png create mode 100644 icons/fileprint.png create mode 100644 icons/filesave.png create mode 100644 icons/filesaveas.png create mode 100644 icons/find.png create mode 100644 icons/formatcolorbranch.png create mode 100644 icons/formatcolorpicker.png create mode 100644 icons/formatcolorpicker.xpm create mode 100644 icons/formatcolorsubtree.png create mode 100644 icons/formatfixedfont.png create mode 100644 icons/formatrichtext.png create mode 100644 icons/formatvarfont.png create mode 100644 icons/headingeditor.png create mode 100644 icons/history.png create mode 100644 icons/linestyle-dash.png create mode 100644 icons/linestyle-dashdot.png create mode 100644 icons/linestyle-dashdotdot.png create mode 100644 icons/linestyle-dot.png create mode 100644 icons/linestyle-solid.png create mode 100644 icons/modecolor.png create mode 100644 icons/modecopy.png create mode 100644 icons/modelink.png create mode 100644 icons/newbranch.png create mode 100644 icons/newmapcenter.png create mode 100644 icons/redo.png create mode 100644 icons/rotate-ccw.png create mode 100644 icons/rotate-cw.png create mode 100644 icons/scripteditor.png create mode 100644 icons/selectnext.png create mode 100644 icons/selectprevious.png create mode 100644 icons/slide-camera.png create mode 100644 icons/slideeditor.png create mode 100644 icons/slidenext.png create mode 100644 icons/slideprevious.png create mode 100644 icons/sliderecord.png create mode 100644 icons/taskeditor.png create mode 100644 icons/text_block.png create mode 100644 icons/text_bold.png create mode 100644 icons/text_center.png create mode 100644 icons/text_italic.png create mode 100644 icons/text_left.png create mode 100644 icons/text_right.png create mode 100644 icons/text_sub.png create mode 100644 icons/text_super.png create mode 100644 icons/text_under.png create mode 100644 icons/treeeditor.png create mode 100644 icons/undo.png create mode 100644 icons/up.png create mode 100644 icons/view-filter.png create mode 100644 icons/viewmag+.png create mode 100644 icons/viewmag-.png create mode 100644 icons/viewmag-reset.png create mode 100644 icons/viewshowsel.png create mode 100644 icons/vym-128x128.png create mode 100644 icons/vym-16x16.png create mode 100644 icons/vym-editor.png create mode 100644 icons/vym.icns create mode 100755 icons/vym.ico create mode 100644 icons/vym.png create mode 100644 icons/vym.xpm create mode 100644 imageitem.cpp create mode 100644 imageitem.h create mode 100644 imageobj.cpp create mode 100644 imageobj.h create mode 100644 imports.cpp create mode 100644 imports.h create mode 100644 lang/vym.cs_CZ.ts create mode 100644 lang/vym.de_DE.ts create mode 100644 lang/vym.el.ts create mode 100644 lang/vym.en.ts create mode 100644 lang/vym.es.ts create mode 100644 lang/vym.fr.ts create mode 100644 lang/vym.hr_HR.ts create mode 100644 lang/vym.ia.ts create mode 100644 lang/vym.it.ts create mode 100644 lang/vym.ja.ts create mode 100644 lang/vym.pt_BR.ts create mode 100644 lang/vym.ru.ts create mode 100644 lang/vym.sv.ts create mode 100644 lang/vym.zh_CN.ts create mode 100644 lang/vym.zh_TW.ts create mode 100644 lineeditdialog.cpp create mode 100644 lineeditdialog.h create mode 100644 lineeditdialog.ui create mode 100644 linkablemapobj.cpp create mode 100644 linkablemapobj.h create mode 100644 lockedfiledialog.cpp create mode 100644 lockedfiledialog.h create mode 100644 lockedfiledialog.ui create mode 100644 macros.cpp create mode 100644 macros.h create mode 100644 macros/macro-01.vys create mode 100644 macros/macro-02.vys create mode 100644 macros/macro-03.vys create mode 100644 macros/macro-04.vys create mode 100644 macros/macro-05.vys create mode 100644 macros/macro-06.vys create mode 100644 macros/macro-07.vys create mode 100644 macros/macro-08.vys create mode 100644 macros/macro-09.vys create mode 100644 macros/macro-10.vys create mode 100644 macros/macro-11.vys create mode 100644 macros/macro-12.vys create mode 100644 macros/macro-s01.vys create mode 100644 macros/macro-s02.vys create mode 100644 macros/macro-s03.vys create mode 100644 macros/macro-s04.vys create mode 100644 macros/macro-s05.vys create mode 100644 macros/macro-s06.vys create mode 100644 macros/macro-s07.vys create mode 100644 macros/macro-s08.vys create mode 100644 macros/macro-s09.vys create mode 100644 macros/macro-s10.vys create mode 100644 macros/macro-s11.vys create mode 100644 macros/macro-s12.vys create mode 100644 macros/slideeditor-snapshot.vys create mode 100644 main.cpp create mode 100644 mainwindow.cpp create mode 100644 mainwindow.h create mode 100644 mapeditor.cpp create mode 100644 mapeditor.h create mode 100644 mapitem.cpp create mode 100644 mapitem.h create mode 100644 mapobj.cpp create mode 100644 mapobj.h create mode 100644 misc.cpp create mode 100644 misc.h create mode 100644 mkdtemp.cpp create mode 100644 mkdtemp.h create mode 100644 mysortfilterproxymodel.cpp create mode 100644 mysortfilterproxymodel.h create mode 100644 noteeditor.cpp create mode 100644 noteeditor.h create mode 100644 options.cpp create mode 100644 options.h create mode 100644 ornamentedobj.cpp create mode 100644 ornamentedobj.h create mode 100644 parser.cpp create mode 100644 parser.h create mode 100644 scripteditor.cpp create mode 100644 scripteditor.h create mode 100644 scripteditor.ui create mode 100644 scriptoutput.cpp create mode 100644 scriptoutput.h create mode 100755 scripts/bugger create mode 100755 scripts/getbinaries create mode 100755 scripts/make-qrc.rb create mode 100755 scripts/makedist-vym create mode 100755 scripts/screencast create mode 100755 scripts/vivym create mode 100755 scripts/vym-addmail.rb create mode 100644 scripts/vym-ruby.rb create mode 100644 settings.cpp create mode 100644 settings.h create mode 100644 shortcuts.cpp create mode 100644 shortcuts.h create mode 100644 showtextdialog.cpp create mode 100644 showtextdialog.h create mode 100644 showtextdialog.ui create mode 100644 slidecontrolwidget.cpp create mode 100644 slidecontrolwidget.h create mode 100644 slideeditor.cpp create mode 100644 slideeditor.h create mode 100644 slideitem.cpp create mode 100644 slideitem.h create mode 100644 slidemodel.cpp create mode 100644 slidemodel.h create mode 100644 styles/vym.css create mode 100644 styles/vym2taskjuggler.xsl create mode 100644 task.cpp create mode 100644 task.h create mode 100644 taskeditor.cpp create mode 100644 taskeditor.h create mode 100644 taskfiltermodel.cpp create mode 100644 taskfiltermodel.h create mode 100644 taskmodel.cpp create mode 100644 taskmodel.h create mode 100644 test/default.vym create mode 100644 test/example-2.4.0.vym create mode 100644 test/note-plain.txt create mode 100644 test/note-richtext.xml create mode 100644 test/note.html create mode 100755 test/start-test.sh create mode 100755 test/vym-test.rb create mode 100644 tex/commands.tex create mode 100644 tex/examples/branches.vym create mode 100644 tex/examples/macros.vym create mode 100644 tex/examples/windows-main.vym create mode 100644 tex/examples/windows.vym create mode 100644 tex/examples/xlinks.vym create mode 100644 tex/images/branches-flags.png create mode 100644 tex/images/branches-flags_es.png create mode 100644 tex/images/branches-flags_fr.png create mode 100644 tex/images/branches.png create mode 100644 tex/images/branches_es.png create mode 100644 tex/images/branches_fr.png create mode 100644 tex/images/color-buttons.png create mode 100644 tex/images/default-flags.png create mode 100644 tex/images/example1.png create mode 100644 tex/images/example1_es.png create mode 100644 tex/images/example1_fr.png create mode 100644 tex/images/export-oo.png create mode 100644 tex/images/export-oo_es.png create mode 100644 tex/images/find-window.png create mode 100644 tex/images/find-window_es.png create mode 100644 tex/images/flag-hideexport.png create mode 100644 tex/images/flag-target.png create mode 100644 tex/images/flag-url-bugzilla-novell.png create mode 100644 tex/images/flag-url.png create mode 100644 tex/images/flag-urlnew.png create mode 100644 tex/images/flag-vymlink.png create mode 100644 tex/images/flag-vymlinknew.png create mode 100644 tex/images/formatfixedfont.png create mode 100644 tex/images/frames.png create mode 100644 tex/images/headingeditor.png create mode 100644 tex/images/hiddenlink.png create mode 100644 tex/images/hiddenlink_es.png create mode 100644 tex/images/hiddenlink_fr.png create mode 100644 tex/images/historywindow.png create mode 100644 tex/images/includeImages.png create mode 100644 tex/images/includeImages_es.png create mode 100644 tex/images/includeImages_fr.png create mode 100644 tex/images/macros.png create mode 100644 tex/images/macros_fr.png create mode 100644 tex/images/mainwindow.png create mode 100644 tex/images/modmodes.png create mode 100644 tex/images/move-buttons.png create mode 100644 tex/images/newmapcenter.png create mode 100644 tex/images/noteeditor.png create mode 100644 tex/images/noteeditor_es.png create mode 100644 tex/images/noteeditor_fr.png create mode 100644 tex/images/propwindow.png create mode 100644 tex/images/scripteditor.png create mode 100644 tex/images/slideeditor.png create mode 100644 tex/images/taskeditor.png create mode 100644 tex/images/vym-logo-new.png create mode 100644 tex/images/windows-main.png create mode 100644 tex/images/windows.png create mode 100644 tex/images/windows_es.png create mode 100644 tex/images/windows_fr.png create mode 100644 tex/images/xlink-control.png create mode 100644 tex/images/xlink-property.png create mode 100644 tex/images/xlink.png create mode 100644 tex/images/xlink_es.png create mode 100644 tex/images/xlink_fr.png create mode 100644 tex/images/zoom-buttons.png create mode 100644 tex/vym.tex create mode 100644 tex/vym_es.tex create mode 100644 tex/vym_fr.lyx create mode 100644 tex/vym_fr.tex create mode 100644 texteditor.cpp create mode 100644 texteditor.h create mode 100644 treedelegate.cpp create mode 100644 treedelegate.h create mode 100644 treeeditor.cpp create mode 100644 treeeditor.h create mode 100644 treeitem.cpp create mode 100644 treeitem.h create mode 100644 treemodel.cpp create mode 100644 treemodel.h create mode 100644 version.cpp create mode 100644 version.h create mode 100644 vym.pro create mode 100644 vym.qrc create mode 100644 vym.rc create mode 100644 vymlock.cpp create mode 100644 vymlock.h create mode 100644 vymmodel.cpp create mode 100644 vymmodel.h create mode 100644 vymnote.cpp create mode 100644 vymnote.h create mode 100644 vymprocess.cpp create mode 100644 vymprocess.h create mode 100644 vymtext.cpp create mode 100644 vymtext.h create mode 100644 vymview.cpp create mode 100644 vymview.h create mode 100644 warningdialog.cpp create mode 100644 warningdialog.h create mode 100644 warningdialog.ui create mode 100644 winter.cpp create mode 100644 winter.h create mode 100644 xlink.cpp create mode 100644 xlink.h create mode 100644 xlinkitem.cpp create mode 100644 xlinkitem.h create mode 100644 xlinkobj.cpp create mode 100644 xlinkobj.h create mode 100644 xml-base.cpp create mode 100644 xml-base.h create mode 100644 xml-freemind.cpp create mode 100644 xml-freemind.h create mode 100644 xml-vym.cpp create mode 100644 xml-vym.h create mode 100644 xmlobj.cpp create mode 100644 xmlobj.h create mode 100644 xsltproc.cpp create mode 100644 xsltproc.h diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..81102ba --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,334 @@ +project( vym ) +cmake_minimum_required( VERSION 2.6 ) + +if( NOT CMAKE_BUILD_TYPE ) + set( CMAKE_BUILD_TYPE Debug ) +endif( NOT CMAKE_BUILD_TYPE ) + +if( CMAKE_COMPILER_IS_GNUCXX ) + add_definitions ( -Wall ) +endif( CMAKE_COMPILER_IS_GNUCXX ) + +if( UNIX AND NOT APPLE ) + set( NO_DBUS_DEFAULT OFF ) +else( UNIX AND NOT APPLE ) + set( NO_DBUS_DEFAULT ON ) +endif( UNIX AND NOT APPLE ) + +option( NO_DBUS "Build vym without dbus support" ${NO_DBUS_DEFAULT} ) + +find_package ( Qt4 REQUIRED ) +include ( ${QT_USE_FILE} ) +add_definitions( ${QT_DEFINITIONS} ) + +if( WIN32 ) + add_definitions( -DUNICODE -D_USE_MATH_DEFINES ) + if( MSVC ) + set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Zc:wchar_t-" ) + endif( MSVC ) +endif( WIN32 ) + +find_package( cppcheck ) +if(CPPCHECK_FOUND) + set(_cppcheck_args) + list(APPEND _cppcheck_args ${CPPCHECK_INCLUDEPATH_ARG} ${CMAKE_SOURCE_DIR}) +# list(APPEND _cppcheck_args ${CPPCHECK_INCLUDEPATH_ARG} ${QT_QTCORE_INCLUDE_DIR}) +# list(APPEND _cppcheck_args ${CPPCHECK_INCLUDEPATH_ARG} ${QT_QTDBUS_INCLUDE_DIR}) +# list(APPEND _cppcheck_args ${CPPCHECK_INCLUDEPATH_ARG} ${QT_QTGUI_INCLUDE_DIR}) +# list(APPEND _cppcheck_args ${CPPCHECK_INCLUDEPATH_ARG} ${QT_QTNETWORK_INCLUDE_DIR}) +# list(APPEND _cppcheck_args ${CPPCHECK_INCLUDEPATH_ARG} ${QT_QTXML_INCLUDE_DIR}) +# list(APPEND _cppcheck_args ${CPPCHECK_INCLUDEPATH_ARG} ${QT_QTSVG_INCLUDE_DIR}) + + list(APPEND _cppcheck_args "enable" "all") + + add_custom_target( + cppcheck + COMMAND + "${CPPCHECK_EXECUTABLE}" + ${CPPCHECK_TEMPLATE_ARG} + ${CPPCHECK_QUIET_ARG} + "--force" +# "--std=c++11" + ${_cppcheck_args} + ${CMAKE_SOURCE_DIR} + ) + + message(STATUS "cppcheck target added.") +endif(CPPCHECK_FOUND) + +include_directories ( + ${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} + ${QT_QTCORE_INCLUDE_DIR} ${QT_QTGUI_INCLUDE_DIR} ${QT_QTNETWORK_INCLUDE_DIR} ${QT_QTXML_INCLUDE_DIR} ${QT_QTSVG_INCLUDE_DIR} + ) + +if(NOT NO_DBUS ) + include_directories( ${QT_QTDBUS_INCLUDE_DIR} ) +endif(NOT NO_DBUS ) + +set ( vym_HDRS + aboutdialog.h + taskfiltermodel.h + animpoint.h + attribute.h + attributeitem.h + # attributedelegate.h + # attributedialog.h + # attributewidget.h + branchitem.h + branchobj.h + branchpropeditor.h + bugagent.h + command.h + dockeditor.h + downloadagent.h + editxlinkdialog.h + exportoofiledialog.h + exporthtmldialog.h + exports.h + extrainfodialog.h + file.h + findwidget.h + findresultwidget.h + findresultitem.h + findresultmodel.h + flag.h + flagobj.h + flagrowobj.h + flagrow.h + floatimageobj.h + floatobj.h + frameobj.h + geometry.h + headingeditor.h + headingobj.h + highlighter.h + historywindow.h + imageitem.h + imageobj.h + imports.h + lineeditdialog.h + linkablemapobj.h + macros.h + mainwindow.h + mapeditor.h + mapitem.h + mapobj.h + misc.h + mysortfilterproxymodel.h + noteeditor.h + noteobj.h + options.h + ornamentedobj.h + parser.h + process.h + scripteditor.h + settings.h + shortcuts.h + showtextdialog.h + slidecontrolwidget.h + slideeditor.h + slideitem.h + slidemodel.h + task.h + taskeditor.h + taskmodel.h + treedelegate.h + treeeditor.h + treeitem.h + treemodel.h + texteditor.h + version.h + vymmodel.h + vymview.h + winter.h + warningdialog.h + xlink.h + xlinkitem.h + xlinkobj.h + xml-base.h + xml-vym.h + xml-freemind.h + xmlobj.h + xsltproc.h + ) + +set ( vym_SRCS + aboutdialog.cpp + taskfiltermodel.cpp + animpoint.cpp + attribute.cpp + attributeitem.cpp + # attributedelegate.cpp + # attributedialog.cpp + # attributewidget.cpp + branchitem.cpp + branchobj.cpp + branchpropeditor.cpp + bugagent.cpp + command.cpp + dockeditor.cpp + downloadagent.cpp + editxlinkdialog.cpp + exportoofiledialog.cpp + exports.cpp + exporthtmldialog.cpp + extrainfodialog.cpp + file.cpp + findwidget.cpp + findresultwidget.cpp + findresultitem.cpp + findresultmodel.cpp + flag.cpp + flagobj.cpp + flagrow.cpp + flagrowobj.cpp + floatimageobj.cpp + floatobj.cpp + frameobj.cpp + geometry.cpp + headingeditor.cpp + headingobj.cpp + highlighter.cpp + historywindow.cpp + imageitem.cpp + imageobj.cpp + imports.cpp + lineeditdialog.cpp + linkablemapobj.cpp + macros.cpp + main.cpp + mainwindow.cpp + mapeditor.cpp + mapitem.cpp + mapobj.cpp + misc.cpp + mysortfilterproxymodel.cpp + noteeditor.cpp + noteobj.cpp + options.cpp + ornamentedobj.cpp + parser.cpp + process.cpp + scripteditor.cpp + settings.cpp + shortcuts.cpp + showtextdialog.cpp + slidecontrolwidget.cpp + slideeditor.cpp + slideitem.cpp + slidemodel.cpp + task.cpp + taskeditor.cpp + taskmodel.cpp + texteditor.cpp + treedelegate.cpp + treeeditor.cpp + treeitem.cpp + treemodel.cpp + version.cpp + vymmodel.cpp + vymview.cpp + winter.cpp + warningdialog.cpp + xlink.cpp + xlinkitem.cpp + xlinkobj.cpp + xml-base.cpp + xml-vym.cpp + xml-freemind.cpp + xmlobj.cpp + xsltproc.cpp + ) + +set ( vym_UIS + attributewidget.ui + branchpropeditor.ui + exporthtmldialog.ui + extrainfodialog.ui + editxlinkdialog.ui + historywindow.ui + lineeditdialog.ui + scripteditor.ui + showtextdialog.ui + warningdialog.ui + ) +QT4_WRAP_UI(UIS ${vym_UIS}) + +set ( vym_TRS + lang/vym_de_DE.ts + lang/vym_en.ts + lang/vym_es.ts + lang/vym_fr.ts + lang/vym_it.ts + lang/vym_pt_BR.ts + lang/vym_ru.ts + lang/vym_sv.ts + lang/vym_zh_CN.ts + lang/vym_zh_TW.ts + lang/vym_cs_CZ.ts + ) +QT4_ADD_TRANSLATION(TRS ${vym_TRS}) + +set ( vym_MOCS + aboutdialog.h + branchpropeditor.h + bugagent.h + dockeditor.h + downloadagent.h + editxlinkdialog.h + exportoofiledialog.h + exporthtmldialog.h + extrainfodialog.h + findwidget.h + findresultwidget.h + findresultmodel.h + headingeditor.h + highlighter.h + historywindow.h + lineeditdialog.h + mainwindow.h + mapeditor.h + mysortfilterproxymodel.h + noteeditor.h + process.h + scripteditor.h + showtextdialog.h + slidecontrolwidget.h + slideeditor.h + slidemodel.h + taskeditor.h + taskmodel.h + treedelegate.h + treeeditor.h + treemodel.h + texteditor.h + vymmodel.h + vymview.h + winter.h + warningdialog.h + ) +if( NOT NO_DBUS ) + add_definitions(-DVYM_DBUS) + list(APPEND vym_HDRS adaptormodel.h adaptorvym.h) + list(APPEND vym_SRCS adaptormodel.cpp adaptorvym.cpp) + list(APPEND vym_MOCS adaptormodel.h adaptorvym.h) +endif( NOT NO_DBUS ) +QT4_WRAP_CPP(MOCS ${vym_MOCS}) + + + +if( WIN32 ) + set( vym_SRCS ${vym_SRCS} mkdtemp.cpp vym.rc ) +endif( WIN32 ) + +add_executable ( vym WIN32 ${vym_SRCS} ${UIS} ${RSCS} ${TRS} ${MOCS} ) +target_link_libraries ( vym ${QT_QTMAIN_LIBRARY} ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTNETWORK_LIBRARY} ${QT_QTXML_LIBRARY} ${QT_QTSVG_LIBRARY} ) +if( NOT NO_DBUS ) + target_link_libraries( vym ${QT_QTDBUS_LIBRARY} ) +endif( NOT NO_DBUS ) + +install( TARGETS vym RUNTIME DESTINATION bin ) + +set( _installfolders demos exports flags icons macros scripts styles ) +install( DIRECTORY ${_installfolders} DESTINATION share/vym ) +install( FILES ${TRS} DESTINATION share/vym/lang ) diff --git a/INSTALL.txt b/INSTALL.txt new file mode 100644 index 0000000..ad33349 --- /dev/null +++ b/INSTALL.txt @@ -0,0 +1,18 @@ +Installation of vym - view your mind +==================================== + +Mac OSX: + +Drag the vym application to your desktop, or if you have admin rights, +directly to your Application folder + + +Please check the vym webpage for installation tipps: + + http://www.insilmaril.de/vym + +For general questions please contact the vym mailinglist: + + vym-forum@lists.sourceforge.net + + diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..586634e --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,307 @@ + VYM - View Your Mind + Copyright (C) 2004-2016 Uwe Drechsel + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as published by + the Free Software Foundation. + + This program 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 below for more details. + + In addition, as a special exception, Uwe Drechsel + gives permission to link the code of this program with the QT + libraries from trolltech.com (or with modified versions of QT that + use the same license as QT), and distribute linked combinations + including the two. You must obey the GNU General Public License in + all respects for all of the code used other than QT. If you modify + this file, you may extend this exception to your version of the + file, but you are not obligated to do so. If you do not wish to do + so, delete this exception statement from your version. + + + Uwe Drechsel can be contacted at + +----------------------------------------------------------------------------- + + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS diff --git a/README.md b/README.md new file mode 100644 index 0000000..6334cde --- /dev/null +++ b/README.md @@ -0,0 +1,83 @@ +###VYM - View Your Mind (c) 2004-2017 by Uwe Drechsel### + +Documentation +------------- + +* PDF + + The complete documentation of vym is available as PDF document in + english and spanish. (The spanish version is not really up to date, + translators are welcome). It can be accessed directly from vym via + the help section It also can be downloaded from the vym site at + Sourceforge: + + https://sourceforge.net/projects/vym/ + +* Screencasts + + There are several screencasts available on YouTube, which show some + feature of vym and how to use them: + + http://www.youtube.com/user/ViewYourMind + + +Download +-------- + +The official downloads for all platforms are available at the project +site: + + https://sourceforge.net/projects/vym/ + +The latest binaries for Linux (currently mainly openSUSE) are found in the +Open Build Service project of Uwe Drechsel (aka insilmaril): + + http://download.opensuse.org/repositories/home%3A//insilmaril/ + + + +Installation +------------ + +* Binaries + + Installation depends on the platform you use, please check the + homepage for details: + + http://www.insilmaril.de/vym + +* Compiling + + Compiling vym from scratch is pretty easy, if you have the + development packages of the Qt5 toolkit installed. (Check also the + homepage above for details): + + qmake + make + make install + +* Testing (without installing!) + + You can also run vym virtually in your webbrowser: vym is available + as appliance in SUSE Studio. SUSE Studio is a very easy way to + create appliances, which are customized Linux operating systems. + + All you need is to quickly create a free account and search for + "vym" by user "insilmaril" in the gallery: + + http://susestudio.com + + The appliance can be downloaded as installable iso image, or run in + the testdrive - in your webbrowser! That's a bit slow, but gives you + an idea without having to install anything at all on your system. + + +Questions and feedback +---------------------- + +Please direct questions to the mailinglist first: + + vym-forum@lists.sourceforge.net + + + diff --git a/aboutdialog.cpp b/aboutdialog.cpp new file mode 100644 index 0000000..8d3ae05 --- /dev/null +++ b/aboutdialog.cpp @@ -0,0 +1,251 @@ +#include +#include +#include +#include + +#include "aboutdialog.h" +#include "settings.h" + + +extern Settings settings; +extern QString iconPath; // FIXME-4 embed vym logo as ressource? +extern QString vymVersion; +extern QString vymBuildDate; +extern QString vymCodeName; + +AboutDialog::AboutDialog( QWidget *parent) + : QDialog( parent) +{ + + mainLayout=new QVBoxLayout( this); + + tabs=new QTabWidget (this); + credits=new AboutTextBrowser (parent); + + credits->setHtml( QString( + "
" + "

VYM - View Your Mind

" + "

A tool to put the things you have got in your mind into a map.

" + "

(c) 2004-%1 by Uwe Drechsel (vym@InSilmaril.de)

" + "

Version " +vymVersion+" - " +vymBuildDate+"

" + "

" +vymCodeName+"

" + "