Kludge Tracker: Gnuradio - v3.4.0-101-g7e2b45b

Parent Directory (gnuradio/gnuradio-core/src)

Kludge Summary of gnuradio/gnuradio-core/src/lib

Total Kludges 63
Total Subdirs 7

All Directories within gnuradio/gnuradio-core/src/lib

All Files within gnuradio/gnuradio-core/src/lib

Kludge Snippets in gnuradio/gnuradio-core/src/lib

gnuradio/gnuradio-core/src/lib/filter/gr_cpu_powerpc.cc

Category FIXME
Committer eb
Commit ID 2c8ea58e4d76f54c98d71d3fcc64bc29da490908
54        
55        bool
56        gr_cpu::has_altivec ()
57        {
58          return true;		// FIXME assume we've always got it
59        }
60        
61        bool
62        gr_cpu::has_armv7_a ()
				

gnuradio/gnuradio-core/src/lib/filter/gr_fir_sysconfig_x86.cc

Category FIXME
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
323        #if 0
324        gr_fir_sss *
325        gr_fir_sysconfig_x86::create_gr_fir_sss (const std::vector<short> &taps)
326        {
327          // FIXME -- probably want to figure out best answer for Athlon and code
328          // add code to select it here...
329        
330          if (gr_cpu::has_sse2 ()){
331            cerr << ">>> gr_fir_sss: using SSE2\n";
				

gnuradio/gnuradio-core/src/lib/filter/qa_gr_fir_ccc.cc

Category Kludge
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
21         */
22        
23        /*
24         * FIXME.  This code is virtually identical to qa_gr_fir_?CC.cc
25         *   Kludge up some kind of macro to handle the minor differences.
26         */
27        
28        #ifdef HAVE_CONFIG_H
29        #include <config.h>
				

gnuradio/gnuradio-core/src/lib/filter/qa_gr_fir_ccf.cc

Category Kludge
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
21         */
22        
23        /*
24         * FIXME.  This code is virtually identical to qa_gr_fir_?CC.cc
25         *   Kludge up some kind of macro to handle the minor differences.
26         */
27        
28        #ifdef HAVE_CONFIG_H
29        #include <config.h>
				

gnuradio/gnuradio-core/src/lib/filter/qa_gr_fir_fcc.cc

Category Kludge
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
21         */
22        
23        /*
24         * FIXME.  This code is virtually identical to qa_gr_fir_?CC.cc
25         *   Kludge up some kind of macro to handle the minor differences.
26         */
27        
28        #ifdef HAVE_CONFIG_H
29        #include <config.h>
				

gnuradio/gnuradio-core/src/lib/filter/qa_gr_fir_scc.cc

Category Kludge
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
21         */
22        
23        /*
24         * FIXME.  This code is virtually identical to qa_gr_fir_?CC.cc
25         *   Kludge up some kind of macro to handle the minor differences.
26         */
27        
28        #ifdef HAVE_CONFIG_H
29        #include <config.h>
				

gnuradio/gnuradio-core/src/lib/general/gr_align_on_samplenumbers_ss.cc

Category TODO
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
77        {
78          //assert (0 == noutput_items % d_align_interval);
79          unsigned ninputs = ninput_items_required.size();
80          for (unsigned int i = 0; i < ninputs; i++)
81            ninput_items_required[i] = std::max(noutput_items*d_nchan*2+ history() - 1,1024*d_nchan*2+ history() - 1);//TODO include the diffs found in determine input_items_required
82        }
83        
84        bool
85        gr_align_on_samplenumbers_ss::check_topology (int ninputs, int noutputs)
				

gnuradio/gnuradio-core/src/lib/general/gr_circular_file.cc

Category FIXME
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
64            if (d_fd < 0){
65              perror (filename);
66              exit (1);
67            }
68        #ifdef HAVE_MMAP	/* FIXME */
69            if(ftruncate (d_fd, size + HEADER_SIZE) != 0) {
70              perror (filename);
71              exit (1);
72            }
				

gnuradio/gnuradio-core/src/lib/general/gr_circular_file.h

Category Magic
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
26        /*
27         * writes input data into a circular buffer on disk.
28         *
29         * the file contains a fixed header:
30         *   0x0000:    int32 magic (0xEB021026)
31         *   0x0004:	int32 size in bytes of header (constant 4096)
32         *   0x0008:	int32 size in bytes of circular buffer (not including header)
33         *   0x000C:    int32 file offset to beginning of circular buffer
34         *   0x0010:    int32 byte offset from beginning of circular buffer to 
				

gnuradio/gnuradio-core/src/lib/general/gr_complex_to_interleaved_short.cc

Category FIXME
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
50          const gr_complex *in = (const gr_complex *) input_items[0];
51          short *out = (short *) output_items[0];
52        
53          for (int i = 0; i < noutput_items/2; i++){
54            *out++ = (short) lrintf(in[i].real());	// FIXME saturate?
55            *out++ = (short) lrintf(in[i].imag());
56          }
57          
58          return noutput_items;
				

gnuradio/gnuradio-core/src/lib/general/gr_fast_atan2f.cc

Category FIXME
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
128          REAL x_abs, y_abs, z;
129          REAL alpha, angle, base_angle;
130          int index;
131        
132          /* don't divide by zero! */		// FIXME could get hosed with -0.0
133          if ((y == 0.0) && (x == 0.0))
134            return 0.0;
135        
136          /* normalize to +/- 45 degree range */
				

gnuradio/gnuradio-core/src/lib/general/gr_feval.h — 1

Category Kludge
Committer eb
Commit ID 2c1032480d2874f38af9b5b9d18e753e968619e5
33         * "director" feature to implement the magic.
34         * It's slow. Don't use it in a performance critical path.
35         *
36         * Override eval to define the behavior.
37         * Use calleval to invoke eval (this kludge is required to allow a
38         * python specific "shim" to be inserted.
39         */
40        class gr_feval_dd
41        {
				

gnuradio/gnuradio-core/src/lib/general/gr_feval.h — 2

Category Kludge
Committer eb
Commit ID 2c1032480d2874f38af9b5b9d18e753e968619e5
61         * "director" feature to implement the magic.
62         * It's slow. Don't use it in a performance critical path.
63         *
64         * Override eval to define the behavior.
65         * Use calleval to invoke eval (this kludge is required to allow a
66         * python specific "shim" to be inserted.
67         */
68        class gr_feval_cc
69        {
				

gnuradio/gnuradio-core/src/lib/general/gr_feval.h — 3

Category Kludge
Committer eb
Commit ID 2c1032480d2874f38af9b5b9d18e753e968619e5
89         * "director" feature to implement the magic.
90         * It's slow. Don't use it in a performance critical path.
91         *
92         * Override eval to define the behavior.
93         * Use calleval to invoke eval (this kludge is required to allow a
94         * python specific "shim" to be inserted.
95         */
96        class gr_feval_ll
97        {
				

gnuradio/gnuradio-core/src/lib/general/gr_feval.h — 4

Category Kludge
Committer eb
Commit ID 2c1032480d2874f38af9b5b9d18e753e968619e5
117         * "director" feature to implement the magic.
118         * It's slow. Don't use it in a performance critical path.
119         *
120         * Override eval to define the behavior.
121         * Use calleval to invoke eval (this kludge is required to allow a
122         * python specific "shim" to be inserted.
123         */
124        class gr_feval
125        {
				

gnuradio/gnuradio-core/src/lib/general/gr_feval.i — 1

Category Magic
Committer eb
Commit ID 2c1032480d2874f38af9b5b9d18e753e968619e5
23        
24        /*
25         * N.B., this is a _very_ non-standard SWIG .i file
26         *
27         * It contains a bunch of magic that is required to ensure that when
28         * these classes are used as base classes for python code,
29         * everything works when calling back from C++ into Python.
30         *
31         * The gist of the problem is that our C++ code is usually not holding
				

gnuradio/gnuradio-core/src/lib/general/gr_feval.i — 2

Category Magic
Committer eb
Commit ID 2c1032480d2874f38af9b5b9d18e753e968619e5
37         * If you don't understand SWIG "directors" or the Python GIL,
38         * don't bother trying to understand what's going on in here.
39         *
40         * [We could eliminate a bunch of this hair by requiring SWIG 1.3.29
41         * or later and some additional magic declarations, but many systems
42         * aren't shipping that version yet.  Thus we kludge...]
43         */
44        
45        
				

gnuradio/gnuradio-core/src/lib/general/gr_feval.i — 3

Category Magic
Committer eb
Commit ID 2c1032480d2874f38af9b5b9d18e753e968619e5
136          virtual void calleval();
137        };
138        
139        /*
140         * These are the ones to derive from in Python.  They have the magic shim
141         * that ensures that we're holding the Python GIL when we enter Python land...
142         */
143        
144        %inline %{
				

gnuradio/gnuradio-core/src/lib/general/gr_fft_vfc.cc

Category FIXME
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
32        #include <string.h>
33        #include <cstdio>
34        
35        
36        // FIXME after this is working, change to use native real to complex fft.
37        // It should run twice as fast.
38        
39        
40        
				

gnuradio/gnuradio-core/src/lib/general/gr_kludge_copy.h

Category Kludge
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
33        /*!
34         * \brief output[i] = input[i]
35         * \ingroup misc_blk
36         *
37         * This is a short term kludge to work around a problem with the hierarchical block impl.
38         */
39        class gr_kludge_copy : public gr_sync_block
40        {
41          size_t		d_itemsize;
				

gnuradio/gnuradio-core/src/lib/general/gr_misc.h

Category FIXME
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
27        
28        unsigned int 
29        gr_rounduppow2(unsigned int n);
30        
31        // FIXME should be template
32        void gr_zero_vector(std::vector<float> &v);
33        void gr_zero_vector(std::vector<double> &v);
34        void gr_zero_vector(std::vector<int> &v);
35        void gr_zero_vector(std::vector<gr_complex> &v);
				

gnuradio/gnuradio-core/src/lib/general/gr_mpsk_receiver_cc.cc

Category FIXME
Committer trondeau
Commit ID 28e086141aead2e43f958f0ae14d58cac557fa2d
118          for (unsigned i=0; i < ninputs; i++)
119            ninput_items_required[i] = (int) ceil((noutput_items * d_omega) + d_interp->ntaps());
120        }
121        
122        // FIXME add these back in an test difference in performance
123        float
124        gr_mpsk_receiver_cc::phase_error_detector_qpsk(gr_complex sample) const
125        {
126          float phase_error = 0;
				

gnuradio/gnuradio-core/src/lib/general/gr_nco.h

Category FIXME
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
33         * \ingroup misc
34         */
35        
36        
37        //FIXME  Eventually generalize this to fixed point
38        
39        template<class o_type, class i_type> 
40        class gr_nco {
41        public:
				

gnuradio/gnuradio-core/src/lib/general/gr_ofdm_sampler.cc

Category FIXME
Committer jcorgan
Commit ID 43819f0f33498239970b4479684f12aa080859e6
50        
51        void
52        gr_ofdm_sampler::forecast (int noutput_items, gr_vector_int &ninput_items_required)
53        {
54          // FIXME do we need more
55          //int nreqd  = (noutput_items-1) * d_symbol_length + d_fft_length;
56          int nreqd  = d_symbol_length + d_fft_length;
57          unsigned ninputs = ninput_items_required.size ();
58          for (unsigned i = 0; i < ninputs; i++)
				

gnuradio/gnuradio-core/src/lib/general/gr_prefs.h

Category Magic
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
28         * \brief Base class for representing user preferences a la windows INI files.
29         * \ingroup misc
30         *
31         * The real implementation is in Python, and is accessable from C++
32         * via the magic of SWIG directors.
33         */
34        
35        class gr_prefs
36        {
				

gnuradio/gnuradio-core/src/lib/general/gr_pwr_squelch_cc.cc — 1

Category FIXME
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
41        
42        std::vector<float> gr_pwr_squelch_cc::squelch_range() const
43        {
44          std::vector<float> r(3);
45          r[0] = -50.0;				// min	FIXME
46          r[1] = +50.0;				// max	FIXME
47          r[2] = (r[1] - r[0]) / 100;		// step size
48        
49          return r;
				

gnuradio/gnuradio-core/src/lib/general/gr_pwr_squelch_cc.cc — 2

Category FIXME
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
42        std::vector<float> gr_pwr_squelch_cc::squelch_range() const
43        {
44          std::vector<float> r(3);
45          r[0] = -50.0;				// min	FIXME
46          r[1] = +50.0;				// max	FIXME
47          r[2] = (r[1] - r[0]) / 100;		// step size
48        
49          return r;
50        }
				

gnuradio/gnuradio-core/src/lib/general/gr_pwr_squelch_ff.cc — 1

Category FIXME
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
41        
42        std::vector<float> gr_pwr_squelch_ff::squelch_range() const
43        {
44          std::vector<float> r(3);
45          r[0] = -50.0;				// min	FIXME
46          r[1] = +50.0;				// max	FIXME
47          r[2] = (r[1] - r[0]) / 100;		// step size
48        
49          return r;
				

gnuradio/gnuradio-core/src/lib/general/gr_pwr_squelch_ff.cc — 2

Category FIXME
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
42        std::vector<float> gr_pwr_squelch_ff::squelch_range() const
43        {
44          std::vector<float> r(3);
45          r[0] = -50.0;				// min	FIXME
46          r[1] = +50.0;				// max	FIXME
47          r[2] = (r[1] - r[0]) / 100;		// step size
48        
49          return r;
50        }
				

gnuradio/gnuradio-core/src/lib/general/gr_random.cc — 1

Category FIXME
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
124        }
125        
126        /*
127         * Copied from The KC7WW / OH2BNS Channel Simulator
128         * FIXME Need to check how good this is at some point
129         */
130        
131        float gr_random::laplacian()
132        {
				

gnuradio/gnuradio-core/src/lib/general/gr_random.cc — 2

Category FIXME
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
138        }
139        
140        /*
141         * Copied from The KC7WW / OH2BNS Channel Simulator
142         * FIXME Need to check how good this is at some point
143         */
144        
145          // 5 => scratchy, 8 => Geiger
146        
				

gnuradio/gnuradio-core/src/lib/general/gr_random.cc — 3

Category FIXME
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
157         * Complex rayleigh is really gaussian I and gaussian Q
158         * It can also be generated by real rayleigh magnitude and
159         * uniform random angle 
160         * Adapted from The KC7WW / OH2BNS Channel Simulator
161         * FIXME Need to check how good this is at some point
162         */
163        
164        gr_complex gr_random::rayleigh_complex()
165        {
				

gnuradio/gnuradio-core/src/lib/general/gr_remez.cc

Category FIXME
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
849        
850          if (grid_density < 16)
851            punt ("gr_remez: grid_density is too low; must be >= 16");
852        
853          LOCAL_BUFFER (double, coeff, numtaps + 5);		// FIXME why + 5?
854          int err = remez (coeff, numtaps, numbands,
855        		   bands, response, weight, itype, grid_density);
856        
857          if (err == -1)
				

gnuradio/gnuradio-core/src/lib/general/gr_simple_correlator.cc

Category FIXME
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
105        {
106          d_state = ST_LOCKED;
107          int delta = sub_index (d_osi, d_transition_osi);
108          d_center_osi = add_index (d_transition_osi, delta/2);
109          d_center_osi = add_index (d_center_osi, 3);   // FIXME
110          d_bbi = 0;
111          fflush (stdout);
112          // fprintf (stderr, ">>> enter_locked  d_center_osi = %d\n", d_center_osi);
113        
				

gnuradio/gnuradio-core/src/lib/general/gr_simple_squelch_cc.cc — 1

Category FIXME
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
90        std::vector<float>
91        gr_simple_squelch_cc::squelch_range() const
92        {
93          std::vector<float> r(3);
94          r[0] = -50.0;				// min	FIXME
95          r[1] = +50.0;				// max	FIXME
96          r[2] = (r[1] - r[0]) / 100;		// step size
97        
98          return r;
				

gnuradio/gnuradio-core/src/lib/general/gr_simple_squelch_cc.cc — 2

Category FIXME
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
91        gr_simple_squelch_cc::squelch_range() const
92        {
93          std::vector<float> r(3);
94          r[0] = -50.0;				// min	FIXME
95          r[1] = +50.0;				// max	FIXME
96          r[2] = (r[1] - r[0]) / 100;		// step size
97        
98          return r;
99        }
				

gnuradio/gnuradio-core/src/lib/general/gr_squash_ff.cc

Category FIXME
Committer eb
Commit ID 8b9d8612e3e32a8037782e027690e14b29254335
54          for (unsigned int i = 0; i < d_onum; i++)
55            d_ogrid[i] = ogrid[i];
56        
57          d_accel = gsl_interp_accel_alloc();
58          d_spline = gsl_spline_alloc(gsl_interp_cspline, d_inum);	// FIXME check w/ Frank
59        }
60        
61        gr_squash_ff::~gr_squash_ff()
62        {
				

gnuradio/gnuradio-core/src/lib/general/gr_vco.h

Category FIXME
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
32         * \brief base class template for Voltage Controlled Oscillator (VCO)
33         * \ingroup misc
34         */
35        
36        //FIXME  Eventually generalize this to fixed point
37        
38        template<class o_type, class i_type> 
39        class gr_vco {
40        public:
				

gnuradio/gnuradio-core/src/lib/general/gri_fft.cc

Category FIXME
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
206            fftwf_free (d_inbuf);
207            throw std::runtime_error ("fftwf_malloc");
208          }
209        
210          // FIXME If there's ever a chance that the planning functions
211          // will be called in multiple threads, we've got to ensure single
212          // threaded access.  They are not thread-safe.
213          
214          gri_fftw_import_wisdom ();	// load prior wisdom from disk
				

gnuradio/gnuradio-core/src/lib/gengen/gr_noise_source_X.cc.t

Category FIXME
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
84            for (int i = 0; i < noutput_items; i++)
85              out[i] = (@TYPE@)(d_ampl * d_rng.laplacian ());
86            break;
87            
88          case GR_IMPULSE:	// FIXME changeable impulse settings
89            for (int i = 0; i < noutput_items; i++)
90              out[i] = (@TYPE@)(d_ampl * d_rng.impulse (9));
91            break;
92        #endif
				

gnuradio/gnuradio-core/src/lib/gengen/gr_sig_source_X.cc.t — 1

Category FIXME
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
63        #if @IS_COMPLEX@	// complex?
64        
65          case GR_CONST_WAVE:
66            t = (gr_complex) d_ampl + d_offset;
67            for (int i = 0; i < noutput_items; i++)	// FIXME unroll
68              optr[i] = t;
69            break;
70            
71          case GR_SIN_WAVE:
				

gnuradio/gnuradio-core/src/lib/gengen/gr_sig_source_X.cc.t — 2

Category FIXME
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
141        #else			// nope...
142        
143          case GR_CONST_WAVE:
144            t = (@TYPE@) d_ampl + d_offset;
145            for (int i = 0; i < noutput_items; i++)	// FIXME unroll
146              optr[i] = t;
147            break;
148            
149          case GR_SIN_WAVE:
				

gnuradio/gnuradio-core/src/lib/io/gr_file_sink.cc

Category FIXME
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
64            return noutput_items;		// drop output on the floor
65        
66          while (nwritten < noutput_items){
67            int count = fwrite (inbuf, d_itemsize, noutput_items - nwritten, d_fp);
68            if (count == 0)	// FIXME add error handling
69              break;
70            nwritten += count;
71            inbuf += count * d_itemsize;
72          }
				

gnuradio/gnuradio-core/src/lib/io/gr_oscope_sink_f.cc

Category FIXME
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
66          float	  tmp[gr_oscope_guts::MAX_CHANNELS];
67        
68          for (int i = 0; i < noutput_items; i++){
69        
70            // FIXME for now, copy the data.  Fix later if reqd
71            for (int ch = 0; ch < ni; ch++)	
72              tmp[ch] = ((const float *) input_items[ch])[i];
73        
74            d_guts->process_sample (tmp);
				

gnuradio/gnuradio-core/src/lib/io/gr_udp_sink.cc

Category FIXME
Committer Eric Blossom
Commit ID 99a39a4351ca250dcbeeface0ab7b9de6e301d49
221            hints.ai_protocol = IPPROTO_UDP;
222            char port_str[12];
223            sprintf( port_str, "%d", port );
224        
225            // FIXME leaks if report_error throws below
226            int ret = getaddrinfo( host, port_str, &hints, &ip_dst );
227            if( ret != 0 )
228              report_error("gr_udp_source/getaddrinfo",
229        		   "can't initialize destination socket" );
				

gnuradio/gnuradio-core/src/lib/io/gr_udp_source.cc — 1

Category FIXME
Committer Eric Blossom
Commit ID 99a39a4351ca250dcbeeface0ab7b9de6e301d49
128          hints.ai_flags = AI_PASSIVE;
129          char port_str[12];
130          sprintf( port_str, "%d", port );
131        
132          // FIXME leaks if report_error throws below
133          ret = getaddrinfo( host, port_str, &hints, &ip_src );
134          if( ret != 0 )
135            report_error("gr_udp_source/getaddrinfo",
136        		 "can't initialize source socket" );
				

gnuradio/gnuradio-core/src/lib/io/gr_udp_source.cc — 2

Category FIXME
Committer Eric Blossom
Commit ID 99a39a4351ca250dcbeeface0ab7b9de6e301d49
134          if( ret != 0 )
135            report_error("gr_udp_source/getaddrinfo",
136        		 "can't initialize source socket" );
137        
138          // FIXME leaks if report_error throws below
139          d_temp_buff = new char[d_payload_size];   // allow it to hold up to payload_size bytes
140        
141          // create socket
142          d_socket = socket(ip_src->ai_family, ip_src->ai_socktype,
				

gnuradio/gnuradio-core/src/lib/io/i2c_bitbang.cc

Category FIXME
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
136        i2c_bitbang::read (int addr, unsigned char *buf, int max_bytes)
137        {
138          d_io->lock ();
139        
140          // FIXME
141        
142          d_io->unlock ();
143          return -1;
144        }
				

gnuradio/gnuradio-core/src/lib/io/microtune_4702.cc

Category FIXME
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
168         */
169        bool 
170        microtune_4702::pll_locked_p ()
171        {
172          // FIXME
173          return true;
174        }
175        
176        /*!
				

gnuradio/gnuradio-core/src/lib/io/microtune_4937.cc

Category FIXME
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
131         */
132        bool 
133        microtune_4937::pll_locked_p ()
134        {
135          // FIXME
136          return true;
137        }
138        
139        /*!
				

gnuradio/gnuradio-core/src/lib/missing/getopt.c

Category Magic
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
175        
176        #ifdef	__GNU_LIBRARY__
177        /* We want to avoid inclusion of string.h with non-GNU libraries
178           because there are many ways it can cause trouble.
179           On some systems, it contains special magic macros that don't work
180           in GCC.  */
181        #include <string.h>
182        #define	my_index	strchr
183        #define	my_bcopy(src, dst, n)	memcpy ((dst), (src), (n))
				

gnuradio/gnuradio-core/src/lib/runtime/gr_block.h

Category Magic
Committer eb
Commit ID 1579bab2e5840e8f7e7918b7cabf250ca4fd259a
56        class gr_block : public gr_basic_block {
57        
58         public:
59          
60          //! Magic return values from general_work
61          enum {
62            WORK_CALLED_PRODUCE = -2,
63            WORK_DONE = -1
64          };
				

gnuradio/gnuradio-core/src/lib/runtime/gr_block_executor.cc

Category FIXME
Committer eb
Commit ID 2c8ea58e4d76f54c98d71d3fcc64bc29da490908
399            // If this is a source, it's broken.
400            if (d->source_p()){
401              std::cerr << "gr_block_executor: source " << m
402        		<< " produced no output.  We're marking it DONE.\n";
403              // FIXME maybe we ought to raise an exception...
404              goto were_done;
405            }
406        
407            // Have the caller try again...
				

gnuradio/gnuradio-core/src/lib/runtime/gr_hier_block2.cc

Category Magic
Committer eb
Commit ID 395e1fa650428899dee0f123cb7bf432732280c5
45                                       gr_io_signature_sptr output_signature)
46          : gr_basic_block(name, input_signature, output_signature),
47            d_detail(new gr_hier_block2_detail(this))
48        {
49          // This bit of magic ensures that self() works in the constructors of derived classes.
50          gnuradio::detail::sptr_magic::create_and_stash_initial_sptr(this);
51        }
52        
53        gr_hier_block2::~gr_hier_block2()
				

gnuradio/gnuradio-core/src/lib/runtime/gr_msg_accepter.cc

Category FIXME
Committer Eric Blossom
Commit ID 1181c2fe069075f9ceb3b66ed937115ff39aafa9
50            return;
51          }
52          gr_hier_block2 *p2 = dynamic_cast<gr_hier_block2 *>(this);
53          if (p2){
54            // FIXME do the right thing
55            return;
56          }
57        
58          throw std::runtime_error("unknown derived class");
				

gnuradio/gnuradio-core/src/lib/runtime/gr_single_threaded_scheduler.cc

Category Kludge
Committer eb
Commit ID 02cd43b565615593f90bd08eb4e718a6ee649661
74        
75        void
76        gr_single_threaded_scheduler::run ()
77        {
78          // d_enabled = true;		// KLUDGE
79          main_loop ();
80        }
81        
82        void
				

gnuradio/gnuradio-core/src/lib/runtime/qa_block_tags.cc — 1

Category Kludge
Committer Tom Rondeau
Commit ID 54b396764a9fad91cbfd10f618e4faed1c8bafa2
112          CPPUNIT_ASSERT_EQUAL(tags3.size(), (size_t)8);
113          CPPUNIT_ASSERT_EQUAL(tags4.size(), (size_t)8);
114        
115        #if QA_TAGS_DEBUG
116          // Kludge together the tags that we know should result from the above graph
117          std::stringstream str0, str1, str2;
118          str0 << ann0->name() << ann0->unique_id();
119          str1 << ann1->name() << ann1->unique_id();
120          str2 << ann2->name() << ann2->unique_id();
				

gnuradio/gnuradio-core/src/lib/runtime/qa_block_tags.cc — 2

Category Kludge
Committer Tom Rondeau
Commit ID 77d778896b72379676d2b00e591f9bbb5f6fcc44
203          CPPUNIT_ASSERT_EQUAL(tags4.size(), (size_t)12);
204        
205        
206        #if QA_TAGS_DEBUG
207          // Kludge together the tags that we know should result from the above graph
208          std::stringstream str0, str1;
209          str0 << ann0->name() << ann0->unique_id();
210          str1 << ann1->name() << ann1->unique_id();
211        
				

gnuradio/gnuradio-core/src/lib/runtime/qa_block_tags.cc — 3

Category Kludge
Committer Tom Rondeau
Commit ID 4a63bc91ddceaa8ce9d14a3f714bd0cdc3e85128
296          CPPUNIT_ASSERT_EQUAL(tags3.size(), (size_t)8);
297          CPPUNIT_ASSERT_EQUAL(tags4.size(), (size_t)8);
298        
299        #if QA_TAGS_DEBUG
300          // Kludge together the tags that we know should result from the above graph
301          std::stringstream str0, str1, str2;
302          str0 << ann0->name() << ann0->unique_id();
303          str1 << ann1->name() << ann1->unique_id();
304          str2 << ann2->name() << ann2->unique_id();
				

gnuradio/gnuradio-core/src/lib/runtime/qa_block_tags.cc — 4

Category Kludge
Committer Tom Rondeau
Commit ID 8d84a2fc9a804b2248fe43c3d8b230ef99aebaa2
404          CPPUNIT_ASSERT_EQUAL(tags2.size(), (size_t)8);
405        
406        
407        #if QA_TAGS_DEBUG
408          // Kludge together the tags that we know should result from the above graph
409          std::stringstream str0, str1, str2;
410          str0 << ann0->name() << ann0->unique_id();
411          str1 << ann1->name() << ann1->unique_id();
412          str2 << ann2->name() << ann2->unique_id();
				

gnuradio/gnuradio-core/src/lib/swig/Makefile.am

Category FIXME
Committer eb
Commit ID cbe1628f2eb1a1a3c8b0b96a3b1334a039074def
58        ourpythondir = $(grpythondir)/gr
59        ourpython_PYTHON = gnuradio_core.py
60        
61        # ----------------------------------------------------------------
62        # FIXME As of swig 1.3.31, this still seems to be required...
63        # gnuradio_swig_bug_workaround.h : gnuradio_core_runtime.py $(srcdir)/gen-swig-bug-fix
64        #	$(PYTHON) $(srcdir)/gen-swig-bug-fix python/gnuradio_core_runtime.cc $@
65        
66        EXTRA_DIST += gen-swig-bug-fix
				

gnuradio/gnuradio-core/src/lib/swig/gr_swig_block_magic.i — 1

Category FIXME
Committer Eric Blossom
Commit ID 6b5c73eb36bb45fc214616104c0a6c675dbce538
44        #ifdef SWIGGUILE
45        #ifdef IN_GNURADIO_CORE		// normal behavior
46        %define _GR_SWIG_BLOCK_MAGIC_HELPER(PKG, BASE_NAME, FULL_NAME)
47        _GR_SWIG_BLOCK_MAGIC_HELPER_COMMON(PKG, BASE_NAME, FULL_NAME)
48        /* FIXME May want to add something here to get a friendlier printed representation */
49        %enddef
50        #else				// Don't strip PKG from name
51        %define _GR_SWIG_BLOCK_MAGIC_HELPER(PKG, BASE_NAME, FULL_NAME)
52        class FULL_NAME;
				

gnuradio/gnuradio-core/src/lib/swig/gr_swig_block_magic.i — 2

Category FIXME
Committer Eric Blossom
Commit ID c80fdf2897624d10123a35b1a19d150f3a5645c8
53        typedef boost::shared_ptr<FULL_NAME> FULL_NAME ## _sptr;
54        %template(FULL_NAME ## _sptr) boost::shared_ptr<FULL_NAME>;
55        %ignore FULL_NAME;
56        %rename(FULL_NAME) PKG ## _make_ ## BASE_NAME;
57        /* FIXME May want to add something here to get a friendlier printed representation */
58        %enddef
59        #endif
60        #endif