Kovid Goyal 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bb3bb53270 
							
						 
					 
					
						
						
							
							string changes  
						
						
						
						
					 
					
						2023-05-30 19:35:12 +05:30 
						 
				 
			
				
					
						
							
							
								Charles Haley 
							
						 
					 
					
						
						
						
						
							
						
						
							942bceaa61 
							
						 
					 
					
						
						
							
							Improvements to template function identifier_in_list()  
						
						
						
						
					 
					
						2023-05-09 18:29:30 +01:00 
						 
				 
			
				
					
						
							
							
								Charles Haley 
							
						 
					 
					
						
						
						
						
							
						
						
							6760f58385 
							
						 
					 
					
						
						
							
							Improvements to new formatter functions has_extra_files() and extra_file_names().  
						
						... 
						
						
						
						Provide the option of using a regular expression to filter the files before counting or returning the names. 
						
						
					 
					
						2023-04-27 15:47:40 +01:00 
						 
				 
			
				
					
						
							
							
								Charles Haley 
							
						 
					 
					
						
						
						
						
							
						
						
							d0ba1ada16 
							
						 
					 
					
						
						
							
							Fix for the string changes fix for this file. Both the original and the changed file were incorrect.  
						
						
						
						
					 
					
						2023-04-24 21:05:01 +01:00 
						 
				 
			
				
					
						
							
							
								Kovid Goyal 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8a450c458a 
							
						 
					 
					
						
						
							
							String changes  
						
						
						
						
					 
					
						2023-04-24 23:07:32 +05:30 
						 
				 
			
				
					
						
							
							
								Charles Haley 
							
						 
					 
					
						
						
						
						
							
						
						
							cdc4a0a4d3 
							
						 
					 
					
						
						
							
							The formatter functions to support extra book files.  
						
						
						
						
					 
					
						2023-04-24 11:31:40 +01:00 
						 
				 
			
				
					
						
							
							
								chocolatechipcats 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							47d446f799 
							
						 
					 
					
						
						
							
							Plugboard section in template_lang  
						
						... 
						
						
						
						Moved the plugboard section up (just below the custom column section) and clarified that all modes can be used for it. 
						
						
					 
					
						2023-04-07 17:13:40 -03:00 
						 
				 
			
				
					
						
							
							
								Kovid Goyal 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d2158d75b9 
							
						 
					 
					
						
						
							
							string changes  
						
						
						
						
					 
					
						2023-01-31 12:24:18 +05:30 
						 
				 
			
				
					
						
							
							
								Kovid Goyal 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							21994332d6 
							
						 
					 
					
						
						
							
							...  
						
						
						
						
					 
					
						2023-01-18 07:40:39 +05:30 
						 
				 
			
				
					
						
							
							
								Charles Haley 
							
						 
					 
					
						
						
						
						
							
						
						
							21e8b06813 
							
						 
					 
					
						
						
							
							New template function: switch_if()  
						
						
						
						
					 
					
						2023-01-06 15:38:29 +00:00 
						 
				 
			
				
					
						
							
							
								Charles Haley 
							
						 
					 
					
						
						
						
						
							
						
						
							f33f902a52 
							
						 
					 
					
						
						
							
							Small correction to the GPM language grammar.  
						
						
						
						
					 
					
						2022-12-19 11:01:37 +00:00 
						 
				 
			
				
					
						
							
							
								Charles Haley 
							
						 
					 
					
						
						
						
						
							
						
						
							096579e13b 
							
						 
					 
					
						
						
							
							Formatter: Quick pass over messages and documentation.  
						
						
						
						
					 
					
						2022-10-17 16:51:51 +01:00 
						 
				 
			
				
					
						
							
							
								Kovid Goyal 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							dd8d3bfeef 
							
						 
					 
					
						
						
							
							Cleanup previous PR  
						
						
						
						
					 
					
						2022-10-17 20:11:16 +05:30 
						 
				 
			
				
					
						
							
							
								un-pogaz 
							
						 
					 
					
						
						
						
						
							
						
						
							02b2811892 
							
						 
					 
					
						
						
							
							chaley recommandation  
						
						
						
						
					 
					
						2022-10-17 14:22:19 +02:00 
						 
				 
			
				
					
						
							
							
								un-pogaz 
							
						 
					 
					
						
						
						
						
							
						
						
							e7cc30b3a9 
							
						 
					 
					
						
						
							
							add doc  
						
						
						
						
					 
					
						2022-10-16 15:01:39 +02:00 
						 
				 
			
				
					
						
							
							
								Charles Haley 
							
						 
					 
					
						
						
						
						
							
						
						
							9b68f5c89a 
							
						 
					 
					
						
						
							
							Three changes to template processing:  
						
						... 
						
						
						
						1) If the user presses ESC, ask "are you sure" if the template has changed.
