nings on some systems where mem_size_t and size_t differ. * pbuf.c, ppp.c: Fix warnings on some systems with mem_malloc. 2008-03-04 Kieran Mansley (contributions by others) * Numerous small compiler error/warning fixes from contributions to mailing list after 1.3.0 release candidate made. 2008-01-25 Cui hengbin (integrated by Frédéric Bernon) * dns.c: Fix bug #22108 "DNS problem" caused by unaligned structures. 2008-01-15 Kieran Mansley * tcp_out.c: BUG20511. Modify persist timer to start when we are prevented from sending by a small send window, not just a zero send window. 2008-01-09 Jonathan Larmour * opt.h, ip.c: Rename IP_OPTIONS define to IP_OPTIONS_ALLOWED to avoid conflict with Linux system headers. 2008-01-06 Jonathan Larmour * dhcp.c: fix bug #19927: "DHCP NACK problem" by clearing any existing set IP address entirely on receiving a DHCPNAK, and restarting discovery. 2007-12-21 Simon Goldschmidt * sys.h, api_lib.c, api_msg.c, sockets.c: fix bug #21698: "netconn->recv_avail is not protected" by using new macros for interlocked access to modify/test netconn->recv_avail. 2007-12-20 Kieran Mansley (based on patch from Oleg Tyshev) * tcp_in.c: fix bug# 21535 (nrtx not reset correctly in SYN_SENT state) 2007-12-20 Kieran Mansley (based on patch from Per-Henrik Lundbolm) * tcp.c, tcp_in.c, tcp_out.c, tcp.h: fix bug #20199 (better handling of silly window avoidance and prevent lwIP from shrinking the window) 2007-12-04 Simon Goldschmidt * tcp.c, tcp_in.c: fix bug #21699 (segment leak in ooseq processing when last data packet was lost): add assert that all segment lists are empty in tcp_pcb_remove before setting pcb to CLOSED state; don't directly set CLOSED state from LAST_ACK in tcp_process 2007-12-02 Simon Goldschmidt * sockets.h: fix bug #21654: exclude definition of struct timeval from #ifndef FD_SET If including <sys/time.h> for system-struct timeval, LWIP_TIMEVAL_PRIVATE now has to be set to 0 in lwipopts.h 2007-12-02 Simon Goldschmidt * api_msg.c, api_lib.c: fix bug #21656 (recvmbox problem in netconn API): always allocate a recvmbox in netconn_new_with_proto_and_callback. For a tcp-listen netconn, this recvmbox is later freed and a new mbox is allocated for acceptmbox. This is a fix for thread-safety and allocates all items needed for a netconn when the netconn is created. 2007-11-30 Simon Goldschmidt * udp.c: first attempt to fix bug #21655 (DHCP doesn't work reliably with multiple netifs): if LWIP_DHCP is enabled, UDP packets to DHCP_CLIENT_PORT are passed to netif->dhcp->pcb only (if that exists) and not to any other pcb for the same port (only solution to let UDP pcbs 'bind' to a netif instead of an IP address) 2007-11-27 Simon Goldschmidt * ip.c: fixed bug #21643 (udp_send/raw_send don't fail if netif is down) by letting ip_route only use netifs that are up. 2007-11-27 Simon Goldschmidt * err.h, api_lib.c, api_msg.c, sockets.c: Changed error handling: ERR_MEM, ERR_BUF and ERR_RTE are seen as non-fatal, all other errors are fatal. netconns and sockets block most operations once they have seen a fatal error. 2007-11-27 Simon Goldschmidt * udp.h, udp.c, dhcp.c: Implemented new function udp_sendto_if which takes the netif to send as an argument (to be able to send on netifs that are down). 2007-11-26 Simon Goldschmidt * tcp_in.c: Fixed bug #21582: pcb->acked accounting can be wrong when ACKs arrive out-of-order 2007-11-21 Simon Goldschmidt * tcp.h, tcp_out.c, api_msg.c: Fixed bug #20287: tcp_output_nagle sends too early Fixed the nagle algorithm; nagle now also works for all raw API applications and has to be explicitly disabled with 'tcp_pcb->flags |= TF_NODELAY' 2007-11-12 Frédéric Bernon * sockets.c, api.h, api_lib.c, api_msg.h, api_msg.c: Fixed bug #20900. Now, most of the netconn_peer and netconn_addr processing is done inside tcpip_thread context in do_getaddr. 2007-11-10 Simon Goldschmidt * etharp.c: Fixed bug: assert fired when MEMP_ARP_QUEUE was empty (which can happen any time). Now the packet simply isn't enqueued when out of memory. 2007-11-01 Simon Goldschmidt * tcp.c, tcp_in.c: Fixed bug #21494: The send mss (pcb->mss) is set to 536 (or TCP_MSS if that is smaller) as long as no MSS option is received from the remote host. 2007-11-01 Simon Goldschmidt * tcp.h, tcp.c, tcp_in.c: Fixed bug #21491: The MSS option sent (with SYN) is now based on TCP_MSS instead of pcb->mss (on passive open now effectively sending our configured TCP_MSS instead of the one received). 2007-11-01 Simon Goldschmidt * tcp_in.c: Fixed bug #21181: On active open, the initial congestion window was calculated based on the configured TCP_MSS, not on the MSS option received with SYN+ACK. 2007-10-09 Simon Goldschmidt * udp.c, inet.c, inet.h: Fixed UDPLite: send: Checksum was always generated too short and also was generated wrong if checksum coverage != tot_len; receive: checksum was calculated wrong if checksum coverage != tot_len 2007-10-08 Simon Goldschmidt * mem.c: lfree was not updated in mem_realloc! 2007-10-07 Frédéric Bernon * sockets.c, api.h, api_lib.c: First step to fix "bug #20900 : Potential crash error problem with netconn_peer & netconn_addr". VERY IMPORTANT: this change cause an API breakage for netconn_addr, since a parameter type change. Any compiler should cause an error without any changes in yours netconn_peer calls (so, it can't be a "silent change"). It also reduce a little bit the footprint for socket layer (lwip_getpeername & lwip_getsockname use now a common lwip_getaddrname function since netconn_peer & netconn_addr have the same parameters). 2007-09-20 Simon Goldschmidt * tcp.c: Fixed bug #21080 (tcp_bind without check pcbs in TIME_WAIT state) by checking tcp_tw_pcbs also 2007-09-19 Simon Goldschmidt * icmp.c: Fixed bug #21107 (didn't reset IP TTL in ICMP echo replies) 2007-09-15 Mike Kleshov * mem.c: Fixed bug #21077 (inaccuracy in calculation of lwip_stat.mem.used) 2007-09-06 Frédéric Bernon * several-files: replace some #include "arch/cc.h" by "lwip/arch.h", or simply remove it as long as "lwip/opt.h" is included before (this one include "lwip/debug.h" which already include "lwip/arch.h"). Like that, default defines are provided by "lwip/arch.h" if they are not defined in cc.h, in the same spirit than "lwip/opt.h" for lwipopts.h. 2007-08-30 Frédéric Bernon * igmp.h, igmp.c: Some changes to remove some redundant code, add some traces, and fix some coding style. 2007-08-28 Frédéric Bernon * tcpip.c: Fix TCPIP_MSG_INPKT processing: now, tcpip_input can be used for any kind of packets. These packets are considered like Ethernet packets (payload pointing to ethhdr) if the netif got the NETIF_FLAG_ETHARP flag. Else, packets are considered like IP packets (payload pointing to iphdr). 2007-08-27 Frédéric Bernon * api.h, api_lib.c, api_msg.c: First fix for "bug #20900 : Potential crash error problem with netconn_peer & netconn_addr". Introduce NETCONN_LISTEN netconn_state and remove obsolete ones (NETCONN_RECV & NETCONN_ACCEPT). 2007-08-24 Kieran Mansley * inet.c Modify (acc >> 16) test to ((acc >> 16) != 0) to help buggy compiler (Paradigm C++) 2007-08-09 Frédéric Bernon, Bill Florac * stats.h, stats.c, igmp.h, igmp.c, opt.h: Fix for bug #20503 : IGMP Improvement. Introduce IGMP_STATS to centralize statistics management. 2007-08-09 Frédéric Bernon, Bill Florac * udp.c: Fix for bug #20503 : IGMP Improvement. Enable to receive a multicast packet on a udp pcb binded on an netif's IP address, and not on "any". 2007-08-09 Frédéric Bernon, Bill Florac * igmp.h, igmp.c, ip.c: Fix minor changes from bug #20503 : IGMP Improvement. This is mainly on using lookup/lookfor, and some coding styles... 2007-07-26 Frédéric Bernon (and "thedoctor") * igmp.c: Fix bug #20595 to accept IGMPv3 "Query" messages. 2007-07-25 Simon Goldschmidt * api_msg.c, tcp.c: Another fix for bug #20021: by not returning an error if tcp_output fails in tcp_close, the code in do_close_internal gets simpler (tcp_output is called again later from tcp timers). 2007-07-25 Simon Goldschmidt * ip_frag.c: Fixed bug #20429: use the new pbuf_copy_partial instead of the old copy_from_pbuf, which illegally modified the given pbuf. 2007-07-25 Simon Goldschmidt * tcp_out.c: tcp_enqueue: pcb->snd_queuelen didn't work for chaine PBUF_RAMs: changed snd_queuelen++ to snd_queuelen += pbuf_clen(p). 2007-07-24 Simon Goldschmidt * api_msg.c, tcp.c: Fix bug #20480: Check the pcb passed to tcp_listen() for the correct state (must be CLOSED). 2007-07-13 Thomas Taranowski (commited by Jared Grubb) * memp.c: Fix bug #20478: memp_malloc returned NULL+MEMP_SIZE on failed allocation. It now returns NULL. 2007-07-13 Frédéric Bernon * api_msg.c: Fix bug #20318: api_msg "recv" callbacks don't call pbuf_free in all error cases. 2007-07-13 Frédéric Bernon * api_msg.c: Fix bug #20315: possible memory leak problem if tcp_listen failed, because current code doesn't follow rawapi.txt documentation. 2007-07-13 Kieran Mansley * src/core/tcp_in.c Apply patch#5741 from Oleg Tyshev to fix bug in out of sequence processing of received packets 2007-07-03 Simon Goldschmidt * nearly-all-files: Added assertions where PBUF_RAM pbufs are used and an assumption is made that this pbuf is in one piece (i.e. not chained). These assumptions clash with the possibility of converting to fully pool-based pbuf implementations, where PBUF_RAM pbufs might be chained. 2007-07-03 Simon Goldschmidt * api.h, api_lib.c, api_msg.c: Final fix for bug #20021 and some other problems when closing tcp netconns: removed conn->sem, less context switches when closing, both netconn_close and netconn_delete should safely close tcp connections. 2007-07-02 Simon Goldschmidt * ipv4/ip.h, ipv6/ip.h, opt.h, netif.h, etharp.h, ipv4/ip.c, netif.c, raw.c, tcp_out.c, udp.c, etharp.c: Added option LWIP_NETIF_HWADDRHINT (default=off) to cache ARP table indices with each pcb instead of single-entry cache for the complete stack. 2007-07-02 Simon Goldschmidt * tcp.h, tcp.c, tcp_in.c, tcp_out.c: Added some ASSERTS and casts to prevent warnings when assigning to smaller types. 2007-06-28 Simon Goldschmidt * tcp_out.c: Added check to prevent tcp_pcb->snd_queuelen from overflowing. 2007-06-28 Simon Goldschmidt * tcp.h: Fixed bug #20287: Fixed nagle algorithm (sending was done too early if a segment contained chained pbufs) 2007-06-28 Frédéric Bernon * autoip.c: replace most of rand() calls by a macro LWIP_AUTOIP_RAND which compute a "pseudo-random" value based on netif's MAC and some autoip fields. It's always possible to define this macro in your own lwipopts.h to always use C library's rand(). Note that autoip_create_rand_addr doesn't use this macro. 2007-06-28 Frédéric Bernon * netifapi.h, netifapi.c, tcpip.h, tcpip.c: Update code to handle the option LWIP_TCPIP_CORE_LOCKING, and do some changes to be coherent with last modifications in api_lib/api_msg (use pointers and not type with table, etc...) 2007-06-26 Simon Goldschmidt * udp.h: Fixed bug #20259: struct udp_hdr was lacking the packin defines. 2007-06-25 Simon Goldschmidt * udp.c: Fixed bug #20253: icmp_dest_unreach was called with a wrong p->payload for udp packets with no matching pcb. 2007-06-25 Simon Goldschmidt * udp.c: Fixed bug #20220: UDP PCB search in udp_input(): a non-local match could get udp input packets if the remote side matched. 2007-06-13 Simon Goldschmidt * netif.c: Fixed bug #20180 (TCP pcbs listening on IP_ADDR_ANY could get changed in netif_set_ipaddr if previous netif->ip_addr.addr was 0. 2007-06-13 Simon Goldschmidt * api_msg.c: pcb_new sets conn->err if protocol is not implemented -> netconn_new_..() does not allocate a new connection for unsupported protocols. 2007-06-13 Frédéric Bernon, Simon Goldschmidt * api_lib.c: change return expression in netconn_addr and netconn_peer, because conn->err was reset to ERR_OK without any reasons (and error was lost)... 2007-06-13 Frédéric Bernon, Matthias Weisser * opt.h, mem.h, mem.c, memp.c, pbuf.c, ip_frag.c, vj.c: Fix bug #20162. Rename MEM_ALIGN in LWIP_MEM_ALIGN and MEM_ALIGN_SIZE in LWIP_MEM_ALIGN_SIZE to avoid some macro names collision with some OS macros. 2007-06-11 Simon Goldschmidt * udp.c: UDP Lite: corrected the use of chksum_len (based on RFC3828: if it's 0, create checksum over the complete packet. On RX, if it's < 8 (and not 0), discard the packet. Also removed the duplicate 'udphdr->chksum = 0' for both UDP & UDP Lite. 2007-06-11 Srinivas Gollakota & Oleg Tyshev * tcp_out.c: Fix for bug #20075 : "A problem with keep-alive timer and TCP flags" where TCP flags wasn't initialized in tcp_keepalive. 2007-06-03 Simon Goldschmidt * udp.c: udp_input(): Input pbuf was not freed if pcb had no recv function registered, p->payload was modified without modifying p->len if sending icmp_dest_unreach() (had no negative effect but was definitively wrong). 2007-06-03 Simon Goldschmidt * icmp.c: Corrected bug #19937: For responding to an icmp echo request, icmp re-used the input pbuf even if that didn't have enough space to include the link headers. Now the space is tested and a new pbuf is allocated for the echo response packet if the echo request pbuf isn't big enough. 2007-06-01 Simon Goldschmidt * sockets.c: Checked in patch #5914: Moved sockopt processing into tcpip_thread. 2007-05-23 Frédéric Bernon * api_lib.c, sockets.c: Fixed bug #5958 for netconn_listen (acceptmbox only allocated by do_listen if success) and netconn_accept errors handling. In most of api_lib functions, we replace some errors checkings like "if (conn==NULL)" by ASSERT, except for netconn_delete. 2007-05-23 Frédéric Bernon * api_lib.c: Fixed bug #5957 "Safe-thread problem inside netconn_recv" to return an error code if it's impossible to fetch a pbuf on a TCP connection (and not directly close the recvmbox). 2007-05-22 Simon Goldschmidt * tcp.c: Fixed bug #1895 (tcp_bind not correct) by introducing a list of bound but unconnected (and non-listening) tcp_pcbs. 2007-05-22 Frédéric Bernon * sys.h, sys.c, api_lib.c, tcpip.c: remove sys_mbox_fetch_timeout() (was only used for LWIP_SO_RCVTIMEO option) and use sys_arch_mbox_fetch() instead of sys_mbox_fetch() in api files. Now, users SHOULD NOT use internal lwIP features like "sys_timeout" in their application threads. 2007-05-22 Frédéric Bernon * api.h, api_lib.c, api_msg.h, api_msg.c: change the struct api_msg_msg to see which parameters are used by which do_xxx function, and to avoid "misusing" parameters (patch #5938). 2007-05-22 Simon Goldschmidt * api_lib.c, api_msg.c, raw.c, api.h, api_msg.h, raw.h: Included patch #5938: changed raw_pcb.protocol from u16_t to u8_t since for IPv4 and IPv6, proto is only 8 bits wide. This affects the api, as there, the protocol was u16_t, too. 2007-05-18 Simon Goldschmidt * memp.c: addition to patch #5913: smaller pointer was returned but memp_memory was the same size -> did not save memory. 2007-05-16 Simon Goldschmidt * loopif.c, slipif.c: Fix bug #19729: free pbuf if netif->input() returns != ERR_OK. 2007-05-16 Simon Goldschmidt * api_msg.c, udp.c: If a udp_pcb has a local_ip set, check if it is the same as the one of the netif used for sending to prevent sending from old addresses after a netif address gets changed (partly fixes bug #3168). 2007-05-16 Frédéric Bernon * tcpip.c, igmp.h, igmp.c: Fixed bug "#19800 : IGMP: igmp_tick() will not work with NO_SYS=1". Note that igmp_init is always in tcpip_thread (and not in tcpip_init) because we have to be sure that network interfaces are already added (mac filter is updated only in igmp_init for the moment). 2007-05-16 Simon Goldschmidt * mem.c, memp.c: Removed semaphores from memp, changed sys_sem_wait calls into sys_arch_sem_wait calls to prevent timers from running while waiting for the heap. This fixes bug #19167. 2007-05-13 Simon Goldschmidt * tcp.h, sockets.h, sockets.c: Fixed bug from patch #5865 by moving the defines for socket options (lwip_set/-getsockopt) used with level IPPROTO_TCP from tcp.h to sockets.h. 2007-05-07 Simon Goldschmidt * mem.c: Another attempt to fix bug #17922. 2007-05-04 Simon Goldschmidt * pbuf.c, pbuf.h, etharp.c: Further update to ARP queueing: Changed pbuf_copy() implementation so that it can be reused (don't allocate the target pbuf inside pbuf_copy()). 2007-05-04 Simon Goldschmidt * memp.c: checked in patch #5913: in memp_malloc() we can return memp as mem to save a little RAM (next pointer of memp is not used while not in pool). 2007-05-03 "maq" * sockets.c: Fix ioctl FIONREAD when some data remains from last recv. (patch #3574). 2007-04-23 Simon Goldschmidt * loopif.c, loopif.h, opt.h, src/netif/FILES: fix bug #2595: "loopif results in NULL reference for incoming TCP packets". Loopif has to be configured (using LWIP_LOOPIF_MULTITHREADING) to directly call netif->input() (multithreading environments, e.g. netif->input() = tcpip_input()) or putting packets on a list that is fed to the stack by calling loopif_poll() (single-thread / NO_SYS / polling environment where e.g. netif->input() = ip_input). 2007-04-17 Jonathan Larmour * pbuf.c: Use s32_t in pbuf_realloc(), as an s16_t can't reliably hold the difference between two u16_t's. * sockets.h: FD_SETSIZE needs to match number of sockets, which is MEMP_NUM_NETCONN in sockets.c right now. 2007-04-12 Jonathan Larmour * icmp.c: Reset IP header TTL in ICMP ECHO responses (bug #19580). 2007-04-12 Kieran Mansley * tcp.c, tcp_in.c, tcp_out.c, tcp.h: Modify way the retransmission timer is reset to fix bug#19434, with help from Oleg Tyshev. 2007-04-11 Simon Goldschmidt * etharp.c, pbuf.c, pbuf.h: 3rd fix for bug #11400 (arp-queuing): More pbufs than previously thought need to be copied (everything but PBUF_ROM!). Cleaned up pbuf.c: removed functions no needed any more (by etharp). 2007-04-11 Kieran Mansley * inet.c, ip_addr.h, sockets.h, sys.h, tcp.h: Apply patch #5745: Fix "Constant is long" warnings with 16bit compilers. Contributed by<EMAIL_ADDRESS>2007-04-05 Frédéric Bernon, Jonathan Larmour * api_msg.c: Fix bug #16830: "err_tcp() posts to connection mailbox when no pend on the mailbox is active". Now, the post is only done during a connect, and do_send, do_write and do_join_leave_group don't do anything if a previous error was signaled. 2007-04-03 Frédéric Bernon * ip.c: Don't set the IP_DF ("Don't fragment") flag in the IP header in IP output packets. See patch #5834. 2007-03-30 Frédéric Bernon * api_msg.c: add a "pcb_new" helper function to avoid redundant code, and to add missing pcb allocations checking (in do_bind, and for each raw_new). Fix style. 2007-03-30 Frédéric Bernon * most of files: prefix all debug.h define with "LWIP_" to avoid any conflict with others environment defines (these were too "generic"). 2007-03-28 Frédéric Bernon * api.h, api_lib.c, sockets.c: netbuf_ref doesn't check its internal pbuf_alloc call result and can cause a crash. lwip_send now check netbuf_ref result. 2007-03-28 Simon Goldschmidt * sockets.c Remove "#include <errno.h>" from sockets.c to avoid multiple definition of macros (in errno.h and lwip/arch.h) if LWIP_PROVIDE_ERRNO is defined. This is the way it should have been already (looking at doc/sys_arch.txt) 2007-03-28 Kieran Mansley * opt.h Change default PBUF_POOL_BUFSIZE (again) to accomodate default MSS + IP and TCP headers *and* physical link headers 2007-03-26 Frédéric Bernon (based on patch from Dmitry Potapov) * api_lib.c: patch for netconn_write(), fixes a possible race condition which cause to send some garbage. It is not a definitive solution, but the patch does solve the problem for most cases. 2007-03-22 Frédéric Bernon * api_msg.h, api_msg.c: Remove obsolete API_MSG_ACCEPT and do_accept (never used). 2007-03-22 Frédéric Bernon * api_lib.c: somes resources couldn't be freed if there was errors during netconn_new_with_proto_and_callback. 2007-03-22 Frédéric Bernon * ethernetif.c: update netif->input calls to check return value. In older ports, it's a good idea to upgrade them, even if before, there could be another problem (access to an uninitialized mailbox). 2007-03-21 Simon Goldschmidt * sockets.c: fixed bug #5067 (essentialy a signed/unsigned warning fixed by casting to unsigned). 2007-03-21 Frédéric Bernon * api_lib.c, api_msg.c, tcpip.c: integrate sys_mbox_fetch(conn->mbox, NULL) calls from api_lib.c to tcpip.c's tcpip_apimsg(). Now, use a local variable and not a dynamic one from memp to send tcpip_msg to tcpip_thread in a synchrone call. Free tcpip_msg from tcpip_apimsg is not done in tcpip_thread. This give a faster and more reliable communication between api_lib and tcpip. 2007-03-21 Frédéric Bernon * opt.h: Add LWIP_NETIF_CALLBACK (to avoid compiler warning) and set it to 0. 2007-03-21 Frédéric Bernon * api_msg.c, igmp.c, igmp.h: Fix C++ style comments 2007-03-21 Kieran Mansley * opt.h Change default PBUF_POOL_BUFSIZE to accomodate default MSS + IP and TCP headers 2007-03-21 Kieran Mansley * Fix all uses of pbuf_header to check the return value. In some cases just assert if it fails as I'm not sure how to fix them, but this is no worse than before when they would carry on regardless of the failure. 2007-03-21 Kieran Mansley * sockets.c, igmp.c, igmp.h, memp.h: Fix C++ style comments and comment out missing header include in icmp.c 2007-03-20 Frédéric Bernon * memp.h, stats.c: Fix stats_display function where memp_names table wasn't synchronized with memp.h. 2007-03-20 Frédéric Bernon * tcpip.c: Initialize tcpip's mbox, and verify if initialized in tcpip_input, tcpip_ethinput, tcpip_callback, tcpip_apimsg, to fix a init problem with network interfaces. Also fix a compiler warning. 2007-03-20 Kieran Mansley * udp.c: Only try and use pbuf_header() to make space for headers if not a ROM or REF pbuf. 2007-03-19 Frédéric Bernon * api_msg.h, api_msg.c, tcpip.h, tcpip.c: Add return types to tcpip_apimsg() and api_msg_post(). 2007-03-19 Frédéric Bernon * Remove unimplemented "memp_realloc" function from memp.h. 2007-03-11 Simon Goldschmidt * pbuf.c: checked in patch #5796: pbuf_alloc: len field claculation caused memory corruption. 2007-03-11 Simon Goldschmidt (based on patch from Dmitry Potapov) * api_lib.c, sockets.c, api.h, api_msg.h, sockets.h: Fixed bug #19251 (missing `const' qualifier in socket functions), to get more compatible to standard POSIX sockets. 2007-03-11 Frédéric Bernon (based on patch from Dmitry Potapov) * sockets.c: Add asserts inside bind, connect and sendto to check input parameters. Remove excessive set_errno() calls after get_socket(), because errno is set inside of get_socket(). Move last sock_set_errno() inside lwip_close. 2007-03-09 Simon Goldschmidt * memp.c: Fixed bug #11400: New etharp queueing introduced bug: memp_memory was allocated too small. 2007-03-06 Simon Goldschmidt * tcpip.c: Initialize dhcp timers in tcpip_thread (if LWIP_DHCP) to protect the stack from concurrent access. 2007-03-06 Frédéric Bernon, Dmitry Potapov * tcpip.c, ip_frag.c, ethernetif.c: Fix some build problems, and a redundancy call to "lwip_stats.link.recv++;" in low_level_input() & ethernetif_input(). 2007-03-06 Simon Goldschmidt * ip_frag.c, ip_frag.h: Reduce code size: don't include code in those files if IP_FRAG == 0 and IP_REASSEMBLY == 0 2007-03-06 Frédéric Bernon, Simon Goldschmidt * opt.h, ip_frag.h, tcpip.h, tcpip.c, ethernetif.c: add new configuration option named ETHARP_TCPIP_ETHINPUT, which enable the new tcpip_ethinput. Allow to do ARP processing for incoming packets inside tcpip_thread (protecting ARP layer against concurrent access). You can also disable old code using tcp_input with new define ETHARP_TCPIP_INPUT set to 0. Older ports have to use tcpip_ethinput. 2007-03-06 Simon Goldschmidt (based on patch from Dmitry Potapov) * err.h, err.c: fixed compiler warning "initialization dircards qualifiers from pointer target type" 2007-03-05 Frédéric Bernon * opt.h, sockets.h: add new configuration options (LWIP_POSIX_SOCKETS_IO_NAMES, ETHARP_TRUST_IP_MAC, review SO_REUSE) 2007-03-04 Frédéric Bernon * api_msg.c: Remove some compiler warnings : parameter "pcb" was never referenced. 2007-03-04 Frédéric Bernon * api_lib.c: Fix "[patch #5764] api_lib.c cleanup: after patch #5687" (from Dmitry Potapov). The api_msg struct stay on the stack (not moved to netconn struct). 2007-03-04 Simon Goldschmidt (based on patch from Dmitry Potapov) * pbuf.c: Fix BUG#19168 - pbuf_free can cause deadlock (if SYS_LIGHTWEIGHT_PROT=1 & freeing PBUF_RAM when mem_sem is not available) Also fixed cast warning in pbuf_alloc() 2007-03-04 Simon Goldschmidt * etharp.c, etharp.h, memp.c, memp.h, opt.h: Fix BUG#11400 - don't corrupt existing pbuf chain when enqueuing multiple pbufs to a pending ARP request 2007-03-03 Frédéric Bernon * udp.c: remove obsolete line "static struct udp_pcb *pcb_cache = NULL;" It is static, and never used in udp.c except udp_init(). 2007-03-02 Simon Goldschmidt * tcpip.c: Moved call to ip_init(), udp_init() and tcp_init() from tcpip_thread() to tcpip_init(). This way, raw API connections can be initialized before tcpip_thread is running (e.g. before OS is started) 2007-03-02 Frédéric Bernon * rawapi.txt: Fix documentation mismatch with etharp.h about etharp_tmr's call interval. 2007-02-28 Kieran Mansley * pbuf.c: Fix BUG#17645 - ensure pbuf payload pointer is not moved outside the region of the pbuf by pbuf_header() 2007-02-28 Kieran Mansley * sockets.c: Fix BUG#19161 - ensure milliseconds timeout is non-zero when supplied timeout is also non-zero (STABLE-1.2.0) 2006-12-05 Leon Woestenberg * CHANGELOG: Mention STABLE-1.2.0 release. ++ New features: 2006-12-01 Christiaan Simons * mem.h, opt.h: Added MEM_LIBC_MALLOC option. Note this is a workaround. Currently I have no other options left. 2006-10-26 Christiaan Simons (accepted patch by Jonathan Larmour) * ipv4/ip_frag.c: rename MAX_MTU to IP_FRAG_MAX_MTU and move define to include/lwip/opt.h. * ipv4/lwip/ip_frag.h: Remove unused IP_REASS_INTERVAL. Move IP_REASS_MAXAGE and IP_REASS_BUFSIZE to include/lwip/opt.h. * opt.h: Add above new options. 2006-08-18 Christiaan Simons * tcp_{in,out}.c: added SNMP counters. * ipv4/ip.c: added SNMP counters. * ipv4/ip_frag.c: added SNMP counters. 2006-08-08 Christiaan Simons * etharp.{c,h}: added etharp_find_addr() to read (stable) ethernet/IP address pair from ARP table 2006-07-14 Christiaan Simons * mib_structs.c: added * include/lwip/snmp_structs.h: added * netif.{c,h}, netif/ethernetif.c: added SNMP statistics to netif struct 2006-07-06 Christiaan Simons * snmp/asn1_{enc,dec}.c added * snmp/mib2.c added * snmp/msg_{in,out}.c added * include/lwip/snmp_asn1.h added * include/lwip/snmp_msg.h added * doc/snmp_agent.txt added 2006-03-29 Christiaan Simons * inet.c, inet.h: Added platform byteswap support. Added LWIP_PLATFORM_BYTESWAP define (defaults to 0) and optional LWIP_PLATFORM_HTONS(), LWIP_PLATFORM_HTONL() macros. ++ Bug fixes: 2006-11-30 Christiaan Simons * dhcp.c: Fixed false triggers of request_timeout. 2006-11-28 Christiaan Simons * netif.c: In netif_add() fixed missing clear of ip_addr, netmask, gw and flags. 2006-10-11 Christiaan Simons * api_lib.c etharp.c, ip.c, memp.c, stats.c, sys.{c,h} tcp.h: Partially accepted patch #5449 for ANSI C compatibility / build fixes. * ipv4/lwip/ip.h ipv6/lwip/ip.h: Corrected UDP-Lite protocol identifier from 170 to 136 (bug #17574). 2006-10-10 Christiaan Simons * api_msg.c: Fixed Nagle algorithm as reported by Bob Grice. 2006-08-17 Christiaan Simons * udp.c: Fixed bug #17200, added check for broadcast destinations for PCBs bound to a unicast address. 2006-08-07 Christiaan Simons * api_msg.c: Flushing TCP output in do_close() (bug #15926). 2006-06-27 Christiaan Simons * api_msg.c: Applied patch for cold case (bug #11135). In accept_function() ensure newconn->callback is always initialized. 2006-06-15 Christiaan Simons * mem.h: added MEM_SIZE_F alias to fix an ancient cold case (bug #1748), facilitate printing of mem_size_t and u16_t statistics. 2006-06-14 Christiaan Simons * api_msg.c: Applied patch #5146 to handle allocation failures in accept() by Kevin Lawson. 2006-05-26 Christiaan Simons * api_lib.c: Removed conn->sem creation and destruction from netconn_write() and added sys_sem_new to netconn_new_*. (STABLE-1_1_1) 2006-03-03 Christiaan Simons * ipv4/ip_frag.c: Added bound-checking assertions on ip_reassbitmap access and added pbuf_alloc() return value checks. 2006-01-01 Leon Woestenberg<EMAIL_ADDRESS>* tcp_{in,out}.c, tcp_out.c: Removed 'even sndbuf' fix in TCP, which is now handled by the checksum routine properly. 2006-02-27 Leon Woestenberg<EMAIL_ADDRESS>* pbuf.c: Fix alignment; pbuf_init() would not work unless pbuf_pool_memory[] was properly aligned. (Patch by Curt McDowell.) 2005-12-20 Leon Woestenberg<EMAIL_ADDRESS>* tcp.c: Remove PCBs which stay in LAST_ACK state too long. Patch submitted by Mitrani Hiroshi. 2005-12-15 Christiaan Simons * inet.c: Disabled the added summing routine to preserve code space. 2005-12-14 Leon Woestenberg<EMAIL_ADDRESS>* tcp_in.c: Duplicate FIN ACK race condition fix by Kelvin Lawson. Added Curt McDowell's optimized checksumming routine for future inclusion. Need to create test case for unaliged, aligned, odd, even length combination of cases on various endianess machines. 2005-12-09 Christiaan Simons * inet.c: Rewrote standard checksum routine in proper portable C. 2005-11-25 Christiaan Simons * udp.c tcp.c: Removed SO_REUSE hack. Should reside in socket code only. * *.c: introduced cc.h LWIP_DEBUG formatters matching the u16_t, s16_t, u32_t, s32_t typedefs. This solves most debug word-length assumes. 2005-07-17 Leon Woestenberg<EMAIL_ADDRESS>* inet.c: Fixed unaligned 16-bit access in the standard checksum routine by Peter Jolasson. * slipif.c: Fixed implementation assumption of single-pbuf datagrams. 2005-02-04 Leon Woestenberg<EMAIL_ADDRESS>* tcp_out.c: Fixed uninitialized 'queue' referenced in memerr branch. * tcp_{out|in}.c: Applied patch fixing unaligned access. 2005-01-04 Leon Woestenberg<EMAIL_ADDRESS>* pbuf.c: Fixed missing semicolon after LWIP_DEBUG statement. 2005-01-03 Leon Woestenberg<EMAIL_ADDRESS>* udp.c: UDP pcb->recv() was called even when it was NULL. (STABLE-1_1_0) 2004-12-28 Leon Woestenberg<EMAIL_ADDRESS>* etharp.*: Disabled multiple packets on the ARP queue. This clashes with TCP queueing. 2004-11-28 Leon Woestenberg<EMAIL_ADDRESS>* etharp.*: Fixed race condition from ARP request to ARP timeout. Halved the ARP period, doubled the period counts. ETHARP_MAX_PENDING now should be at least 2. This prevents the counter from reaching 0 right away (which would allow too little time for ARP responses to be received). 2004-11-25 Leon Woestenberg<EMAIL_ADDRESS>* dhcp.c: Decline messages were not multicast but unicast. * etharp.c: ETHARP_CREATE is renamed to ETHARP_TRY_HARD. Do not try hard to insert arbitrary packet's source address, etharp_ip_input() now calls etharp_update() without ETHARP_TRY_HARD. etharp_query() now always DOES call ETHARP_TRY_HARD so that users querying an address will see it appear in the cache (DHCP could suffer from this when a server invalidly gave an in-use address.) * ipv4/ip_addr.h: Renamed ip_addr_maskcmp() to _netcmp() as we are comparing network addresses (identifiers), not the network masks themselves. * ipv4/ip_addr.c: ip_addr_isbroadcast() now checks that the given IP address actually belongs to the network of the given interface. 2004-11-24 Kieran Mansley<EMAIL_ADDRESS>* tcp.c: Increment pcb->snd_buf when ACK is received in SYN_SENT state. (STABLE-1_1_0-RC1) 2004-10-16 Kieran Mansley<EMAIL_ADDRESS>* tcp.c: Add code to tcp_recved() to send an ACK (window update) immediately, even if one is already pending, if the rcv_wnd is above a threshold (currently TCP_WND/2). This avoids waiting for a timer to expire to send a delayed ACK in order to open the window if the stack is only receiving data. 2004-09-12 Kieran Mansley<EMAIL_ADDRESS>* tcp*.*: Retransmit time-out handling improvement by Sam Jansen. 2004-08-20 Tony Mountifield<EMAIL_ADDRESS>* etharp.c: Make sure the first pbuf queued on an ARP entry is properly ref counted. 2004-07-27 Tony Mountifield<EMAIL_ADDRESS>* debug.h: Added (int) cast in LWIP_DEBUGF() to avoid compiler warnings about comparison. * pbuf.c: Stopped compiler complaining of empty if statement when LWIP_DEBUGF() empty. Closed an unclosed comment. * tcp.c: Stopped compiler complaining of empty if statement when LWIP_DEBUGF() empty. * ip.h Corrected IPH_TOS() macro: returns a byte, so doesn't need htons(). * inet.c: Added a couple of casts to quiet the compiler. No need to test isascii(c) before isdigit(c) or isxdigit(c). 2004-07-22 Tony Mountifield<EMAIL_ADDRESS>* inet.c: Made data types consistent in inet_ntoa(). Added casts for return values of checksum routines, to pacify compiler. * ip_frag.c, tcp_out.c, sockets.c, pbuf.c Small corrections to some debugging statements, to pacify compiler. 2004-07-21 Tony Mountifield<EMAIL_ADDRESS>* etharp.c: Removed spurious semicolon and added missing end-of-comment. * ethernetif.c Updated low_level_output() to match prototype for netif->linkoutput and changed low_level_input() similarly for consistency. * api_msg.c: Changed recv_raw() from int to u8_t, to match prototype of raw_recv() in raw.h and so avoid compiler error. * sockets.c: Added trivial (int) cast to keep compiler happier. * ip.c, netif.c Changed debug statements to use the tidier ip4_addrN() macros. (STABLE-1_0_0) ++ Changes: 2004-07-05 Leon Woestenberg<EMAIL_ADDRESS>* sockets.*: Restructured LWIP_PRIVATE_TIMEVAL. Make sure your cc.h file defines this either 1 or 0. If non-defined, defaults to 1. * .c: Added <string.h> and <errno.h> includes where used. * etharp.c: Made some array indices unsigned. 2004-06-27 Leon Woestenberg<EMAIL_ADDRESS>* netif.*: Added netif_set_up()/down(). * dhcp.c: Changes to restart program flow. 2004-05-07 Leon Woestenberg<EMAIL_ADDRESS>* etharp.c: In find_entry(), instead of a list traversal per candidate, do a single-pass lookup for different candidates. Should exploit locality. 2004-04-29 Leon Woestenberg<EMAIL_ADDRESS>* tcp*.c: Cleaned up source comment documentation for Doxygen processing. * opt.h: ETHARP_ALWAYS_INSERT option removed to comply with ARP RFC. * etharp.c: update_arp_entry() only adds new ARP entries when adviced to by the caller. This deprecates the ETHARP_ALWAYS_INSERT overrule option. ++ Bug fixes: 2004-04-27 Leon Woestenberg<EMAIL_ADDRESS>* etharp.c: Applied patch of bug #8708 by Toni Mountifield with a solution suggested by Timmy Brolin. Fix for 32-bit processors that cannot access non-aligned 32-bit words, such as soms 32-bit TCP/IP header fields. Fix is to prefix the 14-bit Ethernet headers with two padding bytes. 2004-04-23 Leon Woestenberg<EMAIL_ADDRESS>* ip_addr.c: Fix in the ip_addr_isbroadcast() check. * etharp.c: Fixed the case where the packet that initiates the ARP request is not queued, and gets lost. Fixed the case where the packets destination address is already known; we now always queue the packet and perform an ARP request. (STABLE-0_7_0) ++ Bug fixes: * Fixed TCP bug for SYN_SENT to ESTABLISHED state transition. * Fixed TCP bug in dequeueing of FIN from out of order segment queue. * Fixed two possible NULL references in rare cases. (STABLE-0_6_6) ++ Bug fixes: * Fixed DHCP which did not include the IP address in DECLINE messages. ++ Changes: * etharp.c has been hauled over a bit. (STABLE-0_6_5) ++ Bug fixes: * Fixed TCP bug induced by bad window resizing with unidirectional TCP traffic. * Packets sent from ARP queue had invalid source hardware address. ++ Changes: * Pass-by ARP requests do now update the cache. ++ New features: * No longer dependent on ctype.h. * New socket options. * Raw IP pcb support. (STABLE-0_6_4) ++ Bug fixes: * Some debug formatters and casts fixed. * Numereous fixes in PPP. ++ Changes: * DEBUGF now is LWIP_DEBUGF * pbuf_dechain() has been re-enabled. * Mentioned the changed use of CVS branches in README. (STABLE-0_6_3) ++ Bug fixes: * Fixed pool pbuf memory leak in pbuf_alloc(). Occured if not enough PBUF_POOL pbufs for a packet pbuf chain. Reported by Savin Zlobec. * PBUF_POOL chains had their tot_len field not set for non-first pbufs. Fixed in pbuf_alloc(). ++ New features: * Added PPP stack contributed by Marc Boucher ++ Changes: * Now drops short packets for ICMP/UDP/TCP protocols. More robust. * ARP queueuing now queues the latest packet instead of the first. This is the RFC recommended behaviour, but can be overridden in lwipopts.h. (0.6.2) ++ Bugfixes: * TCP has been fixed to deal with the new use of the pbuf->ref counter. * DHCP dhcp_inform() crash bug fixed. ++ Changes: * Removed pbuf_pool_free_cache and pbuf_pool_alloc_cache. Also removed pbuf_refresh(). This has sped up pbuf pool operations considerably. Implemented by David Haas. (0.6.1) ++ New features: * The packet buffer implementation has been enhanced to support zero-copy and copy-on-demand for packet buffers which have their payloads in application-managed memory. Implemented by David Haas. Use PBUF_REF to make a pbuf refer to RAM. lwIP will use zero-copy if an outgoing packet can be directly sent on the link, or perform a copy-on-demand when necessary. The application can safely assume the packet is sent, and the RAM is available to the application directly after calling udp_send() or similar function. ++ Bugfixes: * ARP_QUEUEING should now correctly work for all cases, including PBUF_REF. Implemented by Leon Woestenberg. ++ Changes: * IP_ADDR_ANY is no longer a NULL pointer. Instead, it is a pointer to a '<IP_ADDRESS>' IP address. * The packet buffer implementation is changed. The pbuf->ref counter meaning has changed, and several pbuf functions have been adapted accordingly. * netif drivers have to be changed to set the hardware address length field that must be initialized correctly by the driver (hint: 6 for Ethernet MAC). See the contrib/ports/c16x cs8900 driver as a driver example. * netif's have a dhcp field that must be initialized to NULL by the driver. See the contrib/ports/c16x cs8900 driver as a driver example. (0.5.x) This file has been unmaintained up to 0.6.1. All changes are logged in CVS but have not been explained here. (0.5.3) Changes since version 0.5.2 ++ Bugfixes: * memp_malloc(MEMP_API_MSG) could fail with multiple application threads because it wasn't protected by semaphores. ++ Other changes: * struct ip_addr now packed. * The name of the time variable in arp.c has been changed to ctime to avoid conflicts with the time() function. (0.5.2) Changes since version 0.5.1 ++ New features: * A new TCP function, tcp_tmr(), now handles both TCP timers. ++ Bugfixes: * A bug in tcp_parseopt() could cause the stack to hang because of a malformed TCP option. * The address of new connections in the accept() function in the BSD socket library was not handled correctly. * pbuf_dechain() did not update the ->tot_len field of the tail. * Aborted TCP connections were not handled correctly in all situations. ++ Other changes: * All protocol header structs are now packed. * The ->len field in the tcp_seg structure now counts the actual amount of data, and does not add one for SYN and FIN segments. (0.5.1) Changes since version 0.5.0 ++ New features: * Possible to run as a user process under Linux. * Preliminary support for cross platform packed structs. * ARP timer now implemented. ++ Bugfixes: * TCP output queue length was badly initialized when opening connections. * TCP delayed ACKs were not sent correctly. * Explicit initialization of BSS segment variables. * read() in BSD socket library could drop data. * Problems with memory alignment. * Situations when all TCP buffers were used could lead to starvation. * TCP MSS option wasn't parsed correctly. * Problems with UDP checksum calculation. * IP multicast address tests had endianess problems. * ARP requests had wrong destination hardware address. ++ Other changes: * struct eth_addr changed from u16_t[3] array to u8_t[6]. * A ->linkoutput() member was added to struct netif. * TCP and UDP ->dest_* struct members where changed to ->remote_*. * ntoh* macros are now null definitions for big endian CPUs. (0.5.0) Changes since version 0.4.2 ++ New features: * Redesigned operating system emulation layer to make porting easier. * Better control over TCP output buffers. * Documenation added. ++ Bugfixes: * Locking issues in buffer management. * Bugfixes in the sequential API. * IP forwarding could cause memory leakage. This has been fixed. ++ Other changes: * Directory structure somewhat changed; the core/ tree has been collapsed. (0.4.2) Changes since version 0.4.1 ++ New features: * Experimental ARP implementation added. * Skeleton Ethernet driver added. * Experimental BSD socket API library added. ++ Bugfixes: * In very intense situations, memory leakage could occur. This has been fixed. ++ Other changes: * Variables named "data" and "code" have been renamed in order to avoid name conflicts in certain compilers. * Variable++ have in appliciable cases been translated to ++variable since some compilers generate better code in the latter case. (0.4.1) Changes since version 0.4 ++ New features: * TCP: Connection attempts time out earlier than data transmissions. Nagle algorithm implemented. Push flag set on the last segment in a burst. * UDP: experimental support for UDP-Lite extensions. ++ Bugfixes: * TCP: out of order segments were in some cases handled incorrectly, and this has now been fixed. Delayed acknowledgements was broken in 0.4, has now been fixed. Binding to an address that is in use now results in an error. Reset connections sometimes hung an application; this has been fixed. * Checksum calculation sometimes failed for chained pbufs with odd lengths. This has been fixed. * API: a lot of bug fixes in the API. The UDP API has been improved and tested. Error reporting and handling has been improved. Logical flaws and race conditions for incoming TCP connections has been found and removed. * Memory manager: alignment issues. Reallocating memory sometimes failed, this has been fixed. * Generic library: bcopy was flawed and has been fixed. ++ Other changes: * API: all datatypes has been changed from generic ones such as ints, to specified ones such as u16_t. Functions that return errors now have the correct type (err_t). * General: A lot of code cleaned up and debugging code removed. Many portability issues have been fixed. * The license was changed; the advertising clause was removed. * C64 port added. * Thanks: Huge thanks go to Dagan Galarneau, Horst Garnetzke, Petri Kosunen, Mikael Caleres, and Frits Wilmink for reporting and fixing bugs! (0.4) Changes since version 0.3.1 * Memory management has been radically changed; instead of allocating memory from a shared heap, memory for objects that are rapidly allocated and deallocated is now kept in pools. Allocation and deallocation from those memory pools is very fast. The shared heap is still present but is used less frequently. * The memory, memory pool, and packet buffer subsystems now support 4-, 2-, or 1-byte alignment. * "Out of memory" situations are handled in a more robust way. * Stack usage has been reduced. * Easier configuration of lwIP parameters such as memory usage, TTLs, statistics gathering, etc. All configuration parameters are now kept in a single header file "lwipopts.h". * The directory structure has been changed slightly so that all architecture specific files are kept under the src/arch hierarchy. * Error propagation has been improved, both in the protocol modules and in the API. * The code for the RTXC architecture has been implemented, tested and put to use. * Bugs have been found and corrected in the TCP, UDP, IP, API, and the Internet checksum modules. * Bugs related to porting between a 32-bit and a 16-bit architecture have been found and corrected. * The license has been changed slightly to conform more with the original BSD license, including the advertisement clause. (0.3.1) Changes since version 0.3 * Fix of a fatal bug in the buffer management. Pbufs with allocated RAM never returned the RAM when the pbuf was deallocated. * TCP congestion control, window updates and retransmissions did not work correctly. This has now been fixed. * Bugfixes in the API. (0.3) Changes since version 0.2 * New and improved directory structure. All include files are now kept in a dedicated include/ directory. * The API now has proper error handling. A new function, netconn_err(), now returns an error code for the connection in case of errors. * Improvements in the memory management subsystem. The system now keeps a pointer to the lowest free memory block. A new function, mem_malloc2() tries to allocate memory once, and if it fails tries to free some memory and retry the allocation. * Much testing has been done with limited memory configurations. lwIP now does a better job when overloaded. * Some bugfixes and improvements to the buffer (pbuf) subsystem. * Many bugfixes in the TCP code: - Fixed a bug in tcp_close(). - The TCP receive window was incorrectly closed when out of sequence segments was received. This has been fixed. - Connections are now timed-out of the FIN-WAIT-2 state. - The initial congestion window could in some cases be too large. This has been fixed. - The retransmission queue could in some cases be screwed up. This has been fixed. - TCP RST flag now handled correctly. - Out of sequence data was in some cases never delivered to the application. This has been fixed. - Retransmitted segments now contain the correct acknowledgment number and advertised window. - TCP retransmission timeout backoffs are not correctly computed (ala BSD). After a number of retransmissions, TCP now gives up the connection. * TCP connections now are kept on three lists, one for active connections, one for listening connections, and one for connections that are in TIME-WAIT. This greatly speeds up the fast timeout processing for sending delayed ACKs. * TCP now provides proper feedback to the application when a connection has been successfully set up. * More comments have been added to the code. The code has also been somewhat cleaned up. (0.2) Initial public release.


