Skip to content

Commit

Permalink
update 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
hfmrow committed Apr 2, 2021
1 parent 4ac4d66 commit 0470e00
Show file tree
Hide file tree
Showing 347 changed files with 58,959 additions and 5,136 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,15 @@

# Personal unwanted files and folders
gohBackup/*
package/*
assets/artWork/*
*.opt
*.log
*~
*.debug
*.xz
*.7z
*.SUM
*.desktop
git-push.sh

41 changes: 38 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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.

- Lot of parts of the code have been rewritten for more stability and a really faster processing. And, resulting a lower weight executable file.
92 changes: 0 additions & 92 deletions Godeps/Godeps.json

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
74 changes: 46 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
@@ -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).
Expand All @@ -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.
Loading

0 comments on commit 0470e00

Please sign in to comment.