Christopher Haster 
							
						 
					 
					
						
						
							
						
						fd9e609eb7 
					 
					
						
						
							
							WIP Changed name of lfs_crc to match more common API  
						
						
						
						
							
						
					 
					
						2018-08-07 14:59:44 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						88f15a8d41 
					 
					
						
						
							
							WIP fixed issues with expanding directories in tests  
						
						... 
						
						
						
						(Some where legitimate test failures) 
						
						
							
						
					 
					
						2018-08-07 14:44:26 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						2da9392fbf 
					 
					
						
						
							
							WIP modified ctz type tag for future compatibility with erased files  
						
						
						
						
							
						
					 
					
						2018-08-07 09:57:54 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						5422566b6a 
					 
					
						
						
							
							WIP Added expading superblocks and root entries  
						
						
						
						
							
						
					 
					
						2018-08-06 20:07:09 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						e0e289207a 
					 
					
						
						
							
							WIP Changed superblock id to acocunt for future compatibility  
						
						... 
						
						
						
						With expanding superblocks 
						
						
							
						
					 
					
						2018-08-06 13:30:51 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						f96e8c130d 
					 
					
						
						
							
							WIP Made naming consistent for internal functions  
						
						
						
						
							
						
					 
					
						2018-08-04 23:57:43 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						78b460a907 
					 
					
						
						
							
							Merge remote-tracking branch 'origin/master' into v2-alpha  
						
						
						
						
							
						
					 
					
						2018-08-04 22:01:44 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						a64ff4fb95 
					 
					
						
						
							
							WIP Changed littlefs-fuse target for testing  
						
						
						
						
							
						
					 
					
						2018-08-04 20:24:02 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						4f0d248e09 
					 
					
						
						
							
							WIP Changed name of upper-limits from blah_size to blah_max  
						
						
						
						
							
						
					 
					
						2018-08-04 20:24:01 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						7ffbe81bb2 
					 
					
						
						
							
							WIP Changed LFS_ERR_CORRUPT to match EILSEQ instead of EBADE  
						
						
						
						
							
						
					 
					
						2018-08-04 20:24:01 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						2f73652937 
					 
					
						
						
							
							WIP Documented custom attribute API and changed behaviour around  
						
						... 
						
						
						
						nonexisting attributes 
						
						
							
						
					 
					
						2018-08-04 20:23:51 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						c3480c8c92 
					 
					
						
						
							
							WIP Added test for global state stealing  
						
						
						
						
							
						
					 
					
						2018-08-04 18:55:04 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						2bcec45c1b 
					 
					
						
						
							
							WIP cleaned up config options  
						
						
						
						
							
						
					 
					
						2018-08-04 16:04:24 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						a98affc951 
					 
					
						
						
							
							WIP Added support for cache_size as alternative to read_size and  
						
						... 
						
						
						
						prog_size 
						
						
							
						
					 
					
						2018-08-04 14:48:27 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						e7c4465bf5 
					 
					
						
						
							
							WIP simplified and aligned globals  
						
						... 
						
						
						
						by storing deorphaned in the globals tag itself 
						
						
							
						
					 
					
						2018-08-03 21:07:04 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						597249eea0 
					 
					
						
						
							
							WIP Added files to dir list and squished the lists together  
						
						... 
						
						
						
						Now with better tracking of changes to long lasting metadata pairs 
						
						
							
						
					 
					
						2018-08-03 21:06:59 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						67cf4e10f4 
					 
					
						
						
							
							WIP fixed several TODOs  
						
						
						
						
							
						
					 
					
						2018-08-01 06:43:46 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						14469059bc 
					 
					
						
						
							
							WIP Removed redundant lfs_scan  
						
						
						
						
							
						
					 
					
						2018-08-01 01:05:04 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						3bb37d4aaf 
					 
					
						
						
							
							WIP Reimplemented big-endian support on top of new structures  
						
						
						
						
							
						
					 
					
						2018-08-01 18:50:54 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						a703859615 
					 
					
						
						
							
							WIP added deorphan bit to globals  
						
						
						
						
							
						
					 
					
						2018-07-31 19:41:12 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						10f063571a 
					 
					
						
						
							
							WIP Fixed ENOSPC issues with zero-granularity blocks  
						
						
						
						
							
						
					 
					
						2018-07-30 21:12:00 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						7f41aa05a9 
					 
					
						
						
							
							WIP Cleaned up file config usage  
						
						
						
						
							
						
					 
					
						2018-07-30 16:19:09 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						b8290e306c 
					 
					
						
						
							
							WIP removed lfs parameter to lfs traverse  
						
						
						
						
							
						
					 
					
						2018-07-30 14:41:17 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						c74bcec184 
					 
					
						
						
							
							WIP fixed corruption tests  
						
						
						
						
							
						
					 
					
						2018-07-30 14:23:51 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						868099836d 
					 
					
						
						
							
							WIP Fixed deorphan test  
						
						
						
						
							
						
					 
					
						2018-07-30 09:10:04 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						c3c15d7636 
					 
					
						
						
							
							Added support for custom attributes 2  
						
						
						
						
							
						
					 
					
						2018-07-30 08:15:58 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						3a70619f41 
					 
					
						
						
							
							WIP Added support for custom attributes 1  
						
						
						
						
							
						
					 
					
						2018-07-29 15:28:41 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						22e3d33ada 
					 
					
						
						
							
							Picked up path corner case fixes  
						
						
						
						
							
						
					 
					
						2018-07-28 12:07:18 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						439a76e3e1 
					 
					
						
						
							
							WIP Refactor file/dir iteration for dir update checks  
						
						
						
						
							
						
					 
					
						2018-07-28 09:47:57 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						510cd13df9 
					 
					
						
						
							
							Bumped minor version to v1.6  
						
						
						
						
							
 
						
					 
					
						2018-07-27 15:59:18 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						f5e0539951 
					 
					
						
						
							
							Fixed issue with release script non-standard version tags  
						
						
						
						
							
						
					 
					
						2018-07-27 15:20:00 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						066448055c 
					 
					
						
						
							
							Moved SPDX and license info into README  
						
						... 
						
						
						
						This makes is a bit easier to find the description about the SPDX tags,
