Commit Graph

52421 Commits

Author SHA1 Message Date
Adrien Destugues
3b12362830 Add packages for most and slang
most is a replacement for less (why settle for less?). I've been using
it for some time and it works well, so making it more easily available.
2014-11-05 13:06:44 +01:00
Adrien Destugues
02591b8b71 Handle armv7hl as an host compiler architecture.
Thanks to dsjonny for noticing that was missing!
2014-11-05 11:44:51 +01:00
Rene Gollent
8b9099b1b2 Debugger: Fix #11411.
CliContext/CommandLineUserInterface:
- Process the debug report event asynchronously. The missing lock that
  was fixed in commit 5ac34e5a78 highlighted
  a problem in how the CLI was handling the case where it was intended to
  exit immediately after saving a report, since it issued the quit request
  directly from the report event handler. This resulted in locking issues,
  as the team debugger would then attempt to tear itself down, during which
  it needs to acquire the team lock. However, that was already being held
  by the thread in which the CLI was initiating the quit, resulting in a
  deadlock.
2014-11-04 19:21:20 -05:00
Michael Lotz
9a6331459f kernel: Fix build with KDEBUG_LEVEL < 2.
The lock caller info isn't available in such a configuration.
2014-11-04 23:00:59 +01:00
François Revol
76b8f002e1 Implement lseek(SEEK_END) on devices
While the partitioning system does publish partitions as block
devices and report their size in stat(), the old BeOS-style
drivers have no means of reporting it this way.
So we fall back to ioctl(B_GET_GEOMETRY) to find out the size.
2014-11-04 20:47:04 +01:00
François Revol
b7ff6340ae U-Boot: always initialize args.arguments_count 2014-11-04 16:01:16 +01:00
Adrien Destugues
68cd839edf Add droid fonts package. 2014-11-04 10:59:36 +01:00
Adrien Destugues
31c3214ef2 Revert "Intel partition: activate the first created partition."
This reverts commit d0a662e20a.

It is better to handle this in Installer when we know which partition
will actually be the system one.
2014-11-04 10:59:35 +01:00
Jessica Hamilton
f94a1a703c usb_hid: correct the device path for publishing usb tablet devices
Thanks to X512 for producing a patch that highlighted the real
cause of the problem.

Fixes #8338
2014-11-04 18:54:56 +13:00
Augustin Cavalier
6d93638b37 ToolBarView: rename to BToolbar and move to libshared.
Also adjust ShowImage for this, it's the only thing that's using ToolBarView
right now.

Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2014-11-04 12:45:47 +13:00
François Revol
361f5a857f ARM: OMAP3: dynamically allocate the framebuffer
It seems to work on overo at least, which has only 128MB by default in QEMU.
2014-11-03 21:06:20 +01:00
François Revol
1cac4300c3 ARM: Add an mmu_get_virtual_mapping() call to bootloader
Will be needed to figure out the framebuffer address
once we allocate it properly instead of hardcoding.
2014-11-03 20:49:01 +01:00
François Revol
cb3ea122d3 U-Boot: delay checking /chosen:bootargs after remapping FDT
This avoids having to copy the strings.
For now we disregard argv[] as it is not remapped before
being used in add_stage2_driver_settings() and is not used
by the linux entry point.

This makes the overo loader panic at the same place as
the beagle xm one now, even though it fails to display
anything with the default RAM size since we allocate
the framebuffer beyond 128MB...
2014-11-03 19:41:38 +01:00
François Revol
b56dad50b4 ARM: overo: use same load address as beagle xm
And leave 8M for the kernel.
2014-11-03 18:44:56 +01:00
Adrien Destugues
43e35cdeba Add package for psiconv. 2014-11-02 16:35:22 +01:00
Rene Gollent
2a6c54fb47 Debugger: Slight tweak to changed value highlighting.
VariablesView::ModelNode:
- Only check if a variable's value has changed if we actually have a
  valid previous value to compare against. Otherwise, e.g. variables
  that just came into scope but haven't yet been initialized would
  show up as changed, while their value is, at that point completely
  uninteresting.
