Commit Graph

51966 Commits

Author SHA1 Message Date
Stefano Ceccherini
177ff99dd3 Network Preflet: Renamed CustomTextControl to RestrictedTextControl.
Removed commented code.
2014-09-09 23:05:16 +02:00
Stefano Ceccherini
4613cf2600 Network Preflet: Allow more than 2 DNS
Change the way DNS are entered: now the user can enter multiple
DNS servers addresses separated by a comma. Actually we handle
also spaces or semicolon.

Network Preflet: Fix GetDNSListFromString
2014-09-09 23:05:15 +02:00
PulkoMandy
0c65f35f47 u-boot: sync console implementation from raspberry port
* VT100 is much more common than VT52 which the u-boot port was
previously using (a legacy of the Atari m68k port)
 * Implement serial_getc (again, code is identical to raspberry port...)
so the boot menu can be used over the serial port. The enter key is
recognized, arrows currently aren't.
2014-09-09 22:06:21 +02:00
PulkoMandy
19ad221e37 Raspberry_pi: fix VT100 console driver
* Cursor coordinates are 1-based, not 0-based
 * Color change was disabled and broken

This implementation of our console over VT100 is generic and should be
moved out of the raspberry-pi specific folder. However, leaving it there
for now as we will have some bigger reorganization a swe add FDT support
here.
2014-09-09 22:06:20 +02:00
Jérôme Duval
549b878fa6 Update qemu package for x86_64 2014-09-09 18:11:09 +02:00
Stephan Aßmus
36a9b55716 HaikuDepot: Rating related fixes.
* Fixed retrieving rating summary for the list view.
 * Rating and command are optional in the web app (or probably you need
   to specify at least one of them). Handle ratings with just the comment
   but no rating in average calculation.
2014-09-08 22:50:29 +02:00
Stephan Aßmus
7e7ec8f3a9 PackageInfo: Small coding-style cleanup. 2014-09-08 22:50:28 +02:00
Rene Gollent
360431e694 Tracker: Fix #11193.
Fix regression introduced in commit 2f60dea5: BSymlink::ReadLink()
returns a byte count in the success case, which ThrowOnError() does
not anticipate. Consequently, attempts to copy symlinks would fail.
2014-09-07 21:37:39 -04:00
Ithamar R. Adema
1819aa71ee ARM: sync up VM code with x86
No big functional reason for this, but rather keep it in sync now
then have to do lots of work later on, when there are major changes.
Once I have it fully fleshed out for ARM, I might take a look if
we can generalise it a little more, as there's lots of code
_exactly_ the same for both platforms (and other platforms in
progress using the same code).
2014-09-08 00:52:33 +02:00
Fredrik Holmqvist
95b6779381 Format code, add display device base.
Still very much work in progress.
2014-09-07 21:20:35 +02:00
Ithamar R. Adema
f1d7e394e4 ARM: update TODO list once again
* stackcrawl is implemented
* B_MAX_CPU_COUNT is no more
* add some bootloader TODOs
2014-09-07 21:14:23 +02:00
Ithamar R. Adema
eea45d0a32 ARM: cleanup of bootloader memory mapping
* Removes default mapping of a portion of the RAM (will be done
  as needed)
* Passes on the page directory area to kernel, so on early vm init
  the kernel can use the area for pagetable allocation.
* Leaves it to the platform to pass in physical memory range(s). This
  will ultimately come from FDT.
* Fix long standing issue with allocation of the heap, potentially
  causing other part of the bootloader to overwrite the heap.
* Implements pagetable allocator in kernel for early vm mapping.

