headers: add header to source files

parent 65e77e74
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
from bliss.config.conductor import server
......
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
from bliss.config.conductor.connection import Connection,ConnectionException
......
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
"""
Usage: bliss [(-c FILE |--config-file=FILE)] [(-s NAME | --session=NAME)]
bliss (-h | --help)
......
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
import os
import optparse
import logging
......
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
import argparse
import MySQLdb
from bliss.config import static
......
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
from __future__ import division
from gevent import monkey
......
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
from bliss.common.continuous_scan import AcquisitionDevice, AcquisitionMaster
from bliss.common.event import dispatcher
import gevent
......
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
from __future__ import absolute_import
from bliss.common.continuous_scan import AcquisitionMaster
import bliss
......
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
from bliss.common.continuous_scan import AcquisitionDevice
import gevent
......
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
from gevent.select import select
from bliss.common.event import dispatcher
......
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
from bliss.common.continuous_scan import AcquisitionDevice, AcquisitionMaster
import gevent
import time
......
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
import logging
import types
from .embl import ExporterClient
......
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
import sys
import time
import string
......
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
import sys
import time
import string
......
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
from _gpib import *
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
__all__ = ['EnetSocket', 'Enet', 'Prologix', 'TangoGpib', 'Gpib', 'to_tmo', 'TMO_MAP',
'GpibError', 'GpibTimeout', 'EnetError', 'PrologixError', ]
......
#!/usr/bin/python
#
# -*- coding: utf8 -*-
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
#
# test-enet --
#
......
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
import struct
from gevent import socket,select
from gevent import lock
......
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
__all__ = ['Cmd', 'FuncCmd', 'ErrCmd', 'ErrArrayCmd',
'OnOffCmd', 'OnOffCmdRO', 'OnOffCmdRW',
'BoolCmd', 'BoolCmdRO', 'BoolCmdRW',
......
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
from __future__ import absolute_import
__all__ = ["LocalSerial", "RFC2217", "SER2NET", "Serial"]
......
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
__all__ = ['Tcp', 'Socket', 'Command']
import re
......
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
__all__ = ['get_interface']
from .serial import Serial
......
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
import gevent
from .event import dispatcher
......
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
from bliss.common import log as elog
from bliss.common.task_utils import *
from bliss.controllers.motor_settings import AxisSettings
......
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
from treelib import Tree
import gevent
from .event import dispatcher
......
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
from bliss.common.event import *
from bliss.config.conductor import client
from bliss.config.settings import Struct, QueueSetting, HashObjSetting
......
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
from bliss.common import log as elog
from bliss.common.task_utils import *
......
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
try:
from louie import dispatcher
from louie import robustapply
......
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
from logging import ERROR, INFO, DEBUG, NOTSET
from logging import getLevelName
from traceback import extract_stack as tb_extract_stack
......
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
"""
Measurement and counter module
......
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
from bliss.common.task_utils import *
import numpy
import gevent
......
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
import os
import sys
import errno
......
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
from bliss.common.task_utils import *
import gevent
import gevent.event
......
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
import inspect
import types
import itertools
......
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
from .conductor import client
from collections import namedtuple
from functools import partial
......
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
from . import connection
_default_connection = None
......
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
import weakref
import os,sys
import gevent
......
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
import struct
DEFAULT_UDP_CLIENT_PORT = 8021
......
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
import os
import sys
import codecs
......
# -*- coding: utf-8 -*-
#
# This file is part of the bliss project
#
# Copyright (c) 2016 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info.
import os
import sys
import pkgutil
......
/* -*- coding: utf-8 -*- */
/*
* This file is part of the bliss project
*
* Copyright (c) 2016 Beamline Control Unit, ESRF
* Distributed under the GNU LGPLv3. See LICENSE for more info.
*/
/**
* bangTidy2 Style - Ported from Growl Style
* Ported By Nijikokun @vizualover @nijikokun
......
/* -*- coding: utf-8 -*- */
/*
* This file is part of the bliss project
*
* Copyright (c) 2016 Beamline Control Unit, ESRF
* Distributed under the GNU LGPLv3. See LICENSE for more info.
*/
/**
* alert-blackgloss.css v1.0
* --
......
/* -*- coding: utf-8 -*- */
/*
* This file is part of the bliss project
*
* Copyright (c) 2016 Beamline Control Unit, ESRF
* Distributed under the GNU LGPLv3. See LICENSE for more info.
*/
.notifications {
position: fixed;
z-index: 9999;
......
/* -*- coding: utf-8 -*- */
/*
* This file is part of the bliss project
*
* Copyright (c) 2016 Beamline Control Unit, ESRF
* Distributed under the GNU LGPLv3. See LICENSE for more info.
*/
.yaml {
border: 1px solid #AAA;
font-family: monospace;
......
/* -*- coding: utf-8 -*- */
/*
* This file is part of the bliss project
*
* Copyright (c) 2016 Beamline Control Unit, ESRF
* Distributed under the GNU LGPLv3. See LICENSE for more info.
*/
/* jsTree default theme */
.jstree-node,
.jstree-children,
......
/* -*- coding: utf-8 -*- */
/*
* This file is part of the bliss project
*
* Copyright (c) 2016 Beamline Control Unit, ESRF
* Distributed under the GNU LGPLv3. See LICENSE for more info.
*/
body{font-family:Geneva,Arial,Helvetica,sans-serif;font-size:100%;*font-size:80%}.ui-layout-pane{background:#FFF;border:1px solid #BBB;padding:10px;overflow:auto}.ui-layout-content{padding:10px;position:relative;overflow:auto}.layout-child-container,.layout-content-container{padding:0;overflow:hidden}.layout-child-container{border:0}.layout-scroll{overflow:auto}.layout-hide{display:none}.ui-layout-resizer{background:#DDD;border:1px solid #BBB;border-width:0}.ui-layout-resizer-drag{}.ui-layout-resizer-hover{}.ui-layout-resizer-open-hover,.ui-layout-resizer-dragging{background:#C4E1A4}.ui-layout-resizer-dragging{border:1px solid #BBB}.ui-layout-resizer-north-dragging,.ui-layout-resizer-south-dragging{border-width:1px 0}.ui-layout-resizer-west-dragging,.ui-layout-resizer-east-dragging{border-width:0 1px}.ui-layout-resizer-dragging-limit{background:#E1A4A4}.ui-layout-resizer-closed-hover{background:#EBD5AA}.ui-layout-resizer-sliding{opacity:.1;filter:alpha(opacity=10)}.ui-layout-resizer-sliding-hover{opacity:1;filter:alpha(opacity=100)}.ui-layout-resizer-north-sliding-hover{border-bottom-width:1px}.ui-layout-resizer-south-sliding-hover{border-top-width:1px}.ui-layout-resizer-west-sliding-hover{border-right-width:1px}.ui-layout-resizer-east-sliding-hover{border-left-width:1px}.ui-layout-toggler{border:1px solid #BBB;background-color:#BBB}.ui-layout-resizer-hover .ui-layout-toggler{opacity:.6;filter:alpha(opacity=60)}.ui-layout-toggler-hover,.ui-layout-resizer-hover .ui-layout-toggler-hover{background-color:#FC6;opacity:1;filter:alpha(opacity=100)}.ui-layout-toggler-north,.ui-layout-toggler-south{border-width:0 1px}.ui-layout-toggler-west,.ui-layout-toggler-east{border-width:1px 0}.ui-layout-resizer-sliding .ui-layout-toggler{display:none}.ui-layout-toggler .content{color:#666;font-size:12px;font-weight:700;width:100%;padding-bottom:.35ex}.ui-layout-mask{border:0!important;padding:0!important;margin:0!important;overflow:hidden!important;position:absolute!important;opacity:0!important;filter:Alpha(Opacity="0")!important}.ui-layout-mask-inside-pane{top:0!important;left:0!important;width:100%!important;height:100%!important}div.ui-layout-mask{}iframe.ui-layout-mask{}@media print{html{height:auto!important;overflow:visible!important}body.ui-layout-container{position:static!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important;_width:auto!important;_height:auto!important}.ui-layout-resizer,.ui-layout-toggler{display:none!important}.ui-layout-pane{border:0!important;background:transparent!important;position:relative!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important;width:auto!important;height:auto!important;overflow:visible!important}}
\ No newline at end of file
<!--
This file is part of the bliss project
Copyright (c) 2016 Beamline Control Unit, ESRF
Distributed under the GNU LGPLv3. See LICENSE for more info.
-->
<style type="text/css" media="screen">
#yaml_editor {
min-width: 200px;
......
<!--
This file is part of the bliss project
Copyright (c) 2016 Beamline Control Unit, ESRF
Distributed under the GNU LGPLv3. See LICENSE for more info.
-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html" charset="utf-8" />
......
/* -*- coding: utf-8 -*- */
/*
* This file is part of the bliss project
*
* Copyright (c) 2016 Beamline Control Unit, ESRF
* Distributed under the GNU LGPLv3. See LICENSE for more info.
*/