2) Fix syntax highlighting of comments
3) Improve the python template example in the template docs, better using the new_api. 
						
						
					 
					
						2022-10-12 11:24:49 +01:00 
						 
				 
			
				
					
						
							
							
								Charles Haley 
							
						 
					 
					
						
						
						
						
							
						
						
							594e152242 
							
						 
					 
					
						
						
							
							Changed python templates to use a context object. Updated the documentation and the tests.  
						
						
						
						
					 
					
						2022-10-11 17:11:40 +01:00 
						 
				 
			
				
					
						
							
							
								Kovid Goyal 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ffea14db35 
							
						 
					 
					
						
						
							
							cleanup previous PR  
						
						
						
						
					 
					
						2022-10-11 20:13:02 +05:30 
						 
				 
			
				
					
						
							
							
								Charles Haley 
							
						 
					 
					
						
						
						
						
							
						
						
							42726c5e0f 
							
						 
					 
					
						
						
							
							Python templates, as discussed at length in  https://www.mobileread.com/forums/showthread.php?t=349525 .  
						
						... 
						
						
						
						I think this is stable, usable, and very close to finished, but I will probably need to react fo feedback. 
						
						
					 
					
						2022-10-10 16:54:21 +01:00 
						 
				 
			
				
					
						
							
							
								Charles Haley 
							
						 
					 
					
						
						
						
						
							
						
						
							5cc86cd138 
							
						 
					 
					
						
						
							
							New formatter function to_hex(): returns a calibre-compliant hex representation of a string.  
						
						
						
						
					 
					
						2022-09-15 22:37:09 +01:00 
						 
				 
			
				
					
						
							
							
								un-pogaz 
							
						 
					 
					
						
						
						
						
							
						
						
							6e5bf799c2 
							
						 
					 
					
						
						
							
							add strcmpcase()  
						
						
						
						
					 
					
						2022-09-14 09:05:46 +02:00 
						 
				 
			
				
					
						
							
							
								Kovid Goyal 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bec1e4395f 
							
						 
					 
					
						
						
							
							string changes  
						
						
						
						
					 
					
						2022-07-24 03:53:03 +05:30 
						 
				 
			
				
					
						
							
							
								Charles Haley 
							
						 
					 
					
						
						
						
						
							
						
						
							29d0ae3597 
							
						 
					 
					
						
						
							
							Another one. This is the end for today.  
						
						
						
						
					 
					
						2022-07-04 14:36:55 +01:00 
						 
				 
			
				
					
						
							
							
								Charles Haley 
							
						 
					 
					
						
						
						
						
							
						
						
							5fbbdfa297 
							
						 
					 
					
						
						
							
							Fix typos  
						
						
						
						
					 
					
						2022-07-04 14:33:40 +01:00 
						 
				 
			
				
					
						
							
							
								Charles Haley 
							
						 
					 
					
						
						
						
						
							
						
						
							6acfebf8c1 
							
						 
					 
					
						
						
							
							The template database functions we discussed.  
						
						
						
						
					 
					
						2022-07-03 19:03:55 +01:00 
						 
				 
			
				
					
						
							
							
								Charles Haley 
							
						 
					 
					
						
						
						
						
							
						
						
							ad3f6b0258 
							
						 
					 
					
						
						
							
							New template function urls_from_identifiers()  
						
						
						
						
					 
					
						2022-05-26 14:05:15 +01:00 
						 
				 
			
				
					
						
							
							
								Charles Haley 
							
						 
					 
					
						
						
						
						
							
						
						
							5ea687fc06 
							
						 
					 
					
						
						
							
							Template language for i in range() with documentation.  
						
						
						
						
					 
					
						2022-05-13 16:42:24 +01:00 
						 
				 
			
				
					
						
							
							
								Charles Haley 
							
						 
					 
					
						
						
						
						
							
						
						
							3f0c9125d6 
							
						 
					 
					
						
						
							
							New formatter function list_join() along with its documentation.  
						
						
						
						
					 
					
						2022-04-25 11:13:52 +01:00 
						 
				 
			
				
					
						
							
							
								Charles Haley 
							
						 
					 
					
						
						
						
						
							
						
						
							48f410165f 
							
						 
					 
					
						
						
							
							Document the template language changes  
						
						
						
						
					 
					
						2022-03-27 15:08:56 +01:00 
						 
				 
			
				
					
						
							
							
								Kovid Goyal 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							885be4936f 
							
						 
					 
					
						
						
							
							...  
						
						
						
						
					 
					
						2022-02-01 15:05:47 +05:30 
						 
				 
			
				
					
						
							
							
								Kovid Goyal 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b83560f85c 
							
						 
					 
					
						
						
							
							string changes  
						
						
						
						
					 
					
						2021-12-16 21:58:01 +05:30 
						 
				 
			
				
					
						
							
							
								Kovid Goyal 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							20fb5905c8 
							
						 
					 
					
						
						
							
							string changes  
						
						
						
						
					 
					
						2021-11-15 08:10:35 +05:30 
						 
				 
			
				
					
						
							
							
								Charles Haley 
							
						 
					 
					
						
						
						
						
							
						
						
							cfcbc407a3 
							
						 
					 
					
						
						
							
							Add new formatter function "current_virtual_library_name().  
						
						
						
						
					 
					
						2021-11-10 15:49:47 +00:00 
						 
				 
			
				
					
						
							
							
								Kovid Goyal 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							69eac37671 
							
						 
					 
					
						
						
							
							Fix incorrect docs for date_arithmetic()  
						
						
						
						
					 
					
						2021-06-04 05:01:30 +05:30 
						 
				 
			
				
					
						
							
							
								Charles Haley 
							
						 
					 
					
						
						
						
						
							
						
						
							e03405df1b 
							
						 
					 
					
						
						
							
							New formatter function 'date_arithmetic' that simplifies computing new dates from an existing one  
						
						
						
						
					 
					
						2021-06-03 15:31:55 +01:00 
						 
				 
			
				
					
						
							
							
								Kovid Goyal 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f4bfb45601 
							
						 
					 
					
						
						
							
							String changes  
						
						
						
						
					 
					
						2021-05-03 13:47:46 +05:30 
						 
				 
			
				
					
						
							
							
								Charles Haley 
							
						 
					 
					
						
						
						
						
							
						
						
							7d3c0b5b05 
							
						 
					 
					
						
						
							
							More template stuff:  
						
						... 
						
						
						
						- Replace the newline() function with the character('name') function
