this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

libform stub

Fixes #614

+682
+1
src/CMakeLists.txt
··· 194 194 ${CMAKE_CURRENT_SOURCE_DIR}/MetalKit/include 195 195 ${CMAKE_CURRENT_SOURCE_DIR}/frameworks/include 196 196 ${CMAKE_CURRENT_SOURCE_DIR}/private-frameworks/include 197 + ${CMAKE_CURRENT_SOURCE_DIR}/lib/include 197 198 ) 198 199 199 200 add_subdirectory(external/libkqueue)
+2
src/lib/CMakeLists.txt
··· 1 1 add_subdirectory(system) 2 + 3 + add_subdirectory(form)
+14
src/lib/form/CMakeLists.txt
··· 1 + project(form) 2 + 3 + set(DYLIB_INSTALL_NAME "/usr/lib/libform.5.4.dylib") 4 + set(DYLIB_COMPAT_VERSION "5.4.0") 5 + set(DYLIB_CURRENT_VERSION "5.4.0") 6 + 7 + add_darling_library(form SHARED 8 + src/form.c 9 + ) 10 + make_fat(form) 11 + target_link_libraries(form system) 12 + set_target_properties(form PROPERTIES OUTPUT_NAME "form.5.4") 13 + install(TARGETS form DESTINATION libexec/darling/usr/lib) 14 + InstallSymlink(libform.5.4.dylib "${CMAKE_INSTALL_PREFIX}/libexec/darling/usr/lib/libform.dylib")
+112
src/lib/form/include/form/form.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + 21 + #ifndef _form_H_ 22 + #define _form_H_ 23 + 24 + void* _nc_Copy_Argument(void); 25 + void* _nc_Copy_Type(void); 26 + void* _nc_First_Active_Field(void); 27 + void* _nc_Free_Argument(void); 28 + void* _nc_Free_Type(void); 29 + void* _nc_Internal_Validation(void); 30 + void* _nc_Make_Argument(void); 31 + void* _nc_Position_Form_Cursor(void); 32 + void* _nc_Refresh_Current_Field(void); 33 + void* _nc_Set_Current_Field(void); 34 + void* _nc_Set_Form_Page(void); 35 + void* _nc_Synchronize_Attributes(void); 36 + void* _nc_Synchronize_Options(void); 37 + void* _nc_Widen_String(void); 38 + void* current_field(void); 39 + void* data_ahead(void); 40 + void* data_behind(void); 41 + void* dup_field(void); 42 + void* dynamic_field_info(void); 43 + void* field_arg(void); 44 + void* field_back(void); 45 + void* field_buffer(void); 46 + void* field_count(void); 47 + void* field_fore(void); 48 + void* field_index(void); 49 + void* field_info(void); 50 + void* field_init(void); 51 + void* field_just(void); 52 + void* field_opts(void); 53 + void* field_opts_off(void); 54 + void* field_opts_on(void); 55 + void* field_pad(void); 56 + void* field_status(void); 57 + void* field_term(void); 58 + void* field_type(void); 59 + void* field_userptr(void); 60 + void* form_driver(void); 61 + void* form_fields(void); 62 + void* form_init(void); 63 + void* form_opts(void); 64 + void* form_opts_off(void); 65 + void* form_opts_on(void); 66 + void* form_page(void); 67 + void* form_request_by_name(void); 68 + void* form_request_name(void); 69 + void* form_sub(void); 70 + void* form_term(void); 71 + void* form_userptr(void); 72 + void* form_win(void); 73 + void* free_field(void); 74 + void* free_fieldtype(void); 75 + void* free_form(void); 76 + void* link_field(void); 77 + void* link_fieldtype(void); 78 + void* move_field(void); 79 + void* new_field(void); 80 + void* new_fieldtype(void); 81 + void* new_form(void); 82 + void* new_page(void); 83 + void* pos_form_cursor(void); 84 + void* post_form(void); 85 + void* scale_form(void); 86 + void* set_current_field(void); 87 + void* set_field_back(void); 88 + void* set_field_buffer(void); 89 + void* set_field_fore(void); 90 + void* set_field_init(void); 91 + void* set_field_just(void); 92 + void* set_field_opts(void); 93 + void* set_field_pad(void); 94 + void* set_field_status(void); 95 + void* set_field_term(void); 96 + void* set_field_type(void); 97 + void* set_field_userptr(void); 98 + void* set_fieldtype_arg(void); 99 + void* set_fieldtype_choice(void); 100 + void* set_form_fields(void); 101 + void* set_form_init(void); 102 + void* set_form_opts(void); 103 + void* set_form_page(void); 104 + void* set_form_sub(void); 105 + void* set_form_term(void); 106 + void* set_form_userptr(void); 107 + void* set_form_win(void); 108 + void* set_max_field(void); 109 + void* set_new_page(void); 110 + void* unpost_form(void); 111 + 112 + #endif
+552
src/lib/form/src/form.c
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + 21 + #include <form/form.h> 22 + #include <stdlib.h> 23 + #include <stdio.h> 24 + 25 + static int verbose = 0; 26 + 27 + __attribute__((constructor)) 28 + static void initme(void) { 29 + verbose = getenv("STUB_VERBOSE") != NULL; 30 + } 31 + 32 + void* _nc_Copy_Argument(void) 33 + { 34 + if (verbose) puts("STUB: _nc_Copy_Argument called"); 35 + return NULL; 36 + } 37 + 38 + void* _nc_Copy_Type(void) 39 + { 40 + if (verbose) puts("STUB: _nc_Copy_Type called"); 41 + return NULL; 42 + } 43 + 44 + void* _nc_First_Active_Field(void) 45 + { 46 + if (verbose) puts("STUB: _nc_First_Active_Field called"); 47 + return NULL; 48 + } 49 + 50 + void* _nc_Free_Argument(void) 51 + { 52 + if (verbose) puts("STUB: _nc_Free_Argument called"); 53 + return NULL; 54 + } 55 + 56 + void* _nc_Free_Type(void) 57 + { 58 + if (verbose) puts("STUB: _nc_Free_Type called"); 59 + return NULL; 60 + } 61 + 62 + void* _nc_Internal_Validation(void) 63 + { 64 + if (verbose) puts("STUB: _nc_Internal_Validation called"); 65 + return NULL; 66 + } 67 + 68 + void* _nc_Make_Argument(void) 69 + { 70 + if (verbose) puts("STUB: _nc_Make_Argument called"); 71 + return NULL; 72 + } 73 + 74 + void* _nc_Position_Form_Cursor(void) 75 + { 76 + if (verbose) puts("STUB: _nc_Position_Form_Cursor called"); 77 + return NULL; 78 + } 79 + 80 + void* _nc_Refresh_Current_Field(void) 81 + { 82 + if (verbose) puts("STUB: _nc_Refresh_Current_Field called"); 83 + return NULL; 84 + } 85 + 86 + void* _nc_Set_Current_Field(void) 87 + { 88 + if (verbose) puts("STUB: _nc_Set_Current_Field called"); 89 + return NULL; 90 + } 91 + 92 + void* _nc_Set_Form_Page(void) 93 + { 94 + if (verbose) puts("STUB: _nc_Set_Form_Page called"); 95 + return NULL; 96 + } 97 + 98 + void* _nc_Synchronize_Attributes(void) 99 + { 100 + if (verbose) puts("STUB: _nc_Synchronize_Attributes called"); 101 + return NULL; 102 + } 103 + 104 + void* _nc_Synchronize_Options(void) 105 + { 106 + if (verbose) puts("STUB: _nc_Synchronize_Options called"); 107 + return NULL; 108 + } 109 + 110 + void* _nc_Widen_String(void) 111 + { 112 + if (verbose) puts("STUB: _nc_Widen_String called"); 113 + return NULL; 114 + } 115 + 116 + void* current_field(void) 117 + { 118 + if (verbose) puts("STUB: current_field called"); 119 + return NULL; 120 + } 121 + 122 + void* data_ahead(void) 123 + { 124 + if (verbose) puts("STUB: data_ahead called"); 125 + return NULL; 126 + } 127 + 128 + void* data_behind(void) 129 + { 130 + if (verbose) puts("STUB: data_behind called"); 131 + return NULL; 132 + } 133 + 134 + void* dup_field(void) 135 + { 136 + if (verbose) puts("STUB: dup_field called"); 137 + return NULL; 138 + } 139 + 140 + void* dynamic_field_info(void) 141 + { 142 + if (verbose) puts("STUB: dynamic_field_info called"); 143 + return NULL; 144 + } 145 + 146 + void* field_arg(void) 147 + { 148 + if (verbose) puts("STUB: field_arg called"); 149 + return NULL; 150 + } 151 + 152 + void* field_back(void) 153 + { 154 + if (verbose) puts("STUB: field_back called"); 155 + return NULL; 156 + } 157 + 158 + void* field_buffer(void) 159 + { 160 + if (verbose) puts("STUB: field_buffer called"); 161 + return NULL; 162 + } 163 + 164 + void* field_count(void) 165 + { 166 + if (verbose) puts("STUB: field_count called"); 167 + return NULL; 168 + } 169 + 170 + void* field_fore(void) 171 + { 172 + if (verbose) puts("STUB: field_fore called"); 173 + return NULL; 174 + } 175 + 176 + void* field_index(void) 177 + { 178 + if (verbose) puts("STUB: field_index called"); 179 + return NULL; 180 + } 181 + 182 + void* field_info(void) 183 + { 184 + if (verbose) puts("STUB: field_info called"); 185 + return NULL; 186 + } 187 + 188 + void* field_init(void) 189 + { 190 + if (verbose) puts("STUB: field_init called"); 191 + return NULL; 192 + } 193 + 194 + void* field_just(void) 195 + { 196 + if (verbose) puts("STUB: field_just called"); 197 + return NULL; 198 + } 199 + 200 + void* field_opts(void) 201 + { 202 + if (verbose) puts("STUB: field_opts called"); 203 + return NULL; 204 + } 205 + 206 + void* field_opts_off(void) 207 + { 208 + if (verbose) puts("STUB: field_opts_off called"); 209 + return NULL; 210 + } 211 + 212 + void* field_opts_on(void) 213 + { 214 + if (verbose) puts("STUB: field_opts_on called"); 215 + return NULL; 216 + } 217 + 218 + void* field_pad(void) 219 + { 220 + if (verbose) puts("STUB: field_pad called"); 221 + return NULL; 222 + } 223 + 224 + void* field_status(void) 225 + { 226 + if (verbose) puts("STUB: field_status called"); 227 + return NULL; 228 + } 229 + 230 + void* field_term(void) 231 + { 232 + if (verbose) puts("STUB: field_term called"); 233 + return NULL; 234 + } 235 + 236 + void* field_type(void) 237 + { 238 + if (verbose) puts("STUB: field_type called"); 239 + return NULL; 240 + } 241 + 242 + void* field_userptr(void) 243 + { 244 + if (verbose) puts("STUB: field_userptr called"); 245 + return NULL; 246 + } 247 + 248 + void* form_driver(void) 249 + { 250 + if (verbose) puts("STUB: form_driver called"); 251 + return NULL; 252 + } 253 + 254 + void* form_fields(void) 255 + { 256 + if (verbose) puts("STUB: form_fields called"); 257 + return NULL; 258 + } 259 + 260 + void* form_init(void) 261 + { 262 + if (verbose) puts("STUB: form_init called"); 263 + return NULL; 264 + } 265 + 266 + void* form_opts(void) 267 + { 268 + if (verbose) puts("STUB: form_opts called"); 269 + return NULL; 270 + } 271 + 272 + void* form_opts_off(void) 273 + { 274 + if (verbose) puts("STUB: form_opts_off called"); 275 + return NULL; 276 + } 277 + 278 + void* form_opts_on(void) 279 + { 280 + if (verbose) puts("STUB: form_opts_on called"); 281 + return NULL; 282 + } 283 + 284 + void* form_page(void) 285 + { 286 + if (verbose) puts("STUB: form_page called"); 287 + return NULL; 288 + } 289 + 290 + void* form_request_by_name(void) 291 + { 292 + if (verbose) puts("STUB: form_request_by_name called"); 293 + return NULL; 294 + } 295 + 296 + void* form_request_name(void) 297 + { 298 + if (verbose) puts("STUB: form_request_name called"); 299 + return NULL; 300 + } 301 + 302 + void* form_sub(void) 303 + { 304 + if (verbose) puts("STUB: form_sub called"); 305 + return NULL; 306 + } 307 + 308 + void* form_term(void) 309 + { 310 + if (verbose) puts("STUB: form_term called"); 311 + return NULL; 312 + } 313 + 314 + void* form_userptr(void) 315 + { 316 + if (verbose) puts("STUB: form_userptr called"); 317 + return NULL; 318 + } 319 + 320 + void* form_win(void) 321 + { 322 + if (verbose) puts("STUB: form_win called"); 323 + return NULL; 324 + } 325 + 326 + void* free_field(void) 327 + { 328 + if (verbose) puts("STUB: free_field called"); 329 + return NULL; 330 + } 331 + 332 + void* free_fieldtype(void) 333 + { 334 + if (verbose) puts("STUB: free_fieldtype called"); 335 + return NULL; 336 + } 337 + 338 + void* free_form(void) 339 + { 340 + if (verbose) puts("STUB: free_form called"); 341 + return NULL; 342 + } 343 + 344 + void* link_field(void) 345 + { 346 + if (verbose) puts("STUB: link_field called"); 347 + return NULL; 348 + } 349 + 350 + void* link_fieldtype(void) 351 + { 352 + if (verbose) puts("STUB: link_fieldtype called"); 353 + return NULL; 354 + } 355 + 356 + void* move_field(void) 357 + { 358 + if (verbose) puts("STUB: move_field called"); 359 + return NULL; 360 + } 361 + 362 + void* new_field(void) 363 + { 364 + if (verbose) puts("STUB: new_field called"); 365 + return NULL; 366 + } 367 + 368 + void* new_fieldtype(void) 369 + { 370 + if (verbose) puts("STUB: new_fieldtype called"); 371 + return NULL; 372 + } 373 + 374 + void* new_form(void) 375 + { 376 + if (verbose) puts("STUB: new_form called"); 377 + return NULL; 378 + } 379 + 380 + void* new_page(void) 381 + { 382 + if (verbose) puts("STUB: new_page called"); 383 + return NULL; 384 + } 385 + 386 + void* pos_form_cursor(void) 387 + { 388 + if (verbose) puts("STUB: pos_form_cursor called"); 389 + return NULL; 390 + } 391 + 392 + void* post_form(void) 393 + { 394 + if (verbose) puts("STUB: post_form called"); 395 + return NULL; 396 + } 397 + 398 + void* scale_form(void) 399 + { 400 + if (verbose) puts("STUB: scale_form called"); 401 + return NULL; 402 + } 403 + 404 + void* set_current_field(void) 405 + { 406 + if (verbose) puts("STUB: set_current_field called"); 407 + return NULL; 408 + } 409 + 410 + void* set_field_back(void) 411 + { 412 + if (verbose) puts("STUB: set_field_back called"); 413 + return NULL; 414 + } 415 + 416 + void* set_field_buffer(void) 417 + { 418 + if (verbose) puts("STUB: set_field_buffer called"); 419 + return NULL; 420 + } 421 + 422 + void* set_field_fore(void) 423 + { 424 + if (verbose) puts("STUB: set_field_fore called"); 425 + return NULL; 426 + } 427 + 428 + void* set_field_init(void) 429 + { 430 + if (verbose) puts("STUB: set_field_init called"); 431 + return NULL; 432 + } 433 + 434 + void* set_field_just(void) 435 + { 436 + if (verbose) puts("STUB: set_field_just called"); 437 + return NULL; 438 + } 439 + 440 + void* set_field_opts(void) 441 + { 442 + if (verbose) puts("STUB: set_field_opts called"); 443 + return NULL; 444 + } 445 + 446 + void* set_field_pad(void) 447 + { 448 + if (verbose) puts("STUB: set_field_pad called"); 449 + return NULL; 450 + } 451 + 452 + void* set_field_status(void) 453 + { 454 + if (verbose) puts("STUB: set_field_status called"); 455 + return NULL; 456 + } 457 + 458 + void* set_field_term(void) 459 + { 460 + if (verbose) puts("STUB: set_field_term called"); 461 + return NULL; 462 + } 463 + 464 + void* set_field_type(void) 465 + { 466 + if (verbose) puts("STUB: set_field_type called"); 467 + return NULL; 468 + } 469 + 470 + void* set_field_userptr(void) 471 + { 472 + if (verbose) puts("STUB: set_field_userptr called"); 473 + return NULL; 474 + } 475 + 476 + void* set_fieldtype_arg(void) 477 + { 478 + if (verbose) puts("STUB: set_fieldtype_arg called"); 479 + return NULL; 480 + } 481 + 482 + void* set_fieldtype_choice(void) 483 + { 484 + if (verbose) puts("STUB: set_fieldtype_choice called"); 485 + return NULL; 486 + } 487 + 488 + void* set_form_fields(void) 489 + { 490 + if (verbose) puts("STUB: set_form_fields called"); 491 + return NULL; 492 + } 493 + 494 + void* set_form_init(void) 495 + { 496 + if (verbose) puts("STUB: set_form_init called"); 497 + return NULL; 498 + } 499 + 500 + void* set_form_opts(void) 501 + { 502 + if (verbose) puts("STUB: set_form_opts called"); 503 + return NULL; 504 + } 505 + 506 + void* set_form_page(void) 507 + { 508 + if (verbose) puts("STUB: set_form_page called"); 509 + return NULL; 510 + } 511 + 512 + void* set_form_sub(void) 513 + { 514 + if (verbose) puts("STUB: set_form_sub called"); 515 + return NULL; 516 + } 517 + 518 + void* set_form_term(void) 519 + { 520 + if (verbose) puts("STUB: set_form_term called"); 521 + return NULL; 522 + } 523 + 524 + void* set_form_userptr(void) 525 + { 526 + if (verbose) puts("STUB: set_form_userptr called"); 527 + return NULL; 528 + } 529 + 530 + void* set_form_win(void) 531 + { 532 + if (verbose) puts("STUB: set_form_win called"); 533 + return NULL; 534 + } 535 + 536 + void* set_max_field(void) 537 + { 538 + if (verbose) puts("STUB: set_max_field called"); 539 + return NULL; 540 + } 541 + 542 + void* set_new_page(void) 543 + { 544 + if (verbose) puts("STUB: set_new_page called"); 545 + return NULL; 546 + } 547 + 548 + void* unpost_form(void) 549 + { 550 + if (verbose) puts("STUB: unpost_form called"); 551 + return NULL; 552 + }
+1
src/lib/include/form
··· 1 + ../form/include/form