Skip to content

Conversation

horgh
Copy link
Member

@horgh horgh commented Feb 18, 2019

I noticed a bug in one of these functions but then saw that it wasn't actually even used. So I figure it is better to delete!

These are public so perhaps we don't want to merge yet.

Edited by Nei
Functions to be removed:

  • NET_CALLBACK
  • NET_HOST_CALLBACK
  • RESOLVED_NAME_REC
  • net_gethostbyaddr_nonblock
  • net_connect_nonblock
  • [ SIMPLE_THREAD_REC, simple_init, simple_readpipe ]

The error flag can be something other than -1 in the event of an error.
Not checking for this could lead to us to try connecting to an unknown
IP.
@horgh
Copy link
Member Author

horgh commented Feb 18, 2019

I checked all modules I could find and none use these functions. (I checked all in #940 and all listed on irssi.org except psyc as I couldn't find that one's code).

@ailin-nemui
Copy link
Contributor

sounds good to me, we should bump ABI constant before merge

@ailin-nemui
Copy link
Contributor

@irssi/developers

@dequis
Copy link
Member

dequis commented Feb 19, 2019

Can we at least go through deprecation in one release? And maybe stub out the contents of the functions, but don't break API just yet

@ailin-nemui
Copy link
Contributor

ailin-nemui commented Feb 19, 2019

my opinion is that we should skip deprecation

  • irssi is not so popular as an API provider for protocol modules (that would call those functions)
  • public modules do not use these functions

@ailin-nemui
Copy link
Contributor

ailin-nemui commented Feb 27, 2019

@irssi/developers please vote on the first post

final votes: +2 / -1

@ailin-nemui ailin-nemui merged commit 1247b37 into irssi:master Mar 29, 2019
@ailin-nemui ailin-nemui added this to the 1.3.0 milestone Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants