pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/codelite codelite: update to 16.0. Thanks Thom...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a65cf64efd57
branches:  trunk
changeset: 386904:a65cf64efd57
user:      andvar <andvar%pkgsrc.org@localhost>
date:      Mon Oct 17 16:50:03 2022 +0000

description:
codelite: update to 16.0. Thanks Thomas Klausner for reviewing the patch.

bug fixes
    Fixed: externally modified files are not reloaded
    Remove redundant file system scan
    Fixed: always pass RootURI when sending Initialize request to the LSP server, even if the user did not provide one
    Fixed: JSON encoding issue
    Fixed: codelite-terminal does not apply environment variables when generating compile_flags.txt file required by clangd
    Fixed: Linux: Move tab right / left with the keyboard does not work
    Fixed: file system workspace: in some cases, system scan is not working as intended and only scans the top level
    Fixed: code formatter regression which caused CodeLite to override the user's settings
    Fixed: GTK: right click on tab causes a weird behavior of selecting random file
    Fixed: Implement All Un-Implemented Functions not working when header and source are not placed in the same directory
    Fixed: wxCrafter: "Insert into new Sizer" should not be visible for wxAuiManager (by rlbxku1r)
    Fixed: CodeLite Makefile Generator - UNIX: Windows resource files are not compiled
    fixed: Word completion is broken if a word contains letters with diacritics
    Fixed: "Closed other tabs" -> send "close event" for every closed tab
    fixed: PHP workspace: allow user to include the workspace or project folder when selecting `Find In Folder` from the context menu
    fixed: PHP workspace: make it multiple selection
    Fixed: make sure that the editor folder exists before writing
    Fixed: C++ workspace: post/pre build events: ignore empty commands
    Fixed: Feature request: include file extensions for Drupal projects https://github.com/eranif/codelite/issues/2704
    Fixed: Fix Output View multi-byte text handling (rlbxku1r)
    Fixed: PHP settings: post parse-workspace event only when a PHP workspace is opened
    Fixed: spell checker: when calling "Check" on a file, do not uncheck the option of the 'continuous checking'

Changes
    Fixed: be more tolerant for language server implementations that do not implement the protocol as is (e.g. rust)
    Added Rust syntax highlight
    LSP: support completion item's doc implemented inside MarkupContent
    Added new Rust plugin
    Git Commit List dialog: layout changes. Make the diff window occupy half of the dialog
    Windows / macOS: visual updates to the notebook control
    clToolBar: honour the wxTB_NODIVIDER style flag
    use a more sensible colours for highligthing text in the various tree / list controls
    Implemented a custom Menu Bar
    Better dark mode support on windows
    General performance & stability fixes
    Added new Remote plugin which allows user to load a remote "File System Workspace" over SSH
    Task view removed. It is now part of the Find In Files dialog
    Colours and fonts dialog: updating the text selection colours is now done for all the languages supported for the currently active theme
    Windows: use codelite-exec to launch program when the 'pause when execution ends' flag is checked in the project settings. This also prints the program exit code

Details can be found here: https://docs.codelite.org/release_notes/v16_0_0/
----------------------------------------------------------------------

diffstat:

 editors/codelite/Makefile                                                           |  19 ++++--
 editors/codelite/PLIST                                                              |  27 ++++++---
 editors/codelite/distinfo                                                           |  16 +++--
 editors/codelite/patches/patch-CodeLite_fileextmanager.cpp                          |  23 --------
 editors/codelite/patches/patch-CodeLite_tags_storage_sqlite3.h                      |  23 ++++++++
 editors/codelite/patches/patch-LanguageServer_LanguageServerLogView.h               |  13 ++++
 editors/codelite/patches/patch-Plugin_DiffSideBySidePanel.h                         |  23 ++++++++
 editors/codelite/patches/patch-ctagsd_CMakeLists.txt                                |  16 +++++
 editors/codelite/patches/patch-sdk_asio-1.12.1_asio_detail_impl_kqueue__reactor.ipp |   4 +-
 editors/codelite/patches/patch-wxcrafter_myxh__propgrid.cpp                         |  15 +++++
 10 files changed, 131 insertions(+), 48 deletions(-)

