Commit Graph

5481 Commits (690a9adf58b5f41268f82770f1d3fa587da57c0b)

Author SHA1 Message Date
Felix Fietkau 690a9adf58 lua: use float instead of double, reduces the gc data structure size by 4 byte => luci processes use 10% less memory
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-26 03:01:12 +00:00
Felix Fietkau f1f87a53ac lua: fix various bugs in the refcounting implementation. seems to fix luci and reduces memory consumption even more
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-26 00:06:42 +00:00
Felix Fietkau e194dc2fef lua: get rid of bitlib and md5lib from the core, they are no longer necessary
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-24 23:23:42 +00:00
Felix Fietkau 0ee38138a3 lua: add reference counting for strings - this will need A LOT of testing, but it should finally fix the excessive memory usage problems triggered by luci
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-24 22:19:13 +00:00
Jo-Philipp Wich b14afe135b [package] opkg: ignore Section, Source and Maintainer as well when ignoring descriptions, saves a few hundred KB memory
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18124 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-22 17:16:13 +00:00
Jo-Philipp Wich 41d87fb7a8 [package] opkg:
- re-enable upgrade and restrict it to signle packages, fix usage text
	- only read package descriptions if they're actually needed (almost never),
	  saves even more space when parsing package lists
	- refresh patches


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18120 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-22 15:15:19 +00:00
Jo-Philipp Wich bd44398aea [package] opkg:
- replace package list parser by something that works with fixed buffers
	  to avoid slurping the whole file into memory during parsing
	- fix a possible null pointer dereference in opkg_remove_cmd()
	- get rid of upgrade, it cannot upgrade single packages and kills
	  the system in most cases
	- get rid of the flag operation, not needed
	- bump package revision


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-22 08:46:55 +00:00
Felix Fietkau fa98e6a6e4 madwifi: reduce the size of the multicall tool binary
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18112 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-21 00:20:42 +00:00
Felix Fietkau 020508d5cb do not relink libresolv, it makes iproute2 barf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18111 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 22:22:59 +00:00
Felix Fietkau 0d0503903c remove obsolete uci validation awk code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 21:48:40 +00:00
Felix Fietkau 24b93bd9d7 base-files: remove obsolete stuff from common.awk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18109 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 21:45:57 +00:00
Felix Fietkau 45f00e762d wireless-tools: reduce binary size by ~13k by removing unused/obsolete features
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18108 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 21:40:09 +00:00
Felix Fietkau 53c6087f48 hostapd: make compilation of the hostap driver conditional - saves 10k uncompressed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 21:14:57 +00:00
Felix Fietkau 3c635449d3 hotplug2: get rid of the unnecessary reference to libdl as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 20:59:40 +00:00
Felix Fietkau 7a230fb6be hotplug2: compile in the worker module statically, saves >20k uncompressed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 20:49:44 +00:00
Jo-Philipp Wich 796f34550c [package] base-files: only try to execute watchdog if binary is present
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 17:07:08 +00:00
Felix Fietkau e930939698 remove $(FPIC) from iptables, it is handled internally correctly. saves 2k on mips
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 11:44:16 +00:00
Felix Fietkau 975e7ac2fc zlib: replace -fPIC with $(FPIC)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 08:41:32 +00:00
Felix Fietkau e218149d72 uci: only use $(FPIC) on library parts, saves a few hundred bytes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18092 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 08:26:39 +00:00
Felix Fietkau 0ee55d9f55 opkg: get rid of libopkg, saves >10k compressed, >40k uncompressed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 08:21:10 +00:00
Felix Fietkau fd2da7768e fix pthread mklibs relinking by copying libpthread_so.a from uclibc instead of using the standard _pic variant
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 07:26:34 +00:00
Felix Fietkau f0f6a06c0a install the right version of libgcc along with its version map to fix relinking issues with mklibs, attempt to relink only if the version map is actually present
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 06:57:19 +00:00
Hamish Guthrie 0996be22e7 [busybox] At boot, the startup process is executed in a non-interactive shell. Default behavior for a non-interactive shell is that SIGINT is processeld locally by the shell (and typically ignored), this runtime environment is inherited by children, hence Ctrl-C has no effect within a telnet session. This patch enables the correct behavior
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 06:51:30 +00:00
Felix Fietkau ccd27b5c7d mark uboot-envtools as broken, it looks more like a place holder than an actual packaging attempt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18079 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-19 19:15:08 +00:00
Felix Fietkau ca7a7f6155 remove support for uclibc 0.9.29
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-19 18:25:25 +00:00
Felix Fietkau 863546509a mac80211: fix ath5k compile on 2.6.28 and earlier
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-19 04:28:15 +00:00
Felix Fietkau 15551bacbf hotplug2: fix "MALLOC FAILURE!" message caused by a missing return code check on recv()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18061 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-19 02:39:02 +00:00
Felix Fietkau 5abfaa17c9 madwifi: add antenna gpio support for nanostation loco2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-17 22:11:14 +00:00
Felix Fietkau 1952bca0f3 madwifi: remove the 10HZ timer for updating rate control statistics
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-17 04:56:09 +00:00
Felix Fietkau e1f4d37287 madwifi: fix various noderef/memleak issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18052 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-17 04:56:05 +00:00
Felix Fietkau 27c31f11b1 hostapd: do not configure wme when using madwifi - fixes wpa/wpa2 association problems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-17 04:55:59 +00:00
Felix Fietkau b6c8fa2cea madwifi: more ad-hoc fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-15 19:20:43 +00:00
Felix Fietkau a08809bb4f madwifi: fix another ibss crash (#5935)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-14 21:15:45 +00:00
Felix Fietkau d45237dcd1 madwifi: fix race condition on ibss init (#5935)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-14 08:29:46 +00:00
Felix Fietkau 20a9691a9e madwifi: beacon timer fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18045 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-14 08:29:37 +00:00
Vasilis Tsiligiannis f792506c9f [package] usb-core: Add dependency to nls-base (#5973)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-12 11:44:36 +00:00
Felix Fietkau ef18709959 mac80211: fix download url (#5980)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18040 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-11 23:11:39 +00:00
Felix Fietkau db74177204 mac80211: fix a warning during interface bringup when using autochannel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-11 15:06:12 +00:00
Nicolas Thill 63797985c0 mac80211: fix rt2800pci, tx ack timeout is now hardcoded
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18031 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-11 04:00:58 +00:00
Felix Fietkau 5aa9958352 mac80211: fix ibss join/create
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18030 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-11 03:13:57 +00:00
Felix Fietkau b83fd240a2 firewall: fix zone defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-11 02:42:22 +00:00
Felix Fietkau 4d50dc292c mac80211: fix encryption fallback for sta mode, add frequency/bssid selection support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-11 01:05:17 +00:00
Felix Fietkau bc3a78d25b mac80211: fix autochannel / fixed channel selection, add commands for unencrypted sta mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-11 01:01:12 +00:00
Felix Fietkau 3a81e25e02 mac80211: upgrade to latest compat-wireless, fix ad-hoc interface setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-11 00:36:23 +00:00
Felix Fietkau 13de9a716a gcc: add llvm-gcc and llvm from trunk (does not successfully compile a target yet, but gets close)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-10 19:25:48 +00:00
Felix Fietkau 46b99120de udevtrigger: use the build system cflags
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-10 19:25:31 +00:00
Felix Fietkau a0071bba09 firewall: do not process rules in reverse
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-10 18:08:26 +00:00
Florian Fainelli a8be10c230 [octeon] package the octeon compact flash driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-09 07:36:19 +00:00
John Crispin 6ca9f5f2d7 #4985 - fixes dropbear banner file, thanks Roman Yepishev
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-08 18:58:15 +00:00
Florian Fainelli fee30ff73a [octeon] add support for the dwc_otg USB controller
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-08 17:56:31 +00:00