Commit Graph

43381 Commits

Author SHA1 Message Date
Alex Smith
2b883e1977 Fix compilation of OHCI on x86.
Fixes were needed to go with the USB stack changes. Haven't tested it
yet because I don't have a a machine with OHCI, but I doubt there
will be any problems.
2012-08-06 17:25:51 +01:00
Alex Smith
c802257bbb Merge branch 'master' into x86_64 2012-08-06 12:34:03 +01:00
Alex Smith
2997a19125 Fixed UHCI for x86_64. 2012-08-06 12:29:12 +01:00
Rene Gollent
44672ada83 Add usb_hid to image and get it building/working. 2012-08-06 09:54:18 +01:00
Alex Smith
abfb41a2ab Added USB modules to image. 2012-08-06 09:47:12 +01:00
Rene Gollent
d8b4cfc982 Get USB functional on x86-64.
- Various changes to printf format specifiers to make them 32/64 safe.
- Adjustments to various descriptor structures since addr_t is not 32-bit
  on x86-64, and consequently this breaks the physical structure that's
  expected. Also adjusted padding to accomodate 32-byte boundaries when
  64-bit pointers are in use.
- Adjustments to make use of phys_addr_t where needed.
2012-08-06 09:23:38 +01:00
Ryan Leavengood
adfe152ee2 Sort the translation formats in AddTranslationItems by name.
This is used by ShowImage and CodyCam to create a list of image formats which a
file can be saved as. Tracker sorts the image MIME types used in the Find
window by name, so this makes these Save As menus match that (minus the icons
which I think are superfluous.)

Fixes #6782.

If the use of BList is no longer recommended, I welcome better suggestions
for sorting which will work in both GCC2 and GCC4. But this works ;)
2012-08-06 02:08:37 -04:00
Ryan Leavengood
f022b1e7c0 Rename ICO translator format name to "Microsoft icon".
This matches the MIME type and is part of fixing #6782.
2012-08-06 00:43:10 -04:00
Niels Sascha Reedijk
7753c3829c Update translations from Pootle 2012-08-06 06:28:07 +02:00
Ryan Leavengood
57c5b09e1a Use be_control_look != NULL everywhere in the Interface Kit.
Should not be a functional change. It is not in the Haiku Coding Guidelines but
I feel like 'if (object != NULL)' is generally preferred to 'if (object)', plus
in this case of be_control_look that is the more common style.
2012-08-05 18:07:23 -04:00
Ingo Weinhold
7483c98dec Debugger (and some friends): 64 bit fixes 2012-08-05 23:58:25 +02:00
Humdinger
aed3510485 Close alerts with ESCAPE key.
Added SetFlags(B_CLOSE_ON_ESCAPE) or SetShortcut(index, B_ESCAPE) to BAlerts
depending if the result gets used later in the code, or if it's a one-button
BAlert.
2012-08-05 19:32:46 +02:00
Alexander von Gluck IV
4e7e3e331d radeon_hd: display port improvements
* Remove non-generic radeon dp_get_lane_count
* Set lane count and link rate at set_display_mode
* Pass entire mode to pll_set vs only pixel clock for DP code
* Add helpers for DP config data to common code
* Obtain more correct link rate
2012-08-05 12:15:35 -05:00
Alex Smith
cc30eec43d System call restart support. 2012-08-05 14:20:37 +01:00
Alex Smith
e1be7d07d6 Fixed a 64-bit calculation error. 2012-08-05 12:59:46 +01:00
Alex Smith
284d75bd6a Merge branch 'master' into x86_64 2012-08-05 10:33:20 +01:00
Alex Smith
adf8818ec0 Compilation fixes for Terminal, add to image.
It runs, but has shown up various bugs: app_server crashes, kernel
panics, rendering problems. Working on fixing these now.
2012-08-05 10:24:22 +01:00
Alex Smith
e5363c936a Style fix. 2012-08-05 10:16:11 +01:00
Alex Smith
3fed1a15f5 Get app_server working on x86_64.
With this commit, app_server now compiles and runs at boot! Nothing
particularly interesting happens, just the blue background and a mouse
pointer. Remote backends are broken and not compiled in, see #8834.
Note that it won't be possible to build this quite yet, need to get
the FreeType package uploaded.
2012-08-05 08:46:30 +01:00
Alex Smith
f429464535 User symbol lookup works now on x86_64. 2012-08-05 08:12:39 +01:00
Alexander von Gluck IV
f0e29955bf radeon_hd: Fix pre-emphasis shift
* pre-emphasis shift was always for lane b
2012-08-05 00:50:56 -05:00
Alexander von Gluck IV
694eca3bb6 radeon_hd: Add DP link_train_ce
* First attempts at DisplayPort link training
  clock equalization.
* Add DP define to detect equalization state
* Working towards resolving #8626
2012-08-05 00:01:43 -05:00
Ingo Weinhold
9b008d31ff Debugger CLI: Add a bunch of new commands
* "thread": prints/sets the current thread.
* "continue", "stop": continue/stop the current thread.
* "sc"/"bt": Print a stack trace for the current thread. Very basic yet.
2012-08-05 01:07:17 +02:00
Ingo Weinhold
86b1039b42 Debugger CliContext: More event handling, current thread
* Introduce the notion of a current thread. That's the one certain
  commands will target (by default).