diffs (truncated from 332 to 300 lines):

diff -r 2f12f489a6d1 -r a65cf64efd57 editors/codelite/Makefile
--- a/editors/codelite/Makefile Mon Oct 17 16:40:41 2022 +0000
+++ b/editors/codelite/Makefile Mon Oct 17 16:50:03 2022 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.45 2022/08/11 05:08:15 gutteridge Exp $
+# $NetBSD: Makefile,v 1.46 2022/10/17 16:50:03 andvar Exp $
 
-DISTNAME=      codelite-15.0
-PKGREVISION=   7
+DISTNAME=      codelite-16.0
+GITHUB_TAG=    16.0.0-1
 CATEGORIES=    editors x11
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=eranif/}
 
@@ -37,17 +37,18 @@
 SUBST_CLASSES+=                        fix-bash
 SUBST_STAGE.fix-bash=          pre-configure
 SUBST_MESSAGE.fix-bash=                Fix bash path
-SUBST_FILES.fix-bash+=         codelite_terminal/wxTerminalCtrl.cpp
+SUBST_FILES.fix-bash+=         CodeLite/TerminalEmulator.cpp
 SUBST_FILES.fix-bash+=         CodeLite/clConsoleBash.cpp
 SUBST_FILES.fix-bash+=         CodeLite/clConsoleGnomeTerminal.cpp
 SUBST_FILES.fix-bash+=         CodeLite/clConsoleRXVTerminal.cpp
-SUBST_FILES.fix-bash+=         CodeLite/TerminalEmulator.cpp
 SUBST_FILES.fix-bash+=         CodeLite/fileutils.cpp
-SUBST_FILES.fix-bash+=         Docker/clDockerDriver.cpp
-SUBST_FILES.fix-bash+=         Plugin/clRemoteBuilder.cpp
 SUBST_FILES.fix-bash+=         Plugin/custombuildrequest.cpp
 SUBST_FILES.fix-bash+=         Plugin/pipedprocess.cpp
 SUBST_FILES.fix-bash+=         Plugin/wxterminal.cpp
+SUBST_FILES.fix-bash+=         Remoty/RemotyWorkspace.cpp
+SUBST_FILES.fix-bash+=         cmake/Modules/UtilsHelper.cmake
+SUBST_FILES.fix-bash+=         codelite_terminal/wxTerminalCtrl.cpp
+SUBST_FILES.fix-bash+=         ctagsd/lib/Settings.cpp
 SUBST_SED.fix-bash+=           -e 's,/bin/bash,${BASH},g'
 
 SUBST_CLASSES+=                        fix-man-path
@@ -56,8 +57,10 @@
 SUBST_FILES.fix-man-path=      LiteEditor/CMakeLists.txt
 SUBST_SED.fix-man-path+=       -e 's,${CL_PREFIX}/share/man,${CL_PREFIX}/${PKGMANDIR},g'
 
+REPLACE_BASH+=         docs/docs/deploy.sh
 REPLACE_BASH+=         make-weekly
 REPLACE_NODEJS+=       LanguageServer/codelite-lsp/codelite-lsp-helper
+REPLACE_PYTHON+=       Runtime/codelite-remote
 REPLACE_PYTHON+=       codelite_open_helper.py
 
 LDFLAGS+=      ${COMPILER_RPATH_FLAG}${PREFIX}/lib/codelite
@@ -74,5 +77,5 @@
 .include "../../textproc/hunspell/buildlink3.mk"
 .include "../../textproc//uchardet/buildlink3.mk"
 .include "../../security/libssh/buildlink3.mk"