2014-11-02 09:09:57 -05:00
Michael Lotz
3fe7b3f72c BString: Add ScanWithFormat convenience method. 2014-11-02 11:38:45 +01:00
Michael Lotz
969af8044a BString: Add format attribute to SetToFormatVarArgs. 2014-11-02 11:38:44 +01:00
Humdinger
5e654f6ab8 Localize keystore_server
Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>
Fixes #11404.
2014-11-02 09:46:44 +01:00
Adrien Destugues
a7459df4c9 Revert fixing warnings in acpica.
This is an external library so it should not be modified. It should be
moved to src/libs to make this clear, or even better, be outsourced as a
package.
2014-11-02 09:40:19 +01:00
Stephan Aßmus
0a9c902921 HaikuDepot: Show a "Featured packages" label
Also remove the left-over separator in the Tools menu.
2014-11-02 02:00:51 +01:00
Stephan Aßmus
6f6ad9153b HaikuDepot: Improve featured package items
Show the summary instead of the version. The layout still sucks, but I will
have to implement some kind of row/flow BLayout to get what I initially had
in mind. Another TODO is to highlight the clicked item somehow.
2014-11-02 01:38:34 +01:00
Stephan Aßmus
dfbf4d3885 HaikuDepot: Fix click detection in featured packages
Take window activation and parent bounds (a featured package scrolled outside
the visible region within the parent) into account.
2014-11-02 01:38:33 +01:00
Stephan Aßmus
1f3c1ef1c5 HaikuDepot: Select clicked featured packages 2014-11-02 01:38:32 +01:00
Stephan Aßmus
a3056e412a HaikuDepot: Move selection message constant to MainWindow.h 2014-11-02 01:38:30 +01:00
Stephan Aßmus
419dc642f5 HaikuDepot: Feature packages with prominence <= 200 2014-11-02 01:38:29 +01:00
Stephan Aßmus
da6511046d HaikuDepot: Properly add featured packages.
* Rework existing package listener mechanism to report any interesting
   changes. Listen for prominence changes in addition to package state.
 * Add featured packages to the FeaturedPackagesView when their prominence
   is retrived, and also in _AdoptModel().
 * In _AdoptModel(), show the featured packages view when no search filters
   are active and installed packages are not shown either. Otherwise show
   the list of all packages matching the current filtering.
2014-11-02 01:38:28 +01:00
Stephan Aßmus
64458d227c HaikuDepot: Only list featured packages once. 2014-11-02 01:38:27 +01:00
Stephan Aßmus
0c169ace2e HaikuDepot: Add some getters to Model.
For category, depot and search terms filter.
2014-11-02 01:38:25 +01:00
Stephan Aßmus
3d869af5e4 HaikuDepot: Separate MessagePackageListener...
...into MessagePackageListener and OnePackageMessagePackageListener.
The first one doesn't know which package(s) it's listening to. But it
can filter the change notifications now and only react to certain changes.
The second one knows which package it's listening to.
2014-11-02 01:38:24 +01:00
Stephan Aßmus
9f40cd4121 HaikuDepot: Retrieve prominence values from web app 2014-11-02 01:38:23 +01:00
Stephan Aßmus
6072a7e417 HaikuDepot: Added "prominence" member to PackageInfo 2014-11-02 01:38:21 +01:00
Michael Lotz
eac94f5db9 kernel: Also push lock caller in acquire_spinlock_nocheck. 2014-11-02 00:04:28 +01:00
Michael Lotz
41418981f4 kernel: Sync panic messages across acquire_spinlock versions.
* Always include last caller and lock value on both UP and MP path.
* Change lock value printing to hex format, as 0xdeadbeef is more
  obvious than its decimal counterpart.
