Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
History for src/event.c  ·  View all commits
176 commits
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
6 days ago 920c183
B
progress: don't add new line for file_meta and dir_meta event
Baptiste Daroussin
8 days ago c3b57a4
B
event: don't strip the extension for display purpose
Baptiste Daroussin
19 days ago f7ea49d
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
22 days ago abccdd3
B
fix: properly terminate on SIGINT during fetch
Baptiste Daroussin
2 months ago 4270506
B
event: remove useless breaks
Baptiste Daroussin
2 months ago 1acd52f
B
event: remove useless else block level
Baptiste Daroussin
2 months ago 58d7d03
B
event: remove useless code
Baptiste Daroussin
2 months ago 27f860e
B
event: avoid accidental fallthrough
Baptiste Daroussin
2 months ago 1d80d41
B
signal: multiple fixes:
Baptiste Daroussin
2 months ago c246107
B
progress: bring back the unit
Baptiste Daroussin
2 months ago c9001d3
B
capsicum: stop defining from the configure script
Baptiste Daroussin
3 months ago 3009baa
B
C23: first round at using __has_include
Baptiste Daroussin
3 months ago 0f84b83
B
progress: add a space between the unit and the value
Baptiste Daroussin
4 months ago 84e11ef
B
progress: improve the output
Baptiste Daroussin
4 months ago 9595668
S
Merge commit '2d18505bf79a2eb87e2e72bbc3e30b0cf7f6b15c'
Shawn Webb
4 months ago eacbab2
s
check: implement verification of file and dir metadata
strssndktn
6 months ago 48e6c12
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
11 months ago ba89bd1
B
event: replace tll with vec
Baptiste Daroussin
1 year ago d1667fe
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago 89d30c6
B
progress: fix progression and job count
Baptiste Daroussin
1 year ago 777ce1f
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago 834d09c
K
More leak fixes.
Keve
1 year ago 66e26ae
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago 76191f7
r
src/event.c: free() progress_message only when it's not empty
rilysh
1 year ago 3231c9b
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago 618640d
B
malloc: check malloc return
Baptiste Daroussin
1 year ago b95e1bc
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago f0dee69
r
src/event.c: use putchar() for a single character
rilysh
2 years ago 92f4039
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago 9856def
G
Sink PKG_EVENT_SANDBOX_* handlers into libpkg.
Gleb Popov
2 years ago 7a630cf
S
Merge branch 'upstream-master'
Shawn Webb
2 years ago 5768655
B
libpkg: add a _Generic pkg_get()
Baptiste Daroussin
3 years ago 2f040df
B
pkg_attribute: avoid collision with pkg_list
Baptiste Daroussin
3 years ago d9c65f6
S
Merge branch 'upstream-master'
Shawn Webb
3 years ago 6c2ebb5
B
API: replace generic pkg_get with typesafe version
Baptiste Daroussin
4 years ago 7bb8d7e
B
internal: replace kvec with tllist
Baptiste Daroussin
4 years ago 3fdd5e1
B
Coverage: add a flag to disable capsicum when running for coverage
Baptiste Daroussin
4 years ago e9c06cd
B
format_SI: remove a ternary i can never equal 0 here
Baptiste Daroussin
4 years ago 3d76fe4
S
Merge commit '74fd3389a4ee2611603ee8658d2f3b4182ace73e'
Shawn Webb
5 years ago b759c48
B
Add initial test for triggers
Baptiste Daroussin
5 years ago fa4638e
B
Do not run pkg_shutdown function too often
Baptiste Daroussin
5 years ago 380ac7f
B
Use open_memstream p1
Baptiste Daroussin
5 years ago 383d27c
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
5 years ago d871ad5
A
Allow building with -Werror=implicit-function-declaration
Alex Richardson
5 years ago b9e93e5
B
Only include sys/sysctl.h when needed
Baptiste Daroussin
7 years ago af97095
B
Fix some Warnings spotted by gcc7
Baptiste Daroussin
7 years ago fdc713c
B
Merge branch 'trombonehero-capsicum-header'
Brad Davis
8 years ago 9e9bf00
J
Change #include <capability.h> to capsicum.h.
Jonathan Anderson
8 years ago d657370
R
Fix progression display
Romain Tartière
8 years ago 144464d
V
Merge branch 'master' of github.com:freebsd/pkg
Vsevolod Stakhov
9 years ago d7f6ae8
B
Revert "Align fetching progress bars"
Baptiste Daroussin
9 years ago 1a6fd1f
B
Fix dead assignment
Baptiste Daroussin
9 years ago a108958
B
Merge pull request #1515 from ThomasAdam/ta/compilation-fixes
Baptiste Daroussin
9 years ago b31cda9
T
Remove unused functions
Thomas Adam
9 years ago d3fc095
B
Do not bump the counter if no files are to be downloaded
Baptiste Daroussin
9 years ago 9b73d43
B
Add a progress when fetching (#660)
Baptiste Daroussin
9 years ago 95aabc2
B
Fix warnings reported by clang
Baptiste Daroussin
9 years ago 1d317c3
B
Replace libsbuf with utstring.h to improve portability
Baptiste Daroussin
9 years ago f93c045
B
Do not drop privileged in sandbox_call (one of the 2 kind of sandboxes) as it prevents locking on NFS
Baptiste Daroussin
9 years ago 0822f24
B
Merge pull request #1482 from jrmarino/master
Baptiste Daroussin
9 years ago 5e65759
j
Align fetching progress bars
jrmarino
9 years ago 402b56a
B
Fix sandbox preventing to create the audit file
Baptiste Daroussin
9 years ago 71c6937
B
Fix typos
Baptiste Daroussin
9 years ago 5f94f2b
B
factorize the code dropping privileges in one single place
Baptiste Daroussin
9 years ago 5a3f220
B
Same sandboxing for the other sandboxing call
Baptiste Daroussin
9 years ago 4b8bb15
B
Use setrlimit to prevent creating new files and spawning processes in sandboxes
Baptiste Daroussin
9 years ago 39693ac
B
drop priviledges within sandboxes, which makes sandbox a bit less useless when capsicum is not activated/available
Baptiste Daroussin
9 years ago deb0e2c
B
In multi repo when printing the found conflicts specify which repo the package conflicting are from
Baptiste Daroussin
9 years ago cae1e5c
B
Explicitly tell the users which conflicts were found
Baptiste Daroussin
9 years ago 2e27bf8
B
Add a mechanism to register some callback for singal handing from the frontend
Baptiste Daroussin
10 years ago a3aea6d
B
Fix indentation
Baptiste Daroussin
10 years ago 7b287b1
B
add a new event: PKG_EVENT_FILE_MISSING
Baptiste Daroussin
10 years ago 1ecbb20
B
Rework messages to be fully context aware
Baptiste Daroussin
10 years ago 9ec411c
B
Count splitted upgrades as one single actions
Baptiste Daroussin
10 years ago 218a436
B
Remove useless else
Baptiste Daroussin
10 years ago 85e5a0f
V
Merge branch 'message-rework'
Vsevolod Stakhov
10 years ago 631ae91
V
Added logic to conditionally show messages.
Vsevolod Stakhov
10 years ago d2a08f9
B
Allow pkg add to work even if no version is specified in dependencies
Baptiste Daroussin
10 years ago 1118360
B
Add a NO_TICK env var to simplify writing regression tests and fix regressions test
Baptiste Daroussin
10 years ago 47491b1
B
If the output is not a tty then tick with 10 points dynamically
Baptiste Daroussin
10 years ago 4e211d1
B
Fix missing '\n'
Baptiste Daroussin
11 years ago 642e0d2
B
Print notice to stdout not stderr
Baptiste Daroussin
11 years ago 99911c1
B
Remove extra space
Baptiste Daroussin
11 years ago d0726aa
B
Make the public pkg.h c++ friendly
Baptiste Daroussin
11 years ago 5463b3a
B
Use events to send message about missing dep
Baptiste Daroussin
11 years ago 1e6c13f
M
Rip out the counter stuff
Matthew Seaman
11 years ago 31b1e77
B
Prevent a false positive in coverity
Baptiste Daroussin
11 years ago edb5d9f
M
Prettify a bit.
Matthew Seaman
11 years ago ed6c984
M
Print the counter label at the start of the counter output
Matthew Seaman
11 years ago e6c628d
M
Don't emit a new line with every major tick.
Matthew Seaman
11 years ago 0172451
M
Print the count
Matthew Seaman
11 years ago c95ae00
M
Use the correct SI symbols for binary scale factors consistently (MiB rather than MB).
Matthew Seaman
11 years ago ba7d115
f
Update event.c
fixingshit
11 years ago c12b035
B
Merge pull request #1113 from landonf/osx/release/0.1
Baptiste Daroussin
11 years ago 3eafef1
L
Use compatibility shims for humanize_number()
Landon Fuller
11 years ago afe520b
B
Fix downgrade ui
Baptiste Daroussin
11 years ago 181bb2e
B
Fix mess up in names
Baptiste Daroussin
11 years ago f3211f9
B
Adapt use message to the new update system
Baptiste Daroussin
11 years ago dbccbf6
B
pkg_file is only used internally no need for accessors for other cases pkg_printf is enough
Baptiste Daroussin
11 years ago 7e21f29
B
Fully build with gcc 4.8
Baptiste Daroussin
11 years ago 85e7617
B
Fix indentation and catchup some missed in previous commit
Baptiste Daroussin
11 years ago f085c1c
B
Remove useless comparison to NULL before freeing variables
Baptiste Daroussin
11 years ago aed2ce7
B
Also split out deleting files
Bryan Drewery
11 years ago 9822755
B
pkg add: Allow event output to be recursive to fix output.
Bryan Drewery
11 years ago 5da7e15
B
Split Installation status messages so there is a separate Extract phase.
Bryan Drewery
11 years ago f635ac3
B
Only need to update last_update if in progress_debit
Bryan Drewery
11 years ago 61aed53
B
Debit progress: Account for TCP SLOW START and weigh the first few ticks less
Bryan Drewery
11 years ago 3d9f688
B
Debit progress: Show total size, bw, time at end.
Bryan Drewery
11 years ago 44e42bb
B
Progress bar: If not in a TTY, show progress_message after interruption on next tick
Bryan Drewery
11 years ago 94ae40c
B
Fix progress ETA. Need to set last_update.
Bryan Drewery
11 years ago 3ff71ca
B
Rework progressbar display logic and remove the need for the alarm.
Bryan Drewery
11 years ago 74394fe
B
Cancel the alarm when the progressbar is done
Bryan Drewery
11 years ago bf68e0d
B
For interrupted progressbar, just print a newline rather than risk calling all cleanup
Bryan Drewery
11 years ago a2d8f4b
B
Reset stalled when starting debit progressbar
Bryan Drewery
11 years ago 2407438
B
Allow print_status_* to be used in pkgcli and rename to job_status_*
Bryan Drewery
11 years ago 5d870c4
B
Fix excessive newlines with progress bar interruptions.
Bryan Drewery
11 years ago dcaa82e
B
Allow progressbar to be used elsewhere in pkgcli
Bryan Drewery
11 years ago 0557e90
B
pkg update: Rework output slightly to make it more clear what is happening
Bryan Drewery
11 years ago 913f461
B
When starting a progress bar always show 0% right away.
Bryan Drewery
11 years ago 2560537
B
Percents needs to be 3-width
Bryan Drewery
11 years ago a0d4af7
B
Fix progress bar / ETA field widths/alignments
Bryan Drewery
11 years ago d3bc911
B
Fix progress bars when not in a tty to give output
Bryan Drewery
11 years ago e6d916f
B
Fix progress bars when not in a tty to give output
Bryan Drewery
11 years ago 8af45c1
V
Print PID in debug output.
Vsevolod Stakhov
11 years ago 9560121
V
Report about locked packages.
Vsevolod Stakhov
11 years ago b919286
V
Fix newlines display for progress bar.
Vsevolod Stakhov
11 years ago be8f838
V
Restart syscalls for SIGALARM.
Vsevolod Stakhov
11 years ago 1f20a66
B
Make sure there is always a space after debit
Baptiste Daroussin
11 years ago 67b3ccd
V
Rework integritycheck procedure to use uids.
Vsevolod Stakhov
11 years ago 76856f9
V
Improve pkg-backup progress display.
Vsevolod Stakhov
11 years ago 08bb204
B
Fix pkg backup -r messages
Baptiste Daroussin
11 years ago e57c0d4
V
Avoid division by zero.
Vsevolod Stakhov
11 years ago ff333bc
V
Fix field width in a progressbar.
Vsevolod Stakhov
11 years ago 5a51c4d
V
Improve progressbar slightly.
Vsevolod Stakhov
11 years ago b521feb
B
Upgrade goes from old to new
Baptiste Daroussin
11 years ago 59c5672
B
Cosmetic fixes
Baptiste Daroussin
11 years ago b75cf30
B
Fix copy/paste
Baptiste Daroussin
11 years ago 7070d78
B
Do not print the [ / ] header for fetch as it is wrong
Baptiste Daroussin
11 years ago 119d592
B
Clean up a bit unused headers
Baptiste Daroussin
11 years ago d1a41a6
B
Fetch now uses progress events
Baptiste Daroussin
11 years ago 1d7712b
B
Kill now dead code
Baptiste Daroussin
11 years ago ecab741
B
Replace progress bar by a percentage
Baptiste Daroussin
11 years ago 8e4b6c0
B
Properly reset the message
Baptiste Daroussin
11 years ago 852b794
B
Add a progress bar for package deletion
Baptiste Daroussin
11 years ago b111d0e
B
Better looking install/upgrade output
Baptiste Daroussin
11 years ago 2fe6c0b
V
Do not break progress by messages printed.
Vsevolod Stakhov
11 years ago 3fab336
B
When fetching outside a TTY still give some feedback if not running in quiet
Bryan Drewery
11 years ago affe73b
B
Updating/Fetching: Don't print progress bar if STDOUT is not a tty, STDIN doesn't matter here
Bryan Drewery
11 years ago 8c67e66
B
Only show event progressbar if stdout is a tty
Bryan Drewery
11 years ago ff3f553
V
Optimize write calls for progressbar.
Vsevolod Stakhov
11 years ago 8912b06
V
Fix some border cases.
Vsevolod Stakhov
11 years ago 798cf13
V
Add progressbar for solver.
Vsevolod Stakhov
11 years ago a20caba
V
Improve progressbar adding a timer.
Vsevolod Stakhov
11 years ago 49e6be8
V
Improve progressbar display.
Vsevolod Stakhov
11 years ago 66114d2
V
Add a simple porgressbar to pkg.
Vsevolod Stakhov
11 years ago 5f4e2b7
M
Merge branch 'master' of github.com:freebsd/pkg
Matthew Seaman
11 years ago 9852eca
B
Show jail for job status messages.
Bryan Drewery
11 years ago 9b886fd
V
Merge branch 'pkg-sig-sandbox'
Vsevolod Stakhov
12 years ago 6b74349
V
Read string from sandbox till the socket is closed.
Vsevolod Stakhov
12 years ago 946b713
M
Merge branch 'master' of github.com:freebsd/pkg
Matthew Seaman
12 years ago a10094d
V
Merge branch 'sandboxed-sig-verify'
Vsevolod Stakhov
12 years ago c82cf71
V
Fix capsicum mode entering.
Vsevolod Stakhov
12 years ago 638dffd
V
Include config header where needed.
Vsevolod Stakhov
12 years ago cbe9f17
V
Null terminate string read.
Vsevolod Stakhov
12 years ago 576c513
V
Add `PKG_EVENT_SANDBOX_GET_STRING` event.
Vsevolod Stakhov
12 years ago ee90373
V
Add `pkg_emit_sandbox_call` to make a sandbox.
Vsevolod Stakhov
12 years ago 6c0d4cf
V
Add `pkg_emit_sandbox_call` to make a sandbox.
Vsevolod Stakhov
12 years ago a3e4e66
V
Merge pull request #776 from skinder/master
Vsevolod Stakhov
12 years ago 0542a9c
E
more verbose pkg update
Elvira Khabirova
12 years ago 4294b9a
M
Merge branch 'master' into indexfile
Matthew Seaman
12 years ago 669b695
V
Merge pull request #766 from skinder/master
Vsevolod Stakhov
12 years ago 3a95d74
E
pkg_emit_query_(yesno|select)
Elvira Khabirova
12 years ago 2614644
M
Merge branch 'master' into indexfile
Matthew Seaman
12 years ago 859bbf1
V
Improve events output.
Vsevolod Stakhov
12 years ago 294566f
B
Autotoolizing
Baptiste Daroussin
12 years ago c5d6dde