- Document the new function
- In the template editor/debugger, display special characters like newline as escaped characters 
						
						
					 
					
						2021-04-21 16:44:16 +01:00 
						 
				 
			
				
					
						
							
							
								Charles Haley 
							
						 
					 
					
						
						
						
						
							
						
						
							8228daab7b 
							
						 
					 
					
						
						
							
							Template language enhancement: add the 'inlist' operator  
						
						
						
						
					 
					
						2021-04-15 14:56:16 +01:00 
						 
				 
			
				
					
						
							
							
								Charles Haley 
							
						 
					 
					
						
						
						
						
							
						
						
							0999e9726f 
							
						 
					 
					
						
						
							
							Template documentation updates  
						
						
						
						
					 
					
						2021-04-06 15:25:09 +01:00 
						 
				 
			
				
					
						
							
							
								Kovid Goyal 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3848fb45d0 
							
						 
					 
					
						
						
							
							String changes  
						
						
						
						
					 
					
						2021-03-27 20:39:10 +05:30 
						 
				 
			
				
					
						
							
							
								Charles Haley 
							
						 
					 
					
						
						
						
						
							
						
						
							1311c84d11 
							
						 
					 
					
						
						
							
							Template function format_date() improvement: add 'to_number' and 'from_number' as valid formats  
						
						
						
						
					 
					
						2021-03-25 19:31:12 +00:00 
						 
				 
			
				
					
						
							
							
								Charles Haley 
							
						 
					 
					
						
						
						
						
							
						
						
							7e95562329 
							
						 
					 
					
						
						
							
							Fix Jellby's second example.  
						
						
						
						
					 
					
						2021-03-25 13:13:07 +00:00 
						 
				 
			
				
					
						
							
							
								Charles Haley 
							
						 
					 
					
						
						
						
						
							
						
						
							c2a25a8bd1 
							
						 
					 
					
						
						
							
							Bug  #1921348 : English text in code block. Many other cleanup, spelling, and grammar changes.  
						
						
						
						
					 
					
						2021-03-25 13:05:02 +00:00 
						 
				 
			
				
					
						
							
							
								Charles Haley 
							
						 
					 
					
						
						
						
						
							
						
						
							b173eb4636 
							
						 
					 
					
						
						
							
							Add field references to the language syntax. $authors is the same as field('authors'). $$pubdate is the same as raw_field('pubdate').  
						
						
						
						
					 
					
						2021-03-24 12:49:49 +00:00 
						 
				 
			
				
					
						
							
							
								Charles Haley 
							
						 
					 
					
						
						
						
						
							
						
						
							4b67f7cc1d 
							
						 
					 
					
						
						
							
							Template language manual improvements.  
						
						
						
						
					 
					
						2021-03-15 13:24:41 +00:00 
						 
				 
			
				
					
						
							
							
								Charles Haley 
							
						 
					 
					
						
						
						
						
							
						
						
							9b4df77da5 
							
						 
					 
					
						
						
							
							More template language documentation improvements.  
						
						
						
						
					 
					
						2021-03-08 15:16:13 +00:00 
						 
				 
			
				
					
						
							
							
								Kovid Goyal 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							54c56b9d0e 
							
						 
					 
					
						
						
							
							String changes  
						
						
						
						
					 
					
						2021-03-08 17:08:16 +05:30 
						 
				 
			
				
					
						
							
							
								Charles Haley 
							
						 
					 
					
						
						
						
						
							
						
						
							bde8cd5e65 
							
						 
					 
					
						
						
							
							1) Fix regression in template language: at some point in V5 the template language was changed to disallow using an expression_list as a parameter. This was allowed in previous major revisions.  
						
						... 
						
						
						
						2) Allow expression lists in parameterized expressions.
3) Correct the grammar in the documentation. 
						
						
					 
					
						2021-03-07 11:01:50 +00:00 
						 
				 
			
				
					
						
							
							
								Kovid Goyal 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							661d5a5278 
							
						 
					 
					
						
						
							
							String changes  
						
						
						
						
					 
					
						2021-03-06 19:54:17 +05:30 
						 
				 
			
				
					
						
							
							
								Kovid Goyal 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c854a7b670 
							
						 
					 
					
						
						
							
							string changes  
						
						
						
						
					 
					
						2021-03-05 22:18:23 +05:30