Skip to content

Instantly share code, notes, and snippets.

@YourFriendCaspian
Last active February 22, 2020 19:28
Show Gist options
  • Save YourFriendCaspian/0851a264d84b184f7b7b8fa2a50606b4 to your computer and use it in GitHub Desktop.
Save YourFriendCaspian/0851a264d84b184f7b7b8fa2a50606b4 to your computer and use it in GitHub Desktop.
Commit_templete
# ------ Format ------
# Commit body
# ------ Rules ------
# 1. Do not use emoji on the commit message
# 2. End the commit message with a period
# 3. Capitalize the commit message
# 4. Wrap the commit message at 60 characters
# ------ Example ------
## Added options, flags, and menus
# Add -enable-experimental-nested-generic-types frontend flag
# Add --main-process flag to run specs in the main process
# Add Throws flag and ThrowsLoc to AbstractFunctionDecl
# Add "event" parameter for "click" handler of MenuItem
# Add File > Exit menu on Windows
## Added file
# Add npm start script
# Add build script
# Add SkUserConfig.h with blank SkDebugf macro
## Added methods and functions
# Add TypeLowering::hasFixedSize()
# Add overflow scrolling
# Add convenience API for demangling
# Add a typealias to avoid a build ordering dependency between projects
# Add a helper method mayHaveOpenedArchetypeOperands to SILInstruction
## Switched implementation to another
# Use args.resourcePath instead of args.devResourcePath
# Use arrays instead of while loops
# Use auto instead of repeating explicit class names
# Use weak pointer instead of manual bookkeeping
# Change all uses of 'CInt' to 'Int32' in the SDK overlay
# Change Integer#year to return a Fixnum instead of a Float to improve consistency
## Removed new support / functional restrictions
# Add support for closure contexts to readMetadataFromInstance()
# Add support for activating and deactivating package-specific keymaps
# Add support for launching HTML files directly
# Add support for allocators that require tensors with zero
# Make it possible to call `reflect` multiple times
# Make it possible to set a data type for variables that come out of constants
# Allow atom-pane to be shrunk independently of its contents' width
# Allow null TextEditorComponent::domNode during visibility check
## I used something
# Use const for util require
# Use FoldingSetNode for ProtocolType
# Use unique text editor title in window and tab titles
# Use an empty object if metadata is ~null
# Use target_link_libraries for fat executable dependencies
# Use existing flatMapToOptionalTests dataset
## Improved to better implementation
# Make the clone function more generic
# Make IO faster for v8 compile cache
# Make model constructor argument to addViewProvider optional
# Make Browser::Quit more robust
# Make Menu.getApplicationMenu() public
# Improve incompatible native module error message
# Improve readability of multi-line command
# Improve folds behavior when duplicating lines
# Improve deprecated message on webPreferences options
## I can't / can't do anything
# Don't bail reading a metadata instance if swift_isaMask isn't available
# Don't exit until the parent asks for an instance
# Don't include Parent pointer in Nominal/BoundGeneric TypeRef uniquing
# Don't use MatchesExtension for matching filters
# Don't use ES6 class for AutoUpdater windows class
# Don't use MatchesExtension for matching filters
# Avoid `distinct` if a subquery has already materialized
# Avoid infinite recursion when bad values are passed to tz aware fields
## Easy to check the contents and behavior of objects
# Emit capture descriptors in their own section
# Emit field metadata for @objc classes
# Emit reflection info for protocols
## Assert added
# Add assert for role with app name in label
# Add assertions for no available bookmark
# Add asserts for properties
## Removed unnecessary code
# Remove some dead code
# Remove some unused enum declaration
# Remove unused variable
# Remove unnecessary line feeds
# Remove trailing whitespace
# Remove debug statement
# Remove redundant mapType{Into,OutOf}Context() calls
## Moved code
# Move function signature analysis to a Util
# Move markInvalidGenericSignature() to a method on TypeChecker
# Move diagnostic for stored properties in protocols from type checking to validation
# Move Doxygen converter into a proper MarkupASTNode visitor
# Move Module require to top
## Fixed name
# Rename environment -> environmentHelpers
# Rename watchProjectPath to watchProjectPaths
# Rename generic arguments
# s/grammarName/grammar
# fullVersion -> writeFullVersion
## Fixed small bugs and typos, squashed warnings
# Fix typos
# Fix a typo
# Fix a test
# Fix typo in DevTools Extensions tutorial
# Fix DownloadingState typo
# Fix includes order
# Fix mistake in tvOS availability
# Fix cpplint warnings
# Fix wrong markdown
# Add missing return
# Add missing period in comment
## Fixed bugs and undesirable behavior
# Fix a memory leak in FSO
# Fix lifetime issues in ManagedBuffer.value
# Fix mangling for nested generic types
# Fix memory corruption in another circularity check
# Fix thread-unsafety in Process.Argument initialization
# Fix "Object has been destroyed" error in "page-title-updated" event
# Make Error.prepareStackTrace read-only (again)
# Make string slicing tests standalone
# Make sure showing success dialogs works correctly
# Make sure to emit closure bodies only once
# Make sure all native resources get freed on exit
# Make sure temp file will be cleaned up when base::Move fails
## Added tests, comments, and documentation
# Add tests for pending pane items
# Add validation test for projecting existentials
# Add a basic test for opening an editor in largeFileMode if >= 2MB
# Add specs for moveSelectionLeft()
# Add failing spec for Menu.buildFromTemplate
# Add comment about map key/values
# Add TODO about blinkFeatures -> enableBlinkFeatures
# Add a design-decisions section to the CONTRIBUTING guide
# Add style.less examples
# Add docs for app.getLocale()
# Add documentation for --proxy-bypass-list
## Test deleted
# Remove a redundant test
# Remove an empty test
## Tests and comments modified
# Fix comment
# Fix outdated comment
# Fix failing specs on Windows
# Fix PersistentVector test for powerpc64{le}
# Update specs for deferred activation hooks
# Update successor/predecessor in validation tests
# Update some tests to use LifetimeTracked instead of hand-rolled canaries
## Modified documentation
# Update README.md
# Update docs for marker callback
# Update documentation for mark*Position
# Update link to solarized-dark-syntax
# Improve documentation of `ses.cookies.set()`
# Improve readability in CSRF section of guide
# Improve spec description
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment