| 
									
										
										
										
											2020-09-01 03:59:39 +03:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-08-31 17:19:20 +03:00
										 |  |  | Hacks and fixes | 
					
						
							|  |  |  | =============== | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-27 01:50:17 +03:00
										 |  |  | 20220126: | 
					
						
							|  |  |  | - node_modules/requirejs/bin/r,js: | 
					
						
							|  |  |  | 	Under Electron v14+ requirejs breaks with a SyntaxError on the  | 
					
						
							|  |  |  | 	first char of r.js ('#!/...') -- a hackish way to fix this is to  | 
					
						
							|  |  |  | 	comment it out, not yet sure why is this happening... | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | - cfg/requirejs.js: | 
					
						
							|  |  |  | 	.baseUrl calculation under U*IX systems needs a '/' prefixed... | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-08-31 17:19:20 +03:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-01-22 17:32:28 +03:00
										 |  |  | 20210122: | 
					
						
							|  |  |  | Marking changes twice on load... | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | The way .markChanged(..) is handled around .load(..) / .loadOrRecover(..) and  | 
					
						
							| 
									
										
										
										
											2021-01-23 23:31:53 +03:00
										 |  |  | in base.js seems a bit hackish -- would be goof to do this in one spot, | 
					
						
							|  |  |  | revise... | 
					
						
							| 
									
										
										
										
											2021-01-22 17:32:28 +03:00
										 |  |  | 
 | 
					
						
							|  |  |  | See: | 
					
						
							|  |  |  | - features/base.js ~@1179 -- 'load' handler...  | 
					
						
							|  |  |  | - features/filesystem.js ~@982 -- 'loadIndex' handler... | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-11-04 18:02:27 +03:00
										 |  |  | 20201104: | 
					
						
							|  |  |  | Chrome v83 / Electron 9.3.3 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | WebKit canvas' .drawImage(..) ignores its and images .style.imageOrientation  | 
					
						
							|  |  |  | unless both are added to DOM. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | FIX: | 
					
						
							|  |  |  | - features/app.js: img2canvas(..) quietly adds the elements to DOM and then cleans up | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | TODO: | 
					
						
							|  |  |  | - test in browser... | 
					
						
							|  |  |  | - test in newer versions of browser / electron... | 
					
						
							|  |  |  | - if not fixed report... | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-08-31 17:19:20 +03:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 20200830:  | 
					
						
							|  |  |  | RequireJS + Electron v7+ mess up default .baseUrl | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | FIX: | 
					
						
							|  |  |  | - cfg/requirejs.js: added .baseUrl inferencing. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | TODO: | 
					
						
							|  |  |  | - is this a bug or a feature and report as bug if needed | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 20200830:  | 
					
						
							|  |  |  | Chrome messing up fullscreen colors unless a <video> tag is present. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | FIX: | 
					
						
							|  |  |  | - data/blank.mp4: added | 
					
						
							| 
									
										
										
										
											2020-11-04 18:02:27 +03:00
										 |  |  | - index.html / electron.html: added <video> tag with data/blank.mp4 as source | 
					
						
							| 
									
										
										
										
											2020-08-31 17:19:20 +03:00
										 |  |  | 
 | 
					
						
							|  |  |  | TODO: | 
					
						
							| 
									
										
										
										
											2020-11-04 18:02:27 +03:00
										 |  |  | - report this... | 
					
						
							| 
									
										
										
										
											2020-08-31 17:19:20 +03:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 |