Rene Kita 
							
						 
					 
					
						
						
							
						
						8f3fcecc43 
					 
					
						
						
							
							Retry if loading of a file fails  
						
						... 
						
						
						
						This fixes GH issue #210 , Debian BTS #537761[1] and obsoletes Debian
BTS #946440[2].
File names like 'a#a.html', 'b?b.html' or 'c%20.html' can not be opened
without using '-o argv_is_url=1' as the file name is interpreted as a
local URL.
If everything fails and argv_is_url is not set retry as a local file.
[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=537761 
[2]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946440  
						
						
					 
					
						2022-05-02 13:35:51 +02:00 
						 
				 
			
				
					
						
							
							
								Tatsuya Kinoshita 
							
						 
					 
					
						
						
							
						
						c515ea8a47 
					 
					
						
						
							
							Update ChangeLog  
						
						
						
						
					 
					
						2022-04-29 10:25:54 +09:00 
						 
				 
			
				
					
						
							
							
								Tatsuya Kinoshita 
							
						 
					 
					
						
						
							
						
						fecf81b2db 
					 
					
						
						
							
							Update NEWS for w3m 0.5.3+git20220429  
						
						
						
						
					 
					
						2022-04-29 10:20:09 +09:00 
						 
				 
			
				
					
						
							
							
								Tatsuya Kinoshita 
							
						 
					 
					
						
						
							
						
						cf9ec99fe6 
					 
					
						
						
							
							Update config.* with autotools-dev 20220109.1  
						
						
						
						
					 
					
						2022-04-29 10:19:04 +09:00 
						 
				 
			
				
					
						
							
							
								Tatsuya Kinoshita 
							
						 
					 
					
						
						
							
						
						a1ae7a95f9 
					 
					
						
						
							
							Update ChangeLog  
						
						
						
						
					 
					
						2022-04-25 19:51:07 +09:00 
						 
				 
			
				
					
						
							
							
								Tatsuya Kinoshita 
							
						 
					 
					
						
						
							
						
						aa67e886c7 
					 
					
						
						
							
							Merge pull request  #231  from N-R-K/cppcheck_fixes  
						
						... 
						
						
						
						Cppcheck fixes 
						
						
					 
					
						2022-04-25 19:49:34 +09:00 
						 
				 
			
				
					
						
							
							
								NRK 
							
						 
					 
					
						
						
							
						
						b155c9f759 
					 
					
						
						
							
							check bound _before_ making access  
						
						
						
						
					 
					
						2022-04-24 06:26:32 +06:00 
						 
				 
			
				
					
						
							
							
								NRK 
							
						 
					 
					
						
						
							
						
						b2ce5a9c54 
					 
					
						
						
							
							ensure map isn't NULL  
						
						... 
						
						
						
						main.c:1460:22: warning: Possible null pointer dereference: map [nullPointer]
	    w3mFuncList[(int)map[c]].func();
	                     ^
	main.c:1503:24: note: Calling function 'escKeyProc', 3rd argument 'NULL' value is 0
	 escKeyProc((int)c, 0, NULL);
	                       ^
	main.c:1438:25: note: Assuming condition is Assuming condition is false
	    if (CurrentKey >= 0 && CurrentKey & K_MULTI) {
	                        ^
	main.c:1460:22: note: Null pointer dereference
	    w3mFuncList[(int)map[c]].func();
	                     ^ 
						
						
					 
					
						2022-04-24 06:17:44 +06:00 
						 
				 
			
				
					
						
							
							
								NRK 
							
						 
					 
					
						
						
							
						
						3ab68dd361 
					 
					
						
						
							
							properly close va_list  
						
						
						
						
					 
					
						2022-04-24 06:10:12 +06:00 
						 
				 
			
				
					
						
							
							
								Tatsuya Kinoshita 
							
						 
					 
					
						
						
							
						
						f119108d61 
					 
					
						
						
							
							Update ChangeLog  
						
						
						
						
					 
					
						2022-04-19 20:07:44 +09:00 
						 
				 
			
				
					
						
							
							
								Tatsuya Kinoshita 
							
						 
					 
					
						
						
							
						
						dbf19bab3c 
					 
					
						
						
							
							Merge pull request  #230  from rkta/warnings  
						
						... 
						
						
						
						Fix some more warnings 
						
						
					 
					
						2022-04-19 19:59:44 +09:00 
						 
				 
			
				
					
						
							
							
								Tatsuya Kinoshita 
							
						 
					 
					
						
						
							
						
						fa57b07002 
					 
					
						
						
							
							Merge pull request  #229  from rkta/null  
						
						... 
						
						
						
						Fix all warnings when building with -Wnull-dereference 
						
						
					 
					
						2022-04-19 19:59:19 +09:00 
						 
				 
			
				
					
						
							
							
								Tatsuya Kinoshita 
							
						 
					 
					
						
						
							
						
						a582349397 
					 
					
						
						
							
							Merge pull request  #227  from rkta/linknumbers_at_eol  
						
						... 
						
						
						
						Fix broken anchor with link number at EOL 
						
						
					 
					
						2022-04-19 19:58:55 +09:00 
						 
				 
			
				
					
						
							
							
								Rene Kita 
							
						 
					 
					
						
						
							
						
						a3b9887113 
					 
					
						
						
							
							Enable -Wnull-dereference by default  
						
						
						
						
					 
					
						2022-04-19 10:08:54 +02:00 
						 
				 
			
				
					
						
							
							
								Rene Kita 
							
						 
					 
					
						
						
							
						
						e8a41ecfcc 
					 
					
						
						
							
							Exit if we cannot allocate a new tab during start  
						
						
						
						
					 
					
						2022-04-19 10:08:54 +02:00 
						 
				 
			
				
					
						
							
							
								Rene Kita 
							
						 
					 
					
						
						
							
						
						e6998fc9a4 
					 
					
						
						
							
							Fix potential null dereference  
						
						
						
						
					 
					
						2022-04-19 10:08:54 +02:00 
						 
				 
			
				
					
						
							
							
								Rene Kita 
							
						 
					 
					
						
						
							
						
						80642d1fe7 
					 
					
						
						
							
							Fix potential null dereference  
						
						
						
						
					 
					
						2022-04-19 10:08:54 +02:00 
						 
				 
			
				
					
						
							
							
								Rene Kita 
							
						 
					 
					
						
						
							
						
						a0b3c1b467 
					 
					
						
						
							
							Fix potential null dereference  
						
						
						
						
					 
					
						2022-04-19 10:08:54 +02:00 
						 
				 
			
				
					
						
							
							
								Rene Kita 
							
						 
					 
					
						
						
							
						
						9eaf044c02 
					 
					
						
						
							
							Check return value of Str... functions  
						
						... 
						
						
						
						All these functions, StrmyUFgets, StrISgets, etc. can potentially return
NULL. Add a check for it. 
						
						
					 
					
						2022-04-19 10:08:54 +02:00 
						 
				 
			
				
					
						
							
							
								Rene Kita 
							
						 
					 
					
						
						
							
						
						d33a522936 
					 
					
						
						
							
							Fix potential null pointer dereference  
						
						
						
						
					 
					
						2022-04-19 10:08:54 +02:00 
						 
				 
			
				
					
						
							
							
								Rene Kita 
							
						 
					 
					
						
						
							
						
						1308f5efe5 
					 
					
						
						
							
							Check for NULL before dereferencing the pointer  
						
						... 
						
						
						
						In case of an error the whole frame is freed, break out of the loop to
return early. 
						
						
					 
					
						2022-04-19 10:08:54 +02:00 
						 
				 
			
				
					
						
							
							
								Rene Kita 
							
						 
					 
					
						
						
							
						
						9f5c311e45 
					 
					
						
						
							
							Do not call fclose() on a NULL pointer  
						
						... 
						
						
						
						The if clause is true if cache is NULL. man 3 fclose says:
  The  behaviour  of  fclose() is undefined if the stream parameter is an
  illegal pointer, or is a descriptor already passed to a previous  invo‐
  cation of fclose().
Check if cache is NULL before calling fclose(). 
						
						
					 
					
						2022-04-19 10:08:54 +02:00 
						 
				 
			
				
					
						
							
							
								Rene Kita 
							
						 
					 
					
						
						
							
						
						1365cc1ecc 
					 
					
						
						
							
							Check for NULL before dereferencing a pointer  
						
						... 
						
						
						
						l is part of the exit condition of the while loop. If we exit the loop
because l is NULL, we cannot dereference it. 
						
						
					 
					
						2022-04-19 10:08:54 +02:00 
						 
				 
			
				
					
						
							
							
								Rene Kita 
							
						 
					 
					
						
						
							
						
						6432709b80 
					 
					
						
						
							
							Check for NULL before dereferencing a pointer  
						
						... 
						
						
						
						get_auth_param() returns NULL in case of error. 
						
						
					 
					
						2022-04-19 10:08:54 +02:00 
						 
				 
			
				
					
						
							
							
								Rene Kita 
							
						 
					 
					
						
						
							
						
						22d1fb47ac 
					 
					
						
						
							
							Remove null pointer dereference  
						
						... 
						
						
						
						This if is only true if both strchr return NULL, making sure that *q is
a NULL dereference.
The intention was to remove trailing '>' (or '\t') from the message-id
(p) for add_news_message().
Adjust the condition. 
						
						
					 
					
						2022-04-19 10:03:13 +02:00 
						 
				 
			
				
					
						
							
							
								Rene Kita 
							
						 
					 
					
						
						
							
						
						beb07d24bc 
					 
					
						
						
							
							Fix a warning about an unused variable  
						
						... 
						
						
						
						*xi is only used if USE_IMLIB is defined, move the declaration inside
the #ifdef block. 
						
						
					 
					
						2022-04-18 11:42:05 +02:00 
						 
				 
			
				
					
						
							
							
								Rene Kita 
							
						 
					 
					
						
						
							
						
						6d1a8d44e2 
					 
					
						
						
							
							Cast away a warning  
						
						... 
						
						
						
						strlen() takes a char *, but p is a unsigned char *. 
						
						
					 
					
						2022-04-18 11:42:05 +02:00 
						 
				 
			
				
					
						
							
							
								Rene Kita 
							
						 
					 
					
						
						
							
						
						9a2b86088c 
					 
					
						
						
							
							Fix broken anchor with link number at EOL  
						
						... 
						
						
						
						If, while adding the link number, we detect that we need to flush the
line, the anchor will be broken. When returning to the last breakpoint
only the link number will be removed, the internal anchor reference '<a
hseq=... >' remains on the flushed line.
Instead of adding the link number in a separate operation, check if we
just processed an anchor tag and prepend the current token with the link
number. 
						
						
					 
					
						2022-04-17 16:04:41 +02:00 
						 
				 
			
				
					
						
							
							
								Tatsuya Kinoshita 
							
						 
					 
					
						
						
							
						
						fa6da6a0fa 
					 
					
						
						
							
							Update ChangeLog  
						
						
						
						
					 
					
						2022-04-15 21:20:11 +09:00 
						 
				 
			
				
					
						
							
							
								Tatsuya Kinoshita 
							
						 
					 
					
						
						
							
						
						238b77f0fa 
					 
					
						
						
							
							Allow building without terminal library  
						
						... 
						
						
						
						This reverts commit 0d3416e0c2https://github.com/tats/w3m/pull/221 
Bug-Chromium: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=46629  
						
						
					 
					
						2022-04-15 21:07:40 +09:00 
						 
				 
			
				
					
						
							
							
								Tatsuya Kinoshita 
							
						 
					 
					
						
						
							
						
						6338651e22 
					 
					
						
						
							
							Allow building without Perl  
						
						... 
						
						
						
						This reverts commit a0c8de3f3fhttps://github.com/tats/w3m/pull/221  
						
						
					 
					
						2022-04-15 21:07:30 +09:00 
						 
				 
			
				
					
						
							
							
								Tatsuya Kinoshita 
							
						 
					 
					
						
						
							
						
						15c77e3687 
					 
					
						
						
							
							Do not reject FreeBSD framebuffer  
						
						... 
						
						
						
						This reverts commit cb3118b389https://github.com/tats/w3m/pull/221  
						
						
					 
					
						2022-04-15 21:07:02 +09:00 
						 
				 
			
				
					
						
							
							
								Tatsuya Kinoshita 
							
						 
					 
					
						
						
							
						
						006871f44c 
					 
					
						
						
							
							Update ChangeLog  
						
						
						
						
					 
					
						2022-04-10 11:47:54 +09:00 
						 
				 
			
				
					
						
							
							
								Tatsuya Kinoshita 
							
						 
					 
					
						
						
							
						
						020f626a95 
					 
					
						
						
							
							Remove unused encodeB declaration  
						
						
						
						
					 
					
						2022-04-10 10:07:27 +09:00 
						 
				 
			
				
					
						
							
							
								Tatsuya Kinoshita 
							
						 
					 
					
						
						
							
						
						13dea10910 
					 
					
						
						
							
							Remove unused MAX_WIDTH  
						
						
						
						
					 
					
						2022-04-10 10:07:04 +09:00 
						 
				 
			
				
					
						
							
							
								Tatsuya Kinoshita 
							
						 
					 
					
						
						
							
						
						79dc67566a 
					 
					
						
						
							
							Prefer https for GNU URLs  
						
						
						
						
					 
					
						2022-04-10 10:06:33 +09:00 
						 
				 
			
				
					
						
							
							
								Tatsuya Kinoshita 
							
						 
					 
					
						
						
							
						
						eb7ebb48ed 
					 
					
						
						
							
							Update ChangeLog  
						
						
						
						
					 
					
						2022-04-09 19:38:24 +09:00 
						 
				 
			
				
					
						
							
							
								Tatsuya Kinoshita 
							
						 
					 
					
						
						
							
						
						ca9f5fc096 
					 
					
						
						
							
							Merge pull request  #222  from rkta/Wall  
						
						... 
						
						
						
						Fix all reported warnings when -Wall is enabled and enable -Wall by default. While there, move OPTS to end of CFLAGS. This allows the user to override default options. 
						
						
					 
					
						2022-04-09 19:32:49 +09:00 
						 
				 
			
				
					
						
							
							
								Tatsuya Kinoshita 
							
						 
					 
					
						
						
							
						
						fecbe424c2 
					 
					
						
						
							
							Update ChangeLog  
						
						
						
						
					 
					
						2022-04-08 20:53:12 +09:00 
						 
				 
			
				
					
						
							
							
								Tatsuya Kinoshita 
							
						 
					 
					
						
						
							
						
						9d7d98c237 
					 
					
						
						
							
							Merge pull request  #221  from rkta/configure  
						
						... 
						
						
						
						Add some missing checks to configure. 
						
						
					 
					
						2022-04-08 20:44:46 +09:00 
						 
				 
			
				
					
						
							
							
								Tatsuya Kinoshita 
							
						 
					 
					
						
						
							
						
						f80ccd42a6 
					 
					
						
						
							
							Merge pull request  #220  from rkta/posubst  
						
						... 
						
						
						
						Do not swallow errors from GCC 
						
						
					 
					
						2022-04-08 20:40:07 +09:00 
						 
				 
			
				
					
						
							
							
								Tatsuya Kinoshita 
							
						 
					 
					
						
						
							
						
						ba3b7547a0 
					 
					
						
						
							
							Update ChangeLog  
						
						
						
						
					 
					
						2022-04-06 20:09:22 +09:00 
						 
				 
			
				
					
						
							
							
								Tatsuya Kinoshita 
							
						 
					 
					
						
						
							
						
						7ed4f7796c 
					 
					
						
						
							
							Adjust spacing in menu strings  
						
						... 
						
						
						
						cf. https://github.com/tats/w3m/issues/225  
						
						
					 
					
						2022-04-06 20:08:00 +09:00 
						 
				 
			
				
					
						
							
							
								Tatsuya Kinoshita 
							
						 
					 
					
						
						
							
						
						79e8f2d608 
					 
					
						
						
							
							Fix typo in menu strings  
						
						
						
						
					 
					
						2022-04-06 20:07:39 +09:00 
						 
				 
			
				
					
						
							
							
								Tatsuya Kinoshita 
							
						 
					 
					
						
						
							
						
						f323f98b1a 
					 
					
						
						
							
							Update ChangeLog  
						
						
						
						
					 
					
						2022-04-05 22:42:02 +09:00 
						 
				 
			
				
					
						
							
							
								Tatsuya Kinoshita 
							
						 
					 
					
						
						
							
						
						93b6fce6ca 
					 
					
						
						
							
							Merge branch 'bug/po-de'  
						
						
						
						
					 
					
						2022-04-05 22:34:35 +09:00 
						 
				 
			
				
					
						
							
							
								Markus Hiereth 
							
						 
					 
					
						
						
							
						
						9e930f88d9 
					 
					
						
						
							
							Updated German message catalogue  
						
						
						
						
					 
					
						2022-04-05 22:30:29 +09:00 
						 
				 
			
				
					
						
							
							
								Tatsuya Kinoshita 
							
						 
					 
					
						
						
							
						
						9a8b0b11b7 
					 
					
						
						
							
							Merge pull request  #209  from sebras/master  
						
						... 
						
						
						
						Add Swedish translation. 
						
						
					 
					
						2022-04-05 22:21:45 +09:00 
						 
				 
			
				
					
						
							
							
								Rene Kita 
							
						 
					 
					
						
						
							
						
						97af1e481f 
					 
					
						
						
							
							Do not swallow errors from GCC  
						
						... 
						
						
						
						Without this patch posubst always exits with 0. This is a problem when
chaining commands. 
						
						
					 
					
						2022-02-20 11:25:15 +01:00 
						 
				 
			
				
					
						
							
							
								Rene Kita 
							
						 
					 
					
						
						
							
						
						d5817a26c7 
					 
					
						
						
							
							Use strict and warnings in posubst  
						
						
						
						
					 
					
						2022-02-20 11:25:15 +01:00