and fixes the issue where GitHub doesn't detect the license text. 
						
						
							
						
					 
					
						2018-07-27 14:02:38 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						d66723ccfd 
					 
					
						
						
							
							Merge pull request  #81  from ARMmbed/simple-versioning  
						
						... 
						
						
						
						Simplified release process based on feedback 
						
						
							
						
					 
					
						2018-07-27 14:02:23 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						0234c77102 
					 
					
						
						
							
							Simplified release process based on feedback  
						
						... 
						
						
						
						Previously, littlefs had mutable versions. That is, anytime a new commit
landed on master, the bot would update the most recent version to
contain the patch. The idea was that this would make sure users always
had the most recent bug fixes. Immutable snapshots could be accessed
through the git hashes.
However, at this point multiple developers have pointed out that this is
confusing, with mutable versions being non-standard and surprising.
This new release process adopts SemVer in its entirety, with
incrementing patch numbers and immutable versions.
When a new commit lands on master:
1. The major/minor version is taken from lfs.h
2. The most recent patch version is looked up on GitHub and incremented
3. A changelog is built out of the commits to the previous version
4. A new release is created on GitHub
Additionally, any commits that land while CI is still running are
coalesced together. Which means multiple PRs can land in a single
release. 
						
						
							
						
					 
					
						2018-07-25 14:21:58 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						84adead98b 
					 
					
						
						
							
							Merge pull request  #80  from FreddieChopin/fix-memory-leaks  
						
						... 
						
						
						
						Fix memory leaks 
						
						
							
 
						
					 
					
						2018-07-19 17:30:48 -05:00 
						 
				 
			
				
					
						
							
							
								Freddie Chopin 
							
						 
					 
					
						
						
							
						
						0422c55b81 
					 
					
						
						
							
							Fix memory leaks in lfs_mount and lfs_format  
						
						... 
						
						
						
						Squashed:
