Simon Giesecke 
							
						 
					 
					
						
						
							
						
						929d295e01 
					 
					
						
						
							
							Problem: test_timers not yet using unity  
						
						... 
						
						
						
						Solution: migrate to unity 
						
						
					 
					
						2018-08-23 18:00:51 +02:00 
						 
				 
			
				
					
						
							
							
								Simon Giesecke 
							
						 
					 
					
						
						
							
						
						779d120fa3 
					 
					
						
						
							
							Problem: tests do not follow naming style  
						
						... 
						
						
						
						Solution: apply naming style 
						
						
					 
					
						2018-05-27 13:24:08 +02:00 
						 
				 
			
				
					
						
							
							
								Luca Boccassi 
							
						 
					 
					
						
						
							
						
						9b1ce59719 
					 
					
						
						
							
							Problem: DRAFT build broken with GCC 4.7  
						
						... 
						
						
						
						Solution: change variable type in test_timers to match public API 
						
						
					 
					
						2018-02-10 17:08:01 +00:00 
						 
				 
			
				
					
						
							
							
								sigiesec 
							
						 
					 
					
						
						
							
						
						88d8c768d1 
					 
					
						
						
							
							Problem: test_timers frequently fails on travis-ci  
						
						... 
						
						
						
						Solution: relaxed test assertions, based on the actual time passed,
instead of assuming that this equals to the time slept 
						
						
					 
					
						2018-02-09 09:55:40 +01:00 
						 
				 
			
				
					
						
							
							
								sigiesec 
							
						 
					 
					
						
						
							
						
						41f459e1dc 
					 
					
						
						
							
							Problem: formatting inconsistent  
						
						... 
						
						
						
						Solution: applied clang-format 
						
						
					 
					
						2018-02-02 15:47:43 +01:00 
						 
				 
			
				
					
						
							
							
								Luca Boccassi 
							
						 
					 
					
						
						
							
						
						bd2ff7fbf8 
					 
					
						
						
							
							Problem: DRAFT build broken with old GCC due to missing SIZE_MAX  
						
						... 
						
						
						
						Solution: define __STDC_LIMIT_MACROS in test_timers.cpp before
including testutil.hpp so that the definitions are included 
						
						
					 
					
						2017-10-17 14:13:28 +01:00 
						 
				 
			
				
					
						
							
							
								sigiesec 
							
						 
					 
					
						
						
							
						
						7eebed56a5 
					 
					
						
						
							
							Problem: no test for zmq_timers_timeout without any active timers  
						
						... 
						
						
						
						Solution: add test 
						
						
					 
					
						2017-08-23 10:31:44 +02:00 
						 
				 
			
				
					
						
							
							
								sigiesec 
							
						 
					 
					
						
						
							
						
						6147e45a07 
					 
					
						
						
							
							Problem: missing tests for zmq_timers_* corner cases, missing handling of such corner cases, code duplication, missing assertions in test code  
						
						... 
						
						
						
						Solution: add tests, add checks to timers_t, add match_by_id functor, add assertions 
						
						
					 
					
						2017-08-23 09:41:34 +02:00 
						 
				 
			
				
					
						
							
							
								sigiesec 
							
						 
					 
					
						
						
							
						
						d072d57e2e 
					 
					
						
						
							
							Problem: no tests for zmq_timer_* with NULL timers argument  
						
						... 
						
						
						
						Solution: added tests 
						
						
					 
					
						2017-08-23 09:41:22 +02:00 
						 
				 
			
				
					
						
							
							
								sigiesec 
							
						 
					 
					
						
						
							
						
						8b263d5820 
					 
					
						
						
							
							Problem: test_timers.cpp sleep_ duplicates msleep from testutil  
						
						... 
						
						
						
						Solution: replace sleep_ my msleep 
						
						
					 
					
						2017-08-23 09:05:10 +02:00 
						 
				 
			
				
					
						
							
							
								Doron Somech 
							
						 
					 
					
						
						
							
						
						be741f604a 
					 
					
						
						
							
							problem: timers test is flapping on windows  
						
						
						
						
					 
					
						2016-05-05 14:24:47 +03:00 
						 
				 
			
				
					
						
							
							
								Pieter Hintjens 
							
						 
					 
					
						
						
							
						
						bbcc79d188 
					 
					
						
						
							
							Problem: tests don't build on Windows  
						
						... 
						
						
						
						There were numerous small issues with test cases:
- some lacked the right source file header
- some were not portable at all
- some were using internal libzmq APIs (headers)
Solution: fixed and cleaned up. 
						
						
					 
					
						2016-02-12 15:48:37 +01:00 
						 
				 
			
				
					
						
							
							
								Pieter Hintjens 
							
						 
					 
					
						
						
							
						
						a1f51b695f 
					 
					
						
						
							
							Problem: unclear rules for passing null arguments  
						
						... 
						
						
						
						Solution: be more explicit in the code, and in the zmq_recv man