Before Change
username = config.get(CONF_USERNAME)
password = config.get(CONF_PASSWORD)
if username is None or password is None:
_LOGGER.error("Must specify username and password!")
return False
add_devices([AlarmDotCom(hass,
config.get("name", DEFAULT_NAME),
config.get("code"),
username,
password)])
After Change
def setup_platform(hass, config, add_devices, discovery_info=None):
Setup an Alarm.com control panel.
name = config.get(CONF_NAME)
code = config.get(CONF_CODE)
username = config.get(CONF_USERNAME)
password = config.get(CONF_PASSWORD)
add_devices([AlarmDotCom(hass, name, code, username, password)])


Frankfurt captain banned for 7 weeks for knocking over coach
FRANKFURT, Germany (AP) - Frankfurt captain David Abraham has been banned for all the club’s remaining Bundesliga games this year after knocking over an opposition coach.
The defender body checked Freiburg coach Christian Streich with his shoulder during Sunday’s league game while trying to gather a ball which had gone out of play.
Freiburg players and staff then chased Abraham onto the field, sparking a mass brawl.
The German soccer federation banned Abraham for seven weeks through Dec. 29, ruling him out of six upcoming Bundesliga games, and fined him 25,000 euros ($27,500).
Freiburg player Vincenzo Grifo has been banned for three games after the video assistant referee system spotted him targeting Abraham for retaliation in the melee.
More AP soccer: https://apnews.com/Soccer and https://twitter.com/AP_Sports
Sign up for Daily Newsletters
Copyright © 2019 The Washington Times, LLC.
Please read our comment policy before commenting.