2014-11-02 00:04:27 +01:00
Rene Gollent
b6c4fc962c Debugger: Implement #9946.
TableCellValueRenderer{Utils}:
- The rendering calls now take a boolean indicating if the value
  being rendered differs from its previous state. This is taken
  into account by rendering it in a different color to indicate
  the change. Adjust all implementing subclasses accordingly.

VariablesView::ModelNode:
- Now stores the previous value of the corresponding value node,
  and can be queried if its value has changed. Used by renderers.

VariablesView::_{Add,Apply}ViewStateDescendentInfos():
- When walking the model, also store/restore the values of nodes in the
  history.

In summation of all the above changes, when stepping through a function,
we now display values that have changed since the last step, or that have
appeared for the first time in a different color.
2014-11-01 18:51:57 -04:00
Rene Gollent
f40556afab Debugger: Cleanups, no functional change. 2014-11-01 18:51:56 -04:00
François Revol
2bbd623a48 ps: fix warnings 2014-11-01 21:42:32 +01:00
Rene Gollent
46ebcc8cb4 Debugger: Fix type issues in CLanguageExpressionEvaluator.
- When using variable values in an expression, we weren't ensuring
  that the resulting value type matched up with the requested
  type for the expression, leading to unpredictable results in some
  cases.
2014-11-01 16:10:27 -04:00
Rene Gollent
e2a22217e2 Number: Add accessor for underlying type. 2014-11-01 16:10:26 -04:00
Jessica Hamilton
22ea34153f access: fix to be POSIX compliant 2014-11-02 08:51:24 +13:00
François Revol
67555ed829 ARM: beagle: Also use the linux entry point
This way U-Boot is able to patch the FDT with the correct RAM size
before we get to read it.
2014-11-01 20:34:38 +01:00
François Revol
564a073b01 ARM: move uEnv.txt content to BoardSetup file
That's really where it belongs. Not all boards will need it,
but for now it's always created.
2014-11-01 19:57:48 +01:00
François Revol
95e9515c4b U-Boot: drop the bind on the flash image action 2014-11-01 19:08:57 +01:00
François Revol
92fcf262ff ARM: Check for RAM size in FDT
We skip the check when we already have ranges inserted,
like from the raspberry Pi start code, and we fall back to
32MB at SDRAM_BASE is not found.
2014-11-01 18:53:48 +01:00
François Revol
49bb4c467c ARM: overo: Use the linux entry point version of the loader
And load the boot tgz and FDT separately from the SD card.

Hopefully U-Boot will now report available RAM size.
2014-11-01 17:11:39 +01:00
François Revol
8d8bda071f U-Boot: generate a separate uImage for the boot tgz as well
We need this when using the linux entry point.
2014-11-01 17:11:01 +01:00
François Revol
d1ebf9716d U-Boot: ARM: Add a linux entry point to asm shell code
While the NetBSD entry point is handy as we can use a single uImage
with all 3 blobs, it bypasses U-Boot's own patching of the FDT since
it's not visible to it, so we won't get the RAM size and other things
through it.
2014-11-01 17:09:09 +01:00
François Revol
5de5d59d78 U-Boot: move gUImage and gFDT back to BSS section
No need for this trick anymore.
2014-11-01 16:39:44 +01:00
François Revol
909a14bb55 U-Boot: introduce a start_gen() catch-all entry
So we can pass it all the optional stuff instead of playing tricks
to initialize them outside of BSS.
2014-11-01 16:39:44 +01:00
Michael Lotz
bf685cdf2e kernel: Fix missing reference release in CreateThreadEvent.
CreateThreadEvent::DoDPC() missed a reference release to balance the
acquired reference before queuing the DPC, resulting in the
CreateThreadEvent objects being leaked.

This also removes the destructor that tried to cancel the DPC. Since
the class is reference counted and only destroyed when the DPC has
run and released the last reference, this didn't make much sense.
2014-11-01 16:32:04 +01:00