page (which is the most unobvious case). Assert if length is not
zero and buffer is nonetheless null. 
						
						
					 
					
						2016-02-06 14:13:13 +01:00 
						 
				 
			
				
					
						
							
							
								Michael 
							
						 
					 
					
						
						
							
						
						7270d4de65 
					 
					
						
						
							
							windows.hpp needs to be included before zmq.h  
						
						... 
						
						
						
						windows.hpp must be included first due to increases _WIN32_WINNT version 
						
						
					 
					
						2016-02-06 23:31:56 +11:00 
						 
				 
			
				
					
						
							
							
								Constantin Rack 
							
						 
					 
					
						
						
							
						
						7da3ee138e 
					 
					
						
						
							
							Problem: deprecated zmq_utils.h is still included  
						
						... 
						
						
						
						Solution: remove all remaining references to `zmq_utils.h` 
						
						
					 
					
						2016-02-01 11:34:36 +01:00 
						 
				 
			
				
					
						
							
							
								Jean-Christophe Fillion-Robin 
							
						 
					 
					
						
						
							
						
						f329252dcb 
					 
					
						
						
							
							Style: Fix unused parameter compilation warnings  
						
						... 
						
						
						
						This commit addresses the following warnings reported on gcc 5.2.1. In
the future, this will help reduce the "noise" and help catch warnings
revealing a serious problem.
8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---
/path/to/libzmq/src/options.cpp:1048:36: warning: unused parameter ‘option_’ [-Wunused-parameter]
 bool zmq::options_t::is_valid (int option_) const
                                    ^
/path/to/libzmq/src/plain_client.cpp:146:30: warning: unused parameter ‘cmd_data’ [-Wunused-parameter]
         const unsigned char *cmd_data, size_t data_size)
                              ^
/path/to/libzmq/src/plain_client.cpp:146:30: warning: unused parameter ‘cmd_data’ [-Wunused-parameter]
         const unsigned char *cmd_data, size_t data_size)
                              ^
/path/to/libzmq/src/socket_base.cpp:1445:44: warning: unused parameter ‘group_’ [-Wunused-parameter]
 int zmq::socket_base_t::xjoin (const char *group_)
                                            ^
/path/to/libzmq/src/socket_base.cpp:1451:45: warning: unused parameter ‘group_’ [-Wunused-parameter]
 int zmq::socket_base_t::xleave (const char *group_)
                                             ^
/path/to/libzmq/src/radio.cpp:145:33: warning: unused parameter ‘msg_’ [-Wunused-parameter]
 int zmq::radio_t::xrecv (msg_t *msg_)
                                 ^
/path/to/libzmq/src/dish.cpp:164:32: warning: unused parameter ‘msg_’ [-Wunused-parameter]
 int zmq::dish_t::xsend (msg_t *msg_)
                                ^
/path/to/libzmq/tests/test_msg_ffn.cpp:32:16: warning: unused parameter ‘data’ [-Wunused-parameter]
 void ffn(void *data, void *hint) {
                ^
/path/to/libzmq/tests/test_timers.cpp:50:19: warning: unused parameter ‘timer_id’ [-Wunused-parameter]
 void handler (int timer_id, void* arg)
                   ^
8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<--- 
						
						
					 
					
						2016-01-30 02:56:03 -05:00 
						 
				 
			
				
					
						
							
							
								Constantin Rack 
							
						 
					 
					
						
						
							
						
						a539b0c6e8 
					 
					
						
						
							
							Problem: copyright year is still 2015  
						
						... 
						
						
						
						Solution: update to 2016 
						
						
					 
					
						2016-01-28 15:07:31 +01:00 
						 
				 
			
				
					
						
							
							
								Anonymous Maarten 
							
						 
					 
					
						
						
							
						
						be36423bc2 
					 
					
						
						
							
							Problem: On Windows CI, the included file Windows.hpp could not be  
						
						... 
						
						
						
						found.
Solution: Include the source directory
Problem: _sleep is a library function of Windows.
Solution: use sleep_ 
						
						
					 
					
						2016-01-14 02:53:24 +01:00 
						 
				 
			
				
					
						
							
							
								Pieter Hintjens 
							
						 
					 
					
						
						
							
						
						f8b9ca5f42 
					 
					
						
						
							
							Problem: zmq timers API is not CLASS conformant  
						
						... 
						
						
						
						If we're going to add CLASS-like APIs we should use the proper
syntax; specifically 'destroy' instead of 'close', which is a
hangover from the 'ZeroMQ is like sockets' model we're slowly
moving away from.
Solution: change zmq_timers_close(p) to zmq_timers_destroy(&p) 
						
						
					 
					
						2015-12-21 10:56:37 +01:00 
						 
				 
			
				
					
						
							
							
								somdoron 
							
						 
					 
					
						
						
							
						
						aadaf99011 
					 
					
						
						
							
							add timers API to libzmq  
						
						
						
						
					 
					
						2015-12-18 12:23:22 +02:00