diff --git a/.gitignore b/.gitignore index d3adafa..355cad8 100644 --- a/.gitignore +++ b/.gitignore @@ -31,11 +31,15 @@ # Personal unwanted files and folders gohBackup/* +package/* +assets/artWork/* *.opt +*.log *~ *.debug *.xz *.7z *.SUM *.desktop +git-push.sh diff --git a/CHANGELOG.md b/CHANGELOG.md index 9574cd5..095887b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,41 @@ -## Changelog +## Informations + +At the bottom you can find a compiled standalone ".deb" version with its checksum. The ".tar.gz" & ".zip" sources contain a "vendor" directory ensuring you can always compile it even if the official libraries have been changed. -### SearchEngine ©2018-19 H.F.M +## Changelog All notable changes to this project will be documented in this file. +### [1.9] 2021-04-02 + +#### Added + +- Add the time zone selection (UTC, Local), which is used in the file view and to search by time function. + +- Context menu: adding option to set date/time at newer and older than from selected file. + +- Context menu delete file(s): confirmation window display the names and their count. + +#### Fixed + +- Search choosing "Directory" as type of file, will work correctly now instead of before where directory name was displayed only in the "All" mode. + +- Sort by size, works properly and reflects a natural order. + +- Sort by date, works correctly even if you have enabled Human readable mode. + +- Some strange behavior with context menu (handling has been rewritten). + +#### Changed + +- Artwork changed, image / icons. + +- Calendar section rewritten. + +- Repository name was changed to [https://github.com/hfmrow/search-engine](https://github.com/hfmrow/search-engine) instead of `https://github.com/hfmrow/searchEngine` + +--- + ### [1.8.5] 2019-10-03 #### Added @@ -13,10 +45,13 @@ All notable changes to this project will be documented in this file. #### Fixed - And operand: now correctly manages the functionality of the splitted words. + - Solving issues on errors occuring sometimes on opening text file with "GDK_FATAL_ERROR" or while opening directory that getting permission error with a"GVFS-WARNING" #### Changed - some parts of the search function have been rewritten to avoid some minor issues. + - Display current path in the title bar rather than the tatusbar. -- Lot of parts of the code have been rewritten for more stability and a really faster processing. And, resulting a lower weight executable file. \ No newline at end of file + +- Lot of parts of the code have been rewritten for more stability and a really faster processing. And, resulting a lower weight executable file. diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json deleted file mode 100644 index 8e625c6..0000000 --- a/Godeps/Godeps.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "Deps": [ - { - "Comment": "v1.0.0", - "ImportPath": "github.com/dustin/go-humanize", - "Rev": "9f541cc9db5d55bce703bd99987c9d5cb8eea45e" - }, - { - "Comment": "", - "ImportPath": "github.com/hfmrow/genLib/files", - "Rev": "281f1c2fe78be2dadcc4bb68e9bd53fa577d9f10" - }, - { - "Comment": "", - "ImportPath": "github.com/hfmrow/genLib/files/findFiles", - "Rev": "281f1c2fe78be2dadcc4bb68e9bd53fa577d9f10" - }, - { - "Comment": "", - "ImportPath": "github.com/hfmrow/genLib/slices", - "Rev": "281f1c2fe78be2dadcc4bb68e9bd53fa577d9f10" - }, - { - "Comment": "", - "ImportPath": "github.com/hfmrow/genLib/strings", - "Rev": "281f1c2fe78be2dadcc4bb68e9bd53fa577d9f10" - }, - { - "Comment": "", - "ImportPath": "github.com/hfmrow/genLib/strings/cClass", - "Rev": "281f1c2fe78be2dadcc4bb68e9bd53fa577d9f10" - }, - { - "Comment": "", - "ImportPath": "github.com/hfmrow/genLib/tools", - "Rev": "281f1c2fe78be2dadcc4bb68e9bd53fa577d9f10" - }, - { - "Comment": "", - "ImportPath": "github.com/hfmrow/genLib/tools/bench", - "Rev": "281f1c2fe78be2dadcc4bb68e9bd53fa577d9f10" - }, - { - "Comment": "", - "ImportPath": "github.com/hfmrow/genLib/tools/errors", - "Rev": "281f1c2fe78be2dadcc4bb68e9bd53fa577d9f10" - }, - { - "Comment": "", - "ImportPath": "github.com/hfmrow/gtk3Import/dialog", - "Rev": "4653d5eb593d534c0da671944e673378948fd1e7" - }, - { - "Comment": "", - "ImportPath": "github.com/hfmrow/gtk3Import/dialog/about", - "Rev": "4653d5eb593d534c0da671944e673378948fd1e7" - }, - { - "Comment": "", - "ImportPath": "github.com/hfmrow/gtk3Import/dialog/chooser", - "Rev": "4653d5eb593d534c0da671944e673378948fd1e7" - }, - { - "Comment": "", - "ImportPath": "github.com/hfmrow/gtk3Import/misc", - "Rev": "4653d5eb593d534c0da671944e673378948fd1e7" - }, - { - "Comment": "", - "ImportPath": "github.com/hfmrow/gtk3Import/pango", - "Rev": "4653d5eb593d534c0da671944e673378948fd1e7" - }, - { - "Comment": "", - "ImportPath": "github.com/hfmrow/gtk3Import/pixbuff", - "Rev": "4653d5eb593d534c0da671944e673378948fd1e7" - }, - { - "Comment": "", - "ImportPath": "github.com/hfmrow/gtk3Import/treeview", - "Rev": "4653d5eb593d534c0da671944e673378948fd1e7" - }, - { - "Comment": "v1.2.0", - "ImportPath": "gopkg.in/djherbis/times.v1", - "Rev": "847c5208d8924cea0acea3376ff62aede93afe39" - } - ], - "GoVersion": "go1.13", - "GodepVersion": "v80", - "ImportPath": "github.com/hfmrow/searchEngine" -} \ No newline at end of file diff --git a/LICENSE b/LICENSE index 9cbcf9b..3cd3404 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2019 H.F.M +Copyright ©2018-21 H.F.M - Search Engine v1.9 github.com/hfmrow/search-engine Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 1672779..b114394 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,23 @@ -# Search Engine 1.8.5 +# Search Engine 1.9 + *This program is designed to search files over directory, subdirectory, and retrieving information based on date/time, type, patterns contained in name. i'm using it as a replacement for native search function.* +##### Last update 2021-04-02 + Take a look [here, H.F.M repositories](https://github.com/hfmrow/) for other useful linux softwares. -- If you just want to use it, simply download the compiled version under the "release" tab. You can see at [the Right way to install H.F.M's softwares](https://github.com/hfmrow/instHFMsofts) page to integrate this software in your debian environment. - +- If you just want to use it, simply download the *.deb* version under the "release" tab. + - If you want to play inside code, see below "How to compile" section. ## How it's made + - Programmed with go language: [golang](https://golang.org/doc/) - GUI provided by [Gotk3 (gtk3 v3.22)](https://github.com/gotk3/gotk3), GUI library for Go (minimum required v3.16). - I use homemade software: "Gotk3ObjHandler" to embed images/icons, UI-information and manage/generate gtk3 objects code from [glade ui designer](https://glade.gnome.org/). and "Gotk3ObjTranslate" to generate the language files and the assignment of a tooltip on the gtk3 objects (both are not published at the moment, in fact, they need documentations and, for the moment, I have not had the time to do them). ## Functionalities + - Search files based on patterns (contained in filename). - Search files based on file type (all, files, dir, link). - Search files based on date time (newer than, older than). @@ -36,44 +41,57 @@ Take a look [here, H.F.M repositories](https://github.com/hfmrow/) for other use ![Main](assets/readme/whole.jpg "Main") ## How to compile + - Be sure you have golang installed in right way. [Go installation](https://golang.org/doc/install). -- Open terminal window and at command prompt, type: `go get github.com/hfmrow/sAndReplace` + +- Open terminal window and at command prompt, type: `go get github.com/hfmrow/search-engine` + - See [Gotk3 Installation instructions](https://github.com/gotk3/gotk3/wiki#installation) for gui installation instruction. + - To change gtk3 interface you need to use the **devMode = true** to disable embedding assets. see below ... -- To change language file you need to use another home made software, (not published actually). So don't change language file ... -- To Produce a stand-alone executable, you must change inside "main.go" file: - func main() { - devMode = true - ... -into +- To change language file you need to use another home made software, (not published actually). So don't change language file ... - func main() { - devMode = false - ... +- To Produce a stand-alone executable, you must change inside "main.go" file: + + func main() { + devMode = true + ... + + into + + func main() { + devMode = false + ... -This operation indicate that externals datas (Image/Icons) must be embedded into the executable file. +This operation indicate that externals data (Image/Icons) must be embedded into the executable file. ### Os information (build using) -| Name | Version / Info / Name | -|-----------------|-----------------------------------------------------| -| GOLANG | V1.13 -> GO111MODULE="off", GOPROXY="direct" | -| DISTRIB | LinuxMint | -| VERSION | 19.1 | -| CODENAME | tessa | -| RELEASE | #31~18.04.1-Ubuntu SMP Thu Sep 12 18:29:21 UTC 2019 | -| UBUNTU_CODENAME | bionic | -| KERNEL | 5.0.0-29-generic | -| HDWPLATFORM | x86_64 | -| GTK+ 3 | libgtk-3-0:amd64 3.22.30-1ubuntu3 | -| GLIB 2 | 2.56.4 | -| CAIRO | 1.15.10 | + +| Name | Version / Info / Name | +| ---------------------------------------------------------- | ---------------------------------------------- | +| GOLANG | V1.16.2 -> GO111MODULE="off", GOPROXY="direct" | +| DISTRIB | LinuxMint Xfce | +| VERSION | 20 | +| CODENAME | ulyana | +| RELEASE | #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 | +| UBUNTU_CODENAME | focal | +| KERNEL | 5.8.0-48-generic | +| HDWPLATFORM | x86_64 | +| GTK+ 3 | 3.24.20 | +| GLIB 2 | 2.64.3 | +| CAIRO | 1.16.0 | +| [GtkSourceView](https://github.com/hfmrow/gotk3_gtksource) | 4.6.0 | +| [LiteIDE](https://github.com/visualfc/liteide) | 37.4 qt5.x | +| Qt5 | 5.12.8 in /usr/lib/x86_64-linux-gnu | - The compilation have not been tested under Windows or Mac OS, but all file access functions, line-end manipulations or charset implementation are made with OS portability in mind. ## You got an issue ? -- Give informations (as above), about used platform and OS version. + +- Give information (as above), about used platform and OS version. - Provide a method to reproduce the problem. ## Website + - [H.F.M Linux softwares](https://hfmrow.yo.fr/) Free linux software on Github. Sharing knowledge. diff --git a/assets/glade/main.glade b/assets/glade/main.glade index 5dcc39d..8669d02 100644 --- a/assets/glade/main.glade +++ b/assets/glade/main.glade @@ -1,5 +1,5 @@ -