Commit Graph

28 Commits

Author SHA1 Message Date
Kevin Lange
c8b3a480c7 Scripts to run the clang analyzer 2012-10-09 21:00:50 -07:00
Kevin Lange
1a648129cb Fix import for dirent.h 2012-10-08 19:37:46 -07:00
Kevin Lange
5249138dcd Environment variables, integrated with newlib.
* Patched crt0 to support a pre_main
* pre_main sets up environment variables, can do other things later,
  but then just jumps to main with the same arguments.
* Updated a bunch of apps to pass environment variables around.
2012-10-08 00:17:50 -07:00
Kevin Lange
147f112151 Updated toolchain scripts for better libc builds 2012-10-08 00:17:32 -07:00
Kevin Lange
987fdf2959 Fix one last libpng 1.5.12 / 1.5.13 issue 2012-09-29 16:32:28 -07:00
Kevin Lange
e199e30efd Update toolchain libpng 2012-09-29 15:57:41 -07:00
Kevin Lange
8dec80deb9 [risky] Try to merge in dirent.h stuff.
This might not work. I hope it does, though.
2012-09-16 20:37:22 -07:00
Kevin Lange
352badfadf Cleanup some things
* Remove old login background [unused]
* Remove glock (graphical lock) [outdated]
* Have toolchain/activate set pkg-config variables
  XXX: You will have unset PKG_CONFIG_LIBDIR to configure native
  software if you have activated the toolchain! Otherwise, your
  pkgconfig information will be incorrect.
* Fixed a bug in the compositor where we would give window stack order 0
  to applications that didn't ask for it because depths were assigned by
  wid which starts at 0. Make it start at 1 instead, no chance of an app
  getting the wrong stack order (this shoudn't have any effect on how
  things work with a login app, since it grabs wid 0; but if you boot
  directly into a non-login environment, minor timing issues can do odd
  things.)
2012-09-16 18:14:07 -07:00
Kevin Lange
32fe610b7c Updates to newlib patches
* Replace my allocator with dlmalloc [public domain]
* Path up setjmp.S so that it doesn't call CLI
* Add some stubs to syscalls.c
2012-09-14 19:11:45 -07:00
Kevin Lange
46d8f11c88 Add libpng/zlib to the toolchain
* Also some minor updates to the toolchain in general.
* Replacing the old bitmap wallpaper (not the actual wallpaper, but the
  terminal one) with a fresh new wallpaper as a PNG.
2012-09-12 20:06:22 -07:00
Kevin Lange
027d90a53b Fix an incorrect definition for a syscall
Wow that was a bad one.
2012-09-04 22:33:36 -07:00
Kevin Lange
ed0b4d2e4b Accidentally moved a cp of a header...
... to a point before its destination existed.
2012-09-04 20:47:25 -07:00
Kevin Lange
07955c83c6 Fix dozens of build warnings and other oddities.
* Finally bring syscall.h up to speed and include all syscalls in the
  syscall module of the C library.
* Remove the third-party obfuscated C demos (we have nyancat, good
  enough)
* Fix userspace apps to build without complaining about undeclared
  strtok_r by disable __STRICT_ANSI__
* Fix .eh_frame by including the proper stuff with libgcc.
2012-09-04 20:27:49 -07:00
Kevin Lange
989b43ee68 Fix malloc in libc? 2012-06-01 02:02:02 +09:00
Kevin Lange
112d61fec6 Revert "Remove my allocator from newlib patches"
This reverts commit 82ca77e8bb.
2012-06-01 01:02:00 +09:00
Kevin Lange
755058d9af Fix some typos in the toolchain scripts 2012-05-31 22:53:42 +09:00
Kevin Lange
94bac01312 Remove accidentally added swap files. 2012-05-26 10:17:30 +09:00
Kevin Lange
2c3cb1578e Merge branch 'master' of github.com:klange/osdev 2012-05-17 13:47:42 -04:00
Kevin Lange
82ca77e8bb Remove my allocator from newlib patches 2012-05-17 13:47:23 -04:00
Kevin Lange
5fe2fdcfe8 Break out on failure 2012-05-17 12:18:16 -04:00
Kevin Lange
e9e4d89ac8 Toolchain installer now does freetype 2012-05-17 11:50:25 -04:00
Kevin Lange
309dfed2bf Uncomment gcc and binutils builders 2012-05-16 23:12:11 -04:00
Kevin Lange
59649f8fed activate script 2012-05-16 23:10:06 -04:00
Kevin Lange
b7647f108f Build toolchain should produce working gcc now 2012-05-16 23:08:43 -04:00
Kevin Lange
659727e514 Toolchain build stuff should work, but not c++ yet. 2012-05-16 23:03:17 -04:00
Kevin Lange
af8e7d9e00 Prepare script should be done. 2012-05-16 22:21:37 -04:00
Kevin Lange
37bd5caf53 Toolchain stuff continued 2012-05-16 21:56:31 -04:00
Kevin Lange
94037f482f Working on toolchain autobuild 2012-05-16 21:37:06 -04:00