Config
The pysotope package is highly configurable using javascript object notation files for storing isotope system configuration. These files contain all information about how to read the data files, which filetype plugin to use, spike-standard compostion etc. Here an example configuration file is presented with comments on each parameter. Comments are not allowed in the regular json files used for data reduction.
A version of this file is contained in the pysotope github repository along with configurations for running Cr and Cd isotopes on IsotopX Phoenix and Isoprobe-T mass thermal ionization mass spectrometers (TIMS), and Cr on the ThermoFisher Neptune multicollector inductively coupled plasma mass spectrometer (MC-ICP-MS).
{
// Description of intended use of the file, e.g. spike and standard
// lot numbers could be annotated here, as well as where and when
// spike and standard were calibrated.
// It's reccomended that creator info/contact is added as well.
"description": "Data reduction for Cr isotopes, calibrated for 50Cr-54Cr spike pair, with reporting of 53Cr/52Cr ratio relative to NIST SRM 3112a, on the Phoenix and Isoprobe-T TIMS at the Geology Section, Department of Geoscience and Natural Resources, University of Copenhagen",
// The version parameter is used by the file spec_read to see if the file spec
// is compatible with the current version of pysotope.
"version": 2,
// The element symbol, used for generating lookup text for ratios.
"element" : "Cr",
// List of column in the data files, must be formatted as:
// "mass_number" : column_index
// Mass number must be enclosed in double qoutes: "49"
// Index must be an integer: 0
// The index starts at 0 for the first column.
"cycle_columns" :
{ "49" : 0,
"50" : 1,
"51" : 2,
"52" : 3,
"53" : 4,
"54" : 5,
"56" : 6
},
// List of fractions n to report in the final data table, formatted as:
// ["denominator", ["numerator 1", "numerator 2", ... , "numerator n"]]
// Mass number for denom. and numer. must be enclosed in double quotes, and
// may not contain any text except for the mass number.
"report_fracs" :
["52", ["50", "53", "54"]],
// Follows the same format as 'report_fracs', however may only contain
// three numerators.
// The denominator and first numerator should refer to the spiked isotopes,
// And the two second numerators should be the reference isotopes.
"reduce_fracs" :
["54", ["50", "52", "53"]],
// reporting of relative isotope composition, following the format:
// {"label 1" : ["numerator 1", "denominator", factor, include_unfiltered],
// "label 2" : ["numerator 2", "denominator", factor, include_unfiltered]}
// The label may be any relevant text e.g. as shown below.
// Numerator and denominator must be an isotope reference in double quotes e.g.
// "53Cr"
// The factor is an integer multiplied to the deviation from the standard.
// e.g. 1000 for delta value and 10000 for epsilon value.
// Include_unfiltered can be either true or false (case sensitive)
// given true statistics for non-outlier rejected data will be produced in
// addition to outlier-rejected statistics. false will only report outlier rejected.
"rel_report":
{
"d53Cr_SRM3112a" : ["53Cr", "52Cr", 1000, true]
},
// Dict of used isotopes:
// "analyte_mass" : [["ref_mass", "interfering_element"], ...]
// A list of used isotopes and their interferences.
// A reference isotope must be referenced for each interfering elements.
// An empty list [] denotes no interference correction.
// The natural or reference ratio between the "analyte_mass" and "ref_mass"
// of the interfering element must be denoted in "nat_ratios"
"used_isotopes" :
{
"50" : [["51", "V"], ["49", "Ti"]],
"52" : [],
"53" : [],
"54" : [["56", "Fe"]]
},
// A complete list of atomic masses of all isotopes used in the data reduction,
// incuding those of interfering elements.
// Labels must be formatted as below with atomic number before element symbol.
"masses" :
{ "50Cr" : 49.946049,
"52Cr" : 51.940512,
"53Cr" : 52.940653,
"54Cr" : 53.938885,
"49Ti" : 48.947871,
"50Ti" : 49.944792,
"51V" : 50.943964,
"50V" : 49.947163,
"54Fe" : 53.939613,
"56Fe" : 55.934941},
// Reference ratios for interfering elements.
// labels must be two isotope labels, with the interfering isotope as the denominator
// and reference isotope as numerator, these must be separated by a forward slash: /
"nat_ratios" :
{ "49Ti/50Ti" : 1.0185185185,
"51V/50V" : 399.0,
"56Fe/54Fe" : 15.698587},
// Spike composition
// Must contain:
// - All isotopes of analyte element listed as mass fraction.
// - A field labeled "amu", the atomic mass of the spike composition
// - All ratios for the spike which can be generated by the report_fracs and reduce_fracs.
"spike" :
{ "name" : "RF_UCPH_Cr",
"50Cr" : 0.5379706252508730,
"52Cr" : 0.0350570627662604,
"53Cr" : 0.0108693041097927,
"54Cr" : 0.4161030078730740
},
// Reference standard composition
// Adheres to the same specifications as the spike compositon, but additionaly contains:
// - An optional "name" field with a standard name, just for reference.
// - Any ratio generated by the "rel_report" field.
"standard" :
{ "name" : "SRM3112a",
"50Cr" : 0.0434502788351757,
"52Cr" : 0.8378541590693160,
"53Cr" : 0.0950600848660935,
"54Cr" : 0.0236354772294146
},
// Parameters for otlier rejection
// - iqr_limit: Multiple of the inter quartile range outside of which a
// point is considered an outlier
// - max_fraction: Maximum fraction of rows rejected.
"outlier_rejection":
{ "iqr_limit" : 1.5,
"max_fraction" : 0.05},
// Initial guess for inversion function
// Mass bias factors an lambda value.
// [alpha_nat, beta_ins, lambda]
"initial_parameters":
[ 0.003,-0.06,0.8 ],
// Info for parsing dates reported in data files
// See strftime.org or python 3 datetime for explanation.
"date":{
"field" : ["PARAMETERS", "Analysis Start Time"],
"report_format" : "%Y-%m-%d %H:%M:%S"},
// Filetype plugin
// This is the import path to a python module able to read the specified
// datatype. These can be installed by putting a copy of the plugin in the
// plugin directory under the pysotope code folder.
// The filetype plugin must expose a single function:
// read_file(file_path: str, file_spec: dict) -> dict
// Where dict contains at a key "CYCLES" with a list of each analytical cycle
// needed for data reduction.
"filetype_plugin":
"pysotope.plugins.filetype_xls",
// Data file specification.
// Specific for the provided xls reader, as it outputs all sheets as a single
// csv file. Configured to read data files from the IonVantage software suite.
"file_spec":
{
// This is a parameter lookup definition
// I.e. returns a list of key value pairs
"PARAMETERS": [ // Label in output dict
"params", // param lookup identifier
{
// Search string data collection starts at the first
// match if search_string.
// In this case it is the name of the excel sheet.
"start_string": "TUNING PARAMETERS",
// The algorightm searches for this value in the csv
// and returns the value in the cell left of the match.
// The params file has a colon (:) at the end of these labels
// it is skipped in the definition.
"labels": [ // list of lookup labels
"Method Name",
"Analysis Start Time",
"Cycles per Block",
"Number of Blocks",
"No. of Sequences",
"Sample/Vial Number",
"Sample ID",
"User name",
"Serial Number",
"XL Doc Name",
"Temperature (°C)",
"Temp Error (°C)",
"Current (Amps)"]
}
],
// Table lookup
"CYCLES": [ // Label for output dict
"table", // table lookup identifier
{ // Dictionary defining the data lookup
// First row lookup string
"start_string": "Cycle,Time",
// After last column lookup, skips any
// matches prior to start string
"end_string": "\nBLOCK Data",
"first_col": 2, // First column to include (starts at 0)
"n_columns": 7, // Number of columns to include
// Number of rows to skip (value of 0 includes the row
// matced by the start_string)
"skip_rows": 1
},
{
"search_string": ",Function:", // Search string to match for label row
"first_col": 2, // Number of columns to include
"n_columns": 7 // Number of columns to include
}
],
// Another table lookup
"MONITORING": [
"table",
{
"start_string": "FAC Temp",
"end_string": "TUNING PARAMETERS",
"first_col": 7,
"n_columns": 10,
"skip_rows": 1
},
{
"search_string": "FAC Temp",
"first_col": 7,
"n_columns": 10
}
]
}
}


