Commit Graph

53692 Commits

Author SHA1 Message Date
Augustin Cavalier
a87bc4a8fd coreutils: delete everything except su's dependencies.
And copyright notices, of course.
2015-04-27 10:49:40 -04:00
Augustin Cavalier
0cec9e7680 PackageInstaller: use string_for_size instead of a custom function. 2015-04-26 20:17:26 -04:00
Augustin Cavalier
e5ab3b0900 Tracker: move deprecated cruft to FBCPadding.cpp.
The Be Book [1] states that these are supposed to be C functions,
but the comment (see diff) said they were deprecated, and the fact
that they were in a .cpp file (and I checked with "nm") made them
C++ functions.

I can't recall any applications failing to start because these
symbols were unresolved, so we might be able to just remove them...

[1]: https://www.haiku-os.org/legacy-docs/bebook/BFilePanel_Overview.html
2015-04-26 20:17:23 -04:00
Augustin Cavalier
b4df8f6f93 Tracker: Remove [I]Find* functions from TrackerString.
"git blame" indicates they've been here since Tracker was imported
into the tree, and a single paragraph explaining their existence
just states they are more efficient/faster than the ones in BString
due to running simple checks before calling str*cmp.

If there is (still) such a performance problem in our BString, we should
fix it there and not use hacky workarounds. I didn't notice any difference
in speed when using Tracker with this patch; however, I'm on a reasonably
fast machine.
2015-04-26 20:17:20 -04:00
Rene Gollent
2f86484842 Debugger: Cleanups.
- Factor out RegistersView's SIMD output formatting functions into
  UiUtils helpers. Adjust RegistersView accordingly.
- Adjust DebugReportGenerator to detect SIMD registers and format
  them appropriately for report output using the aforementioned
  helpers.
2015-04-26 16:38:31 -04:00
Rene Gollent
88e499ca82 Debugger: Add SIMD format options.
RegisterTableModel:
- Add member for preferred SIMD unit format, and use it to decide
  what to divide up such registers as, rather than hardcoding 16 bit integer.

RegistersView:
- When right clicking on an SIMD register, display a format context menu
  allowing the user to decide what packed unit format to interpret the register
  data as, and adjust table model accordingly.
2015-04-26 16:38:31 -04:00
Rene Gollent
5fb2009931 Debugger: Restrict registers via CPU feature detection.
DebuggerInterface,Architecture{X86,X8664}:
- Add hook function for retrieving a feature flag mask for the target CPU,
  and corresponding implementation in Architecture-specific classes.

ArchitectureX86:
- Read CPU features on init, and use them to restrict the exposed set of
  registers such that the MMX and SSE registers will only be visible
  if the target CPU actually supports the respective instructions.
2015-04-26 16:38:30 -04:00
Rene Gollent
3127a22868 Debugger: Tweak UiUtils floating point format. 2015-04-26 16:38:29 -04:00
Rene Gollent
b7c7c41749 Debugger: Add basic handling of SIMD to RegistersView.
- If an SIMD register is detected, retrieve its value and format
  it as an array of 16-bit hex values. This will be extended to
  allow other format choices in a future commit.
2015-04-26 16:38:29 -04:00
Rene Gollent
a5fbc88f43 Debugger: Expose more x86{-64} registers.
ArchitectureX86{-64}:
- Implement helper functions for adding floating point and SIMD registers.
- Add st0-st7 and mm0-mm7 to the list of exposed x86{-64} registers,
  along with their DWARF unwind mappings.
- Add xmm0-xmm7 for x86, and xmm0-xmm15 for x86-64.

CpuStateX86{-64}:
- Implement helper functions for setting/retrieving floating point and SIMD
  register values.
- Fill in values for st*, mm* and xmm* from debug_cpu_state.
2015-04-26 16:38:28 -04:00
Rene Gollent
162224b5d2 Debugger: Add register format definition for SIMD. 2015-04-26 16:38:27 -04:00
Adrien Destugues
bb132940c3 Add package for Sawteeth. 2015-04-26 22:12:12 +02:00
Stefano Ceccherini
63effa099c Fix typo (missing pointer dereference).
Found by PVS-Studio developer Svyatoslav Razmyslov.
Also update my email address.
2015-04-26 22:02:04 +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
Augustin Cavalier
3733598912 Tracker: delete more non-Haiku code. 2015-04-26 14:01:05 -04:00
Augustin Cavalier
4a6014fe23 Tracker: fix PoseView border in FilePanels. 2015-04-26 13:58:36 -04:00
Adrien Destugues
9ac06d90b1 ffmpeg: fix compatibility with Media server. 2015-04-26 14:11:48 +02:00
Adrien Destugues
a8ee0de7ea Make qt4 package installable again. 2015-04-26 10:49:00 +02:00
Adrien Destugues
eb5fc5a7c1 Update qt4 packages for icu 55.1. 2015-04-25 21:45:26 +02:00
Adrien Destugues
32cc744b8c Add dosbox and libedit_x86. 2015-04-25 20:07:46 +02:00
Adrien Destugues
296867b5cf Add CriticalMass and update cmake. 2015-04-25 19:22:48 +02:00
Janus
3c7469c1c1 DataTranslations: Put the dragged translators in the nonpackage dir.
* Fixes #12008
2015-04-25 19:08:05 +02:00
Adrien Destugues
9ea04c4dc7 Add package for VLC 0.8.6i.
* Update fmpeg to include GPL code (needed by VLC).
* Update libebml with fixed headers.
2015-04-25 17:57:16 +02:00
Adrien Destugues
94d0d42372 HaikuWebKit 1.4.11.
* Built against ICU 55.1.
2015-04-25 15:03:52 +02:00
Adrien Destugues
2b7f655db0 Update boost for ICU 55 upgrade. 2015-04-25 15:03:51 +02:00
Janus
a482dbd51e DataTranslations: Fix duplicate fields. 2015-04-25 13:56:33 +02:00
Janus
7bfb4a1eb8 DataTranslations: use layout, standard format.
* Small layout fix.
* Fixes #11999.
2015-04-25 12:02:45 +02:00
autonielx
10d3384452 Update translations from Pootle 2015-04-25 06:27:26 +02:00
Fredrik Holmqvist
bd7a8d8329 Temporarily hardcode ACPI _REV to 2 until we upgrade ACPICA.
Some manufacturers (Dell, HP, ..) use this value to detect Windows and
only do proper setup in this case. Now we pretend to be Windows as well.
This may cause some things to behave different or stop working.

