Commit c14ab07
program-log: Add new crate (#356)
* Lightweight log macro (#32)
* Add log standalone crate
* Refactored
* Fix return value
* Remove additional crate
* Tidy up
* Use memcpy
* Improve digit formatting
* Improve slice formatting
* Improve comments
* Add readme
* Update README.md
* Update README.md
* Remove doctests
* Use workspace values
* Added linked readme
* Add precision formatting (#47)
* Add precision argument
* Add std feature
* Add std feature cfg
* Add precision to solana target
* Add precision support for signed types
* Add inline
* Update docs
* Fix slice offset
* Fix delta for signed values
* Fix doc tests
* Add precision formatting to `log!` macro (#50)
* Add precision formatting
* Remove lazy lock
* Add precision formatting details
* Update banner image
* Add subtitle
* log: Add precision support to `str` (#51)
* Bump version
* Inline never
* Add precision support to str
* Add trucated attributes
* macro: Add truncate formatting (#52)
* Add truncate format parsing
* Add formatting options
* Update README.md
* Bump log version
* Add formatting examples
* Update banner image
* Update banner image
* Add crate type
* log: Add support for `usize` and `isize` (#69)
* Fix typo
* Add support for usize and isize
* Improve sign conversion
* Add tests
* Simplify isize handling
* Avoid duplicate crates (#74)
* Avoid duplicate crates
* Fix vulnerable package
* Fix Grammar and Typographical Errors in Documentation (#86)
* Update README.md
* Update README.md
* Update README.md
* Address review comments (#78)
* [wip]: Address review comments
* [wip]: Fix pointer reference
* [wip]: Add logger buffer size tests
* Remove unused
* More logger tests
* Rename program to cpi
* Remove dynamic allocation
* Fixed signed tests
* Fix review comments
* Fix unsigned test case
* Add is_owner_by helper
* Update README layout (#100)
* Update readme
* Add docs
* Fix link
* chore: Release
* chore: Release
* log: Use alloc crate (#120)
Use alloc
* Publish pinocchio-log-macro v0.4.1
* Add rust version to crates (#135)
Add rust version
* chore: fix typos (#150)
fix typos README.md
* log: Improve digit logic (#155)
Tweaks
* log: Add support for `bool` type (#156)
* Tweaks
* Add bool support
* Use static syscalls when available (#157)
* fix: make `sol_log_` call public (#168)
* fix: make sol_log_ call public
* fix: logger formatting
* feat: add`log_cu_usage` proc_macro_attribute (#162)
* feat: add compute_fn proc_macro_attribute
* WIP: use sol_remaining_compute_units syscall for calc
* docs: actualize docs and add introspection cost comment
* refactor: add static-syscall, remove dep on pinocchio from log, rename compute_fn -> log_cu_usage
* fix: correct comment
* fix: ci format step
* log: Add unsafe to Log trait (#186)
Add unsafe
* log: Calculate maximum digits for `Log` implementation (#188)
* Calculate max digits
* Remove second const
Co-authored-by: Jon C <[email protected]>
---------
Co-authored-by: Jon C <[email protected]>
* ci: Add spellcheck step (#164)
* Add invoke instruction helper
* Typos
* Remove new helpers
* Remove unused
* Address review comments
* Tweak inline attributes
* Use invoke signed unchecked
* Refactor inline
* Renamed to with_bounds
* Update docs
* Revert change
* Add constant length check
* Add spellcheck step
* Tweak action
* Fix typos
* More fixes
* Yet more fixes
* Fixes
* Add j1 option
* More and more fixes
* Add missing acronym
* Fix merge
* Fix spelling
* Fix spelling
* Publish pinocchio-log-macro v0.5.0
* Publish pinocchio-log v0.5.0
* log: Update precision logic (#252)
* Add precision cap
* Add tests
* Refactor precision logic
* Fix miri warning
* Avoid duplication
* Add missing syscall
* More tests
* Fix truncate logic
* Fix review comments
* Publish pinocchio-log v0.5.1
* Add solana-program-log
* Add no_std check
* Fix formatting
* Fix formatting
Updated README to correct links and improve formatting.
* Add std support
* Fix docs
* Fix nits
* Bump regex dependency
* Tweak std feature
* Move macro to top-level
* Move dependency to workspace
* Update nits
---------
Co-authored-by: Dimitris Apostolou <[email protected]>
Co-authored-by: SITADRITA1 <[email protected]>
Co-authored-by: github-actions <[email protected]>
Co-authored-by: osrm <[email protected]>
Co-authored-by: Lucas Ste <[email protected]>
Co-authored-by: Sonic <[email protected]>
Co-authored-by: Jon C <[email protected]>1 parent 3f40809 commit c14ab07
File tree
11 files changed
+1893
-0
lines changed- program-log-macro
- src
- program-log
- src
- scripts
11 files changed
+1893
-0
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
| |||
200 | 202 | | |
201 | 203 | | |
202 | 204 | | |
| 205 | + | |
203 | 206 | | |
204 | 207 | | |
205 | 208 | | |
| |||
274 | 277 | | |
275 | 278 | | |
276 | 279 | | |
| 280 | + | |
| 281 | + | |
277 | 282 | | |
278 | 283 | | |
279 | 284 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
0 commit comments