Your order for the selected Deal has been confirmed.
Edit Detail
Color Schemes


cdk
A CLI for AWS Cloud Development Kit (CDK).
More information: home page
- List the stacks in the app:
cdk ls
- Synthesize and print the CloudFormation template for the specified stack(s):
cdk synth stack_name
- Deploy a space-separated list of stacks:
cdk deploy stack_name
- Destroy a space-separated list of stacks:
cdk destroy stack_name
- Compare the specified stack with the deployed stack or a local CloudFormation template:
cdk diff stack_name
- Create a new CDK project in the current directory for a specified language:
cdk init -l language_name
- Open the CDK API reference in your browser:
cdk docs


[gecode-users] use of the folder Gecode.lib
manel askri
askri.manel1 at gmail.com
Tue Jan 7 15:38:01 CET 2014
Hi all
i implemented my project with gecode 4.0.0 on windows 7 32 bits with VS2010
so when i tried to reuse my project on windows 7 64 bits ( i installed
gecode 4.2.1 with VS2012) but i have got this error : can't open the file
"GecodeSupport-4-2-1-D-x86.lib" ????????
So can You help me please with that please
Thank YOU verry much
MANEL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gecode.org/pipermail/users/attachments/20140107/80f628af/attachment.html>
More information about the users
mailing list


