summaryrefslogtreecommitdiff
path: root/include/git2/deprecated.h
Commit message (Collapse)AuthorAgeFilesLines
* configuration: deprecate git_cvar safelyethomson/cvarEdward Thomson2019-07-181-0/+14
|
* net: remove unused `git_headlist_cb`ethomson/deprecate_headlistEdward Thomson2019-06-161-0/+5
|
* attr: rename constants and macros for consistencyethomson/attrEdward Thomson2019-06-161-0/+22
| | | | | Our enumeration values are not generally suffixed with `T`. Further, our enumeration names are generally more descriptive.
* Merge pull request #5117 from libgit2/ethomson/to_fromPatrick Steinhardt2019-06-161-4/+53
|\ | | | | Change API instances of `fromnoun` to `from_noun` (with an underscore)
| * tag: add underscore to `from` functionethomson/to_fromEdward Thomson2019-06-161-0/+6
| | | | | | | | | | | | The majority of functions are named `from_something` (with an underscore) instead of `fromsomething`. Update the tag function for consistency with the rest of the library.
| * index: rename `frombuffer` to `from_buffer`Edward Thomson2019-06-161-3/+9
| | | | | | | | | | | | The majority of functions are named `from_something` (with an underscore) instead of `fromsomething`. Update the index functions for consistency with the rest of the library.
| * blob: add underscore to `from` functionsEdward Thomson2019-06-161-0/+24
| | | | | | | | | | | | The majority of functions are named `from_something` (with an underscore) instead of `fromsomething`. Update the blob functions for consistency with the rest of the library.
| * oid: `is_zero` instead of `iszero`Edward Thomson2019-06-161-1/+14
| | | | | | | | | | | | The only function that is named `issomething` (without underscore) was `git_oid_iszero`. Rename it to `git_oid_is_zero` for consistency with the rest of the library.
* | object: rename git_object__size to git_object_sizeethomson/object_sizeEdward Thomson2019-06-161-0/+2
|/ | | | We don't use double-underscores in the public API.
* Rename opt init functions to `options_init`Edward Thomson2019-06-141-0/+55
| | | | | | | | | | | | | In libgit2 nomenclature, when we need to verb a direct object, we name a function `git_directobject_verb`. Thus, if we need to init an options structure named `git_foo_options`, then the name of the function that does that should be `git_foo_options_init`. The previous names of `git_foo_init_options` is close - it _sounds_ as if it's initializing the options of a `foo`, but in fact `git_foo_options` is its own noun that should be respected. Deprecate the old names; they'll now call directly to the new ones.
* trace: suffix the callbacks with `_cb`ethomson/callback_namesEdward Thomson2019-06-101-0/+15
| | | | | The trace logging callbacks should match the other callback naming conventions, using the `_cb` suffix instead of a `_callback` suffix.
* credentials: suffix the callbacks with `_cb`Edward Thomson2019-06-101-0/+15
| | | | | The credential callbacks should match the other callback naming conventions, using the `_cb` suffix instead of a `_callback` suffix.
* remote: Rename git_remote_completion_type to _tethomson/remote_completionEdward Thomson2019-02-251-0/+3
| | | | | For consistency with other "type" enums, rename git_remote_completion_type to git_remote_completion_t.
* remote: deprecate git_push_transfer_progressethomson/transfer_progressEdward Thomson2019-02-221-0/+9
| | | | | Safely deprecate `git_push_transfer_progress`, forwarding it to the new `git_push_transfer_progress_cb` name.
* indexer: deprecate git_transfer_progressEdward Thomson2019-02-221-0/+29
| | | | | | Safely deprecate `git_transfer_progress` and `git_transfer_progress_cb` types, forwarding them to the new `git_indexer_progress` and `git_indexer_progress_cb`.
* deprecation: offer GIT_DEPRECATE_HARDEdward Thomson2019-01-251-0/+7
| | | | | Users can define `GIT_DEPRECATE_HARD` if they want to remove all functions that we've "softly" deprecated.
* deprecation: provide docurium deprecation noteEdward Thomson2019-01-251-0/+5
| | | | | Add `@deprecated` to the functions that are, so that they'll appear that way in docurium.
* deprecation: move deprecated bits to deprecated.hEdward Thomson2019-01-251-0/+241