Commit Graph

46208 Commits

Author SHA1 Message Date
Philippe Saint-Pierre
0ebfc3e032 Tracker: remove superflous separator item in ContextMenu #6997 2013-06-23 16:05:12 -04:00
Philippe Saint-Pierre
89d2bf3aa7 People: allocate BFile on stack 2013-06-23 13:46:42 -04:00
Rene Gollent
dc5cd9e4db Style fix. 2013-06-23 13:06:50 -04:00
Rene Gollent
6eb68a0430 Slight tweak to inactive instruction pointer highlight color. 2013-06-23 08:10:10 -04:00
Jérôme Duval
20da79d7da pci: fixed ppc build
* removed default parameter value, this interface is used by C code.
2013-06-23 12:40:37 +02:00
Philippe Saint-Pierre
a09c983cc6 People: open files in READ_WRITE mode only when necessary. (#5791) 2013-06-22 19:46:40 -04:00
Rene Gollent
b1975a590f Implement #9775.
- When possible, SourceView now adds a context menu option to switch
between source and disassembly. If the disassembled code is not yet
available, it is asynchronously requested. Adjusted SourceView::Listener
and implementing subclasses accordingly to make that request feasible.

- Adjust TeamWindow to correctly deal with the possibility of the
function source code being available but not loaded.
2013-06-22 16:01:58 -04:00
Rene Gollent
442f71a7d9 Extend FunctionSourceCodeRequested().
Now takes an optional boolean parameter to indicate that disassembly is
explicitly being requested. Adjust TeamDebugger and LoadSourceCodeJob's
implementations accordingly.
2013-06-22 15:48:17 -04:00
Jérôme Duval
26a4510e59 pci: added pci_find_extended_capability().
* added PCI Extended Capabilities definitions.
* pci_find_capability() parameter offset is now optional.
2013-06-22 19:48:56 +02:00
Jérôme Duval
e1c44764ef pci: switched PCI::[Read|Write]Config to type uint16 for the offset. 2013-06-22 19:48:54 +02:00
Jérôme Duval
ce353e5d6e pci: added pcie mechanism for config space access.
* pci-acpi.cpp is based on the bootloader bios_ia32/acpi.cpp. The ACPI module
has already a dependency on the PCI module. Using pci-acpi.cpp eases the simple
task of finding the PCIe base address to map the config space.
* pci_read_config and pci_write_config in pci_controller.h were using an uint8
for offsets in the config space. Switched to uint16 to enable access to the extended
config space (0x100 and upper). Added a check for these offsets in
pci_mech[1|2]_[read|write]_config() for x86 and other platforms as these mechanisms
don't support a priori the extended config space.
2013-06-22 19:48:54 +02:00
Niels Sascha Reedijk
bc7a518375 Update translations from Pootle 2013-06-22 06:16:11 +02:00
Rene Gollent
ecd9ecb132 Add missing error check. 2013-06-21 18:54:55 -04:00
Rene Gollent
21d8063591 Slight tweak to located file handling.
- When the user helps locate a missing source file, verify that the
source and located file names match. If they don't, prompt the user to
verify that they did in fact intend to choose the file in question.
Helps avoid accidentally clicking the wrong file when performing
location.
2013-06-21 18:54:55 -04:00
Rene Gollent
143fdaf7cf Style fix. 2013-06-21 18:54:54 -04:00
Pawel Dziepak
06dc1b57d4 nfs4: Fix double free when NFS4Inode::ReadDirOnce fails 2013-06-20 15:05:30 +02:00
Pawel Dziepak
6e375b85bd nfs4: Remove assertion against NFS4ERR_NOFILEHANDLE
According to the NFS4 specification NFS4ERR_NOFILEHANDLE is returned only
when the clients sends malformed request. FreeBSD nfsd implementation chooses
to ignore that fact and returns this error code also for correctly formed
requests that it can not service due to the restrictions in the server
configuration.
2013-06-20 15:03:08 +02:00
Rene Gollent
77d2c53ce7 Slight tweak to instruction pointer highlight drawing.
- When highlighting lines that match IPs in the current stack trace,
draw those which aren't from the currently selected frame in a lighter
color, so as to make it more clear which is which when multiple calls
are visible at once.
2013-06-19 18:38:20 -04:00
Jérôme Duval
343751a96c pci: takes into account the 64bit address type
* when the 64bit address type is used, it means a BAR takes the size of two.
For the moment we just set the next base_registers to the high address
and skip to the next valid BAR. The struct is now zeroed on creation.
* the pci device information is more correct now, though it would be easier
to have BAR address and size with a 64bit types in the struct pci_info.
2013-06-19 21:04:36 +02:00
Jérôme Duval
e2a87acacd pci: for io address use the corresponding mask for flags. 2013-06-18 18:39:25 +02:00
Jérôme Duval
786a38f555 scsi: typo adapaters=>adapters 2013-06-18 18:39:25 +02:00
Alexander von Gluck IV
cf671c0cf8 Route: Redesign command output
* Route flags now single characters to save
  space.
* Align addresses to columns based on maximum
  size of family address. We can easily pre-loop
  over routes at a future date and choose
  the smallest address width if needed.
* Moved interface device to last column as width
  can vary a lot.
2013-06-16 12:54:23 -05:00
Alexander von Gluck IV
47f91726cd Route: Group together printer families.
* Only check th family of the first incoming
  route entry as the list_routes function is
  called with the family pre-determined on
  the socket.
2013-06-16 12:04:58 -05:00
Rene Gollent
0c2d190d67 Fix incorrect handling when starting new teams.
When building the launch string for starting a new team via the GUI,
enclose the executable path in quotes to ensure paths with spaces are
handled properly.
2013-06-16 11:09:57 -04:00
Stephan Aßmus
b4c8efacea WebPositive: Removed wrong license text from all files ...
... which were technically never distributed by Apple nor
 are derived from code distributed by Apple. Only BrowserApp
 and BrowserWindow were originally derived from code that used
 to be part of WebKit and was distributed by Apple.
2013-06-16 14:21:10 +02:00
Stephan Aßmus
9d33da6ca4 WebPositive: Fixed untranslated empty tab region tool-tip. 2013-06-16 14:14:23 +02:00
Stephan Aßmus
2fd5f1736a WebPositive: Now that it lives in the tree, get rid of the copied shared code. 2013-06-16 14:06:16 +02:00
Stephan Aßmus
3d319aec26 WebPositive - TabManager - fixed off by one error in seemingly unused code. 2013-06-15 23:52:36 +02:00
Rene Gollent
607d59a103 ExceptionConfigWindow: detect current exception status...
...on startup by seeing if the breakpoints for the exception functions
are already installed or not.
2013-06-15 14:51:19 -04:00
Rene Gollent
7287380095 BreakpointListView/SourceView: ignore hidden breakpoints. 2013-06-15 14:51:19 -04:00
Rene Gollent
468c8dfab7 Extend UserInterfaceListener to allow marking...
...breakpoints as hidden. Adjust TeamDebugger accordingly.
2013-06-15 14:51:18 -04:00
Rene Gollent
b9461dc8cd Add hidden attribute to UserBreakpoint.
Marks a breakpoint as one that should not be exposed in the UI's normal
breakpoint management interface. Adjust settings management to
preserve/restore appropriately.
2013-06-15 14:51:17 -04:00
Rene Gollent
41bf99064c Implement throw exception breakpoints.
The exception thrown checkbox now tries to set/clear breakpoints for
gcc2/4's respective exception throwing functions. Some tweaking still
needs to be done in order that these aren't visible in the breakpoints
list like normal user set breakpoints.
2013-06-15 14:51:16 -04:00
Rene Gollent
944297b82b Add hooks for actually showing/managing exception config window. 2013-06-15 14:51:16 -04:00
Rene Gollent
f4d95e0e19 Slightly rearrange BreakpointsView.
Line up the buttons along the bottom rather than the side.
Add button to invoke exception configuration window.
2013-06-15 14:51:15 -04:00
Rene Gollent
55fc8da143 Initial implementation of exception configuration window.
Doesn't actually take any actions yet, just presents a UI.
2013-06-15 14:51:14 -04:00
Jérôme Duval
6121ae660c device_manager: init DMAResource::fScratchVecs. 2013-06-15 16:26:50 +02:00
Jérôme Duval
fc68c4cb59 scsi: fixed header guard comment in wrapper.h 2013-06-15 16:26:48 +02:00
Jérôme Duval
e01b1808b3 ahci: fixed typo and narrowing conversion warning.
* completition -> completion.
2013-06-15 16:26:47 +02:00
Alexander von Gluck IV
24110ddab5 Route: Don't call null function pointers
* Regression from hrev38233 (2010 baby!)
* If no netmask, don't print anything
  vs showing uninitialized data.
* Introduce "worst case address length"
  information per network family.
* Fixes #9821
2013-06-15 01:24:15 -05:00
Niels Sascha Reedijk
819b397354 Update translations from Pootle 2013-06-15 06:13:20 +02:00
Jerome Duval
b97ad33697 StyledEdit: fixed statistics words count.
* Bug #9822 and actual fix suggested by DanielW.
2013-06-14 20:42:11 +02:00
Oliver Tappe
92bb2fb33e Remove whole sys-include folder when cross-compiler has been built.
* at least for gcc2, we used to leave the 'os' subfolder in there,
  which may have caused problems when Haiku's headers have changed
  since the last time the compiler was built.
2013-06-14 16:07:06 +02:00
Oliver Tappe
df69e209bb Fix #7824: failure to build a cross-compiler on Haiku.
* force creation of a cross-compiler for both gcc2 and gcc4 when
  building on Haiku (by suffixing the build and host machine with
  '_buildhost')
2013-06-14 16:04:26 +02:00
Alexander von Gluck IV
9454a953cc PowerPC: Expand compatible platforms
* MacRISC3 and 4 are for newer PowerPC systems
2013-06-13 14:03:49 -05:00
John Scipione
8fc951cebb BFont docs: Clarify escapement_delta language.
Make it clear that the values provided by the escapement_delta struct are an
input to App Server which allows the user to specify extra horizontal space around each character and is not an output provided by App Server.
2013-06-13 14:35:03 -04:00
Pawel Dziepak
631ceff294 nfs4: Fix CID #991493: Release memory when returing an error code 2013-06-13 11:38:44 +02:00
Pawel Dziepak
d94b1808ec nfs4: Use nothrow new when creating LockInfo 2013-06-13 11:37:01 +02:00
Pawel Dziepak
5691cd5607 nfs4: Use nothrow new when creating CallbackRequest 2013-06-13 11:36:05 +02:00
Pawel Dziepak
4f5608efd6 nfs4: Fix CID #1032256: Use 4kB block size if server reports invalid value 2013-06-13 11:31:53 +02:00