Skip to content

Commit

Permalink
Change file encodings to Unix
Browse files Browse the repository at this point in the history
  • Loading branch information
kovzol committed Jan 20, 2024
1 parent 30d3ffa commit f52737c
Show file tree
Hide file tree
Showing 89 changed files with 2,188 additions and 2,188 deletions.
2 changes: 1 addition & 1 deletion src/engine/3dd.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef UNSUPPORTED
#ifndef UNSUPPORTED
static void convert_3d(struct filter *f, int *x1, int *y1)
{
struct threeddata *data = (struct threeddata *)f->data;
Expand Down
2 changes: 1 addition & 1 deletion src/engine/anti.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "config.h"
#include "config.h"
#ifndef __cplusplus
#include <cmath>
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/engine/blur.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "config.h"
#include "config.h"
#include <cstring>
#include <cmath>
#include <cstdio>
Expand Down
2 changes: 1 addition & 1 deletion src/engine/btrace.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "config.h"
#include "config.h"
#include <cstdlib>
#include <cmath>
#include <cstdio>
Expand Down
2 changes: 1 addition & 1 deletion src/engine/btraced.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef UNSUPPORTED
#ifndef UNSUPPORTED

static void tracecolor(int xstart, int ystart, int xend, int yend, int x, int y)
{
Expand Down
2 changes: 1 addition & 1 deletion src/engine/calculate.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@


static pixel32_t inline calculate(number_t x, number_t y, int periodicity);
static pixel32_t inline calculate(number_t x, number_t y, int periodicity)
{
Expand Down
2 changes: 1 addition & 1 deletion src/engine/docalc.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@


/* Hello reader!
* Are you sure you want read this? Its very cryptic and strange code. YOU
Expand Down
2 changes: 1 addition & 1 deletion src/engine/edge.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* An edge detection filter.
/* An edge detection filter.
* This is very simple filter - it initializes smalliter image and then
* does an simple edge detection algo on it.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/engine/edge2.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* An edge detection filter.
/* An edge detection filter.
* This is very simple filter - it initializes smalliter image and then
* does an simple edge detection algo on it.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/engine/edge2d.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef UNSUPPORTED
#ifndef UNSUPPORTED
static void do_edge(void *data, struct taskinfo */*task*/, int r1, int r2)
{
struct filter *f = (struct filter *)data;
Expand Down
2 changes: 1 addition & 1 deletion src/engine/edged.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef UNSUPPORTED
#ifndef UNSUPPORTED
static void do_edge(void *data, struct taskinfo */*task*/, int r1, int r2)
{
struct filter *f = (struct filter *)data;
Expand Down
2 changes: 1 addition & 1 deletion src/engine/emboss.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "config.h"
#include "config.h"
#include <cstdlib>
#include <cstdio>
#include "filter.h"
Expand Down
2 changes: 1 addition & 1 deletion src/engine/filter.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <cstdlib>
#include <cstdlib>
#include <cstdio>

#include "config.h"
Expand Down
2 changes: 1 addition & 1 deletion src/engine/formulas.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* XaoS, a fast portable realtime fractal zoomer
* Copyright (C) 1996,1997 by
*
Expand Down
2 changes: 1 addition & 1 deletion src/engine/fractal.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* XaoS, a fast portable realtime fractal zoomer
* Copyright (C) 1996,1997 by
*
Expand Down
2 changes: 1 addition & 1 deletion src/engine/interlace.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "config.h"
#include "config.h"
#include <cstdlib>
#include <cstdio> /*for NULL */
#include <cstring> /*for memcpy */
Expand Down
2 changes: 1 addition & 1 deletion src/engine/itersmall.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "config.h"
#include "config.h"
#include "config.h"
#include <cstdlib>
#define SLARGEITER
Expand Down
2 changes: 1 addition & 1 deletion src/engine/julia.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <cmath>
#include <cmath>
#include <cstring>
#include "config.h"
#include <cstdio>
Expand Down
2 changes: 1 addition & 1 deletion src/engine/julia.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef JULIA_H
#ifndef JULIA_H
#define JULIA_H
void init_julia(struct image *img, number_t rangep, number_t range,
number_t xdelta, number_t ystep);
Expand Down
2 changes: 1 addition & 1 deletion src/engine/paletted.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef UNSUPPORTED
#ifndef UNSUPPORTED
static void cpalette(void *data, struct taskinfo */*task*/, int r1, int r2)
{
pixel8_t *src, *srcend;
Expand Down
2 changes: 1 addition & 1 deletion src/engine/palettef.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "config.h"
#include "config.h"
#include <cstdlib>
#include <cstdio>
#include "filter.h"
Expand Down
2 changes: 1 addition & 1 deletion src/engine/plane.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* XaoS, a fast portable realtime fractal zoomer
* Copyright (C) 1996,1997 by
*
Expand Down
2 changes: 1 addition & 1 deletion src/engine/rotate.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* An rotation filter. Uses bressemham algorithm combined with dda to rotate
/* An rotation filter. Uses bressemham algorithm combined with dda to rotate
* image around center
* This filter is used internally by XaoS and is unvisible to normal user in
* 'E' menu.
Expand Down
2 changes: 1 addition & 1 deletion src/engine/rotated.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef UNSUPPORTED
#ifndef UNSUPPORTED
static void do_rotate(void *data, struct taskinfo */*task*/, int r1, int r2)
{
struct filter *f = (struct filter *)data;
Expand Down
2 changes: 1 addition & 1 deletion src/engine/star.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "config.h"
#include "config.h"
#include "config.h"
#include <climits>
#include <cstdlib>
Expand Down
2 changes: 1 addition & 1 deletion src/engine/stard.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef UNSUPPORTED
#ifndef UNSUPPORTED
static void do_starfield(void *data, struct taskinfo */*task*/, int r1, int r2)
{
struct filter *f = (struct filter *)data;
Expand Down
2 changes: 1 addition & 1 deletion src/engine/stereod.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef UNSUPPORTED
#ifndef UNSUPPORTED
static void do_stereogram(void *data, struct taskinfo */*task*/, int r1, int r2)
{
struct filter *f = (struct filter *)data;
Expand Down
2 changes: 1 addition & 1 deletion src/engine/stereogram.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "config.h"
#include "config.h"
#include <cstdlib>
#include "xthread.h"
#include "filter.h"
Expand Down
2 changes: 1 addition & 1 deletion src/engine/subwindow.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "config.h"
#include "config.h"
#include <cstdlib>
#include <cstdio> /*for NULL */
#include <cstring> /*for memcpy */
Expand Down
2 changes: 1 addition & 1 deletion src/engine/zoom.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* XaoS, a fast portable realtime fractal zoomer
* Copyright (C) 1996,1997 by
*
Expand Down
2 changes: 1 addition & 1 deletion src/engine/zoomd.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef UNSUPPORTED
#ifndef UNSUPPORTED

/* this two routines implements solid guessing. They are almost same. One
* calculates lines, second rows.
Expand Down
2 changes: 1 addition & 1 deletion src/formeval/formeval.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* XaoS Formula Evaluator
* Copyright (c) 2020 J.B. Langston
*
Expand Down
2 changes: 1 addition & 1 deletion src/formeval/formeval.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* XaoS Formula Evaluator
* Copyright (c) 2020 J.B. Langston
*
Expand Down
2 changes: 1 addition & 1 deletion src/include/btrace.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef BTRACE_H
#ifndef BTRACE_H
#define BTRACE_H
int boundarytrace(int x1, int y1, int x2, int y2, number_t *xpos,
number_t *ypos);
Expand Down
2 changes: 1 addition & 1 deletion src/include/c256.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifdef cpixel_t
#ifdef cpixel_t
#undef cpixel_t
#undef cpixeldata_t
#undef cppixel_t
Expand Down
2 changes: 1 addition & 1 deletion src/include/catalog.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Small library to handle catalog files
/* Small library to handle catalog files
*/
#ifndef CATALOG_H
#define CATALOG_H
Expand Down
2 changes: 1 addition & 1 deletion src/include/cmplx.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* XaoS, a fast portable realtime fractal zoomer
* Copyright (C) 1996,1997 by
*
Expand Down
2 changes: 1 addition & 1 deletion src/include/filter.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef IMAGE_H
#ifndef IMAGE_H
#define IMAGE_H
#include "config.h"

Expand Down
2 changes: 1 addition & 1 deletion src/include/formulas.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* XaoS, a fast portable realtime fractal zoomer
* Copyright (C) 1996,1997 by
*
Expand Down
2 changes: 1 addition & 1 deletion src/include/fractal.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* XaoS, a fast portable realtime fractal zoomer
* Copyright (C) 1996,1997 by
*
Expand Down
2 changes: 1 addition & 1 deletion src/include/generic.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#undef p_set
#undef p_set
#undef p_get
#undef p_setp
#undef bpp1
Expand Down
2 changes: 1 addition & 1 deletion src/include/grlib.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef _TEXT_H
#ifndef _TEXT_H
#define _TEXT_H
#define TEXT_PRESSED 1
#include "ui_helper.h"
Expand Down
2 changes: 1 addition & 1 deletion src/include/gsl/gsl_complex.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* complex/gsl_complex.h
/* complex/gsl_complex.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough
*
Expand Down
2 changes: 1 addition & 1 deletion src/include/gsl/gsl_inline.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* gsl_inline.h
/* gsl_inline.h
*
* Copyright (C) 2008, 2009 Brian Gough
*
Expand Down
2 changes: 1 addition & 1 deletion src/include/gsl/gsl_machine.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Author: B. Gough and G. Jungman */
/* Author: B. Gough and G. Jungman */
#ifndef __GSL_MACHINE_H__
#define __GSL_MACHINE_H__

Expand Down
2 changes: 1 addition & 1 deletion src/include/gsl/gsl_math.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* gsl_math.h
/* gsl_math.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2004, 2007 Gerard Jungman, Brian
* Gough
Expand Down
2 changes: 1 addition & 1 deletion src/include/gsl/gsl_minmax.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* gsl_minmax.h
/* gsl_minmax.h
*
* Copyright (C) 2008 Gerard Jungman, Brian Gough
*
Expand Down
2 changes: 1 addition & 1 deletion src/include/gsl/gsl_nan.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* gsl_nan.h
/* gsl_nan.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough
*
Expand Down
2 changes: 1 addition & 1 deletion src/include/gsl/gsl_pow_int.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* gsl_pow_int.h
/* gsl_pow_int.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2004, 2007 Gerard Jungman, Brian
* Gough
Expand Down
2 changes: 1 addition & 1 deletion src/include/gsl/gsl_precision.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* gsl_precision.h
/* gsl_precision.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman
*
Expand Down
2 changes: 1 addition & 1 deletion src/include/gsl/gsl_types.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* gsl_types.h
/* gsl_types.h
*
* Copyright (C) 2001, 2007 Brian Gough
*
Expand Down
22 changes: 11 additions & 11 deletions src/include/i18n.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#ifndef I18N_H
#define I18N_H
const char *qt_gettext(const char *context, const char *text);
void setLanguage(const char *lang);
const char *getLanguage();
const char *lang1(int i);
const char *lang2(int i);
#define TR(context, text) qt_gettext(context, text)
#endif
#ifndef I18N_H
#define I18N_H

const char *qt_gettext(const char *context, const char *text);
void setLanguage(const char *lang);
const char *getLanguage();
const char *lang1(int i);
const char *lang2(int i);

#define TR(context, text) qt_gettext(context, text)
#endif
2 changes: 1 addition & 1 deletion src/include/misc-f.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef IUTIL_H
#ifndef IUTIL_H
#define IUTIL_H
#include "xio.h"
#include "config.h"
Expand Down
2 changes: 1 addition & 1 deletion src/include/param.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* XaoS, a fast portable realtime fractal zoomer
* Copyright (C) 1996,1997 by
*
Expand Down
2 changes: 1 addition & 1 deletion src/include/pixel_t.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef PIXEL_T_H
#ifndef PIXEL_T_H
#define PIXEL_T_H
#include <cstdint>
typedef uint8_t pixel8_t;
Expand Down
2 changes: 1 addition & 1 deletion src/include/plane.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* XaoS, a fast portable realtime fractal zoomer
* Copyright (C) 1996,1997 by
*
Expand Down
2 changes: 1 addition & 1 deletion src/include/sffe.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*/////////////////////////////////////////////////////////////////////////////////////
/*/////////////////////////////////////////////////////////////////////////////////////
// project : sFFe ( SegFault (or Segmentation Fault :) ) formula evalutaor )
// author : Mateusz Malczak ( [email protected] )
// wpage :
Expand Down
2 changes: 1 addition & 1 deletion src/include/sffe_cmplx_gsl.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*/////////////////////////////////////////////////////////////////////////////////////
/*/////////////////////////////////////////////////////////////////////////////////////
// project : sFFe ( SegFault (or Segmentation Fault :) ) formula evalutaor )
// author : Mateusz Malczak ( [email protected] )
// wpage :
Expand Down
2 changes: 1 addition & 1 deletion src/include/timers.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* XaoS, a fast portable realtime fractal zoomer
* Copyright (C) 1996,1997 by
*
Expand Down
2 changes: 1 addition & 1 deletion src/include/true24.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifdef cpixel_t
#ifdef cpixel_t
#undef cpixel_t
#undef cpixeldata_t
#undef cppixel_t
Expand Down
2 changes: 1 addition & 1 deletion src/include/xerror.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef XERROR_H
#ifndef XERROR_H
#define XERROR_H
void x_message(const char *text, ...);
void x_error(const char *text, ...);
Expand Down
2 changes: 1 addition & 1 deletion src/include/xio.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* This is implementation of input/output routines similar to stdio.
/* This is implementation of input/output routines similar to stdio.
purpose of this library is to hide differences between OSes (Mac OS don't
have stdio!) and allow general streams to strings etc. */
#ifndef XIO1_H
Expand Down
2 changes: 1 addition & 1 deletion src/include/xthread.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* An XaoS thread API implementation
* Many functions are implemented as macros that maps simple
* XaoS thread API into architecture depended API.
Expand Down
Loading

0 comments on commit f52737c

Please sign in to comment.