Lucien Cartier-Tilet
257ece43e6
Fix extra argument for executable-find with older versions of Emacs
2021-12-19 00:15:06 +01:00
Lucien Cartier-Tilet
0c9e6de3ee
Add Android Support
2021-12-18 18:46:11 +01:00
Lucien Cartier-Tilet
76d87e4325
Fix error when directory `/sys` is not readable by the user
2021-12-18 17:48:26 +01:00
Lucien Cartier-Tilet
6e90f02988
Bump version, change homepage
2021-12-18 16:31:27 +01:00
Lucien Cartier-Tilet
08d7bc42da
Add Melpa Stable badge
2021-12-18 16:30:27 +01:00
Lucien Cartier-Tilet
c8073faa88
Add support for Bedrock Linux and Proxmox
2021-12-18 16:24:32 +01:00
Lucien Cartier-Tilet
9b75d19451
Add new macOS Big Sur versions
2021-11-19 19:06:43 +01:00
Lucien Cartier-Tilet
81181090df
Bump version
2021-11-19 18:55:26 +01:00
Lucien Cartier-Tilet
0bd70d0d0f
Fix df-related code
2021-11-19 18:38:24 +01:00
Lucien Cartier-Tilet
312f1e3da3
Update link in REAMDE
2021-11-15 10:14:29 +01:00
Lucien Cartier-Tilet
a43818569d
Fix value type issue in `eshell-info-banner--get-memory-gnu'
2021-11-15 10:14:29 +01:00
Lucien Cartier-Tilet
517b9d705c
Update README, package is now in melpa
...
Update recipes for installing package
Add MELPA badge
2021-11-15 10:14:29 +01:00
Lucien Cartier-Tilet
33684943c3
Fix license issue
...
While the code indicates its license is GLP-3.0-or-later, the
LICENSE.md file indicated GPL-3.0-only. This commit changes the
LICENSE file so make it compatible with the code’s license.
2021-11-11 00:07:13 +01:00
Lucien Cartier-Tilet
60daf22d32
Remove dash.el dependency
2021-11-10 19:52:15 +01:00
Shohei YOSHIDA
32a65e4a6a
Fix typo
2021-11-10 16:43:11 +09:00
Lucien Cartier-Tilet
36d1b981be
Fix package-lint, checkdoc and byte-compile errors
...
Fix byte-compile and package-lint errors as mentionned here
https://github.com/melpa/melpa/pull/7790#issuecomment-962727545
Fix a docstring that was too long, quoted `eshell-info-banner' in
three other docstrings.
Renaming functions may have introduced some breaking changes, hence
the update on the REAME. Since these were breaking changes, this
commit removes two functions as well which weren’t used internally
anymore.
2021-11-08 13:41:41 +01:00
Lucien Cartier-Tilet
6dc46a1ab9
Merge pull request #13 from syohex/byte-compile-warning
...
Fix byte-compile issues
2021-11-07 12:58:43 +01:00
Shohei YOSHIDA
446967b768
Fix byte-compile issues
2021-11-07 18:51:50 +09:00
Lucien Cartier-Tilet
48470a4b85
Simplify code retrieving partitions between GNU and Darwin systems
...
Also bump revision number
2021-11-07 00:08:08 +01:00
Lucien Cartier-Tilet
b2eff90711
Enforce LANG=C for all shell-command-to-string calls
2021-11-07 00:08:08 +01:00
Lucien Cartier-Tilet
0a8a340260
Add OS name detection for BSD OSes, memory improvements for UNIX
...
Simpler function for UNIX systems, including macOS.
Bump to 0.6
2021-11-07 00:08:01 +01:00
Lucien Cartier-Tilet
41222b5f89
Add error handling in case of an unknown OS, warn instead of message
...
Warn the user if something goes wrong instead of just a message in the
minibuffer and the *Message* buffer.
2021-11-06 23:09:54 +01:00
Lucien Cartier-Tilet
27ae353336
Add installation method in the README
2021-07-13 17:57:09 +02:00
Lucien Cartier-Tilet
cebb21818e
Add macOS versions and fallback value, close #11
2021-07-09 19:22:52 +02:00
Lucien Cartier-Tilet
718663f50d
Better memory display
2021-06-18 19:29:06 +02:00
Lucien Cartier-Tilet
d35516a354
Better Windows support for partition detection with duf
2021-06-18 19:26:16 +02:00
Lucien Cartier-Tilet
1635241762
Add new partitions detection method through duf
...
eshell-info-banner will now default to duf if it is installed and
avaliable on the system, otherwise it will default to
platform-specific implementation.
2021-06-18 18:38:11 +02:00
Lucien Cartier-Tilet
6a043f6c19
Add versions custom variables were introduced in, minor fixes
...
All custom variables now have the package version in which they were
introduced specified.
This commit fixes a small typo in the documentation of
`eshell-info-banner--abbr-path'
Remove a leftover line used for debugging
2021-06-18 18:11:02 +02:00
Lucien Cartier-Tilet
e3461e6f99
README update, add CONTRIBUTING
...
Remove upcoming changes since nothing backward-incompatible is
upcoming, and OS and Linux distro support is already specified in
pinned issue.
2021-05-23 02:15:12 +02:00
Lucien Cartier-Tilet
8b72edda09
Upgrade Emacs minimum version required
...
seq.el became part of Emacs with Emacs 25.1 and is used in the code,
hence the upgrade
2021-05-23 00:32:18 +02:00
Lucien Cartier-Tilet
913120fae5
Rename function, and set locale for `vm_stat'
2021-05-23 00:07:00 +02:00
Lucien Cartier-Tilet
46ada1b264
Add RAM detection support for macOS
2021-05-22 23:48:36 +02:00
Lucien Cartier-Tilet
508c6883fe
Bump revision version, fix newline display after memory
...
If memory usage is not displayed, a newline was still inserted. This
commit fixes this.
2021-05-22 04:30:34 +02:00
Lucien Cartier-Tilet
3934c4e472
Add partition detection to macOS and OSX
2021-05-22 04:26:33 +02:00
Lucien Cartier-Tilet
2a6f8bea29
Manage one more case of `-p' not accepted as `uptime' switch
2021-05-22 04:15:27 +02:00
Lucien Cartier-Tilet
0f39c31884
Add partial support for Mac, Guix, improve Windows OS detection
...
This commit adds detection of the current OSX or macOS version.
It also adds support for non-standard Guix SD Linux distribution.
Windows OS detection is improved, with a separation of the name of the
version of Windows and its build number, the latter is treated as the
kernel version of Windows.
2021-05-22 03:59:08 +02:00
Lucien Cartier-Tilet
f5b5ebccc7
Preliminary rewrite of OS detection
2021-05-22 01:29:12 +02:00
Lucien Cartier-Tilet
e78aaa41f9
Handle case where battery is incorrectly detected
...
On my Windows VM, `battery' reported a battery as present but with a
charge of `N/A' percents. This commit handle this case as no battery
present.
2021-05-22 01:25:42 +02:00
Lucien Cartier-Tilet
be0c8859d6
Simpler way of getting the kernel name
2021-05-22 00:31:11 +02:00
Lucien Cartier-Tilet
964d4bfe4c
Make uptime detection more portable
2021-05-22 00:20:46 +02:00
Lucien Cartier-Tilet
84294cb12c
Code formatting, version revision bump
...
Making shorter lines
2021-05-22 00:20:35 +02:00
Juergen Hoetzel
285fd95b8b
Fix void-variable error: partitions
2021-05-21 21:13:35 +02:00
Lucien Cartier-Tilet
e9136b77cd
Better regex for battery level detection
...
Detect the battery level, whether or not it is followed by decimals
2021-05-21 21:12:27 +02:00
Lucien Cartier-Tilet
763d459a9e
Make eshell-info-banner more portable
...
Memory detection and partition detection now relies of the operating
system detection of Emacs to know whether it can run or not. Also,
this is cleaning up a lot the function `eshell-info-banner', and I
think I will continue cleaning it up even more in the future.
2021-05-17 17:58:37 +02:00
Lucien Cartier-Tilet
a3e6aebac3
Reorganize comments, add page breaks, swap from variable to function
...
Old one-line comments that used to separate parts of the file are now
on three lines, while one-line comments are a sort of subsection of
these new big sections.
Page breaks will make it easier to navigate the code source.
Variable `system-name' is obsolete and is replaced by a function with
the same name.
2021-05-17 17:42:44 +02:00
Lucien Cartier-Tilet
1b06956235
Mark custom variables with :safe option
2021-05-17 17:14:43 +02:00
Lucien Cartier-Tilet
6463265938
Merge branch 'main' of github.com:Phundrak/eshell-info-banner.el
2021-05-15 21:04:37 +02:00
Lucien Cartier-Tilet
6ea9c74a4e
Remove paragraph on upcoming changes already made
2021-05-15 21:03:23 +02:00
Lucien Cartier-Tilet
7ddb41ed3e
Merge pull request #8 from juergenhoetzel/leverage-reduce
...
Leverage -reduce-from function
2021-05-15 21:00:25 +02:00
Lucien Cartier-Tilet
e3b230f881
Bump version
2021-05-15 20:56:47 +02:00