-.include "../../x11/wxGTK30/buildlink3.mk"
+.include "../../x11/wxGTK31/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 2f12f489a6d1 -r a65cf64efd57 editors/codelite/PLIST
--- a/editors/codelite/PLIST    Mon Oct 17 16:40:41 2022 +0000
+++ b/editors/codelite/PLIST    Mon Oct 17 16:50:03 2022 +0000
@@ -1,17 +1,20 @@
-@comment $NetBSD: PLIST,v 1.6 2021/03/06 16:08:32 wiz Exp $
+@comment $NetBSD: PLIST,v 1.7 2022/10/17 16:50:03 andvar Exp $
 bin/codelite
 bin/codelite-cc
+bin/codelite-ctags
 bin/codelite-echo
 bin/codelite-lsp-helper
 bin/codelite-make
+bin/codelite-remote
 bin/codelite-terminal
 bin/codelite_cppcheck
 bin/codelite_exec
 bin/codelite_fix_files
-bin/codelite_indexer
 bin/codelite_kill_children
 bin/codelite_open_helper.py
 bin/codelite_xterm
+bin/ctagsd
+bin/ctagsd-tests
 lib/codelite/AutoSave.so
 lib/codelite/CMakePlugin.so
 lib/codelite/CodeFormatter.so
@@ -29,6 +32,8 @@
 lib/codelite/PHPLint.so
 lib/codelite/PHPRefactoring.so
 lib/codelite/QMakePlugin.so
+lib/codelite/Remoty.so
+lib/codelite/Rust.so
 lib/codelite/SFTP.so
 lib/codelite/SmartCompletion.so
 lib/codelite/SnipWiz.so
@@ -57,14 +62,13 @@
 man/man1/codelite-make.1
 man/man1/codelite.1
 man/man1/codelite_fix_files.1
+man/man1/codelite_open_helper.1
 share/applications/codelite.desktop
 share/codelite/LICENSE
 share/codelite/PHP.zip
 share/codelite/astyle.sample
-share/codelite/clang-tools.tgz
 share/codelite/codelite-bitmaps-dark.zip
 share/codelite/codelite-bitmaps-light.zip
-share/codelite/config/accelerators.conf.default
 share/codelite/config/build_settings.xml.default
 share/codelite/config/cfg/avr.cfg
 share/codelite/config/cfg/bsd.cfg
@@ -96,7 +100,10 @@
 share/codelite/gdb_printers/libstdcxx/v6/__init__.py
 share/codelite/gdb_printers/libstdcxx/v6/printers.py
 share/codelite/gdb_printers/libstdcxx/v6/xmethods.py
-share/codelite/gdb_printers/qt4.py
+share/codelite/gdb_printers/rustlib/etc/gdb_load_rust_pretty_printers.py
+share/codelite/gdb_printers/rustlib/etc/gdb_lookup.py
+share/codelite/gdb_printers/rustlib/etc/gdb_providers.py
+share/codelite/gdb_printers/rustlib/etc/rust_types.py
 share/codelite/gdb_printers/wx.py
 share/codelite/images/common_tasks.png
 share/codelite/images/help_earth.png
@@ -106,7 +113,6 @@
 share/codelite/images/recent_workspaces.png
 share/codelite/images/splashscreen.png
 share/codelite/images/splashscreen%2x.png@localhost
-share/codelite/jsctags.zip
 share/codelite/lexers/lexers.json
 share/codelite/php.sample
 share/codelite/phprefactor.phar
@@ -255,23 +261,23 @@
 share/codelite/templates/projects/executable-wx-xrc/main.cpp
 share/codelite/templates/projects/executable-wx-xrc/main.h
 share/codelite/templates/projects/executable-wxcrafter-dialog/MainDialog.cpp
-share/codelite/templates/projects/executable-wxcrafter-dialog/MainDialog.h
+share/codelite/templates/projects/executable-wxcrafter-dialog/MainDialog.hpp
 share/codelite/templates/projects/executable-wxcrafter-dialog/icon.png
 share/codelite/templates/projects/executable-wxcrafter-dialog/main.cpp
 share/codelite/templates/projects/executable-wxcrafter-dialog/win_resources.rc
 share/codelite/templates/projects/executable-wxcrafter-dialog/wxCrafter_MainDialog.project
 share/codelite/templates/projects/executable-wxcrafter-dialog/wxcrafter.cpp