This fixes the first PANIC seen, we now just get the same one later
on when the VM is up... more to come...
2014-09-07 20:56:15 +02:00
Ithamar R. Adema
3e450daa1c ARM: remove the loader from the memory map table
We have _start/_end symbols to mark our start and end, use those
to determine where we are loaded. We're slowly getting closer to
a fully dynamic handling of our memory map!
2014-09-07 20:56:15 +02:00
Ithamar R. Adema
e3020a5039 ARM: remove initrd handling from mmu code
Let the platform mmu_map_physical_memory the initrd region, and
reserve it before calling mmu_init. This removes another hardcoded
address, since e.g. U-Boot gets the address from the uImage file.
2014-09-07 20:56:14 +02:00
Ithamar R. Adema
0a163b65c7 ARM: define bootloader stack in linker script
This removes the need for the whole HAIKU_BOARD_LOADER_STACK_BASE
sing and dance, since it is always included in the bootloader binary
itself.
2014-09-07 20:56:14 +02:00
Ithamar R. Adema
6fb65b9dfe ARM: remove section handling TODO; no need for it
We will never use sections anyway..
2014-09-07 20:56:14 +02:00
Stefano Ceccherini
c53c1faf56 Network Preflet: Also show the hardware address 2014-09-07 20:51:32 +02:00
Ithamar R. Adema
6048591e9d Revert "Added check to ensure KDL does not include frames beyond kernel entry in the backtrace. This prevents KDL from faulting when printing backtrace on ARM."
This reverts commit 3fbb24680c.

As I mentioned in #11131, this fix is not correct, and works around
the problem. The real reason was that arch_debug_call_with_fault_handler
was not working properly, so the fault handler went crazy.

With commit eb92810 that is fixed so this can be reverted.
2014-09-07 19:15:01 +02:00
Ithamar R. Adema
eb92810edc ARM: fix arch_debug_call_with_fault_handler
This fixes the problem with KDL freaking out when doing a stacktrace
and having its fault handler triggered. Have no clue how this could
have worked before, but it did :P
2014-09-07 19:14:29 +02:00
Stefano Ceccherini
365f14bfbd Network Preflet: Implement an IPV4TextControl which only allows numbers
and use it instead of the regular BTextControl.
Unfortunately it doesn't block multi-byte characters (to do that we
should create a subclass of BTextView and override InsertText()).
2014-09-07 19:05:18 +02:00
Fredrik Holmqvist
8516e6a924 Rename display_controls to display_adapter
ACPI talks about display_adapters, and we will likely have displays
as child nodes. Displays will be attached to an adapter.
2014-09-07 19:02:06 +02:00
Michael Lotz
42a91653ba kernel: Fix missing else in dump_page_queue debugger command.
The entered page queue address would always be overwritten. Pointed
out by CID 610504.
2014-09-07 13:18:03 +02:00
Stefano Ceccherini
d94f82498f Network Preflet: Call _SetConfiguration(NULL) in _BuildInterfacesMenu()
if no interface is present, thus effectively disabling the other
controls. Also if there is only one interface, select that one.
2014-09-07 08:17:51 +02:00
Stefano Ceccherini
7da4809bfc Network Preflet: EthernetSettingsView::_BuildInterfacesMenu()
needs to call SetTargetForItems(), otherwise selecting interfaces
in the popup menu doesn't work.
2014-09-07 07:51:29 +02:00
Stefano Ceccherini
5bde266926 Fix copy/paste error which prevented correct functionality. 2014-09-07 07:51:28 +02:00
Jérôme Duval
fccfeff29e listarea: fixes warnings and output on x86_64.
* columns aren't correctly aligned anymore atm.
2014-09-06 23:57:46 +02:00
Stefano Ceccherini
af7978ef01 Network Preflet: watch for network interfaces changes.
Not yet 100% working.
2014-09-06 23:24:37 +02:00
Rene Gollent
cab2a2ba35 Debugger: Fix #11204.
- When waiting for a thread stack trace to be acquired, in some circumstances
  it was possible for us to not re-acquire the Team lock before moving on to
  parsing and writing out the information. This could potentially lead to race
  conditions when retrieving some of the Team's data, and ultimately crashing
  while writing out report data.