Please keep this in mind.

For more information see:
http://mjg59.dreamwidth.org/34542.html
7af0021968 (diff-76c5dc94fc085f5e3e2d17e6304f3ae0L186)
2015-04-24 21:51:50 +02:00
Gerasim Troeglazov
4eea074142 vst_host: use FindPaths instead find_directory 2015-04-24 21:30:38 +10:00
Janus
d9c440a536 DataTranslations: use layout, standard format.
* Fix jpeg, jpeg2000.
* Partialy fixes #11999.
2015-04-24 08:20:03 +00: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
Michael Lotz
8361c0f11a ActivityMonitor: Fix leak of message when saving settings.
Adding a message to a message does not transfer ownership.
2015-04-23 23:13:20 +02:00
Michael Lotz
ea9f4d993c Tiny whitespace cleanup only. 2015-04-23 23:12:23 +02:00
Michael Lotz
5919f6d4af screen_saver filter: Fix use-after-free on destruction.
Stop watching nodes before quitting and therefore deleting the looper
that was subscribed.
2015-04-23 23:09:40 +02:00
Michael Lotz
5d05694ad6 kernel guarded heap: Implement allocations debugger command.
It can be used to dump the current heap allocations with their details
and stack traces if enabled.
2015-04-23 23:04:38 +02:00
Michael Lotz
453ee84e23 kernel guarded heap: Also store team id for allocations. 2015-04-23 23:01:53 +02:00
Michael Lotz
337c4ccf01 kernel debugger: Use memcpy for stack trace on kernel stack.
If it was already determined that the memory is within the kernel
stack, a simple memcpy is enough.

This allows capturing kernel stack traces in situations where a fault
handler cannot be installed (i.e. where one is already installed).
2015-04-23 22:54:45 +02:00
Michael Lotz
c14658c763 keyboard input device: Fix 64 bit debug build. 2015-04-23 22:50:10 +02:00
Michael Lotz
26bebb13a1 usb_hid: Avoid read/writing past allocations with report items.
When extracting/inserting report items there might not be a full uint32
available in the report anymore. Only copy as many bytes as are actually
needed by the report item and guaranteed to be present in the report.
2015-04-23 22:50:10 +02:00
Michael Lotz
87c27f4f27 usb_hid: Fix copy length of key state array.
Twice the size was copied due to a missed adjustment in hrev31839,
reading past the key state array. This didn't cause any corruption
because the overwritten state wasn't used anymore later on and the
write didn't overrun. It could cause a crash however if the read went
past the allocated area.
2015-04-23 22:50:10 +02:00
Michael Lotz
0034a3c515 usb_hid: 80 character limit cleanup. 2015-04-23 22:50:09 +02:00
Michael Lotz
127092c594 usb_hid: Rename cookie flag define to be more descriptive. 2015-04-23 22:50:09 +02:00
Michael Lotz
25f723de85 usb_hid: Let protocol handlers know of their closing.
On close a flag is set in the cookie of this user of a protocol handler
and the device cancels its pending transfer. This wakes up any possible
listeners. When the closed flag is set, an error code is returned from
_ReadReport() which causes the retry loop to be left. Handlers listening
on the same device which were not closed just retry the transfer.

This ensures that closing a device will cause pending control requests
to complete with a sensible error code.
2015-04-23 22:50:09 +02:00
Gerasim Troeglazov
6653e74873 vst_host: remove vstplugin folder creation, code clean-up 2015-04-23 21:37:54 +10:00
Janus
b5118c36cc DataTranslations: use layout, standard format.
* Fix icns, ico.
* Small fix.
* Partialy fixes #11999.
2015-04-23 10:21:26 +00:00
Janus
2d00a953c7 DataTranslations: use layout, standard format.
* Small fix.
* Partialy fixes #11999.
2015-04-23 08:32:29 +00:00
Automatic Committer
d312a25031 Update usb.ids from www.linux-usb.org 2015-04-23 05:20:26 +02:00
Automatic Committer
83fe85b404 Update pci.ids from pciids.sourceforge.net 2015-04-23 05:20:24 +02:00
Janus
c2751c41b7 DataTranslations: use layout, standard format.
* Fix gif, hvif, png, psd, tga.
* Partialy fixes #11999.
2015-04-22 23:19:00 +00:00