-share/codelite/templates/projects/executable-wxcrafter-dialog/wxcrafter.h
+share/codelite/templates/projects/executable-wxcrafter-dialog/wxcrafter.hpp
 share/codelite/templates/projects/executable-wxcrafter-dialog/wxcrafter.wxcp
 share/codelite/templates/projects/executable-wxcrafter-dialog/wxcrafter_bitmaps.cpp
 share/codelite/templates/projects/executable-wxcrafter-frame/MainFrame.cpp
-share/codelite/templates/projects/executable-wxcrafter-frame/MainFrame.h
+share/codelite/templates/projects/executable-wxcrafter-frame/MainFrame.hpp
 share/codelite/templates/projects/executable-wxcrafter-frame/icon.png
 share/codelite/templates/projects/executable-wxcrafter-frame/main.cpp
 share/codelite/templates/projects/executable-wxcrafter-frame/win_resources.rc
 share/codelite/templates/projects/executable-wxcrafter-frame/wxCrafter_MainFrame.project
 share/codelite/templates/projects/executable-wxcrafter-frame/wxcrafter.cpp
-share/codelite/templates/projects/executable-wxcrafter-frame/wxcrafter.h
+share/codelite/templates/projects/executable-wxcrafter-frame/wxcrafter.hpp
 share/codelite/templates/projects/executable-wxcrafter-frame/wxcrafter.wxcp
 share/codelite/templates/projects/executable-wxcrafter-frame/wxcrafter_bitmaps.cpp
 share/codelite/templates/projects/executable/executable.project
@@ -306,5 +312,6 @@
 share/icons/hicolor/64x64/apps/codelite.png
 share/icons/hicolor/64x64@2x/apps/codelite.png
 share/locale/cs/LC_MESSAGES/codelite.mo
+share/locale/ja_JP/LC_MESSAGES/codelite.mo
 share/locale/ru_RU/LC_MESSAGES/codelite.mo
 share/locale/zh_CN/LC_MESSAGES/codelite.mo
diff -r 2f12f489a6d1 -r a65cf64efd57 editors/codelite/distinfo
--- a/editors/codelite/distinfo Mon Oct 17 16:40:41 2022 +0000
+++ b/editors/codelite/distinfo Mon Oct 17 16:50:03 2022 +0000
@@ -1,9 +1,13 @@
-$NetBSD: distinfo,v 1.11 2021/10/26 10:21:25 nia Exp $
+$NetBSD: distinfo,v 1.12 2022/10/17 16:50:03 andvar Exp $
 
-BLAKE2s (codelite-15.0.tar.gz) = f733026f59670dad4949d55186594c5f7d300b79e90e10fc5b8782467872b5ba
-SHA512 (codelite-15.0.tar.gz) = fd5777cdb57d184407cff4503d255b4bcdf14041420ff9daf7043f710c159d6bdb47d467e92948f96ce4eb15eef40b782feec7195f5f66845f3c82d911b3f0b8
-Size (codelite-15.0.tar.gz) = 104970727 bytes
-SHA1 (patch-CodeLite_fileextmanager.cpp) = 1eaf696d3bde907a635d767b3d022e1d92692087
-SHA1 (patch-sdk_asio-1.12.1_asio_detail_impl_kqueue__reactor.ipp) = bdbcf78c6198da9ceb123373fd6b99419ae94896
+BLAKE2s (codelite-16.0.tar.gz) = 9f1d0335b0d7571e2aa2add64996a70141571ab8ae67fd360f3db9bfa9f6a3cf
+SHA512 (codelite-16.0.tar.gz) = 4965207a11869bb5f5ec33538bdc2a7312f8d444c615cf7e5a653a26abe2e823bd35a07d1bce73812935025e9a2dc3d6b970e02c7eb2da75f3a22c14d7670af7
+Size (codelite-16.0.tar.gz) = 89755705 bytes
+SHA1 (patch-CodeLite_tags_storage_sqlite3.h) = 5de0ea959cbdcec260f4d7e8ad55a59ec65b83aa
+SHA1 (patch-LanguageServer_LanguageServerLogView.h) = e098709cd6e6cf76a5416b1b8e93f60a6b636bd6
+SHA1 (patch-Plugin_DiffSideBySidePanel.h) = bfc07ea848244a2d2295f10816da4f37edc1e2e4
+SHA1 (patch-ctagsd_CMakeLists.txt) = 2f86721027013407fd662b4f5b3df3f47ad5c5c7
+SHA1 (patch-sdk_asio-1.12.1_asio_detail_impl_kqueue__reactor.ipp) = 20b605046b94de06a8491a282ec8788bea7a50c7
 SHA1 (patch-svgs_svgs-dark_create-logo.sh) = d794ca7bb16a248a7aead3ca30e6c9f16073e1a3
 SHA1 (patch-svgs_svgs-light_create-logo.sh) = 4b0d06911baf89636311cc10e7042f3a2b4f22b3
