diff --git a/Asm/x86/7zCrcOpt.asm b/Asm/x86/7zCrcOpt.asm
index c5de80883..9869f187d 100644
--- a/Asm/x86/7zCrcOpt.asm
+++ b/Asm/x86/7zCrcOpt.asm
@@ -212,7 +212,7 @@ endm
jnc @B
if 0
- ; byte verson
+ ; byte version
add rD, rN
xor x0, dword ptr [rD]
add rN, NUM_BYTES_LIMIT - 1
diff --git a/C/CpuArch.h b/C/CpuArch.h
index 348db0a4c..cddfc64b3 100644
--- a/C/CpuArch.h
+++ b/C/CpuArch.h
@@ -455,13 +455,13 @@ problem-3 : compiler for 32-bit arm:
32-bit access must be aligned for 32-bit, if we want to
avoid "Alignment fault" exception (handled or unhandled).
-problem-4 : performace:
+problem-4 : performance:
Even if unaligned access is handled by kernel, it will be slow.
So if we allow unaligned access, we can get fast unaligned
single-access, and slow unaligned paired-access.
We don't allow unaligned access on 32-bit arm, because compiler
- genarates paired-access instructions that require 32-bit alignment,
+ generates paired-access instructions that require 32-bit alignment,
and some arm64 kernels have no handler for these instructions.
Also unaligned paired-access instructions will be slow, if kernel handles them.
*/
diff --git a/C/HuffEnc.c b/C/HuffEnc.c
index 297b41aea..3b9c3ba97 100644
--- a/C/HuffEnc.c
+++ b/C/HuffEnc.c
@@ -61,7 +61,7 @@ void Huffman_Generate(const UInt32 *freqs, UInt32 *p, Byte *lens, unsigned numSy
{
const UInt32 *fp = freqs + numSymbols;
#define NUM_UNROLLS 1
-#if NUM_UNROLLS > 1 // use 1 if odd (numSymbols) is possisble
+#if NUM_UNROLLS > 1 // use 1 if odd (numSymbols) is possible
if (numSymbols & 1)
{
UInt32 f;
@@ -282,7 +282,7 @@ void Huffman_Generate(const UInt32 *freqs, UInt32 *p, Byte *lens, unsigned numSy
if (b != p)
{
- // we detect level of each node (realtive to root),
+ // we detect level of each node (relative to root),
// and update lenCounters[].
// We process only intermediate nodes and we don't process leaves.
do
diff --git a/C/LzFind.c b/C/LzFind.c
index 330bc1729..d22aae2d1 100644
--- a/C/LzFind.c
+++ b/C/LzFind.c
@@ -12,7 +12,7 @@
#define kBlockMoveAlign (1 << 7) // alignment for memmove()
#define kBlockSizeAlign (1 << 16) // alignment for block allocation
-#define kBlockSizeReserveMin (1 << 24) // it's 1/256 from 4 GB dictinary
+#define kBlockSizeReserveMin (1 << 24) // it's 1/256 from 4 GB dictionary
#define kEmptyHashValue 0
@@ -147,7 +147,7 @@ static void MatchFinder_ReadBlock(CMatchFinder *p)
if (size == 0)
{
/* we call ReadBlock() after NeedMove() and MoveBlock().
- NeedMove() and MoveBlock() povide more than (keepSizeAfter)
+ NeedMove() and MoveBlock() provide more than (keepSizeAfter)
to the end of (blockSize).
So we don't execute this branch in normal code flow.
We can go here, if we will call ReadBlock() before NeedMove(), MoveBlock().
diff --git a/C/LzFindMt.c b/C/LzFindMt.c
index 25fcc4651..aff430de2 100644
--- a/C/LzFindMt.c
+++ b/C/LzFindMt.c
@@ -178,10 +178,10 @@ static void MtSync_StopWriting(CMtSync *p)
PRF(printf("\nMtSync_StopWriting %p : Event_Wait(&p->wasStopped)\n", p));
Event_Wait(&p->wasStopped);
- PRF(printf("\nMtSync_StopWriting %p : Event_Wait() finsihed\n", p));
+ PRF(printf("\nMtSync_StopWriting %p : Event_Wait() finished\n", p));
- /* 21.03 : we don't restore samaphore counters here.
- We will recreate and reinit samaphores in next start */
+ /* 21.03 : we don't restore semaphore counters here.
+ We will recreate and reinit semaphores in next start */
p->needStart = True;
}
@@ -972,7 +972,7 @@ static UInt32 MatchFinderMt_GetNextBlock_Bt(CMatchFinderMt *p)
p->failure_LZ_BT = True;
// p->btNumAvailBytes = 0;
/* we don't want to decrease AvailBytes, that was load before.
- that can be unxepected for the code that have loaded anopther value before */
+ that can be unexpected for the code that have loaded another value before */
}
}
diff --git a/C/LzFindMt.h b/C/LzFindMt.h
index 89984f52d..091e76023 100644
--- a/C/LzFindMt.h
+++ b/C/LzFindMt.h
@@ -61,7 +61,7 @@ typedef struct CMatchFinderMt_
const UInt32 *crc;
Mf_Mix_Matches MixMatchesFunc;
- UInt32 failure_LZ_BT; // failure in BT transfered to LZ
+ UInt32 failure_LZ_BT; // failure in BT transferred to LZ
// UInt32 failure_LZ_LZ; // failure in LZ tables
UInt32 failureBuf[1];
// UInt32 crc[256];
diff --git a/C/Lzma2Dec.h b/C/Lzma2Dec.h
index 1f5233a72..3eba026d1 100644
--- a/C/Lzma2Dec.h
+++ b/C/Lzma2Dec.h
@@ -88,7 +88,7 @@ LZMA2 parser doesn't decode LZMA chunks, so we must read
Lzma2Dec_GetUnpackExtra() returns the value that shows
max possible number of output bytes that can be output by decoder
- at current input positon.
+ at current input position.
*/
#define Lzma2Dec_GetUnpackExtra(p) ((p)->isExtraMode ? (p)->unpackSize : 0)
diff --git a/C/Lzma86Enc.c b/C/Lzma86Enc.c
index 0cdde1c9a..3c5123cc4 100644
--- a/C/Lzma86Enc.c
+++ b/C/Lzma86Enc.c
@@ -58,7 +58,7 @@ int Lzma86_Encode(Byte *dest, size_t *destLen, const Byte *src, size_t srcLen,
/* passes for SZ_FILTER_AUTO:
0 - BCJ + LZMA
1 - LZMA
- 2 - BCJ + LZMA agaian, if pass 0 (BCJ + LZMA) is better.
+ 2 - BCJ + LZMA again, if pass 0 (BCJ + LZMA) is better.
*/
int numPasses = (filterMode == SZ_FILTER_AUTO) ? 3 : 1;
diff --git a/C/LzmaLib.h b/C/LzmaLib.h
index d7c0724de..047cdc0ee 100644
--- a/C/LzmaLib.h
+++ b/C/LzmaLib.h
@@ -33,7 +33,7 @@ outPropsSize -
In: the pointer to the size of outProps buffer; *outPropsSize = LZMA_PROPS_SIZE = 5.
Out: the pointer to the size of written properties in outProps buffer; *outPropsSize = LZMA_PROPS_SIZE = 5.
- LZMA Encoder will use defult values for any parameter, if it is
+ LZMA Encoder will use default values for any parameter, if it is
-1 for any from: level, loc, lp, pb, fb, numThreads
0 for dictSize
@@ -125,7 +125,7 @@ LzmaUncompress
Returns:
SZ_OK - OK
SZ_ERROR_DATA - Data error
- SZ_ERROR_MEM - Memory allocation arror
+ SZ_ERROR_MEM - Memory allocation error
SZ_ERROR_UNSUPPORTED - Unsupported properties
SZ_ERROR_INPUT_EOF - it needs more bytes in input buffer (src)
*/
diff --git a/C/Ppmd7.c b/C/Ppmd7.c
index efcc5d86e..4c35790c9 100644
--- a/C/Ppmd7.c
+++ b/C/Ppmd7.c
@@ -443,7 +443,7 @@ void Ppmd7_Init(CPpmd7 *p, unsigned maxOrder)
that is the link to position in Raw text.
So we create Context records and write the links to
FoundState->Successor and to identical RAW-Successors in suffix
- contexts of MinContex.
+ contexts of MinContext.
The function returns:
if (OrderFall == 0) then MinContext is already at MAX order,
@@ -519,7 +519,7 @@ static PPMD7_CTX_PTR Ppmd7_CreateSuccessors(CPpmd7 *p)
s0 = (UInt32)c->Union2.SummFreq - c->NumStats - cf;
/*
cf - is frequency of symbol that will be Successor in new context records.
- s0 - is commulative frequency sum of another symbols from parent context.
+ s0 - is cumulative frequency sum of another symbols from parent context.
max(newFreq)= (s->Freq + 1), when (s0 == 1)
we have requirement (Ppmd7Context_OneState()->Freq <= 128) in BinSumm[]
so (s->Freq < 128) - is requirement for multi-symbol contexts
@@ -668,11 +668,11 @@ void Ppmd7_UpdateModel(CPpmd7 *p)
if (--p->OrderFall == 0)
{
/*
- if we move to MaxOrder context, then minSuccessor will be common Succesor for both:
+ if we move to MaxOrder context, then minSuccessor will be common Successor for both:
MinContext that is (MaxOrder - 1)
MaxContext that is (MaxOrder)
so we don't need new RAW-Successor, and we can use real minSuccessor
- as succssors for both MinContext and MaxContext.
+ as successors for both MinContext and MaxContext.
*/
maxSuccessor = minSuccessor;
@@ -680,7 +680,7 @@ void Ppmd7_UpdateModel(CPpmd7 *p)
if (MaxContext != MinContext)
{
there was order fall from MaxOrder and we don't need current symbol
- to transfer some RAW-Succesors to real contexts.
+ to transfer some RAW-Successors to real contexts.
So we roll back pointer in raw data for one position.
}
*/
@@ -1041,7 +1041,7 @@ PPMd Memory Map:
}
These addresses don't cross at any time.
-And the following condtions is true for addresses:
+And the following conditions is true for addresses:
(0 <= Text < UnitsStart <= LoUnit <= HiUnit <= Size)
Raw text is BYTE--aligned.
@@ -1052,7 +1052,7 @@ The code can free UNITs memory blocks that were allocated to store CPpmd_State v
The code doesn't free UNITs allocated for CPpmd7_Context records.
The code calls Ppmd7_RestartModel(), when there is no free memory for allocation.
-And Ppmd7_RestartModel() changes the state to orignal start state, with full free block.
+And Ppmd7_RestartModel() changes the state to original start state, with full free block.
The code allocates UNITs with the following order:
@@ -1088,7 +1088,7 @@ There are 3 types of Successor:
3) RECORD-Successor - the link to CPpmd7_Context record of (Order+1),
that record is being created when we go via RAW-Successor again.
-For any successors at any time: the following condtions are true for Successor links:
+For any successors at any time: the following conditions are true for Successor links:
(NULL-Successor < RAW-Successor < UnitsStart <= RECORD-Successor)
diff --git a/C/Ppmd8.c b/C/Ppmd8.c
index 774b30c22..90d6fd4ae 100644
--- a/C/Ppmd8.c
+++ b/C/Ppmd8.c
@@ -600,7 +600,7 @@ static void SWAP_STATES(CPpmd_State *t1, CPpmd_State *t2)
/*
CutOff() reduces contexts:
- It conversts Successors at MaxOrder to another Contexts to NULL-Successors
+ It converts Successors at MaxOrder to another Contexts to NULL-Successors
It removes RAW-Successors and NULL-Successors that are not Order-0
and it removes contexts when it has no Successors.
if the (Union4.Stats) is close to (UnitsStart), it moves it up.
@@ -715,7 +715,7 @@ static CPpmd_Void_Ref CutOff(CPpmd8 *p, PPMD8_CTX_PTR ctx, unsigned order)
/*
RemoveBinContexts()
- It conversts Successors at MaxOrder to another Contexts to NULL-Successors
+ It converts Successors at MaxOrder to another Contexts to NULL-Successors
It changes RAW-Successors to NULL-Successors
removes Bin Context without Successor, if suffix of that context is also binary.
*/
diff --git a/C/Sha512.c b/C/Sha512.c
index f0787fd85..7be2aa492 100644
--- a/C/Sha512.c
+++ b/C/Sha512.c
@@ -620,7 +620,7 @@ Are there any ways to fix the problems with arm64-wine and x64-SDE cases?
isSupported = True;
}
#else // Z7_COMPILER_SHA512_SUPPORTED
- // for debug : we generate bad instrction or raise exception.
+ // for debug : we generate bad instruction or raise exception.
// __except() doesn't catch raise() calls.
#ifdef Z7_SHA512_USE_LONGJMP
PRF(printf("====== raise(SIGILL)\n");)
diff --git a/C/Sort.c b/C/Sort.c
index 20e3e69dc..741644a46 100644
--- a/C/Sort.c
+++ b/C/Sort.c
@@ -83,7 +83,7 @@ if !defined(USE_PREFETCH_FOR_ALIGNED_ARRAY)
#if 1 && PREFETCH_LEVEL <= 3 && defined(USE_PREFETCH_FOR_ALIGNED_ARRAY)
#define PREFETCH_ADD_OFFSET 0
#else
- // last offset that can be reqiured in PREFETCH_LEVEL step:
+ // last offset that can be required in PREFETCH_LEVEL step:
#define PREFETCH_RANGE ((2 << PREFETCH_LEVEL) - 1)
#define PREFETCH_ADD_OFFSET PREFETCH_RANGE / 2
#endif
diff --git a/C/Threads.c b/C/Threads.c
index 08dd58a9d..b80bdeb1c 100644
--- a/C/Threads.c
+++ b/C/Threads.c
@@ -447,7 +447,7 @@ Z7_DIAGNOSTIC_IGNORE_END_RESERVED_MACRO_IDENTIFIER
WRes Thread_Create_With_CpuSet(CThread *p, THREAD_FUNC_TYPE func, LPVOID param, const CCpuSet *cpuSet)
{
- // new thread in Posix probably inherits affinity from parrent thread
+ // new thread in Posix probably inherits affinity from parent thread
Print("Thread_Create_With_CpuSet")
pthread_attr_t attr;
diff --git a/C/Threads.h b/C/Threads.h
index be12e6e7f..983d1edb3 100644
--- a/C/Threads.h
+++ b/C/Threads.h
@@ -49,8 +49,8 @@ typedef HANDLE CThread;
// #define Thread_Wait(p) Handle_WaitObject(*(p))
#ifdef UNDER_CE
- // if (USE_THREADS_CreateThread is defined), we use _beginthreadex()
- // if (USE_THREADS_CreateThread is not definned), we use CreateThread()
+ // if (USE_THREADS_CreateThread is defined), we use _beginthreadex()
+ // if (USE_THREADS_CreateThread is not defined), we use CreateThread()
#define USE_THREADS_CreateThread
#endif
diff --git a/C/Xz.h b/C/Xz.h
index ad63b48c7..24184f03e 100644
--- a/C/Xz.h
+++ b/C/Xz.h
@@ -489,7 +489,7 @@ typedef struct
SRes ReadRes; // error code from ISeqInStream:Read()
SRes ProgressRes; // error code from ICompressProgress:Progress()
- SRes CombinedRes; // Combined result error code that shows main rusult
+ SRes CombinedRes; // Combined result error code that shows main result
// = S_OK, if there is no error.
// but check also (DataAfterEnd) that can show additional minor errors.
diff --git a/C/XzDec.c b/C/XzDec.c
index e4ae1448d..0bc979a50 100644
--- a/C/XzDec.c
+++ b/C/XzDec.c
@@ -2583,7 +2583,7 @@ static void XzStatInfo_SetStat(const CXzUnpacker *dec,
{
// if (extraSize != 0 || readProcessed != inProcessed)
{
- // he we suppose that all xz streams were finsihed OK, and we have
+ // he we suppose that all xz streams were finished OK, and we have
// some extra data after all streams
stat->DataAfterEnd = True;
res = SZ_OK;
diff --git a/C/ZstdDec.c b/C/ZstdDec.c
index 6ad47ebcf..918d7a00f 100644
--- a/C/ZstdDec.c
+++ b/C/ZstdDec.c
@@ -1341,7 +1341,7 @@ typedef struct
else {
if ( isCyclicMode) : cycSize = cyclic_buffer_size = (winSize + extra_space)
if (!isCyclicMode) : cycSize = ContentSize,
- (isCyclicMode == true) if (ContetSize >= winSize) or ContetSize is unknown
+ (isCyclicMode == true) if (ContentSize >= winSize) or ContentSize is unknown
}
*/
SizeT winPos;
@@ -2574,7 +2574,7 @@ SRes ZstdDec1_DecodeBlock(CZstdDec1 *p,
else
#ifdef MY_CPU_64BIT
{
- // alignemt (UInt64 _pad_Alignment) in fse.ml is required for that code
+ // alignment (UInt64 _pad_Alignment) in fse.ml is required for that code
UInt64 *table = (UInt64 *)(void *)p->fse.ml;
const UInt64 *end = (const UInt64 *)(const void *)
((const Byte *)(const void *)table + ((size_t)sizeof(CFseRecord) << accuracy));
@@ -2873,7 +2873,7 @@ static SRes ZstdDec_AllocateMisc(CZstdDec *p)
}
if (!p->inTemp)
{
- // we need k_Lit_AfterAvail here for owerread from raw literals stream
+ // we need k_Lit_AfterAvail here for overread from raw literals stream
p->inTemp = (Byte *)ISzAlloc_Alloc(p->alloc_Small,
kBlockSizeMax + kTempBuffer_PreSize + k_Lit_AfterAvail);
if (!p->inTemp)
@@ -3512,7 +3512,7 @@ static SRes ZstdDec_DecodeBlock(CZstdDec * const p, CZstdDecState * const ds,
}
else
{
- /* ZSTD2_STATE_FINISHED proccesing doesn't depend from input buffer */
+ /* ZSTD2_STATE_FINISHED processing doesn't depend from input buffer */
p->frameState = ZSTD2_STATE_FINISHED;
}
/*
@@ -3899,9 +3899,9 @@ SRes ZstdDec_Decode(CZstdDecHandle dec, CZstdDecState *p)
if (useCyclic)
{
- /* cyclyc buffer size must be at least (COPY_CHUNK_SIZE - 1) bytes
+ /* cyclic buffer size must be at least (COPY_CHUNK_SIZE - 1) bytes
larger than window size, because CopyMatch() can write additional
- (COPY_CHUNK_SIZE - 1) bytes and overwrite oldests data in cyclyc buffer.
+ (COPY_CHUNK_SIZE - 1) bytes and overwrite oldest data in cyclic buffer.
But for performance reasons we align (cycSize) for (kBlockSizeMax).
also we must provide (cycSize >= max_decoded_data_after_cycSize),
because after data move wrapping over zero we must provide (winPos < cycSize).
@@ -3984,7 +3984,7 @@ SRes ZstdDec_Decode(CZstdDecHandle dec, CZstdDecState *p)
/*
else
{
- // for non-cyclycMode we want flush data, and set winPos = 0
+ // for non-cyclicMode we want flush data, and set winPos = 0
if (needWrite)
{
if (!useCyclic || dec->decoder.winPos >= cycSize)
diff --git a/C/ZstdDec.h b/C/ZstdDec.h
index cd2613183..2e64458bf 100644
--- a/C/ZstdDec.h
+++ b/C/ZstdDec.h
@@ -18,7 +18,7 @@ typedef enum
ZSTD_STATUS_FINISHED_FRAME, /* data frame or skip frame was finished */
ZSTD_STATUS_NOT_FINISHED, /* just finished non-empty block or unfinished RAW/RLE block */
ZSTD_STATUS_NEEDS_MORE_INPUT, /* the callee needs more input bytes. It has more priority over ZSTD_STATUS_NOT_FINISHED */
- ZSTD_STATUS_OUT_REACHED /* is not finihed frame and ((outProcessed > outSize) || (outProcessed == outSize && unfinished RAW/RLE block) */
+ ZSTD_STATUS_OUT_REACHED /* is not finished frame and ((outProcessed > outSize) || (outProcessed == outSize && unfinished RAW/RLE block) */
} enum_ZstdStatus_Dummy;
#define ZstdDecState_DOES_NEED_MORE_INPUT_OR_FINISHED_FRAME(p) \
diff --git a/CPP/7zip/Archive/7z/7zOut.cpp b/CPP/7zip/Archive/7z/7zOut.cpp
index d0c8cf293..c5ca36669 100644
--- a/CPP/7zip/Archive/7z/7zOut.cpp
+++ b/CPP/7zip/Archive/7z/7zOut.cpp
@@ -601,7 +601,7 @@ void COutArchive::WriteHeader(
/*
{
- // It's example for per archive properies writing
+ // It's example for per archive properties writing
WriteByte(NID::kArchiveProperties);
diff --git a/CPP/7zip/Archive/ApfsHandler.cpp b/CPP/7zip/Archive/ApfsHandler.cpp
index 287699182..01f5a5415 100644
--- a/CPP/7zip/Archive/ApfsHandler.cpp
+++ b/CPP/7zip/Archive/ApfsHandler.cpp
@@ -1857,7 +1857,7 @@ struct CKeyValPair
{
CByteBuffer Key;
CByteBuffer Val;
- // unsigned ValPos; // for alognment
+ // unsigned ValPos; // for alignment
};
@@ -1945,7 +1945,7 @@ struct CMap
btree_info bti;
UInt64 NumNodes;
- // we use thnese options to check:
+ // we use these options to check:
UInt32 Subtype;
bool IsPhysical;
@@ -2884,7 +2884,7 @@ HRESULT CDatabase::OpenVolume(const CObjectMap &omap, const oid_t fs_oid)
return S_FALSE;
if (vol.NodeIDs.Back() != id)
{
- // extents for Attributs;
+ // extents for Attributes;
if (vol.SmallNodeIDs.IsEmpty() ||
vol.SmallNodeIDs.Back() != id)
{
@@ -3365,7 +3365,7 @@ HRESULT CVol::FillRefs()
CRef &ref = Refs[item.RefIndex];
/*
- // it's optional check that parent_id is set correclty
+ // it's optional check that parent_id is set correctly
if (IsViDef(ref.NodeIndex))
{
const CNode &node = Nodes[ref.NodeIndex];
@@ -3377,7 +3377,7 @@ HRESULT CVol::FillRefs()
/*
if (id == ROOT_DIR_INO_NUM)
{
- // ItemIndex in Node for ROOT_DIR_INO_NUM was not set bofere
+ // ItemIndex in Node for ROOT_DIR_INO_NUM was not set before
// probably unused now.
ref.ParentRefIndex = VI_MINUS1;
}
diff --git a/CPP/7zip/Archive/Base64Handler.cpp b/CPP/7zip/Archive/Base64Handler.cpp
index 4df491c12..e158d52dc 100644
--- a/CPP/7zip/Archive/Base64Handler.cpp
+++ b/CPP/7zip/Archive/Base64Handler.cpp
@@ -83,7 +83,7 @@ API_FUNC_static_IsArc IsArc_Base64(const Byte *p, size_t size)
}
{
- // we try to redece false positive detection here.
+ // we try to reduce false positive detection here.
// we don't expect space character in starting base64 line
const unsigned kNumExpectedNonSpaceSyms = 20;
if (firstSpace != 0 && firstSpace < num && firstSpace < kNumExpectedNonSpaceSyms)
diff --git a/CPP/7zip/Archive/ComHandler.cpp b/CPP/7zip/Archive/ComHandler.cpp
index 5bbdf07d5..4b7b1111c 100644
--- a/CPP/7zip/Archive/ComHandler.cpp
+++ b/CPP/7zip/Archive/ComHandler.cpp
@@ -853,7 +853,7 @@ HRESULT CDatabase::Open(IInStream *inStream)
used[sid] = k_Used_ChainTo;
do
{
- // we need to check sid here becase kEndOfChain sid < numFatItems is required
+ // we need to check sid here because kEndOfChain sid < numFatItems is required
if (sid >= numFatItems)
return S_FALSE;
if (numDirSectors && numDirSectors_Processed >= numDirSectors)
@@ -1010,7 +1010,7 @@ HRESULT CDatabase::Open(IInStream *inStream)
}
{
- // Don't move that code up, becase Check_Item uses Mat[] array.
+ // Don't move that code up, because Check_Item uses Mat[] array.
FOR_VECTOR(t, Items)
{
RINOK(Check_Item(t))
diff --git a/CPP/7zip/Archive/CpioHandler.cpp b/CPP/7zip/Archive/CpioHandler.cpp
index e1d6d81d9..a0d83994e 100644
--- a/CPP/7zip/Archive/CpioHandler.cpp
+++ b/CPP/7zip/Archive/CpioHandler.cpp
@@ -320,7 +320,7 @@ HRESULT CInArchive::GetNextItem()
UInt32 namePos;
/* we try to reduce probability of false detection,
- so we check some fields for unuxpected values */
+ so we check some fields for unexpected values */
if (p[0] != '0')
{
@@ -719,7 +719,7 @@ Z7_COM7F_IMF(CHandler::Open(IInStream *stream, const UInt64 *, IArchiveOpenCallb
{
// Read tailing zeros.
// Most of cpio files use 512-bytes aligned zeros
- // rare case: 4K/8K aligment is possible also
+ // rare case: 4K/8K alignment is possible also
const unsigned kTailSize_MAX = 1 << 9;
Byte buf[kTailSize_MAX];
diff --git a/CPP/7zip/Archive/DmgHandler.cpp b/CPP/7zip/Archive/DmgHandler.cpp
index 9079dc7f9..c9c710a23 100644
--- a/CPP/7zip/Archive/DmgHandler.cpp
+++ b/CPP/7zip/Archive/DmgHandler.cpp
@@ -976,12 +976,12 @@ HRESULT CHandler::Open2(IInStream *stream, IArchiveOpenCallback *openArchiveCall
memcpy(_segmentGUID, (const Byte *)(const void *)buf + 0x40, 16);
_dataForkChecksum.Parse((const Byte *)(const void *)buf + 0x50);
xmlPair.Parse((const Byte *)(const void *)buf + 0xD8);
- // Byte resereved[]
+ // Byte reserved[]
blobPair.Parse((const Byte *)(const void *)buf + 0x128);
_masterChecksum.Parse((const Byte *)(const void *)buf + 0x160);
// UInt32 imageVariant = Get32a((const Byte *)(const void *)buf + 0x1E8); imageVariant = imageVariant;
_numSectors = Get64((const Byte *)(const void *)buf + 0x1EC); // it's not aligned for 8-bytes
- // Byte resereved[12];
+ // Byte reserved[12];
if (_dataForkPair.Offset == HEADER_SIZE
&& headerPos + HEADER_SIZE < fileSize)
@@ -1297,7 +1297,7 @@ HRESULT CHandler::Open2(IInStream *stream, IArchiveOpenCallback *openArchiveCall
{
/* xml code removes front space for such string:
(Apple_Free : 3)
- maybe we shoud fix xml code and return full string with space.
+ maybe we should fix xml code and return full string with space.
*/
const AString *name = GetStringFromKeyPair(item, "Name", "string");
if (!name || name->IsEmpty())
diff --git a/CPP/7zip/Archive/GptHandler.cpp b/CPP/7zip/Archive/GptHandler.cpp
index 4c291c455..49eb7e148 100644
--- a/CPP/7zip/Archive/GptHandler.cpp
+++ b/CPP/7zip/Archive/GptHandler.cpp
@@ -462,7 +462,7 @@ Z7_COM7F_IMF(CHandler::GetProperty(UInt32 index, PROPID propID, PROPVARIANT *val
COM_TRY_END
}
-// we suppport signature only for 512-bytes sector.
+// we support signature only for 512-bytes sector.
REGISTER_ARC_I(
"GPT", "gpt mbr", NULL, 0xCB,
k_Signature,
diff --git a/CPP/7zip/Archive/GzHandler.cpp b/CPP/7zip/Archive/GzHandler.cpp
index ca9d24613..0edf30f41 100644
--- a/CPP/7zip/Archive/GzHandler.cpp
+++ b/CPP/7zip/Archive/GzHandler.cpp
@@ -228,7 +228,7 @@ static UInt32 Is_Deflate(const Byte *p, size_t size)
return k_IsArc_Res_NO;
if (type == 0)
{
- // Stored (uncompreessed data)
+ // Stored (uncompressed data)
if ((b >> 3) != 0)
return k_IsArc_Res_NO;
if (size < 4)
diff --git a/CPP/7zip/Archive/HfsHandler.cpp b/CPP/7zip/Archive/HfsHandler.cpp
index 5df00edeb..2f500a85f 100644
--- a/CPP/7zip/Archive/HfsHandler.cpp
+++ b/CPP/7zip/Archive/HfsHandler.cpp
@@ -340,7 +340,7 @@ void CCompressHeader::MethodToProp(NWindows::NCOM::CPropVariant &prop) const
s = p;
else
s.Add_UInt32(method);
- // if (!IsSupported) s += "-unsuported";
+ // if (!IsSupported) s += "-unsupported";
prop = s;
}
@@ -1478,7 +1478,7 @@ HRESULT CDatabase::Open2(IInStream *inStream, IArchiveOpenCallback *progress)
}
#if 1
// HFS Plus DOCs: The first 1024 bytes are reserved for use as boot blocks
- // v24.09: we don't check starting 1 KiB before old (HFS MDB) block ("BD" signture) .
+ // v24.09: we don't check starting 1 KiB before old (HFS MDB) block ("BD" signature) .
// but we still check starting 1 KiB before HFS+ / HFSX volume header.
// are there HFS+ / HFSX images with non-zero data in this reserved area?
{
diff --git a/CPP/7zip/Archive/IArchive.h b/CPP/7zip/Archive/IArchive.h
index 9dcb2802a..75323379a 100644
--- a/CPP/7zip/Archive/IArchive.h
+++ b/CPP/7zip/Archive/IArchive.h
@@ -37,7 +37,7 @@ How the function in 7-Zip returns object for output parameter via pointer
4) The caller must free or release object returned by the callee:
PROPVARIANT : VariantClear(&propvaiant)
BSTR : SysFreeString(bstr)
- IUnknown* and derived interfaces : if (ptr) ptr->Relase()
+ IUnknown* and derived interfaces : if (ptr) ptr->Release()
*/
diff --git a/CPP/7zip/Archive/Nsis/NsisHandler.cpp b/CPP/7zip/Archive/Nsis/NsisHandler.cpp
index 7ce2e8e59..0f9c8f4b6 100644
--- a/CPP/7zip/Archive/Nsis/NsisHandler.cpp
+++ b/CPP/7zip/Archive/Nsis/NsisHandler.cpp
@@ -440,7 +440,7 @@ Z7_COM7F_IMF(CHandler::Extract(const UInt32 *indices, UInt32 numItems,
/* We use tempBuf for solid archives, if there is duplicate item.
We don't know uncompressed size for non-solid archives, so we can't
allocate exact buffer.
- We use tempBuf also for first part (EXE stub) of unistall.exe
+ We use tempBuf also for first part (EXE stub) of uninstall.exe
and tempBuf2 is used for second part (NSIS script). */
CByteBuffer tempBuf;
diff --git a/CPP/7zip/Archive/Nsis/NsisIn.cpp b/CPP/7zip/Archive/Nsis/NsisIn.cpp
index 577062ef2..3dbd3d46f 100644
--- a/CPP/7zip/Archive/Nsis/NsisIn.cpp
+++ b/CPP/7zip/Archive/Nsis/NsisIn.cpp
@@ -148,7 +148,7 @@ enum
EW_FGETWS, // FileReadUTF16LE, FileReadWord
/*
- // since v3.06 the fllowing IDs codes was moved here:
+ // since v3.06 the following IDs codes was moved here:
// Opcodes listed here are not actually used in exehead. No exehead opcodes should be present after these!
EW_GETLABELADDR, // --> EW_ASSIGNVAR
EW_GETFUNCTIONADDR, // --> EW_ASSIGNVAR
@@ -1914,7 +1914,7 @@ static const char * const kExecFlags_VarsNames[] =
, "Abort" // abort;
, "RebootFlag" // exec_reboot; // NSIS_SUPPORT_REBOOT
, "reboot_called" // reboot_called; // NSIS_SUPPORT_REBOOT
- , "cur_insttype" // XXX_cur_insttype; // depreacted
+ , "cur_insttype" // XXX_cur_insttype; // deprecated
, "plugin_api_version" // plugin_api_version; // see NSISPIAPIVER_CURR
// used to be XXX_insttype_changed
, "Silent" // silent; // NSIS_CONFIG_SILENT_SUPPORT
diff --git a/CPP/7zip/Archive/Rar/Rar5Handler.cpp b/CPP/7zip/Archive/Rar/Rar5Handler.cpp
index c15ff528e..2fdb897c5 100644
--- a/CPP/7zip/Archive/Rar/Rar5Handler.cpp
+++ b/CPP/7zip/Archive/Rar/Rar5Handler.cpp
@@ -1990,7 +1990,7 @@ Z7_COM7F_IMF(CHandler::GetProperty(UInt32 index, PROPID propID, PROPVARIANT *val
{
const CItem *item2 = (lastItem.IsSplitAfter() ? &item : &lastItem);
// we don't want to show crc for encrypted file here,
- // because crc is also encrrypted.
+ // because crc is also encrypted.
if (item2->Has_CRC() && !item2->IsEncrypted())
prop = item2->CRC;
break;
@@ -3120,7 +3120,7 @@ Z7_COM7F_IMF(CHandler::Extract(const UInt32 *indices, UInt32 numItems,
/*
// link files are complicated cases. (ref->Link >= 0)
// link file can refer to non-solid file that can have big dictionary
- // link file can refer to solid files that requres buffer
+ // link file can refer to solid files that requires buffer
if (!item->IsDir() && requestMem && ref->Link < 0)
{
bool needSkip = false;
diff --git a/CPP/7zip/Archive/Rar/RarHandler.cpp b/CPP/7zip/Archive/Rar/RarHandler.cpp
index 6c53847b5..41cd141f3 100644
--- a/CPP/7zip/Archive/Rar/RarHandler.cpp
+++ b/CPP/7zip/Archive/Rar/RarHandler.cpp
@@ -126,7 +126,7 @@ static const char * const k_Flags[] =
, "Comment"
, "Lock"
, "Solid"
- , "NewVolName" // pack_comment in old versuons
+ , "NewVolName" // pack_comment in old versions
, "Authenticity"
, "Recovery"
, "BlockEncryption"
diff --git a/CPP/7zip/Archive/Rar/RarHeader.h b/CPP/7zip/Archive/Rar/RarHeader.h
index 031fea62f..f6a193e0c 100644
--- a/CPP/7zip/Archive/Rar/RarHeader.h
+++ b/CPP/7zip/Archive/Rar/RarHeader.h
@@ -42,7 +42,7 @@ namespace NArchive
const UInt16 kBlockEncryption = 0x80;
const UInt16 kFirstVolume = 0x100; // (set only by RAR 3.0 and later)
- // const UInt16 kEncryptVer = 0x200; // RAR 3.6 : that feature was discarded by origial RAR
+ // const UInt16 kEncryptVer = 0x200; // RAR 3.6 : that feature was discarded by original RAR
const UInt16 kEndOfArc_Flags_NextVol = 1;
const UInt16 kEndOfArc_Flags_DataCRC = 2;
diff --git a/CPP/7zip/Archive/Udf/UdfIn.cpp b/CPP/7zip/Archive/Udf/UdfIn.cpp
index e5332b53e..acc11688f 100644
--- a/CPP/7zip/Archive/Udf/UdfIn.cpp
+++ b/CPP/7zip/Archive/Udf/UdfIn.cpp
@@ -461,7 +461,7 @@ Deleted bit:
the implementation shall set the ICB field to zero.
ECMA 167 4/8.6 requires that the File Identifiers of all FIDs in a directory shall be unique.
The implementations shall follow these rules when a Deleted bit is set:
- rewrire the compression ID of the File Identifier: 8 -> 254, 16 -> 255.
+ rewrite the compression ID of the File Identifier: 8 -> 254, 16 -> 255.
*/
struct CFileId
@@ -586,7 +586,7 @@ HRESULT CInArchive::ReadItem(unsigned volIndex, int fsIndex, const CLongAllocDes
item.IcbTag.Parse(p + 16);
// maybe another FileType values are possible in rare cases.
- // Shoud we ignore FileType here?
+ // Should we ignore FileType here?
if (fsIndex < 0)
{
// if (item.IcbTag.FileType == ICB_FILE_TYPE_DIR) return S_FALSE;
diff --git a/CPP/7zip/Archive/UefiHandler.cpp b/CPP/7zip/Archive/UefiHandler.cpp
index d53fb447e..c9b7fe328 100644
--- a/CPP/7zip/Archive/UefiHandler.cpp
+++ b/CPP/7zip/Archive/UefiHandler.cpp
@@ -303,12 +303,12 @@ static const CUInt32PCharPair g_FFS_FILE_ATTRIBUTES[] =
{ 6, "" /* "CHECKSUM" */ }
};
-// static const Byte g_Allignment[8] = { 3, 4, 7, 9, 10, 12, 15, 16 };
+// static const Byte g_Alignment[8] = { 3, 4, 7, 9, 10, 12, 15, 16 };
// typedef Byte FFS_FILE_STATE;
// Look also FVB_ERASE_POLARITY.
-// Lower-order State bits are superceded by higher-order State bits.
+// Lower-order State bits are superseded by higher-order State bits.
// #define FILE_HEADER_CONSTRUCTION 0x01
// #define FILE_HEADER_VALID 0x02
@@ -553,7 +553,7 @@ PRF(public:)
if (align != 0)
{
s += " Align:";
- s.Add_UInt32((UInt32)1 << g_Allignment[align]);
+ s.Add_UInt32((UInt32)1 << g_Alignment[align]);
}
*/
return s;
@@ -1118,7 +1118,7 @@ HRESULT CHandler::ParseSections(unsigned bufIndex, UInt32 posBase, UInt32 size,
// item.Name = "guid.lzma";
// AddItem(item);
const Byte *pStart = bufData + newOffset;
- // do we need correct pStart here for lzma steram offset?
+ // do we need correct pStart here for lzma stream offset?
RINOK(DecodeLzma(pStart, newSectSize))
_methodsMask |= (1 << COMPRESSION_TYPE_LZMA);
newBufIndex = _bufs.Size() - 1;
diff --git a/CPP/7zip/Archive/VhdxHandler.cpp b/CPP/7zip/Archive/VhdxHandler.cpp
index ca450e5d5..96aa51223 100644
--- a/CPP/7zip/Archive/VhdxHandler.cpp
+++ b/CPP/7zip/Archive/VhdxHandler.cpp
@@ -1209,7 +1209,7 @@ HRESULT CHandler::Open3()
AddErrorMessage("non-empty LOG was not replayed");
/*
if (h.LogVersion != 0)
- AddErrorMessage("unknown LogVresion");
+ AddErrorMessage("unknown LogVersion");
else
{
CByteBuffer log;
@@ -2063,7 +2063,7 @@ Z7_COM7F_IMF(CHandler::GetStream(UInt32 /* index */, ISequentialInStream **strea
{
COM_TRY_BEGIN
*stream = NULL;
- // if some prarent is not OK, we don't create stream
+ // if some parent is not OK, we don't create stream
if (!AreParentsOK())
return S_FALSE;
InitSeekPositions();
diff --git a/CPP/7zip/Archive/Wim/WimHandlerOut.cpp b/CPP/7zip/Archive/Wim/WimHandlerOut.cpp
index 0fd7d2391..4d356a4d7 100644
--- a/CPP/7zip/Archive/Wim/WimHandlerOut.cpp
+++ b/CPP/7zip/Archive/Wim/WimHandlerOut.cpp
@@ -104,7 +104,7 @@ struct CMetaItem
UString ShortName;
UInt32 Attrib;
- int SecurityId; // -1: means no secutity ID
+ int SecurityId; // -1: means no security ID
bool IsDir;
bool Skip;
unsigned NumSkipAltStreams;
diff --git a/CPP/7zip/Archive/XarHandler.cpp b/CPP/7zip/Archive/XarHandler.cpp
index cba546efd..2fd8fcabf 100644
--- a/CPP/7zip/Archive/XarHandler.cpp
+++ b/CPP/7zip/Archive/XarHandler.cpp
@@ -502,7 +502,7 @@ static bool AddItem(const CXmlItem &item, CObjectVector &files, int paren
file.UserId_Defined = ParseUInt64(item, "uid", file.UserId);
file.GroupId_Defined = ParseUInt64(item, "gid", file.GroupId);
// file.Device_Defined = ParseUInt64(item, "deviceno", file.Device);
- file.MTime = ParseTime(item, "mtime"); // z_IsRequied = true
+ file.MTime = ParseTime(item, "mtime"); // z_IsRequired = true
file.CTime = ParseTime(item, "ctime");
file.ATime = ParseTime(item, "atime");
{
@@ -648,7 +648,7 @@ HRESULT CHandler::Open2(IInStream *stream)
if (!toc.IsTagged("toc"))
return S_FALSE;
- // CreationTime = ParseTime(toc, "creation-time", false); // z_IsRequied
+ // CreationTime = ParseTime(toc, "creation-time", false); // z_IsRequired
CreationTime_String = toc.GetSubStringForTag("creation-time");
{
// we suppose that offset of checksum is always 0;
diff --git a/CPP/7zip/Archive/Zip/ZipIn.cpp b/CPP/7zip/Archive/Zip/ZipIn.cpp
index 9d77e87fe..3fd6db337 100644
--- a/CPP/7zip/Archive/Zip/ZipIn.cpp
+++ b/CPP/7zip/Archive/Zip/ZipIn.cpp
@@ -606,7 +606,7 @@ static const Byte *FindPK_4(const Byte *p, const Byte *limit)
ArcInfo.MarkerPos : Pos of first signature
ArcInfo.MarkerPos2 : Pos of main signature (local item signature in most cases)
_streamPos : stream pos
- _cnt : The number of virtal Bytes after start of search to offset after signature
+ _cnt : The number of virtual Bytes after start of search to offset after signature
_signature : main signature
S_FALSE: can't find marker, or there is some non-zip data after marker
@@ -1451,7 +1451,7 @@ HRESULT CInArchive::Read_LocalItem_After_CdItem(CItemEx &item, bool &isAvail, bo
if ( item.DescriptorWasRead) : if descriptor was found
if (!item.DescriptorWasRead) : if descriptor was not found : unexpected end of stream(s)
- S_FALSE: if no items or there is just one item with strange properies that doesn't look like real archive.
+ S_FALSE: if no items or there is just one item with strange properties that doesn't look like real archive.
another error code: Callback error.
@@ -1476,8 +1476,8 @@ HRESULT CInArchive::FindDescriptor(CItemEx &item, unsigned numFiles)
But some old third-party xps archives used 64-bit descriptor without zip64 extra. */
// unsigned descriptorSize = kDataDescriptorSize64 + kNextSignatureSize;
- // const unsigned kNextSignatureSize = 0; // we can disable check for next signatuire
- const unsigned kNextSignatureSize = 4; // we check also for signature for next File headear
+ // const unsigned kNextSignatureSize = 0; // we can disable check for next signature
+ const unsigned kNextSignatureSize = 4; // we check also for signature for next File header
const unsigned descriptorSize4 = item.GetDescriptorSize() + kNextSignatureSize;
@@ -1521,7 +1521,7 @@ HRESULT CInArchive::FindDescriptor(CItemEx &item, unsigned numFiles)
if (Get32(p) != NSignature::kDataDescriptor)
continue;
- // we check next signatuire after descriptor
+ // we check next signature after descriptor
// maybe we need check only 2 bytes "PK" instead of 4 bytes, if some another type of header is possible after descriptor
const UInt32 sig = Get32(p + descriptorSize4 - kNextSignatureSize);
if ( sig != NSignature::kLocalFileHeader
@@ -2056,7 +2056,7 @@ static bool IsStrangeItem(const CItem &item)
(_signature != NSignature::kLocalFileHeade)
_streamPos : after _signature
- S_FALSE: if no items or there is just one item with strange properies that doesn't look like real archive.
+ S_FALSE: if no items or there is just one item with strange properties that doesn't look like real archive.
another error code: stream reading error or Callback error.
@@ -2182,7 +2182,7 @@ HRESULT CVols::ParseArcName(IArchiveOpenVolumeCallback *volCallback)
BaseName = name;
StartVolIndex = 0;
/* sfx-zip can use both arc.exe and arc.zip
- We can open arc.zip, if it was requesed to open arc.exe.
+ We can open arc.zip, if it was requested to open arc.exe.
But it's possible that arc.exe and arc.zip are not parts of same archive.
So we can disable such operation */
@@ -3216,7 +3216,7 @@ else
// DisableBufMode();
// Buffer.Free();
- /* we can't clear buf varibles. we need them to calculate PhySize of archive */
+ /* we can't clear buf variables. we need them to calculate PhySize of archive */
if ((UInt16)cdInfo.NumEntries != (UInt16)numCdItems
|| (UInt32)cdInfo.Size != (UInt32)cdSize
diff --git a/CPP/7zip/Bundles/SFXSetup/SfxSetup.cpp b/CPP/7zip/Bundles/SFXSetup/SfxSetup.cpp
index 20fa952b4..ac6a2c405 100644
--- a/CPP/7zip/Bundles/SFXSetup/SfxSetup.cpp
+++ b/CPP/7zip/Bundles/SFXSetup/SfxSetup.cpp
@@ -311,7 +311,7 @@ int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE /* hPrevInstance */,
appLaunched.Replace(L"%%T" WSTRING_PATH_SEPARATOR, fs2us(s2));
}
- const UString appNameForError = appLaunched; // actually we need to rtemove parameters also
+ const UString appNameForError = appLaunched; // actually we need to remove parameters also
appLaunched.Replace(L"%%T", fs2us(tempDirPath));
diff --git a/CPP/7zip/Common/FileStreams.cpp b/CPP/7zip/Common/FileStreams.cpp
index b7e4fbe28..706c7ec48 100644
--- a/CPP/7zip/Common/FileStreams.cpp
+++ b/CPP/7zip/Common/FileStreams.cpp
@@ -269,7 +269,7 @@ Z7_COM7F_IMF(CStdInFileStream::Read(void *data, UInt32 size, UInt32 *processedSi
BOOL res = ::ReadFile(GetStdHandle(STD_INPUT_HANDLE), data, sizeTemp, &realProcessedSize, NULL);
/*
- printf("\nCInFileStream::Read: size=%d, processed=%8d res=%d 4rror=%3d\n",
+ printf("\nCInFileStream::Read: size=%d, processed=%8d res=%d error=%3d\n",
(unsigned)size, (int)realProcessedSize,
(int)res, GetLastError());
*/
diff --git a/CPP/7zip/Common/FilterCoder.cpp b/CPP/7zip/Common/FilterCoder.cpp
index 8d7e0dccf..6fc14f8c0 100644
--- a/CPP/7zip/Common/FilterCoder.cpp
+++ b/CPP/7zip/Common/FilterCoder.cpp
@@ -101,7 +101,7 @@ Z7_COM7F_IMF(CFilterCoder::Code(ISequentialInStream *inStream, ISequentialOutStr
For all cases, even for cases with partial filtering (BCJ/ARMT),
we try to keep real/virtual alignment for all operations
(memmove, Read(), Filter(), Write()).
- We use (kAlignSize=64) alignmnent that is larger than (16-bytes)
+ We use (kAlignSize=64) alignment that is larger than (16-bytes)
required for AES filter alignment.
AES-CBC uses 16-bytes blocks, that is simple case for processing here,
@@ -164,9 +164,9 @@ Z7_COM7F_IMF(CFilterCoder::Code(ISequentialInStream *inStream, ISequentialOutStr
We have aligned (readPos) for any filter, if (!inputFinished).
We also meet the requirements for (data) pointer in Filter() call:
{
- (virtual_stream_offset % aligment_size) == (data_ptr % aligment_size)
- (aligment_size == 2^N)
- (aligment_size >= 16)
+ (virtual_stream_offset % alignment_size) == (data_ptr % alignment_size)
+ (alignment_size == 2^N)
+ (alignment_size >= 16)
}
*/
const UInt32 cur = Filter->Filter(_buf + filterPos, readPos - filterPos);
diff --git a/CPP/7zip/Common/StreamBinder.h b/CPP/7zip/Common/StreamBinder.h
index c0a70793c..68dfb0db2 100644
--- a/CPP/7zip/Common/StreamBinder.h
+++ b/CPP/7zip/Common/StreamBinder.h
@@ -59,7 +59,7 @@ class CStreamBinder
*/
/*
- We must relase Semaphore only once !!!
+ We must release Semaphore only once !!!
we must release at least 2 items of Semaphore:
one item to unlock partial Write(), if Read() have read some items
then additional item to stop writing (_bufSize will be 0)
diff --git a/CPP/7zip/Compress/BZip2Encoder.cpp b/CPP/7zip/Compress/BZip2Encoder.cpp
index af0b31242..487d0da7f 100644
--- a/CPP/7zip/Compress/BZip2Encoder.cpp
+++ b/CPP/7zip/Compress/BZip2Encoder.cpp
@@ -31,7 +31,7 @@ bool CThreadInfo::Alloc()
if (!m_Block_Base)
{
- const unsigned kPadSize = 1 << 7; // we need at least 1 byte backward padding, becuase we use (m_Block - 1) pointer;
+ const unsigned kPadSize = 1 << 7; // we need at least 1 byte backward padding, because we use (m_Block - 1) pointer;
m_Block_Base = (Byte *)::MidAlloc(kBlockSizeMax * 5
+ kBlockSizeMax / 10 + (20 << 10)
+ kPadSize);
diff --git a/CPP/7zip/Compress/Bcj2Coder.cpp b/CPP/7zip/Compress/Bcj2Coder.cpp
index 4fa42a5a2..ede5620bb 100644
--- a/CPP/7zip/Compress/Bcj2Coder.cpp
+++ b/CPP/7zip/Compress/Bcj2Coder.cpp
@@ -172,7 +172,7 @@ HRESULT CEncoder::CodeReal(
// enc.relatExcludeBits = _excludeRangeBits;
enc.finishMode = BCJ2_ENC_FINISH_MODE_CONTINUE;
- // Varibales that correspond processed data in input stream:
+ // Variables that correspond processed data in input stream:
UInt64 inPos_without_Temp = 0; // it doesn't include data in enc.temp[]
UInt64 inPos_with_Temp = 0; // it includes data in enc.temp[]
diff --git a/CPP/7zip/Compress/LzfseDecoder.cpp b/CPP/7zip/Compress/LzfseDecoder.cpp
index b224a3398..960c42ba6 100644
--- a/CPP/7zip/Compress/LzfseDecoder.cpp
+++ b/CPP/7zip/Compress/LzfseDecoder.cpp
@@ -626,7 +626,7 @@ HRESULT CDecoder::DecodeLzfse(UInt32 unpackSize, Byte version)
// (total header size in bytes; this does not
// correspond to a field in the uncompressed header version,
// but is required; we wouldn't know the size of the
- // compresssed header otherwise.
+ // compressed header otherwise.
GET_BITS_32(v32, 0, 10, l_state)
GET_BITS_32(v32, 10, 10, m_state)
GET_BITS_32(v32, 20, 10 + 2, d_state)
diff --git a/CPP/7zip/Compress/LzxDecoder.h b/CPP/7zip/Compress/LzxDecoder.h
index b4556a6a7..f3c4ecd6c 100644
--- a/CPP/7zip/Compress/LzxDecoder.h
+++ b/CPP/7zip/Compress/LzxDecoder.h
@@ -25,7 +25,7 @@ const unsigned kNumLenSymols_Big = kNumLenSymols_Big_Start + kNumLenSymbols;
// for smallest structure size:
const unsigned kPosSlotOffset = 0;
#else
- // use virtual entries for mispredicted branches:
+ // use virtual entries for unpredicted branches:
const unsigned kPosSlotOffset = 256 / kNumLenSlots;
#endif
diff --git a/CPP/7zip/Compress/Rar5Decoder.cpp b/CPP/7zip/Compress/Rar5Decoder.cpp
index 7279b5ac0..e2b854433 100644
--- a/CPP/7zip/Compress/Rar5Decoder.cpp
+++ b/CPP/7zip/Compress/Rar5Decoder.cpp
@@ -337,7 +337,7 @@ class CBitDecoder
unsigned _bitPos; // = [0 ... 7]
bool _wasFinished;
bool _minorError;
- unsigned _blockEndBits7; // = [0 ... 7] : the number of additional bits in (_blockEnd) poisition.
+ unsigned _blockEndBits7; // = [0 ... 7] : the number of additional bits in (_blockEnd) position.
HRESULT _hres;
const Byte *_bufCheck; // relaxed limit (16 bytes before real end of input data in buffer)
Byte *_bufLim; // end if input data
diff --git a/CPP/7zip/Compress/ZDecoder.cpp b/CPP/7zip/Compress/ZDecoder.cpp
index 25eb80ee2..ad6b8bbae 100644
--- a/CPP/7zip/Compress/ZDecoder.cpp
+++ b/CPP/7zip/Compress/ZDecoder.cpp
@@ -63,7 +63,7 @@ HRESULT CDecoder::Code(ISequentialInStream *inStream, ISequentialOutStream *outS
if (maxbits < kNumMinBits || maxbits > kNumMaxBits)
return S_FALSE;
const UInt32 numItems = (UInt32)1 << maxbits;
- // Speed optimization: blockSymbol can contain unused velue.
+ // Speed optimization: blockSymbol can contain unused value.
if (maxbits != _numMaxBits || !_parents || !_suffixes || !_stack)
{
diff --git a/CPP/7zip/Compress/ZlibDecoder.cpp b/CPP/7zip/Compress/ZlibDecoder.cpp
index dc018942c..226ccbbbe 100644
--- a/CPP/7zip/Compress/ZlibDecoder.cpp
+++ b/CPP/7zip/Compress/ZlibDecoder.cpp
@@ -117,7 +117,7 @@ Z7_COM7F_IMF(CDecoder::Code(ISequentialInStream *inStream, ISequentialOutStream
return S_FALSE; // adler error
}
else if (!IsAdlerOptional)
- return S_FALSE; // unexpeced end of stream (can't read adler)
+ return S_FALSE; // unexpected end of stream (can't read adler)
else
{
// IsAdlerOptional == true
diff --git a/CPP/7zip/IStream.h b/CPP/7zip/IStream.h
index 0c44a9178..6a31919b1 100644
--- a/CPP/7zip/IStream.h
+++ b/CPP/7zip/IStream.h
@@ -151,13 +151,13 @@ IStreamSetRestriction::SetRestriction(UInt64 begin, UInt64 end)
- The callee usually doesn't flush the data in restricted region.
- The callee usually can flush data from non-restricted region after writing.
-Actual restiction rules depend also from current stream position.
+Actual restriction rules depend also from current stream position.
It's recommended to call SetRestriction() just before the Write() call.
So the callee can optimize writing and flushing, if that Write()
operation is not restricted.
-Note: Each new call of SetRestriction() sets new restictions,
-so previous restrction calls has no effect anymore.
+Note: Each new call of SetRestriction() sets new restrictions,
+so previous restriction calls has no effect anymore.
inputs:
diff --git a/CPP/7zip/PropID.h b/CPP/7zip/PropID.h
index e07479428..6c9c2ea46 100644
--- a/CPP/7zip/PropID.h
+++ b/CPP/7zip/PropID.h
@@ -156,8 +156,8 @@ PROPVARIANT for timestamps in 7-Zip:
16 + (1,2,3,4,5,6,7,8,9) : set subsecond precision level :
(number of decimal digits after point)
16 + 9 : 1 ns (9 digits after point)
- wReserved2 = ns % 100 : if (8 or 9 digits pecision)
- = 0 : if not (8 or 9 digits pecision)
+ wReserved2 = ns % 100 : if (8 or 9 digits precision)
+ = 0 : if not (8 or 9 digits precision)
wReserved3 = 0;
filetime
}
diff --git a/CPP/7zip/UI/Agent/AgentProxy.cpp b/CPP/7zip/UI/Agent/AgentProxy.cpp
index c8edd193f..b952294e1 100644
--- a/CPP/7zip/UI/Agent/AgentProxy.cpp
+++ b/CPP/7zip/UI/Agent/AgentProxy.cpp
@@ -378,7 +378,7 @@ HRESULT CProxyArc::Load(const CArc &arc, IProgress *progress)
}
/*
- that code must be implemeted to hide alt streams in list.
+ that code must be implemented to hide alt streams in list.
if (arc.Ask_AltStreams)
{
bool isAltStream;
diff --git a/CPP/7zip/UI/Client7z/Client7z.cpp b/CPP/7zip/UI/Client7z/Client7z.cpp
index b1e43dade..378977614 100644
--- a/CPP/7zip/UI/Client7z/Client7z.cpp
+++ b/CPP/7zip/UI/Client7z/Client7z.cpp
@@ -335,7 +335,7 @@ class CArchiveExtractCallback Z7_final:
CMyComPtr _archiveHandler;
FString _directoryPath; // Output directory
- UString _filePath; // name inside arcvhive
+ UString _filePath; // name inside archive
FString _diskFilePath; // full path to file on disk
bool _extractMode;
struct CProcessedFileInfo
diff --git a/CPP/7zip/UI/Common/ArchiveCommandLine.cpp b/CPP/7zip/UI/Common/ArchiveCommandLine.cpp
index f27387065..023b22064 100644
--- a/CPP/7zip/UI/Common/ArchiveCommandLine.cpp
+++ b/CPP/7zip/UI/Common/ArchiveCommandLine.cpp
@@ -580,7 +580,7 @@ static void AddToCensorFromNonSwitchesStrings(
/* for rename command: -i switch sets the mask for archive item reading.
if (thereAreSwitchIncludes), { we don't use UniversalWildcard. }
also for non-rename command: we set UniversalWildcard, only if there are no nonSwitches. */
- // we use default fileds in (CNameOption) for UniversalWildcard.
+ // we use default files in (CNameOption) for UniversalWildcard.
CNameOption nop2;
// recursive mode is not important for UniversalWildcard (*)
// nop2.RecursedType = nop.RecursedType; // we don't need it
@@ -812,7 +812,7 @@ static void AddSwitchWildcardsToCensor(
if (error)
{
- errorMessage = "inorrect switch";
+ errorMessage = "incorrect switch";
break;
}
diff --git a/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp b/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp
index 7f6da0ce6..04d342d7a 100644
--- a/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp
+++ b/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp
@@ -1445,7 +1445,7 @@ HRESULT CArchiveExtractCallback::GetExtractStream(CMyComPtr Streams;
private:
- // we must use critical section here, if we want to access from different volumnes simultaneously
+ // we must use critical section here, if we want to access from different volumes simultaneously
int Head; // newest
int Tail; // oldest
unsigned NumListItems;
diff --git a/CPP/7zip/UI/Common/Bench.cpp b/CPP/7zip/UI/Common/Bench.cpp
index 30fc1e6f9..ebccc5b7f 100644
--- a/CPP/7zip/UI/Common/Bench.cpp
+++ b/CPP/7zip/UI/Common/Bench.cpp
@@ -2411,7 +2411,7 @@ HRESULT CCrcInfo_Base::CrcProcess(UInt64 numIterations,
}
extern
-UInt32 g_BenchCpuFreqTemp; // we need non-static variavble to disable compiler optimization
+UInt32 g_BenchCpuFreqTemp; // we need non-static variable to disable compiler optimization
UInt32 g_BenchCpuFreqTemp = 1;
#define YY1 sum += val; sum ^= val;
diff --git a/CPP/7zip/UI/Common/DirItem.h b/CPP/7zip/UI/Common/DirItem.h
index 3c192495b..1f7279f79 100644
--- a/CPP/7zip/UI/Common/DirItem.h
+++ b/CPP/7zip/UI/Common/DirItem.h
@@ -315,7 +315,7 @@ class CDirItems
bool ExcludeFileItems;
bool ShareForWrite;
- /* it must be called after anotrher checks */
+ /* it must be called after another checks */
bool CanIncludeItem(bool isDir) const
{
return isDir ? !ExcludeDirItems : !ExcludeFileItems;
diff --git a/CPP/7zip/UI/Common/EnumDirItems.cpp b/CPP/7zip/UI/Common/EnumDirItems.cpp
index cada2e62a..fb72e626a 100644
--- a/CPP/7zip/UI/Common/EnumDirItems.cpp
+++ b/CPP/7zip/UI/Common/EnumDirItems.cpp
@@ -622,7 +622,7 @@ static HRESULT EnumerateForItem(
#endif // _WIN32
#endif // !defined(UNDER_CE)
- // check the path in inlcude rules
+ // check the path in include rules
if (curNode.CheckPathToRoot(true, newParts, !fi.IsDir()))
{
#if !defined(UNDER_CE)
@@ -1214,7 +1214,7 @@ HRESULT CDirItems::FillFixedReparse()
if (!item.Has_Attrib_ReparsePoint())
continue;
/*
- We want to get properties of target file instead of properies of symbolic link.
+ We want to get properties of target file instead of properties of symbolic link.
Probably this code is unused, because
CFileInfo::Find(with followLink = true) called Fill_From_ByHandleFileInfo() already.
*/
diff --git a/CPP/7zip/UI/Common/ExtractingFilePath.h b/CPP/7zip/UI/Common/ExtractingFilePath.h
index bb1732fc8..d76eb5c7d 100644
--- a/CPP/7zip/UI/Common/ExtractingFilePath.h
+++ b/CPP/7zip/UI/Common/ExtractingFilePath.h
@@ -9,7 +9,7 @@
void Correct_AltStream_Name(UString &s);
// #endif
-// replaces unsuported characters, and replaces "." , ".." and "" to "[]"
+// replaces unsupported characters, and replaces "." , ".." and "" to "[]"
UString Get_Correct_FsFile_Name(const UString &name);
/*
diff --git a/CPP/7zip/UI/Common/LoadCodecs.h b/CPP/7zip/UI/Common/LoadCodecs.h
index a81bb5c74..63a20d637 100644
--- a/CPP/7zip/UI/Common/LoadCodecs.h
+++ b/CPP/7zip/UI/Common/LoadCodecs.h
@@ -324,7 +324,7 @@ class CCodecs Z7_final:
/* CCodecsReleaser object releases CCodecs links.
1) CCodecs is COM object that is deleted when all links to that object will be released/
2) CCodecs::Libs[i] can hold (ICompressCodecsInfo *) link to CCodecs object itself.
- To break that reference loop, we must close all CCodecs::Libs in CCodecsReleaser desttructor. */
+ To break that reference loop, we must close all CCodecs::Libs in CCodecsReleaser destructor. */
CCodecs *_codecs;
diff --git a/CPP/7zip/UI/Common/OpenArchive.cpp b/CPP/7zip/UI/Common/OpenArchive.cpp
index c26d4c059..7f33a6ae3 100644
--- a/CPP/7zip/UI/Common/OpenArchive.cpp
+++ b/CPP/7zip/UI/Common/OpenArchive.cpp
@@ -1834,10 +1834,10 @@ HRESULT CArc::OpenStream2(const COpenOptions &op)
/*
check type order:
0) matched_extension && Backward
- 1) matched_extension && (no_signuature || SignatureOffset != 0)
+ 1) matched_extension && (no_signature || SignatureOffset != 0)
2) matched_extension && (matched_signature)
- // 3) no signuature
- // 4) matched signuature
+ // 3) no signature
+ // 4) matched signature
*/
// we move index from orderIndices to orderIndices2 for priority handlers.
@@ -1923,7 +1923,7 @@ HRESULT CArc::OpenStream2(const COpenOptions &op)
if (mode.CanReturnArc)
{
- // ---------- OPEN main type by extenssion ----------
+ // ---------- OPEN main type by extension ----------
unsigned numCheckTypes = orderIndices.Size();
if (formatIndex >= 0)
@@ -2772,7 +2772,7 @@ HRESULT CArc::OpenStream2(const COpenOptions &op)
if (PhySize_Defined && PhySize == 0)
{
PRF(printf(" phySize_Defined && PhySize == 0 "));
- // we skip that epmty archive case with unusual unexpected (PhySize == 0) from Code function.
+ // we skip that empty archive case with unusual unexpected (PhySize == 0) from Code function.
continue;
}
isOpen = true;
diff --git a/CPP/7zip/UI/Common/UpdateCallback.cpp b/CPP/7zip/UI/Common/UpdateCallback.cpp
index e2f186647..5a242fc25 100644
--- a/CPP/7zip/UI/Common/UpdateCallback.cpp
+++ b/CPP/7zip/UI/Common/UpdateCallback.cpp
@@ -401,7 +401,7 @@ Z7_COM7F_IMF(CArchiveUpdateCallback::GetProperty(UInt32 index, PROPID propID, PR
IS_PATH_SEPAR(path[0]) :
NName::IsAbsolutePath(path)))
{
- // (path) is abolute path or relative to root: "\path"
+ // (path) is absolute path or relative to root: "\path"
// we try to convert (path) to relative path for writing to archive.
const FString phyPath = DirItems->GetPhyPath((unsigned)up.DirIndex);
FString fullPath;
@@ -1062,7 +1062,7 @@ void CArchiveUpdateCallback::InFileStream_On_Destroy(CInFileStream *stream, UINT
}
/* 21.02 : this function can be called in destructor.
And destructor can be called after some exception.
- If we don't want to throw exception in desctructors or after another exceptions,
+ If we don't want to throw exception in destructors or after another exceptions,
we must disable the code below that raises new exception.
*/
// throw 20141125;
diff --git a/CPP/7zip/UI/Console/Main.cpp b/CPP/7zip/UI/Console/Main.cpp
index 521fe772e..3f6a23fa2 100644
--- a/CPP/7zip/UI/Console/Main.cpp
+++ b/CPP/7zip/UI/Console/Main.cpp
@@ -1516,7 +1516,7 @@ int Main2(
UInt64 numErrors = 0;
UInt64 numWarnings = 0;
- // options.ExtractNtOptions.StoreAltStreams = true, if -sns[-] is not definmed
+ // options.ExtractNtOptions.StoreAltStreams = true, if -sns[-] is not defined
CListOptions lo;
lo.ExcludeDirItems = options.Censor.ExcludeDirItems;
diff --git a/CPP/7zip/UI/Explorer/RegistryContextMenu.cpp b/CPP/7zip/UI/Explorer/RegistryContextMenu.cpp
index 6563d89b8..f367206d2 100644
--- a/CPP/7zip/UI/Explorer/RegistryContextMenu.cpp
+++ b/CPP/7zip/UI/Explorer/RegistryContextMenu.cpp
@@ -200,7 +200,7 @@ LONG SetContextMenuHandler(bool setMode, const UString &path, UInt32 wow)
}
}
- // shellex items probably are shared beween 32-bit and 64-bit apps. So we don't delete items for delete operation.
+ // shellex items probably are shared between 32-bit and 64-bit apps. So we don't delete items for delete operation.
if (setMode)
for (unsigned i = 0; i < 2; i++)
{
diff --git a/CPP/7zip/UI/Far/Far.cpp b/CPP/7zip/UI/Far/Far.cpp
index 962af97b2..7f6cd6a18 100644
--- a/CPP/7zip/UI/Far/Far.cpp
+++ b/CPP/7zip/UI/Far/Far.cpp
@@ -25,8 +25,8 @@ using namespace NFar;
static const DWORD kShowProgressTime_ms = 100;
static const char * const kCommandPrefix = "7-zip";
-static const char * const kRegisrtryMainKeyName = NULL; // ""
-static LPCTSTR const kRegisrtryValueNameEnabled = TEXT("UsedByDefault3");
+static const char * const kRegistryMainKeyName = NULL; // ""
+static LPCTSTR const kRegistryValueNameEnabled = TEXT("UsedByDefault3");
static const char * const kHelpTopicConfig = "Config";
static bool kPluginEnabledDefault = true;
@@ -98,8 +98,8 @@ EXTERN_C void WINAPI SetStartupInfo(const PluginStartupInfo *info)
MY_TRY_BEGIN
g_StartupInfo.Init(*info, kPliginNameForRegistry);
g_Options.Enabled = g_StartupInfo.QueryRegKeyValue(
- HKEY_CURRENT_USER, kRegisrtryMainKeyName,
- kRegisrtryValueNameEnabled, kPluginEnabledDefault);
+ HKEY_CURRENT_USER, kRegistryMainKeyName,
+ kRegistryValueNameEnabled, kPluginEnabledDefault);
// OutputDebugStringA("SetStartupInfo");
// LoadGlobalCodecs();
@@ -276,7 +276,7 @@ static HANDLE MyOpenFilePluginW(const wchar_t *name, bool isAbortCodeSupported)
COpenArchiveCallback *openArchiveCallbackSpec = new COpenArchiveCallback;
CMyComPtr uiCallback = openArchiveCallbackSpec;
- /* COpenCallbackImp object will exist after Open stage for multivolume archioves */
+ /* COpenCallbackImp object will exist after Open stage for multivolume archives */
COpenCallbackImp *impSpec = new COpenCallbackImp;
CMyComPtr impCallback = impSpec;
impSpec->ReOpenCallback = openArchiveCallbackSpec; // we set pointer without reference counter
@@ -527,8 +527,8 @@ EXTERN_C int WINAPI Configure(int /* itemNumber */)
g_Options.Enabled = BOOLToBool(dialogItems[kEnabledCheckBoxIndex].Selected);
- g_StartupInfo.SetRegKeyValue(HKEY_CURRENT_USER, kRegisrtryMainKeyName,
- kRegisrtryValueNameEnabled, g_Options.Enabled);
+ g_StartupInfo.SetRegKeyValue(HKEY_CURRENT_USER, kRegistryMainKeyName,
+ kRegistryValueNameEnabled, g_Options.Enabled);
return(TRUE);
MY_TRY_END2("Configure", FALSE)
}
diff --git a/CPP/7zip/UI/Far/FarPlugin.h b/CPP/7zip/UI/Far/FarPlugin.h
index 68c767b3e..cced2b496 100644
--- a/CPP/7zip/UI/Far/FarPlugin.h
+++ b/CPP/7zip/UI/Far/FarPlugin.h
@@ -448,7 +448,7 @@ struct OpenPluginInfo
int StartSortOrder;
const struct KeyBarTitles *KeyBar;
const char *ShortcutData;
- // long Reserverd;
+ // long Reserved;
};
enum {
diff --git a/CPP/7zip/UI/Far/Messages.h b/CPP/7zip/UI/Far/Messages.h
index f6b20a3d8..be406ea45 100644
--- a/CPP/7zip/UI/Far/Messages.h
+++ b/CPP/7zip/UI/Far/Messages.h
@@ -125,7 +125,7 @@ enum EEnum
kConfigPluginEnabled,
- // ---------- IDs for Properies (kpid*) ----------
+ // ---------- IDs for Properties (kpid*) ----------
kNoProperty,
k_Last_MessageID_for_Property = kNoProperty + k_Last_PropId_supported_by_plugin
// ----------
diff --git a/CPP/7zip/UI/FileManager/BrowseDialog2.cpp b/CPP/7zip/UI/FileManager/BrowseDialog2.cpp
index f8bfcb5f6..7f6400542 100644
--- a/CPP/7zip/UI/FileManager/BrowseDialog2.cpp
+++ b/CPP/7zip/UI/FileManager/BrowseDialog2.cpp
@@ -60,7 +60,7 @@ static const int kParentIndex = -1;
static const wchar_t * const k_Message_Link_operation_was_Blocked =
- L"link openning was blocked by 7-Zip";
+ L"link opening was blocked by 7-Zip";
extern UString HResultToMessage(HRESULT errorCode);
@@ -1153,7 +1153,7 @@ bool CBrowseDialog2::OnContextMenu(HANDLE windowHandle, int xPos, int yPos)
RECT rect;
if (!_list.GetItemRect(itemIndex, &rect, LVIR_ICON))
return false;
- // rect : rect of file icon relative to listVeiw.
+ // rect : rect of file icon relative to listView.
xPos = (rect.left + rect.right) / 2;
yPos = (rect.top + rect.bottom) / 2;
RECT r;
diff --git a/CPP/7zip/UI/FileManager/ExtractCallback.h b/CPP/7zip/UI/FileManager/ExtractCallback.h
index 8b4dcb394..d8e35e717 100644
--- a/CPP/7zip/UI/FileManager/ExtractCallback.h
+++ b/CPP/7zip/UI/FileManager/ExtractCallback.h
@@ -139,7 +139,7 @@ Z7_CLASS_IMP_NOQIB_1(
size_t MaxTotalAllocSize; // remain size, including Files.Back()
FString DirPrefix; // files will be flushed to this FS directory.
UString FileName; // name of file that will be extracted.
- // it can be name of alt stream without "fileName:" prefix, if (IsAltStreamFile == trye).
+ // it can be name of alt stream without "fileName:" prefix, if (IsAltStreamFile == true).
// we use that name to detect altStream part in "FileName:altStream".
CByteBuffer ZoneBuf;
int Index_of_MainExtractedFile_in_Files; // out: index in Files. == -1, if expected file was not extracted
diff --git a/CPP/7zip/UI/FileManager/FM.cpp b/CPP/7zip/UI/FileManager/FM.cpp
index f415f4df3..39859db1d 100644
--- a/CPP/7zip/UI/FileManager/FM.cpp
+++ b/CPP/7zip/UI/FileManager/FM.cpp
@@ -546,7 +546,7 @@ static const int kNumSwitches = 1;
namespace NKey {
enum Enum
{
- kOpenArachive = 0
+ kOpenArchive = 0
};
}
@@ -711,7 +711,7 @@ static int WINAPI WinMain2(int nCmdShow)
if (nonSwitchStrings.Size() > 1)
{
g_MainPath = nonSwitchStrings[1];
- // g_OpenArchive = parser[NKey::kOpenArachive].ThereIs;
+ // g_OpenArchive = parser[NKey::kOpenArchive].ThereIs;
CFileInfoW fileInfo;
if (FindFile(g_MainPath, fileInfo))
{
diff --git a/CPP/7zip/UI/FileManager/FileFolderPluginOpen.cpp b/CPP/7zip/UI/FileManager/FileFolderPluginOpen.cpp
index 1c33464c8..6e890de8b 100644
--- a/CPP/7zip/UI/FileManager/FileFolderPluginOpen.cpp
+++ b/CPP/7zip/UI/FileManager/FileFolderPluginOpen.cpp
@@ -369,9 +369,9 @@ HRESULT CFfpOpen::OpenFileFolderPlugin(IInStream *inStream,
{
ErrorMessage = nonOpen_Errors;
// if (t.Result != S_OK) return t.Result;
- /* if there are good open leves, and non0open level,
+ /* if there are good open leaves, and non-open level,
we could force error as critical error and return error here
- but it's better to allow to open such rachives */
+ but it's better to allow to open such archives */
// return S_FALSE;
}
}
diff --git a/CPP/7zip/UI/FileManager/ListViewDialog.cpp b/CPP/7zip/UI/FileManager/ListViewDialog.cpp
index 6767e4c0c..db2bacb3d 100644
--- a/CPP/7zip/UI/FileManager/ListViewDialog.cpp
+++ b/CPP/7zip/UI/FileManager/ListViewDialog.cpp
@@ -269,7 +269,7 @@ bool CListViewDialog::OnNotify(UINT /* controlID */, LPNMHDR header)
}
break;
case NM_DBLCLK:
- case NM_RETURN: // probabably it's unused
+ case NM_RETURN: // probably it's unused
if (!g_LVN_ITEMACTIVATE_Support)
{
OnEnter();
diff --git a/CPP/7zip/UI/FileManager/PanelDrag.cpp b/CPP/7zip/UI/FileManager/PanelDrag.cpp
index f9b0a6c7a..275a99cbf 100644
--- a/CPP/7zip/UI/FileManager/PanelDrag.cpp
+++ b/CPP/7zip/UI/FileManager/PanelDrag.cpp
@@ -163,7 +163,7 @@ enum E_Program_ISA
static const UInt32 k_SourceFlags_DoNotProcessInTarget = 1 << 1;
/* Do not process in Target. Source will process operation instead of Target.
- By default Target processes Drop opearation. */
+ By default Target processes Drop operation. */
// static const UInt32 k_SourceFlags_ProcessInTarget = 1 << 2;
static const UInt32 k_SourceFlags_DoNotWaitFinish = 1 << 3;
@@ -747,7 +747,7 @@ SetData(,, release = TRUE) from different processes (DropSource and DropTarget)
until it has successfully received it and no error code is returned.
Each of processes (Source and Target) has own copy of medium allocated.
- Windows code creates proxy IDataObject object in Target process to transferr
+ Windows code creates proxy IDataObject object in Target process to transfer
SetData() call between Target and Source processes via special proxies:
DropTarget ->
proxy_DataObject_in_Target ->
@@ -826,7 +826,7 @@ for 7zip-Target to 7zip-Source calls:
for 7zip-Target to Explorer-Source calls:
we use (release == TRUE).
- beacuse Explorer-Source doesn't accept (release == FALSE).
+ because Explorer-Source doesn't accept (release == FALSE).
}
*/
diff --git a/CPP/7zip/UI/FileManager/PanelListNotify.cpp b/CPP/7zip/UI/FileManager/PanelListNotify.cpp
index 05ab36bcd..95405d5ba 100644
--- a/CPP/7zip/UI/FileManager/PanelListNotify.cpp
+++ b/CPP/7zip/UI/FileManager/PanelListNotify.cpp
@@ -560,7 +560,7 @@ bool CPanel::OnNotifyList(LPNMHDR header, LRESULT &result)
// Post_Refresh_StatusBar();
/* 9.26: we don't call Post_Refresh_StatusBar.
it was very slow if we select big number of files
- and then clead slection by selecting just new file.
+ and then clear selection by selecting just new file.
probably it called slow Refresh_StatusBar for each item deselection.
I hope Refresh_StatusBar still will be called for each key / mouse action.
*/
diff --git a/CPP/7zip/UI/GUI/UpdateGUI.cpp b/CPP/7zip/UI/GUI/UpdateGUI.cpp
index a600a8bc1..b7e92e541 100644
--- a/CPP/7zip/UI/GUI/UpdateGUI.cpp
+++ b/CPP/7zip/UI/GUI/UpdateGUI.cpp
@@ -173,7 +173,7 @@ static bool IsThereMethodOverride(bool is7z, const UStringVector &strings)
return false;
}
-static void ParseAndAddPropertires(CObjectVector &properties,
+static void ParseAndAddProperties(CObjectVector &properties,
const UStringVector &strings)
{
FOR_VECTOR (i, strings)
@@ -511,7 +511,7 @@ static HRESULT ShowDialog(
!methodOverride); // setMethod
options.OpenShareForWrite = di.OpenShareForWrite;
- ParseAndAddPropertires(options.MethodMode.Properties, optionStrings);
+ ParseAndAddProperties(options.MethodMode.Properties, optionStrings);
if (di.SFXMode)
options.SfxMode = true;
diff --git a/CPP/Common/NewHandler.cpp b/CPP/Common/NewHandler.cpp
index 173b8ebeb..c97b71807 100644
--- a/CPP/Common/NewHandler.cpp
+++ b/CPP/Common/NewHandler.cpp
@@ -87,8 +87,8 @@ operator delete(void *p) throw()
vs2022 compiler uses delete(void *p, size_t n), and
we want to mix files from different compilers:
- old vc6 linker
- - old vc6 complier
- - new vs2022 complier
+ - old vc6 compiler
+ - new vs2022 compiler
*/
void
#ifdef _MSC_VER
diff --git a/CPP/Common/StringConvert.cpp b/CPP/Common/StringConvert.cpp
index 79ff9e00f..ff3cb2670 100644
--- a/CPP/Common/StringConvert.cpp
+++ b/CPP/Common/StringConvert.cpp
@@ -362,7 +362,7 @@ void MultiByteToUnicodeString2(UString &dest, const AString &src, UINT codePage)
Byte c = (Byte)s[i];
if (c == 0)
break;
- // we can use ascii compatibilty character '_'
+ // we can use ascii compatibility character '_'
// if (c > 0x7F) c = '_'; // we replace "bad: character
d[i++] = (wchar_t)c;
}
@@ -699,7 +699,7 @@ void MY_SetLocale()
// newLocale = ".utf8"; // supported in new Windows 10 build 17134 (April 2018 Update), the Universal C Runtime
// newLocale = "en_US.utf8"; // supported by ubuntu ?
// newLocale = "en_US.UTF-8";
- /* setlocale() in ubuntu allows locales with minor chracter changes in strings
+ /* setlocale() in ubuntu allows locales with minor character changes in strings
"en_US.UTF-8" / "en_US.utf8" */
}
diff --git a/CPP/Common/UTFConvert.cpp b/CPP/Common/UTFConvert.cpp
index 509de76f6..0e266c494 100644
--- a/CPP/Common/UTFConvert.cpp
+++ b/CPP/Common/UTFConvert.cpp
@@ -112,7 +112,7 @@ we can place 128 ESCAPE chars to
from same BMP-Escapes-16 stored in 7z.
And if we want to restore any 8-bit from 7z archive,
we still must use Z7_UTF_FLAG_FROM_UTF8_BMP_ESCAPE_CONVERT for (utf-8 -> utf-16)
- Also we need additional Conversions to tranform from utf-16 to utf-16-With-Escapes-21
+ Also we need additional Conversions to transform from utf-16 to utf-16-With-Escapes-21
}
else (UTF_ESCAPE_PLANE == 0)
{
@@ -320,7 +320,7 @@ bool CheckUTF8(const char *src, bool allowReduced) throw()
// we store UTF-16 in wchar_t strings. So we use surrogates for big unicode points:
-// for debug puposes only we can store UTF-32 in wchar_t:
+// for debug purposes only we can store UTF-32 in wchar_t:
// #define START_POINT_FOR_SURROGATE ((UInt32)0 - 1)
@@ -402,7 +402,7 @@ static bool Utf8_To_Utf16(wchar_t *dest, size_t *destLen, const char *src, const
if ((flags & Z7_UTF_FLAG_FROM_UTF8_USE_ESCAPE) == 0)
{
// the following code to emit the 0xfffd chars as win32 Utf8 function.
- // disable the folling line, if you need 0xfffd for each incorrect byte as in Escape mode
+ // disable the following line, if you need 0xfffd for each incorrect byte as in Escape mode
src += pos;
}
UTF_ERROR_UTF8
diff --git a/CPP/Common/UTFConvert.h b/CPP/Common/UTFConvert.h
index 94a8024fb..4d8d8d97e 100644
--- a/CPP/Common/UTFConvert.h
+++ b/CPP/Common/UTFConvert.h
@@ -131,7 +131,7 @@ Z7_UTF_FLAG_FROM_UTF8_BMP_ESCAPE_CONVERT
if (flag is NOT set)
{
it process ESCAPE-8 points as another Unicode points.
- In Linux: ESCAPE-16 will mean two different ESCAPE-8 seqences,
+ In Linux: ESCAPE-16 will mean two different ESCAPE-8 sequences,
so we need HIGH-ESCAPE-PLANE-21 to restore UTF-8-RAW -> UTF-16 -> UTF-8-RAW
}
@@ -233,10 +233,10 @@ WIN32 : UTF-16-RAW -> UTF-8 (archive) -> UTF-16-RAW
So we restore original UTF-16-RAW.
}
-Linix : UTF-8 with Escapes -> UTF-16 (7z archive) -> UTF-8 with Escapes
+Linux : UTF-8 with Escapes -> UTF-16 (7z archive) -> UTF-8 with Escapes
set Z7_UTF_FLAG_TO_UTF8_EXTRACT_BMP_ESCAPE to extract non-UTF from 7z archive
set Z7_UTF_FLAG_TO_UTF8_PARSE_HIGH_ESCAPE for intermediate UTF-16.
- Note: high esacape mode can be ignored now in UTFConvert.cpp
+ Note: high escape mode can be ignored now in UTFConvert.cpp
macOS:
the system doesn't support incorrect UTF-8 in file names.
diff --git a/CPP/Common/Wildcard.h b/CPP/Common/Wildcard.h
index 4f81da923..17c61c932 100644
--- a/CPP/Common/Wildcard.h
+++ b/CPP/Common/Wildcard.h
@@ -135,9 +135,9 @@ class CCensorNode MY_UNCOPYABLE
CheckPathVect() doesn't check path in Parent CCensorNode
so use CheckPathVect() for root CCensorNode
OUT:
- returns (true) && (include = false) - file in exlude list
- returns (true) && (include = true) - file in include list and is not in exlude list
- returns (false) - file is not in (include/exlude) list
+ returns (true) && (include = false) - file in exclude list
+ returns (true) && (include = true) - file in include list and is not in exclude list
+ returns (false) - file is not in (include/exclude) list
*/
bool CheckPathVect(const UStringVector &pathParts, bool isFile, bool &include) const;
diff --git a/CPP/Windows/FileDir.cpp b/CPP/Windows/FileDir.cpp
index ad0d8c9dd..d68a64926 100644
--- a/CPP/Windows/FileDir.cpp
+++ b/CPP/Windows/FileDir.cpp
@@ -51,7 +51,7 @@ static bool FiTime_To_timespec(const CFiTime *ft, timespec &ts)
ts.tv_sec = 0;
ts.tv_nsec =
#ifdef UTIME_OMIT
- UTIME_OMIT; // -2 keep old timesptamp
+ UTIME_OMIT; // -2 keep old timestamp
#else
// UTIME_NOW; -1 // set to the current time
0;
@@ -1078,7 +1078,7 @@ static BOOL My_CopyFile(CFSTR oldFile, CFSTR newFile, ICopyFileProgress *progres
}
// There is file IO error or process was interrupted by user.
// We close output file and delete it.
- // DeleteFileAlways doesn't change errno (if successed), but we restore errno.
+ // DeleteFileAlways doesn't change errno (if succeed), but we restore errno.
const int errno_save = errno;
DeleteFileAlways(newFile);
errno = errno_save;
@@ -1334,7 +1334,7 @@ bool SetFileAttrib_PosixHighDetect(CFSTR path, DWORD attrib)
{
printf("\nfchmodat()\n");
TRACE_chmod(path, (st.st_mode) & g_umask.mask)
- // AT_SYMLINK_NOFOLLOW is not implemted still in Linux.
+ // AT_SYMLINK_NOFOLLOW is not implemented still in Linux.
res = fchmodat(AT_FDCWD, path, (st.st_mode) & g_umask.mask,
S_ISLNK(st.st_mode) ? AT_SYMLINK_NOFOLLOW : 0);
}
diff --git a/CPP/Windows/FileFind.cpp b/CPP/Windows/FileFind.cpp
index 669541e7a..9211ac589 100644
--- a/CPP/Windows/FileFind.cpp
+++ b/CPP/Windows/FileFind.cpp
@@ -167,7 +167,7 @@ bool CFileInfoBase::SetAs_StdInFile()
#endif
#endif
-#else // non-Wiondow
+#else // non-Windows
mode = S_IFIFO | 0777; // 0755 : 0775 : 0664 : 0644 :
#if 1
@@ -812,7 +812,7 @@ bool CFileInfo::FollowReparse(CFSTR path, bool isDir)
break;
if (fi.Name.IsEqualTo_Ascii_NoCase("."))
{
- // we can copy preperies;
+ // we can copy preperties;
CTime = fi.CTime;
ATime = fi.ATime;
MTime = fi.MTime;
diff --git a/CPP/Windows/FileIO.cpp b/CPP/Windows/FileIO.cpp
index dc4de14dc..2ef889c22 100644
--- a/CPP/Windows/FileIO.cpp
+++ b/CPP/Windows/FileIO.cpp
@@ -353,7 +353,7 @@ void CInFile::CalcDeviceSize(CFSTR s)
WinXP 64-bit:
HDD \\.\PhysicalDrive0 (MBR):
- GetPartitionInfo == GeometryEx : corrrect size? (includes tail)
+ GetPartitionInfo == GeometryEx : correct size? (includes tail)
Geometry : smaller than GeometryEx (no tail, maybe correct too?)
MyGetDiskFreeSpace : FAIL
Size correction is slow and block size (kClusterSize) must be small?
@@ -365,8 +365,8 @@ void CInFile::CalcDeviceSize(CFSTR s)
CD-ROM drive (ISO):
MyGetDiskFreeSpace : correct size. Same size can be calculated after correction
- Geometry == CdRomGeometry : smaller than corrrect size
- GetPartitionInfo == GeometryEx : larger than corrrect size
+ Geometry == CdRomGeometry : smaller than correct size
+ GetPartitionInfo == GeometryEx : larger than correct size
Floppy \\.\a: (FAT):
Geometry : correct size.
diff --git a/CPP/Windows/FileName.h b/CPP/Windows/FileName.h
index ce26e7812..295148ac2 100644
--- a/CPP/Windows/FileName.h
+++ b/CPP/Windows/FileName.h
@@ -14,7 +14,7 @@ int FindSepar(const wchar_t *s) throw();
int FindSepar(const FChar *s) throw();
#endif
-void NormalizeDirPathPrefix(FString &dirPath); // ensures that it ended with '\\', if dirPath is not epmty
+void NormalizeDirPathPrefix(FString &dirPath); // ensures that it ended with '\\', if dirPath is not empty
void NormalizeDirPathPrefix(UString &dirPath);
#ifdef _WIN32
@@ -132,7 +132,7 @@ bool GetSuperPaths(CFSTR s1, CFSTR s2, UString &d1, UString &d2, bool onlyIfNew)
}
Current_Dir path can be used in 2 cases:
1) if (path) is relative && dirPrefix == NULL
- 2) for _WIN32: if (path) is absolute starting wuth "\"
+ 2) for _WIN32: if (path) is absolute starting with "\"
*/
bool GetFullPath(CFSTR dirPrefix, CFSTR path, FString &fullPath);
bool GetFullPath(CFSTR path, FString &fullPath);
diff --git a/CPP/Windows/PropVariant.cpp b/CPP/Windows/PropVariant.cpp
index 678f970e6..781cec29e 100644
--- a/CPP/Windows/PropVariant.cpp
+++ b/CPP/Windows/PropVariant.cpp
@@ -145,7 +145,7 @@ CPropVariant& CPropVariant::operator=(const UString2 &s)
/* MSDN: Windows CE: SysAllocStringLen() : Passing invalid (and under some circumstances NULL)
pointers to this function causes an unexpected termination of the application.
- Is it safe? Maybe we must chamnge the code for that case ? */
+ Is it safe? Maybe we must change the code for that case ? */
}
return *this;
}
diff --git a/CPP/Windows/Registry.cpp b/CPP/Windows/Registry.cpp
index a94a50f5d..56cf8dd93 100644
--- a/CPP/Windows/Registry.cpp
+++ b/CPP/Windows/Registry.cpp
@@ -276,7 +276,7 @@ LONG CKey::QueryValue(LPCTSTR name, CSysString &value)
// 3 is default available length in new string.
DWORD size_prev = 3 * sizeof(TCHAR);
// at least 2 attempts are required. But we use more attempts for cases,
- // where string can be changed by anothner process
+ // where string can be changed by another process
for (unsigned i = 0; i < 2 + 2; i++)
{
DWORD type = 0;
diff --git a/CPP/Windows/Shell.cpp b/CPP/Windows/Shell.cpp
index 01ceb2288..9a957cac9 100644
--- a/CPP/Windows/Shell.cpp
+++ b/CPP/Windows/Shell.cpp
@@ -391,7 +391,7 @@ HRESULT DataObject_GetData_FILE_ATTRS(IDataObject *dataObject, CFileAttribs &att
const unsigned numFiles = faa->cItems;
if (numFiles == 0)
{
- // is it posssible to have empty array here?
+ // is it possible to have empty array here?
return E_INVALIDARG;
}
if ((blockSize - (sizeof(MYWIN_FILE_ATTRIBUTES_ARRAY) - sizeof(DWORD)))
diff --git a/CPP/Windows/System.h b/CPP/Windows/System.h
index 2bd2e125c..97cbad76c 100644
--- a/CPP/Windows/System.h
+++ b/CPP/Windows/System.h
@@ -60,7 +60,7 @@ struct CProcessAffinity
bool IsGroupMode;
/*
IsGroupMode == true, if
- Groups.GroupSizes.Size() > 1) && { dafalt affinity was not changed }
+ Groups.GroupSizes.Size() > 1) && { default affinity was not changed }
IsGroupMode == false, if single group or affinity was changed
*/
@@ -105,7 +105,7 @@ struct CProcessAffinity
return CountAffinity(systemAffinityMask);
}
- // it returns normilized number of threads
+ // it returns normalized number of threads
void Get_and_return_NumProcessThreads_and_SysThreads(UInt32 &numProcessThreads, UInt32 &numSysThreads)
{
UInt32 num1 = 0, num2 = 0;
diff --git a/DOC/7zC.txt b/DOC/7zC.txt
index 939b720f9..8c76b941a 100644
--- a/DOC/7zC.txt
+++ b/DOC/7zC.txt
@@ -165,8 +165,8 @@ Memory usage for archive Decompressing:
- Memory for LZMA decompressing structures
- Main pool:
- Memory for decompressed solid block
- - Memory for temprorary buffers, if BCJ2 fileter is used. Usually these
- temprorary buffers can be about 15% of solid block size.
+ - Memory for temporary buffers, if BCJ2 filter is used. Usually these
+ temporary buffers can be about 15% of solid block size.
7z Decoder doesn't allocate memory for compressed blocks.
diff --git a/DOC/7zFormat.txt b/DOC/7zFormat.txt
index 74cdfa418..034719673 100644
--- a/DOC/7zFormat.txt
+++ b/DOC/7zFormat.txt
@@ -398,7 +398,7 @@ FilesInfo
if(External != 0)
UINT64 DataIndex
[]
- for(Definded Items)
+ for(Defined Items)
REAL_UINT64 Time
[]
@@ -425,7 +425,7 @@ FilesInfo
if(External != 0)
UINT64 DataIndex
[]
- for(Definded Attributes)
+ for(Defined Attributes)
UINT32 Attributes
[]
}
diff --git a/DOC/Methods.txt b/DOC/Methods.txt
index 3e5707c73..cd5fa0456 100644
--- a/DOC/Methods.txt
+++ b/DOC/Methods.txt
@@ -137,7 +137,7 @@ List of defined IDs
05 - LZ5
06 - LIZARD
- 12 xx - reserverd (Denis Anisimov)
+ 12 xx - reserved (Denis Anisimov)
01 - WavPack2
FE - eSplitter
diff --git a/DOC/readme.txt b/DOC/readme.txt
index fd01e3b8a..ea1169f4c 100644
--- a/DOC/readme.txt
+++ b/DOC/readme.txt
@@ -12,7 +12,7 @@ License Info
7-Zip is free software distributed under the GNU LGPL
(except for unRar code). Also some code
is licensed under the "BSD 3-clause License".
-Read "License.txt" for more infomation about license.
+Read "License.txt" for more information about license.
Notes about unRAR license:
@@ -111,8 +111,8 @@ Compiling 7-Zip for Unix/Linux
------------------------------
There are several options to compile 7-Zip with different compilers: gcc and clang.
-Also 7-Zip code contains two versions for some parts of code: in C and in Assembeler.
-So if you compile the version with Assembeler code, you will get faster 7-Zip binary.
+Also 7-Zip code contains two versions for some parts of code: in C and in Assembler.
+So if you compile the version with Assembler code, you will get faster 7-Zip binary.
7-Zip's assembler code uses the following syntax for different platforms:
@@ -144,7 +144,7 @@ Then you can compile `makefile.gcc` with the command:
make -j -f makefile.gcc
Also there are additional "*.mak" files in folder "CPP/7zip/" that can be used to compile
-7-Zip binaries with optimized code and optimzing options.
+7-Zip binaries with optimized code and optimizing options.
To compile with GCC without assembler:
cd CPP/7zip/Bundles/Alone2
diff --git a/DOC/src-history.txt b/DOC/src-history.txt
index 7858175f7..2cbf7b303 100644
--- a/DOC/src-history.txt
+++ b/DOC/src-history.txt
@@ -145,7 +145,7 @@ HISTORY of the 7-Zip source code
- 7-Zip now can unpack ZIP and SquashFS archives that use ZSTD compression method.
- 7-Zip now supports fast hash algorithm XXH64 that is used in ZSTD.
- Speed optimizations for archive unpacking: rar, zip, gz, wim, cab.
-- Speed optimizations for hash caclulation: CRC-32, CRC-64, Blake2sp.
+- Speed optimizations for hash calculation: CRC-32, CRC-64, Blake2sp.
- The bug was fixed: 7-Zip for Linux could fail for multivolume creation in some cases.
- Some bugs were fixed.
@@ -164,7 +164,7 @@ HISTORY of the 7-Zip source code
// virtual ~IUnknown() {}
So 7-Zip's dynamically linked shared libraries (codecs) are not compatible
between new 7-Zip for Linux/macOS and old 7-Zip (and p7zip).
-- Some optimizations in filters code: BCJ, BCJ2, Swap* and opthers.
+- Some optimizations in filters code: BCJ, BCJ2, Swap* and others.
- If 7-Zip uses BCJ2 filter for big datasets compressing, it can use additional temp
files in system's TEMP folder. 7-Zip uses temp file for additional compressed
data stream, if size of such compressed stream is larger than predefined limit:
@@ -419,7 +419,7 @@ HISTORY of the 7-Zip source code
9.09 2009-12-12
-------------------------
- The bug was fixed:
- Utf16_To_Utf8 funstions in UTFConvert.cpp and 7zMain.c
+ Utf16_To_Utf8 functions in UTFConvert.cpp and 7zMain.c
incorrectly converted surrogate characters (the code >= 0x10000) to UTF-8.
@@ -457,7 +457,7 @@ HISTORY of the 7-Zip source code
-------------------------
- BUGS was fixed:
7zOut.cpp: 7-Zip incorrectly wrote size of property records in some cases.
- 7zIn.cpp: 7-Zip incorrectly work with archive, containg archive properties.
+ 7zIn.cpp: 7-Zip incorrectly work with archive, containing archive properties.
4.58 alpha 9 2008-04-29
-------------------------
@@ -513,7 +513,7 @@ HISTORY of the 7-Zip source code
- ZIP (.XPS file) isZip64 && thisDiskNumber16 == 0xFFFF.
- ZIP name updating:
If zip file contains extra field and you try to change properties of files,
- 7-zip tries to delete all extra fileds (except for WzAES).
+ 7-zip tries to delete all extra files (except for WzAES).
And that code could hang.
- 7-Zip GUI didn't suggest BZip2 dictionary size used in previous run.
- If creation time stamp was included in .RAR archive, 7-zip used creation time stamp
@@ -581,7 +581,7 @@ HISTORY of the 7-Zip source code
data++
fixed version:
data = _matchFinder.GetPointerToCurrentPos(_matchFinderObj) - 1;
- It could lead to very small cpmpression ratio decreasing when block needs move.
+ It could lead to very small compression ratio decreasing when block needs move.
4.30 beta 2005-11-18
@@ -606,7 +606,7 @@ HISTORY of the 7-Zip source code
4.25 beta 2005-07-31
-------------------------
-- More 64-bit compatibilty
+- More 64-bit compatibility
4.24 beta 2005-07-06
@@ -628,7 +628,7 @@ HISTORY of the 7-Zip source code
4.14 beta 2005-01-11
-------------------------
- STL using was reduced
-- 7za now supports Split(001) archves
+- 7za now supports Split(001) archives
4.10 beta 2004-10-21
@@ -746,7 +746,7 @@ HISTORY of the 7-Zip source code
- SDK/Stream/WindowOut.h
now it uses only required memory (dictionary size).
- Project/Archiver/Resource
- contains common resurces
+ contains common resources
2.30 Beta 19 2002-04-11
@@ -766,7 +766,7 @@ HISTORY of the 7-Zip source code
2.30 Beta 17 2002-03-03
-------------------------
-- ARJ suppport.
+- ARJ support.
2.30 Beta 16 2002-02-24
@@ -824,14 +824,14 @@ HISTORY of the 7-Zip source code
Compress/LZ/MatchFinder/Patricia.h:
Compress/PPM/PPMd/SubAlloc.h:
using VirtualAlloc for memory allocating
-- Exlorer/ContextMenu.cpp:
+- Explorer/ContextMenu.cpp:
Testing supporting.
CreateProcess instead WinExec
- Format/Common/IArchiveHandler.h:
- Exlorer/ProxyHandler.cpp:
+ Explorer/ProxyHandler.cpp:
FAR/Plugin.cpp:
New properties names: Method, HostOS.
-- Exlorer/OverwriteDialog.cpp:
+- Explorer/OverwriteDialog.cpp:
FAR/OverwriteDialog.cpp:
Windows/PropVariantConversions.h
Using National time format was eliminated.
@@ -840,16 +840,16 @@ HISTORY of the 7-Zip source code
2.30 Beta 10 2002-01-11
-------------------------
-- Exlorer/ContextMenu.cpp: bug with context menu on
+- Explorer/ContextMenu.cpp: bug with context menu on
Windows NT4 in Unicode version was fixed.
- Format/7z/UpdateArchiveEngine.cpp: bug was fixed -
Updating in Beta 8 and 9 didn't work.
-- Exlorer/CCompressDialog.cpp: history growing bug was fixed.
+- Explorer/CCompressDialog.cpp: history growing bug was fixed.
2.30 Beta 9 2002-01-08
-------------------------
-- SDK/Common/Vector.h: sopporting sorted object vectors .
+- SDK/Common/Vector.h: supporting sorted object vectors.
- Lang features.
- Two new match finders: pat3h and pat4h.
- SDK/Archive/Zip/InEngine.cpp: bug was fixed.