GNOME Bugzilla – Bug 743191
Replace custom functions by standard NSIS functions and bring some logic
Last modified: 2019-03-20 12:04:21 UTC
The Windows installer script includes some custom functions: GetParent, GetParameters, ... NSIS has these included nowadays. This patch replaces GetParent and introduces LogicLib for better readability of code. More to follow...
Created attachment 294904 [details] [review] Patch replacing GetParent and introducing LogicLib
Version 2 of the patch replaces GetParameters too and switch more conditions to LogicLib.
Created attachment 294969 [details] [review] Patch replacing GetParent, GetParameters and introducing LogicLib
Created attachment 294970 [details] [review] Patch replacing GetParent, GetParameters and introducing LogicLib
Patch version 3 is here. ;) Additionally to version 2 the custom functions GetParameterValue, StrStr have been removed. And more logic cleanup.
Created attachment 294994 [details] [review] Patch replacing GetParent, GetParameters, GetParameterValue and introducing LogicLib
Created attachment 294997 [details] [review] Patch replacing GetParent, GetParameters, GetParameterValue and introducing LogicLib
Version 4 of the patch is the last one for now I hope. It does more functions and logic cleanup. And fixes a bug when Dia is build/packaged without GTK (the command line option where to find GTKBIN was never read due to funny jumps in code).
Created attachment 295100 [details] [review] Patch replacing custom functions, introducing LogicLib and some cleanup
Version 5 changes the loop at the beginning of the 'VerifyDir'-function. This might fix bug #690228.
Created attachment 295154 [details] [review] Patch replacing custom functions, introducing LogicLib and some cleanup
Patch version 6 is ready. Sorry, it wasn't my intention to do so many versions but now things are better sorted IMHO. This is really the last one if no bugs are found. Feedback is welcome.
Created attachment 295167 [details] [review] Patch replacing custom functions, introducing LogicLib and some cleanup
Created attachment 295168 [details] [review] Patch replacing custom functions, introducing LogicLib and some cleanup
Another small update. Patch 7 changes some signed integer tests to case-insensitive string tests.
Created attachment 295262 [details] [review] Patch replacing custom functions, introducing LogicLib and some cleanup
Version 8 is here. The installer is using "VersionCompare" for detected GTK now.
Created attachment 295455 [details] [review] Patch replacing custom functions, introducing LogicLib and some cleanup
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/dia/issues/350.