+SHA1 (patch-wxcrafter_myxh__propgrid.cpp) = 2cdf5abea02aabb187098fb08d5f9ceb1d4148f1
diff -r 2f12f489a6d1 -r a65cf64efd57 editors/codelite/patches/patch-CodeLite_fileextmanager.cpp
--- a/editors/codelite/patches/patch-CodeLite_fileextmanager.cpp        Mon Oct 17 16:40:41 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-$NetBSD: patch-CodeLite_fileextmanager.cpp,v 1.1 2020/03/23 11:57:13 nia Exp $
-
-Add NetBSD specific matchers
-
---- CodeLite/fileextmanager.cpp.orig   2020-03-07 01:58:26.515745479 +0200
-+++ CodeLite/fileextmanager.cpp
-@@ -171,13 +171,15 @@
- 
-         // Initialize regexes:
-         m_matchers.push_back(Matcher("#[ \t]*![ \t]*/bin/bash", TypeScript));
--        m_matchers.push_back(Matcher("#[ \t]*![ \t]*/bin/bash", TypeScript));
-+        m_matchers.push_back(Matcher("#[ \t]*![ \t]*/usr/pkg/bin/bash", TypeScript));
-         m_matchers.push_back(Matcher("#[ \t]*![ \t]*/usr/bin/sh", TypeScript));
-         m_matchers.push_back(Matcher("#[ \t]*![ \t]*/usr/bin/bash", TypeScript));
-         m_matchers.push_back(Matcher("#[ \t]*![ \t]*/bin/python", TypePython));
-         m_matchers.push_back(Matcher("#[ \t]*![ \t]*/usr/bin/python", TypePython));
-+        m_matchers.push_back(Matcher("#[ \t]*![ \t]*/usr/pkg/bin/python[2-3][.][0-9]+", TypePython));
-         m_matchers.push_back(Matcher("#[ \t]*![ \t]*/bin/node", TypeJS));
-         m_matchers.push_back(Matcher("#[ \t]*![ \t]*/usr/bin/node", TypeJS));
-+        m_matchers.push_back(Matcher("#[ \t]*![ \t]*/usr/pkg/bin/node", TypeJS));
-         m_matchers.push_back(Matcher("#[ \t]*![ \t]*/bin/nodejs", TypeJS));
-         m_matchers.push_back(Matcher("#[ \t]*![ \t]*/usr/bin/nodejs", TypeJS));
-         m_matchers.push_back(Matcher("<?xml", TypeXml, false));
diff -r 2f12f489a6d1 -r a65cf64efd57 editors/codelite/patches/patch-CodeLite_tags_storage_sqlite3.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/codelite/patches/patch-CodeLite_tags_storage_sqlite3.h    Mon Oct 17 16:50:03 2022 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-CodeLite_tags_storage_sqlite3.h,v 1.1 2022/10/17 16:50:03 andvar Exp $
+
+Reorder <wx/filename.h> to fix the build in NetBSD.
+
+--- CodeLite/tags_storage_sqlite3.h    2022-05-03 22:38:34.770034020 +0300
++++ CodeLite/tags_storage_sqlite3.h
+@@ -25,6 +25,8 @@
+ #ifndef CODELITE_TAGS_DATABASE_H
+ #define CODELITE_TAGS_DATABASE_H
+ 
++#include <wx/filename.h>
++
+ #include "codelite_exports.h"
+ #include "entry.h"
+ #include "fileentry.h"
+@@ -33,7 +35,6 @@
+ #include "wxStringHash.h"
+ 
+ #include <unordered_map>
+-#include <wx/filename.h>
+ #include <wx/wxsqlite3.h>
+ 
+ /**
diff -r 2f12f489a6d1 -r a65cf64efd57 editors/codelite/patches/patch-LanguageServer_LanguageServerLogView.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/codelite/patches/patch-LanguageServer_LanguageServerLogView.h     Mon Oct 17 16:50:03 2022 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-LanguageServer_LanguageServerLogView.h,v 1.1 2022/10/17 16:50:03 andvar Exp $
+
+Reorder <wx/menu.h> to fix build in NetBSD.
+
+--- LanguageServer/LanguageServerLogView.h     2022-05-02 22:26:31.620093956 +0300
++++ LanguageServer/LanguageServerLogView.h
+@@ -1,5 +1,6 @@
+ #ifndef LANGUAGESERVERLOGVIEW_H
+ #define LANGUAGESERVERLOGVIEW_H
++#include <wx/menu.h>
+ #include "UI.h"
+ 
+ class LanguageServerLogView : public LanguageServerLogViewBase
diff -r 2f12f489a6d1 -r a65cf64efd57 editors/codelite/patches/patch-Plugin_DiffSideBySidePanel.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/codelite/patches/patch-Plugin_DiffSideBySidePanel.h       Mon Oct 17 16:50:03 2022 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-Plugin_DiffSideBySidePanel.h,v 1.1 2022/10/17 16:50:03 andvar Exp $
+
+Reorder <wx/filename.h> to fix build in NetBSD.
+
+--- Plugin/DiffSideBySidePanel.h.orig  2022-04-18 08:09:00.000000000 +0300
++++ Plugin/DiffSideBySidePanel.h
+@@ -26,13 +26,15 @@
+ #ifndef DIFFSIDEBYSIDEPANEL_H
+ #define DIFFSIDEBYSIDEPANEL_H
+ 
++#include <wx/filename.h>
++
++#include "wxcrafter_plugin.h"
+ #include "DiffConfig.h"
+ #include "clDTL.h"
+ #include "clPluginsFindBar.h"
+ #include "wxcrafter_plugin.h"
+ 
+ #include <vector>
+-#include <wx/filename.h>
+ 
+ class clToolBar;
+ class WXDLLIMPEXP_SDK DiffSideBySidePanel : public DiffSideBySidePanelBase
diff -r 2f12f489a6d1 -r a65cf64efd57 editors/codelite/patches/patch-ctagsd_CMakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/codelite/patches/patch-ctagsd_CMakeLists.txt      Mon Oct 17 16:50:03 2022 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-ctagsd_CMakeLists.txt,v 1.1 2022/10/17 16:50:03 andvar Exp $
+
+Portability patch, not all systems have libdl.
+
+--- ctagsd/CMakeLists.txt.orig
++++ ctagsd/CMakeLists.txt      2022-10-15 19:55:44.830876033 +0300
+@@ -42,7 +42,8 @@ include_directories("${CL_SRC_ROOT}/Plug
+ 
+ set(UTIL_LIB "")
+ if(UNIX)
+-    set(UTIL_LIB "-lutil -ldl")
++    set(UTIL_LIB "-lutil")
++    list(APPEND UTIL_LIB ${CMAKE_DL_LIBS})
+ endif(UNIX)



Home | Main Index | Thread Index | Old Index