Work Site
Recommendation, 2007 April 15
Editors:
Kim Bartkus, HR-XML Consortium, Inc.
Contributors:
Members of the Cross-Process Object work group
Members of the Recruiting & Staffing work group
Members of the Screening work group
Copyright © 2007 HR-XML Consortium, Inc.
Abstract
The document defines the work site and worksite environment information, which may be used for a variety of business processes such as a temporary staffing order or posting a position.
Table of Contents
1.2 Relationship to Business Processes
3 Implementation Considerations
4 Appendix A - Revision History
5 Appendix B - Related Documents. 10
Update the WorkSite and WorkSiteEnvironment schemas to use existing CPO’s, convert to global complex types, remove locally scoped prefixes, and combine the two schemas. The functionality of the schemas will not change. However, the schemas will not be backwards compatible with previous work site versions.
Details of the modifications include:
§ Combine WorkSiteEnvironment schema into WorkSite schema file. This will eliminate the need for two similar schema files.
§ Convert WorkSite and WorkSiteEnvironment schemas to a complex type element.
Recruiting - recruiters use job and position data for hiring purposes. Postings may be created for jobs or positions.
Temporary Staffing - work areas are manned to meet production needs on the basis of the jobs that need to be done.
The WorkSite and WorkSiteEnvironment Schemas are cross-process objects that will be used within other HR-XML Schemas. They will contain:
· Information pertaining to the site or location of a job or position.
· Information pertaining to the environment of a job or position.
General Considerations
Physical Considerations
Safety Equipment
Dress Code
· Syntax must be self-documenting
· Deployable in existing HR-XML Schemas
· Easy to understand and use
· Use approved CPO standards
· Designed for easy reuse
· Must take into consideration global requirements
|
Component Name [Global types listed at the end of the table.] |
ContentModel* |
Definition |
|
/ |
WorkSiteType - (1/1)
WorkSiteName
- xsd:string - S
(0/1) |
Contains common Work Site information to be used within other HR-XML Schemas. |
|
/
WorkSite/ |
- xsd:string - S (0/1) |
Contains a name or brief description of the worksite. For example, Office, Warehouse, Fieldwork |
|
/
WorkSite/ |
- EntityIdType - S (0/1) |
Unique Id to define the worksite |
|
/
WorkSite/ |
xsd:extension base: LanguageDependentTextType |
Describes any information not previously defined. For example, when a specific postal address isn't provided, then a brief description may be defined here, such as: Report to 4th floor mailroom. |
|
/ WorkSite/
Details/ |
- xsd:string - |
Further describes the type or purpose of the worksite details. For example, Report to first day, Report to permanently, Virtual worksite, Report for training. |
|
/
WorkSite/ |
- PostalAddressType - S (0/1) |
CPO's PostalAddress 1.2 version. Defines the mailing address of the worksite. |
|
/
WorkSite/ |
- LanguageDependentTextType - S (0/*) |
Provides directions to the site. These could include directions by bus, air, car, walking, etc. |
|
/
WorkSite/ |
- LanguageDependentTextType - S (0/*) |
Provides instructions for parking, including fees. E.g. parking is available on upper level of parking structure. Fees are $70 per month. |
|
/
WorkSite/ |
- WorkSiteEnvironmentType - S (0/*) |
Contains common Work Site Environment information, including description, physical considerations, dress code, and safety equipment. |
|
Component Name [Global types listed at the end of the table.] |
ContentModel* (minOccurs/maxOccurs) |
Definition |
|
|
- WorkSiteEnvironmentType - S (0/*) |
Contains common Work Site Environment information, including description, physical considerations, dress code, and safety equipment. |
|
WorkSiteEnvironment/ |
- xsd:string - S (0/1) |
Contains a name or brief description of the worksite environment. For example, Laboratory, Warehouse, Fieldwork. |
|
WorkSiteEnvironment/ |
- EntityIdType - S (0/1) |
Unique Id to define the worksite environment. |
|
WorkSiteEnvironment/ |
- EntityIdType - S (0/1) |
Unique Id to define the worksite. |
|
WorkSiteEnvironment/ |
xsd:extension base: xsd:string |
Describes any work site environment information not previously defined. For example, square footage of work area. |
|
WorkSiteEnvironment/ |
General
- xsd:string - S
(0/*) |
Describes any special considerations for the environment. For example, Safety Equipment and Dress Code. |
|
WorkSiteEnvironment/
Considerations/ |
- xsd:string - S (0/*) |
Additional information on the work environment, which may be useful to both the Staffing Supplier and Human Resource. For example, lunch facility, smoke free. |
|
WorkSiteEnvironment/
Considerations/ |
- xsd:string - S (0/*) |
Description of physical aspects of the environment, which may influence the Staffing Supplier or the Human Resource when the position or assignment is offered. For example, wheelchair accessible, no elevator, climate control, dust level, bio-hazardous material. |
|
WorkSiteEnvironment/
Considerations/ |
SafetyEquipmentType - S (0/*)
xsd:extension base: xsd:string |
Defines any safety equipment required for the work site environment. For example, hard Hat, safety glasses, steel-toed shoes. |
|
/
[SafetyEquipmentType] / |
- xsd:boolean - |
Specifies whether the safety equipment is provided by the organization. For example, safety glasses, uniforms, etc. |
|
WorkSiteEnvironment/
Considerations/ |
DressCodeType - S (0/*)
xsd:extension base: DressCodeContentTypes |
Defines any dress code requirements for the environment. For example, tie, suit, business casual. |
|
/
[DressCodeType] / |
- xsd:boolean - |
Specifies whether the safety equipment is provided by the organization. For example, safety glasses, uniforms, etc. |
|
Global simpleTypes: |
|
|
|
/ |
- [Union]: DressCodeContentType,xStringPatternExtensionType |
Globally scoped data type. See element or attribute declaration for definition. |
|
/ |
xsd:restriction base: xsd:string [Enumerations]: Professional, Business, Business Casual, Uniform |
Globally scoped data type. See element or attribute declaration for definition. |
All elements in the schemas are optional; this provides the maximum flexibility for reuse.
WorkSiteEnvironmentType may be used independent of WorkSite in a variety of transactions. An example might be the addition of a new environment, i.e. an additional shop floor or new laboratory. Pricing, risk assessment, and recruiting might be different for a person working in the office versus the shop floor.
Elements defined with the xml:lang attribute allow for multiple occurrences. This SHOULD only be used for multiple language support.
|
Date |
Description |
|
2002-Sep-24 |
Draft |
|
2002-Oct-31 |
Updated graphics, definition tables |
|
2002-Dec-12 |
Removed locally scoped prefixes, combined schemas into one file, restructured Consideration into elements. |
|
2002-Dec-13 |
Changed Considerations child elements, ParkingInstructions, and TravelDirections to multiple occurrences. Added UserArea, Added WorkSiteId to WorkSiteEnvironment. Added attribute to DressCode. |
|
2003-Jan-08 |
Added language attribute to Description, Details, and Considerations. |
|
2003-Jan-23 |
Made SafetyEquipment and DressCode complex types. Added enumeration list to DressCode. Reordered elements with Id’s near top of structure. |
|
2003-Feb-26 |
Approved recommendation by HR-XML Consortium. The default and targetNamespaces of all HR-XML schemas have been standardized. This recommendation is available as part of the HR-XML 2_4 architecture. |
|
2007-Apr-15 |
Approved by Consortium |
|
Link |
|
|
Entity Identifiers |
http://ns.hr-xml.org/2_5/HR-XML-2_5/CPO/EntityIdentifiers.html |
|
Postal Address |
The following example describes a research facility. A laboratory environment is included within the work site. However, the laboratory information may also be transmitted without the work site wrapper information.
<WorkSite>
<WorkSiteName>Research Facility</WorkSiteName>
<WorkSiteId idOwner="Staffing Company">
<IdValue>RF21</IdValue>
</WorkSiteId>
<Details type="Report to Permanently">2nd floor of Research Wing</Details>
<PostalAddress>
<CountryCode>US</CountryCode>
<PostalCode>60187</PostalCode>
<Region>IL</Region>
<Municipality>Wheaton</Municipality>
<DeliveryAddress>
<AddressLine>455</AddressLine>
<StreetName>Meadow Parkway</StreetName>
</DeliveryAddress>
</PostalAddress>
<TravelDirections>Take Interstate 405 to Interstate 5. Take exit 6 south. Go to 2nd traffic light and make a left turn onto Meadow Parkway. First building on right side.</TravelDirections>
<ParkingInstructions>Park in lot south of building.</ParkingInstructions>
<WorkSiteEnvironment>
<EnvironmentName>Laboratory</EnvironmentName>
<EnvironmentId idOwner="Staffing Company">
<IdValue>LA21</IdValue>
</EnvironmentId>
<Description>Clean Room</Description>
<Considerations>
<General>Lunch Room Facilities</General>
<Physical>Wheelchair Accessible</Physical>
<SafetyEquipment suppliedByOrganization="true">Protective clothing required in Clean Room</SafetyEquipment>
<DressCode suppliedByOrganization="false">Business Casual</DressCode>
</Considerations>
</WorkSiteEnvironment>
</WorkSite>


The Fast and the Furious (2001) Reviewed by Eugene Novikov http://www.ultimate-movie.com/
"I live my life a quarter-mile at a time."
Starring Paul Walker, Vin Diesel, Michelle Rodriguez, Jordana Brewster. Directed by Gary Troudsdale and Kirk Wise. Rated PG-13.
How do I review a movie like The Fast and the Furious? It accomplishes exactly what it sets out to do, which is provide realistic, exciting car races, chases and crashes. It does very little more. This presents a dilemma: do I recommend the film on the basis of that accomplishment, or do I give it a "thumbs down" because it accomplishes nothing else? I don't know, so I'm wimping out and going borderline.
The Fast and the Furious claims to take us inside the underworld of illegal street racing. Brian (Paul Walker), is a police officer assigned to expose the racers and the smuggling ring they might be running (this is the first movie I've seen where people actually smuggle DVD players; I'd like to see it in 20 years). Vin Diesel, who came out of nowhere with Boiler Room last year, plays Dominic, a revered, respected street lord and racing champion.
Brian has trouble getting in, at first -- Dominic's cronies start a fight, and he makes a bad impression on the big guy's sister -- but he enters a race by betting his new, loaded racecar, loses it, and gains Dominic's favor. What follows is a predictable battle of loyalties; will Brian betray Dominic by turning him in, or will he become a criminal for the sake of his new friend? We know, of course, that the movie will somehow find a way to have its cake and eat it, too.
Director Rob Cohen, the Harvard graduate responsible for The Skulls, last year's worst movie, has made what's really a niche film (though the current box-office shows that this is one hell of a niche). Since it has made so much money, I won't say that it will only be of interest to certain people, but it should particularly appeal to car lovers and those who watch NASCAR in their spare time (I never understood what was so appealing about watching cars go around in circles).
Make no mistake, The Fast and the Furious really does do some neat things with cars. The movie has real stunts, as opposed to the computer generated crashes in Renny Harlin's Driven, and the chase and crash scenes are extraordinarily good-looking. There's little actual suspense because there's zero interest in the plot once you get beyond the dubious appeal of the actors themselves, but the racing -- whee, look how fast they're going! -- is second to none.
If the filmmakers didn't intend to give up on the narrative, which it looks like they did, their project could have benefited from a better leading man; Paul Walker is such a non-actor that his dull, idiotic stare is almost funny to watch. Vin Diesel is a terrific actor in the right role, but this movie concentrates too much on his noble side and doesn't let him do what he does best, which is be a badass.
And that's about it. If that doesn't interest you, don't pay to see this movie. If you do, seek out the best multiplex in town; I don't understand the argument that The Fast and the Furious should be seen at a drive-in with a bad sound system and an obstructed view, but maybe I'm just too young. This is a movie to be seen and occasionally heard. If you like cars, that is.
Grade: B-
Up Next: A.I. Artificial Intelligence
©2001 Eugene Novikov
========== X-RAMR-ID: 28924 X-Language: en X-RT-ReviewID: 237096 X-RT-TitleID: 1108372 X-RT-SourceID: 610 X-RT-AuthorID: 1577 X-RT-RatingText: B-
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


HMSScan Demo
Permissions
Check Permissions
Request single permission
Request permissions
Default View Mode
Select image for image scan
Select Image
Analyse Frame
Analyse In Asyn
Decode with Bitmap
Detect For HMS Dector
Custom View Page
Multi Processor Page
Bitmap View Page
Build Bitmap


Find all Developers programs, student opportunities & other resources at one place.
| S.no | Name | About | Link |
|---|---|---|---|
| 1 | Mitacs Globalink Research Internship | Mitacs Globalink Research Internship is a competitive initiative for international undergraduates from various countries including India . It's a 12 week research internship under the supervision of Canadian university faculty members in a variety of academic disciplines | Link |
| 2 | ETH Student Summer Research Fellowship | This program offers undergraduate and graduate students the opportunity to gain their first research experience in an area of their choice. | Link |
| 3 | CERN Summer Student Program | Open for currently studying for a Bachelor or Master degree in Physics, Engineering, Computer Science or Mathematics. | Link |
| 4 | Princeton Summer Research Programs | Open for Princeton students, as well as students from other colleges and universities, with the opportunity to obtain hands-on research experience in specific fields. | Link |
| 5 | Allen Institute for AI | Undergraduate or graduate students in AI-related fields are invited to apply for full-time research internships. | Link |
| 6 | Chemers Neustein Summer Undergraduate Research Fellowship Program | Program provides a unique opportunity for undergraduates to conduct laboratory research at The Rockefeller University. | Link |
| 7 | IARU Global Internship Program | To gain valuable international work experience by conducting research and projects | Link |
| 8 | HBS GLOBAL RESEARCH Global Internship | This is an Global Internship provided by Harvard Business School, Harvard University, USA. | Link |
| 9 | DAAD Working Internships in Science and Engineering (WISE) | The programme targets Indian students pursuing a degree in the fields of science and engineering who wish to do a research internship at a publicly-funded German higher education institution | Link |
| S.no | Name | About | Link |
|---|---|---|---|
| 1 | Summer Research Fellowship by IISc, INS | This is a Science academics summer-research-fellowship program. | Link |
| 2 | Summer Internships @ IIIT-D | The summer internship program offered by IIIT-D for students in research. | Link |
| 3 | IUSSTF-Viterbi Program | This program provides opportunities to Indian students to undertake Virtual research internship at the Viterbi School of Engineering in the summer | Link |
| 4 | IBM Research Summer Internship Program | This is a Summer Internship Program at IBM Research Lab, India. | Link |
| 5 | IITB Research Internship Award | The selected interns are required to work full time for four to six months on the project at IIT Bombay and will be given a fixed stipend | Link |
| 6 | SPARK Summer Internship by IIT Roorkee | IIT Roorkee's institute-funded SPARK fellowships for summer internships with a weekly stipend. | Link |


Methods of developing linear time series modelling. Methods are given for loglikelihood computation, forecasting and simulation.
| Version: | 1.4.6 |
| Depends: | R (≥ 2.1.0) |
| Published: | 2015-12-21 |
| Author: | A.I. McLeod, Hao Yu, Zinovi Krougly |
| Maintainer: | A.I. McLeod <aimcleod at uwo.ca> |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| URL: | http://www.stats.uwo.ca/faculty/aim |
| NeedsCompilation: | yes |
| Classification/ACM: | G.3, G.4, I.5.1 |
| Classification/MSC: | 62M10, 91B84 |
| Citation: | ltsa citation info |
| Materials: | NEWS |
| In views: | TimeSeries |
| CRAN checks: | ltsa results |
| Reference manual: | ltsa.pdf |
| Package source: | ltsa_1.4.6.tar.gz |
| Windows binaries: | r-devel: ltsa_1.4.6.zip, r-release: ltsa_1.4.6.zip, r-oldrel: ltsa_1.4.6.zip |
| OS X binaries: | r-release: ltsa_1.4.6.tgz, r-oldrel: ltsa_1.4.6.tgz |
| Old sources: | ltsa archive |
| Reverse depends: | arfima, FitAR |
| Reverse imports: | artfima, beyondWhittle, FitAR, sarima, tscount |
| Reverse suggests: | HKprocess |
Please use the canonical form https://CRAN.R-project.org/package=ltsa to link to this page.


Home
About Me
Images of My Cats
This page is about me, what a surprise..
Well this page is supposed to tell you all about me, so here we go.


AnimagicLe service facile de location d'animaux fantastique !
En location
ID
Type
Nom
Description
Cout
Image
Date de Naissance
Supprimer
Ajouter un animal
Supprimer un animal
Venez dépenser vos sous !
Louer un animal fantastique de votre choix a la portée d'un click.
Licornet, dragonet, pour vos petit bigorneaux on a tout ce qu'il vous faut !
Project Title
Use this area of the page to describe your project. The icon above is part of a free icon set by
Flat Icons. On their website, you can download their free set with 16 icons, or you can purchase the entire set with 146 icons for only $12!
Use this area of the page to describe your project. The icon above is part of a free icon set by
Flat Icons. On their website, you can download their free set with 16 icons, or you can purchase the entire set with 146 icons for only $12!
Use this area of the page to describe your project. The icon above is part of a free icon set by
Flat Icons. On their website, you can download their free set with 16 icons, or you can purchase the entire set with 146 icons for only $12!
Use this area of the page to describe your project. The icon above is part of a free icon set by
Flat Icons. On their website, you can download their free set with 16 icons, or you can purchase the entire set with 146 icons for only $12!
Use this area of the page to describe your project. The icon above is part of a free icon set by
Flat Icons. On their website, you can download their free set with 16 icons, or you can purchase the entire set with 146 icons for only $12!
Use this area of the page to describe your project. The icon above is part of a free icon set by
Flat Icons. On their website, you can download their free set with 16 icons, or you can purchase the entire set with 146 icons for only $12!


websites
front-end
view more
pure css
front-end
view more
web apps
full-stack
view more
daily ui
ui/ux design
view more
websites
front-end
view more
pure css
front-end
view more
web apps
full-stack
view more
daily ui
ui/ux design
view more
close X


Hello and welcome to Kat's Games. This is where I plan to code and work on various games. There is only a WIP up (or coming up very soon) but I hope you enjoy looking around my site.
The first project I will be working on is an anthro doll game. I've been frustrated by the lack of good anthro doll games on the internet, so I figured I'd try my hand at my own. So far I've drawn up two body types, which I believe will allow the player to create a larger variety of characters. The clothes are semi-modern, with some inspired by fantasy.


public abstract class Board
extends java.lang.Object
| Constructor and Description |
|---|
Board() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.Object |
clone()
Abstract method for doing a deep copy of the current Board.
|
int |
countCellsAlive()
A method for counting the current live cells.
|
byte[][] |
countNeighbours()
A method that creates a 2D-array the size of the cell grid for counting neighbours.
|
byte[][] |
countNeighboursConcurrent(byte[][] neighbours,
int curIndex,
int rowsPerWorker)
A method that iterates through and counts neighbours for the current cell grid concurrently.
|
void |
decreaseCellsAlive()
Method that decreases cellsAlive by 1.
|
void |
discardPattern()
Method for discarding a loaded pattern.
|
void |
finalizeBoard()
Method that places the loaded pattern permanently into the current cell grid, and sets
loadedPattern and loadedPatternBoundingBox to null and does a new count of active cells.
|
int[] |
getBoundingBox()
A method that returns the bounding box of the current cell grid.
|
int |
getCellsAlive()
Method that returns the current cellsAlive count.
|
abstract byte |
getCellState(int x,
int y)
Abstract method for returning a byte value representing the state of a certain cell with coordinates (x,y).
|
abstract int |
getHeight()
Abstract method for returning an integer representing the height of the current cellGrid.
|
byte[][] |
getLoadedPattern()
Method that returns the current loaded pattern.
|
int[] |
getLoadedPatternBoundingBox()
Method that returns the bounding box of the current loaded pattern.
|
int |
getSumXYCoordinates()
A method that returns the sum of all active cells x and y coordinates.
|
abstract int |
getWidth()
Abstract method for returning an integer representing the width of the current cellGrid.
|
void |
increaseCellsAlive()
Method that increases cellsAlive by 1.
|
void |
movePattern(java.lang.String direction)
A method for moving a loaded pattern around in the cell grid.
|
void |
resetBoard()
A method for making every cell in the cell grid inactive.
|
void |
resetCellsAlive()
Method to set the counter of active cells to zero.
|
void |
rotate(boolean clockwise)
Method for rotating the loaded pattern within the cell grid.
|
void |
setBoard(byte[][] newGrid)
A method for setting the cell grid from an existing 2D-array.
|
void |
setBoardConcurrent(byte[][] newGrid,
int curIndex,
int rowsPerWorker)
A method for setting the cell grid from an existing 2D-array concurrently.
|
void |
setBoardFromRLE(byte[][] importedBoard)
A method that sets loadedPattern and loadedPatternBoundingBox from a loaded pattern.
|
abstract void |
setCellState(int x,
int y,
byte state)
Abstract method for setting the state of a cell with coordinates (x,y).
|
java.lang.String |
toString()
Method that returns a string representation of the current cell grid, placing each cell in a long
string of 1s and 0s.
|
byte[][] |
trim()
A method that returns the smallest grid containing all active cells from the current cell grid.
|
public byte[][] countNeighbours()
getCellState(int, int)
,
setNeighbours(byte[][], int, int)
public byte[][] countNeighboursConcurrent(byte[][] neighbours, int curIndex, int rowsPerWorker)
neighbours
- 2D-byte array where new neighbours are set.curIndex
- The current thread's index.rowsPerWorker
- The number of rows each thread should consider.getCellState(int, int)
,
setNeighbours(byte[][], int, int)
public void resetBoard()
cellsAlive
,
setCellState(int, int, byte)
,
discardPattern()
public void setBoard(byte[][] newGrid)
newGrid
- The grid to be placed in the current cell grid.setCellState(int, int, byte)
public void setBoardConcurrent(byte[][] newGrid, int curIndex, int rowsPerWorker)
newGrid
- The grid to be placed in the current cell grid.curIndex
- The current thread's index.rowsPerWorker
- The number of rows each thread should operate on.setCellState(int, int, byte)
public int countCellsAlive()
getCellState(int, int)
public int getSumXYCoordinates()
getCellState(int, int)
public int[] getBoundingBox()
getCellState(int, int)
public byte[][] trim()
getCellState(int, int)
,
getBoundingBox()
public void setBoardFromRLE(byte[][] importedBoard)
importedBoard
- The grid that has been loaded, and is to be set.loadedPattern
,
loadedPatternBoundingBox
,
getBoundingBox(byte[][])
public void movePattern(java.lang.String direction)
direction
- The direction the pattern should be moved.loadedPattern
,
loadedPatternBoundingBox
,
DynamicBoard.expandHeightUp(int)
,
DynamicBoard.expandHeightDown(int)
,
DynamicBoard.expandWidthRight(int)
,
DynamicBoard.expandWidthLeft(int)
,
DynamicBoard.setHasExpandedLeftTrue()
,
DynamicBoard.setHasExpandedUpTrue()
public void rotate(boolean clockwise)
clockwise
- A boolean describing whether of not the pattern should be rotated clockwise.loadedPattern
,
loadedPatternBoundingBox
,
transposePattern(byte[][])
,
reverseRows(byte[][])
,
setNewBoundingBox()
public void finalizeBoard()
public void discardPattern()
loadedPattern
,
loadedPatternBoundingBox
public int[] getLoadedPatternBoundingBox()
loadedPatternBoundingBox
public byte[][] getLoadedPattern()
loadedPattern
public int getCellsAlive()
cellsAlive
public void resetCellsAlive()
cellsAlive
public void increaseCellsAlive()
cellsAlive
public void decreaseCellsAlive()
cellsAlive
public java.lang.String toString()
toString
in class java.lang.Object
getCellState(int, int)
,
Object.toString()
public abstract int getWidth()
public abstract int getHeight()
public abstract byte getCellState(int x, int y)
x
- The x coordinate.y
- The y coordinate.public abstract void setCellState(int x, int y, byte state)
x
- The x coordinate.y
- The y coordinate.state
- The state the cell should be set to.public abstract java.lang.Object clone()
clone
in class java.lang.Object


Posted on January 8, 2020
| Back to Showreel
Learning to Zoom-in via Learning to Zoom-out
This paper tackles the now-standard problem of “enhancing” an image; i.e. being able to look into any region of an image in greater detail. The trick here is that they utilise the idea of learning to zoom out to also learn to zoom in. The results are very good!


Test card
Save
Cancel
Loading wallabag API...
Delete this article
Deleting removes article from wallabag permanently