- Add missing error check in _DumpStackFrameMemory().
- Delete team data semaphore on exit.
2014-09-06 16:48:45 -04:00
Rene Gollent
7b5a544edb Debugger: Fix CID 1223239.
- Rework part of report generator to add missing memory allocation
  error checks.
2014-09-06 16:48:30 -04:00
Paweł Dziepak
ece6f8ba5d boot: remove check against large gaps between elf segments
As discussed on the ML the limitation of the gap between segments
imposed by this check is completely artifical and pointless.

Signed-off-by: Paweł Dziepak <pdziepak@quarnos.org>
2014-09-06 19:38:13 +02:00
Jérôme Duval
bfe33f1603 Add qemu and dependencies for x86 and x86_64. 2014-09-06 13:19:30 +02:00
Matej Horvat
c1fcde6665 Set the archive bit on new or modified directory entries (but not subdirectories)
Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
2014-09-06 12:57:49 +02:00
autonielx
884dab8a17 Update translations from Pootle 2014-09-06 06:19:21 +02:00
Stephan Aßmus
7eb09bfa29 HaikuDepot: Make sure lists are cleared...
... in case the code runs multiple times for the same package-ref.
(Did not happen, but it's just better form.)
2014-09-05 23:23:27 +02:00
Stephan Aßmus
863f0b1979 HaikuDepot/List: added IsEmpty() method 2014-09-05 23:23:00 +02:00
Stephan Aßmus
87038da74f HaikDepot: Lazily load screenshots.
The first one is displayed. Clicking the thumbnail does nothing,
as before. (There is a TODO in the code to open the bigger version.)
2014-09-05 23:12:49 +02:00
Stephan Aßmus
d11eb2d5d8 HaikuDepot/SharedBitmap: Try load BBitmap via BTranslationUtils 2014-09-05 23:12:48 +02:00
Stephan Aßmus
8db8f33658 HaikuDepot/WebInterface: Implemented retrieving screenshots 2014-09-05 23:12:47 +02:00
Stephan Aßmus
1d9d48738e HaikuDepot: Store the screenshot info...
... from the bulk request results in each PackageInfo.
2014-09-05 23:12:46 +02:00
Ithamar R. Adema
72b52fdf92 ARM: u-boot: work around dd issues on OSX
The oflag parameter does not exist on OSX, and neither on BSD. Just
use "cat" to append instead.
2014-09-05 22:32:18 +02:00
Fredrik Holmqvist
62f4f056a7 Fix include order. 2014-09-05 22:10:30 +02:00
Fredrik Holmqvist
76a17ee226 No semicolons on defines. 2014-09-05 18:44:16 +02:00
Fredrik Holmqvist
1c7917f33e Tell ACPI if we use PIC or APIC. 2014-09-05 18:40:38 +02:00
Fredrik Holmqvist
b4908ff5d8 Todo about walking namespace and init _PRW's.
This needs a deeper understanding and brighter mind than mine.
2014-09-05 17:12:27 +02:00
Fredrik Holmqvist
5048bd4620 Add a global notify handler for logging. 2014-09-05 15:44:21 +02:00
Fredrik Holmqvist
78d6bbf1e5 Fix indention issues.
Two tabs since it's inside a function call inside an if.
2014-09-05 15:44:21 +02:00
Adrien Destugues
ca4143eeb4 Add package for ccache. 2014-09-05 14:21:48 +02:00
Adrien Destugues
1044814dfa Release NetSurf 3.2
Many bugfixes, most importantly a bug was fixed which makes network
downloads go much faster (without waiting for you to wave the mouse over
the window).
2014-09-05 14:21:47 +02:00
Julian Harnath
bf519f589e Add myself to maintainers list 2014-09-05 00:47:07 +02:00
Michael Lotz
aba4cb2085 NetworkStatus: Sort wireless networks by signal strength. 2014-09-05 00:28:30 +02:00