* Add more event handling in CliContext. There's now a queue of pending
  events which are printed in the input loop at convenient times to
  inform the user about what happened (new/deleted/stopped threads,
  etc.).
2012-08-05 01:07:17 +02:00
Ingo Weinhold
59dbbd147e Debugger: CliQuitCommand: Fix cancel shortcut 2012-08-05 01:07:16 +02:00
Ingo Weinhold
d4586180a6 Debugger CLI: Improve "help" command
Given a command name it prints the command's usage.
2012-08-05 01:07:16 +02:00
Ingo Weinhold
a7580a8299 Debugger: Add CliCommand::PrintUsage() 2012-08-05 01:07:16 +02:00
Alex Smith
049d149cf7 Handle 64-bit types correctly. 2012-08-04 18:58:26 +01:00
Alex Smith
57ab0395ad 64-bit fixes for input_server. 2012-08-04 16:10:00 +01:00
Alex Smith
25871c6895 Removed Thread::fault_callback, no longer necessary now that vm86 is gone. 2012-08-04 11:02:54 +01:00
Alex Smith
70ee5a7efb Moved x86emu to {src,headers}/libs/. 2012-08-04 10:21:22 +01:00
Alex Smith
92f09f1aeb Added AHCI driver to image. 2012-08-04 10:14:22 +01:00
Alex Smith
54393c0379 Merge branch 'master' into x86_64 2012-08-04 09:59:17 +01:00
Niels Sascha Reedijk
147d65c26d Update translations from Pootle 2012-08-04 06:51:11 +02:00
Ryan Leavengood
bab4f5ad7d Use the parent menu's font when truncating labels.
Fixes the other bug uncovered by #8829, but my other fix was valid too.
2012-08-04 00:24:56 -04:00
Ryan Leavengood
4ffc27fcc1 Fix incorrectly truncated menu labels.
An off-by-one error (> instead of >= really) was causing truncation when it
wasn't needed. But for some reason this only showed up when the main font size
was increased. I may or may not look into that, but this fixes the issue.

Maybe one of the faster bug logged to bug fixed times in Haiku history? ;)
2012-08-03 23:56:00 -04:00
Alexander von Gluck IV
33d23e8fed DriveSetup: Show a quick warning when formatting raw disk
* Another translation candidate :)
2012-08-03 11:59:48 -05:00
Alexander von Gluck IV
8fe3bba727 DriveSetup: Don't show unimplemented tools 2012-08-03 11:59:47 -05:00
Alexander von Gluck IV
448216aff8 DriveSetup: Text / context cleanup
* Make sure we use consistant terminology
* No more Formatted partition "" messages when
  doing a partition map
* This commit will require translation work
2012-08-03 11:59:47 -05:00
Alexander von Gluck IV
badea728fa DriveSetup: Reorganize Disk menu.
* Group destructive and non-destructive operations
* Rename Disk->Format to Wipe (seems like a more modern term)
* Mostly bikeshed :)
2012-08-03 11:59:47 -05:00
Alex Smith
e9e70c0f95 Fixed compilation of remote_disk_server on OS X hosts. 2012-08-03 17:48:02 +01:00
Alex Smith
9bfe064799 GCC 2 compilation fix for x86emu. 2012-08-03 17:12:53 +01:00
Alex Smith
74bda98cb2 Killed off vm86 code, no longer being used. 2012-08-03 16:49:15 +01:00
Alex Smith
9f90e8a964 Updated drivers to use BIOS module instead of vm86. 2012-08-03 16:28:20 +01:00
Alex Smith
b28f734b1c Remove line copied from old vm86 code that shouldn't be there. 2012-08-03 16:18:49 +01:00
John Scipione
593808d96a Return authors name's to DeskCalc headers.
No functional change.

* Surround email addresses in angle brackets.
* Add myself to ExpressionParser.cpp and .h
* Remove myself from ExpressionTextView.cpp and .h
* Alphatetize authors by last name.

Thanks Ingo and Axel.
2012-08-03 11:16:23 -04:00
Alex Smith
a9ee7a5132 Added new BIOS module for calling BIOS interrupts.
This module provides an interface for drivers to use to perform calls
to the BIOS (only really for use by graphics drivers which need to use
the VESA BIOS). It uses the x86emu library from X.org which emulates
a real mode x86 CPU. This is necessary for x86_64 as virtual 8086 mode
no longer exists there.
2012-08-03 15:42:30 +01:00
Alexander von Gluck IV
47689d6e98 DriveSetup: Refactor gui layout as per ML thread
* Move disk partitioning systems under Disk menu
* Found and created bug #8827 (this wasn't introduced
  by my changes and was pre-existing)
* My testing resulted in no regressions, however
  please test though!
2012-08-03 09:34:28 -05:00
John Scipione
9f5d4ecd97 Style fixes, update copyright, add myself as author.
No functional change.
2012-08-03 04:27:12 -04:00
Ryan Leavengood
e19488b2cc Make Deskbar respect the menu text color settings.
Hard-coding black is bad, mmmkay?

This makes Deskbar usable on dark background with light text color schemes.
2012-08-03 01:59:53 -04:00