François Revol
495efc382b
loader: Drop the HashMap for partition lookup by id
...
The HashMap constructor was called before the heap is initialized,
ending up calling malloc from the OpenHashMap constructor.
Oddly it was still working on x86 but broke other platforms.
Instead we add a Lookup() static method to Partition,
which by default walks gPartitions for the id,
and recursively calls itself on the children lists.
This means we must add a partition even temporarily to gPartitions
before Scan()ing it though.
Signed-off-by: François Revol <[email protected] >
2016-09-02 19:02:33 +12:00
François Revol
1e3ca5cef9
libusb_compat: add gcc4 package
2016-03-15 01:01:48 +01:00
François Revol
e89ef1fef7
U-Boot: TRACE fdt_serial instead of dprintf
...
and disable it by default (it would hang on some platforms anyway).
2016-02-26 22:59:33 +01:00
François Revol
c82af4bebe
U-Boot: try to use virtual-reg to get the UART
...
XXX: possibly only for _BOOT_MODE?
2016-02-26 22:58:45 +01:00
François Revol
14cfccd011
U-Boot: add a 'physical' arg to fdt_get_device_reg()
...
If false, try to use the virtual-reg property first.
2016-02-26 22:58:17 +01:00
François Revol
73ef47f70a
loader: TRACE undefined symbols
...
While the kernel shouldn't have any, it happens on platforms missing new features.
Make it explicit.
2016-02-26 22:57:06 +01:00
François Revol
8c5db3649d
Workspaces: Add switch-on-wheel user setting
...
Currently only applies when in a window, not when replicated
(then it always switches).
Feel free to fix (need to create the settings object when replicated).
2016-02-26 21:53:34 +01:00
François Revol
afd7c879ee
add an App_SDL icon for SDL apps
2016-01-11 00:40:11 +01:00
François Revol
1150f8cbd4
screeninfo: fix warning
2016-01-10 00:18:59 +01:00
François Revol
0e15d112ea
screeninfo: iterate using BScreen::SetToNext()
...
Note it leaves the current object valid on error, so you can't use
IsValid() as the for loop test.
2016-01-10 00:18:59 +01:00
François Revol
d780e243ad
dev-perso: check for a TODO list and print first 5 items
2016-01-07 23:23:11 +01:00
François Revol
804718bbfb
dev-perso: check for git first
2016-01-07 23:19:16 +01:00
François Revol
39d6c466d8
dev-perso: remove unused password stuff
2016-01-07 22:46:58 +01:00
François Revol
5692356be2
usb_disk: add the Zip icon
...
not used yet, my USB Zip drive seems to have gone to the mechanical valhalla.
2016-01-07 21:38:19 +01:00
François Revol
8dde46a47f
Add a Misc_Birthday_Cake icon to celebrate hrev50000 \o/
2016-01-07 21:13:18 +01:00
François Revol
ec684513fe
WindowShade: add to regular image
2016-01-07 21:12:17 +01:00
François Revol
dc422da1a5
WindowShade: fix build
2016-01-07 21:10:50 +01:00
François Revol
b50be529bb
Add dpms tool to regular image
2016-01-07 21:04:11 +01:00
François Revol
b259ac9c59
Add listfont to the minimum image definition
2016-01-07 18:13:47 +01:00
François Revol
37dd17a4a7
Fix shadows on Misc_Erlenmeyer and App_FLUID
2016-01-07 16:35:28 +01:00
François Revol
5dc097412d
dragger: use EXIT_SUCCESS/EXIT_FAILURE macros for clarity
2016-01-07 02:13:41 +01:00
François Revol
82af81ac2e
draggers: fix header
2016-01-07 02:13:41 +01:00
François Revol
be1b88453c
draggers: print usage on unknown arguments
...
also handle on/off as arguments.
2016-01-07 02:13:41 +01:00
François Revol
32d85aaa97
Add an App_Dropbox icon
...
A blend of App_Expander_2 and Folder_Virtual for the colors.
Could be used for Dropbox clients like Orphilia.
2016-01-06 13:33:24 +01:00
François Revol
59405aa6be
App_FLUID: Set MinLOD of reflexes back to 0
...
It makes the icon look less flat in 16x16.
2016-01-03 17:48:35 +01:00
François Revol
7121057cb7
Add an App_FLUID icon (FLTK's IDE)
...
Based on Misc_Erlenmeyer
2016-01-01 22:41:55 +01:00
François Revol
733150c77a
Add a Misc_Erlenmeyer icon
...
Hmm, transparency!
2016-01-01 22:41:55 +01:00
François Revol
b23cb01e7c
Add a Misc_Milestone icon
...
How come we didn't have one yet?
2016-01-01 20:25:35 +01:00
François Revol
62aa9bd547
Misc_FreeBSD: fix shadows
2016-01-01 19:49:49 +01:00
François Revol
1eafdb85fe
Add a Misc_FreeBSD icon
2016-01-01 19:32:05 +01:00
François Revol
694f80a877
Add an App_LibreOffice icon
...
Not sure the design looks obvious enough though.
2016-01-01 17:18:08 +01:00
François Revol
340c698e80
Add an App_Lazarus icon
2016-01-01 16:50:01 +01:00
François Revol
4a44a4f15f
Add a Misc_Terminal_ncurses icon
...
Really just to illustrate my next FOSDEM talk ;-)
2016-01-01 16:25:50 +01:00
François Revol
c7ae2d8296
Add an Misc_HaikuBook icon
2016-01-01 16:07:47 +01:00
François Revol
3e004e8c20
Add a Misc_BeBook icon
2016-01-01 15:56:58 +01:00
François Revol
a5f29c01b4
Misc_Book: add missing object names
2016-01-01 15:49:07 +01:00
François Revol
d3eeff20bd
Add Be, Be_2 and Zeta Overlay icons
...
Separated from the Device_Harddisk versions.
2016-01-01 15:44:48 +01:00
François Revol
0b88c85656
Device_Harddisk_Zeta icon: remove unused colors
2016-01-01 15:43:55 +01:00
François Revol
7408c0a8a4
Fix some icon shadows
...
- Misc_ORICAtmos: the back is larger
- Misc_TARDIS: use a gradient since it also has a light atop
2016-01-01 15:28:30 +01:00
François Revol
1e0e585e44
Add an App_wxWidgets icon just so it's there
2016-01-01 06:37:53 +01:00
François Revol
0fe022fd0d
Add a little script to generate a montage of all icons
...
This needs the 'montage' command from ImageMagick.
(it will install it with pkgman if missing)
It first uses 'translate' to convert Icon-O-Matic files to PNG,
then makes a montage with the icon titles.
Run it from the top source folder under Haiku, it might take a while.
2016-01-01 05:53:38 +01:00
François Revol
805569fcf3
Add an App_FLTK icon for FLTK-based apps
2016-01-01 05:47:12 +01:00
François Revol
cc27637f99
Add a Misc_UEFI icon mimicking the UEFI Forum logo
2016-01-01 04:20:33 +01:00
François Revol
98f17b72c1
Add a Misc_ORICAtmos icon
...
A much needed addition!
ASCII NEW YEAR
2016-01-01 03:15:23 +01:00
François Revol
57346752bb
listfont: remove (broken) check for R5 bug
2015-12-30 19:56:01 +01:00
François Revol
ffa40c8562
Add package for ThemeManager
2015-12-16 17:25:41 +01:00
François Revol
594187ade2
glibc/ppc: add missing math stuff
...
hopefully fixing the build for the 53rd time...
2015-09-18 03:59:56 +02:00
François Revol
bbdf4c27fa
glibc: avoid linking long double math stuff on PPC and M68K
2015-09-18 03:59:56 +02:00
François Revol
dab2aa8189
complex.h: fix __NO_LONG_DOUBLE_MATH test
...
PPC doesn't support long double yet...
2015-09-18 03:59:55 +02:00
François Revol
22dc6b7f47
mpd: update package
2015-09-18 00:27:51 +02:00
François Revol
eed4335a85
libmpdclient: update package
2015-09-17 21:19:25 +02:00
François Revol
045af160e7
df: silently accept -h
...
Traditional Unix 'df' use -h for human readable units.
I always end up typing 'df -h' so it's frustrating to see the usage there.
2015-09-17 00:29:50 +02:00
François Revol
490dc7aa16
keymap: avoid showing usage twice
2015-09-17 00:22:13 +02:00
François Revol
926df420ca
recipe.syntax.vim: Update following SRC_URI/SRC_FILENAME change
...
in haikuporter.
2015-07-02 19:28:11 +02:00
François Revol
78b7298197
u-boot: PPC: Fix warnings
2015-06-12 23:18:33 +02:00
François Revol
a24ca25e68
PPC: disable -Werror for now
...
At least for the Sam port there are still things to fix in U-Boot code,
and some #warnings as well.
2015-06-12 23:03:53 +02:00
François Revol
54656b39c6
stdio.h: declare fcloseall() GNU extension
...
Since libroot already exports it and I've found some code using it.
2015-05-08 23:46:15 +02:00
François Revol
805143a5a4
tig: update package
2015-05-01 18:39:18 +02:00
François Revol
b211592822
zipomatic: notify an error when /bin/zip is missing
...
Since zip has been outsourced, it's possible to loose it when
upgrading, in which case ZOM went busylooping without noticing the
thread actually never started.
At least now it says "failed to create the archive".
Maybe it should try to install zip?
2015-04-26 20:33:33 +02:00
François Revol
a2ddc1c06e
Fix CompileDTS rule to locate the device tree blob properly
...
This avoids having to call it from the BoardSetup files.
2015-04-24 02:27:55 +02:00
François Revol
83b9ad27c9
libtool: update packages, add gcc4 version
2015-04-22 16:14:37 +02:00
François Revol
5c2425a61e
PPC: fix COFF bootloader entry point
...
The concept of entry point in COFF is actually different than in ELF.
In COFF, the entry point is actually a "descriptor" (pointer) to the actual
start code. So we patch the entry point address when calling objcopy.
Now my old Performa 5400/180 actually starts the loader correctly \o/
2015-04-22 02:43:35 +02:00
François Revol
ade89bf38e
PPC: simplify the bootloader linker script
...
the OF 2.0 COFF loader skips sections other than
.text .data and .bss, so merge others into those three.
2015-04-22 02:43:34 +02:00
François Revol
fe0af42062
shutdown: style fix
2015-04-21 15:14:11 +02:00
François Revol
b526d04a5b
paths.h: add _BSD_SOURCE guard back, also check for _GNU_SOURCE
...
So things (like m4) expecting paths.h as part of glibc will get
what they want with _GNU_SOURCE.
2015-04-21 01:34:26 +02:00
François Revol
ae799603e7
hack_coff: remove useless header dependency
2015-04-21 01:13:05 +02:00
François Revol
0a6339dd36
hack_coff: add rs6000.h from GDB 7.8
...
Of course we were using it from our own gdb copy...
until it got deleted.
2015-04-21 01:11:11 +02:00
François Revol
c3bffc88c9
fix warnings
2015-04-21 00:25:30 +02:00
François Revol
7dd1073833
ByteOrder.h: add explicit casts when using gcc builtins
...
Those return uintNN_t types instead of our own types,
but uint32 for example is long while uint32_t isn't,
giving some trouble with the PRI* macros for example on PPC.
2015-04-21 00:25:29 +02:00
François Revol
ae65896a9f
paths.h: fix some paths
...
We don't have /sbin so...
2015-04-20 23:33:29 +02:00
François Revol
110600c698
paths.h: remove the _BSD_SOURCE guard
...
It seems like glibc also has paths.h and m4 fails to bootstrap
without _PATH_BSHELL.
This file really needs some cleanup btw, since most is actually
irrelevant or incorrect for Haiku.
2015-04-20 23:31:20 +02:00
François Revol
06ba99b08a
shutdown: handle 'halt' and 'reboot' as argv[0]
...
In both cases ask confirmation to the user.
2015-04-20 23:23:56 +02:00
François Revol
1eb23951c3
HaikuPortsCross: Update some PPC bootstrap packages
2015-04-20 18:35:36 +02:00
François Revol
d508fd4c33
PPC: leave all atomic ops as gcc inlines
...
I'm not sure the 64bit versions are really implemented though...
2015-04-20 17:52:39 +02:00
François Revol
10e57f6e58
PPC: fix handler type cast
2015-04-20 17:19:33 +02:00
François Revol
1c91ed03fa
Build binutils with different extra targets depending on arch
...
EFI support isn't much useful for ARM.
Also add some targets to help debugging binutils on PPC.
2015-04-18 15:14:24 +02:00
François Revol
7332f46513
Add an icon for SD Card devices
2015-04-03 02:07:55 +02:00
François Revol
1a8d852f25
ARM: Fix copy-paste oversight
2015-03-14 04:11:47 +01:00
François Revol
1bd23f7213
rpi1/rpi2: fix linux bootloader entry point
...
Looks like bad copy-paste :P
2015-03-08 00:14:56 +01:00
François Revol
a5cc577f1e
Add DTS for Efika MX board (iMX53 Cortex A8)
...
Taken from an LKM thread :
http://www.serverphorums.com/read.php?12,542099,542099
Probably not complete but it's a start.
2015-02-22 00:51:01 +01:00
François Revol
02bdb5db9a
Add libtranslation group definition to doxygen stuff
2015-01-03 01:05:27 +01:00
François Revol
d7c90b6275
Add doxygen file for BTranslator class.
...
By Markus Himmel (GCI2014).
2014-12-30 04:54:19 +01:00
François Revol
2d764efa49
Update libassuan packages
2014-11-26 01:15:52 +01:00
François Revol
67d659f26e
Update gpgme packages and add gcc2 version
2014-11-25 03:34:48 +01:00
François Revol
0e38333732
Update libassuan packages
2014-11-25 03:30:05 +01:00
François Revol
187e6ae426
Add packages for gpgme
2014-11-25 03:05:00 +01:00
François Revol
108f3dec11
Add packages for libassuan
2014-11-19 17:17:43 +01:00
François Revol
0c288dd013
Add packages for libgpg-error
2014-11-19 17:13:51 +01:00
François Revol
12533060d0
stdio.h: add missing typedefs
...
I should sleep more and build more :D
2014-11-19 15:45:17 +01:00
François Revol
e1f303c5ec
Add fopencookie() to stdio.h
...
We already export it in libroot, and libassuan seems to require it.
2014-11-19 15:13:45 +01:00
François Revol
642c5de7a8
virtualkeyboard: more TODO
2014-11-13 20:10:05 +01:00
François Revol
7dc43c256f
virtualkeyboard: convert TODO to org-mode file
2014-11-13 20:07:44 +01:00
François Revol
953c6a0450
AboutSystem: add Freeman Lou to the contributors
...
I'm not sure which is first name and which is last though...
2014-11-13 18:08:49 +01:00
François Revol
280efb4202
virtualkeyboard: more TODO
2014-11-13 18:00:03 +01:00
François Revol
e47787291d
virtualkeyboard: mention needed code factorisation in TODO
2014-11-13 17:51:14 +01:00
François Revol
747c2e9253
Add sniff rule to Gobe Productive MIME type
...
I'm not sure the 'DOC!' part isn't an endian marker but for now
it should be enough.
2014-11-11 00:41:22 +01:00
François Revol
645262ff2e
Add MIME type for Gobe™ Productive™ Document
2014-11-11 00:31:42 +01:00
François Revol
58cd1a5fb3
Update simh package
2014-11-11 00:15:32 +01:00
François Revol
44d31dca37
Update intltool package
...
To properly require cmd:file.
2014-11-10 01:12:04 +01:00
François Revol
4dcad4ed72
Add package for file
...
Required for intltool.
2014-11-10 01:11:05 +01:00