summaryrefslogtreecommitdiff
path: root/Meta
AgeCommit message (Collapse)Author
2020-05-17Meta: Update CLion and WSL configuration documentationsDevashish
This commit updates CLionConfiguration.md and NotesOnWSL.md so that they comply with new build system. In addition to that, the WSL doc is updated to include instructions to run qemu (and serenity) natively on Windows, without needing an X-window server.
2020-05-16Toolchain/Ports: Update to gcc 10.1.0Shannon Booth
2020-05-15LibJS: Let parser keep track of errorsLinus Groh
Rather than printing them to stderr directly the parser now keeps a Vector<Error>, which allows the "owner" of the parser to consume them individually after parsing. The Error struct has a message, line number, column number and a to_string() helper function to format this information into a meaningful error message. The Function() constructor will now include an error message when throwing a SyntaxError.
2020-05-14Build: Switch to CMake :^)Sergey Bugaev
Closes https://github.com/SerenityOS/serenity/issues/2080
2020-05-09Meta: Add script to enforce license headers & run it on TravisLinus Groh
2020-05-09Lagom: Add missing copyright header to FuzzJS.cppLinus Groh
2020-05-08Services: Renamed from ServersAndreas Kling
It didn't feel right to have a "DHCPClient" in a "Servers" directory. Rename this to Services to better reflect the type of programs we'll be putting in there.
2020-05-07Meta: We don't need to ignore run-tests in lint-shell-scripts.shEmanuele Torre
2020-05-04Meta: Add configuration for setting up project in CLionDevashish
This commit adds a CMakeLists.txt file that will be used by CLion to configure the project and documentation explaining the steps to follow. Configuring CLion this way enables important features like code completion and file search. The configuration isn't perfect. There are source files for which CLion cannot pick up the headers and asks to manually include them from certain directories. But for the most part, it works all right.
2020-04-20Meta: Build Lagom js and run LibJS tests on TravisLinus Groh
2020-04-11LibX86: Add an X86 instruction decoder library + basic disassemblerAndreas Kling
This will be very useful for developer tools like ProfileView, and also for future tools like debuggers and such. :^)
2020-04-08Lagom: Add fuzz testing for LibJS using libFuzzer (#1692)Paul Redmond
Note: clang only (see https://llvm.org/docs/LibFuzzer.html) - add FuzzJs which will run the LibJS parser on random javascript inputs - added a basic dictionary of javascript tokens To use fuzzer: CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake -DENABLE_FUZZER_SANITIZER=1 .. Fuzzers/FuzzJs -dict=../Fuzzers/FuzzJs.dict
2020-04-05Lagom: Add clang address/memory/undefined-behavior analyzer supportBrian Gianforcaro
Adding the ability to turn on Clang analyzer support in the Lagom build. Right now the following are working warning free on the LibJS test suite: -DENABLE_MEMORY_SANITIZER:BOOL=ON -DENABLE_ADDRESS_SANITIZER:BOOL=ON The following analyzer produces errors when running the LibJS test suite: -DENABLE_UNDEFINED_SANITIZER:BOOL=ON
2020-03-31Lagom: Build LibLine since "js" depends on itAndreas Kling
2020-03-25Meta: Ignore the LibJS test runner script when lintingAndreas Kling
Making this work in the absence of bash is more cumbersome than simply skipping it at the moment.
2020-03-23Lagom: Build LibJS + "js" test programAndreas Kling
You can now get a full Linux build of the "js" test program by simply building in Meta/Lagom :^)
2020-02-10Meta: Integrate Shellcheck into TravisShannon Booth
lint-shell-scripts searches over the repository looking for shell scripts. On those found, shellcheck is run against them. If any linting fails print those warnings and exit with a non-zero exit code. Run this script automatically in Travis.
2020-02-10Meta: Fix shellcheck warnings in various scriptsShannon Booth
Warnings fixed: * SC2086: Double quote to prevent globbing and word splitting. * SC2006: Use $(...) notation instead of legacy backticked `...` * SC2039: In POSIX sh, echo flags are undefined * SC2209: Use var=$(command) to assign output (or quote to assign string) * SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails * SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined. * SC2034: i appears unused. Verify use (or export if used externally) * SC2046: Quote this to prevent word splitting. * SC2236: Use -z instead of ! -n. There are still a lot of warnings in Kernel/run about: - SC2086: Double quote to prevent globbing and word splitting. However, splitting on space is intentional in this case, and not trivial to change. Therefore ignore the warning for now - but we should fix this in the future.
2020-02-06Lagom: Add a tiny JSON test appAndreas Kling
2020-02-06Lagom: Remove the bitrotted SimpleIPC test programAndreas Kling
2020-02-06LibCore: Remove leading C from filenamesAndreas Kling
2020-02-02LibCore: Put all classes in the Core namespace and remove the leading CAndreas Kling
I've been wanting to do this for a long time. It's time we start being consistent about how this stuff works. The new convention is: - "LibFoo" is a userspace library that provides the "Foo" namespace. That's it :^) This was pretty tedious to convert and I didn't even start on LibGUI yet. But it's coming up next.
2020-01-25Meta: Fix typo + suggest value of export variable.Emanuel Sprung
The variable is not set anymore by the UseIt.sh script, so if a user doesn't have it set in the .bashrc or .zshrc file already, it's not working properly.
2020-01-18Meta: Add license header to source filesAndreas Kling
As suggested by Joshua, this commit adds the 2-clause BSD license as a comment block to the top of every source file. For the first pass, I've just added myself for simplicity. I encourage everyone to add themselves as copyright holders of any file they've added or modified in some significant way. If I've added myself in error somewhere, feel free to replace it with the appropriate copyright holder instead. Going forward, all new source files should include a license header.
2019-12-24Meta: refresh-serenity-qtcreator.sh now checks if SERENITY_ROOT is setanon
2019-11-23Meta: The Qt Creator .files refresh script should pick up .c filesAndreas Kling
2019-11-19Lagom: Fix buildAndreas Kling
2019-11-18Lagom: Move this into Meta/Andreas Kling
This is more of a meta thing, since it's not seeing active development, but is just a way for me to build some Serenity parts and include them in other projects. Move it out of the root to keep things tidy.
2019-11-11Toolchain: Add QEMU build script and improve documentationEmanuel Sprung
Added a script to build QEMU from source as part of the Toolchain. The script content could be in BuildIt.sh but has been put in a seperate file to make the build optional. Added PATH=$PATH to sudo calls to hand over the Toolchain's PATH setup by UseIt.sh. This enabled the script's to use the QEMU contained in the SerenityOS toolchain. Deleted old documentation in Meta and replaced it by a new documentation in the Toolchain folder.
2019-11-06Meta: Time for a new screenshot (Quake edition) :^)Andreas Kling
2019-11-03POSIX compliance: (most) shell scripts converted to generic shellGeorge Pickering
Ports/.port_include.sh, Toolchain/BuildIt.sh, Toolchain/UseIt.sh have been left largely untouched due to use of Bash-exclusive functions and variables such as $BASH_SOURCE, pushd and popd.
2019-09-28Meta: Tweak the Qt Creator project updater a bitAndreas Kling
2019-09-18Meta: Time for a new screnshot! :^)Andreas Kling
2019-08-16Meta: Add the script I use to refresh my Qt Creator project filesAndreas Kling
2019-06-30Meta: Removed all gitignore in the source tree only keeping the root oneVAN BOSSUYT Nicolas
2019-06-07Meta: Time for a new screenshot to keep things fresh. :^)Andreas Kling
2019-06-06Documentation: Describe compatible QEMU versionsConrad Pankoff
2019-05-23LibC: Port setjmp syntax to avoid nasm dependencyRobin Burchell
2019-04-30Meta: Tweak ReadMe and add a new screenshot.Andreas Kling
2019-04-29Toolchain: Added build script (wip)VAN BOSSUYT Nicolas
2019-04-20Meta: Remove convert-raw-to-rgb thingy since we have PNG support nowadays.Andreas Kling
2019-04-20Meta: Update build instructions to build GCC with --with-newlib.Andreas Kling
2019-04-06Meta: Time for a new screenshot :^)Andreas Kling
Also update ReadMe with a link to the build instructions.
2019-04-05Meta: Tweak build instructions.Andreas Kling
2019-04-05Meta: Give the build instructions a more accurate title.Andreas Kling
2019-04-05Meta: Add build instructions about LibM headers.Andreas Kling
2019-04-05Meta: Add build instructions.Andreas Kling
2019-04-05Meta: Add patches for building binutils and GCC for i686-pc-serenity.Andreas Kling
2019-03-20Meta: Tweak ReadMe and add a new screenshot.Andreas Kling
2019-03-08Meta: Time for a new screenshot! :^)Andreas Kling