- Change lfs_deinit() return to void to simplify error handling
- Move lfs_deinit() before lfs_init()
- Fix memory leaks in lfs_init()
- Fix memory leaks in lfs_format()
- Fix memory leaks in lfs_mount() 
						
						
							
						
					 
					
						2018-07-19 16:54:38 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						11ad3a2414 
					 
					
						
						
							
							Merge pull request  #76  from ARMmbed/fix-corrupt-read  
						
						... 
						
						
						
						Add handling for corrupt as initial state of blocks 
						
						
							
						
					 
					
						2018-07-17 20:32:33 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						16318d003f 
					 
					
						
						
							
							Merge pull request  #58  from dpgeorge/file-open-no-malloc  
						
						... 
						
						
						
						Added possibility to open multiple files with LFS_NO_MALLOC enabled 
						
						
							
						
					 
					
						2018-07-17 20:31:20 -05:00 
						 
				 
			
				
					
						
							
							
								Damien George 
							
						 
					 
					
						
						
							
						
						961fab70c3 
					 
					
						
						
							
							Added file config structure and lfs_file_opencfg  
						
						... 
						
						
						
						The optional config structure options up the possibility of adding
file-level configuration in a backwards compatible manner.
Also adds possibility to open multiple files with LFS_NO_MALLOC
enabled thanks to dpgeorge
Also bumped minor version to v1.5 
						
						
							
						
					 
					
						2018-07-17 18:32:18 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						236d46ad17 
					 
					
						
						
							
							Fixed move handling when caught in update  
						
						
						
						
							
						
					 
					
						2018-07-17 18:31:30 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						041e90a1ca 
					 
					
						
						
							
							Added handling for corrupt as initial state of blocks  
						
						... 
						
						
						
						Before this, littlefs incorrectly assumed corrupt blocks were only the result
of our own modification. This would be fine for most cases of freshly
erased storage, but for storage with block-level ECC this wasn't always
true.
Fortunately, it's quite easy for littlefs to handle this case correctly,
as long as corrupt storage always reports that it is corrupt, which for
most forms of ECC is the case unless we perform a write on the storage.
found by rojer 
						
						
							
						
					 
					
						2018-07-16 15:33:52 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						f1719e3310 
					 
					
						
						
							
							WIP cleaned up commit logic  
						
						
						
						
							
						
					 
					
						2018-07-14 04:26:05 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						37cf030445 
					 
					
						
						
							
							WIP cleaned up commit logic  
						
						
						
						
							
						
					 
					
						2018-07-13 22:51:43 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						7ec75a55f2 
					 
					
						
						
							
							WIP additional cleanup around attributes  
						
						
						
						
							
						
					 
					
						2018-07-13 12:42:30 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						f94d233deb 
					 
					
						
						
							
							Merge pull request  #74  from FreddieChopin/cxx-guards  
						
						... 
						
						
						
						Add C++ guards to public headers 
						
						
							
 
						
					 
					
						2018-07-13 10:55:16 -05:00 
						 
				 
			
				
					
						
							
							
								Freddie Chopin 
							
						 
					 
					
						
						
							
						
						577d777c20 
					 
					
						
						
							
							Add C++ guards to public headers  
						
						... 
						
						
						
						Fixes  #53 
Fixes  #32  
					
						2018-07-13 09:34:49 +02:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						dcfe94412a 
					 
					
						
						
							
							WIP other minor adjustments  
						
						
						
						
							
						
					 
					
						2018-07-12 20:43:55 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						6a99f6c8fc 
					 
					
						
						
							
							WIP Changed internal API to return tags over pointers  
						
						
						
						
							
						
					 
					
						2018-07-12 20:22:06 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						e6d49feb4a 
					 
					
						
						
							
							WIP renamed tag related things  
						
						
						
						
							
						
					 
					
						2018-07-12 19:07:56 -05:00 
						 
				 
			
				
					
						
							
							
								Christopher Haster 
							
						 
					 
					
						
						
							
						
						f6347db3da 
					 
					
						
						
							
							WIP moved things around in get/traverse functions  
						
						
						
						
							
						
					 
					
						2018-07-12 18:11:18 -05:00