Copyright (C) 2019-2020 Michal Babik

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

2020-02-18  Michal Babik  <michalb1981@o2.pl>

	* dlgs.c (add_files_folder_dialog): Changed to set toggle buttons based
	  on i_opt value.
	* rendata.h (RenData::i_opt): Added i_opt value to RenData structure, it
	  is used to store information of selected options in folder select
	  dialog.
	* sfrename.c (event_click_add_folder_files): Added reading i_opt from
	  RenData item, checking if it is less than 1 and setting to 1 if it is
	  to have adding files checked in dialog.
	  Added condition to scan folder if i_opt is greater than 0.
	  Storing i_opt in RenData item after scaning folder.
	  Changed input parameter from RFnames to RenData to get access to i_opt.
	  All callers changed.
	* autogen.sh: removed --force option so it does not overwrite INSTALL
	  file.
	* Some comment updates.

2020-02-10  Michal Babik  <michalb1981@o2.pl>

	* sfrename.c (event_click_add_files, event_click_add_folder_files,
	  open): Added setting focus on first entry.

2020-02-05  Michal Babik  <michalb1981@o2.pl>

	* imgs.c, imgs.h: New files with graphics.
	* sfrename.c (create_file_name_entries): Added forgotten checkig
	  for file existence.
	* sfrename.c (create_toolbar): Changed to load pixbufs to tool items.
	* rfitem.c (rfitem_label_set_markup): New function to set label
	  markup based on the type of file/dir.
	* rfitem.c (rfitem_new_from_gfile): Added call to function
	  rfitem_label_set_markup.
	* rfnames.c (rfnames_sort): Improved sorting.

2020-01-20  Michal Babik  <michalb1981@o2.pl>
	
	* cres.c: New file with frunctions to create or resize dynamic array.
	* rfnames.c: RFnames structure and functions moved here.
	* rendata.c (rdelete_init, rinsovr_init, rreplace_init, rnumber_init):
	  New functions with initializations moved from rendata_init.
	* rendata.c (rendata_new): New function to create RenData item.
	* rendata.c (rendata_free): Changed, it calls rfnames_free.
	* sfrename.c: Removed RFiles structure and its functions and used RenData
	  instead.
	* sfrename.c (create_file_name_entries): Changed way of creating
	  structures and entries.
	* sfrename.c (file_check_and_rename): Function changed to work with
	  files from different directory paths.

2020-01-03  Michal Babik  <michalb1981@o2.pl>

	* strfn.c (string_replace_in, string_insert_string,
	  string_overwrite_string, ): Small updates to improve performance.
	* Cosmetic code updates.

2019-12-09  Michal Babik  <michalb1981@o2.pl>

	* sfrename.c: Renamed some values for better readability.
	* sfrfn.c: New file for string modify functions.
	* sfrfn.h: New file for string modify functions.
	* sfrename.c (get_valid_length, string_replace_in, string_delete_chars,
	  string_insert_string, string_overwrite_string, string_add_number,
	  string_to_lower, string_to_upper, string_extract_name_ext,
	  string_combine_name_ext, string_process_filename): Functions moved to
	  strfn.c.
	* namefn.c: New file for functions to modify file name strings.
	* namefn.h: New file for functions to modify file name strings.
	* sfrename.c (name_delete_chars, name_insert_string, name_overwrite_string,
	  name_number_string, name_to_upcase_lowercase, name_spaces_underscores,
	  name_replace_strings): Functions moved to namefn.c

2019-12-07  Michal Babik  <michalb1981@o2.pl>

	* sfrename.c (create_window): Changed app ver string passing method.

2019-12-02  Michal Babik  <michalb1981@o2.pl>

	* sfrename.c: new structure ProcessData used by functions that
	  manupulate strings.
	* sfrename.c (file_names_update_changes): inserted calls to functions
	  to overwrite and number names.
	* sfrename.c (string_overwrite_string): new function to overwrite
	  text in string.
	* sfrename.c (string_add_number): new function for adding numbers to
	  string.
	* sfrename.c (create_overwrite_string_box): new function to create
	  widgets for string overwrite.
	* sfrename.c (create_number_string_box): new function to create
	  widgets for numbering strings.
	* sfrename.c (event_overwrite_pos_changed,
	  event_overwrite_string_entry_changed): new functions for string
	  overwrite.
	* sfrename.c (event_toggle_number_names, event_number_start_changed,
	  event_number_pos_changed): new functions for string numbering.
	* sfrename (file_names_update_changes): inserted functions to
	  overwrite and number strings.

2019-12-01  Michal Babik  <michalb1981@o2.pl>

	* Small performance updates
	* sfrename.c (string_insert_string): changed string iteration to work
	  using index instead of pointer adding for more simple checking for
	  end of string. Changed strncpy to memcpy.
	* sfrename.c (many functions): strncpy changed to memcpy.
	* sfrename.c (string_process_filename): changed size of f_ext for better
	  compatibility with string process functions.

2019-11-28  Michal Babik  <michalb1981@o2.pl>

	* sfrename.c (string_insert_string): Little changed function to insert
	  string in file name.
	* sfrename.c (string_replace_in): Little changed function to replace
	  strings in file name.
	* sfrename.c (string_to_lower): Added string length validation.
	* sfrename.c (string_to_upper): Added string length validation.

2019-10-10  Michal Babik  <michalb1981@o2.pl>

	* sfrename.c (free_stuff): Removed not needed print command.

2019-06-13  Michal Babik  <michalb1981@o2.pl>

	* sfrename.c: include <gio/gio.h>
	* sfrename.c (main): Changed GTK app starting mode.
	* sfrename.c (event_delete): Function is no longer needed, removed.
	* sfrename.c (event_destroy): Renamed to event_close.
	* sfrename.c (event_close, event_win_key_press): Changed app closing.
	* sfrename.c (create_rename_close_exit_box): Changed button signal from
	  event_destroy to event_close
	* sfrename.c (create_file_name_entries): Changed function args.
	  New file name getting mode.
	* sfrename.c (create_window): New arg application.
	  New window creating mode, removed not needed signal connections.
	* sfrename.c (activate): New function.
	* sfrename.c (open): New function.
	* sfrename.c (rfiles_init): New function.

2019-01-25  Michal Babik  <michalb1981@o2.pl>

	* sfrename.c: First relase.

