Switch from Remark to Category DB
Switch from free unrelated text remarks to category list.
Blueprint information
Related branches
Related bugs
Sprints
Whiteboard
Code changes shall be handled through _BIL_ANDROID compiler switch durind development.
bilcore:
- Convert TRemark (string) to TCategory (index) -> DONE
- Category List to be saved/load in update file format; item category shall be set as an index -> DONE
bilancio UI:
- rework RemarkForm to TOperationForm -> DONE
- backup and remove remark form and sources (wxfremark.* and fremark.*) --> DONE
- add UI to edit categories -> DONE
- category to be added in GainExpense.cpp --> DONE
- category dropdown list to be selected through key presses --> DONE
bilconvert:
- rename LoadFromFile LoadFromFile0301 (in bilconvert) -> DONE
- rename SaveToFile SaveToFile301 (in bilconvert) -> DONE
- add sources in branch
- cb/bilconvert.cpb --> DONE
- src/bilancio/
- src/bilancio/
makefile linux:
- update version --> DONE
- add CONVERTNAME --> DONE
- add *categor* in OBJECTS_APP -->DONE
- add OBJECTS_CONV --> DONE
- add $(CONVERTNAME) in recipe 'all' --> DONE
- add '$(CONVERTNAME)' recipe --> DONE
- remove -D_BIL_ANDROID from '$(OBJDIR)%.o' recipe
- add $(OBJECTS_CONV): CFLAGS := -Wall -D__BILCONVERT_
- add bilconvert folder in 'createbuildfol
- install/uninstall bilconvert --> DONE
makefile msw:
- update version --> DONE
- add CONVERTNAME --> DONE
- add *categor* in OBJECTS_APP -_>DONE
- add OBJECTS_CONV --> DONE
- add $(CONVERTNAME) in recipe 'all' --> DONE
- add '$(CONVERTNAME)' recipe --> DONE
- remove -D_BIL_ANDROID from '$(OBJDIR)%.o' recipe
- add $(OBJECTS_CONV): CFLAGS := -Wall -D__BILCONVERT_
- add bilconver folder in 'createbuildfol
- install/uninstall bilconvert
translations:
- 'remark' occurrences and related translations to be changed to 'category' --> DONE
- remove wxfremark.cpp from files.txt --> DONE
- translate wxfeditcategories strings -->DONE
- translate edicategories strings -->DONE
- remove wxfremark.cpp strings -->DONE
- bilconvert --> DONE
- MainFrame -> Operations -> Remark -->DONE
- MainFrame -> Operations -> Edit categories -->DONE
- bil30core.cpp line #461 -->DONE
- bil30core.cpp line #874 -->DONE
- translate "credit" e "debit" strings (test case: remove partial credit/debt w/ value greater than the total credit/debt) --> DONE
try building MSW version --> IN PROGRESS
align makefile.win to Makefile --> IN PROGRESS
Guide:
- add description of category list
Once completed:
- the switch _BIL_ANDROID shall be removed from all source files (the branch revision 176 is the last working with this switch)
- the build target Debug_GTK shall be replaced by Debug_GTK_Android
- set trunk branch to private
Work Items
Work items:
bilcore - Convert TRemark (string) to TCategory (index): DONE
bilcore - Category List to be saved/load in update file format; item category shall be set as an index: DONE
bilancio UI - rework RemarkForm to TOperationForm: DONE
bilancio UI - backup and remove remark form and sources (wxfremark.* and fremark.*): DONE
bilancio UI - add UI to edit categories: DONE
bilancio UI - category to be added in GainExpense.cpp: DONE
bilancio UI - category dropdown list to be selected through key presses: DONE
bilconvert - to be implemented: DONE
bilconvert - rename LoadFromFile LoadFromFile0301 (in bilconvert): DONE
bilconvert - rename SaveToFile SaveToFile301 (in bilconvert): DONE
makefile - install/uninstall in makefile: DONE
branch sources - cb/bilconver.cpb: DONE
branch sources - src/editcategor
branch sources - src/wxeditcateg
translations - 'remark' occurrences and related translations to be changed to 'category': DONE
translations - remove wxfremark.cpp from files.txt: DONE
translations - remove wxfremark.cpp strings: DONE
Once completed - the switch _BIL_ANDROID shall be removed from all source files: DONE
Once completed - the build target Debug_GTK shall be replaced by Debug_GTK_Android: DONE