Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 6c2aba3 in mainline


Ignore:
Timestamp:
2020-02-19T17:04:40Z (14 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
1388f7f0
Parents:
0a052b0
Message:

Tone down on message verbosity

Location:
uspace
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/display/src/disp_srv.c

    r0a052b0 r6c2aba3  
    4444#include <stddef.h>
    4545
    46 #include <stdio.h>
    4746static void display_callback_create_srv(display_srv_t *srv, ipc_call_t *call)
    4847{
    49         printf("display_callback_create_srv\n");
    50 
    5148        async_sess_t *sess = async_callback_receive(EXCHANGE_SERIALIZE);
    5249        if (sess == NULL) {
     
    6764        errno_t rc;
    6865
    69         printf("display_window_create_srv\n");
    70 
    7166        if (!async_data_write_receive(&call, &size)) {
    7267                async_answer_0(&call, EREFUSED);
     
    10196        sysarg_t wnd_id;
    10297        errno_t rc;
    103 
    104         printf("display_window_destroy_srv\n");
    10598
    10699        wnd_id = ipc_get_arg1(icall);
     
    123116        errno_t rc;
    124117
    125         printf("display_get_event_srv\n");
    126 
    127118        if (srv->ops->get_event == NULL) {
    128119                async_answer_0(icall, ENOTSUP);
     
    162153        /* Accept the connection */
    163154        async_accept_0(icall);
    164         printf("display_conn\n");
    165155
    166156        while (true) {
     
    176166                }
    177167
    178                 printf("display_conn method=%u\n", (unsigned) method);
    179168                switch (method) {
    180169                case DISPLAY_CALLBACK_CREATE:
     
    219208        async_exch_t *exch;
    220209
    221         printf("display_srv_ev_pending()\n");
    222 
    223210        exch = async_exchange_begin(srv->client_sess);
    224211        async_msg_0(exch, DISPLAY_EV_PENDING);
  • uspace/lib/ipcgfx/src/server.c

    r0a052b0 r6c2aba3  
    7070        rc = gfx_set_color(srvgc->gc, color);
    7171        async_answer_0(call, rc);
    72         printf("done with rgb_color_srv\n");
    7372}
    7473
  • uspace/srv/hid/display/display.c

    r0a052b0 r6c2aba3  
    313313        // TODO Determine which seat the event belongs to
    314314        seat = ds_display_first_seat(display);
    315         printf("ds_display_post_ptd_event: seat=%p\n", seat);
    316315        if (seat == NULL)
    317316                return EOK;
  • uspace/srv/hid/display/input.c

    r0a052b0 r6c2aba3  
    7474        kbd_event_t event;
    7575
    76         printf("ds_input_ev_key\n");
    7776        event.type = type;
    7877        event.key = key;
     
    8887        ptd_event_t event;
    8988
    90         printf("ds_input_ev_move\n");
    9189        event.type = PTD_MOVE;
    9290        event.dmove.x = dx;
     
    109107        ptd_event_t event;
    110108
    111         printf("ds_input_ev_abs_button\n");
    112109        event.type = bpress ? PTD_PRESS : PTD_RELEASE;
    113110        event.btn_num = bnum;
     
    129126        const char *svc = "hid/input";
    130127
    131         printf("ds_input_open\n");
    132128        errno_t rc = loc_service_get_id(svc, &dsid, 0);
    133129        if (rc != EOK) {
     
    153149
    154150        input_activate(display->input);
    155         printf("ds_input_open: DONE\n");
    156151        return EOK;
    157152}
  • uspace/srv/hid/display/main.c

    r0a052b0 r6c2aba3  
    6666{
    6767        display_srv_t *srv = (display_srv_t *) arg;
    68         printf("display_client_ev_pending\n");
     68
    6969        display_srv_ev_pending(srv);
    7070}
  • uspace/srv/hid/display/seat.c

    r0a052b0 r6c2aba3  
    256256 * @return EOK on success or an error code
    257257 */
    258 #include <stdio.h>
    259258errno_t ds_seat_post_ptd_event(ds_seat_t *seat, ptd_event_t *event)
    260259{
     
    265264        errno_t rc;
    266265
    267         printf("ds_seat_post_ptd_event\n");
    268266        wnd = ds_display_window_by_pos(seat->display, &seat->pntpos);
    269267
    270268        /* Focus window on button press */
    271269        if (event->type == PTD_PRESS && event->btn_num == 1) {
    272                 printf("PTD_PRESS (button = %d)\n", event->btn_num);
    273270                if (wnd != NULL) {
    274                         printf("set focus\n");
    275271                        ds_seat_set_focus(seat, wnd);
    276272                }
     
    291287
    292288        if (event->type == PTD_MOVE) {
    293                 printf("PTD_MOVE\n");
    294 
    295289                gfx_coord2_add(&seat->pntpos, &event->dmove, &npos);
    296290                gfx_coord2_clip(&npos, &disp->rect, &npos);
    297291
    298                 printf("clear pointer\n");
    299292                (void) ds_seat_clear_pointer(seat);
    300293                seat->pntpos = npos;
     
    310303                        return rc;
    311304
    312                 printf("draw pointer\n");
    313305                (void) ds_seat_draw_pointer(seat);
    314306        }
     
    329321        errno_t rc;
    330322
    331         printf("ds_seat_post_pos_event\n");
    332 
    333323        wnd = ds_display_window_by_pos(seat->display, &seat->pntpos);
    334324        if (wnd != NULL) {
    335                 printf("send event to window at pointer position\n");
    336325                rc = ds_window_post_pos_event(wnd, event);
    337326                if (rc != EOK)
     
    340329
    341330        if (seat->focus != wnd) {
    342                 printf("send event to focused window\n");
    343 
    344331                rc = ds_window_post_pos_event(seat->focus, event);
    345332                if (rc != EOK)
Note: See TracChangeset for help on using the changeset viewer.