Commit Graph

2747 Commits (337aa9249b746711bfcdd8b182ae68087039e8ec)
 

Author SHA1 Message Date
dependabot[bot] 337aa9249b
chore(deps): bump github.com/tklauser/go-sysconf from 0.3.12 to 0.3.15
Bumps [github.com/tklauser/go-sysconf](https://github.com/tklauser/go-sysconf) from 0.3.12 to 0.3.15.
- [Release notes](https://github.com/tklauser/go-sysconf/releases)
- [Commits](https://github.com/tklauser/go-sysconf/compare/v0.3.12...v0.3.15)

---
updated-dependencies:
- dependency-name: github.com/tklauser/go-sysconf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
1 week ago
shirou b7c02adb2d
Merge pull request #1799 from mmorel-35/worflows-concurrency
chore: reduce number of executed jobs
2 weeks ago
Matthieu MOREL f04c791e79 chore: reduce number of executed jobs
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2 weeks ago
shirou bcd0dfa73b
Merge pull request #1794 from shirou/dependabot/github_actions/golangci/golangci-lint-action-6.5.0
chore(deps): bump golangci/golangci-lint-action from 6.2.0 to 6.5.0
3 weeks ago
shirou 77aa6f85b8
Merge pull request #1801 from shirou/dependabot/go_modules/github.com/google/go-cmp-0.7.0
chore(deps): bump github.com/google/go-cmp from 0.6.0 to 0.7.0
3 weeks ago
dependabot[bot] efe3ff44ce
chore(deps): bump github.com/google/go-cmp from 0.6.0 to 0.7.0
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.6.0...v0.7.0)

---
updated-dependencies:
- dependency-name: github.com/google/go-cmp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
3 weeks ago
dependabot[bot] 6dc012fad1
chore(deps): bump golangci/golangci-lint-action from 6.2.0 to 6.5.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6.2.0 to 6.5.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](ec5d18412c...2226d7cb06)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
3 weeks ago
shirou edcde3adba
Merge pull request #1797 from mmorel-35/golangci-lint-matrix
chore(golangci-lint): GOOS and GOARCH matrix
3 weeks ago
shirou 4f2f472f0d
Merge pull request #1796 from RomainMuller/master
fix: `Process.CmdlineSliceWithContext` incorrect on Windows
3 weeks ago
Matthieu MOREL 30aff030d0 chore(golangci-lint): GOOS and GOARCH matrix
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
3 weeks ago
Lomanic b7932a9266
Merge pull request #1798 from mmorel-35/patch-1
fix(golangci-lint): configuration typo
3 weeks ago
Matthieu MOREL df6f9a28a2
fix(golangci-lint): configuration typo 3 weeks ago
Romain Marcadier 5da36ee6c8
fix: CmdlineSlice[WithContext] incorrect on Windows 3 weeks ago
shirou 23ceac30ac
Merge pull request #1795 from shirou/feat/fix_revice_lint_error_on_any
[windows]: fix lint error about use-any
3 weeks ago
shirou 8897eba676 [windows]: fix lint error about use-any 3 weeks ago
shirou 22889d3f13
Merge pull request #1784 from mmorel-35/revive/use-any
chore: enable use-any from revive
3 weeks ago
shirou 943850443c
Merge pull request #1785 from mmorel-35/golangci-lint-os-matrix
chore: enable golangci-lint on Windows and MacOS
3 weeks ago
Matthieu MOREL 26d69f4e4b
Explain git attributes configuration 1 month ago
Matthieu MOREL 9ce2ec161e chore: enable golangci-lint on Windows and MacOS
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
1 month ago
Matthieu MOREL 27ea38b5ad chore: enable use-any from revive
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
1 month ago
shirou 90e59961ca
Merge pull request #1780 from shirou/dependabot/github_actions/actions/setup-go-5.3.0
chore(deps): bump actions/setup-go from 5.2.0 to 5.3.0
2 months ago
shirou ee3a3d85a7
Merge pull request #1772 from shirou/dependabot/github_actions/actions/upload-artifact-4.6.0
chore(deps): bump actions/upload-artifact from 4.5.0 to 4.6.0
2 months ago
shirou a1359d4e1a
Merge pull request #1773 from shirou/dependabot/go_modules/github.com/ebitengine/purego-0.8.2
chore(deps): bump github.com/ebitengine/purego from 0.8.1 to 0.8.2
2 months ago
shirou 8d6af6c6ed
Merge pull request #1775 from shirou/dependabot/github_actions/advanced-security/sbom-generator-action-0.0.2
chore(deps): bump advanced-security/sbom-generator-action from 0.0.1 to 0.0.2
2 months ago
dependabot[bot] e826c61f60
chore(deps): bump actions/setup-go from 5.2.0 to 5.3.0
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](3041bf56c9...f111f3307d)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2 months ago
shirou e7e2e9e4a8
Merge pull request #1779 from mmorel-35/remove-actions-cache
chore: call actions/checkout before actions/setup-go to benefit from native cache
2 months ago
shirou 644c48a15a
Merge pull request #1778 from mmorel-35/golangci-lint/revive
chore: explicit revive rules
2 months ago
Matthieu MOREL 99d68e2160 chore: call actions/checkout before actions/setup-go to benefit from native cache
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2 months ago
Matthieu MOREL d1977251f9 chore: explicit revive rules
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2 months ago
shirou c8110d7c08
Merge pull request #1777 from shirou/dependabot/github_actions/golangci/golangci-lint-action-6.2.0
chore(deps): bump golangci/golangci-lint-action from 6.1.1 to 6.2.0
2 months ago
dependabot[bot] 2dfb164ed0
chore(deps): bump golangci/golangci-lint-action from 6.1.1 to 6.2.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6.1.1 to 6.2.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](971e284b60...ec5d18412c)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2 months ago
dependabot[bot] 43542ec90c
chore(deps): bump advanced-security/sbom-generator-action
Bumps [advanced-security/sbom-generator-action](https://github.com/advanced-security/sbom-generator-action) from 0.0.1 to 0.0.2.
- [Release notes](https://github.com/advanced-security/sbom-generator-action/releases)
- [Commits](375dee8e61...6fe43abf52)

---
updated-dependencies:
- dependency-name: advanced-security/sbom-generator-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2 months ago
dependabot[bot] 551e814c7b
chore(deps): bump github.com/ebitengine/purego from 0.8.1 to 0.8.2
Bumps [github.com/ebitengine/purego](https://github.com/ebitengine/purego) from 0.8.1 to 0.8.2.
- [Release notes](https://github.com/ebitengine/purego/releases)
- [Commits](https://github.com/ebitengine/purego/compare/v0.8.1...v0.8.2)

---
updated-dependencies:
- dependency-name: github.com/ebitengine/purego
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2 months ago
dependabot[bot] 6d01df9b28
chore(deps): bump actions/upload-artifact from 4.5.0 to 4.6.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](6f51ac03b9...65c4c4a1dd)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2 months ago
shirou 252dcbf8a2
Merge pull request #1768 from uubulb/darwin
refactor(darwin): optimize string allocation
2 months ago
uubulb 1f39525d2d refactor(darwin): optimize string allocation 3 months ago
shirou bcd0c0a661
Merge pull request #1767 from chuangbo/fix/memory-leak-and-string-corruption-in-arm-mac-temperature-sensors
fix: memory leak and string corruption in ARM Mac temperature sensors
3 months ago
Li Chuangbo 19082b35ae
fix: memory leak and string corruption in ARM Mac temperature sensors
This commit addresses several issues in the temperature sensor implementation for ARM Mac:
1. Memory leak caused by unreleased system resources
2. Increasing port counts in Activity Monitor
3. String corruption where the first character becomes "\x00"

Changes:

1. Resource Management:
   - Added proper resource cleanup using `defer` statements
   - Refactored code to share the HID system client instead of creating new ones
   - Fixed memory leaks by ensuring all CoreFoundation objects are properly released

2. String Handling:
   - Fixed buffer allocation for string conversion
   - Properly handle null terminators in C string to Go string conversion
   - Added correct string length calculations

3. Code Structure:
   - Reduced resource allocation by sharing system client between functions
   - Enhanced code readability with better comments
3 months ago
shirou b8e1b282ba
Merge pull request #1766 from shirou/feat/update_readme
[doc]: Update README for supported metrics.
3 months ago
shirou b9890b1fbc [doc]: Update README for supported metrics. 3 months ago
shirou 90efec0764
Merge pull request #1765 from shirou/feat/process_cwd_freebsd
[process][freebsd]: add CWD
3 months ago
shirou a284e30930 [process][freebsd]: add CWD 3 months ago
shirou ab66f2d0e1
Merge pull request #1764 from shirou/refactor/net_merge_base_functions
Refactor[net]: merge base functions to net.go
3 months ago
shirou 69c2c10b0f feat: enable build test on OpenBSD. 3 months ago
shirou 29ccada537 refactor(net): Gather base functions to net.go 3 months ago
shirou 9d7cedb666
Merge pull request #1756 from shirou/dependabot/github_actions/actions/upload-artifact-4.5.0
chore(deps): bump actions/upload-artifact from 4.4.3 to 4.5.0
3 months ago
shirou d440870260
Merge pull request #1755 from shirou/dependabot/github_actions/actions/setup-go-5.2.0
chore(deps): bump actions/setup-go from 5.0.2 to 5.2.0
3 months ago
shirou 95b69b4e13
Merge pull request #1754 from shirou/dependabot/github_actions/actions/cache-4.2.0
chore(deps): bump actions/cache from 4.1.1 to 4.2.0
3 months ago
shirou fe28b21c2e
Merge pull request #1762 from mmorel-35/perfsprint
enable all rules of perfsprint linter
3 months ago
shirou d621e0f6f4
Merge pull request #1761 from mmorel-35/testifylint/expected-actual
enable all rules of testifylint linter
3 months ago