Skip to content

Commit

Permalink
Changed license email to use angle brakets
Browse files Browse the repository at this point in the history
Previously, the license has used normal braces to display the email
address, which was non-standatd, this commit found & replaced these
license headers and replaced them with the standard angle-bracket "<>"
syntax used in most projects
  • Loading branch information
cheng-alvin committed Dec 26, 2024
1 parent 8824efc commit c141fd5
Show file tree
Hide file tree
Showing 28 changed files with 29 additions and 49 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com)
Copyright (c) 2023-2024 Alvin Cheng <eventide1029@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion libjas/buffer.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* MIT License
* Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com)
* Copyright (c) 2023-2024 Alvin Cheng <eventide1029@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion libjas/codegen.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* MIT License
* Copyright (c) 2023 Alvin Cheng (eventide1029@gmail.com)
* Copyright (c) 2023 Alvin Cheng <eventide1029@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion libjas/encoder.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* MIT License
* Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com)
* Copyright (c) 2023-2024 Alvin Cheng <eventide1029@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion libjas/endian.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* MIT License
* Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com)
* Copyright (c) 2023-2024 Alvin Cheng <eventide1029@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion libjas/error.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* MIT License
* Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com)
* Copyright (c) 2023-2024 Alvin Cheng <eventide1029@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion libjas/exe.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* MIT License
* Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com)
* Copyright (c) 2023-2024 Alvin Cheng <eventide1029@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion libjas/include/buffer.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* MIT License
* Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com)
* Copyright (c) 2023-2024 Alvin Cheng <eventide1029@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion libjas/include/codegen.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* MIT License
* Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com)
* Copyright (c) 2023-2024 Alvin Cheng <eventide1029@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion libjas/include/encoder.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* MIT License
* Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com)
* Copyright (c) 2023-2024 Alvin Cheng <eventide1029@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion libjas/include/endian.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* MIT License
* Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com)
* Copyright (c) 2023-2024 Alvin Cheng <eventide1029@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion libjas/include/error.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* MIT License
* Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com)
* Copyright (c) 2023-2024 Alvin Cheng <eventide1029@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion libjas/include/exe.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* MIT License
* Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com)
* Copyright (c) 2023-2024 Alvin Cheng <eventide1029@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion libjas/include/instruction.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* MIT License
* Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com)
* Copyright (c) 2023-2024 Alvin Cheng <eventide1029@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
23 changes: 2 additions & 21 deletions libjas/include/jas.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* MIT License
* Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com)
* Copyright (c) 2023-2024 Alvin Cheng <eventide1029@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -28,7 +28,7 @@

/**
* @author cheng-alvin
* Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com)
* Copyright (c) 2023-2024 Alvin Cheng <eventide1029@gmail.com>
*
* Jas is a minimal, fast and simple zero-dependency assembler for the x64
* family of processors, jas not only aims to be fast and simple when using
Expand All @@ -42,23 +42,4 @@
* Made with love by Alvin / the Jas crew and contributors ❤️ .
*/

#ifdef __cplusplus
namespace jas {
extern "C" {
#endif

#include "buffer.h"
#include "codegen.h"
#include "error.h"
#include "instruction.h"
#include "label.h"
#include "mode.h"
#include "operand.h"
#include "register.h"

#ifdef __cplusplus
}
}
#endif

#endif
2 changes: 1 addition & 1 deletion libjas/include/label.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* MIT License
* Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com)
* Copyright (c) 2023-2024 Alvin Cheng <eventide1029@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion libjas/include/mode.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* MIT License
* Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com)
* Copyright (c) 2023-2024 Alvin Cheng <eventide1029@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion libjas/include/operand.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* MIT License
* Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com)
* Copyright (c) 2023-2024 Alvin Cheng <eventide1029@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion libjas/include/operand.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* MIT License
* Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com)
* Copyright (c) 2023-2024 Alvin Cheng <eventide1029@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion libjas/include/register.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* MIT License
* Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com)
* Copyright (c) 2023-2024 Alvin Cheng <eventide1029@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion libjas/include/rex.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* MIT License
* Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com)
* Copyright (c) 2023-2024 Alvin Cheng <eventide1029@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
3 changes: 1 addition & 2 deletions libjas/instruction.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* MIT License
* Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com)
* Copyright (c) 2023-2024 Alvin Cheng <eventide1029@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -207,4 +207,3 @@ instr_encode_table_t instr_get_tab(instruction_t instr) {
err("No corrsponding instruction opcode found.");
return INSTR_TERMINATOR; // aka empty
}

2 changes: 1 addition & 1 deletion libjas/label.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* MIT License
* Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com)
* Copyright (c) 2023-2024 Alvin Cheng <eventide1029@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion libjas/mode.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* MIT License
* Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com)
* Copyright (c) 2023-2024 Alvin Cheng <eventide1029@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion libjas/operand.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* MIT License
* Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com)
* Copyright (c) 2023-2024 Alvin Cheng <eventide1029@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion libjas/operand.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* MIT License
* Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com)
* Copyright (c) 2023-2024 Alvin Cheng <eventide1029@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion libjas/register.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* MIT License
* Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com)
* Copyright (c) 2023-2024 Alvin Cheng <eventide1029@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion tests/test.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* MIT License
* Copyright (c) 2023-2024 Alvin Cheng (eventide1029@gmail.com)
* Copyright (c) 2023-2024 Alvin Cheng <eventide1029@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down

0 comments on commit c141fd5

Please sign in to comment.