]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
cosmetic fix
[lyx.git] / src / ChangeLog
1 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2
3         * lyxfunc.C (dispatch): adjust for lyx::find
4
5         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6         lyx::find instead. Reorganize a bit.
7         (LyXReplace): rename to replace
8         (LyXFind): rename to find
9
10         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
11         (dispatch): ditto
12
13 2003-07-26  André Pönitz  <poenitz@gmx.net>
14
15         * text.C (setHeightOfRow): restrict scope of temporary variable
16
17 2003-07-27  Asger Alstrup  <alstrup@local>
18
19         * text.C (fill): Optimise algorithm to exploit that we can reuse
20         the LyXFont for many characters.
21         (setHeightOfRow): Same thing.
22         (rowBreakPoint): Same thing.
23
24 2003-07-26  Asger Alstrup  <alstrup@local>
25
26         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
27
28         * text.C (singleWidth): Spurious font copying in hot-spot
29         singleWidth avoided. Reorder tests for arabic for efficiency.
30
31         * text.C (fill): handle empty paragraphs better.
32
33 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
34
35         * ispell.C:
36         * encoding.h: add includes
37
38         * lyxrc.C: remove reading of bind files
39
40         * lyx_main.C (init): setup bindings and menus only if we have a
41         gui.
42
43         * kbmap.C (read): new method. Do the actual reading of bind
44         files.
45
46         * converter.C (dvipdfm_options):
47         * bufferparams.C:
48         * lyxrc.C (read):
49         (output): adapt PAPER_* enums.
50
51         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
52
53         * bufferparams.h: remove paper-related enums from there
54
55         * paper.h: New file. A trivial header file to hold paper-related
56         enums. It should later expand to contain many paper-related
57         horrors access.
58
59         * lyxrc.C: declare extern displayTranslator
60
61 2003-07-27  José Matos  <jamatos@fep.up.pt>
62
63         * tabular.[Ch] (linuxdoc): add support for tables and figures
64         (linuxdoc).
65
66 2003-07-27  José Matos  <jamatos@fep.up.pt>
67
68         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
69         consistency in both functions.
70         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
71
72 2003-07-26  Asger Alstrup  <alstrup@local>
73
74         * rowpainter.C (paintRows): Change algorithm to work directly on
75         the insets rather than asking every character in the document
76         whether its an inset.
77
78 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
79
80         * buffer.C (openFileWrite): factorize some code
81
82 2003-07-26  Angus Leeming  <leeming@lyx.org>
83
84         * lyx_cb.C:
85         * lyx_main.[Ch]: replace occurances of system_tempdir with
86         os::getTmpDir().
87
88 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
89
90         * rename Inset to InsetOld
91
92 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
93
94         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
95         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
96         which I think is a bit clearer. EDIT is gone, since it was
97         premature optimisation, and broken for mathed anyway.
98         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
99         with cursor positioning in insets as well (math insets still do not
100         work, but that's a different story anyway.) It mysteriously
101         crashes sometimes with undo in the first paragraph, but I'm fairly
102         confident that this is a compiler bug.
103
104 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
105
106         * paragraph.C (Paragraph): adjust for new clone return type
107         (operator==): ditto
108         (copyIntoMinibuffer): ditto
109
110 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
111
112         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
113         by not having a special case, and always doing a full rebreak of
114         the document after undo.
115
116 2003-07-23  Angus Leeming  <leeming@lyx.org>
117
118         * factory.C (createInset): InsetExternal::setParams now takes a
119         Buffer const * arg.
120
121 2003-07-23  Angus Leeming  <leeming@lyx.org>
122
123         * factory.C (createInset): changed interface to the external and
124         graphics mailers' string2params functions.
125
126 2003-07-23  Angus Leeming  <leeming@lyx.org>
127
128         * factory.C (createInset): pass a
129         Buffer const * parameter to InsetExternalMailer's string2params.
130
131 2003-07-22  John Levon  <levon@movementarian.org>
132
133         * Thesaurus.h: include the right aiksaurus header
134
135 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
136
137         * MenuBackend.C (expand): check menu shortcuts unconditionally
138
139 2003-07-21  Angus Leeming  <leeming@lyx.org>
140
141         * factory.C (createInset): pass a
142         buffer_path parameter to InsetGraphicsMailer's string2params.
143
144 2003-07-21  Angus Leeming  <leeming@lyx.org>
145
146         * BufferView_pimpl.C (buffer):
147         * buffer.C (d-tor):
148         * lyx_main.C (LyX):
149         * lyxfunc.C (dispatch):
150         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
151         rather than the grfx shortcut.
152
153 2003-07-21  André Pönitz  <poenitz@gmx.net>
154
155         * rowpainter.C: remove unused variables
156
157         * tabular_funcs.C:
158         * tabular_funcs.h: move to tabular.C
159         * Makefile.am: adjust
160
161         * tabular.[Ch]: basic optical cleaning
162
163         * author.h: pass references, not values
164
165 2003-07-18  André Pönitz  <poenitz@gmx.net>
166
167         * lyxtext.h:
168         * metricsinfo.C:
169         * metricsinfo.h:
170         * rowpainter.C:
171         * text.C:
172         * text2.C:
173         * text3.C: two-phase drawing for InsetText and InsetTabular
174         some float -> int changes.
175
176 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
177
178         * lyx_main.C: fix the fix
179
180 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
181
182         * lyx_main.C: fix a crash in batch mode if no files specified
183         * converter.C: ws
184
185 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
186
187         * format.[Ch] (papersize): moved to BufferParams
188         * converter.[Ch] (dvips_options): moved to BufferParams
189         (dvipdfm_options): moved to anon namespace
190         * bufferparams.[Ch]: added above functions.
191
192 2003-07-17  André Pönitz  <poenitz@gmx.net>
193
194         * lyxtext.h:
195         * rowpainter.C:
196         * text2.C: don't call inset->update() anymore
197
198         * metricsinfo.[Ch]: add convenience constructor
199
200 2003-07-16  André Pönitz  <poenitz@gmx.net>
201
202         * lyxcursor.[Ch]:
203         * lyxfunc.[Ch]:
204         * text.C:
205         * text2.C: replace the LyXCursor::irow_ member with
206          on-demand computation of the value
207
208 2003-07-16  John Levon  <levon@movementarian.org>
209
210         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
211
212 2003-07-15  André Pönitz  <poenitz@gmx.net>
213
214         * text.C:
215         * text2.C: remove no more needed refresh_row
216
217 2003-07-15  André Pönitz  <poenitz@gmx.net>
218
219         * lyxtext.h:
220         * rowpainter.C:
221         * text2.C:
222         * text3.C: refresh_status tristate -> need_update bool
223
224 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
225
226         * lyxtext.h (init): remove reinit argument (act as if always true)
227         * text2.C: adjust to that
228
229 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
230
231         * bufferview_funcs.[Ch]: introduce function replaceSelection()
232         * text3.C: use it to delete selections in some cases
233         (bugs 441, 673, 702, 954).
234
235 2003-07-14  André Pönitz  <poenitz@gmx.net>
236
237         * rowpainter.[Ch]: reduce interface
238
239 2003-07-14  André Pönitz  <poenitz@gmx.net>
240
241         * BufferView_pimpl.C:
242         * text2.C: adjust after removing unused BufferView * argument
243
244 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
245
246         * text2.C (init): fix a crash fired on resize
247
248 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
249
250         * buffer.[Ch]: added new closing signal
251         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
252         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
253         BufferView::Pimpl via the closing the signal
254
255 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
256
257         * buffer.[Ch]: take out all bv-related from buffer
258         * BufferView.C:
259         * BufferView_pimpl.[Ch]: connect to new signals
260         * CutAndPaste.C: removed useless asserts
261         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
262         * lyxvc.[Ch]:
263         * vc-backend.[Ch]:
264         * lyxfunc.C: moved view-related funciontality from vc here
265         * paragraph.C: removed outdated comments
266         * text.C: ws
267
268 2003-07-10  André Pönitz  <poenitz@gmx.net>
269
270         * BufferView_pimpl.C:
271         * tabular.h:
272         * tabular_funcs.C:
273         * text.C:
274         * text2.C: remove InsetText::InnerCache, clean up consequences
275
276 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
277
278         * ispell.C: fix two typos in error messages
279
280 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
281
282         * Extend Note inset to other forms of annotation like Comment
283         and Greyedout. Right button click gives dialog.
284
285         Files modified or added (+):
286
287         * insetnote.[Ch]
288         * FormNote.[Ch]      +
289         * ControlNote.[Ch]   +
290         * form_note.fd       +
291         * Makefile.am in frontends/xforms, frontends/xforms/forms,
292         frontends/controllers
293         * xforms/Dialogs.C
294         * factory.C
295
296 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
297
298         * aspell.C: add missing namespace lyx::support
299
300 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
301
302         * BufferView.[Ch] (newFile): Add
303         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
304         * LaTeX.[Ch] (message): added this signal and use it
305         * buffer.[Ch] (busy, message): added these signals and use them
306         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
307         * converter.C:
308         * exporter.C:
309         * format.C:
310         * importer.C: use buffer signals instead of direct bv calling
311         * lyx_cb.[Ch] (ShowMessage): removed
312         * lyx_main.C:
313         * lyxfunc.C:
314         * paragraph_funcs.C:
315         * text2.C: use buffer signals
316
317 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
318
319         * introduce namespace lyx::graphics
320
321 2003-07-02  André Pönitz  <poenitz@gmx.net>
322
323         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
324
325 2003-07-01  André Pönitz  <poenitz@gmx.net>
326
327         * text.C:
328         * text2.C:
329         * text3.C:
330         * text_funcs.[Ch]:
331         * textcursor.h:
332         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
333           text*.C to text_func.C
334
335 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
336
337         * introduce namespace lyx::support
338
339 2003-06-30  André Pönitz  <poenitz@gmx.net>
340
341         * Chktex.C:
342         * funcrequest.C:
343         * lyxtext.h:
344         * text.C: re-enable --with-included-string
345
346 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
347
348         * textcursor.C: add <config.h>
349
350         * text.C (getWord): remove const from word_location arg
351
352         * lyxvc.C (getLogFile): fix const type order
353
354         * lyxtext.h: remove const from word_location arg, add arg name
355
356         * lyxlayout.h: currect type on labeltype.
357
358         * importer.C: correct \file
359
360         * converter.C (intToFormat): use std:: on ret val, ws changes
361
362         * bufferlist.h: correct \file
363
364         * buffer.C (makeLinuxDocFile): fix const type order
365         (makeDocBookFile): ditto
366         (fillWithBibKeys): use std:: on stdlib args.
367
368         * CutAndPaste.C: fix authors.
369         (availableSelections): use std:: on return vector
370
371 2003-06-27  André Pönitz  <poenitz@gmx.net>
372
373         * BufferView_pimpl.C:
374         * bufferview_funcs.C:
375         * lyxcursor.C:
376         * lyxcursor.h:
377         * lyxfunc.C:
378         * lyxtext.h:
379         * rowpainter.C:
380         * text.C:
381         * text2.C:
382         * text3.C: remove LyXCursor::row_ member
383
384         * lyxtext.h:
385         * text.C: rename fullRebreak() to partialRebreak() and implement
386           a fullRebreak() that really bereks fully
387
388         * textcursor.h: new struct for cursor-related data
389
390 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
391
392         * lyx_main.C (LyX): get full path of document loaded on the
393         command line
394
395 2003-06-26  André Pönitz  <poenitz@gmx.net>
396
397         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
398           remove unused/broken operator>,<,>=.
399
400         *       text.C: remove only use of broken operator<= in an Assert().
401
402 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
403
404         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
405         moved errorlist_.clear to showErrorList
406
407 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
408
409         * converter.C (scanLog, runLaTeX):
410         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
411         move the bv->showErrorList call to the callers
412         * lyxfunc.C: i.e. here...
413         * text2.C: and here
414         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
415         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
416         namespace, the second to...
417         * buffer_funcs (BufferFormat, parseErrors): added
418         * errorlist.C (ErrorList(TeXErrors const &)): removed
419
420 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
421
422         * ToolbarBackend.C (getIcon): complain when icon cannot be found
423
424 2003-06-24  "Garst R. Reese" <reese@isn.net>
425
426         * debug.C: fix typo
427
428 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
429
430         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
431
432         * version.C.in: change docversion to 1.4
433
434 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
435
436         * buffer.C: fix a bug just introduced
437
438 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
439
440         * buffer.[Ch]: added the parseError signal and use it, removed
441         sgmlError
442         * BufferView.[Ch] (addError): moved to ...
443         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
444         to the Buffer::parseError signal to catch (guess what) parse errors
445         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
446
447 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
448
449         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
450         ability to create a buffer and to return an existing one from
451         the list. Moved these functions to...
452         * buffer_funcs.[Ch]: added
453         * BufferView.[Ch] (loadLyXFile): added
454         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
455         job removed from bufferlist::loadLyXFile.
456         * buffer.C (setReadOnly): make it work without view
457         (i.e added an if (users))
458
459 2003-06-19  Angus Leeming  <leeming@lyx.org>
460
461         * lfuns.h:
462         * LyXAction.C (init):
463         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
464         with LFUN_DIALOG_SHOW <name> <data>.
465
466 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
467
468         * CutAndPaste.C (availableSelections): small compilation fix for
469         ancient (gcc 2.9x) compilers
470
471 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
472
473         * text3.C (cursorNext): add tmp var
474
475         * text2.C (updateCounters): for function calling out of for clause
476         (replaceSelectionWithString): ditto
477         (insertStringAsParagraphs): ditto
478         (getColumnNearX): add tmp var
479         (setCursorFromCoordinates): add tmp var
480         (cursorDownParagraph): add tmp var
481         (deleteEmptyParagraphMechanism): add tmp var
482
483         * text.C (insertChar): add tmp var
484
485         * rowpainter.C (paintDepthBar): add tmp var
486
487         * CutAndPaste.C (availableSelections): potentially check all
488         paragraphs in a cut to fill the shown strings.
489
490 2003-06-18  André Pönitz  <poenitz@gmx.net>
491
492         * kbmap.[Ch]: use vector<> instead of list<>
493
494 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
495
496         * text3.C (dispatch): handle arg to LFUN_PASTE, call
497         pasteSelection with index
498
499         * text2.C (pasteSelection): modify, call pasteSelection with index
500
501         * paragraph.C (asString): reimplement version with no interval to
502         call the one with interval.
503
504         * lyxtext.h: add index arg to pasteSelection
505
506         * MenuBackend.C (MenuItem): handle PasteRecent
507         (Menu::read::Menutags): add md_pasterecent
508         (read): handle it
509         (expandPasteRecent): new function
510         (expand): use it
511
512         * MenuBackend.h: add PasteRecent to MenuItem::Kind
513
514         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
515         the limited stack
516         (availableSelections): new function
517
518 2003-06-17  Angus Leeming  <leeming@lyx.org>
519
520         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
521
522 2003-06-17  Angus Leeming  <leeming@lyx.org>
523
524         * lfuns.h:
525         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
526
527         * lyxfunc.C (dispatch): invoke it.
528
529 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
530
531         * iterators.C (operator++, ParPosition): reintroduce some
532         const_cast for the benefit of older compilers.
533
534 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
535
536         * text3.C (dispatch): do not modify clipboard when doing
537         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
538         LFUN_DELETE_SKIP on a selection selection
539
540 2003-06-16  André Pönitz  <poenitz@gmx.net>
541
542         * BufferView.C:
543         * buffer.C:
544         * buffer.h:
545         * paragraph.C:
546         * tabular.[Ch]: IU of clone() and getLabelList();
547
548 2003-06-13  André Pönitz  <poenitz@gmx.net>
549
550         * tabular.h: compactification
551
552 2003-06-12  André Pönitz  <poenitz@gmx.net>
553
554         * tabular.C:
555         * tabular.h:
556         * tabular_funcs.h: some renaming plus whitespace
557
558 2003-06-12  André Pönitz  <poenitz@gmx.net>
559
560         * BufferView.C:
561         * BufferView_pimpl.C:
562         * CutAndPaste.C:
563         * buffer.C:
564         * iterators.[Ch]:
565         * lyxfunc.C:
566         * text.C:
567         * toc.C: Return a Paragraph & for ParIterator::operator*()
568
569 2003-06-11  John Levon  <levon@movementarian.org>
570
571         * lyx_main.C:
572         * ToolbarBackend.h:
573         * ToolbarBackend.C: add "Toolbars" section and
574         put the flags there
575
576 2003-06-10  Angus Leeming  <leeming@lyx.org>
577
578         * lfuns.h:
579         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
580
581         * lyxfunc.C (dispatch): invoke it.
582
583 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
584
585         * main.C: protect <ios> with HAVE_IOS
586         (main): protect sync_with_stdio with HAVE_IOS
587
588 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
589
590         * text2.C (cutSelection): adjust
591         (pasteSelection): adjust
592
593         * messages.C: handle get of empty string
594
595         * main.C (main): use sync_with_stdio(false)
596
597         * lyxfunc.C (dispatch): adjust
598
599         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
600         (WriteAs): remove unneeded BufferView arg.
601
602         * bufferparams.h: use correct types on papersize, papersize2 and
603         paperpackage.
604
605         * bufferparams.C (readToken): adjust for type
606         (writeLaTeX): add missing cases to switch.
607
608         * bufferlist.C (quitWriteBuffer): adjust
609         (close): adjust
610
611         * buffer.C (asciiParagraph): remove some commented code.
612
613         * CutAndPaste.C: remove current_view extern variable.
614         (cutSelection): add BufferParams arg.
615         (eraseSelection): add BufferParams arg.
616         (pasteSelection): add Buffer const & arg
617
618 2003-06-07  John Levon  <levon@movementarian.org>
619
620         * buffer.C:
621         * paragraph_funcs.C:
622         * paragraph_pimpl.C:
623         * text.C:
624         * text2.C:
625         * paragraph.h:
626         * paragraph.C: allow InsetERT to freely space lines,
627         and some consolidation of code
628
629 2003-06-06  José Matos  <jamatos@fep.up.pt>
630
631         * buffer.C (makeDocBookFile): fix bug #821
632
633 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
634
635         * BufferView_pimpl.C (dispatch): use Dialogs::visible
636
637 2003-06-04  Angus Leeming  <leeming@lyx.org>
638
639         * buffer.C: bump format to 224.
640
641 2003-06-05  André Pönitz  <poenitz@gmx.net>
642
643         * text2.C (redoParagraphs): remove two const_cast<>
644
645 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
646
647         * ParagraphList.h: remove last remnants of NO_STD_LIST
648
649 2003-06-03  Angus Leeming  <leeming@lyx.org>
650
651         * factory.C (createInset): small change to the way InsetExternal's params
652         are set.
653
654 2003-06-04  André Pönitz  <poenitz@gmx.net>
655
656         * buffer.h: use Undo directly instead of shared_ptr<Undo>
657
658         * paragraph_pimpl.h:
659         * paragraph.[Ch]: some Inset -> UpdatableInset changes
660
661         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
662
663         * undo_funcs.C: make some simple cases of undo work again
664
665 2003-06-03  John Levon  <levon@movementarian.org>
666
667         * ispell.C: HPUX doesn't have sys/select.h
668         (from Albert Chin)
669
670 2003-06-03  John Levon  <levon@movementarian.org>
671
672         * CutAndPaste.C: update tabular and include inset
673         buffer references
674
675         * buffer.h:
676         * paragraph.h:
677         * paragraph.C: remove owningBuffer(), don't pass Buffer
678         to clone()
679
680         * factory.C: insetGraphicsParams changed
681
682 2003-06-02  John Levon  <levon@movementarian.org>
683
684         * LyXAction.C:
685         * factory.C:
686         * lfuns.h:
687         * lyxfunc.C:
688         * text3.C: remove insetparent
689
690 2003-06-02  John Levon  <levon@movementarian.org>
691
692         * buffer.h:
693         * buffer.C: fix inset_iterator.end(), move out of line
694         (bug 1149)
695
696 2003-06-01  John Levon  <levon@movementarian.org>
697
698         * text3.C: use a proper cut/paste when doing inset
699         insert (from Jürgen Spitzmüller)
700
701 2003-06-01  John Levon  <levon@movementarian.org>
702
703         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
704
705 2003-05-30  André Pönitz  <poenitz@gmx.net>
706
707         * rowpainter.C: unify second drawing phase
708
709 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
710
711         * trans_mgr.C: remove one case of current_view
712
713         * text2.C (cursorBottom): delete NO_STD_LIST stuff
714
715         * paragraph_funcs.h: remove paragraph.h include
716
717         * paragraph.h: delete NO_STD_LIST stuff
718
719         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
720
721         * buffer.h: remove paragraph.h include
722
723         * ParagraphList.C: delete file
724
725         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
726
727         * toc.C (getTocList): adjust
728
729         * paragraph_pimpl.C (validate): adjust
730
731         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
732
733         * paragraph.C (Paragraph): adjust
734         (getPositionOfInset): use const_iterator, adjust
735         (bibitem): use const_iterator, adjust
736         (setInsetOwner): adjust
737
738         * iterators.C (operator++): adjust
739
740         * InsetList.[Ch]: Replace selfmade iterator with standard
741         vector::iterator also introduce const_iterator. Remove getPos,
742         getInset and setInset from InsetTable. Adjust accordingly.
743
744         * BufferView.C (lockInset): adjust
745         (ChangeInsets): adjust
746
747         * tabular.[Ch]: delete commented same_id functions
748
749 2003-05-28  John Levon  <levon@movementarian.org>
750
751         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
752
753 2003-05-28  André Pönitz  <poenitz@gmx.net>
754
755         * metricsinfo.[Ch]: remove 'fullredraw' member
756
757 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
758
759         * lyxtextclass.C (operator): remove caching.
760
761 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
762
763         * text3.C: adjust
764
765         * text2.C (cursorBottom): adjust
766         (setCounter): use ParagraphList::find, adjust
767
768         * text.C (workWidth): use ParagraphList::find, adjust
769
770         * lyxcursor.C (LyXCursor): adjust
771
772         * buffer.C (inset_iterator): adjust
773
774         * ParagraphList.h: make iterator(value_type) private, make
775         ParagraphList a friend of iterator.
776
777         * ParagraphList.C (find): new function
778
779         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
780
781 2003-05-27  André Pönitz  <poenitz@gmx.net>
782
783         * dimension.[Ch]: a -> asc, d -> des, w -> wid
784
785 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
786
787         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
788
789 2003-05-26  John Levon  <levon@movementarian.org>
790
791         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
792
793 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
794
795         * remove same_id from function signatures, adjust.
796
797 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
798
799         * undo_funcs.C (createUndo): use the id functions directly, adjust.
800
801         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
802
803         * paragraph.C (Paragraph): get rid of same_ids parameter
804
805         * ParagraphList.C (insert): adjust
806         (push_back): adjust
807
808 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
809
810         * paragraph_funcs.C (breakParagraph): adjust
811         (breakParagraphConservative): adjust
812
813         * buffer.C (readParagraph): adjust
814
815         * ParagraphList.C (insert): take a reference instead of a pointer
816         (insert): adjust
817
818         * paragraph.[Ch] (id): new function
819
820         * bufferlist.C (newFile): adjust
821
822         * ParagraphList.C (ParagraphList): adjust
823         (assign): adjust
824         (push_back): take a reference instead of a pointer.
825
826         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
827
828         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
829         instead.
830
831         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
832         set else use old code.
833
834         * ParagraphList.C: remove all NO_NEXT code and only compile this
835         code of NO_STD_LIST is set.
836
837 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
838
839         * BufferView_pimpl.C:
840         * TextCache.C:
841         * TextCache.h:
842         * bufferlist.C:
843         * errorlist.h:
844         * format.C:
845         * format.h:
846         * graph.C:
847         * lyxfunc.C:
848         * lyxrc.C:
849         * graphics/GraphicsConverter.C:
850         * graphics/PreviewLoader.C: header adjustment
851
852 2003-05-23  Angus Leeming  <leeming@lyx.org>
853
854         * LaTeXFeatures.[Ch] (useBabel): new method.
855         * bufferparams.C (writeLaTeX): use it.
856
857 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
858
859         * ParagraphList.h (set): remove unused function.
860
861 2003-05-23  André Pönitz  <poenitz@gmx.net>
862
863         * BufferView.C:
864         * BufferView_pimpl.C:
865         * buffer.C:
866         * buffer.h:
867         * lyxfunc.C:
868         * undo_funcs.C: setUndo reworked
869
870         * iterators.[Ch]: add access to topmost ParagraphList
871
872         * lyxtext.[Ch] (workWidth): add a const
873
874 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
875
876         * texrow.[Ch] (increasePos): remove function
877         * exporter.C (export): removed unused var and outdated comment
878
879 2003-05-23  Angus Leeming  <leeming@lyx.org>
880
881         * latexrunparams.h: rename fragile as moving_arg.
882         * paragraph.C (simpleTeXOnePar): ditto.
883         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
884
885 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
886
887         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
888         (createUndo): ditto
889         (textUndoOrRedo): comment out a currently unused var.
890
891         * paragraph.h (NO_NEXT): enable NO_NEXT
892
893         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
894
895         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
896
897         * exporter.C (Export): adjust for removeAutoInsets removal.
898
899         * buffer.C (runChktex): adjust for removeAutoInsets removal.
900
901         * LyXAction.C (init): remove LFUN_REMOVEERRORS
902
903         * BufferView.[Ch] (removeAutoInsets): delete function
904
905 2003-05-22  Angus Leeming  <leeming@lyx.org>
906
907         * latexrunparams.h: add a free_spacing variable.
908
909         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
910         to pass moving_arg, as the data is stored in runparams.fragile.
911
912         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
913         to Inset::latexOptional or to simpleTeXOnePar.
914
915         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
916         free_spacing arg to Inset::latexOptional.
917
918         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
919         free_spacing arg.
920
921 2003-05-22  Angus Leeming  <leeming@lyx.org>
922
923         * latexrunparams.h: add fragile and use_babel variables.
924
925         * bufferparams.[Ch] (writeLaTeX): return use_babel.
926         * buffer.C (makeLaTeXFile): store this returned value in
927         runparams.use_babel, thus passing it to the inset::latex methods.
928
929         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
930         simpleTeXSpecialChars as it is now stored in runparams.fragile.
931
932         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
933         longer has a fragile arg, as it is stored in runparams.fragile.
934
935         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
936         moving_arg parameter as the data is stored in runparams.fragile.
937
938         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
939         a fragile parameter as the data is stored in runparams.fragile.
940
941 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
942
943         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
944
945 2003-05-22  Angus Leeming  <leeming@lyx.org>
946
947         * latexrunparams.h: add a 'bool nice' which defaults to false.
948
949         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
950         now encapsulated within runparams.
951
952         * bufferlist.C (updateIncludedTeXfiles):
953         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
954
955 2003-05-22  Angus Leeming  <leeming@lyx.org>
956
957         * latexrunparams.h: new file containing struct LatexRunParams.
958         * Makefile.am: add new file.
959
960         * LaTeX.[Ch] (c-tor, run):
961         * buffer.[Ch] (makeLaTeXFile):
962         * bufferlist.[Ch] (updateIncludedTeXfiles):
963         * converter.C (convert, scanLog):
964         * converter.[Ch] (runLaTeX):
965         * exporter.C (Export):
966         * paragraph.[Ch] (simpleTeXOnePar):
967         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
968         * paragraph_funcs.[Ch] (latexParagraphs):
969         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
970         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
971         pass around a LatexRunParams parameter.
972
973 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
974
975         * paragraph.[Ch]: remove unused constructor
976
977         * ParagraphList.C (erase): new function, taking two iterators
978
979 2003-05-22  André Pönitz  <poenitz@gmx.net>
980
981         * undo_funcs.C: remove duplicated code
982
983         * iterator.[Ch]: operator=
984
985 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
986
987         * tabular.C (SetMultiColumn): ws changes
988
989         * rowpainter.C (paintFirst): get rid of a ->previous
990
991         * lyx_cb.C (getPossibleLabel): parlist simplification
992
993         * BufferView.C (ChangeInsets): simplify slightly.
994
995 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
996
997         * LyXAction.C: new lfun space-insert, kill protected-space-insert
998         * lfuns.h: new LFUN_SPACE
999         * lyxfunc.C: protected space has a new lfun
1000         * paragraph_funcs.C: read new space insets
1001         * text3.C:
1002         * factory.C: handle new space insets
1003
1004 2003-05-22  André Pönitz  <poenitz@gmx.net>
1005
1006         * BufferView.C:
1007         * BufferView_pimpl.C:
1008         * buffer.[Ch]:
1009         * lyxfunc.C:
1010         * undo_funcs.C: return a ParIterator from getParFromID.
1011
1012         * iterators.[Ch]: add two const's
1013
1014 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1015
1016         * toc.C (getTocList): adjust
1017
1018         * iterators.[Ch]: rework for parlist
1019
1020         * buffer.C (par_iterator_begin): adjust
1021         (par_iterator_end): adjust
1022
1023         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1024
1025         * BufferView.C (removeAutoInsets): adjust
1026         (ChangeInsets): adjust
1027
1028 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
1029
1030         * text.C (top_y): fix bug 1110
1031
1032 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
1033
1034         * errorlist.[Ch]: added
1035         * buffer.C:
1036         * BufferView.[Ch]:
1037         * BufferView_pimpl.C:
1038         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1039         instead
1040
1041 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1042
1043         * Makefile.am: ensure that lyx is relinked upon changes to the
1044         various "convenience" libs.
1045
1046 2003-05-20  Angus Leeming  <leeming@lyx.org>
1047
1048         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1049         files are compiled in alphabetical order again.
1050
1051         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1052
1053 2003-05-19  Angus Leeming  <leeming@lyx.org>
1054
1055         * gettext.[Ch]: remove "char const * _(char const *)".
1056
1057 2003-05-19  André Pönitz  <poenitz@gmx.net>
1058
1059         * dimension.[Ch]: promote from mathed/dimension.[Ch]
1060
1061         * Makefile.am:
1062         * BufferView.C:
1063         * DepTable.h:
1064         * LaTeXFeatures.C:
1065         * buffer.C:
1066         * lyxfont.C:
1067         * lyxlex.h:
1068         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1069
1070 2003-05-19  André Pönitz  <poenitz@gmx.net>
1071
1072         * buffer.C:
1073         * lyxlayout.[Ch]:
1074         * lyxtextclass.[Ch]:
1075         * paragraph.C:
1076         * paragraph_funcs.[Ch]:
1077         * text2.C:
1078         * text3.C: more insetenv work
1079
1080 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
1081
1082         * ParagraphParameters.C (params2string): small bug fixed
1083
1084 2003-05-16  André Pönitz  <poenitz@gmx.net>
1085
1086         * debug.C:
1087         * bufferview_funcs.C: patch from Kornel Benko to prevent
1088           crash when _(...) is called twice in a statement
1089
1090 2003-05-16  André Pönitz  <poenitz@gmx.net>
1091
1092         * BufferView.C:
1093         * lyxfunc.C:
1094         * text.C:
1095         * text2.C:
1096         * text3.C:
1097         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1098
1099 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
1100
1101         * lyx_main.C (init): remove spurious static_cast
1102
1103 2003-05-14  André Pönitz  <poenitz@gmx.net>
1104
1105         * BufferView.C: fix format string
1106
1107 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
1108
1109         * BufferView.[Ch] (insertErrors): removed
1110         * BufferView.[Ch] (showErrorList): added
1111         * buffer.C (runChkTeX):
1112         * converter.C (scanLog): call showErrorList instead of inserterrors
1113
1114 2003-05-13  André Pönitz  <poenitz@gmx.net>
1115
1116         * BufferView_pimpl.C:
1117         * buffer.C:
1118         * bufferview_func.C:
1119         * MenuBackend.C:
1120         * lyxfunc.C:
1121         * lyxrc.C:
1122         * tex-accent.C:
1123         * text3.C:
1124         * toc.C:
1125         * tabular_funcs.h: tostr() from its own header
1126
1127         * ParagraphParameters.C:
1128         * ToolbarBackend.C:
1129         * bufferparams.C:
1130         * format.C:
1131         * lyxlex_pimpl.C:
1132         * text3.C: STRCONV()
1133
1134 2003-05-12  André Pönitz  <poenitz@gmx.net>
1135
1136         * BufferView.C:
1137         * BufferView_pimpl.C:
1138         * CutAndPaste.C:
1139         * LaTeX.C:
1140         * LaTeXFeatures.C:
1141         * ParagraphParameters.C:
1142         * buffer.C:
1143         * bufferlist.C:
1144         * bufferparams.C:
1145         * bufferview_funcs.C:
1146         * converter.C:
1147         * counters.C:
1148         * debug.C:
1149         * exporter.C:
1150         * format.C:
1151         * importer.C:
1152         * lyx_cb.C:
1153         * lyx_main.C:
1154         * lyxfont.C:
1155         * lyxfunc.C:
1156         * lyxvc.C:
1157         * paragraph.C:
1158         * paragraph_funcs.C:
1159         * tabular.C:
1160         * tabular_funcs.C:
1161         * text2.C:
1162         * text3.C:  boost::format -> bformat  all over the place
1163
1164
1165 2003-05-09  André Pönitz  <poenitz@gmx.net>
1166
1167         * LColor.[Ch]: Pimpl the #include <map> away
1168
1169 2003-05-09  John Levon  <levon@movementarian.org>
1170
1171         * bufferlist.C: never remove emergency saves
1172
1173 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1174
1175         * Makefile.am: better lib building
1176
1177 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1178
1179         * texrow.[Ch]: remove dependency on Paragraph and just store a id
1180         instead.
1181         * paragraph_pimpl.C (simpleTeXBlanks): adjust
1182         (simpleTeXSpecialChars): adjust
1183         (simpleTeXSpecialChars): adjust
1184         * paragraph.C (simpleTeXOnePar): adjust
1185         * buffer.C (makeLaTeXFile): adjust
1186
1187         * Makefile.am (BOOST_LIBS): allow boost as system lib.
1188
1189         * text2.C (changeDepth): parlist cleanup
1190         (getColumnNearX): ditto
1191
1192         * rowpainter.C (getLabelFont): parlist cleanup
1193
1194         * bufferlist.C (newFile): parlist cleanup
1195
1196         * CutAndPaste.C (eraseSelection): parlist cleanup
1197
1198         * BufferView_pimpl.C (trackChanges): parlist cleanup
1199         (dispatch): ditto
1200
1201         * BufferView.C (lockInset): parlist cleanup.
1202         (ChangeInsets): ditto
1203
1204 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1205
1206         * CutAndPaste.h: Update file header.
1207
1208         * CutAndPaste.C: Update file header.
1209         Store the parts cut out of the Document in a limited_stack.
1210         (copySelection): adjust
1211         (pasteSelection): new function, takes the index in the limited stack.
1212         (nrOfParagraphs): adjust
1213         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1214         simplify error inset insertion.
1215         (checkPastePossible): adjust
1216
1217 2003-05-06  John Levon  <levon@movementarian.org>
1218
1219         * text2.C: don't cast wrap inset to float
1220
1221 2003-05-05  André Pönitz  <poenitz@gmx.net>
1222
1223         * iterator.C:
1224         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1225
1226         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1227           few naked Paragraph *.
1228
1229 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
1230
1231         * bufferparams.C: Output warning if a document with missing
1232         TeX document class is loaded
1233         * exporter.C: Disable TeX exports if the document class is missing
1234         * lyxtextclass.C:
1235         * lyxtextclass.h:
1236         * lyxtextclasslist.C: Handle new textclass.lst format; new method
1237         isTeXClassAvailable()
1238
1239 2003-05-03  John Levon  <levon@movementarian.org>
1240
1241         * BufferView.h:
1242         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1243         explicit cursor show/hide
1244
1245         * BufferView_pimpl.h:
1246         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1247         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1248
1249         * lyxfunc.C: hide cursor before dispatching.
1250
1251         * lyx_cb.C:
1252         * lyxfind.C:
1253         * text.C:
1254         * text3.C: remove explicit cursor hides
1255
1256 2003-05-02  André Pönitz  <poenitz@gmx.net>
1257
1258         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1259
1260         * undo_funcs.C:
1261         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1262           linked lists
1263
1264         * text2.C: tiny whitespace
1265
1266 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1267
1268         * undo_funcs.C: almost only ws changes.
1269
1270         * ParagraphList.C (splice): just return if pl is empty.
1271
1272 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1273
1274         * ParagraphList.C (splice): new function.
1275
1276         * CutAndPaste.C (pasteSelection): use it
1277
1278 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1279
1280         * CutAndPaste.C (pasteSelection): remove the last next and
1281         previous from this file.
1282
1283 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1284
1285         * CutAndPaste.C (pasteSelection): more clean up, user proper
1286         ParagraphList functions for pasteing.
1287
1288         * ParagraphList.C (insert): new function, three arg insert
1289
1290 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1291
1292         * ParagraphList.C (insert): new function, three arg insert
1293
1294         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1295         not on paragraphs.
1296
1297 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1298
1299         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1300
1301 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1302
1303         * CutAndPaste.C (pasteSelection): remove some unneeded code.
1304
1305 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1306
1307         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1308         (copySelection): clean up a bit.
1309         (pasteSelection): use make_pair
1310
1311         * ParagraphList.C (ParagraphList): implement copy constructor
1312         (operator=): implement, base on copy constructor.
1313         (assign): new func
1314
1315         * paragraph.C (erase): return a bool
1316
1317         * paragraph_pimpl.C (erasePos): remove function, move contents...
1318         (erase): ... here. Return a bool.
1319         (erase): call erase instead of erasePos.
1320
1321 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
1322
1323         * ParagraphList.h: define PitPosPair
1324         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1325         ParagraphList, fix a bug on pasting multiple pars
1326         * text2.C: change interface to C&P
1327
1328 2003-04-30  André Pönitz  <poenitz@gmx.net>
1329
1330         * undo_func.C: revert part of yesterday's patch 2
1331
1332 2003-04-30  John Levon  <levon@movementarian.org>
1333
1334         * LColor.C: s/tabular/table/
1335
1336 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
1337
1338         * text3.C (dispatch): do not convert iterator -> pointer
1339         * undo_funcs.C (setCursorParUndo): ditto
1340         * text_funcs.C (transposeChars): ditto
1341
1342         * text2.C (setLayout): ws changes only
1343
1344         * text.C (breakParagraph): do not convert iterator -> pointer
1345         (insertChar): ditto
1346         (acceptChange): ditto
1347         (rejectChange): ditto
1348         (changeCase): ditto
1349         (Delete): ditto
1350         (backspace): ditto
1351
1352         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1353         pointer
1354
1355 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
1356
1357         * text3.C (gotoInset): YABG (yet another bad getChar)
1358
1359 2003-04-29  André Pönitz  <poenitz@gmx.net>
1360
1361         * paragraph.h: make operator= private unimplemented as long as
1362           it is unusable
1363
1364         * ParagraphList.C: whitespace
1365
1366         * paragraph.[Ch]:
1367         * paragraph_pimpl.[Ch]:
1368         * paragraph_funcs.C:
1369         * CutAndPaste.C:
1370         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
1371
1372         * text2.C:
1373           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1374
1375 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
1376
1377         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1378         * paragraph.[Ch] (erase):
1379         * paragraph_pimpl.[Ch] (erase): change return type and value
1380         * text2.C (cutSelection): some rework
1381
1382 2003-04-28  John Levon  <levon@movementarian.org>
1383
1384         * bufferlist.C: changes for unsaved changes dialog
1385
1386 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1387
1388         * bufferlist.C (newFile): set language (messages_) for new
1389         documents also.
1390
1391         * buffer.C (readFile): ws changes only.
1392
1393 2003-04-28  André Pönitz  <poenitz@gmx.net>
1394
1395         * undo_funcs.C:
1396         * lyxfunc.C:
1397         * buffer.[Ch]:
1398         * BufferView_pimpl.C:
1399         * BufferView.C: getParFromID related ParagraphList::iterator changes
1400
1401 2003-04-28  André Pönitz  <poenitz@gmx.net>
1402
1403         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1404           Changes
1405
1406 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1407
1408         * messages.C: remove one more localedir class variable.
1409
1410 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1411
1412         * messages.C (getLocaleDir): singleton generation function
1413         (Pimpl): use it.
1414         (Messages): add a default constructor.
1415
1416         * main.C (main): do not setup localedir here, do not call
1417         gettext_init.
1418
1419         * gettext.C (_): use it.
1420         (gettext_init): delete funciton
1421
1422 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1423
1424         * gettext.C (getLyXMessages): new singleton generating function.
1425
1426         * buffer.C (updateDocLang): adjust
1427
1428         * Makefile.am (messages.o): add target
1429         (main.o): remove target
1430
1431 2003-04-27  John Levon  <levon@movementarian.org>
1432
1433         * bufferlist.C:
1434         * lyx_cb.C:
1435         * lyxfunc.C:
1436         * lyxvc.C: specify cancel button in Alert::prompt
1437
1438 2003-04-26  John Levon  <levon@movementarian.org>
1439
1440         * text3.C:
1441         * lyxfunc.C:
1442         * lfuns.h:
1443         * LyXAction.C: add LFUN_INSET_SETTINGS
1444
1445         * lyxfunc.C: don't enable tabular-feature when there's
1446         just any locking inset
1447
1448 2003-04-26  John Levon  <levon@movementarian.org>
1449
1450         * bufferlist.C: re-add Cancel to buffer close question
1451
1452         * lyxfunc.C: fix import UI a bit
1453
1454 2003-04-25  John Levon  <levon@movementarian.org>
1455
1456         * gettext.C: remove the broken asserts for now
1457
1458 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1459
1460         * messages.C: make case where setlocale cannot comply work better.
1461
1462         * buffer.C (updateDocLang): new function
1463         (changeLanguage): use it
1464         (readFile): use it
1465
1466         * text2.C (setCounter): use B_ a bit.
1467
1468         * lyxlayout.C (Read): be sure to trim the label strings.
1469
1470         * messages.C (Messages): fix typo in comment
1471
1472         * buffer.C (readFile): set message_ after file is loaded.
1473         (makeDocBookFile): remove double return
1474         (changeLanguage): reset message_ upon language change.
1475         (B_): new func, use this to get translated buffer strings.
1476
1477         * main.C: add myself and Jean Marc as authors.
1478
1479 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1480
1481         * messages.[hC]: pimplify Messages, and three different pimpls to be
1482         used in different circumstances.
1483
1484         * gettext.[Ch]: change for use with new message code.
1485
1486 2003-04-24 André Pönitz <poenitz@gmx.net>
1487
1488         * factory.C: support for eqref
1489
1490 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1491
1492         * messages.[Ch]: add missing char
1493
1494         * Makefile.am (lyx_SOURCES): add messages.[Ch]
1495
1496         * messages.[Ch]: New files
1497
1498 2003-04-18  John Levon  <levon@movementarian.org>
1499
1500         * BufferView.h:
1501         * BufferView.C:
1502         * BufferView_pimpl.C:
1503         * lfuns.h:
1504         * LyXAction.C:
1505         * lyxtext.h:
1506         * text2.C: remove layout-copy/paste (bug 778)
1507
1508 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
1509
1510         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1511
1512 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
1513
1514         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1515         if they succeed. Act accordingly.
1516
1517 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1518
1519         * text2.C (setCharFont): adjust
1520         (setCounter): adjust
1521         (insertStringAsLines): adjust
1522
1523         * text.C (leftMargin): adjust
1524         (setHeightOfRow): adjust
1525
1526         * rowpainter.C (paintFirst): adjust
1527         (paintLast): adjust
1528
1529         * paragraph_funcs.C (depthHook): ParagraphList::iterators
1530         (outerHook): ditto
1531         (isFirstInSequence): ditto
1532         (getEndLabel): ditto
1533         (outerFont): adjust
1534
1535         * paragraph.C (getParLanguage): comment out some hard stuff.
1536
1537         * buffer.C (insertStringAsLines): take a ParagraphList as arg
1538         (sgmlError): ditto
1539         (simpleDocBookOnePar): ditto
1540         (makeDocBookFile): use ParagraphList::iterator
1541
1542         * CutAndPaste.C (pasteSelection): adjust
1543
1544 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1545
1546         * text2.C (getFont): adjust
1547         (getLayoutFont): adjust
1548         (getLabelFont): adjust
1549
1550         * paragraph_funcs.C (TeXOnePar): adjust
1551
1552         * buffer.C (simpleLinuxDocOnePar): adjust
1553         (simpleDocBookOnePar): adjust
1554
1555         * CutAndPaste.C (pasteSelection): adjust
1556
1557         * BufferView.C (getEncoding): adjust
1558
1559         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1560
1561 2003-04-16  John Levon  <levon@movementarian.org>
1562
1563         * lyxfind.C: use parlist stuff for search/changes
1564
1565 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1566
1567         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1568
1569         * text2.C (deleteEmptyParagraphMechanism): adjust
1570
1571         * text2.[Ch] (ownerParagraph): delete func (both of them
1572
1573 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1574
1575         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1576
1577 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1578
1579         * ParagraphList.C: prepare for NO_NEXT
1580
1581 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1582
1583         * text2.C (getFont): adjust
1584         (getLayoutFont): adjust
1585         (getLabelFont): adjust
1586
1587         * paragraph.C (getFont): adjust
1588         (getLabelFont): adjust
1589         (getLayoutFont): adjust
1590
1591         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1592
1593 2003-04-15  John Levon  <levon@movementarian.org>
1594
1595         From Angus Leeming
1596
1597         * lyx_main.C: handle Include in .ui files
1598
1599 2003-04-15  John Levon  <levon@movementarian.org>
1600
1601         * MenuBackend.C: make the doc files length shorter
1602
1603         * ToolbarBackend.h:
1604         * ToolbarBackend.C: handle toolbar placement flags,
1605         Minibuffer
1606
1607 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1608
1609         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1610         adjust
1611
1612         * paragraph_funcs.C (TeXOnePar): adjust
1613
1614         * paragraph.C (getLabelFont): add outerfont arg, adjust
1615         (getLayoutFont): ditto
1616         (simpleTeXOnePar): adjust
1617
1618         * paragraph_pimpl.C (realizeFont): delete func
1619
1620 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
1621
1622         * text2.C (beforeFullRowInset): added a bad getchar check, removed
1623         row argument, constify cur argument.
1624
1625 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1626
1627         * text2.C (getFont): adjust
1628         (getLayoutFont): adjust
1629         (getLabelFont): adjust
1630
1631         * paragraph_funcs.C (TeXOnePar): adjust
1632         (outerFont): new func...
1633         (realizeFont): ...moved out from here, changed this to facilitate
1634         transition
1635
1636         * paragraph.C (getFont): take outerfont as arg, adjust
1637         (simpleTeXOnePar): add outerfont arg, adjust
1638
1639         * buffer.C (simpleLinuxDocOnePar): adjust
1640         (simpleDocBookOnePar): adjust
1641
1642         * CutAndPaste.C (pasteSelection): adjust
1643
1644         * BufferView.C (getEncoding): adjust
1645
1646 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1647
1648         * text2.C (setCharFont): adjust
1649         (setCounter): adjust
1650
1651         * text.C (leftMargin): adjust
1652         (setHeightOfRow): adjust
1653
1654         * rowpainter.C (paintFirst): adjust
1655         (paintLast): adjust
1656
1657         * paragraph_pimpl.C (realizeFont): adjust
1658
1659         * paragraph.C (isFirstInSequence): move from here...
1660         * paragraph_funcs.C (isFirstInSequence): ...to here
1661
1662         * paragraph.C (outerHook): move from here...
1663         * paragraph_funcs.C (outerHook): ...to here
1664
1665         * paragraph.C (depthHook): move from here...
1666         * paragraph_funcs.C (depthHook): ...to here
1667
1668         * paragraph.C (getEndLabel): move from here...
1669         * paragraph_funcs.C (getEndLabel): ...to here
1670
1671         * text2.C (realizeFont): move from here...
1672         * paragraph_funcs.C (realizeFont): ...to here
1673
1674 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1675
1676         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1677
1678 2003-04-14  Angus Leeming  <leeming@lyx.org>
1679
1680         * LColor.[Ch]: scrap LColor mathcursor.
1681
1682 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1683
1684         * lyxlex.[Ch] (text): delete function
1685         * trans.C (Load): adjust
1686         * paragraph_funcs.C (readParToken): adjust
1687
1688 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1689
1690         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1691         vector<char> instead of a char[].
1692
1693         * lyxlex_pimpl.C (getString): adjust
1694         (next): adjust
1695         (lex): use getString
1696         (eatLine): adjust
1697         (nextToken): adjust
1698
1699         * lyxlex.C (text): use pimpl_->getString()
1700         (getBool): ditto
1701         (findToken): ditto
1702
1703 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1704
1705         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1706         (makeFontEntriesLayoutSpecific): temp var for par.size()
1707         (setLayout): temp var for ownerParagraphs().end()
1708         (fullRebreak): temp var for rows().end()
1709         (selectionAsString): temp var for boost::next(startpit), realize
1710         that the while really is a regular for loop.
1711         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1712         setCursor in one place.
1713         (setParagraph): temp vr for ownerParagraphs().end()
1714         (updateCounters): make the while loop a for loop
1715         (cutSelection): temp var for ownerParagraphs().end()
1716         (updateInset): make the do {} while() a regular for loop
1717         (getCursorX): use temp vars
1718         (setCurrentFont): use temp vars
1719         (getColumnNearX): use temp vars
1720
1721 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1722
1723         * text.C (transformChar): use temp var for getChar
1724         (computeBidiTables): use temp var for row->par()
1725         (fill): move temp vars for row->par() and pit->layout() earlier in
1726         the function.
1727         (labelFill): use temp var for row->par()
1728         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1729         asc and desc, realize that pit never changes and that firstpit is
1730         just a duplicate and not needed. Exchange rit->par() with pit in a
1731         lot of places.
1732         (breakAgain): use a temp var for boost::next(rit)
1733         (breakAgainOneRow): ditto
1734         (breakParagraph): use a temp var for rows().begin()
1735         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1736         (cursorRightOneWord): use temp var for cursor.par() and
1737         cursor.pos(), remove usage of tmpcursor.
1738         (cursorLeftOneWord): use temp var for cursor.par() and
1739         cursor.pos() only set cur at end of function.
1740
1741 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1742
1743         * text.C, text2.C: exchange all usage of Paragraph::next with
1744         boost::next(ParagraphList::iterator)
1745
1746         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1747
1748         * text2.C (cursorTop): simplify implementation
1749         (cursorBottom): ditto
1750         (setParagraph): use ParagraphList::iterator
1751         (setCurrentFont): adjust
1752         (getColumnNearX): adjust
1753         (cursorRight): adjust
1754         (cursorLeft): remove usage of Paragraph::previous
1755         (cursorUpParagraph): ditto
1756         (deleteEmptyParagraphMechanism): slight cleanup
1757
1758         * text.C (isBoundary): take a Paragraph const & instead of a
1759         pointer as arg.
1760         (addressBreakPoint): ditto
1761         (leftMargin): remove usage of Paragraph::previous.
1762         (setHeightOfRow): ditto
1763         (cursorLeftOneWord): ditto
1764         (selectNextWordToSpellcheck): ditto
1765         (Delete): ditto
1766         (backspace): ditto
1767         (breakParagraph): remove one usage of Paragraph::next
1768         (redoParagraph): ditto
1769         (acceptChange): ditto
1770         (insertChar): adjust
1771         (rowBreakPoint): adjust
1772
1773         * bufferview_funcs.C (toggleAndShow): adjust
1774
1775 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
1776
1777         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1778         methods to access it.
1779         * lyxtext.h:
1780         * text.C: Added updateRowPositions to compute all row positions.
1781         Make top_y and getRowNearY() to use the cached y position
1782
1783 2003-04-11  John Levon  <levon@movementarian.org>
1784
1785         * text.C (rowBreakPoint): reintroduce the labelEnd
1786         checks, code copied from the row fill stuff. Deep voodoo.
1787
1788         * text.C (fill): add a comment and debugging for the
1789         next poor soul.
1790
1791 2003-04-11  John Levon  <levon@movementarian.org>
1792
1793         * text.C: make sure fullrow insets get wrapped to the next line,
1794         even when they're in a manual label
1795
1796 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
1797
1798         * text2.C (insertParagraph): make it take ParagraphList::iterator
1799         as arg.
1800         (setLayout): make it return ParagraphList::iterator
1801         (redoParagraphs): ditto
1802         (setCounter): ditto
1803         (checkParagraph): ditto
1804
1805         * text.C (getRow): make getrow take ParagraphList::iterator as arg
1806
1807         * text2.C: adjust several funcs.
1808         (realizeFont): take a ParagraphList::iterator as arg.
1809         (getLayoutFont): ditto
1810         (getLabelFont): ditto
1811         (setCharFont): ditto
1812
1813         * text.C: adjust several funcs.
1814
1815 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
1816
1817         * text.C (selectNextWordToSpellcheck): don't accidentally
1818         skip insets
1819
1820 2003-04-10  John Levon  <levon@movementarian.org>
1821
1822         * ToolbarBackend.C (getIcon): special handling for
1823         LFUN_MATH_DELIM
1824
1825 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
1826
1827         * text2.C (cursorRight): a getChar assert fixed
1828
1829 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
1830
1831         * text2.C (getFont): change to take a ParagraphList::iterator
1832         instead of Paragraph*
1833         Adjust several functions.
1834
1835         * text.C (transformChar): change to take a ParagraphList::iterator
1836         instead of Paragraph*
1837         (singleWidth): ditto
1838         Adjust several functions.
1839
1840         * rowpainter.C: adjust several functions
1841         * rowpainter.h:store a ParagraphList::iterator and not a
1842         Paragraph&.
1843
1844
1845 2003-04-09  John Levon  <levon@movementarian.org>
1846
1847         * lyxfunc.C:
1848         * lfuns.h:
1849         * LyXAction.h:
1850         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1851         and the "help" bits as well
1852
1853 2003-04-09  John Levon  <levon@movementarian.org>
1854
1855         * ToolbarBackend.h:
1856         * ToolbarBackend.C: allow multiple toolbars
1857
1858 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
1859
1860         * undo_funcs.C (setCursorParUndo): adjust
1861
1862         * text_funcs.C (transposeChars): adjust
1863
1864         * text3.C (gotoNextInset): adjust
1865         (dispatch): adjust
1866
1867         * text2.C (setLayout): adjust
1868         (changeDepth): adjust
1869         (setFont): adjust
1870         (redoParagraphs): adjust
1871         (selectionAsString): adjust
1872         (setParagraph): adjust
1873         (insertInset): adjust
1874         (cutSelection): adjust
1875         (copySelection): adjust
1876         (pasteSelection): adjust
1877         (insertStringAsLines): adjust
1878         (updateInset): adjust
1879         (setCursor): change to take a ParagraphList::iterator parameter
1880         (setCursorIntern): change to take a ParagraphList::iterator parameter
1881         (setCurrentFont): adjust
1882         (cursorLeft): adjust
1883         (cursorRight): adjust
1884         (deleteEmptyParagraphMechanism): adjust
1885
1886         * text.C (breakParagraph): adjust
1887         (insertChar): adjust
1888         (acceptChange): adjust
1889         (rejectChange): adjust
1890         (selectNextWordToSpellcheck): adjust
1891         (changeCase): adjust
1892         (Delete): adjust
1893         (backspace): adjust
1894
1895         * lyxfind.C (SearchForward): adjust
1896         (SearchBackward): adjust
1897         (nextChange): adjust
1898
1899         * lyxcursor.C (par): adjust
1900
1901         * lyxcursor.h: store a ParagraphList::iterator instead of a
1902         Paragraph*
1903
1904         * lyx_cb.C (getPossibleLabel): adjust
1905
1906         * bufferview_funcs.C (toggleAndShow): adjust
1907
1908         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1909         (dispatch): adjust
1910
1911         * BufferView.C (removeAutoInsets): adjust
1912         (lockedInsetStoreUndo): adjust
1913
1914 2003-04-09  John Levon  <levon@movementarian.org>
1915
1916         * ToolbarBackend.C: try icon without argument
1917         if with argument fails
1918
1919 2003-04-08  John Levon  <levon@movementarian.org>
1920
1921         * ToolbarBackend.h:
1922         * ToolbarBackend.C: add getIcon(), handle tooltip,
1923         and change from "Icon" to "Item".
1924
1925 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
1926
1927         * BufferView.C (lockInset): another bad getchar crunched
1928
1929 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
1930
1931         * text2.C (changeDepth): do not setUndo on test_only (make undo work
1932         again)
1933
1934 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
1935
1936         * lyxfind.C (searchForward, searchBackwards): bug 782
1937
1938 2003-04-07  John Levon  <levon@movementarian.org>
1939
1940         * paragraph.C: remove dead comment
1941
1942         * text.C: remove troublesome depth-fiddling code
1943         in leftMargin() and rightMargin() (bug 1017)
1944
1945         * text.C: fix breaking of rows in nested lists
1946         (bug 1004)
1947
1948         * text2.C (updateCounters): fix up depth values
1949         (bug 1013)
1950
1951 2003-04-07  John Levon  <levon@movementarian.org>
1952
1953         * BufferView_pimpl.C: clear message when doc finishes resizing,
1954         and after a mouse event
1955
1956         * lyxfunc.C: clear message after exiting inset
1957
1958 2003-04-07  John Levon  <levon@movementarian.org>
1959
1960         * bufferview_funcs.C: show math status not outside
1961         status in the statusbar
1962
1963 2003-04-07  John Levon  <levon@movementarian.org>
1964
1965         * lyxfunc.C: note status changed after a depth change
1966
1967 2003-04-04  Angus Leeming  <angus@localhost.localdomain>
1968
1969         * LaTeX.h: move AuxInfo operator==, != out of line.
1970         Remove LaTeX virtual destructor; nothing derives from it.
1971         Move operator()() out of public area and rename it startscript().
1972         Change protected for private.
1973
1974 2003-04-04  Angus Leeming  <leeming@lyx.org>
1975
1976         * lyxfunc.C:
1977         * text2.C: remove unneeded #includes.
1978
1979 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
1980
1981         * text2.C (dEPM): fix the heigth of the next row
1982
1983 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
1984
1985         * text.C: squashed an invalid getChar requester + some ws changes
1986
1987 2003-04-03  John Levon  <levon@movementarian.org>
1988
1989         * bufferview_funcs.h:
1990         * bufferview_funcs.C:
1991         * lyxfunc.C:
1992         * lyxtext.h:
1993         * text2.C: make getStatus work for the env depth lfuns
1994
1995 2003-04-03  John Levon  <levon@movementarian.org>
1996
1997         * bufferview_funcs.h:
1998         * bufferview_funcs.C:
1999         * lyxfunc.C:
2000         * lyxtext.h:
2001         * text2.C: parlistize decDepth(), by merging it with incDepth()
2002
2003 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2004
2005         * lyxrow.h: store a ParagraphList::iterator instead of a
2006         Paragraph* and adjust other class functions to suit.
2007
2008         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2009         above.
2010
2011 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
2012
2013         * text2.C (setCursor): do not anchor to cursor row for the time being
2014
2015 2003-04-02  John Levon  <levon@movementarian.org>
2016
2017         * LyXAction.C:
2018         * lfuns.h:
2019         * lyx_main.C:
2020         * lyxtext.h:
2021         * text.C:
2022         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2023
2024 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2025
2026         * paragraph.h: make ParagraphList and ParagraphList::iterator
2027         friends of Paragraph.
2028
2029         * buffer.C (makeLinuxDocFile): move towards ParagraphList
2030
2031         * ParagraphList.C: Use the private next_ and previous_ from
2032         Paragraph.
2033
2034 2003-04-01  John Levon  <levon@movementarian.org>
2035
2036         * ToolbarBackend.h:
2037         * ToolbarBackend.C:
2038         * Makefile.am: rename, remove defaults gunk
2039
2040         * MenuBackend.h:
2041         * MenuBackend.C: remove defaults gunk
2042
2043         * Languages.h:
2044         * Languages.C: remove defaults gunk
2045
2046         * lyx_main.h:
2047         * lyx_main.C: error out if files couldn't be found.
2048
2049 2003-04-02  John Levon  <levon@movementarian.org>
2050
2051         * text2.C: make incDepth() use parlist
2052
2053 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2054
2055         * undo_funcs.C (firstUndoParagraph): adjust
2056
2057         * text3.C (gotoInset): adjust
2058         (dispatch): adjust, and rewrite loop.
2059
2060         * text2.C (init): adjust, and rewrite loop.
2061         (redoParagraphs): adjust
2062         (updateInset): adjust, and rewrite loop.
2063         (deleteEmptyParagraphMechanism): adjust
2064
2065         * tabular.C (LyXTabular): adjust
2066         (SetMultiColumn): adjust
2067         (TeXRow): adjust
2068
2069         * lyxtext.[Ch] (ownerParagraph): delete function
2070         (ownerParagraphs): new function returns a ParagraphList.
2071
2072         * BufferView.C (removeAutoInsets): adjust
2073         (insertErrors): adjust
2074         (setCursorFromRow): adjust
2075
2076 2003-04-01  Angus Leeming  <leeming@lyx.org>
2077
2078         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2079         in the frontends.
2080
2081 2003-04-02  John Levon  <levon@movementarian.org>
2082
2083         * lyxtext.h:
2084         * text.C:
2085         * Makefile.am:
2086         * text_funcs.h:
2087         * text_funcs.C: make transposeChars a free function
2088
2089         * lyxrow_funcs.C: remove wrong comment
2090
2091 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2092
2093         * lyxtext.h: adjust
2094         * rowpainter.C: adjust
2095         * text.C: adjust
2096         * text2.C: adjust
2097         * text3.C: adjust
2098
2099         * lyxrow_funcs. [Ch]: new files
2100
2101         * lyxrow.[Ch]: remove next and previous pointers
2102         (next,previous): remove accessor functions
2103         (isParEnd): move to lyxrow_funcs
2104         (lastPos): move to lyxrow_funcs
2105         (nextRowIsAllInset): move to lyxrow_funcs
2106         (lastPrintablePos): move to lyxrow_funcs
2107         (numberOfSeparators): move to lyxrow_funcs
2108         (numberOfHfills): move to lyxrow_funcs
2109         (numberOfLabelHfills): move to lyxrow_funcs
2110         (hfillExpansion): move to lyxrow_funcs
2111
2112         * lyxfunc.C: adjust
2113
2114         * bufferview_funcs.C (toggleAndShow): adjust
2115
2116         * RowList.h: Remove class RowList from file leave just a
2117         std::list<Row>.
2118
2119         * RowList.C: delete file
2120
2121         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2122         and lyxrow_funcs.h
2123
2124 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2125
2126         * text3.C (cursorPrevious): adjust
2127         (cursorNext): adjust
2128         (dispatch): adjust
2129
2130         * text2.C (redoHeightOfParagraph): adjust
2131         (redoDrawingOfParagraph): adjust
2132         (setCursor): adjust
2133
2134         * text.C (breakParagraph): adjust
2135         (insertChar): adjust
2136         (backspace): adjust
2137
2138         * rowpainter.C (RowPainter): adjust
2139         (leftMargin): simplify and adjust
2140         (most rowpainter functions): adjust.
2141
2142         * rowpainter.h: store the row as RowList::iterator not as Row*
2143
2144         * lyxcursor.C (row): taka RowList::iterator as arg
2145         (irow): ditto
2146
2147         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2148         of Row*.
2149
2150 2003-04-01  Angus Leeming  <leeming@lyx.org>
2151
2152         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2153         stuff like bool Bool.
2154
2155 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
2156
2157         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2158         rewrite a loop
2159
2160 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2161
2162         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2163         RowList::iterator.
2164
2165         * lyxtext.h (rows): drop one version and leve a const variant that
2166         returns a RowList::iterator.
2167
2168 2003-03-31  Angus Leeming  <leeming@lyx.org>
2169
2170         * text.C (fill): ensure that the signature is the same as that in the
2171         header file.
2172
2173 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
2174
2175         * text2.C (redoParagraphs): adjust
2176         (updateCounters): adjust
2177         (checkParagraph): adjust
2178         (getColumnNearX): adjust and reformat a bit.
2179
2180         * text.C (top_y): adjust
2181         (workWidth): adjust
2182         (leftMargin): adjust
2183         (prepareToPrint): adjust
2184         (getRow): adjust
2185         (getRowNearY): adjust
2186
2187         * lyxtext.h: make rowlist_ mutable.
2188
2189         * RowList.h: add const_iterator
2190         * RowList.C: adjust for RowList::const_iterator.
2191
2192         * text2.C (getCursorX): make it take a RowList::iterator as arg,
2193         adjust.
2194
2195 2003-03-31  John Levon  <levon@movementarian.org>
2196
2197         * lyxrc.h:
2198         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2199
2200         * lyx_main.C: set default fonts from using lyx_gui funcs
2201
2202         * exporter.C: pdf_mode moved from lyxrc
2203
2204         * lyx_cb.C:
2205         * lyxfunc.C: changes from above
2206
2207 2003-03-31  John Levon  <levon@movementarian.org>
2208
2209         * lyx_main.C: fix to the last fix
2210
2211 2003-03-31  John Levon  <levon@movementarian.org>
2212
2213         * bufferlist.C: "Load original" -> "Load Original"
2214
2215         * converter.C:
2216         * exporter.C:
2217         * importer.C:
2218         * lyx_main.C:
2219         * format.C: more Alert cleanups
2220
2221 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2222
2223         * text2.C (removeParagraph): make it take a RowList::iterator as
2224         arg, adjust.
2225         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2226         (postRowPaint): make it take a RowList::iterator as arg, adjust.
2227
2228         * text.C (anchor_row): make it take a RowList::iterator as arg,
2229         adjust.
2230         (computeBidiTables): make it take a const reference to Row instead
2231         of Row pointer, adjust.
2232         (leftMargin): make it take a RowList::iterator as arg, adjust.
2233         (rowBreakPoint): adjust
2234         (breakAgainOneRow): make it take a RowList::iterator as arg,
2235         adjust.
2236         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2237
2238         * bufferview_funcs.C (toggleAndShow): adjust
2239
2240 2003-03-30  John Levon  <levon@movementarian.org>
2241
2242         * Makefile.am:
2243         * BoostFormat.h:
2244         * boost-inst.C: moved to support
2245
2246         * several files: changes as a result
2247
2248 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2249
2250         * text2.C (LyXText): adjust.
2251         (init): adjust
2252         (removeRow): make it take a RowList::iterator as arg, adjust.
2253         (fullRebreak): adjust
2254         (deleteEmptyParagraphMechanism): adjust
2255         (clearPaint): adjust
2256         (postPaint): adjust
2257
2258         * text.C (top_y): adjust
2259         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2260         (breakAgain): make it take a RowList::iterator as arg, adjust.
2261         (breakParagraph): adjust
2262         (insertChar): adjust
2263         (backspace): adjust
2264
2265         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2266         need_break_row, and refresh_row.
2267
2268         * text3.C (dispatch): adjust
2269
2270         * text2.C (checkParagraph): adjust
2271         (setCursor): adjust
2272         (setCursorFromCoordinates): adjust
2273
2274         * text.C (top_y): adjust
2275         (workWidth): adjust
2276         (getRow): make it return a RowList::iterator, adjust
2277         (getRowNearY): make it return a RowList::iterator, adjust
2278
2279         * text2.C (init): adjust
2280         (insertRow): remove function
2281         (insertParagraph): adjust
2282         (redoParagraphs): adjust
2283         (fullRebreak): adjust
2284         (updateCounters): adjust
2285
2286         * text.C (top_y): rewrite to use RowList iterators.
2287         (top_y): adjust
2288         (setHeightOfRow): rewrite to sue RowList iterators.
2289         (appendParagraph): adjust
2290         (breakAgain): adjust
2291         (breakAgainOneRow): adjust
2292         (breakParagraph): adjust
2293         (getRow): adjust
2294         (getRowNearY): adjust, and remove commented code.
2295
2296         * lyxtext.h (firstRow): delete function
2297         (lastRow): delete function
2298         (rows): new function (const and non-const versions.)
2299         (insertRow): delete function
2300
2301         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2302
2303 2003-03-29  John Levon  <levon@movementarian.org>
2304
2305         * BufferView_pimpl.C: always update scrollbar top
2306         because pasting text when we're anchored could mean we
2307         miss an update altogether
2308
2309 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2310
2311         * text2.C (init): use rowlist_.end() and not 0.
2312         (insertRow): change to take a RowList::iterator as arg, adjust
2313         for this.
2314         (insertParagraph): change to take a RowList::iterator as arg,
2315         adjust for this.
2316         (redoParagraphs): remove some debug msgs.
2317
2318         * text.C (appendParagraph): change to take a RowList::iterator
2319         arg, adjust for this.
2320         (breakAgain): add an assert
2321         (breakAgainOneRow): ditto
2322
2323 2003-03-29  John Levon  <levon@movementarian.org>
2324
2325         * text2.C: do not clear selection after inc/decDepth
2326         (bug 550)
2327
2328 2003-03-29  John Levon  <levon@movementarian.org>
2329
2330         * BufferView.C:
2331         * buffer.C: fix broken strerrors according to Lars
2332
2333 2003-03-29  John Levon  <levon@movementarian.org>
2334
2335         * converters.C: more Alert cleanups
2336
2337 2003-03-29  John Levon  <levon@movementarian.org>
2338
2339         * bufferview_funcs.C: remove pointless Alert
2340
2341         * buffer.C: fix confusing error message when
2342         a template is chmoded 000
2343
2344 2003-03-29  John Levon  <levon@movementarian.org>
2345
2346         * BufferView.C:
2347         * BufferView.h:
2348         * BufferView_pimpl.C: Alert fixes
2349
2350         * Makefile.am:
2351         * tabular.C:
2352         * tabular-old.C: remove unused table compat reading
2353
2354 2003-03-29  John Levon  <levon@movementarian.org>
2355
2356         * BufferView.C:
2357         * buffer.C:
2358         * lyx_cb.h:
2359         * lyx_cb.C: more Alert cleanups
2360
2361         * lyxfunc.C: don't allow chktex if not latex document
2362
2363 2003-03-29  John Levon  <levon@movementarian.org>
2364
2365         * lyx_cb.C:
2366         * BufferView.C:
2367         * buffer.C: warnings pushed down from support/,
2368         kill err_alert
2369
2370 2003-03-29  John Levon  <levon@movementarian.org>
2371
2372         * lyxfunc.C: safety check for C-r (revert)
2373
2374 2003-03-29  John Levon  <levon@movementarian.org>
2375
2376         * bufferlist.h:
2377         * bufferlist.C: several UI fixes using Alert::prompt.
2378         Fix the pointless looping quit code. Fix stupid revert
2379         behaviour (bug 938)
2380
2381         * lyxvc.h:
2382         * lyxvc.C:
2383         * lyx_cb.C: use Alert::prompt
2384
2385         * lyx_main.C: remove a silly question
2386
2387         * lyxfunc.C: remove a couple of silly questions,
2388         use Alert::prompt
2389
2390 2003-03-28  John Levon  <levon@movementarian.org>
2391
2392         * text2.C: fix bug 974 (End on empty par)
2393
2394 2003-03-28  John Levon  <levon@movementarian.org>
2395
2396         * BufferView_pimpl.C:
2397         * LyXAction.C:
2398         * lfuns.h: remove do-nothing math greek lfuns
2399
2400 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2401
2402         * lyxgluelength.h (isValidGlueLength): add default arg on
2403         parameter 2. Remove default arg from friend in class.
2404
2405         * lyxlength.h (isValidLength): add default arg on parameter 2.
2406         Remove default arg from friend in class.
2407
2408         * text2.C (LyXText): adjust, initialize refresh_row.
2409         (init): adjust
2410         (removeRow): adjust
2411         (insertRow): adjust
2412         (insertParagraph): adjst
2413         (redoParagraphs): adjust
2414         (fullRebreak): adjust
2415         (updateCounters): adjust
2416         (deleteEmptyParagraphMechanism): first attempt at fixing a
2417         crashing bug.
2418
2419         * text.C (top_y): adjust
2420         (setHeightOfRow): adjust
2421         (getRow): adjust
2422         (getRowNearY): adjust
2423
2424         * lyxtext.h: include RowList.h
2425         (~LyXText): not needed anymore, deleted.
2426         (firstRow): modify for RowList
2427         (lastRow): new function
2428         Delete firstrow and lastrow class variables, add a Rowlist
2429         rowlist_ class variable.
2430
2431         * lyxrow.C (lastPos): use empty() and not !size() to check if a
2432         paragraph is empty.
2433
2434         * RowList.C (insert): fix case where it == begin().
2435
2436 2003-03-26  Angus Leeming  <leeming@lyx.org>
2437
2438         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2439         the thesaurus dialog.
2440
2441 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2442
2443         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2444
2445         * RowList.[Ch]: new files
2446
2447         * ParagraphList.C (erase): handle the case where it == begin
2448         correctly.
2449
2450 2003-03-25  John Levon  <levon@movementarian.org>
2451
2452         * Makefile.am:
2453         * aspell_local.h:
2454         * aspell.C: add new aspell support
2455
2456         * lyxrc.h:
2457         * lyxrc.C: Make use_pspell be use_spell_lib. Always
2458         have it accessible.
2459
2460 2003-03-25  Angus Leeming  <leeming@lyx.org>
2461
2462         * lfuns.h:
2463         * LyXAction.C (init): new LFUN_INSET_INSERT.
2464
2465         * BufferView_pimpl.C (dispatch): split out part of the
2466         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2467
2468         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2469         LFUN_INSET_APPLY.
2470
2471 2003-03-25  Angus Leeming  <leeming@lyx.org>
2472
2473         * lyxfunc.C (dispatch): changes to the Dialogs interface.
2474
2475 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
2476
2477         * text2.C:
2478         * text3.C: remove useless row->height(0)
2479
2480 2003-03-25  John Levon  <levon@movementarian.org>
2481
2482         * lyxtext.h:
2483         * text2.C:
2484         * text3.C: rename the refreshing stuff to better names
2485
2486 2003-03-24  John Levon  <levon@movementarian.org>
2487
2488         * BufferView_pimpl.h:
2489         * BufferView_pimpl.C: update layout choice on a mouse
2490         press/release
2491
2492 2003-03-23  John Levon  <levon@movementarian.org>
2493
2494         * Makefile.am: fix commandtags.h reference
2495
2496 2003-03-22  John Levon  <levon@movementarian.org>
2497
2498         * BufferView_pimpl.C:
2499         * lyxtext.h:
2500         * rowpainter.C:
2501         * rowpainter.h:
2502         * text.C:
2503         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2504
2505 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
2506
2507         * lyxtext.h:
2508         * text.C: take the rtl methods out of line
2509
2510 2003-03-21 André Pönitz <poenitz@gmx.net>
2511
2512         * metricsinfo.[Ch]: new files containing structures to be passed around
2513         during the two-phase-drawing...
2514
2515 2003-03-21 André Pönitz <poenitz@gmx.net>
2516
2517         * lyxtextclass.C: read 'environment' tag.
2518
2519 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
2520
2521         * text2.C (removeRow): fix bug 964
2522
2523 2003-03-20  John Levon  <levon@movementarian.org>
2524
2525         * rowpainter.C:
2526         * text.C:
2527         * text2.C: paint cleanups. Inset::update() dropped font
2528         parameter
2529
2530 2003-03-19  John Levon  <levon@movementarian.org>
2531
2532         * lyxfunc.C: only fitcursor/markDirty if available()
2533
2534 2003-03-19  John Levon  <levon@movementarian.org>
2535
2536         * commandtags.h: rename to ...
2537
2538         * lfuns.h: ... this, and renumber / cleanup
2539
2540 2003-03-19  John Levon  <levon@movementarian.org>
2541
2542         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2543         fit the cursor after an lfun
2544
2545         * BufferView.h:
2546         * BufferView.C:
2547         * BufferView_pimpl.h:
2548         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2549
2550         * LyXAction.C: layout-character should have ReadOnly
2551
2552         * ParagraphParameters.C:
2553         * buffer.C:
2554         * bufferview_funcs.C:
2555         * lyx_cb.C:
2556         * lyxfind.C:
2557         * lyxtext.h:
2558         * text.C:
2559         * text2.C:
2560         * text3.C:
2561         * undo_funcs.C: changes from above
2562
2563 2003-03-18  John Levon  <levon@movementarian.org>
2564
2565         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2566         remove it from update()
2567
2568         * lyxfunc.C: update layout choice after an lfun
2569
2570         * text3.C: remove extra updateLayoutChoice()s
2571
2572 2003-03-18  John Levon  <levon@movementarian.org>
2573
2574         * text.C: top_y change means full repaint, fix
2575         a drawing bug with cursor movement
2576
2577 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
2578
2579         * lyxtext.h:
2580         * text.C:
2581         * text2.C: anchor row on setCursor
2582
2583 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
2584
2585         * lyxtext.h: remove almost all mutable keywords
2586         * text.C:
2587         * text2.C:
2588         * text3.C: remove const keywords accordingly
2589
2590 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2591
2592         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2593         anon namespace
2594         (TeXEnvironment): ditto
2595         (TeXOnePar): ditto
2596
2597 2003-03-17  John Levon  <levon@movementarian.org>
2598
2599         * text.C (rowBreakPoint): remove attempt to fix displayed
2600         math insets inside a manual label
2601
2602 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2603
2604         * lyxtext.h: remove BufferView* as first arg from almost all class
2605         functions.
2606         * other files: adjust.
2607
2608 2003-03-17  John Levon  <levon@movementarian.org>
2609
2610         * lyxtext.h:
2611         * undo_funcs.C:
2612         * text2.C: more paint cleanups
2613
2614         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2615
2616         * rowpainter.h:
2617         * rowpainter.C: remove "smart" background painting code
2618
2619 2003-03-16  John Levon  <levon@movementarian.org>
2620
2621         * lyxtext.h:
2622         * text.C:
2623         * text2.C:
2624         * text3.C: add helper functions for setting refresh_row/y
2625
2626 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
2627
2628         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2629         newline inset which *can* get inserted in the pass_thru layouts.
2630         This is primarily for literate documents.
2631
2632 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
2633
2634         * buffer.C: increment LYX_FORMAT to 223
2635
2636 2003-03-14 André Pönitz <poenitz@gmx.net>
2637
2638         * textclass.h: prepare for environment handling, ws changes
2639         * lyxlayout.C: read latexheader and latexfooter tags
2640
2641 2003-03-14  John Levon  <levon@movementarian.org>
2642
2643         * text2.C: rewrite ::status() a bit
2644
2645 2003-03-13  John Levon  <levon@movementarian.org>
2646
2647         * lyxtext.h: add some docs
2648
2649 2003-03-13  John Levon  <levon@movementarian.org>
2650
2651         * lyxtext.h:
2652         * text.C:
2653         * text2.C:
2654         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2655
2656 2003-03-13  John Levon  <levon@movementarian.org>
2657
2658         * text3.C: fix appendix redrawing
2659
2660 2003-03-13  John Levon  <levon@movementarian.org>
2661
2662         * text.C (setHeightOfRow):
2663         * rowpainter.h:
2664         * rowpainter.C: make appendix mark have the text
2665           "Appendix" so the user knows what it is
2666
2667         * LColor.h:
2668         * LColor.C: s/appendixline/appendix/ from above
2669
2670 2003-03-13  John Levon  <levon@movementarian.org>
2671
2672         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2673
2674         * text.C: fix a getChar(pos) bug properly
2675
2676 2003-03-13  Angus Leeming  <leeming@lyx.org>
2677
2678         * commandtags.h:
2679         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2680         Probably only temporary. Let's see how things pan out.
2681
2682         * BufferView.C (unlockInset):
2683         * BufferView_pimpl.C (fitCursor):
2684         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2685
2686         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2687         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2688
2689         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2690         new functions that convert ParagraphParameters to and from a string.
2691
2692         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2693         BufferView::Pimpl's dispatch.
2694         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2695
2696 2003-03-13 André Pönitz <poenitz@gmx.net>
2697
2698         * lyxfunc.C:
2699         * text3.C:
2700         * factory.C: make it aware of InsetEnv
2701
2702 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2703
2704         * text2.C (setCursor): never ask for one past last
2705         (setCursor): add some debugging messages.
2706
2707         * text.C (singleWidth): never ask for one past last
2708         (singleWidth): ditto
2709         (leftMargin): ditto
2710         (rightMargin): ditto
2711         (rowBreakPoint): ditto
2712         (setHeightOfRow): ditto
2713         (prepareToPrint): ditto
2714
2715         * rowpainter.C (paintBackground): never ask for one past last
2716         (paintText): never ask for one past last
2717
2718         * paragraph_pimpl.C (getChar): make the assert stricter, never
2719         allow the one past last pos to be taken
2720
2721         * paragraph.C (getChar): ws changes only
2722
2723         * lyxrow.C (nextRowIsAllInset): never ask for one past last
2724         (numberOfSeparators): ditto
2725         (numberOfHfills): ditto
2726
2727 2003-03-12  John Levon  <levon@movementarian.org>
2728
2729         * author.h:
2730         * author.C:
2731         * bufferparams.h:
2732         * bufferparams.C:
2733         * paragraph_funcs.C: fix per-buffer authorlists
2734
2735 2003-03-12  John Levon  <levon@movementarian.org>
2736
2737         * text.C: fix newline in right address
2738
2739 2003-03-12  Angus Leeming  <leeming@lyx.org>
2740
2741         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2742         duplicate those in LyXFunc::dispatch.
2743
2744         * commandtags.h:
2745         * LyXAction.C:
2746         * ToolbarDefaults.C:
2747         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2748         Add LFUN_FONTFREE_UPDATE.
2749
2750         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2751         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2752
2753         * bufferview_func.[Ch]: several new functions to facilliate
2754         transfer of data to and from the character dialog.
2755
2756 2003-03-12  John Levon  <levon@movementarian.org>
2757
2758         * buffer.C:
2759         * paragraph.h:
2760         * paragraph.C:
2761         * paragraph_funcs.C:
2762         * paragraph_pimpl.C:
2763         * sgml.C:
2764         * tabular.C:
2765         * text.C:
2766         * text3.C: remove META_NEWLINE in favour of an inset
2767
2768         * rowpainter.h:
2769         * rowpainter.C: remove paintNewline (done by inset)
2770
2771 2003-03-12  John Levon  <levon@movementarian.org>
2772
2773         * paragraph_pimpl.C: complain about bad getChar()s
2774         for a while at least
2775
2776 2003-03-12  John Levon  <levon@movementarian.org>
2777
2778         * buffer.h:
2779         * buffer.C: move paragraph read into a separate function,
2780         a little renaming to reflect that.
2781
2782         * bufferparams.h:
2783         * bufferparams.C: remove the author_ids map, not necessary now
2784
2785         * factory.h:
2786         * factory.C: moved Buffer::readInset to here
2787
2788         * paragraph_funcs.h:
2789         * paragraph_funcs.C: readParagraph free function moved from
2790         buffer.C
2791
2792         * tabular.C: name change
2793
2794 2003-03-12  John Levon  <levon@movementarian.org>
2795
2796         * buffer.C:
2797         * ParagraphParameters.C: move par params input to
2798         a read() method
2799
2800         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2801         behave like a normal read from the stream wrt reading
2802         a line vs. a \\token
2803
2804 2003-03-12  John Levon  <levon@movementarian.org>
2805
2806         * paragraph.C:
2807         * ParagraphParameters.h:
2808         * ParagraphParameters.C: move output code to a
2809         ::write() method
2810
2811 2003-03-12  John Levon  <levon@movementarian.org>
2812
2813         * BufferView.C (insertLyXFile):
2814         * buffer.h:
2815         * buffer.C:
2816         * tabular.C: use a parlist iterator for creating the
2817           document.
2818
2819 2003-03-12  John Levon  <levon@movementarian.org>
2820
2821         * buffer.C: make current_change static local not
2822           static file-scope
2823
2824 2003-03-12  John Levon  <levon@movementarian.org>
2825
2826         * buffer.C: fix insertStringAsLines for change tracking
2827
2828 2003-03-12  John Levon  <levon@movementarian.org>
2829
2830         * BufferView.C:
2831         * tabular.C:
2832         * buffer.h:
2833         * buffer.C:
2834         * bufferparams.h:
2835         * bufferparams.C: move author list into params. Rename some
2836           functions. Move the header reading into a separate token
2837           loop. Move the header token reading into BufferParams.
2838
2839 2003-03-12  John Levon  <levon@movementarian.org>
2840
2841         * changes.C: put debug inside lyxerr.debugging() checks
2842
2843 2003-03-11 André Pönitz <poenitz@gmx.net>
2844
2845         * factory.C: make it aware of InsetHFill
2846
2847 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2848
2849         * buffer.C (latexParagraphs): move function from here...
2850         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2851         args.
2852
2853 2003-03-10  Angus Leeming  <leeming@lyx.org>
2854
2855         * LyXAction.C (init): fix bug in poplating array with multiple entries
2856         with the same LFUN (spotted by JMarc).
2857
2858 2003-03-10  John Levon  <levon@movementarian.org>
2859
2860         * text.C:
2861         * text2.C: move getColumnNearX() near its
2862         only call site
2863
2864 2003-03-10  John Levon  <levon@movementarian.org>
2865
2866         * text.C: fix break before a minipage
2867
2868 2003-03-10  John Levon  <levon@movementarian.org>
2869
2870         * text.C: fix the last commit
2871
2872 2003-03-09  John Levon  <levon@movementarian.org>
2873
2874         * lyxtext.h:
2875         * text.C:
2876         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2877         bug 365 (don't break before insets unless needed). Don't
2878         return a value > last under any circumstances.
2879
2880 2003-03-09  Angus Leeming  <leeming@lyx.org>
2881
2882         * BufferView_pimpl.C (trackChanges, dispatch): call
2883         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2884
2885 2003-03-09  Angus Leeming  <leeming@lyx.org>
2886
2887         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2888         than Dialogs::showAboutlyx().
2889
2890 2003-03-09  Angus Leeming  <leeming@lyx.org>
2891
2892         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2893         than Dialogs::showTabularCreate().
2894
2895 2003-03-09  John Levon  <levon@movementarian.org>
2896
2897         * lyxtext.h:
2898         * text.C:
2899         * text2.C: 3rd arg to nextBreakPoint was always the same.
2900           Use references.
2901
2902 2003-03-08  John Levon  <levon@movementarian.org>
2903
2904         * lyxrow.C:
2905         * paragraph.C:
2906         * paragraph.h:
2907         * rowpainter.C:
2908         * text.C:
2909         * text2.C: Remove the "main" bit from the "main body"
2910           notion.
2911
2912 2003-03-08  John Levon  <levon@movementarian.org>
2913
2914         * text.C (leftMargin): The left margin of an empty
2915         manual label paragraph should not include the label width
2916         string length.
2917
2918         * text.C (prepareToPrint): don't attempt to measure hfills
2919         for empty manual label paragraphs - the answer should be 0
2920
2921 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2922
2923         * CutAndPaste.C: remove commented code and reindent.
2924
2925 2003-03-08  John Levon  <levon@movementarian.org>
2926
2927         * lyxfunc.h:
2928         * lyxfunc.C: move reloadBuffer()
2929
2930         * BufferView.h:
2931         * BufferView.C: to here
2932
2933         * lyxvc.C: add comment
2934
2935         * vc-backend.h:
2936         * vc-backend.C: call bv->reload() to avoid
2937           getStatus() check on MENURELOAD
2938
2939 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
2940
2941         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2942         to an old format .dep file.
2943
2944 2003-03-07  Angus Leeming  <leeming@lyx.org>
2945
2946         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2947         when the LFUN_MOUSE_RELEASE should have been handled by
2948         inset->localDispatch.
2949
2950 2003-03-07  Angus Leeming  <leeming@lyx.org>
2951
2952         * BufferView_pimpl.C (dispatch):
2953         * LyXAction.C (init):
2954         * ToolbarDefaults.C (init):
2955         * commandtags.h:
2956         * lyxfunc.C (getStatus):
2957         remove LFUN_INSET_GRAPHICS.
2958
2959         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2960
2961 2003-03-07  Angus Leeming  <leeming@lyx.org>
2962
2963         * commandtags.h:
2964         * LyXAction.C (init):
2965         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2966
2967         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2968
2969         * commandtags.h:
2970         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2971
2972         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2973         localDispatch method LFUN_INSET_DIALOG_UPDATE.
2974
2975 2003-03-07  Angus Leeming  <leeming@lyx.org>
2976
2977         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2978         remove "ert".
2979
2980 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2981
2982         * ParagraphList.C (front): new function
2983         (back): implement
2984
2985 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
2986
2987         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2988         and top_row_offset_. removed var first_y.
2989         * text.C (top_y):
2990         * text2.C (LyXText, removeRow):
2991         * text3.C:
2992         * BufferView_pimpl.C:
2993         use these methods instead of using first_y
2994
2995 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2996
2997         * text2.C (pasteSelection): adjust for checkPastePossible
2998
2999         * CutAndPaste.C: remove Paragraph * buf and replace with
3000         ParagraphList paragraphs.
3001         (DeleteBuffer): delete
3002         (cutSelection): change the tc type to textclass_type
3003         (copySelection): change the tc type to textclass_type
3004         (copySelection): adjust for ParagraphList
3005         (pasteSelection): change the tc type to textclass_type
3006         (pasteSelection): adjust for Paragraphlist
3007         (nrOfParagraphs): simplify for ParagraphList
3008         (checkPastePossible): simplify for ParagraphList
3009         (checkPastePossible): remove unused arg
3010
3011         * ParagraphList.C (insert): handle the case where there are no
3012         paragraphs yet.
3013
3014         * CutAndPaste.h: make CutAndPaste a namespace.
3015
3016         * text3.C (dispatch): adjust
3017
3018         * text.C (breakParagraph): add a ParagraphList as arg
3019
3020         * paragraph_funcs.C (breakParagraph): change to take a
3021         BufferParams and a ParagraphList as args.
3022         (breakParagraphConservative): ditto
3023         (mergeParagraph): ditto
3024         (TeXDeeper): add a ParagraphList arg
3025         (TeXEnvironment): ditto
3026         (TeXOnePar): ditto
3027
3028         * buffer.C (readLyXformat2): adjust
3029         (insertStringAsLines): adjust
3030         (latexParagraphs): adjust
3031
3032         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3033         (cutSelection): adjust
3034         (pasteSelection): adjust
3035
3036         * BufferView_pimpl.C (insertInset): adjust
3037
3038 2003-03-05  Angus Leeming  <leeming@lyx.org>
3039
3040         * commandtags.h:
3041         * LyXAction.C (init):
3042         * BufferView_pimpl.C (dispatch):
3043         * lyxfunc.C (getStatus):
3044         remove LFUN_CHILD_INSERT.
3045
3046         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3047
3048 2003-03-05  Angus Leeming  <leeming@lyx.org>
3049
3050         * commandtags.h:
3051         * LyXAction.C (init):
3052         * src/factory.C (createInset):
3053         * lyxfunc.C (getStatus):
3054         * text3.C (dispatch):
3055         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3056
3057         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3058
3059 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3060
3061         * ParagraphList.C (insert): handle insert right before end()
3062         (erase): fix cases where it can be first or last paragraph.
3063
3064 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3065
3066         * paragraph_funcs.C (TeXEnvironment): remove all usage of
3067         Paragraph::next and Paragraph::previous
3068         (TeXOnePar): ditto
3069
3070         * text.C (breakParagraph): adjust
3071
3072         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3073         BufferParams& as arg.
3074         (breakParagraph): use ParagraphList::insert
3075         (breakParagraphConservative): take a Buffer* instead of a
3076         BufferParams& as arg.
3077         (breakParagraphConservative): use ParagraphList::insert.
3078
3079         * buffer.C (insertStringAsLines): un-const it
3080         (insertStringAsLines): adjust
3081
3082         * ParagraphList.C (insert): new function
3083
3084         * CutAndPaste.C (pasteSelection): adjust
3085
3086         * text.C (backspace): adjust
3087
3088         * tabular.C (SetMultiColumn): adjust
3089
3090         * CutAndPaste.C (cutSelection): adjust
3091         (pasteSelection): adjust
3092
3093         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3094         Buffer const * as arg
3095
3096         * ParagraphList.C (erase): new function
3097         * paragraph_funcs.C (mergeParagraph): use it
3098         (mergeParagraph): make it take a Buffer* instead of a
3099         BufferParams* as arg
3100
3101         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3102         as arg
3103         (breakParagraphConservative): ditto
3104
3105         * paragraph.h: remove the breakParagraph friend
3106
3107         * paragraph.C (eraseIntern): new function
3108         (setChange): new function
3109
3110         * paragraph_funcs.C (mergeParagraph): make it take a
3111         ParagraphList::iterator instead of a Paragraph *, adjust
3112         accordingly.
3113
3114         * paragraph.h: move an #endif so that the change tracking stuff
3115         also works in the NO_NEXT case.
3116
3117 2003-03-04  Angus Leeming  <leeming@lyx.org>
3118
3119         * commandtags.h:
3120         * LyXAction.C: new LFUN_INSET_MODIFY.
3121
3122         * BufferView_pimpl.C (dispatch): if an inset is found to be open
3123         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3124
3125 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3126
3127         * several files: ws changes only
3128
3129         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3130         (TeXEnvironment): ditto
3131         (TeXDeeper): ditto
3132
3133         * buffer.C (makeLaTeXFile): adjust
3134         (latexParagraphs): make it take ParagraphList::iterator as args
3135
3136 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3137
3138         * buffer.C (latexParagraphs): adjust
3139
3140         * paragraph.C (TeXOnePar): move function...
3141         (optArgInset): move function...
3142         (TeXEnvironment): move function...
3143         * paragraph_pimpl.C (TeXDeeper): move function...
3144         * paragraph_funcs.C: ...here
3145
3146         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3147
3148 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3149
3150         * buffer.C (readInset): remove compability code for old Figure and
3151         InsetInfo insets
3152
3153 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3154
3155         * buffer.C: ws changes
3156         (readInset):
3157
3158         * BufferView_pimpl.C: ditto
3159         * author.C: ditto
3160         * buffer.h: ditto
3161         * bufferlist.h: ditto
3162         * changes.h: ditto
3163         * lyxfunc.C: ditto
3164
3165 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
3166
3167         * converter.[Ch]: split into itself +
3168         * graph.[Ch]
3169         * format.[Ch]
3170         * Makefile.am: += graph.[Ch] + format.[Ch]
3171         * MenuBackend.C
3172         * buffer.C
3173         * exporter.C
3174         * importer.C
3175         * lyx_main.C
3176         * lyxfunc.C
3177         * lyxrc.C: added #include "format.h"
3178
3179 2003-02-27  Angus Leeming  <leeming@lyx.org>
3180
3181         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3182           a label.
3183
3184         * factory.C (createInset): add "label" to the factory.
3185
3186         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3187           string and do no more.
3188
3189 2003-02-27  Angus Leeming  <leeming@lyx.org>
3190
3191         * commandtags.h:
3192         * LyXAction.C (init):
3193         * factory.C (createInset):
3194         * BufferView_pimpl.C (dispatch):
3195           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3196
3197         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3198
3199         * lyxfunc.C (dispatch):
3200         * text3.C (dispatch): pass name to params2string.
3201
3202 2003-02-26  Angus Leeming  <leeming@lyx.org>
3203
3204         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3205           blocks together.
3206           Rearrange the ~includes. Strip out the unnecessary ones.
3207
3208         * factory.C (createInset): reformat.
3209           create new insets for the various LFUN_XYZ_APPLY lfuns.
3210
3211 2003-02-26  John Levon  <levon@movementarian.org>
3212
3213         * lyxrow.h:
3214         * lyxrow.C: add isParStart,isParEnd helpers
3215
3216         * paragraph.h: make isInserted/DeletedText take refs
3217
3218         * paragraph_funcs.h:
3219         * paragraph_funcs.C: remove #if 0'd code
3220
3221         * lyxtext.h:
3222         * text3.C:
3223         * text2.C:
3224         * text.C: use lyxrow helpers above.
3225           Move draw and paint routines to RowPainter.
3226           Make several methods use refs not pointers.
3227           Make backgroundColor() const.
3228           Add markChangeInDraw(), isInInset().
3229           Merge changeRegionCase into changeCase.
3230           Make workWidth() shouldn't-happen code into an Assert.
3231
3232         * rowpainter.h:
3233         * rowpainter.C: new class for painting a row.
3234
3235         * vspace.h:
3236         * vspace.C: make inPixels take a ref
3237
3238 2003-02-26  Angus Leeming  <leeming@lyx.org>
3239
3240         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3241         LFUN_REF_APPLY.
3242
3243 2003-02-25  John Levon  <levon@movementarian.org>
3244
3245         * ispell.C: give the forked command a more accurate name
3246
3247 2003-02-22  John Levon  <levon@movementarian.org>
3248
3249         * toc.h:
3250         * toc.C: make TocItem store an id not a Paragraph *
3251           (bug #913)
3252
3253 2003-02-21  Angus Leeming  <leeming@lyx.org>
3254
3255         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3256           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3257           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3258           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3259           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3260           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3261
3262         * BufferView_pimpl.C (dispatch):
3263         * LyXAction.C (init):
3264         * factory.C (createInset):
3265         * lyxfunc.C (getStatus, dispatch):
3266         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3267
3268 2003-02-21  Angus Leeming  <leeming@lyx.org>
3269
3270         * BufferView_pimpl.C (MenuInsertLyXFile):
3271         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3272         * lyxfunc.C (menuNew, open, doImport):
3273           no longer pass a LyXView & to fileDlg.
3274
3275 2003-02-21  Angus Leeming  <leeming@lyx.org>
3276
3277         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3278         * LyXAction.C: change, BIBKEY to BIBITEM.
3279         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3280         Change InsetBibKey to InsetBibitem.
3281         Change BIBKEY_CODE to BIBITEM_CODE.
3282         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3283         * factory.C: replace insetbib.h with insetbibitem.h.
3284         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3285         * paragraph.C: replace insetbib.h with insetbibitem.h.
3286         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3287         Change bibkey() to bibitem().
3288         * text.C: remove insetbib.h.
3289         * text2.C: replace insetbib.h with insetbibitem.h.
3290         change bibkey() to bibitem().
3291         * text3.C: remove insetbib.h.
3292         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3293
3294 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3295
3296         * lyxrc.C (output): enclose user email in quotes (in case there are
3297         several words)
3298
3299 2003-02-18  John Levon  <levon@movementarian.org>
3300
3301         * buffer.h: add std::
3302
3303 2003-02-17  John Levon  <levon@movementarian.org>
3304
3305         * SpellBase.h:
3306         * ispell.h:
3307         * ispell.C:
3308         * pspell.h:
3309         * pspell.C: reworking. Especially in ispell, a large
3310           number of clean ups and bug fixes.
3311
3312         * lyxfunc.C: fix revert to behave sensibly
3313
3314 2003-02-17 André Pönitz <poenitz@gmx.net>
3315
3316         * LyXAction.C:
3317         * commandtags.h: new LFUN_INSERT_BIBKEY
3318
3319         * layout.h:
3320         * lyxlayout.C:
3321         * buffer.C:
3322         * factory.C:
3323         * text.C:
3324         * text2.C:
3325         * text3.C:
3326         * paragraph.[Ch]:
3327         * paragraph_func.C: remove special bibkey handling
3328
3329 2003-02-17  John Levon  <levon@movementarian.org>
3330
3331         * text.C (Delete): fix case where delete at the end of
3332           the very first paragraph would not merge the pars
3333
3334 2003-02-17  John Levon  <levon@movementarian.org>
3335
3336         * lyxrow.C: fix lastPrintablePos()
3337
3338 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3339
3340         * bufferparams.C (writeLaTeX): add a std:here
3341
3342         * buffer.C: and remove a using directive there
3343
3344 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3345
3346         * buffer.C (makeLaTeXFile): move the code that generates the
3347           preamble...
3348
3349         * bufferparams.C (writeLaTeX): ... in this new method
3350
3351         * LaTeXFeatures.C (getEncodingSet): make const
3352           (getLanguages): make const
3353
3354         * MenuBackend.C (binding): returns the binding associated to this
3355           action
3356           (add): sets the status of each item by calling getStatus. Adds
3357           some intelligence.
3358           (read): add support for OptSubMenu
3359           (expand): remove extra separator at the end of expanded menu
3360
3361 2003-02-15  John Levon  <levon@movementarian.org>
3362
3363         * BufferView.C:
3364         * BufferView_pimpl.C:
3365         * bufferlist.h:
3366         * bufferlist.C: remove pointless BufferStorage bloat. Remove
3367           inset code that had no actual effect. Remove unneeded status
3368           code.
3369
3370 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3371
3372         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3373           in preamble
3374
3375 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
3376
3377         * text.C (drawLengthMarker): also draw an arrow marker for
3378           symbolic lengths (medskip...)
3379
3380 2003-02-14  John Levon  <levon@movementarian.org>
3381
3382         * tabular.h:
3383         * tabular.C: better method names
3384
3385 2003-02-14  John Levon  <levon@movementarian.org>
3386
3387         * BufferView_pimpl.C:
3388         * bufferlist.C:
3389         * buffer.C:
3390         * converter.C:
3391         * lyx_cb.C:
3392         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3393           it's a more accurate name. Remove some pointless uses.
3394
3395 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3396
3397         * text2.C (LyXText): change order of initilizers to shut off
3398           warnings
3399
3400 2003-02-14  John Levon  <levon@movementarian.org>
3401
3402         * buffer.C: use ParIterator for getParFromID()
3403
3404         * paragraph.h:
3405         * paragraph.C:
3406         * paragraph_pimpl.h:
3407         * paragraph_pimpl.C: remove unused getParFromID()
3408
3409 2003-02-14  John Levon  <levon@movementarian.org>
3410
3411         * buffer.C: remove some very old #if 0'd parse code
3412
3413 2003-02-13  John Levon  <levon@movementarian.org>
3414
3415         * text.h:
3416         * text.C:
3417         * text2.C: move hfillExpansion(), numberOfSeparators(),
3418           rowLast(), rowLastPrintable(), numberofHfills(),
3419           numberOfLabelHfills() ...
3420
3421         * lyxrow.h:
3422         * lyxrow.C: ... to member functions here.
3423
3424         * paragraph.h:
3425         * paragraph.C:
3426         * lyxtext.h:
3427         * text.C: remove LyXText::beginningOfMainBody(), and call
3428           p->beginningOfMainBody() directly. Move the check for
3429           LABEL_MANUAL into the latter.
3430
3431         * text.h:
3432         * text.C:
3433         * text2.C:
3434         * vspace.C:
3435         * BufferView.h:
3436         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3437
3438         * text.h:
3439         * text.C:
3440         * text2.C:
3441         * text3.C:
3442         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3443           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3444
3445 2003-02-13  John Levon  <levon@movementarian.org>
3446
3447         * CutAndPaste.C: remove debug
3448
3449 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3450
3451         * paragraph.C (asString): remove two unused variables
3452
3453         * lyxtextclass.C (readTitleType):
3454           (Read):
3455           (LyXTextClass): handle new members titletype_ and titlename_
3456
3457         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3458
3459 2003-02-09  John Levon  <levon@movementarian.org>
3460
3461         * buffer.h:
3462         * buffer.C: replace hand-coded list with a map for the dep clean
3463
3464 2003-02-08  John Levon  <levon@movementarian.org>
3465
3466         * LaTeX.C: consolidate code into showRunMessage() helper
3467
3468 2003-02-08  John Levon  <levon@movementarian.org>
3469
3470         * lyxfind.C:
3471         * lyxtext.h:
3472         * text2.C:
3473         * BufferView.C: change setSelectionOverString() to setSelectionRange()
3474           and pass the size in explicitly
3475
3476         * BufferView_pimpl.h:
3477         * BufferView_pimpl.C:
3478         * BufferView.h:
3479         * BufferView.C: add getCurrentChange()
3480
3481         * BufferView_pimpl.h:
3482         * BufferView_pimpl.C: handle change lfuns
3483
3484         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3485           for changes. Mark pasted paragraphs as new.
3486
3487         * support/lyxtime.h:
3488         * support/lyxtime.C:
3489         * DepTable.C: abstract time_t as lyx::time_type
3490
3491         * LColor.h:
3492         * LColor.C: add colours for new text, deleted text, changebars
3493
3494         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3495           package use "usenames" option.
3496
3497         * commandtags.h:
3498         * lyxfunc.C:
3499         * LyXAction.C: add change lfuns
3500
3501         * Makefile.am:
3502         * author.h:
3503         * author.C: author handling
3504
3505         * buffer.h:
3506         * buffer.C: add a per-buffer author list, with first entry as
3507           current author. Handle new .lyx tokens for change tracking. Output
3508           author list to .lyx file. Output dvipost stuff to .tex preamble.
3509           Bump lyx format to 222.
3510
3511         * bufferlist.h:
3512         * bufferlist.C: add setCurrentAuthor() to reset current author details
3513           in all buffers.
3514
3515         * bufferparams.h:
3516         * bufferparams.C: add param for tracking
3517
3518         * bufferview_funcs.C: output change info in minibuffer
3519
3520         * Makefile.am:
3521         * changes.h:
3522         * changes.C: add change-tracking structure
3523
3524         * debug.h:
3525         * debug.C: add CHANGES debug flag
3526
3527         * lyxfind.h:
3528         * lyxfind.C: add code for finding the next change piece
3529
3530         * lyxrc.h:
3531         * lyxrc.C: add user_name and user_email
3532
3533         * lyxrow.h:
3534         * lyxrow.C: add a metric for the top of the text line
3535
3536         * lyxtext.h:
3537         * text.C: implement accept/rejectChange()
3538
3539         * lyxtext.h:
3540         * text.C: paint changebars. Paint new/deleted text in the chosen
3541         colours. Strike through deleted text.
3542
3543         * paragraph.h:
3544         * paragraph.C:
3545         * paragraph_pimpl.h:
3546         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3547           in the current change to the insert functions. Rework erase to
3548           mark text as deleted, adding an eraseIntern() and a range-based
3549           erase(). Implement per-paragraph change lookup and
3550           accept/reject.
3551
3552         * paragraph_funcs.C: Fixup paste for change tracking.
3553
3554         * tabular.C: mark added row/columns as new.
3555
3556         * text.C: fix rowLast() to never return -1. Don't allow
3557           spellchecking of deleted text. Track transpose changes. Don't
3558           allow paragraph break or merge where appropriate.
3559
3560         * text2.C: leave cursor at end of selection after a cut.
3561
3562 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3563
3564         * text.C (getLengthMarkerHeight):
3565         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3566         visible on screen too.
3567
3568 2003-02-07  John Levon  <levon@movementarian.org>
3569
3570         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3571
3572 2003-02-05  Angus Leeming  <leeming@lyx.org>
3573
3574         * lyxserver.C (read_ready): revert my patch of 11 September last year
3575         as it sends PC cpu through the roof. Presumably this means that
3576         the lyxserver will no longer run on an Alpha...
3577
3578 2003-01-30  Angus Leeming  <leeming@lyx.org>
3579
3580         * factory.C (createInset): create an InsetCommandParam of type "index"
3581         and use it to 'do the right thing'.
3582
3583         * text2.C (getStringToIndex): ensure that cursor position is always
3584         reset to the reset_cursor position.
3585
3586 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3587
3588         * lyxfunc.C (getStatus): "buffer-export custom" should never be
3589         disabled.
3590
3591 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
3592
3593         * bufferview.C:
3594         * lyxcb.C:
3595         * lyxfunc.C: Output messages with identical spelling, punctuation,
3596         and spaces
3597
3598 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
3599
3600         * MenuBackend.C (expandFormats): List only viewable export formats
3601         in "View" menu
3602
3603         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3604         message
3605
3606         * lyxfunc.C (getStatus): Make sure that formats other than
3607         "fax" can also be disabled
3608
3609 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3610
3611         * text3.C (dispatch): put the lfuns that insert insets in 3
3612         groups, and call doInsertInset with appropriate arguments.
3613         (doInsertInset): new function, that creates an inset and inserts
3614         it according to some boolean parameters.
3615
3616 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3617
3618         * buffer.C (readFile): remember to pass on 'par' when calling
3619         readFile recursively.
3620
3621 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3622
3623         * MenuBackend.C (expandFormats): add "..." to import formats.
3624
3625 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
3626
3627         * paragraph.C (asString): Remove XForms RTL hacks.
3628
3629 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
3630         * buffer.C: fix typo
3631
3632 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
3633
3634         * Makefile.am (LIBS): delete var
3635         (lyx_LDADD): add @LIBS@ here instead.
3636
3637 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
3638
3639         * Clarify the meaning of "wheel mouse jump"
3640
3641 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3642
3643         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3644         tabular in a float
3645
3646 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3647
3648         * importer.C (Loaders): do not preallocate 3 elements in the
3649         vector, since one ends up with 6 elements otherwise
3650
3651 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3652
3653         * DepTable.C (write): write the file name as last element of the
3654         .dep file (because it may contain spaces)
3655         (read): read info in the right order
3656
3657 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3658
3659         * paragraph_pimpl.C (simpleTeXBlanks):
3660         (simpleTeXSpecialChars):
3661         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3662
3663         * tabular.C (latex): add some missing case statements. Reindent.
3664
3665         * MenuBackend.C (expandToc): remove unused variable.
3666
3667 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
3668
3669         * LColor.C:
3670         * LaTeX.C:
3671         * LyXAction.C:
3672         * MenuBackend.C:
3673         * buffer.C:
3674         * exporter.C:
3675         * lyxfunc.C:
3676         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3677         and the like.
3678
3679 2003-01-05  John Levon  <levon@movementarian.org>
3680
3681         * BufferView.h:
3682         * BufferView.C: add getEncoding()
3683
3684         * kbsequence.h:
3685         * kbsequence.C: do not store last keypress
3686
3687         * lyxfunc.h:
3688         * lyxfunc.C: store last keypress here instead. Pass encoding
3689           to getISOEncoded()
3690
3691 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3692
3693         * lyx_main.C (init): remove annoying error message when following
3694         symbolic links (bug #780)
3695
3696 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3697
3698         * text.C (insertChar):
3699         * lyxrc.C (getDescription): remove extra spaces
3700
3701 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3702
3703         * lyxrc.C (getDescription): remove extra spaces
3704
3705 2002-12-20  John Levon  <levon@movementarian.org>
3706
3707         * text3.C: hack fix for page up/down across tall rows
3708
3709 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3710
3711         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3712         not been invoked
3713
3714 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3715
3716         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3717         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3718         thesaurus is not compiled in
3719
3720 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
3721
3722         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
3723
3724 2002-12-16  Angus Leeming  <leeming@lyx.org>
3725
3726         * lyxrc.[Ch]:
3727         * lyx_main.C (init): remove override_x_deadkeys stuff.
3728
3729 2002-12-12  John Levon  <levon@movementarian.org>
3730
3731         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3732           insert. Only remove shift modifier under strict
3733           circumstances.
3734
3735 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3736
3737         * MenuBackend.C (expandToc): fix crash.
3738
3739 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3740
3741         * MenuBackend.C (expandToc): gettext on float names.
3742
3743 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3744
3745         * lyxlength.[Ch]: set default unit to UNIT_NONE,
3746         implement bool empty() [bug 490]
3747
3748 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3749
3750         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3751
3752 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3753
3754         * several files: ws changes
3755
3756 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3757
3758         * text2.C (setCounter): clean up a bit, use boost.format.
3759         (updateCounters): initialize par upon declaration.
3760
3761         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3762         if the layout exists. We do not just store the layout any more.
3763         (SwitchLayoutsBetweenClasses): use boost.format
3764
3765 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3766
3767         * converter.C (convert): if from and to files are the same, use a
3768         temporary files as intermediary
3769
3770 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3771
3772         * commandtags.h:
3773         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3774
3775 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
3776
3777         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3778
3779 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3780
3781         * tabular.C (asciiPrintCell): use string(size, char) instead of
3782         explicit loop.
3783
3784         * sgml.C (openTag): fix order of arguments to string constructor
3785         (closeTag): ditto
3786
3787         * lyxfunc.C (dispatch): use boost.format
3788
3789         * lots of files: change "c" -> 'c'
3790
3791 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
3792
3793         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3794
3795 2002-11-25  Angus Leeming  <leeming@lyx.org>
3796
3797         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3798
3799         * lyx_main.C (init): compile fix.
3800
3801 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3802
3803         * lyx_cb.C (start): boost.formatify
3804         do not include <iostream>
3805
3806         * lengthcommon.C: ws only
3807
3808         * boost-inst.C,BoostFormat.h: add more explict instantations
3809
3810 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3811
3812         * lots of files: handle USE_BOOST_FORMAT
3813
3814 2002-11-21  John Levon  <levon@movementarian.org>
3815
3816         * pspell.C: fix compile
3817
3818 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3819
3820         * lyxfunc.C (dispatch): use boost::format
3821         (open): ditto
3822         (doImport): ditto
3823
3824         * lyxfont.C (stateText): use boost::format
3825
3826         * lyx_main.C (LyX): use boost::format
3827         (init): ditto
3828         (queryUserLyXDir): ditto
3829         (readRcFile): ditto
3830         (parse_dbg): ditto
3831         (typedef boost::function): use the recommened syntax.
3832
3833         * importer.C (Import): use boost::format
3834
3835         * debug.C (showLevel): use boost::format
3836
3837         * converter.C (view): use boost::format
3838         (convert): ditto
3839         (move): ditto
3840         (scanLog): ditto
3841
3842         * bufferview_funcs.C (currentState): use boost::format
3843
3844         * bufferlist.C (emergencyWrite): use boost::format
3845
3846         * buffer.C (readLyXformat2): use boost::format
3847         (parseSingleLyXformat2Token): ditto
3848
3849         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3850
3851         * LaTeX.C (run): use boost::format
3852
3853         * Chktex.C (scanLogFile): use boost::format
3854
3855         * BufferView_pimpl.C (savePosition): use boost::format
3856         (restorePosition): ditto
3857         (MenuInsertLyXFile): ditto
3858
3859         * BoostFormat.h: help file for explicit instation.
3860
3861 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
3862
3863         * tabular.C (latex): Support for block alignment in fixed width
3864         columns.
3865
3866 2002-11-17  John Levon  <levon@movementarian.org>
3867
3868         * BufferView_pimpl.C:
3869         * lyx_cb.C:
3870         * lyxfunc.C: split filedialog into open/save
3871
3872 2002-11-08  Juergen Vigna  <jug@sad.it>
3873
3874         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3875         by my last patch (hopefully).
3876
3877 2002-11-08  John Levon  <levon@movementarian.org>
3878
3879         * iterators.h:
3880         * iterators.C:
3881         * buffer.h:
3882         * buffer.C:
3883         * paragraph.h:
3884         * paragraph.C:
3885         * toc.h:
3886         * toc.C: ParConstIterator, and use it (from Lars)
3887
3888 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
3889
3890         * lyxtextclass.[Ch]: revise and add doxygen comments
3891
3892 2002-11-07  John Levon  <levon@movementarian.org>
3893
3894         * text.C: fix progress value for spellchecker
3895
3896         * toc.C: fix navigate menu for insetwrap inside minipage
3897
3898         * paragraph_funcs.C: added FIXME for suspect code
3899
3900 2002-11-07  John Levon  <levon@movementarian.org>
3901
3902         * BufferView_pimpl.C: fix redrawing of insets
3903           on buffer switch
3904
3905 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3906
3907         * text2.C (updateCounters): fix bug 668
3908
3909 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
3910
3911         * text3.C (dispatch): Do not make the buffer dirty when moving the
3912         cursor.
3913
3914 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3915
3916         * vc-backend.C: STRCONV
3917         (scanMaster): ditto
3918
3919         * text2.C (setCounter): STRCONV
3920
3921         * paragraph.C (asString): STRCONV
3922
3923         * lyxlength.C (asString): STRCONV
3924         (asLatexString): ditto
3925
3926         * lyxgluelength.C (asString): STRCONV
3927         (asLatexString): ditto
3928
3929         * lyxfunc.C (dispatch): STRCONV
3930         (open): ditto
3931
3932         * lyxfont.C (stateText): STRCONV
3933
3934         * importer.C (Import): STRCONV
3935
3936         * counters.C (labelItem): STRCONV
3937         (numberLabel): ditto
3938         (numberLabel): remove unused ostringstream o
3939
3940         * chset.C: STRCONV
3941         (loadFile): ditto
3942
3943         * bufferview_funcs.C (currentState): STRCONV
3944
3945         * buffer.C (readFile): STRCONV
3946         (asciiParagraph): ditto
3947         (makeLaTeXFile): ditto
3948
3949         * Spacing.C (writeEnvirBegin): STRCONV
3950
3951         * LaTeXFeatures.C (getLanguages): STRCONV
3952         (getPackages): ditto
3953         (getMacros): ditto
3954         (getBabelOptions): ditto
3955         (getTClassPreamble): ditto
3956         (getLyXSGMLEntities): ditto
3957         (getIncludedFiles): ditto
3958
3959         * LaTeX.C: STRCONV
3960         (run): ditto
3961         (scanAuxFile): ditto
3962         (deplog): ditto
3963
3964         * LString.h: add the STRCONV macros
3965
3966         * BufferView_pimpl.C (savePosition): STRCONV
3967         (restorePosition): ditto
3968         (MenuInsertLyXFile): ditto
3969
3970         * vc-backend.C (scanMaster): change from submatch[...] to
3971         submatch.str(...)
3972
3973         * funcrequest.C: include config.h
3974
3975         * factory.C: include config.h
3976
3977         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3978
3979         * box.C: include config.h
3980
3981         * LaTeX.C (scanAuxFile): change from submatch[...] to
3982         submatch.str(...)
3983         (deplog): ditto
3984
3985 2002-10-25  Angus Leeming  <leeming@lyx.org>
3986
3987         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3988
3989         * ispell.[Ch] (setError): new method.
3990         * ispell.C (c-tor): move out child process into new class LaunchIspell.
3991         Use setError() insetead of goto END.
3992
3993         * lyx_cb.C (AutoSave): move out child process into new class
3994         AutoSaveBuffer.
3995
3996 2002-10-30  John Levon  <levon@movementarian.org>
3997
3998         * text3.C: make start appendix undoable
3999
4000 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
4001
4002         * lyxlength.C (inPixels): Fix returned value.
4003
4004         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4005         environment.
4006
4007 2002-10-24  Angus Leeming  <leeming@lyx.org>
4008
4009         * lyxgluelength.h: no need to forward declare BufferParams
4010         or BufferView, so don't.
4011
4012 2002-10-21  John Levon  <levon@movementarian.org>
4013
4014         * BufferView.C: menuUndo ->undo, redo
4015
4016         * BufferView.h: document, remove dead, make some methods private
4017
4018         * paragraph_funcs.h:
4019         * paragraph_funcs.C:
4020         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4021
4022         * buffer.h:
4023         * buffer.C:
4024         * sgml.h:
4025         * sgml.C: move sgml open/close tag into sgml.C
4026
4027         * bufferview_funcs.h: unused prototype
4028
4029         * lyxfunc.h:
4030         * lyxfunc.C: remove unused
4031
4032         * lyxtext.h:
4033         * text.C: remove unused
4034
4035 2002-10-21  John Levon  <levon@movementarian.org>
4036
4037         * BufferView.h:
4038         * BufferView.C:
4039         * BufferView_pimpl.h:
4040         * BufferView_pimpl.C: fix mouse wheel handling based on
4041           patch from Darren Freeman
4042
4043 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
4044
4045         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4046
4047 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
4048
4049         * lyxlength.C (inPixels): Fix hanfling of negative length.
4050         Fix LyXLength::MU case.
4051
4052 2002-10-16  John Levon  <levon@movementarian.org>
4053
4054         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4055
4056 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4057
4058         * converter.C (view): add support for $$i (file name) and $$p
4059         (file path) for the viewer command. If $$i is not specified, then
4060         it is appended to the command (for compatibility with old syntax)
4061
4062 2002-10-14  Juergen Vigna  <jug@sad.it>
4063
4064         * undo_funcs.C (textHandleUndo): alter the order in which the
4065         new undopar is added to the LyXText, as we have to set first
4066         the right prev/next and then add it as otherwise the rebuild of
4067         LyXText is not correct. Also reset the cursor to the right paragraph,
4068         with this IMO we could remove the hack in "redoParagraphs()".
4069
4070 2002-10-09  Angus Leeming  <leeming@lyx.org>
4071
4072         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4073         to turn off an optimisation if a new inset is to be inserted.
4074
4075 2002-10-11 André Pönitz <poenitz@gmx.net>
4076
4077         * lyxtext.h: make some functions public to allow access
4078         from inset/lyxtext for handling LFUN_PRIOR/NEXT
4079
4080 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4081
4082         * text3.C (dispatch): when changing layout, avoid an infinite loop
4083         [bug #652]
4084
4085 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4086
4087         * lyxrc.C (read): treat a viewer or converter command of "none" as
4088         if it were empty.
4089
4090         * MenuBackend.C (expandFormats): for an update, also allow the
4091         formats that are not viewable
4092
4093         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4094         script if it is newer than the lyxrc.defaults in user directory
4095
4096 2002-10-07 André Pönitz <poenitz@gmx.net>
4097
4098         * text.C: Vitaly Lipatov's small i18n fix
4099
4100 2002-09-25  Angus Leeming  <leeming@lyx.org>
4101
4102         * ispell.h: doxygen fix.
4103
4104 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
4105
4106         * buffer.h (readFile): Add a new argument to the method, to allow
4107         reading of old-format templates.
4108
4109 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
4110
4111         * toc.C (getTocList): Get TOC from InsetWrap.
4112
4113 2002-09-16  John Levon  <levon@movementarian.org>
4114
4115         * lyxfunc.C: check tabular for cut/copy too
4116
4117 2002-09-12  John Levon  <levon@movementarian.org>
4118
4119         * LyXAction.C: tidy
4120
4121         * factory.h:
4122         * factory.C: add header
4123
4124         * paragraph_funcs.h:
4125         * paragraph_funcs.C: cleanup
4126
4127 2002-09-11  John Levon  <levon@movementarian.org>
4128
4129         * PrinterParams.h: odd/even default to true
4130
4131 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
4132
4133         * PrinterParams.h: update printer parameters for new xforms dialog
4134
4135 2002-09-11  Angus Leeming  <leeming@lyx.org>
4136
4137         * lyxserver.C (read_ready): re-write to make it more transparent
4138         and to make it work in coherent fashion under Tru64 Unix.
4139
4140 2002-09-11  André Pönitz <poenitz@gmx.net>
4141
4142         * commandtags.h:
4143         * LyXAction.C:
4144         * text3.C: implement LFUN_WORDSEL
4145
4146 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4147
4148         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4149         make floatlist_ a boost::shared_ptr<FloatList>
4150
4151         * lyxtextclass.C: include FloatList.h
4152         (LyXTextClass): initialize floatlist_
4153         (TextClassTags): add TC_NOFLOAT
4154         (Read): match "nofloat" to TC_NOFLOAT and use it.
4155         (readFloat): modify call to floatlist_
4156         (floats): ditto
4157         (floats): ditto
4158
4159         * FloatList.[Ch] (FloatList): remove commented out float
4160         initialization.
4161         (erase): new function
4162
4163 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4164
4165         * MenuBackend.C (expandToc): fix crash when there is no document
4166         open
4167
4168 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
4169
4170         * many files: Add insetwrap.
4171
4172 2002-09-09  John Levon  <levon@movementarian.org>
4173
4174         * text2.C: remove confusing and awkward depth wraparound
4175
4176 2002-09-09  John Levon  <levon@movementarian.org>
4177
4178         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4179
4180         * buffer.h:
4181         * buffer.C: remove getIncludeonlyList()
4182
4183         * paragraph.C:
4184         * lyxfunc.C: remove headers
4185
4186 2002-09-09  Juergen Vigna  <jug@sad.it>
4187
4188         * text.C (getColumnNearX): fix form Michael this is most
4189         probably a cut&paste bug.
4190
4191 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4192
4193         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4194
4195         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4196         references, ws changes.
4197
4198         * text2.C (init): update counters after init
4199         (insertParagraph): no need to set counter on idividual paragraphs.
4200         (setCounter): access the counters object in the textclass object
4201         on in the buffer object.
4202         (updateCounters): ditto
4203
4204         * lyxtextclass.C: include counters.h, add variable ctrs_ as
4205         shared_ptr<Counters> to avoid loading counters.h in all
4206         compilation units.
4207         (LyXTextClass): initialize ctrs_
4208         (TextClassTags): add TC_COUNTER, and ...
4209         (Read): use it here.
4210         (CounterTags): new tags
4211         (readCounter): new function
4212         (counters): new funtion
4213         (defaultLayoutName): return a const reference
4214
4215         * counters.C (Counters): remove contructor
4216         (newCounter): remove a couple of unneeded statements.
4217         (newCounter): simplify a bit.
4218         (numberLabel): some small formatting changes.
4219
4220         * buffer.[Ch]: remove all traces of counters, move the Counters
4221         object to the LyXTextClass.
4222
4223 2002-09-06  Alain Castera  <castera@in2p3.fr>
4224
4225         * tabular.C: uses \tabularnewline; uses >{...} construct from array
4226         package to set the horizontal alignment on fixed width columns.
4227
4228         * lyx_sty.C:
4229         * lyx_sty.h: added tabularnewline macro def.
4230
4231         * LaTeXFeatures.C: added NeedTabularnewline macro feature
4232
4233 2002-09-06  John Levon  <levon@movementarian.org>
4234
4235         * LyXAction.C: tooltips for sub/superscript
4236
4237         * MenuBackend.C: a bit more verbose
4238
4239         * lyxfunc.C: tiny clean
4240
4241         * undo_funcs.C: document undo_frozen
4242
4243 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4244
4245         * counters.C (Counters): add missing algorithm counter.
4246
4247         * text2.C (setCounter): lookup the counter with layouts latexname
4248         instead of by section number.
4249         (setCounter): use a hackish way to lookup the correct enum
4250         counter.
4251         a float name->type change
4252         reset enum couners with counter name directly instead of depth value.
4253
4254         * counters.C (Counters): remove the push_backs, change to use the
4255         float type not the float name.
4256         (labelItem): remove unused string, float name->type change
4257
4258         * counters.h: don't include vector, loose the enums and sects vectors
4259
4260 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4261
4262         * lyxtextclass.C (TextClassTags): add TC_FLOAT
4263         (Read): add float->TC_FLOAT to textclassTags
4264         (Read): and handle it in the switch
4265         (readFloat): new function
4266
4267         * FloatList.C (FloatList): comment out the hardcoded float
4268         definitions.
4269
4270         * lyxlayout.h: ws change.
4271
4272 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
4273
4274         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4275
4276 2002-09-03  Angus Leeming  <leeming@lyx.org>
4277
4278         * BufferView_pimpl.h: qualified name is not allowed in member
4279         declaration: WorkArea & Pimpl::workarea() const;
4280
4281         * factory.C: added using std::endl directive.
4282
4283         * text3.C: added using std::find and std::vector directives.
4284
4285 2002-08-29  André Pönitz <poenitz@gmx.net>
4286
4287         * lyxtext.h:
4288         * text2.C: remove unused member number_of_rows
4289
4290         * Makefile.am:
4291         * BufferView2.C: remove file, move contents to...
4292         * BufferView.C: ... here
4293
4294         * BufferView_pimpl.C:
4295         * factory.C: move more inset creation to factory
4296
4297         * vspace.C: avoid direct usage of LyXText, ws changes
4298
4299         * BufferView.[Ch]:
4300                 don't provide direct access to WorkArea, use two simple
4301                 acessors haveSelction() and workHeight() instead
4302
4303
4304 2002-08-29  John Levon  <levon@movementarian.org>
4305
4306         * BufferView_pimpl.C (dispatch): do not continue when
4307           no buffer
4308
4309 2002-08-28  André Pönitz <poenitz@gmx.net>
4310
4311         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4312
4313         * BufferView.h:
4314         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4315
4316 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
4317
4318         * buffer.C: increment LYX_FORMAT to 221
4319
4320         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4321         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4322
4323         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4324
4325         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4326
4327 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4328
4329         * factory.C (createInset): use LyXTextClass::floats
4330
4331         * MenuBackend.C (expandFloatListInsert):
4332         (expandFloatInsert):
4333         (expandToc):
4334
4335         * text2.C (setCounter):
4336
4337         * LaTeXFeatures.C (useFloat):
4338         (getFloatDefinitions):
4339
4340         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4341
4342         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4343         floatlist_, with accessor floats().
4344
4345         * FloatList.h: remove global FloatList
4346
4347 2002-08-26  André Pönitz <poenitz@gmx.net>
4348
4349         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4350
4351         * BufferView.h:
4352         * BufferView2.C:
4353         * BufferView_pimpl.C:
4354         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4355
4356 2002-08-25  John Levon  <levon@movementarian.org>
4357
4358         * LyXAction.C: fix margin note description
4359
4360 2002-08-24  John Levon  <levon@movementarian.org>
4361
4362         * buffer.C:
4363         * bufferlist.C:
4364         * bufferview_funcs.C:
4365         * lyxfont.C:
4366         * undo_funcs.C: cleanups
4367
4368         * lyxfunc.C: disable CUT/COPY when no selection
4369
4370 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
4371
4372         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4373         in "enum UNIT"; e.g. PTW for Percent of TextWidth
4374
4375         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4376         Add backward compatibility to "mono", "gray" and "no".
4377
4378 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
4379
4380         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4381         (and file_format >= 200).
4382
4383 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4384
4385         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4386
4387 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4388
4389         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4390
4391 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
4392
4393         * BufferView_pimpl.C:
4394         * LyXAction.C:
4395         * buffer.C:
4396         * commandtags.h:
4397         * lyxfunc.C:
4398         * paragraph.[Ch]:
4399         * text2.C:
4400         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4401         inset and code to make it  work with the paragraph code. The inset
4402         can be anywhere in the paragraph, but will only do the expected
4403         thing in LaTeX if the layout file contains the parameter line
4404                         OptionalArgs    1
4405         (or more generally, a nonzero value) for that layout.
4406
4407 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4408
4409         * paragraph.h: remove the declaration of undefined counters class
4410         function.
4411
4412 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
4413
4414         * text2.C (setCounter):  fixed enumeration mis-count as reported by
4415         Dr. Richard Hawkins.
4416
4417 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4418
4419         * paragraph_funcs.h: remove some unneeded includes
4420
4421         * text.C (backspace): pasteParagraph now in global scipe
4422
4423         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4424         (pasteSelection): ditto
4425
4426         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4427         * paragraph_funcs.C (pasteParagraph): ... here
4428
4429 2002-08-20  André Pönitz <poenitz@gmx.net>
4430
4431         * commandtags.h: new LFUNs for swapping/copying table row/colums
4432
4433         * LyXAction.C:
4434         * lyxfunc.C: support for new lfuns
4435
4436 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4437
4438         * tabular.C:
4439         * buffer.[Ch]: remove NO_COMPABILITY stuff
4440
4441 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
4442
4443         * boost.C (throw_exception): new file, with helper function for
4444         boost compiled without exceptions.
4445
4446         * paragraph.h:
4447         * lyxlength.C:
4448         * buffer.C:
4449         * ParameterStruct.h:
4450         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4451
4452         * bufferlist.C (emergencyWriteAll): use boost bind
4453
4454         * BufferView_pimpl.C (moveCursorUpdate): remove inline
4455
4456         * text.C: include paragraph_funcs.h
4457         (breakParagraph): breakParagraph is now in global scope
4458
4459         * paragraph_funcs.[Ch]: new files
4460
4461         * paragraph.C (breakParagraph,breakParagraphConservative): move to
4462         global scope
4463
4464         * buffer.C: include paragraph_funcs.h
4465         (insertStringAsLines): breakParagraph is now in global scope
4466
4467         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4468         paragraph_funcs.C
4469
4470         * CutAndPaste.C: include paragraph_funcs.h
4471         (cutSelection): breakParagraphConservative is now in global scope
4472         (pasteSelection): ditto
4473
4474         * buffer.h: declare oprator== and operator!= for
4475         Buffer::inset_iterator
4476
4477         * bufferlist.C (emergencyWrite): don't use fmt(...)
4478
4479         * text3.C: add using std::endl
4480
4481         * BufferView.C (moveCursorUpdate): remove default arg
4482
4483 2002-08-20  André Pönitz <poenitz@gmx.net>
4484
4485         * buffer.[Ch]: move inline functions to .C
4486
4487         * BufferView2.C:
4488         * BufferView_pimpl.C:
4489         * text.C:
4490         * buffer.[Ch]: use improved inset_iterator
4491
4492         * buffer.C:
4493         * paragraph.[Ch]: write one paragraph at a time
4494
4495 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
4496
4497         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4498         style if style is not specified.
4499
4500 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4501
4502         * text2.C (setCounter): when searching for right label for a
4503         caption, make sure to recurse to parent insets (so that a caption
4504         in a minipage in a figure float works) (bug #568)
4505
4506 2002-08-20  André Pönitz <poenitz@gmx.net>
4507
4508         * text3.C: new file for LyXText::dispatch() and helpers
4509
4510         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4511
4512         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4513
4514 2002-08-19  André Pönitz <poenitz@gmx.net>
4515
4516         * lyxtext.h:
4517         * text.C: new LyXText::dispatch()
4518
4519         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4520
4521 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
4522
4523         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4524
4525         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4526         Hebrew text.
4527
4528 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4529
4530         * Makefile.am: use $(variables) instead of @substitutions@
4531
4532 2002-08-15  André Pönitz <poenitz@gmx.net>
4533
4534         * lyxfunc.C:
4535         * BufferView_pimpl.C: streamlining mathed <-> outer world
4536         interaction
4537
4538         * commandtags.h:
4539         * LyXAction.C: remove unused LFUN_MATH
4540
4541 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4542
4543         * paragraph.[Ch]: add some NO_NEXT ifdefs.
4544
4545 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4546
4547         * paragraph.C (Paragraph): reformat a bit
4548         (cutIntoMinibuffer): use builtin InsetList function instad of
4549         doing it manually.
4550         (getInset): ditto
4551
4552         * buffer.C: include boost/bind.hpp, add using std::for_each
4553         (writeFileAscii): use ParagraphList iterators
4554         (validate): use for_each for validate traversal of paragraphs
4555         (getBibkeyList): use ParagraphList iterators
4556         (resizeInsets): use for_each to resizeInsetsLyXText for all
4557         paragraphs.
4558         (getParFromID): use ParagraphList iterators
4559
4560         * BufferView2.C (lockInset): use paragraph list and iterators
4561
4562 2002-08-14  John Levon  <levon@movementarian.org>
4563
4564         * lyxserver.C: remove spurious xforms include
4565
4566 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4567
4568         * lyxfunc.C (getStatus): disable math-extern outside of math mode
4569
4570 2002-08-13  André Pönitz <poenitz@gmx.net>
4571
4572         * LyXAction.[Ch]:
4573         * lyxfunc.C: further cleaning
4574
4575 2002-08-13  André Pönitz <poenitz@gmx.net>
4576
4577         * funcrequest.h: new constructor
4578
4579         * funcrequest.C: move stuff here from .h
4580
4581         * Makefile.am:
4582         * BufferView_pimpl.C:
4583         * LyXAction.C:
4584         * toc.C:
4585         * lyxfunc.C: subsequent changes
4586
4587         * lyxfunc.h: new view() member function
4588
4589         * lyxfunc.C: subsequent changes
4590
4591 2002-08-13  Angus Leeming  <leeming@lyx.org>
4592
4593         * BufferView2.C:
4594         * BufferView_pimpl.C:
4595         * buffer.C:
4596         * converter.C:
4597         * importer.C:
4598         * lyxfunc.C:
4599         * lyxvc.C:
4600         * toc.C:
4601         * vc-backend.C:
4602         changes due to the changed LyXView interface that now returns references
4603         to member variables not pointers.
4604
4605 2002-08-13  Angus Leeming  <leeming@lyx.org>
4606
4607         * WordLangTuple (word, lang_code): return references to strings,
4608         not strings.
4609
4610         * BufferView.h:
4611         * SpellBase.h:
4612         * lyxtext.h: forward-declare WordLangTuple.
4613
4614         * BufferView2.C:
4615         * ispell.C:
4616         * pspell.C:
4617         * text.C: #include "WordLangTuple.h".
4618
4619         * lyxtext.h:
4620         * text.C: (selectNextWordToSpellcheck): constify return type.
4621
4622 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
4623
4624         * buffer.C:
4625         * buffer.h:
4626         * lyxtext.h:
4627         * paragraph.C:
4628         * paragraph_pimpl.h:
4629         * text.C:
4630         * text2.C:
4631         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4632         suggested by Angus.
4633         Made updateCounter always count from start of buffer, and removed
4634         second argument (par).
4635         Reverted floats number display to '#'. Perhaps I'll try again when the
4636         code base is sanitized a bit.
4637
4638 2002-08-12  Angus Leeming  <leeming@lyx.org>
4639
4640         * buffer.[Ch] (getLabelList): constify.
4641
4642 2002-08-07  André Pönitz <poenitz@gmx.net>
4643
4644         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4645
4646         * funcrequest.h: extension to keep mouse (x,y) position
4647
4648 2002-08-12  Juergen Vigna  <jug@sad.it>
4649
4650         * BufferView2.C (insertErrors): forbid undo when inserting error
4651         insets.
4652
4653         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4654
4655 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
4656
4657         * ParagraphList.[Ch]: new files
4658
4659         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4660
4661         * BufferView2.C (lockInset): ParagraphList changes
4662         * toc.C: ditto
4663         * text2.C: ditto
4664         * bufferlist.C: ditto
4665         * buffer.h: ditto
4666         * buffer.C: ditto
4667
4668 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4669
4670         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4671         unused class variable counter_,
4672
4673         * paragraph.[Ch] (getFirstCounter): delete unused function
4674
4675         * counters.C: include LAssert.h
4676         (reset): add a new function with no arg, change other version to
4677         not have def. arg and to not allow empty arg.
4678
4679         * text2.C (setCounter): remove empty arg from call to Counters::reset
4680
4681 2002-08-11  John Levon  <levon@movementarian.org>
4682
4683         * Makefile.am: add WordLangTuple.h
4684
4685 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4686
4687         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4688         lyxfunc.C lyxlex_pimpl.C: ws changes only.
4689
4690         * insets/insettext.C: InsetList changes
4691
4692         * graphics/GraphicsSupport.C (operator()): InsetList changes
4693
4694         * toc.C (getTocList): InsetList changes
4695
4696         * paragraph_pimpl.[Ch]: InsetList changes
4697
4698         * paragraph.[Ch]: InsetList changes
4699
4700         * buffer.C (inset_iterator): InsetList changes
4701         (setParagraph): ditto
4702         * buffer.h (inset_iterator): ditto
4703         * iterators.C (operator++): ditto
4704         * iterators.h: ditto
4705
4706         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4707
4708         * InsetList.[Ch]: new files, most InsetList handling moved out of
4709         paragraph.C.
4710
4711         * BufferView2.C (removeAutoInsets): InsetList changes
4712         (lockInset): ditto
4713         (ChangeInsets): ditto
4714
4715 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4716
4717         * paragraph_pimpl.h (empty): new function
4718
4719         * paragraph.[Ch] (empty): new function
4720
4721         * other files: use the new Paragraph::empty function
4722
4723 2002-08-09  John Levon  <levon@movementarian.org>
4724
4725         * lyxtext.h: remove unused refresh_height
4726
4727 2002-08-09  John Levon  <levon@movementarian.org>
4728
4729         * Makefile.am:
4730         * sgml.h:
4731         * sgml.C:
4732         * buffer.C:
4733         * paragraph.h:
4734         * paragraph.C: move sgml char escaping out of paragraph
4735
4736         * paragraph.h:
4737         * paragraph.C: remove id setter
4738
4739         * buffer.C:
4740         * paragraph.C:
4741         * paragraph_pimpl.C: remove dead tex_code_break_column
4742
4743         * bufferview_funcs.C: small cleanup
4744
4745         * lyxfunc.C: remove dead proto
4746
4747         * lyxtext.h: make some stuff private. Remove some dead stuff.
4748
4749         * lyxgluelength.C: make as[LyX]String() readable
4750
4751 2002-08-08  John Levon  <levon@movementarian.org>
4752
4753         * LyXAction.h:
4754         * LyXAction.C:
4755         * MenuBackend.C:
4756         * ToolbarDefaults.C:
4757         * lyxfunc.C:
4758         * lyxrc.C:
4759         * toc.C: lyxaction cleanup
4760
4761 2002-08-08  John Levon  <levon@movementarian.org>
4762
4763         * BufferView2.C: small cleanup
4764
4765         * lyxfind.h:
4766         * lyxfind.C: move unnecessary header into the .C
4767
4768 2002-08-08  John Levon  <levon@movementarian.org>
4769
4770         * funcrequest.h: just tedious nonsense
4771
4772         * lyx_main.h:
4773         * lyx_main.C: cleanups
4774
4775         * buffer.C:
4776         * vspace.C: remove dead header lyx_main.h
4777
4778 2002-08-07  Angus Leeming  <leeming@lyx.org>
4779
4780         * Paragraph.[Ch]:
4781         * paragraph_pimpl.h:
4782         Forward declare class Counters in paragraph.h by moving the ctrs member
4783         variable into Paragraph::Pimpl.
4784         (counters): new method, returning a reference to pimpl_->ctrs.
4785
4786         * text2.C: ensuing changes.
4787
4788 2002-08-07  John Levon  <levon@movementarian.org>
4789
4790         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4791
4792         * BufferView_pimpl.C: announce X selection on double/triple
4793           click
4794
4795         * lyx_main.C: use correct bool in batch dispatch
4796
4797         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4798
4799 2002-08-07  André Pönitz <poenitz@gmx.net>
4800
4801         * funcrequest.h: new class to wrap a kb_action and its argument
4802
4803         * BufferView.[Ch]:
4804         * BufferView_pimpl[Ch]:
4805         * LaTeX.C:
4806         * LyXAction.[Ch]:
4807         * lyxfunc.[Ch]:
4808         * lyxrc.C: subsequent changes
4809
4810
4811 2002-08-07  John Levon  <levon@movementarian.org>
4812
4813         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4814           document options change.
4815
4816 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
4817
4818         * counters.[Ch]
4819         * text2.C
4820         * paragraph.[Ch]
4821         * makefile.am: move counters functionality over from
4822         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4823
4824 2002-08-06  John Levon  <levon@movementarian.org>
4825
4826         * WordLangTuple.h: new file for word + language code tuple
4827
4828         * SpellBase.h:
4829         * pspell.h:
4830         * pspell.C:
4831         * ispell.h:
4832         * ispell.C:
4833         * lyxtext.h:
4834         * text.C:
4835         * text2.C:
4836         * BufferView.h:
4837         * BufferView2.C: use WordLangTuple
4838
4839         * layout.h:
4840         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4841
4842 2002-08-06  John Levon  <levon@movementarian.org>
4843
4844         * lyx_main.C: fix cmdline batch handling
4845
4846 2002-08-06  André Pönitz <poenitz@gmx.net>
4847
4848         * lyxrc.C: set default for show_banner to true
4849
4850 2002-08-06  John Levon  <levon@movementarian.org>
4851
4852         * pspell.C: fix a crash, and allow new aspell to work
4853
4854 2002-08-06  John Levon  <levon@movementarian.org>
4855
4856         * lyxfunc.C:
4857         * kbmap.C: small cleanup
4858
4859         * vspace.h:
4860         * vspace.C: add const
4861
4862 2002-08-05  John Levon  <levon@movementarian.org>
4863
4864         * LyXAction.C: back to tabular-insert
4865
4866 2002-08-04  John Levon  <levon@movementarian.org>
4867
4868         * BufferView.h:
4869         * BufferView.C: cosmetic change
4870
4871         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4872
4873         * bufferlist.C:
4874         * buffer.h:
4875         * buffer.C:
4876         * lyxcb.h:
4877         * lyxcb.C:
4878         * lyxserver.C:
4879         * lyxvc.C:
4880         * vc-backend.C:
4881         * BufferView2.C: purge all "Lyx" not "LyX" strings
4882
4883         * lyxcursor.h:
4884         * lyxcursor.C: attempt to add some documentation
4885
4886         * lyxfunc.C:
4887         * commandtags.h:
4888         * LyXAction.C:
4889         * ToolbarDefaults.C:
4890         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4891           merge with LFUN_TABULAR_INSERT
4892
4893         * Makefile.am:
4894         * SpellBase.h:
4895         * ispell.h:
4896         * ispell.C:
4897         * pspell.h:
4898         * pspell.C: split up i/pspell implementations into separate
4899           files, many cleanups
4900
4901         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4902
4903         * text2.C: some cleanup
4904
4905         * lyxfunc.C: don't check for isp_command == "none" any more, it
4906           didn't make any sense
4907
4908 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
4909
4910         * counters.[Ch]
4911         * text2.C
4912         * paragraph.[Ch]
4913         * makefile.am: move counters functionality over
4914         from text2.C/paragraph.[Ch] to counters.[Ch], and
4915         make proper C++.
4916 2002-08-02  John Levon  <levon@movementarian.org>
4917
4918         * buffer.C: s/lyxconvert/lyx2lyx/
4919
4920 2002-08-02  Angus Leeming  <leeming@lyx.org>
4921
4922         * lyxlex.C: revert John's change as it breaks reading of the user
4923         preamble.
4924
4925 2002-08-02  Angus Leeming  <leeming@lyx.org>
4926
4927         * importer.C (Import):
4928         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4929         changes due to LyXView::view() now returning a boost::shared_ptr.
4930
4931 2002-08-02  John Levon  <levon@movementarian.org>
4932
4933         * lyxlex.C: small cleanup
4934
4935 2002-08-02  John Levon  <levon@movementarian.org>
4936
4937         * text2.C (status): small cleanup, no logic change
4938
4939 2002-08-01  John Levon  <levon@movementarian.org>
4940
4941         * buffer.h:
4942         * buffer.C (writeFile): don't output alerts, caller
4943           handles this
4944
4945         * bufferlist.C:
4946         * lyx_cb.C: from above
4947
4948         * lyxfunc.C: allow to open non-existent files
4949
4950 2002-07-31  John Levon  <levon@movementarian.org>
4951
4952         * lyxserver.C: don't let incidental errors get
4953           in the way (errno)
4954
4955 2002-07-30  John Levon  <levon@movementarian.org>
4956
4957         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4958
4959 2002-07-30  John Levon  <levon@movementarian.org>
4960
4961         * lyxserver.h:
4962         * lyxserver.C: remove I/O callback too
4963
4964 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4965
4966         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4967         log.
4968
4969 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4970
4971         * many files: strip,frontStrip -> trim,ltrim,rtrim
4972
4973 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4974
4975         * PrinterParams.h: remove extern containsOnly, and include
4976         support/lstrings.h instead.
4977
4978         * LaTeX.C (scanAuxFile): modify because of strip changes
4979         (deplog): ditto
4980         * buffer.C (makeLaTeXFile): ditto
4981         * bufferparams.C (writeFile): ditt
4982         * lyxfont.C (stateText): ditto
4983         * lyxserver.C (read_ready): ditto
4984         * vc-backend.C (scanMaster): ditto
4985
4986         * BufferView_pimpl.h: ws changes
4987
4988         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4989
4990 2002-07-26  André Pönitz <poenitz@gmx.net>
4991
4992         * kb_sequence.C: remove unnedred usings
4993
4994 2002-07-26  Juergen Vigna  <jug@sad.it>
4995
4996         * lyxfind.C (LyXReplace): we have to check better if the returned
4997         text is not of theLockingInset()->getLockingInset().
4998
4999 2002-07-25  Juergen Vigna  <jug@sad.it>
5000
5001         * lyxfind.C (LyXReplace): don't replace if we don't get the
5002         right LyXText.
5003
5004         * undo_funcs.C (createUndo): remove debugging code.
5005
5006 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
5007
5008         * buffer.C (parseSingleLyXformat2Token): Use default placement
5009         when reading old floats.
5010
5011         * FloatList.C (FloatList): Change the default placement of figure
5012         and tables to "tbp".
5013
5014 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
5015
5016         * MenuBackend.C: using std::max
5017
5018 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5019
5020         * MenuBackend.C (expandToc):
5021         (expandToc2): code moved from xforms menu frontend. It is now
5022         generic and TOCs are transparent to menu frontends.
5023
5024 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5025
5026         * toc.C (getTocList): protect against buf=0
5027
5028         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5029         Menu as first parameter. Now, this calls itself recursively to
5030         expand a whole tree (this will be useful for TOC handling)
5031         (expandFloatInsert): remove 'wide' version of floats
5032
5033         * MenuBackend.h (submenuname): returns the name of the submenu.
5034         (submenu): returns the submenu itself, provided it has been
5035         created by MenuBackend::expand
5036
5037 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5038
5039         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5040         insets which have noFontChange == true. (bug #172)
5041
5042 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5043
5044         * BufferView_pimpl.C: add connection objects and use them...
5045         (Pimpl): here.
5046
5047 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5048
5049         * MenuBackend.C (expandLastfiles):
5050         (expandDocuments):
5051         (expandFormats):
5052         (expandFloatListInsert):
5053         (expandFloatInsert):
5054         (expand): split expand in parts
5055
5056 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5057
5058         * lyx_gui.C: use lyx_gui::exit()
5059
5060 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5061
5062         * LyXAction.C: show the failing pseudo action
5063
5064 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
5065
5066         * buffer.C (readFile): Run the lyxconvert script in order to read
5067         old files.
5068
5069 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5070
5071         * LyXAction.C:
5072         * commandtags.h:
5073         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5074
5075 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5076
5077         * LyXAction.C:
5078         * commandtags.h:
5079         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5080
5081 2002-07-22  Herbert Voss  <voss@lyx.org>
5082
5083         * lengthcommon.C:
5084         * lyxlength.[Ch]: add support for the vertical lengths
5085
5086 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
5087
5088         * toc.[Ch]: std:: fixes
5089
5090 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5091
5092         * lyxrc.C: do not include lyx_main.h
5093
5094         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5095         for layouts
5096
5097         * lyxrc.C:
5098         * encoding.C:
5099         * bufferlist.C:
5100         * BufferView2.C: include "lyxlex.h"
5101
5102         * tabular.h:
5103         * bufferparams.h: do not #include "lyxlex.h"
5104
5105         * lyxtextclasslist.C (Add): remove method
5106         (classlist): renamed to classlist_
5107
5108         * paragraph_pimpl.C:
5109         * paragraph.C:
5110         * text2.C:
5111         * CutAndPaste.C:
5112         * bufferview_funcs.C:
5113         * bufferlist.C:
5114         * text.C:
5115         * LaTeXFeatures.C:
5116         * buffer.C:
5117         * toc.C (getTocList): use BufferParams::getLyXTextClass
5118
5119         * toc.C (getTocList): use InsetFloat::addToToc
5120
5121         * toc.[Ch]: new files, containing helper functions to handle table
5122         of contents
5123
5124         * lyxfunc.C (dispatch): no need to remove spaces around command
5125         given as a string
5126         (getStatus): handle LFUN_SEQUENCE by returning the status of the
5127         first command of the sequence; it is not very clever, but I do not
5128         have a better idea, actually
5129
5130         * LyXAction.C (LookupFunc): make sure to remove space at the
5131         beginning and end of the command
5132
5133 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5134
5135         * MenuBackend.C (getMenubar): new method: return the menubar of
5136         this menu set
5137         (read): treat differently reading of menu and menubar (in
5138         particular, the menubar has no name now)
5139         (Menu::menubar): remove
5140
5141         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5142         saving is finished
5143
5144 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
5145
5146         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5147         a bibitem inset in a RTL paragraph.
5148
5149 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
5150
5151         * paragraph_pimpl.C: constify
5152
5153         * BufferView_pimpl.C:
5154         * LaTeX.C:
5155         * lyxfunc.C: fix dispatch in a nicer way
5156
5157 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5158
5159         * lyxfunc.C (dispatch):
5160         * BufferView_pimpl.C:
5161         * BufferView_pimpl.h:
5162         * BufferView.C:
5163         * BufferView.h: rename Dispatch() to dispatch()
5164
5165         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5166
5167         * lyxlayout.C (Read): honor DependsOn tag
5168
5169         * lyxlayout.[Ch] (depends_on): new method
5170
5171         * version.C.in: update lyx_docversion
5172
5173         * LaTeXFeatures.C (getMacros): only define \LyX when needed
5174
5175         * paragraph.C (validate): remove from here...
5176         * paragraph_pimpl.C (validate): ... and move here
5177         (isTextAt): make it const
5178
5179         * buffer.C (getLists): ws cleanup
5180
5181 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
5182
5183         * language.C (read): Use iso8859-1 encoding in latex_lang
5184         (this prevents LyX from crashing when using iso10646-1 encoding).
5185
5186 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5187
5188         * text2.C (toggleInset): if cursor is inside an inset, close the
5189         inset and leave cursor _after_ it
5190
5191 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
5192
5193         * lyxfunc.C: move minibuffer completion handling out of here
5194
5195 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
5196
5197         * BufferView_pimpl.C:
5198         * LaTeX.C: fix dispatch calls
5199
5200 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
5201
5202         * text.C (drawChars): Fix Arabic text rendering.
5203
5204 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
5205
5206         * LyXAction.C:
5207         * commandtags.h:
5208         * lyxfunc.C: remove message-push/pop
5209
5210         * lyxserver.C:
5211         * lyxfunc.h:
5212         * lyxfunc.C: rationalise some code by removing verboseDispatch
5213           in favour of a bool argument to dispatch()
5214
5215 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5216
5217         * lyx_main.C (init): make sure to read symlinks as absolute paths
5218
5219 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
5220
5221         * lyxfunc.h:
5222         * lyxfunc.C: no need for commandshortcut to be a member
5223
5224 2002-07-15  André Pönitz <poenitz@gmx.net>
5225
5226         * converter.C: add support for $$s (scripts from lib/scripts dir)
5227         * lyx_main.C: white space
5228
5229 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
5230
5231         * bufferlist.C:
5232         * lyxrc.h:
5233         * lyxrc.C: remove second exit confirmation
5234
5235 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
5236
5237         * BufferView.h:
5238         * BufferView.C:
5239         * BufferView2.C:
5240         * BufferView_pimpl.h:
5241         * BufferView_pimpl.C:
5242         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5243
5244 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5245
5246         * MenuBackend.C (expand): add numeric shortcuts to document menu
5247
5248         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5249
5250 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5251
5252         * lyxfont.C (setLyXFamily):
5253         (setLyXSeries):
5254         (setLyXShape):
5255         (setLyXSize):
5256         (setLyXMisc):
5257         (lyxRead):
5258         * debug.C (value):
5259         * buffer.C (asciiParagraph): use ascii_lowercase
5260
5261 2002-07-15  Mike Fabian  <mfabian@suse.de>
5262
5263         * lyxlex_pimpl.C (search_kw):
5264         * lyxlex.C (getLongString):
5265         * converter.h (operator<):
5266         * converter.C (operator<):
5267         * buffer.C (parseSingleLyXformat2Token):
5268         (asciiParagraph):
5269         * ToolbarDefaults.C (read):
5270         * MenuBackend.C (checkShortcuts):
5271         (read):
5272         * LColor.C (getFromGUIName):
5273         (getFromLyXName): use the compare_ascii_no_case instead of
5274         compare_no_case, because in turkish, 'i' is not the lowercase
5275         version of 'I', and thus turkish locale breaks parsing of tags.
5276
5277 2002-07-16  Angus Leeming  <leeming@lyx.org>
5278
5279         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5280         now takes a Buffer const & argument.
5281
5282 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
5283
5284         * BufferView.C (resize): check there's a buffer to resize
5285
5286 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
5287
5288         * lyxfunc.C: remove dead code
5289
5290         * lyxserver.h:
5291         * lyxserver.C: use lyx_guii::set_read_callback
5292
5293 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
5294
5295         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5296         an inset in a RTL paragraph.
5297
5298 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
5299
5300         * lyxfunc.C: repaint after a font size update
5301
5302 2002-07-15  André Pönitz <poenitz@gmx.net>
5303
5304         * lyxlength.C: inBP should be able to return negative values
5305
5306 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
5307
5308         * lyxfunc.C: use lyx_gui::update_fonts()
5309
5310 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
5311
5312         * lyxfunc.C: use lyx_gui::update_color()
5313
5314 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
5315
5316         * bufferlist.C:
5317         * lyxfunc.h:
5318         * lyxfunc.C:
5319         * lyxrc.h:
5320         * lyxrc.C: remove file->new asks for name option, and let
5321           buffer-new take an argument
5322
5323 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
5324
5325         * BufferView_pimpl.C: remove unneeded extra repaint()
5326
5327 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
5328
5329         * LyXAction.C: allow command-sequence with NoBuffer
5330
5331         * lyxfunc.C: don't insist on trailing ';' for command-sequence
5332
5333 2002-07-10  Angus Leeming  <leeming@lyx.org>
5334
5335         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5336
5337 2002-07-09  Angus Leeming  <leeming@lyx.org>
5338
5339         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5340
5341 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
5342
5343         * lengthcommon.h: whitespace
5344
5345         * lyxfunc.C: update scrollbar after goto paragraph
5346
5347         * lyxtext.h: factor out page break drawing, and fix it so
5348           page break/added space paints as selected nicely
5349
5350 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
5351
5352         * BufferView_pimpl.C: add FIXMEs, clean up a little
5353
5354 2002-07-09  André Pönitz <poenitz@gmx.net>
5355
5356         * lyxfont.[Ch]: support for wasy symbols
5357
5358 2002-07-08  André Pönitz <poenitz@gmx.net>
5359
5360         * BufferView_pimpl.C: apply John's patch for #93.
5361
5362 2002-07-05  Angus Leeming  <leeming@lyx.org>
5363
5364         * BufferView_pimpl.C (buffer): generate previews if desired.
5365
5366         * LColor.h: add "preview" to the color enum.
5367
5368         * LColor.C (LColor): add a corresponding entry to the items array.
5369
5370         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5371         with this buffer.
5372
5373 2002-07-05  Angus Leeming  <leeming@lyx.org>
5374
5375         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5376         The body of the code is now in the method that is passed an ostream &
5377         rather than a file name.
5378         Pass an additional only_preamble parameter, useful for the forthcoming
5379         preview stuff.
5380
5381 2002-07-03  André Pönitz <poenitz@gmx.net>
5382
5383         * lyxfunc.C: simplify getStatus() a bit for math stuff
5384
5385 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5386
5387         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5388
5389 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5390
5391         * text.C (changeRegionCase): do not change case of all the
5392         document when region ends at paragraph end (bug #461)
5393
5394 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5395
5396         * paragraph.C (startTeXParParams):
5397         (endTeXParParams): add \protect when necessary
5398
5399 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5400
5401         * BufferView_pimpl.C (workAreaExpose): remove warning
5402
5403 2002-06-27  Angus Leeming  <leeming@lyx.org>
5404
5405         * Makefile.am: add lyxlayout_ptr_fwd.h.
5406
5407 2002-06-26  André Pönitz <poenitz@gmx.net>
5408
5409         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5410
5411 2002-06-25  Angus Leeming  <leeming@lyx.org>
5412
5413         * lyxfunc.C (dispatch): Comment out the call to
5414         grfx::GCache::changeDisplay. The method no longer exists now that the
5415         pixmap generation part of the graphics loader has been moved into
5416         InsetGraphics.
5417
5418 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5419
5420         * text2.C: layout as layout
5421
5422         * text.C: layout as layout
5423
5424         * tabular.C (OldFormatRead): layout as layout
5425
5426         * paragraph_pimpl.C (TeXDeeper): layout as layout
5427         (realizeFont): layout as layout
5428
5429         * paragraph.C (writeFile): layout as layout
5430         (validate): layout as layout
5431         (getFont): layout as layout
5432         (getLabelFont): layout as layout
5433         (getLayoutFont): layout as layout
5434         (breakParagraph): layout as layout
5435         (stripLeadingSpaces): layout as layout
5436         (getEndLabel): layout as layout
5437         (getMaxDepthAfter): layout as layout
5438         (applyLayout): layout as layout
5439         (TeXOnePar): layout as layout
5440         (simpleTeXOnePar): layout as layout
5441         (TeXEnvironment): layout as layout
5442         (layout): layout as layout
5443         (layout): layout as layout
5444
5445         * lyxtextclass.C (compare_name): new functor to work with
5446         shared_ptr, layout as layout
5447         (Read): layout as layout
5448         (hasLayout): layout as layout
5449         (operator): layout as layout
5450         (delete_layout): layout as layout
5451         (defaultLayout): layout as layout
5452
5453         * lyxlayout_ptr_fwd.h: new file
5454
5455         * lyxlayout.C (Read): layout as layout
5456
5457         * lyx_cb.C (MenuInsertLabel): layout as layout
5458
5459         * bufferlist.C (newFile): layout as layout
5460
5461         * buffer.C (readLyXformat2): layout as layout
5462         (parseSingleLyXformat2Token): layout as layout
5463         (insertStringAsLines): layout as layout
5464         (asciiParagraph): layout as layout
5465         (latexParagraphs): layout as layout
5466         (makeLinuxDocFile): layout as layout
5467         (simpleLinuxDocOnePar): layout as layout
5468         (makeDocBookFile): layout as layout
5469         (simpleDocBookOnePar): layout as layout
5470         (getLists): layout as layout
5471
5472         * LaTeXFeatures.C (getTClassPreamble): layout as layout
5473
5474         * CutAndPaste.C (cutSelection): layout as layout
5475         (pasteSelection): layout as layout
5476         (SwitchLayoutsBetweenClasses): layout as layout
5477
5478         * BufferView_pimpl.C (Dispatch): layout as layout
5479         (smartQuote): layout as layout
5480
5481         * BufferView2.C (unlockInset): layout as layout
5482
5483 2002-06-24  André Pönitz <poenitz@gmx.net>
5484
5485         * lyxfunc.C: fix #487
5486
5487 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
5488
5489         * lyxrc.h:
5490         * lyxrc.C:
5491         * lyxfunc.C: remove display_shortcuts, show_banner
5492
5493 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
5494
5495         * Buffer_pimpl.C: oops, update on resize
5496
5497 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
5498
5499         * buffer.C:
5500         * converter.C:
5501         * exporter.C:
5502         * lyxfunc.C:
5503         * BufferView.h:
5504         * BufferView.C: use repaint()
5505
5506         * BufferView_pimpl.h:
5507         * BufferView_pimpl.C: s/updateScreen()/repaint()/
5508           as it's a clearer description. Remove superfluous
5509           redraws.
5510
5511 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
5512
5513         * text.C: fix bug 488. Not ideal, but getting
5514           getWord() to work properly for the insets that
5515           matter is more difficult ...
5516
5517 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
5518
5519         * BufferView_pimpl.C:
5520         * LyXAction.C:
5521         * commandtags.h:
5522         * lyxfunc.C: remove the six million index lyxfuncs to just
5523           one, and DTRT (bug 458)
5524
5525 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
5526
5527         * BufferView.h:
5528         * BufferView.C:
5529         * BufferView_pimpl.h:
5530         * BufferView_pimpl.C: clean up resize() stuff,
5531           and unnecessary updateScreen()s
5532
5533 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
5534
5535         * BufferView.h:
5536         * BufferView.C:
5537         * BufferView_pimpl.h:
5538         * BufferView_pimpl.C:
5539         * lyxfind.h:
5540         * lyxfind.C:
5541         * minibuffer.C: remove focus management of workarea,
5542           not needed. Use screen's greyOut()
5543
5544 2002-06-17  Herbert Voss  <voss@lyx.org>
5545
5546         * converter.C: (convert) do not post a message, when converting
5547         fails, let the calling function decide what to do in this case
5548
5549 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
5550
5551         * lyxfunc.C: tidy up a little
5552
5553 2002-06-16    <alstrup@diku.dk>
5554
5555         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5556         Got rid of FORMS_H_LOCATION include. Now we are
5557         GUII.
5558
5559 2002-06-15  LyX Development team  <lyx@rilke>
5560
5561         * buffer.[Ch] (sgmlOpenTag):
5562         (sgmlCloseTag): Added support for avoiding pernicious mixed
5563         content. Return number of lines written.
5564
5565         (makeLinuxDocFile):
5566         (makeDocBookFile): Fixed calls to sgml*Tag.
5567         Simple white space clean.
5568
5569         (simpleDocBookOnePar): Simple white space clean.
5570
5571         * tabular.[Ch] (docBook): Renamed to docbook and got another
5572         argument to related with the pernicious mixed content.
5573
5574         (docbookRow): Fixed calls for docbook inset method.
5575
5576 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
5577
5578         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5579         so it's X11 independent.
5580
5581         * kb*.[Ch]: ditto.
5582
5583         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5584
5585 2002-06-15  Lyx Development team  <lyx@electronia>
5586
5587         * intl.h: Renamed getTrans to getTransManager.
5588
5589 2002-06-14  Angus Leeming  <leeming@lyx.org>
5590
5591         * Makefile.am: nuke forgotten stl_string_fwd.h.
5592
5593 2002-06-12  Angus Leeming  <leeming@lyx.org>
5594
5595         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5596
5597 2002-06-13  Angus Leeming  <leeming@lyx.org>
5598
5599         * LaTeX.C:
5600         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5601
5602 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
5603
5604         * kbmap.C (getiso): add support for cyrillic and greek
5605
5606 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5607
5608         * BufferView.h:
5609         * BufferView.C:
5610         * BufferView_pimpl.h:
5611         * BufferView_pimpl.C: move bogus scrolling logic
5612           to xforms
5613
5614 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5615
5616         * lyxfunc.C:
5617         * BufferView_pimpl.C: view->resize() change
5618
5619 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5620
5621         * BufferView_pimpl.C: topCursorVisible
5622           prototype change
5623
5624 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5625
5626         * Makefile.am:
5627         * lyx_gui.h:
5628         * lyx_gui.C: move to frontends/
5629
5630         * main.C:
5631         * lyx_main.h:
5632         * lyx_main.C: changes from above
5633
5634 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5635
5636         * intl.C:
5637         * intl.h:
5638         * kbmap.C:
5639         * kbsequence.C:
5640         * lyx_cb.C:
5641         * lyx_main.C: minor tidy
5642
5643 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5644
5645         * BufferView_pimpl.h:
5646         * BufferView_pimpl.C:
5647         * BufferView.h:
5648         * BufferView.C: make painter() const,
5649           remove dead code
5650
5651         * BufferView2.C: use screen() accessor
5652
5653         * lyx_main.h:
5654         * lyx_main.C: some minor cleanup
5655
5656 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5657
5658         * BufferView_pimpl.h:
5659         * BufferView_pimpl.C: remove enter/leaveView,
5660           use workHeight()
5661
5662 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5663
5664         * BufferView.h:
5665         * BufferView.C:
5666         * BufferView2.C:
5667         * BufferView_pimpl.h:
5668         * BufferView_pimpl.C: only construct screen once,
5669           rename
5670
5671         * lyxrc.C: remove pointless comment
5672
5673 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
5674
5675         * BufferView.h:
5676         * BufferView.C: remove active() and belowMouse()
5677
5678         * BufferView_pimpl.h:
5679         * BufferView_pimpl.C: use workarea() not workarea_,
5680           and make it use a scoped_ptr instead
5681
5682 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
5683
5684         * lyx_gui.C: add debug message on BadWindow
5685
5686 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5687
5688         * sp_spell.C: fdopen is not part of the C++ standard.
5689
5690         * paragraph.C (InsetIterator): use >= instead of ==
5691
5692 2002-06-07  Angus Leeming  <leeming@lyx.org>
5693
5694         Fixes needed to compile with Compaq cxx 6.5.
5695         * BufferView_pimpl.C:
5696         * DepTable.C:
5697         * buffer.C:
5698         * converter.C:
5699         * encoding.C:
5700         * lyx_gui.C:
5701         * lyx_main.C:
5702         * lyxtextclasslist.C:
5703         * minibuffer.C:
5704         * sp_spell.C:
5705         * tabular_funcs.C:
5706         * vc-backend.C:
5707         all c-library variables have been moved into namespace std. Wrap
5708         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5709
5710         * lyxlength.C:
5711         * tabular-old.C:
5712         * tabular.C:
5713         Add a using std::abs declaration.
5714
5715         * kbmap.h (modifier_pair):
5716         * paragraph.h (InsetTable, InsetList):
5717         * lyxfont.h (FontBits):
5718         type definition made public.
5719
5720         * bufferlist.C (emergencyWriteAll): the compiler complains that
5721         there is more than one possible lyx::class_fun template to choose from.
5722         I re-named the void specialisation as lyx::void_class_fun.
5723
5724         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5725
5726         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5727         the compiler is is unable to find tostr in write_attribute.
5728
5729 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5730
5731         * buffer.C (sgmlError): hide #warning
5732
5733 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5734
5735         * xtl/*: get rid of xtl, which is not in use anyway
5736
5737         * LyXAction.C (init):
5738         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5739         were unimplemented xtl experimentation
5740
5741 2002-06-04  André Pönitz <poenitz@gmx.net>
5742
5743         * lyxfunc.C: disable array operation on simple formulae
5744
5745 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
5746
5747         * converter.C: constify a bit
5748
5749 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
5750
5751         * lyx_gui.C: check xforms version correctly
5752
5753 2002-04-30  Herbert Voss  <voss@lyx.org>
5754
5755         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5756         "keep" option
5757
5758 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
5759
5760         * lyxvc.C: fix bug 416 (make sure buffer is saved before
5761           attempt to register it with a VCS)
5762
5763 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5764
5765         * lyx_main.C (init): honor variables LYX_DIR_13x and
5766         LYX_USERDIR_13x
5767
5768 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
5769
5770         * buffer.h:
5771         * buffer.C:
5772         * lyx_main.C: fix a crash on bad command line,
5773           and give a useful exit status on error
5774
5775         * lyxfunc.C (doImport): allow -i lyx to work
5776
5777 2002-03-30  André Pönitz <poenitz@gmx.net>
5778
5779         * lyxfunc.C: mathed font changes
5780
5781 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
5782
5783         * LaTeX.C:
5784         * importer.h:
5785         * importer.C:
5786         * lyx_sty.h:
5787         * lyx_sty.C:
5788         * lyxlex.C:
5789         * lyxrow.h:
5790         * lyxtext.h:
5791         * paragraph.h:
5792         * paragraph.C:
5793         * texrow.h:
5794         * texrow.C:
5795         * text.C:
5796         * trans_mgr.h: srcdocs, and some minor cleanups
5797
5798 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5799
5800         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5801         call getFont all the time)
5802
5803 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5804
5805         * switch from SigC signals to boost::signals
5806
5807 2002-05-29  André Pönitz <poenitz@gmx.net>
5808
5809         * paragraph_pimpl.C (getChar): don't call size() too often...
5810
5811 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5812
5813         * paragraph_pimpl.C (insertChar): do not try to update tables when
5814         appending (pos == size())
5815
5816         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5817         in order to reduce drastically the number of comparisons needed to
5818         parse a large document
5819
5820 2002-05-29  André Pönitz <poenitz@gmx.net>
5821
5822         * text.C:
5823         * text2.C:
5824         * lyxtextclass.C:
5825         * sp_pspell.h:
5826         * textclasslist.[Ch]:
5827         * sp_ispell.h: whitespace change
5828
5829 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5830
5831         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5832         lyxaction directly now.
5833
5834 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
5835
5836         * trans.C:
5837         * lyxfont.C:
5838         * lyxvc.C: remove unused headers
5839
5840 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
5841
5842         * Makefile.am:
5843         * buffer.h:
5844         * undostack.h:
5845         * undostack.C:
5846         * undo_funcs.h:
5847         * undo_funcs.C: some cleanups. Use shared_ptr
5848           and a template for the undo stacks.
5849
5850 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
5851
5852         * BufferView_pimpl.h:
5853         * BufferView_pimpl.C:
5854         * kbmap.h:
5855         * kbmap.C:
5856         * kbsequence.h:
5857         * kbsequence.C:
5858         * lyxfunc.h:
5859         * lyxfunc.C:
5860         * text2.C: use key_state/mouse_state
5861
5862 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5863
5864         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5865         and LSubstring
5866
5867         * chset.C: change include order
5868         (loadFile): use boost regex and get rid of LRegex and LSubstring
5869
5870         * Makefile.am (BOOST_LIBS): new variable
5871         (lyx_LDADD): use it
5872
5873         * LaTeX.C: change include order.
5874         (scanAuxFile): use boost regex and get rid of LRegex and
5875         LSubstring
5876         (deplog): ditto
5877
5878 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
5879
5880         * ColorHandler.h:
5881         * ColorHandler.C:
5882         * FontInfo.h:
5883         * FontInfo.C: moved to frontends/xforms/
5884
5885         * FontLoader.h:
5886         * FontLoader.C: moved into frontends for GUIIzation
5887
5888         * Makefile.am:
5889         * lyx_gui.C:
5890         * lyxfont.C:
5891         * lyxfunc.C: changes from above
5892
5893 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
5894
5895         * LColor.C: remove spurious X include
5896
5897         * BufferView_pimpl.C:
5898         * Makefile.am:
5899         * font.h:
5900         * font.C:
5901         * text.C:
5902         * text2.C: move font metrics to frontends/
5903
5904 2002-05-24  Juergen Vigna  <jug@sad.it>
5905
5906         * undo_funcs.C (textHandleUndo): fix the cursor selection after
5907         setting the undo_cursor.
5908
5909         * ParagraphParameters.h: include local includes first.
5910
5911 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
5912
5913         * BufferView_pimpl.C:
5914         * BufferView_pimpl.h:
5915         * Makefile.am:
5916         * WorkArea.h:
5917         * WorkArea.C:
5918         * screen.C: move WorkArea into frontends/
5919
5920         * lyxscreen.h:
5921         * screen.C:
5922         * text.C:
5923         * BufferView.C:
5924         * BufferView2.C: move LyXScreen into frontends/
5925
5926         * lyxlookup.h:
5927         * lyxlookup.C:
5928         * lyx_gui.C: move lyxlookup into frontends/xforms/
5929
5930 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
5931
5932         * BufferView2.C:
5933         * BufferView_pimpl.C:
5934         * FontLoader.C:
5935         * LyXView.h:
5936         * LyXView.C:
5937         * Makefile.am:
5938         * WorkArea.C:
5939         * XFormsView.h:
5940         * XFormsView.C:
5941         * buffer.C:
5942         * bufferlist.C:
5943         * bufferview_funcs.C:
5944         * converter.C:
5945         * importer.C:
5946         * lyx_cb.C:
5947         * lyx_gui.C:
5948         * lyx_main.C:
5949         * lyx_find.C:
5950         * lyxfunc.C:
5951         * lyxvc.C:
5952         * minibuffer.C:
5953         * text.C:
5954         * text2.C:
5955         * trans.C:
5956         * vc-backend.C: move LyX/XFormsView into frontends/
5957
5958 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
5959
5960         * Makefile.am:
5961         * PainterBase.C:
5962         * PainterBase.h:
5963         * Painter.C:
5964         * Painter.h:
5965         * WorkArea.C:
5966         * WorkArea.h:
5967         * screen.C:
5968         * tabular.C:
5969         * text.C:
5970         * text2.C: move Painter to frontends/
5971
5972 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5973
5974         * buffer.C: comment out some some code that depend upon lyx_format
5975         < 220
5976
5977         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5978         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5979
5980         * buffer.h (NO_COMPABILITY): turn off compability
5981
5982         * ColorHandler.C: include scoped_array.hpp
5983
5984         * font.C: Use more specific smart_ptr header.
5985         * Painter.C: ditto
5986         * gettext.C: ditto
5987         * ShareContainer.h: ditto
5988         * lyx_main.h: ditto
5989         * kbmap.h: ditto
5990         * FontInfo.h: ditto
5991         * BufferView_pimpl.h: ditto
5992         * ColorHandler.h: ditto
5993
5994         * kbmap.C (defkey): change call to shared_ptr::reset
5995
5996 2002-05-21  Juergen Vigna  <jug@sad.it>
5997
5998         * buffer.C (insertErtContents): fix to insert ert asis if it is
5999         non empty. Skip it completely if it contains only whitespaces.
6000
6001 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
6002
6003         * BufferView_pimpl.C:
6004         * BufferView2.C: clear selection on paste (bug 393)
6005
6006 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6007
6008         * DepTable.C: include ctime
6009
6010 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
6011
6012         * buffer.C (latexParagraphs): Add new argument (moving_arg).
6013
6014 2002-05-14  Juergen Vigna  <jug@sad.it>
6015
6016         * text.C (breakParagraph): fixed function to honor the keepempty
6017         layout in the right maner and also to permit the right breaking
6018         algorithm on empty or non empyt keepempty paragraphs.
6019
6020         * paragraph.C (breakParagraph): we have to check also if the par
6021         is really empty (!size()) for isempty otherwise we do the wrong
6022         paragraph break.
6023
6024 2002-05-10  Juergen Vigna  <jug@sad.it>
6025
6026         * buffer.[Ch] : The following are only changes to the ert
6027         compatibility read reading old LaTeX layout and font stuff and
6028         convert it to ERTInsets.
6029
6030         * buffer.h: added isErtInset().
6031
6032         * buffer.C (struct ErtComp): add a fromlayout bool to check
6033         if we're inside a LaTeX layout.
6034         (isErtInset): new helper function.
6035         (insertErtContents): look for other ert insets before this one
6036         and insert the contents there, so that we don't have subsequent
6037         ERT insets with nothing between them. This way we create only one
6038         inset with multiple paragraphs. Also check if we don't insert only
6039         spaces ' ' as they are ignored anyway afterwards in the .tex file
6040         so if we have only spaces we will ignore this latex part in the
6041         new file.
6042         (parseSingleLyXformat2Token \\layout): better compatibility when
6043         reading layout-latex stuff.
6044         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6045         language tag.
6046         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6047         stuff after reading the inset only get the information back from
6048         the stack.
6049
6050 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
6051
6052         * buffer.C (makeLaTeXFile): Put language options after loading babel.
6053
6054         * LaTeXFeatures.C (getBabelOptions): New method.
6055
6056 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6057
6058         * BufferView_pimpl.C (Dispatch): work around missing argument for
6059         'layout'
6060
6061 2002-05-08  Juergen Vigna  <jug@sad.it>
6062
6063         * text.C (leftMargin): handle paragraph leftindent.
6064
6065         * paragraph.C (writeFile): write the new \\leftindent tag.
6066         (validate): handle leftindent code.
6067         (TeXEnvironment): handle paragraphleftindent code again.
6068
6069         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6070
6071         * buffer.C (parseSingleLyXformat2Token): added compatibility code
6072         for paragrap_extra indent code and new token \\leftindent.
6073         (latexParagraphs): handle the leftindent as environment.
6074
6075         * ParameterStruct.h: added leftindent support.
6076
6077         * ParagraphParameters.C (leftIndent): added support functions for
6078         the paragraph left indent.
6079
6080         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6081         more appropriate.
6082
6083 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
6084
6085         * paragraph.C (isRightToLeftPar): Return false for a paragraph
6086         inside insetERT.
6087
6088         * text.C (computeBidiTables): No bidi in insetERT.
6089
6090         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6091         in RTL documents.
6092
6093 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6094
6095         * version.C.in: pre 5
6096
6097 2002-05-02  José Matos  <jamatos@fep.up.pt>
6098         * buffer.C (makeDocBookFile): white space changes, add newline to
6099         command styles.
6100         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6101
6102         * tabular.C (docBook): fix typo.
6103
6104 2002-05-03  Juergen Vigna  <jug@sad.it>
6105
6106         * screen.C (drawFromTo): recalculate the rowpointer if we had a
6107         change in LyXText as we can not be sure it was not freed.
6108         (drawOneRow): remove unused code.
6109
6110         * text.C (drawInset): redo the calculation of the need_break_row as
6111         it could have a row which was already freed.
6112         (draw): look at the return value of drawInset and return false if
6113         it also returned false.
6114         (paintRowText): look at the return value of draw and return false if
6115         it also returned false.
6116
6117         * lyxtext.h: added bool return type to drawInset() and draw() so that
6118         if we have a change in the row so that the rowbreak has to be redone
6119         we abort drawing as it will be called again.
6120
6121 2002-05-02  Juergen Vigna  <jug@sad.it>
6122
6123         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6124         a change in the maintext also if we're inside an inset.
6125         (Dispatch): set the cursor again after a break line and after the
6126         screen has been updated as it could be we're in a different row.
6127
6128         * text2.C (fixCursorAfterDelete): check to make sure we don't request
6129         to set the cursor behind the pargraph with > size().
6130         (setCursor): check also for the same paragraph when checking where
6131         to put the cursor if we have a NFR inset.
6132
6133         * buffer.C (parseSingleLyXformat2Token): move the compatibility
6134         parts of layout read further up as it still was in the wrong
6135         position.
6136
6137 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6138
6139         * screen.C (drawFromTo): change sine fullRebreak always return
6140         true.
6141
6142         * buffer.C (parseSingleLyXformat2Token): reindent some
6143
6144         * BufferView_pimpl.C (update): change since fullRebreak always
6145         return true.
6146         (Dispatch): git rid of the last hardcoded "Standard"s.
6147
6148 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6149
6150         * text2.[Ch] (fullRebreak): make it return void now that we always
6151         returned true.
6152
6153 2002-04-30  Juergen Vigna  <jug@sad.it>
6154
6155         * buffer.C (parseSingleLyXformat2Token): reset the font before the
6156         ert compatibility check for "latex" layout.
6157
6158 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
6159
6160         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6161         minipages: use col% instead of p%, and also use the current font.
6162         (makeLaTeXFile): Fix use babel condition.
6163         (parseSingleLyXformat2Token): Correct font when reading old floats.
6164
6165 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
6166
6167         * BufferView_pimpl.C (Dispatch): Check that float type exists when
6168         inserting list of floats.
6169
6170 2002-04-25  Herbert Voss  <voss@lyx.org>
6171
6172         * MenuBackend.C (expand): don't add the graphics extensions to the
6173         export menu
6174
6175 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6176
6177         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6178         non-existing layout, do not complain if it was the default layout
6179         of the original class (bug #342)
6180
6181 2002-04-24  Juergen Vigna  <jug@sad.it>
6182
6183         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6184         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6185
6186 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
6187
6188         * buffer.C (getBibkeyList): If using \bibliography, return the
6189         option field with the reference itself. Enables us to provide natbib
6190         support when using \bibliography.
6191
6192 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
6193
6194         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6195
6196         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6197         natbib is provided by the LaTeX class.
6198
6199 2002-04-23  Juergen Vigna  <jug@sad.it>
6200
6201         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6202         Wakeup functions.
6203
6204         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6205
6206 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6207
6208         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6209
6210         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6211         ensuremath around textordmasculine, textordfeminine and
6212         textdegree.
6213
6214 2002-04-19  Juergen Vigna  <jug@sad.it>
6215
6216         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6217         reinitializing the buffer otherwise row-dimensions may be wrong.
6218         (update): reset also the selection cursors if they do exits otherwise
6219         their x/y positions may be wrong.
6220
6221         * text2.C (cursorDown): don't enter the inset if we came from a row
6222         above and are one row over the inset.
6223
6224         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6225         really leaving an inset.
6226
6227 2002-04-18  Juergen Vigna  <jug@sad.it>
6228
6229         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6230         of the selected paragraph does not have the selected layout also if
6231         the last one had!
6232
6233         * text2.C (setLayout): fixed bug which did not change last selected
6234         paragraph.
6235
6236         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6237         changed the read and substituted \\end_float with \\end_inset!
6238
6239         * BufferView_pimpl.C (cursorPrevious):
6240         (cursorNext): fixed to make it work with rows heigher than the work
6241         area without moving the cursor only the draw of the row.
6242         (workAreaMotionNotify): fix jumping over high rows.
6243
6244 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6245
6246         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6247         Ressler.
6248
6249 2002-04-16  Juergen Vigna  <jug@sad.it>
6250
6251         * text2.C (setCursor): set also the irow().
6252         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6253         (cursorUp):
6254         (cursorDown): support for locking an inset if the x_fix value goes
6255         inside it. That way I can transverse insets too with cursor up/down.
6256
6257         * lyxrow.h: added irow helper function same as other (i) functions.
6258
6259         * BufferView_pimpl.C (cursorPrevious):
6260         (cursorNext): fixed for insets!
6261
6262 2002-04-15  Juergen Vigna  <jug@sad.it>
6263
6264         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6265         position otherwise it is wrong in some cases.
6266
6267         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6268         inside the inset before the call.
6269
6270 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
6271
6272         * buffer.[Ch] (getBibkeyList): make it const.
6273
6274 2002-04-12  Juergen Vigna  <jug@sad.it>
6275
6276         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6277
6278         * text2.C (getCursorX): new helper function
6279         (setCursor): compute also ix_
6280         (setCursorFromCoordinates): set also ix.
6281
6282         * lyxcursor.h: added ix_ and helper functions.
6283
6284         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6285
6286         * buffer.C (insertStringAsLines): dont break paragraph if the this
6287         paragraph is inside an inset which does not permit it!
6288
6289         * text.C (breakParagraph): honor keepempty flag and break the paragraph
6290         also with no chars on this paragraph.
6291         (paintRowText): only paint stuff if it's inside the workarea!
6292
6293         * paragraph.C (breakParagraph): honor keepempty flag and break the
6294         paragraph always below not above.
6295
6296         * BufferView2.C (unlockInset): update the paragraph layout on inset
6297         unlock as we changed paragraph in such a case.
6298
6299         * lyxfind.C (LyXFind): clear the former selection if not found!
6300
6301         * text2.C (insertInset): freeze Undo after setUndo so that it is not
6302         again called in insertChar().
6303
6304         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6305         an inset which uses the whole row!
6306         (rightMargin): ditto.
6307         (insertChar): force a rebreak if we inserted an inset!
6308
6309 2002-03-28  Herbert Voss  <voss@lyx.org>
6310
6311         * lyxlength.[Ch]: add inBP() to get the right PS-point
6312         units (BigPoint). With inPixels we have rounding errors
6313
6314 2002-04-11  Juergen Vigna  <jug@sad.it>
6315
6316         * text2.C (setCursorFromCoordinates): set iy to the right value.
6317         (setCursor): add check if row->previous exists!
6318
6319         * buffer.C (parseSingleLyXformat2Token): reset font after read of
6320         an old float_type as this was the case in the old code!
6321
6322         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6323
6324         * BufferView2.C (showLockedInsetCursor): use iy
6325         (fitLockedInsetCursor): ditto
6326
6327         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6328         locked insets as there we have the right value now.
6329
6330         * lyxcursor.C: added iy_ variable and iy functions to set to the
6331         baseline of cursor-y of the locked inset.
6332
6333         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6334         (setCursor): fixed for insets which need a full row.
6335
6336         * text.C (rowLastPrintable): don't ignore the last space when before
6337         an inset which needs a full row.
6338         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6339         as last character of a row when before a inset which needs a full row.
6340
6341 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6342
6343         * version.C.in: update date
6344
6345         * text2.C (fullRebreak): try to always return true and see what
6346         happens...
6347
6348 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6349
6350         * MenuBackend.C (expand): use Floating::listName
6351
6352         * FloatList.C (FloatList): add listName argument to the built-in
6353         floats
6354
6355         * Floating.[Ch]: add listName member, which is the 'List of XXX'
6356         text associated with the float.
6357
6358 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6359
6360         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6361
6362 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6363
6364         * ShareContainer.h: add a couple of missing typenames.
6365
6366 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
6367
6368         * lyxrc.C (getDescription): use _() correctly rather than N_().
6369
6370 2002-03-28  Herbert Voss  <voss@lyx.org>
6371
6372         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6373         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6374
6375 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6376
6377         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6378         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6379
6380 2002-03-29  Juergen Vigna  <jug@sad.it>
6381
6382         * lyxfunc.C (dispatch): add a missing fitCursor call.
6383
6384         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6385         it was scrolled by a cursor move, so return the bool status.
6386
6387         * BufferView.C (fitCursor): return the bool flag also to the outside
6388         world as this is needed.
6389
6390         * screen.C (toggleToggle): don't subtract the offset if it's positive.
6391
6392         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6393         call the edit() as it is not needed (and wrong) IMO.
6394         (workAreaButtonPress): set the screen_first variable before evt.
6395         unlock the inset as this may change screen_first and then we have
6396         a wrong y position for the click!
6397
6398 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6399
6400         * MenuBackend.C (expand): another translation that I missed
6401
6402 2002-03-28  Juergen Vigna  <jug@sad.it>
6403
6404         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6405
6406         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6407
6408 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6409
6410         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6411
6412         * MenuBackend.C (expand): fix export/view/update when there is no
6413         document open.
6414
6415 2002-03-27  Herbert Voss  <voss@lyx.org>
6416
6417         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6418         and text%
6419
6420 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6421
6422         * bufferview_funcs.C (currentState): only show paragraph number
6423         for is DEVEL_VERSION is set.
6424
6425         * lyxfunc.C (dispatch): put warning in INFO channel
6426
6427         * MenuBackend.C (expand): translate the name of floats
6428
6429         * FloatList.C (FloatList): mark the float names for translation
6430
6431         * converter.C (convert): use LibScriptSearch
6432
6433 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6434
6435         * MenuBackend.C (defaults): fix default menu (we might as well get
6436         rid of it...)
6437
6438 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6439
6440         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6441         directory.
6442
6443 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6444
6445         * lyxvc.C: reorder includes.
6446
6447 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
6448
6449         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6450           properly
6451
6452 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
6453
6454         * CutAndPaste.C: change layouts earlier on paste
6455           to avoid crashing when calling getFont()
6456
6457 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
6458
6459         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6460         irritating #error.
6461
6462 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6463
6464         * WorkArea.C: remove 'Pending' debug message.
6465
6466         * most files: ws cleanup
6467
6468         * buffer.[Ch]: ws changes
6469
6470         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6471
6472 2002-03-21  Juergen Vigna  <jug@sad.it>
6473
6474         * tabular.C (SetMultiColumn): collapse also the contents of the
6475         cells and set the last border right. Added a Buffer const * param.
6476
6477 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6478
6479         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6480         linking or not.
6481
6482 2002-03-19  Juergen Vigna  <jug@sad.it>
6483
6484         * text2.C (clearSelection): reset also xsel_cache.
6485
6486         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6487         where it needs to be called (John tells us to do so too :)
6488         (selectionLost): reset sel_cache.
6489
6490         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6491
6492 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6493
6494         * text2.C (setCursorIntern): put debuging code in INSETS channel
6495
6496 2002-03-19  André Pönitz <poenitz@gmx.net>
6497
6498         * lyxfunc.C: tiny whitespace change
6499
6500 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6501
6502         * ToolbarDefaults.C (init):
6503         * LyXAction.C (init):
6504         * commandtags.h:
6505         * BufferView_pimpl.C (Dispatch):
6506         * lyxfunc.C (dispatch): remove LFUN_DEPTH
6507
6508 2002-03-19  Allan Rae  <rae@lyx.org>
6509
6510         * exporter.C (Export): removeAutoInsets before doing anything else.
6511         While I've just introduced a dependency on BufferView this really is
6512         the best place to clean the buffer otherwise you need to cleanup in
6513         a dozen places before calling export or cleanup in a dozen functions
6514         that export calls.
6515
6516         * converter.C (runLaTeX):
6517         (scanLog): Better handling of removeAutoInsets and screen updates.
6518
6519         * lyxfunc.C (dispatch): small whitespace changes
6520
6521 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6522
6523         * WorkArea.C (C_WorkAreaEvent): return a value.
6524         (event_cb): return 1 if we handled the event, 0 otherwise.
6525
6526         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6527
6528 2002-03-18  Juergen Vigna  <jug@sad.it>
6529
6530         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6531         (GetAdditionalWidth): ditto.
6532         (RightLine): ditto.
6533         (LeftLine): ditto.
6534
6535         * BufferView2.C (copy): use getLyXText() so that we do it inside an
6536         inset if we're there actually (probably not used right now but this
6537         is the direction to go for unifying code).
6538         (paste): disable code to clear the selection.
6539
6540         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6541         inside an InsetText and move the check further up as it is in the
6542         wrong place.
6543
6544         * text2.C (pasteSelection): set a selection over the pasted text.
6545
6546 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
6547
6548         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6549         and libgraphics to build on Cygwin.
6550
6551 2002-03-15  Juergen Vigna  <jug@sad.it>
6552
6553         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6554         inserting an Inset into the paragraph. I know this is not the best
6555         fix but we already use current_view in CutAndPaste so we will remove
6556         all of it's using at the same time.
6557
6558         * buffer.C (sgmlError): deactivated function till it is rewritten in
6559         the right mode, now it can create problems.
6560
6561         * paragraph.C (isLineSeparator): check if getInset returns != 0,
6562         before accessing it.
6563
6564 2002-03-14  Juergen Vigna  <jug@sad.it>
6565
6566         * undo_funcs.C (textHandleUndo): do the right thing when updating
6567         the inset after the undo/redo.
6568
6569         * text2.C (setCursor): just some testcode for #44 not ready yet.
6570
6571         * undo_funcs.C (textHandleUndo): set the next() and previous()
6572         pointers of the paragraph to 0 before deleting otherwise we have
6573         problems with the Paragraph::[destructor].
6574
6575         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6576         on a paragraph insertion.
6577
6578 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6579
6580         * buffer.C (asciiParagraph): use += operator for char append to
6581         string.
6582
6583         * paragraph.C (getFontSettings): compare >= not just >
6584         (highestFontInRange): ditto
6585         (setFont): ditto
6586
6587 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6588
6589         * paragraph.C: change several algorithm to be more appripriate for
6590         the problem domain. This is lookip in FontList and in the InsetList.
6591
6592 2002-03-13  André Pönitz <poenitz@gmx.net>
6593
6594         * commandtags.h:
6595         * LyXAction.C: remove unused LFUN_MATH_MACROARG
6596
6597 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
6598
6599         * commandtags.h:
6600         * LyXAction.C:
6601         * lyxfunc.C:
6602         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6603
6604 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6605
6606         * Painter.C (display): anon helper function, adjust code for this
6607         change.
6608         (pixmap): remove function.
6609
6610         * Painter.h: remove private display variable.
6611
6612         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6613
6614 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
6615
6616         * WorkArea.[Ch]: remove figinset_canvas cruft.
6617
6618 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6619
6620         * lyxtextclass.C (operator): add one item cache optimization.
6621
6622         * bufferlist.h: doxy changes
6623
6624         * bufferlist.C: ws changes
6625
6626         * DepTable.[Ch] (ext_exist): place const in the right spot.
6627
6628         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6629         call resizeInsets.
6630         (workAreaExpose): call resizeInsets when the with BufferView changes.
6631         (Dispatch): adjust for protectedBlank removal
6632         (specialChar): call updateInset if the insert went ok.
6633
6634         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6635         specialChar instead.
6636
6637         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6638
6639         * BufferView.h: doxy change
6640
6641         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6642
6643         * lyxtextclass.C (operator[]): remove non-const version
6644         (defaultLayout): remove non-const version
6645
6646 2002-03-12  Juergen Vigna  <jug@sad.it>
6647
6648         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6649         did resize the LyXText too.
6650
6651         * buffer.C (readLyXformat2): set layout information on newly allocated
6652         paragraphs.
6653
6654         * tabular.C (OldFormatRead): set layout information on the paragraph.
6655
6656 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
6657
6658         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6659
6660 2002-03-11  Juergen Vigna  <jug@sad.it>
6661
6662         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6663         plainly wrong.
6664         (resizeCurrentBuffer): force also the insets to resize themselfes.
6665         (moveCursorUpdate): fixed up for InsetText.
6666
6667 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
6668
6669         * commandtags.h:
6670         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6671         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6672         value of Dialogs::tooltipsEnabled().
6673         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6674
6675 2002-03-08  Juergen Vigna  <jug@sad.it>
6676
6677         * BufferView_pimpl.C (updateInset): update inset inside inset also
6678         if it isn't inside theLockingInset().
6679
6680 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6681
6682         * buffer.C (asciiParagraph): redo some of the word and line length
6683         handling.
6684         (getLists): look for Caption instead of caption.
6685
6686 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6687
6688         * buffer.C (Buffer): initialize niceFile to true
6689         (makeLaTeXFile):
6690         (makeLinuxDocFile):
6691         (makeDocBookFile): make sure niceFile is true on exit
6692
6693 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6694
6695         * buffer.C (makeLaTeXFile): escape ~ in \input@path
6696
6697 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
6698
6699         * LyXSendto.C: remove.
6700         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6701         * lyx_gui.C: remove now-redundant comment.
6702         * ColorHandler.h: remove forward declaration of class WorkArea.
6703         * lyxfunc.C: remove #include "WorkArea.h".
6704
6705 2002-03-07  Juergen Vigna  <jug@sad.it>
6706
6707         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6708         got moved away with the DEPM and also set the inset_owner always
6709         right which before could have been omitted.
6710
6711 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6712
6713         * buffer.C (parseSingleLyXformat2Token): use default layout is the
6714         wanted layout is not found.
6715
6716 2002-03-07  Juergen Vigna  <jug@sad.it>
6717
6718         * CutAndPaste.C (cutSelection): another layout settings forgotten.
6719
6720 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6721
6722         * paragraph.C (breakParagraph): use default layout not layout of
6723         prev paragraph.
6724         (Paragraph): clear ParagraphParameters.
6725
6726 2002-03-06  Juergen Vigna  <jug@sad.it>
6727
6728         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6729         otherwise it would not be a valid lenght. Fixed a special case in
6730         the minipage compatibility read where we end the document with a
6731         minipage.
6732
6733         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6734         was set as it could be 0 for InsetTexts first entry.
6735
6736 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6737
6738         * paragraph.C (writeFile): if layout is empty write out
6739         defaultLayoutName().
6740
6741         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6742         file without named layout we set layout to defaultLayoutName().
6743
6744 2002-03-06  Juergen Vigna  <jug@sad.it>
6745
6746         * CutAndPaste.C (copySelection): set layout for new paragraph.
6747
6748         * text.C (prepareToPrint): leave ERT inset left aligned
6749         (leftMargin): don't indent paragraphs inside ERT insets
6750
6751 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6752
6753         * paragraph.C (breakParagraph): dont call clear do the work manually
6754
6755         * paragraph.[Ch] (clear): remove function
6756
6757 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6758
6759         * paragraph.C (Paragraph): dont call clear, the work has already
6760         been done.
6761
6762         * lyxtextclass.C (operator): assert if n is empty
6763
6764         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6765         work manually instead.
6766
6767 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
6768
6769         * BufferView_pimpl.C: protect selectionLost against text == 0
6770
6771 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6772
6773         * text.C (breakParagraph): fix a setting layout to '0' problem.
6774
6775 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
6776
6777         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6778         final location of file, for the included files, and graphics.
6779
6780 2002-03-05  Juergen Vigna  <jug@sad.it>
6781
6782         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6783
6784 2002-03-04  Juergen Vigna  <jug@sad.it>
6785
6786         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6787
6788         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6789         last column of multicolumn cells.
6790         (SetWidthOfMulticolCell): recalculate NMC and real columns.
6791
6792 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
6793
6794         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6795         file if it doesn't go to a temporary file.
6796
6797         * buffer.C (sgmlOpenTag):
6798         (sgmlCloseTag):  remove extra newline insertion.
6799
6800 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6801
6802         * text.C (getRowNearY): comment out debug msg
6803
6804 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6805
6806         * text2.C: first -> first_y
6807
6808         * text.C (getRowNearY): add some attemts at a possible
6809         optimization, not working.
6810
6811         * tabular.[Ch]: add BufferParams to several function so that newly
6812         created paragraph can be initialized to he default layotu for the
6813         buffers textclass.
6814
6815         * tabular-old.C (ReadOld): add buf->params to call of Init
6816
6817         * screen.C: rename text->first to text->first_y
6818
6819         * paragraph.C (breakParagraph): always set layout in the broken
6820         paragraph
6821
6822         * lyxtextclass.C (Read): remove lowercase
6823         (hasLayout): ditto
6824         (operator): ditto
6825         (delete_layout): ditto
6826
6827         * lyxtext.h: rename first -> first_y
6828
6829         * lyxlayout.C (Read): remove lowercase
6830         (name): ditto
6831         (setName): ditto
6832         (obsoleted_by): ditto
6833
6834         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6835
6836         * buffer.C (insertErtContents): add params are to InsetERT
6837         (parseSingleLyXformat2Token): add code to check if a paragraphs
6838         layout really exist.
6839         (parseSingleLyXformat2Token): add params to several inset
6840         constructors
6841         (asciiParagraph): remove lowercase, do the layout comparisons with
6842         no_case
6843
6844         * BufferView_pimpl.C (cursorNext): first -> first_y
6845         (resizeCurrentBuffer): first -> first_y
6846         (updateScrollbar): first -> first_y
6847         (scrollCB): first -> first_y
6848         (workAreaMotionNotify): first -> first_y
6849         (workAreaButtonPress): first -> first_y
6850         (checkInsetHit): first -> first_y
6851         (cursorPrevious): first -> first_y
6852         (cursorNext): first -> first_y
6853         (Dispatch): add buffer_->params to severl inset contructors
6854
6855 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6856
6857         * lyxlayout.C (Read): remove some debug info that I forgot.
6858
6859         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6860         clean up the code slightly.
6861         (makeLinuxDocFile): ditto
6862         (makeDocBookFile): ditto
6863
6864         * text2.C: layout as string
6865
6866         * text.C: layout as string
6867
6868         * paragraph_pimpl.C: layout as string
6869
6870         * paragraph.[Ch]: layout as string
6871
6872         * lyxtextclasslist.[Ch]: layout as string
6873
6874         * lyxtextclass.[Ch]: layout as string
6875
6876         * lyxtext.h: layout as string
6877
6878         * lyxlayout.[Ch]: layout as string
6879
6880         * lyx_cb.C: layout as string
6881
6882         * bufferview_funcs.C: layout as string
6883
6884         * bufferparams.C: layout as string
6885
6886         * buffer.C: layout as string
6887
6888         * LyXView.[Ch]: layout as string
6889
6890         * LaTeXFeatures.[Ch]: layout as string
6891
6892         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6893
6894         * BufferView_pimpl.C: change current_layout to string, remove
6895         lyx::layout_type.
6896         (Dispatch):
6897         (smartQuote):
6898         (insertInset):
6899         (workAreaButtonRelease): layout as string
6900
6901         * BufferView2.C (unlockInset): adjust
6902
6903         * vspace.C (asLatexCommand): use an explict temp variable.
6904
6905 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
6906
6907         * Makefile.am: use FRONTEND_*
6908
6909 2002-03-01  Juergen Vigna  <jug@sad.it>
6910
6911         * tabular.C (SetWidthOfMulticolCell): changed to something better
6912         I hope but still work in progress.
6913         (recalculateMulticolumnsOfColumn): renamed function from
6914         recalculateMulticolCells as it is more appropriate now.
6915         (SetWidthOfCell): calculate multicols better.
6916
6917 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6918
6919         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6920
6921         * lyxfunc.C (processKeySym): print sequence also if it is
6922         `deleted' (complete)
6923
6924         * kbsequence.C (print): print sequence even if it is deleted
6925         (complete would be a better word, actually).
6926
6927         * lyxfunc.C (dispatch): print complete options after a prefix key
6928
6929         * vspace.C (asLatexCommand): rewrite in a slightly different form.
6930
6931 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
6932
6933         * text2.C (setCharFont): eliminate setCharFont code duplication.
6934
6935 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6936
6937         * BufferView_pimpl.C (Dispatch): remove bogus handling of
6938         LFUN_TABULAR_FEATURE (bug #177)
6939
6940 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
6941
6942         * Makefile.am: remove figure.h
6943
6944 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
6945
6946         * Bufferview_pimpl.C:
6947         * CutAndPasteC:
6948         * LaTeX.C:
6949         * LyXSendto.C:
6950         * buffer.C:
6951         * bufferlist.C:
6952         * converter.C:
6953         * language.C:
6954         * lyxfunc.C:
6955         * lyxvc.C:
6956         * paragraph.C:
6957         * text.C:
6958         * text2.C: remove #include "lyx_gui_misc.h".
6959
6960         * LaTeX.C: added #include <cstdio>
6961
6962 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6963
6964         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6965         that the paragraph following this one can have.
6966
6967         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6968
6969         * vspace.C (asLatexCommand): fix bogus gcc warning
6970
6971         * Makefile.am (lyx_SOURCES): remove vms_defines.h
6972
6973 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
6974
6975         * text2.C (setLayout): get rid of redundant code
6976
6977 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
6978
6979         * text2.C (incDepth): make sure depth cannot be increased beyond
6980         reasonable values.
6981
6982 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
6983
6984         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6985         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6986
6987         * PainterBase.h (image):
6988         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6989         a LyXImage const *.
6990
6991 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
6992
6993         * BufferView.C:
6994         * BufferView.h:
6995         * BufferView_pimpl.C:
6996         * BufferView_pimpl.h:
6997         * LaTeXFeatures.C:
6998         * LyXAction.C:
6999         * LyXView.C:
7000         * Makefile.am:
7001         * UpdateList.h:
7002         * UpdateList.C:
7003         * buffer.C:
7004         * figure.h:
7005         * figureForm.C:
7006         * figureForm.h:
7007         * figure_form.C:
7008         * figure_form.h:
7009         * lyx_cb.C:
7010         * lyx_gui.C:
7011         * lyx_gui_misc.C:
7012         * lyxfunc.C:
7013         * sp_base.h:
7014         * sp_ispell.h:
7015         * sp_pspell.h:
7016         * sp_spell.C: remove fig inset, and the crap house of
7017           cards that follows it
7018
7019 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
7020
7021         * Makefile.am:
7022         * lyxserver.C:
7023         * os2_defines.h:
7024         * os2_errortable.h:
7025         * nt_defines.h: move .h into support/
7026
7027         * vms_defines.h: remove
7028
7029         * WorkArea.C: add space in debug output
7030
7031         * text2.C:
7032         * paragraph.C:
7033         * buffer.C: add WITH_WARNINGS
7034
7035         * vc-backend.h:
7036         * vc-backend.C:
7037         * bufferlist.C: s/retrive/retrieve/, add docs
7038
7039         * vspace.h:
7040         * vspace.C:
7041         * kbmap.h:
7042         * lyxlength.h:
7043         * lyxgluelength.h:
7044         * length_common.h:
7045         * chset.h:
7046         * chset.C: add docs
7047
7048         * lyxgui.C: add ID to X error handler
7049
7050         * lyxtestclass.c: fix typo
7051
7052 2002-02-26  Juergen Vigna  <jug@sad.it>
7053
7054         * tabular_funcs.C (write_attribute): changed so that some default
7055         attributes are not written at all.
7056         (getTokenValue): set default values before trying to read the
7057         value so we have the return value always set as default if we don't
7058         find the token we search for.
7059
7060         * tabular.C (Write): write bools as bools not as strings!
7061
7062 2002-02-22  Juergen Vigna  <jug@sad.it>
7063
7064         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7065         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7066
7067         * text.C (leftMargin): don't add an indent for paragraphs inside
7068         tabular cells (fix #208).
7069
7070 2002-02-21  José Matos  <jamatos@fep.up.pt>
7071
7072         * tabular.C (docBook): fixed support for long tables.
7073
7074 2002-02-20  Juergen Vigna  <jug@sad.it>
7075
7076         * text2.C (getFont): get the drawing font of the Inset if this
7077         paragraph is inside an inset (only important for InsetERT for now).
7078
7079         * buffer.C (insertErtContents): use new lanugage params in ERT
7080         constructor.
7081
7082         * CutAndPaste.C: commenting out seemingly uneeded code.
7083
7084 2002-02-19  Allan Rae  <rae@lyx.org>
7085
7086         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7087         Iterators might be simple to use but they also get invalidated.
7088         (removeAutoInsets): renamed saved cursor tracking variables and added
7089         some comments to clarify what everything does.
7090
7091 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
7092
7093         * Chktex.C:
7094         * LaTeX.C:
7095         * LyXSendto.C:
7096         * converter.C:
7097         * lyx_cb.C:
7098         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7099         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7100
7101         * lyxfunc.C:
7102         * vc-backend.h: remove #include "support/syscall.h"
7103
7104         * LaTeX.C:
7105         * LyXSendto.C:
7106         * converter.C: rearrange #includes in Lars' approved fashion.
7107
7108         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7109         forward declare class Timeout in the header file.
7110
7111         * XFormsView.C: changes due to the above.
7112
7113         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7114         similar to LyXView.
7115
7116         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7117         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7118
7119 2002-02-18  José Matos  <jamatos@fep.up.pt>
7120
7121         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7122         insets contents.
7123
7124 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
7125
7126         * a lot of small ws changes
7127         * add a lot of using std::XXX
7128         * use std construcs some places where approp.
7129         * use some exisint stuff from lyxfunctional where approp.
7130         * Make file changes to use partial linking (lets test this now...)
7131
7132 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
7133
7134         * Chktex.C:
7135         * buffer.C:
7136         remove #include "support/syscontr.h" as it's redundant. Always has been.
7137
7138         * Chktex.C:
7139         * LaTeX.C:
7140         * LyXSendto.C:
7141         * converter.C:
7142         * lyx_cb.C:
7143         * vc-backend.C:
7144         change Systemcalls::System to Systemcalls::Wait and
7145         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7146         No change of functionality, just reflects the stripped down Systemcalls
7147         class.
7148
7149 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
7150
7151         * debug.[Ch]: add a GRAPHICS type to the enum.
7152
7153 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7154
7155         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7156
7157         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7158         there is an inset.
7159
7160 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7161
7162         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7163         match the changes below.
7164
7165         * text2.C (toggleInset): if there is not editable inset at cursor
7166         position, try to see if cursor is _inside_ a collapsable inset
7167         and close it.
7168
7169 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7170
7171         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7172         document menu has a nice checkbox
7173
7174 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7175
7176         * lyxlength.C (asLatexString): change PW to output as percent of
7177         \textwidth.
7178
7179         * lengthcommon.C: change '%' to 't%'
7180
7181         * lyxfunc.C (dispatch): a few comments from Martin
7182
7183 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
7184
7185         * WorkArea.h:
7186         * WorkArea.C:
7187         * BufferView_pimpl.h:
7188         * BufferView_pimpl.C: clear our selection when X tells us we've lost
7189           the X selection.
7190
7191 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7192
7193         * vspace.C (inPixels): fix compiler warning
7194
7195 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7196
7197         * lyxfunc.C (getStatus): fix status message for disabled commands.
7198
7199 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
7200
7201         * BufferView_pimpl.C: fix crash on close buffer
7202         during selection (#227)
7203
7204 2002-01-27  Herbert Voss  <voss@lyx.org>
7205
7206         * buffer.C: link old Figure to new graphic inset
7207
7208 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
7209
7210         * FontLoader.C (getFontinfo): Change the latex font names in order
7211         to match the names of type1inst.
7212
7213 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7214
7215         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7216
7217         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7218         (extchanged): ditto
7219         (ext_exist): ditto
7220         (remove_files_with_extension): ditto
7221         (remove_file): ditto
7222         (write): ditto
7223
7224         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7225         document is smaller than the work area height. Do not initialize
7226         static variables to 0.
7227
7228 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7229
7230         * lyx_gui.C (init): give the toolbar tooltips a normal font.
7231
7232         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7233         LFUN_LAYOUT_PARAGRAPHS.
7234
7235         * tabular.C (GetCellFromInset): new method. Finds an inset in a
7236         tabular. It is possible to provide a possible cell, which will
7237         typically be the actcell from the corresponding insettabular
7238
7239         * lyxfunc.C (getStatus): small cleanup; disable
7240         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7241         true
7242
7243 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7244
7245         * tabular.C (Validate): remove broken optimization (fixes bug #201)
7246
7247         * paragraph.C (startTeXParParams):
7248         (endTeXParParams): new methods. The LaTeX code to
7249         start/end paragraph formatting
7250         (simpleTeXOnePar): call startTeXParParams also when paragraph is
7251         empty (fixes bug #200)
7252
7253         * vspace.C (inPixels): adapt to the change below
7254         (inPixels): [later] more cleanups (remove unused variables)
7255
7256         * lyxlength.C (inPixels): change to use a width and a height as
7257         parameter.
7258
7259 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7260
7261         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7262         Replaced with \paperwidth
7263
7264         * DepTable.C (insert): add std:: qualifier
7265
7266 2002-01-18  Allan Rae  <rae@lyx.org>
7267
7268         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
7269         updated also?
7270
7271         * text.C (drawInset): Turned out I didn't know enough about how
7272         rebreaking worked.  This fixes most of the redraw problems.  I see
7273         an occasional cursor trail when a line is broken now and the cursor
7274         placement can seem out by a few pixels also after a rebreak.
7275
7276 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7277
7278         * buffer.C (parseSingleLyXformat2Token): update because minipage
7279         width is now a LyXLength
7280
7281         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7282
7283         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7284         math insets
7285
7286 2002-01-17  Juergen Vigna  <jug@sad.it>
7287
7288         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7289
7290         * BufferView2.C (lockInset): call edit() so that theLockingInset()
7291         is set correctly and the inset is updated correctly.
7292
7293 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7294
7295         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7296         the beginning of the loop.
7297
7298 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
7299
7300         * lyxrc.C: improve help for use_scalable_fonts
7301
7302 2002-01-17  Allan Rae  <rae@lyx.org>
7303
7304         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7305
7306 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7307
7308         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7309         make sure to set their inset_owner to the right value (bug #171)
7310
7311 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
7312
7313         * DepTable.h
7314         * DepTable.C: Implement mtime checking to reduce time spent doing
7315         CRCs.
7316
7317 2002-01-16  Juergen Vigna  <jug@sad.it>
7318
7319         * tabular.C (GetAdditionalHeight): one of error fixed.
7320
7321         * lyxrc.C (output): small fix in writing use_pspell.
7322
7323 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
7324
7325         * sp_base.h: #include LString.h
7326
7327 2002-01-16  Allan Rae  <rae@lyx.org>
7328
7329         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
7330         Can someone check this please?
7331
7332         * text.C (drawInset): It was possible that p.row would be removed by
7333         breakAgainOneRow upsetting a few other settings.  There may be another
7334         small tweak possible by setting need_break_row = 0 when p.row has been
7335         removed but I don't know enough about the logic here.
7336
7337 2002-01-15  Allan Rae  <rae@lyx.org>
7338
7339         * text.C (insertChar): removed conditional truism.
7340
7341         * BufferView2.C (removeAutoInsets): More tweaks.
7342         cur_par_prev could be a stray pointer.  Check for trailing empty line
7343         in case last line was cur_par and only had an error inset on it.
7344
7345 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7346
7347         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7348         absolute
7349
7350         * vc-backend.C (most methods):
7351         * exporter.C (Export):
7352         * converter.C (convert):
7353         (runLaTeX):
7354         * LyXSendto.C (SendtoApplyCB):
7355         * lyxfunc.C (dispatch):
7356         (menuNew):
7357         (open):
7358         (doImport):
7359         * lyx_cb.C (AutoSave):
7360         (InsertAsciiFile):
7361         * BufferView_pimpl.C (MenuInsertLyXFile):
7362         * buffer.C (runChktex): use Buffer::filePath().
7363
7364         * buffer.h: rename filename to filename_; rename filepath to
7365         filepath_ and make it private
7366         (filePath): new method
7367
7368         * buffer.C (writeFile): use fileName()
7369         (getLatexName):
7370
7371         * lyx_main.C (init): fix starting  of LyX when the binary is a
7372         link from so,ewhere else.
7373
7374         * minibuffer.C: include <cctype> for isprint
7375
7376 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
7377
7378         * buffer.C (parseSingleLyXformat2Token): changes associated with the
7379         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7380         name clash with InsetCollapsable's width function.
7381
7382 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7383
7384         * lastfiles.C: include <iterator>
7385
7386 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
7387
7388         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7389         std::count.
7390
7391         * buffer.C (makeLaTeXFile): ditto.
7392         Also make loop operation more transparent.
7393
7394 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
7395
7396         * ToolbarDefaults.C: remove trailing comma closing namespace.
7397
7398         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7399
7400         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7401         as in WorkArea.
7402
7403         * trans.C (Load): comment out unused variable, allowed.
7404
7405 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
7406
7407         * minibuffer.[Ch] (append_char): new method to recieve input from the
7408         drop-down completion browser. If a key was pressed, then recieve this
7409         char and append it to the existing string.
7410         (peek_event): modify the positioning data passed to the completion
7411         browser so that it can be placed above the minibuffer rather than below.
7412 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7413
7414         * LyXAction.C (init): alloe error-next for readonly documents.
7415
7416         * BufferView2.C (ChangeRefsIfUnique): use standard version of
7417         count.
7418
7419 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7420
7421         * bufferlist.C (readFile): create the buffer _after_ checking that
7422         the file exists.
7423
7424         * lyxfunc.C (verboseDispatch): fix handling of arguments
7425
7426         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7427
7428         * lyxrc.C: use string::erase() instead of initializing to "".
7429
7430
7431 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
7432
7433         * BufferView_pimpl.h:
7434         * BufferView_pimpl.C:
7435         * WorkArea.h:
7436         * WorkArea.C:
7437         * text2.C: tell X when we have made a selection for copying
7438
7439 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7440
7441         * BufferView_pimpl.C (MenuInsertLyXFile):
7442         * lyxfunc.C (menuNew):
7443         (open):
7444         (doImport): add shortcuts to directory buttons
7445
7446         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7447         open a float)
7448
7449         * lyxfunc.C (setStatusMessage):
7450         (getStatusMessage): new methods
7451         (getStatus):use setStatusMessage instead of setErrorMessage
7452         (dispatch): when function is disabled, set error message here
7453         [instead of in getStatus previously]
7454
7455         * BufferView_pimpl.C (workAreaButtonRelease): update
7456         toolbar/menubar here too.
7457
7458 2002-01-13  Allan Rae  <rae@lyx.org>
7459
7460         * BufferView2.C (removeAutoInsets): finished off earlier fix.
7461         Now seems indestructible.  Remaining task is to audit all other
7462         code affected by deleteEmptyParagraphMechanism.  One small quirk
7463         left is that an empty document with an error in the preamble can
7464         be made to report an error but no error box appears.  I don't know
7465         where it goes.
7466         (removeAutoInsets): Improved comments.
7467
7468 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
7469
7470         * Thesaurus.h:
7471         * Thesaurus.C: update for Aiksaurus 0.14
7472
7473 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7474
7475         * text2.C (firstParagraph): removed member function, all uses
7476         replaces with ownerParagraph
7477         (redoParagraphs): here
7478         (updateInset): here
7479         (toggleAppendix): here
7480         * BufferView2.C (insertErrors): here
7481         (setCursorFromRow): here
7482
7483 2002-01-13  Allan Rae  <rae@lyx.org>
7484
7485         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7486         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7487         There is still a way to segfault this although you may have to do this
7488         multiple times: Have an InsetERT with an unknown command in it.
7489         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7490         <down-arrow>, <Enter> again, View->DVI, BANG!
7491
7492         * text2.C (setCursor):
7493         (deleteEmptyParagraphMechanism):
7494         * lyxtext.h (setCursor):
7495         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7496         Making use of the return value may help fix other bugs.
7497
7498 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7499
7500         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7501
7502         * LyXView.C (updateMenubar): call MenuBar::update here
7503         (updateToolbar): but not here
7504         (showState): do not update toolbar/menubar
7505
7506         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7507         should need to care about that.
7508
7509         * lyxfunc.C (verboseDispatch): simplify a bit
7510         (getStatus): have a version which takes a pseudoaction, and
7511         another which requires a (kb_action,string).
7512
7513         * LyXAction.C (retrieveActionArg): make it work also when action
7514         is not a pseudo-action.
7515         (getActionName): simplify a bit
7516         (helpText):
7517
7518 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7519
7520         * lyxfunc.C (verboseDispatch): new families of methods with
7521         several ways to specify a command and a bool to indicate whether
7522         the command name and shortcut should be displayed in minibuffer
7523         (eventually, we could extend that to a finer bitmask like
7524         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7525         (dispatch): the pristine dispatch command which just, well,
7526         dispatchs! Note it still sets its result to minibuffer; I'm not
7527         sure we want that.
7528
7529         * lyxfunc.h: remove setHintMessage
7530
7531         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7532
7533 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7534
7535         * BufferView_pimpl.C (specialChar): delete new inset if we have
7536         not been able to insert it.
7537
7538         * kbmap.C: revert to using int instead of kb_action, since all we
7539         are dealing with is pseudo-actions.
7540
7541         * LyXAction.C (searchActionArg): change to return int instead of
7542         kb_action, since the result is a pseudoaction.
7543
7544 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
7545
7546         * buffer.C (insertErtContents): Fix (partially) the font bug.
7547
7548 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
7549
7550         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7551         as the other one is broken on my machine!
7552
7553 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
7554
7555         * commandtags.h:
7556         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7557
7558 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
7559
7560         * lyxrc.[Ch]: change names and descriptions of popup font variables to
7561         reflect their actual use. Provide compatibility code for older lyxrc
7562         files.
7563
7564         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7565         FL_NORMAL_STYLE.
7566         change names of popup font variables in line with the changes to lyxrc.C
7567
7568 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7569
7570         * buffer.C (asciiParagraph): avoid outputing a word twice after
7571         an inset.
7572
7573         * lyxrc.C (getDescription): document that document_path and
7574         template_path can be empty.
7575
7576 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7577
7578         * LaTeXFeatures.C (getMacros):
7579         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7580
7581         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7582
7583         * LaTeXFeatures.C (useFloat): require "float" here instead of in
7584         getPackages.
7585         (getPackages): rename feature "floats" to "float". Use an array to
7586         iterate over 'simple' features (i.e. just a \usepackage). Add
7587         handling of "amsmath" (renamed from "amsstyle").
7588
7589 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
7590
7591         * LaTeXFeatures.C (require): Prevent duplicate entries in the
7592         features list.
7593
7594 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
7595
7596         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7597         FuncStaus::FuncStatus & FuncStaus::some_method().
7598
7599 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
7600
7601         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7602         of the func_satus stuff. Edited and massaged in various ways by
7603         JMarc.
7604
7605         * lyxfunc.C (getStatus): use FuncStatus
7606
7607 2002-01-08  Juergen Vigna  <jug@sad.it>
7608
7609         * text.C (nextBreakPoint): use function Inset::isChar().
7610
7611         * paragraph.C (TeXOnePar): use function
7612         Inset::forceDefaultParagraphs.
7613
7614         * buffer.C (latexParagraphs): use function
7615         Inset::forceDefaultParagraphs.
7616
7617 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
7618
7619         * lyx_gui.C (init): set the style of the menu popups to
7620         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7621
7622 2002-01-07  Juergen Vigna  <jug@sad.it>
7623
7624         * text.C (setHeightOfRow): small fix
7625         (prepareToPrint): don't look at alignment if we don't have the place
7626         for doing it.
7627
7628 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
7629
7630         * box.C: New file. Move the Box methods and functions out of box.h,
7631         following Lars' suggestion.
7632
7633 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
7634
7635         * box.h: #include "support/LOstream.h", needed for inlined function.
7636
7637         * lyxtextclass.C:
7638         * lyxtextclasslist.C: added some using std declarations.
7639
7640 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
7641
7642         * box.h: make signed dimensions to allow insets wider than
7643           the screen (bug #162)
7644
7645         * BufferView_pimpl.C: add some insetHit debug
7646
7647 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
7648
7649         * vc-backend.C: add FIXME
7650
7651 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7652
7653         * lyxfunc.C (getStatus): enable code for showing math font status
7654         in toolbar/menu.
7655
7656 2002-01-07  Juergen Vigna  <jug@sad.it>
7657
7658         * text.C (nextBreakPoint): removed debug output not needed anymore.
7659
7660 2002-01-06  Juergen Vigna  <jug@sad.it>
7661
7662         * text.C (nextBreakPoint): fixed up this function we had this bug
7663         since ever but now hopefully we break row better.
7664         (insertChar): we have to check if an inset is the next char as it
7665         could now happen that a large inset is causing a break.
7666
7667 2002-01-05  Juergen Vigna  <jug@sad.it>
7668
7669         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7670         if it doesn't like to be drawed.
7671
7672 2002-01-04  Juergen Vigna  <jug@sad.it>
7673
7674         * BufferView2.C (lockInset): forgot to set a cursor.
7675
7676         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7677
7678 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
7679
7680         * FormMathsPanel.C:
7681         * FormMathsPanel.h
7682         * MathsSymbols.C:
7683         * form_maths_panel.C:
7684         * form_maths_panel.h:
7685         * form_maths_panel.fd: implemented sub- and super- buttons in math
7686         panel.
7687
7688         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7689         (or ^ space) to be used as in TeX (req'd by André).
7690
7691         * lyxfunc.C: Allow ^ and _ again to be used both as
7692         super/subscript (mathed) and as themselves (in text).
7693
7694 2002-01-03  Allan Rae  <rae@lyx.org>
7695
7696         * LyXView.C (updateWindowTitle): Setup a short icon title of either
7697         "LyX" or the filename of the current buffer if it has one.  This is a
7698         modified form of John Levon's patch.
7699
7700         * XFormsView.C (setWindowTitle): also set icon title.
7701
7702         * LyXView.h (setWindowTitle): signature changed.
7703         * XFormsView.h (setWindowTitle): ditto.
7704
7705 2002-01-02  Juergen Vigna  <jug@sad.it>
7706
7707         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7708
7709 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7710
7711         * screen.C (topCursorVisible): introduce a temp var for
7712         text->cursor.row(), handle the case where this row is null. (kindo
7713         hachish)
7714
7715         * text2.C (setCursor): add a couple of asserts.
7716
7717         * paragraph.h (inset_iterator): add -> operator
7718
7719         * paragraph.[Ch] (autoDeleteInsets): remove member function
7720
7721         * BufferView2.C (removeAutoInsets): rewrite to handle the old
7722         cursor pos correctly and handle inset deletion by itself.
7723         (insertErrors): move iterator declaration out of for expression
7724
7725         * lyxtextclass.C: add <algorithm>
7726
7727         * Makefile.am: added the new files to sources, removed layout.C
7728
7729         * layout.C: removed file
7730
7731         * layout.h: remove LYX_DUMMY_LAYOUT
7732
7733         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7734         layout.
7735
7736         * lyxlayout.[Ch]:
7737         * lyxtextclass.[Ch]:
7738         * lyxtextclasslist.[Ch]: new files
7739
7740         * include order changes to a lot of files, also changes because of
7741         the six new files.
7742
7743 2001-12-27  Juergen Vigna  <jug@sad.it>
7744
7745         * buffer.C (asciiParagraph): more fixes.
7746
7747         * tabular.C (ascii): make ascii export support export of only the
7748         data separated by a column-delimiter.
7749         (ascii): better support for ascii export.
7750
7751         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7752
7753 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7754
7755         * tabular_funcs.C: use a "using std::getline" instead of the
7756         previous fix from Angus (necessary for cxx + lyxstring)
7757
7758 2001-12-24  Juergen Vigna  <jug@sad.it>
7759
7760         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7761
7762         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7763         problems. First check a minipage also if we have some ert-contents
7764         (not only on par->size(), second set the right depth of the paragraph
7765         on the relink to the root-paragraph-list!
7766
7767         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7768         which then did not anymore update the main paragraphs on undo/redo!
7769
7770 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7771
7772         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7773         code. Support all font-changing funcs (even those which are not in
7774         menu currently). Support for reporting font settings in
7775         mathed (disabled until Andre provides a function on mathed's side).
7776
7777         * func_status.h (toggle): small helper function to set toggle
7778         state on a flag.
7779
7780 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
7781
7782         * tabular_funcs.C: getline -> std::getline
7783
7784 2001-12-21  Juergen Vigna  <jug@sad.it>
7785
7786         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7787         accessed and could be 0 (I couldn't generate this but it seems
7788         Michael could!).
7789
7790 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7791
7792         * tabular_funcs.C: add LIstream.h, move write_attribute to..
7793         * tabular_funcs.h: here and include iosfwd
7794
7795 2001-12-20  Juergen Vigna  <jug@sad.it>
7796
7797         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7798         inside inset but undo_par was.
7799
7800 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7801
7802         * Thesaurus.C: always include <config.h> in sources.
7803
7804         * Painter.h:
7805         * lyxlookup.h:
7806         * box.h: do not include <config.h> in header files
7807
7808         * text.C (paintLastRow): remove unused variable
7809
7810         * text.C (transformChar):
7811         (insertChar):
7812         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7813
7814         * Painter.C (text):
7815         * font.C (width): rewrite to use uppercase() instead of
7816         islower/toupper.
7817
7818         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7819
7820 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
7821
7822         * lyxfind.C: clean up of find failure position change
7823
7824 2001-12-20  Juergen Vigna  <jug@sad.it>
7825
7826         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7827
7828         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7829         (TeXRow): added to LaTeX a single tabular row.
7830         (TeXLongtableHeaderFooter): added to output LT-h/f data.
7831         (Latex): simplified and finally good LT-h/f support.
7832         (various_functions): just small adaptions for LT-h/f support.
7833
7834         * tabular_funcs.[hC]: added and moved here all not classfunctions
7835         of LyXTabular.
7836
7837 2001-12-19  Juergen Vigna  <jug@sad.it>
7838
7839         * tabular.[Ch]: better support for longtabular options (not finished
7840         yet!)
7841
7842 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7843
7844         * text.C (paintLastRow): use the label font instead of the font of
7845         the last character to compute the size of *_BOX. This makes more
7846         sense and avoids a crash with empty paragraphs.
7847         Use Painter::rectangle to draw EMPTY_BOX.
7848
7849 2001-12-19  Juergen Vigna  <jug@sad.it>
7850
7851         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7852         the paragraphs if the replaced paragraph is not the first one!
7853         Tried to delete not used paragraphs but does not work yet so for
7854         now it's inside #ifdef's and by default off!
7855
7856 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7857
7858         * MenuBackend.C: include "lyx_main.h" instead of declaring
7859         lastfiles (actually was declared as LastFiles* instead of a
7860         scoped_ptr).
7861
7862 2001-12-17  Juergen Vigna  <jug@sad.it>
7863
7864         * tabular.C (AppendColumn): applied John's fix
7865
7866 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
7867
7868         * BufferView.h:
7869         * BufferView.C:
7870         * BufferView_pimpl.h:
7871         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7872
7873         * Makefile.am:
7874         * box.h: new start of class for above
7875
7876         * lyxfunc.C: ignore space-only minibuffer dispatches.
7877           Show the command name when it doesn't exist
7878
7879         * minibuffer.C: don't add empty lines to the history
7880
7881         * minibuffer.C: add a space on dropdown completion
7882
7883 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
7884
7885         * text.C: fix line above/below drawing in insets
7886
7887 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7888
7889         * lyxlength.C (LyXLength): Initialize private variables.
7890
7891 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
7892
7893         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7894         when inserting error insets.
7895
7896 2001-12-13  Juergen Vigna  <jug@sad.it>
7897
7898         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7899         actually sometimes the before-paragraph.
7900         (setUndo): don't clear the redostack if we're not actually undoing!
7901
7902 2001-12-06  Juergen Vigna  <jug@sad.it>
7903
7904         * undo_funcs.C (textHandleUndo): well after John's hint I got here
7905         and fixed redoing of main paragraph, so we can use it now ;)
7906
7907         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7908
7909 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7910
7911         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7912         Juergen's request
7913
7914 2001-12-13  André Pönitz <poenitz@gmx.net>
7915
7916         * undostack.[Ch]:
7917         * undo_func.C: minor cleanup
7918
7919 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7920
7921         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7922         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7923         font in urw-fonts package which is marked as -urw-fontspecific and
7924         does not work (incidentally, changing the encoding in the
7925         fonts.dir of this package to -adobe-fontspecific fixes the
7926         problem).
7927
7928         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7929         is a crash when undoing first paragraph (Juergen, please take a
7930         look). THis does not mean the undo fix is wrong, just that it
7931         uncovers problems.
7932
7933         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7934         the (Paragraph*) version when needed instead of duplicating the
7935         code.
7936
7937         * text.C (workWidth): use Inset::parOwner to find out where the
7938         inset has been inserted. This is a huge performance gain for large
7939         documents with lots of insets. If Inset::parOwner is not set, fall
7940         back on the brute force method
7941
7942         * paragraph_pimpl.C (insertInset):
7943         * paragraph.C (Paragraph):
7944         (cutIntoMinibuffer): set parOwner of insets when
7945         inserting/removing them
7946
7947         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7948
7949 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
7950
7951         * commandtags.h:
7952         * LyXAction.C:
7953         * lyx_main.C:
7954         * lyxfunc.C:
7955         * mathed/formulabase.C:
7956         * mathed/math_cursor.[Ch]:
7957         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7958
7959
7960 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7961
7962         * lyxlength.[Ch] (operator!=): new function
7963
7964 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7965
7966         * text.C (workWidth): use Inset::parOwner to find out where the
7967         inset has been inserted. This is a huge performance gain for large
7968         documents with lots of insets. If Inset::parOwner is not set, fall
7969         back on the brute force method
7970
7971         * paragraph_pimpl.C (insertInset):
7972         * paragraph.C (Paragraph):
7973         (cutIntoMinibuffer): set parOwner of insets when
7974         inserting/removing them
7975
7976         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7977
7978 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7979
7980         * tabular-old.C (getTokenValue):
7981         * tabular.C (getTokenValue):
7982         (write_attribute): new versions for LyXLength
7983         (everywhere): adjust the use of widths
7984
7985         * tabular.h: change the type of widths from string to LyXLength
7986
7987 2001-12-11  Ben Stanley <bds02@uow.edu.au>
7988
7989         * paragraph.C: fixed missing line number count when exporting
7990         Environments to LaTeX file
7991
7992         * buffer.C: added informational message for checking line numbers.
7993
7994 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7995
7996         * text2.C (deleteEmptyParagraphMechanism): if there is only one
7997         paragraph, do the 'double space' part, but not the 'empty
7998         paragraph' one.
7999
8000         * text.C (workWidth): small optimization
8001         (getLengthMarkerHeight): use minimal size for negative lengths.
8002
8003 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
8004
8005         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8006
8007         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8008
8009 2001-12-11  André Pönitz <poenitz@gmx.net>
8010
8011         * FontLoader.C:
8012         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8013
8014 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8015
8016         * text2.C: keep selection on a setFont()
8017
8018 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8019
8020         * lyx_cb.C: another bv->text misuse, from insert label
8021
8022 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
8023
8024         * kbsequence.h:
8025         * kbsequence.C: re-instate nmodifier mask
8026
8027 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
8028
8029         * lyx_main.h: make lyxGUI private.
8030
8031 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8032
8033         * lyxfind.C: place the cursor correctly on failed search
8034
8035 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8036
8037         * text.C (getLengthMarkerHeight): for small heights, the arrows
8038         are not always on top/bottom of the text
8039         (drawLengthMarker): smaller arrows; take the left margin in
8040         account; draw also vfills.
8041         (paintFirstRow):
8042         (paintLastRow): remove special code for vfill and standard spaces,
8043         since everything is handled in drawLengthMarker now.
8044
8045 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8046
8047         * buffer.C (insertErtContents): try to handle font and language
8048         interaction a bit better.g
8049
8050         * ColorHandler.C (updateColor): change the hash to cover the whole
8051         LColor enum, ws cleanup
8052         (getGCLinepars): ditto
8053         (getGCLinepars): only lookup in the linecache once.
8054
8055 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
8056
8057         * iterators.C (operator++): Make the iterator more robust
8058
8059         * BufferView2.C (removeAutoInsets): Use paragraph iterators
8060         (John's patch)
8061         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8062
8063 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8064
8065         * lyxtext.h:
8066         * text.C: better added space drawing
8067
8068 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8069
8070         * LyXView.C:
8071         * BufferView2.C: fix layout combo update on inset unlock
8072
8073 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8074
8075         * Makefile.am: don't compile unused files
8076
8077 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8078
8079         * lyxfunc.C:
8080         * commandtags.h:
8081         * LyXAction.C: remove old LFUN_LAYOUTNO
8082
8083 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8084
8085         * paragraph_pimpl.h:
8086         * paragraph_pimpl.C: isTextAt() doesn't need font param
8087
8088 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8089
8090         * lyxlex.h:
8091         * lyxlex.C: little cleanup
8092
8093 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8094
8095         * BufferView_pimpl.C: fix insertAscii for insets
8096
8097 2001-12-05  Juergen Vigna  <jug@sad.it>
8098
8099         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8100         set the right font on the "multi" paragraph paste!
8101
8102 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8103
8104         * trans_decl.h:
8105         * trans_mgr.[Ch]:
8106         * trans.[Ch]:
8107         * lyxgluelength.C:
8108         * lyxlength.C: remove out-commented code.
8109
8110         * BufferView_pimpl:
8111         * CutAndPaste.C:
8112         * DepTable.C:
8113         * buffer.C:
8114         * chset.C:
8115         * lastfiles.C:
8116         * lyxlex.C:
8117         * lyxlex_pimpl.C:
8118         * lyxserver.C:
8119         * screen.C:
8120         * tabular-old.C:
8121         * tabular.C:
8122         * text.C:
8123         * trans_mgr.C:
8124         * vc-backend.C: change "while(" to "while ("
8125
8126         * lyxlength.[Ch]: add zero function to check if length is zero or
8127         not
8128         * lyxgluelength.C: use it
8129
8130 2001-12-05  Allan Rae  <rae@lyx.org>
8131
8132         * lyxlength.C: Attempted a fix for the abs(int) header selection.
8133         Works for 2.95.3, from what I understand of Garst's reports this should
8134         work for other g++ versions.  We're screwed if the abs(int) definition
8135         changed between bugfix releases of gcc.
8136
8137 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
8138
8139         * text.C: fix chapter label offset !
8140
8141 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
8142
8143         * lyxtext.h:
8144         * text.C: fix hfill at end of line, clean up
8145
8146 2001-12-04  Juergen Vigna  <jug@sad.it>
8147
8148         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8149         that we force an update of the inset and it's owners if neccessary.
8150
8151 2001-12-03  Juergen Vigna  <jug@sad.it>
8152
8153         * text.C (rowLast): simplified code
8154
8155 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
8156
8157         * lyxfunc.C: fix show options on timeout
8158
8159 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8160
8161         * screen.C (topCursorVisible): scroll half a page when the cursor
8162         reached top of bottom of screen
8163
8164 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
8165
8166         * minibuffer.C: deactivate on loss of focus
8167
8168 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8169
8170         * vspace.[Ch] (operator!=): add operator.
8171
8172 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
8173
8174         * BufferView_pimpl.C: refuse to open an inset when
8175         there's a selection.
8176
8177 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
8178
8179         * BufferView_pimpl.C: allow to click on RHS of full row insets
8180
8181 2001-11-30  Juergen Vigna  <jug@sad.it>
8182
8183         * tabular.C (LyXTabular): add a same_id to set the same id's in the
8184         insets for undo reasons.
8185
8186 2001-11-28  André Pönitz <poenitz@gmx.net>
8187
8188         * vspace.[Ch]: cosmetical changes
8189
8190 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8191
8192         * LyXAction.h:
8193         * LyXAction.C:
8194         * lyxfunc.h:
8195         * lyxfunc.C:
8196         * kbmap.h:
8197         * kbmap.C:
8198         * lyxrc.C:
8199         * kbsequence.h:
8200         * kbsequence.C: part re-write of old kb code
8201
8202         * Painter.C:
8203         * WorkArea.C: remove Lgb_bug_find_hack
8204
8205 2001-11-30  José Matos <jamatos@fep.up.pt>
8206
8207         * buffer.C (makeDocBookFile): add a comment to point a hack.
8208         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8209         Fixed a double write of labels.
8210
8211 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8212
8213         * LaTeX.C:
8214         * LaTeX.h Fixed bug in LaTeX class where it would not
8215         re-run latex if no depfiles were changed, but the .dvi was removed.
8216
8217 2001-11-28  André Pönitz <poenitz@gmx.net>
8218
8219         * all the files from the change on 2001/11/26:
8220         use lyx::layout_type instead of LyXTextClass::size_type
8221         use lyx::textclass_type instead of LyXTextClassList::size_type
8222
8223 2001-11-29  Juergen Vigna  <jug@sad.it>
8224
8225         * text.C: added support for paragraph::isFreeSpacing()
8226
8227         * buffer.C: same as above
8228
8229         * paragraph.h: inserted isFreeSpacing() function to enable
8230         FreeSpacing inside InsetERT.
8231
8232         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8233         of the paragraph's in the cut/copy buffer to 0!
8234
8235         * text2.C (removeRow): remove the assert as it can!
8236
8237         * lyxtext.h: added helper function firstRow returning firstrow and
8238         made firstrow private again.
8239
8240         * BufferView2.C (lockInset): don't relock if we're already locked!
8241
8242         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8243         the only paragraph.
8244         (removeRow): added Assert::(firstrow)
8245
8246         * debug.C: forgot to add INSETTEXT here.
8247
8248 2001-11-28  Juergen Vigna  <jug@sad.it>
8249
8250         * sp_spell.C (initialize): changed error text to more general
8251         spellchecker command use (not only ispell!)
8252
8253         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8254
8255         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8256
8257 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8258
8259         * vspace.C: initialise lyxgluelength on failure
8260
8261 2001-11-28  Allan Rae  <rae@lyx.org>
8262
8263         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8264         declaration & definition that looks like a function declaration.
8265
8266 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8267
8268         * BufferView2.C (copy):
8269         (copyEnvironment): do not clear the selection when doing a copy.
8270
8271         * text.C (paintFirstRow): compilation fix
8272
8273 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
8274
8275         * tabular.C (Latex): correct line count when writing latex.
8276
8277 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
8278
8279         * paragraph_pimpl.h:
8280         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8281           bug a bit
8282
8283 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8284
8285         * text.C:
8286         * LColor.h:
8287         * LColor.C: change vfillline->added_space
8288
8289         * text.C: add markers and text for added space
8290
8291         * vspace.C: fix comment
8292
8293 2001-11-28  André Pönitz <poenitz@gmx.net>
8294
8295         * paragraph.C: whitespace changes
8296         * all the other files from the change on 2001/11/26:
8297         change *::pos_type into lyx::pos_type
8298
8299 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8300
8301         * buffer.C (parseSingleLyXformat2Token): Set the language to the
8302         language of the document when inserting error insets.
8303
8304 2001-11-26  André Pönitz <poenitz@gmx.net>
8305
8306         * BufferView_pimpl.[Ch]:
8307         *       CutAndPaste.C:
8308         * buffer.[Ch]:
8309         * lyxcursor.[Ch]:
8310         * lyxfind.C:
8311         * lyxfunc.C:
8312         * lyxrow.[Ch]:
8313         * paragraph.[Ch]:
8314         * paragraph_pimpl.[Ch]:
8315         * sp_spell.C:
8316         * text.C:
8317         * text2.C: reduce header dependencies, introduce type for positions
8318
8319 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
8320
8321         * <various>: change to use Alert.h
8322
8323 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8324
8325         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8326         when encountering an unknown token.
8327         (readLyXformat2): Show an error message if there were unknown tokens.
8328
8329 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
8330
8331         * BufferView2.C:
8332         * BufferView_pimpl.C:
8333         * buffer.C:
8334         * paragraph.h:
8335         * text.C:
8336         * text2.C: use par->isInset()
8337
8338 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
8339
8340         * paragraph_pimpl.h:
8341         * paragraph_pimpl.C: cleanup
8342
8343 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8344
8345         * text2.C (removeRow):
8346         * text.C (setHeightOfRow): remove useless (and costly) call to
8347         getRow.
8348
8349 2001-11-20  Allan Rae  <rae@lyx.org>
8350
8351         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8352         Now need Inset*::checkInsertChar() to return true for appropriate
8353         cases so that the characters in the minibuffer will actually be
8354         inserted.
8355
8356 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8357
8358         * text.C: change the order of the includes.
8359         (workWidth): initialize it at once.
8360         (workWidth): make maxw unsigned
8361         (setHeightOfRow): remove unused variable (inset)
8362         (selectSelectedWord): remove unused variable (inset)
8363         (paintRowText): fix drawing of hfill characters, and clean up a bit.
8364
8365 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8366
8367         * lyxserver.C (emergencyCleanup): do not try to close pipes if
8368         server is not running.
8369         (openConnection):
8370         (closeConnection): add debug info when server is disabled.
8371
8372         * ColorHandler.C (getGCForeground): send debug message to GUI
8373         channel.
8374
8375         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8376
8377         * kbmap.C (bind): modify because return conventions of
8378         kb_sequence::parse have changed.
8379
8380         * kbsequence.C (parse): only ignore spaces and not any stupid
8381         control character. This avoids tests like s[i] <= ' ', which are
8382         guaranteed to fail with 8bit characters and signed chars.
8383         Change return code to string::npos when there have been no error
8384         (0 was a bad idea when error is at first character)
8385
8386 2001-11-14  José Matos  <jamatos@fep.up.pt>
8387
8388         * buffer.h:
8389         * buffer.C (simpleDocBookOnePar): removed unused argument.
8390
8391 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8392
8393         * text.C (selectNextWordToSpellcheck): do not test explicitely for
8394         insets which are part of a word. Paragraph::isLetter takes care of
8395         that now. Use Paragraph::isInset to identify insets.
8396         (selectSelectedWord): do not test for hyphenation break.
8397
8398         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8399         that protected spaces are considered as spaces.
8400
8401         * paragraph.C (isLetter): cleanup the code for ispell extras; use
8402         Inset::isLetter.
8403
8404 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
8405
8406         * lyxserver.h:
8407         * lyxserver.C: fix it. and small cleanup.
8408
8409 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
8410
8411         * BufferView_pimpl.C: use inline helpers
8412
8413         * LaTeXFeatures.h:
8414         * LaTeXFeatures.C: fix typos
8415
8416         * Spacing.h:
8417         * Spacing.C: move spacing_string into class
8418
8419         * ToolbarDefaults.C: move stuff into namespace anon
8420
8421         * layout.h: update enum
8422
8423         * lyxfunc.C: use better debug
8424
8425         * minibuffer.h: fix typo
8426
8427         * debug.h:
8428         * debug.C:
8429         * WorkArea.C: add and use Debug::WORKAREA
8430
8431         * lyxtext.h:
8432         * text.C:
8433         * text2.C: code re-organisation, inline helpers
8434
8435 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
8436
8437         * Layout.C: replaced a few cases of std::vector.size() == 0 with
8438         std::vector.empty().
8439
8440 2001-11-09  Allan Rae  <rae@lyx.org>
8441
8442         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8443         '\n's after tables.  Tabular and ERT inset work now makes this no
8444         longer necessary.
8445
8446 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
8447
8448         * minibuffer.h:
8449         * minibuffer.C: fix crash, improve drop-down completion
8450
8451 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
8452
8453         * lyxserver.h:
8454         * lyxserver.C: invalidate fd's when doing endPipe()
8455
8456 2001-11-08  José Matos  <jamatos@fep.up.pt>
8457
8458         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8459         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8460
8461         * paragraph.h:
8462         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8463
8464 2001-11-07  José Matos  <jamatos@fep.up.pt>
8465
8466         * buffer.h:
8467         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8468         const qualifier.
8469
8470         * buffer.C (sgmlOpenTag):
8471         * buffer.C (sgmlCloseTag): removed debug info.
8472
8473         * buffer.h (sgmlOpenTag):
8474         * buffer.h (sgmlCloseTag): made public.
8475
8476 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8477
8478         * buffer.C (saveParamsAsDefaults):
8479         * lyx_cb.C (MenuLayoutSave): remove
8480
8481         * LyXAction.C (init):
8482         * commandtags.h:
8483         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8484
8485 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8486
8487         * buffer.C (setPaperStuff): removed from here...
8488
8489         * bufferparams.C (setPaperStuff): ... and moved there.
8490
8491 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
8492
8493         * minibuffer.h:
8494         * minibuffer.C:
8495         * XFormsView.C: add support for drop-down completion
8496
8497 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
8498
8499         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8500         commands.
8501
8502 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8503
8504         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8505         disabled.
8506
8507 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
8508
8509         * lyx_main.C: change ref to known bugs
8510
8511 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
8512
8513         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8514         to work around older babel problems.
8515
8516 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
8517
8518         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8519
8520 2001-10-24  Juergen Vigna  <jug@sad.it>
8521
8522         * tabular-old.C (ReadOld): below variable changes reflected.
8523
8524         * tabular.[Ch]: added ltType struct for longtable header/footer
8525         defines and changed all instances where they are used. Added
8526         future support for double top/bottom rows.
8527
8528 2001-10-24  José Matos  <jamatos@fep.up.pt>
8529
8530         * buffer.h (docbookHandleCaption):
8531         * buffer.C (docbookHandleCaption): removed unused function.
8532         (makeDocBookFile): moved docbook supported version to v4.1.
8533
8534 2001-10-24  José Matos  <jamatos@fep.up.pt>
8535
8536         * tabular.h:
8537         * tabular.C (docbookRow): new function to export docbook code of a row.
8538         (DocBook): now honors the longtable flags.
8539
8540 2001-10-23  José Matos  <jamatos@fep.up.pt>
8541
8542         * LaTeXFeatures.h:
8543         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8544         of the lyx defined sgml entities used in a docbook/linuxdoc document.
8545
8546         * buffer.C (makeLinuxDocFile):
8547         (makeDocBookFile): reworked the preamble, more clean, and with
8548         support for lyx defined entities. Changed the document declaration
8549         to be more XML friendly.
8550
8551         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8552         if we need to output XML that should be done with a filter.
8553
8554 2001-10-22  Juergen Vigna  <jug@sad.it>
8555
8556         * sp_pspell.h (class PSpell): add alive function needed in the
8557         controller to see if the spellchecker could be started.
8558
8559 2001-10-22  Juergen Vigna  <jug@sad.it>
8560
8561         * buffer.C (insertStringAsLines): modify the font for inserting
8562         chars in certain conditions by calling checkInsertChar(font).
8563
8564 2001-10-19  Juergen Vigna  <jug@sad.it>
8565
8566         * text.C (workWidth): use getRow instead of wrong algorithm.
8567         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8568
8569 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
8570
8571         * lyxserver.h:
8572         * lyxserver.C:
8573         * lyx_main.h:
8574         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8575
8576 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8577
8578         * text.C (workWidth): do not search for the exact row when
8579         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8580         optimization for big documents.
8581
8582 2001-10-18  Juergen Vigna  <jug@sad.it>
8583
8584         * text.C (workWidth): new function with added Inset * parameter.
8585
8586 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8587
8588         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8589
8590         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8591         change return type of getColumnNearX.
8592
8593
8594         * text.C (changeRegionCase): use uppercase/lowercase instead of
8595         toupper/tolower.
8596         (leftMargin):
8597         (rightMargin): simplify code by factoring out the uses of
8598         textclasslist.
8599         (labelFill):
8600         (numberOfHfills):
8601         (setHeightOfRow):
8602         (appendParagraph): use Paragraph::size_type
8603
8604 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8605
8606         * vspace.C (asLatexString): add a missing break
8607
8608 2001-10-15  Herbert Voss  <voss@perce.de>
8609
8610         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8611
8612 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8613
8614         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8615         is not available.
8616
8617 2001-10-10  André Pönitz <poenitz@gmx.net>
8618
8619         * lyxfunc.C: removed greek_kb_flag.
8620
8621 2001-10-10  Herbert Voss  <voss@perce.de>
8622
8623         * lyx_main.C: delete global string help_lyxdir.
8624
8625 2001-10-09  Herbert Voss  <voss@perce.de>
8626
8627         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8628
8629         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8630
8631         * lyx_main.C: added global string help_lyxdir.
8632
8633         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8634
8635 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
8636
8637         * lyxrc.C (set_font_norm_type): support iso8859-4
8638
8639 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
8640
8641         * LaTeX.C (deplog): add another regex for MikTeX
8642
8643 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
8644
8645         * lyxrc.C (set_font_norm_type): support iso8859-3
8646
8647 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8648
8649         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8650
8651         * LaTeXFeatures.C: remove special case of french and index
8652
8653         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8654         before \begin{document}). This solves several incompatibilities.
8655
8656 2001-10-03  Garst Reese  <reese@isn.net>
8657
8658         * lyx_cb.C: change CheckTex error msg.
8659
8660 2001-10-03  José Matos  <jamatos@fep.up.pt>
8661
8662         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8663
8664 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8665
8666         * .cvsignore: update
8667
8668         * lyx_main.C (commandLineVersionInfo): use new style version info.
8669
8670         * buffer.C (writeFile):
8671         (makeLaTeXFile):
8672         (makeLinuxDocFile):
8673         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8674
8675         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8676
8677         * version.h: update to use stuff in version.C
8678
8679         * version.C.in: new file. Contains version information determined
8680         at compile time. This is a merging of version.h and
8681         version_info.h.in.
8682
8683 2001-10-03  Juergen Vigna  <jug@sad.it>
8684
8685         * BufferView_pimpl.C (update): don't change "dirty" status in
8686         updateInset call.
8687
8688 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
8689
8690         * WorkArea.C (c-tor): re-position version string slightly.
8691
8692 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
8693
8694         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8695         revert to previous code.
8696
8697         WorkArea.[Ch]: (show, destroySplash): methods removed.
8698
8699         WorkArea.C: rework code so that it's an amalgam of the codes before and
8700         after the splash screen was moved to WorkArea.
8701
8702 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8703
8704         * lyxrc.C (read):
8705         * vspace.C (inPixels):
8706         (lyx_advance):
8707         * kbmap.C (bind):
8708         * buffer.C (insertStringAsLines):
8709         (asciiParagraph): fix types to be large enough
8710
8711         * lyxlex_pimpl.h: change member status from short to int
8712
8713         * layout.h: fix type of endlabeltype
8714
8715         * kbmap.C (bind):
8716         * kbsequence.C (parse): change return type to string::size_type
8717
8718         * LaTeX.C (updateBibtexDependencies): comment out unneeded
8719         variable
8720
8721         * Bullet.C (bulletSize):
8722         (bulletEntry): do not use short ints as parameters
8723
8724         * BufferView2.C (insertLyXFile): change a char to an int.
8725
8726         * WorkArea.C (WorkArea): remove unneeded floats in computation
8727
8728 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
8729
8730         * buffer.C (asciiParagraph): Treat '\\' as other chars.
8731
8732         * paragraph.C (asString): Do not ignore newline/hfill chars when
8733         copying to the clipboard.
8734
8735 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
8736
8737         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8738         after a multi-line inset.
8739
8740 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
8741
8742         * paragraph.C (validate): Set NeedLyXFootnoteCode
8743
8744 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
8745
8746         * lyxfont.C (LyXSizeNames): changed increase-error to increase
8747         and decrease-error to decrease.
8748
8749 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8750
8751         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8752         it more readable (should be equivalent)
8753
8754 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
8755
8756         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8757
8758 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8759
8760         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8761         of a cursor (row, etc.) after a character has been deleted
8762         (deleteEmptyParagraphMechanism): call the method above on _all_
8763         cursors held by the LyXText when a double space has been
8764         detected/deleted.
8765
8766 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
8767
8768         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8769         pixmap.
8770         (resizeCurrentBuff): remove code to destroy the old splash dialog.
8771
8772         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8773         background. Use greyOut() and the new show() methods to toggle between
8774         the foreground and background. Add code to remove the splash after
8775         its initial showing.
8776
8777         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8778         (create_forms): no longer call Dialogs::showSplash.
8779
8780 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8781
8782         * .cvsignore: add version_info.h
8783
8784 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8785
8786         * version_info.h.in: new file
8787
8788         * Makefile.am: add version_info.h.in
8789
8790         * lyx_main.C (commandLineVersionInfo): use version_info defined in
8791         version_info.h instead of VERSION_INFO
8792
8793 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
8794
8795         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8796         The ERT inset now returns string().
8797
8798 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
8799
8800         * lyxtext.h, text.C (selectNextWord): renamed as
8801         selectNextWordToSpellcheck.
8802
8803         * text.C (selectNextWordToSpellcheck): Modified to not select
8804         words inside an ERT inset.
8805
8806 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8807
8808         * lyx_cb.C (MenuLayoutSave): change a bit the question
8809
8810         * sp_base.h: include <sys/types.h>
8811
8812 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
8813
8814         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8815
8816 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
8817
8818         * several files: fix typos in user-visible strings
8819
8820 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8821
8822         * text2.C (pasteSelection): do not set the selection, since it
8823         will be cleared later. Actually, the intent was to fix the way the
8824         selection was set, but I figured rmoving the code was just as good.
8825
8826 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
8827
8828         * FontLoader.C (available): Check if font is available without
8829         loading the font.
8830
8831 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
8832
8833         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8834
8835 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
8836
8837         * lyxrc.[Ch]: added display_graphics variable and associated code.
8838
8839 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8840
8841         * bufferparams.C (hasClassDefaults): new method. Returns true if
8842         the buffer parameters correspond to known class defaults
8843
8844 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
8845
8846         * XFormsView.C (show): set minimum size to the main window.
8847
8848 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8849
8850         * text2.C (copySelection):
8851         (cutSelection):
8852         * lyxfind.C (LyXReplace):
8853         * BufferView_pimpl.C (Dispatch): pass the correct flag to
8854         LyXText::selectionAsString.
8855
8856         * paragraph.C (asString): add "label" argument to the second form
8857
8858         * text2.C (selectionAsString): add "label" argument and pass it to
8859         Paragraph::asString.
8860
8861 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8862
8863         * lyx_main.C (commandLineHelp): remove version information
8864
8865 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
8866
8867         * lyx_main.C: add -version commandline option
8868
8869 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8870
8871         * paragraph.h: make the optional constructor arg required instead.
8872         some modifications to other files because of this.
8873
8874         * minibuffer.C (C_MiniBuffer_peek_event): make it static
8875
8876         * lyxserver.C (C_LyXComm_callback): make it static
8877
8878         * lyx_main.C (error_handler): make it static
8879
8880         * lyx_gui.C (LyX_XErrHandler): make it static
8881
8882         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8883
8884         * WorkArea.C: make the extern "C" methods static.
8885
8886         * Makefile.am (lyx_LDADD): simplify
8887
8888 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
8889
8890         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8891         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8892
8893         * LyXAction.C (init):
8894         * lyxfunc.C (dispatch): associated code removal.
8895
8896 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8897
8898         * lyxfont.h (isSymbolFont): shut off warning
8899
8900         * text.C (setHeightOfRow):
8901         (getVisibleRow): fix crash with empty paragraphs which have a
8902         bottom line
8903
8904 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
8905
8906         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8907         code.
8908
8909 2001-09-04  José Matos  <jamatos@fep.up.pt>
8910         * buffer.C
8911         * buffer.h
8912         * tabular.C (docbook): rename docBook method to docbook.
8913
8914 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
8915
8916         * Makefile.am: add dependencies to main.o.
8917
8918 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
8919
8920         * FontLoader.C (available): Return false if !lyxrc.use_gui
8921
8922 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
8923
8924         * FontInfo.C (query):
8925         * converter.C (view):
8926         * importer.C (Import):
8927         * exporter.C (Export): Can not -> cannot.
8928
8929 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
8930
8931         * BufferView_pimpl.C: allow to create index inset even if
8932           string is empty
8933
8934 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
8935
8936         * buffer.C (getLists): replace boost::tie code with an explicit pair
8937         as boost::tie can break some compilers.
8938
8939         * iterators.h: Added a std:: declaration to the return type of
8940         ParIterator::size.
8941
8942 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
8943
8944         * lyxrc.C: add help for view_dvi_paper_option, default to safe
8945           case.
8946
8947 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
8948
8949         * iterators.[Ch]: New files. Provide paragraph iterators.
8950
8951         * buffer.C (changeLanguage): Use paragraph iterators.
8952         (isMultiLingual): ditto
8953
8954         * BufferView2.C (ChangeInsets): Use paragraph iterators.
8955
8956 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
8957
8958         * FontLoader.C: Support for cmr font.
8959
8960 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
8961
8962         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8963         (available): New method.
8964
8965         * FontInfo.C (getFontname): Use scalable fonts even when
8966         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8967         found.
8968
8969 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
8970
8971         * converter.C (Formats::view): reverted! Incorrect fix.
8972
8973 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
8974
8975         * converter.C (Formats::view): only output the -paper option
8976         if the dvi viewer is xdvi, thereby fixing bug #233429.
8977
8978 2001-08-23  Herbert Voss  <voss@perce>
8979
8980         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8981
8982 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8983
8984         * Spacing.h (Spacing): Set space to Default on in the default
8985         constructor.
8986
8987 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8988
8989         * vc-backend.h (RCS::versionString): add RCS to version
8990         (CVS::versionString): add CVS to version
8991
8992         * vc-backend.C (scanMaster): do not add CVS to version.
8993         (scanMaster): do not add RCS to version
8994
8995         * lyxvc.C (versionString): new method
8996
8997         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8998
8999 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9000
9001         * Spacing.C (set): initialize fval
9002
9003 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
9004
9005         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9006         " or \.
9007
9008 2001-08-16  Juergen Vigna  <jug@sad.it>
9009
9010         * lyxfunc.C (dispatch): implemented the new FINISHED states.
9011
9012 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
9013
9014         * BufferView_pimpl.C:
9015         * figureForm.C:
9016         * lyxtext.h:
9017         * text2.C: setParagraph takes linespacing now
9018
9019 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
9020
9021         * LyxAction.C: add internal LFUN_CITATION_INSERT
9022
9023         * LyXView.C: actually apply fix
9024
9025         * bufferlist.C: fix open non-existent file
9026
9027         * lyxfind.C: fix indentation
9028
9029         * lyxfunc.C: remove unneeded assert, fix typo
9030
9031 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
9032
9033         * MenuBackend.C: use "Floatname List"
9034
9035 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
9036
9037         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9038         when converting LaTeX layout to insetERT.
9039         Generate a non-collapsed float when reading old float
9040
9041 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
9042
9043         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9044         ERT insets.
9045
9046 2001-08-13  Juergen Vigna  <jug@sad.it>
9047
9048         * text.C (fill): return 0 instead of 20 as this seems to be the more
9049         correct value.
9050
9051 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
9052
9053         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9054         lyxrc.font_norm.
9055
9056 2001-08-13  Juergen Vigna  <jug@sad.it>
9057
9058         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9059         casesensitive off.
9060         (SearchBackward): comment out the unlocking of the inset_owner this
9061         should not be needed!
9062
9063 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
9064
9065         * Many files: Remove inherit_language, and add latex_language
9066
9067         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9068         collapsible insets.
9069
9070 2001-08-10  Juergen Vigna  <jug@sad.it>
9071
9072         * text.C (prepareToPrint): fixed hfill-width in draw!
9073
9074         * BufferView2.C (selectLastWord): save the selection cursor as this
9075         now is cleared in the function LyXText::clearSelection!
9076
9077 2001-08-08  Juergen Vigna  <jug@sad.it>
9078
9079         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9080         BACKSPACE type functions.
9081
9082         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9083         is only cutted from the document but not put in the cut-buffer, where
9084         still the old stuff should be.
9085
9086         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9087
9088         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9089
9090         * tabular.C (SetWidthOfCell): fixed special case where the width
9091         was not updated!
9092         (LeftLine): handle '|' in align_special.
9093         (RightLine): ditto
9094         (LeftAlreadyDrawed): ditto
9095         (SetWidthOfCell): ditto
9096
9097 2001-08-07  Juergen Vigna  <jug@sad.it>
9098
9099         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9100
9101 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9102
9103         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9104         * lyxlex.[hC]: ditto
9105
9106 2001-08-06  Juergen Vigna  <jug@sad.it>
9107
9108         * text.C (getVisibleRow): fix up row clearing a bit.
9109
9110 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9111
9112         * minibuffer.C: make sure the X server sees the changes in the input.
9113
9114 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9115
9116         * paragraph.C (getFont): split into...
9117         (getLabelFont): this
9118         (getLayoutFont): and this
9119         * paragraph_pimpl.C (realizeFont): calling this
9120
9121         * text2.C (getFont): split into...
9122         (getLayoutFont): this
9123         (getLabelFont): and this
9124         (realizeFont): all three calling this
9125
9126         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9127         files where used.
9128
9129 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9130
9131         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9132
9133 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
9134
9135         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9136         layouts from the Quote inset insertion.
9137
9138 2001-08-03  Juergen Vigna  <jug@sad.it>
9139
9140         * BufferView_pimpl.C (update): do the fitCursor only at the end!
9141
9142         * screen.C (drawFromTo): don't call fitcursor here and do the loop
9143         only if status not is already CHANGED_IN_DRAW (second level).
9144
9145         * text.C (draw): don't set the need_break_row when inside an
9146         InsetText LyXText.
9147
9148 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9149
9150         * buffer.C (parseSingleLyXformat2Token): handle more latex
9151         conversion cases.
9152
9153         * bufferview_funcs.[hC]: change function names to
9154         begin with small char, adjust other files.
9155
9156 2001-08-02  André Pönitz <poenitz@gmx.net>
9157
9158         * lyxfunc.C:
9159         BufferView_pimpl.C: remove broken special code for math-greek
9160
9161 2001-08-02  Juergen Vigna  <jug@sad.it>
9162
9163         * BufferView_pimpl.C (update): redone this function so that we
9164         update the text again if there was a CHANGE_IN_DRAW.
9165
9166         * screen.C (cursorToggle): removed LyXText parameter and recoded.
9167         (drawFromTo): added a new internal bool which is used by draw() and
9168         redraw() function.
9169         (general): some cursor drawing problems fixed.
9170
9171 2001-08-01  Juergen Vigna  <jug@sad.it>
9172
9173         * lyxfind.C (LyXFind): fixed
9174         (SearchForward): ditto
9175         (SearchBackward): ditto
9176
9177         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9178         spurius drawing of the cursor in the main area.
9179
9180         * text2.C (status): small fix which could lead to a segfault!
9181         (clearSelection): remove unneeded BufferView param.
9182
9183 2001-08-01  André Pönitz <poenitz@gmx.net>
9184
9185         * lyxfunc.C: small change due to changed mathed interface
9186
9187 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9188
9189         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9190
9191 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
9192
9193         * lyxfunc.c: fail gracefully if file doesn't exist
9194
9195         * LyXSendto.C:
9196         * buffer.C:
9197         * lyxfunc.C:
9198         * BufferView_pimpl.C: IsDirWriteable() proto changed
9199
9200         * LyXView.C: fix updateWindowTitle() to store the last title
9201
9202 2001-07-31  Juergen Vigna  <jug@sad.it>
9203
9204         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9205         the font (wrong since using of Paragraph::highestFontInRange).
9206
9207         * paragraph.C (highestFontInRange): added a default_size parameter.
9208
9209         * text.C (getVisibleRow): minor clear row changes (still not perfect).
9210         (setHeightOfRow): reformat
9211
9212 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9213
9214         * converter.[hC] + affected files: move to (inital-char)lowercase
9215         function names.
9216
9217         * ParagraphParameters.C (ParagraphParameters): remove commented code
9218
9219         * PainterBase.[Ch]: remove commented code
9220
9221         * LaTeXFeatures.h: add "bool floats" for float.sty
9222
9223         * LaTeXFeatures.C (LaTeXFeatures): init floats
9224         (require): handle float
9225         (getPackages): do it with floats
9226
9227 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9228
9229         * BufferView_pimpl.C (Dispatch): improve handling of
9230         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9231
9232         * commandtags.h: #include lyxfont.h here temporarily to avoid
9233         keybinding bug.
9234
9235         * bufferlist.h: include LString.h here.
9236
9237 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9238
9239         * text2.C (getStringToIndex): new method.
9240
9241 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
9242
9243         * *: Reduced header file dependencies all over.
9244
9245 2001-07-30  Baruch Even  <baruch@lyx.org>
9246
9247         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9248
9249 2001-07-29  Baruch Even  <baruch@lyx.org>
9250
9251         * buffer.C (readInset): Changed GRAPHICS to Graphics.
9252
9253 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9254
9255         * ParameterStruct.h (endif): add a default constructor to make
9256         sure that all variables is initialized.
9257
9258         * ParagraphParameters.C (ParagraphParameters): adjust
9259
9260 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9261
9262         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9263         index; also, check that there is something to index, and that it
9264         does not span over several paragraphs.
9265         (doubleClick): use WHOLE_WORD_STRICT for double click.
9266
9267         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9268
9269         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9270         scheme.
9271
9272 2001-07-26  Baruch Even  <baruch@lyx.org>
9273
9274         * buffer.C (readInset): Changed to call up InsetGraphics when reading
9275         an InsetFig figure, backwards compatible reading of old figure code.
9276
9277 2001-07-27  Juergen Vigna  <jug@sad.it>
9278
9279         * text2.C: font.realize function adaption.
9280
9281         * text.C (draw): add a warnings lyxerr text if needed.
9282
9283         * layout.C: font.realize function adaption.
9284
9285         * language.C: add inherit_language and implement it's handlings
9286
9287         * bufferview_funcs.C (StyleReset): remove language parameter from
9288         font creation (should be language_inherit now).
9289
9290         * bufferparams.C (writeFile): handle ignore_language.
9291
9292         * paragraph.C (getFontSettings): the language has to be resolved
9293         otherwise we have problems in LyXFont!
9294
9295         * lyxfont.C (lyxWriteChanges): added document_language parameter
9296         (update): removed unneeded language parameter
9297
9298         * paragraph.C (validate): fixed wrong output of color-package when
9299         using interface colors for certain fonts in certain environments,
9300         which should not seen as that on the final output.
9301
9302 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
9303
9304         * BufferView_pimpl.C:
9305         * Thesaurus.h:
9306         * Thesaurus.C:
9307         * Makefile.am:
9308         * commandtags.h:
9309         * LyXAction.C: add thesaurus support
9310
9311         * lyxfind.h:
9312         * lyxfind.C: add "once" parameter, for thesaurus, to not
9313           move to the next match
9314
9315 2001-07-26  Juergen Vigna  <jug@sad.it>
9316
9317         * lyxfont.C (realize): honor ignore_language too!
9318         (resolved): ditto.
9319
9320         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9321
9322         * text.C (draw): one place more for ignore_language to not draw
9323         itself!
9324
9325 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
9326
9327         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9328
9329 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9330
9331         * buffer.C (parseSingleLyXformat2Token): a more general fix for
9332         the minipage conversion problem.
9333
9334 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9335
9336         * buffer.C (parseSingleLyXformat2Token): check minipage if we
9337         insert an inset.
9338
9339 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9340
9341         * BufferView.h: don't forward declare WorkArea
9342
9343         * BufferView.C: don't include WorkArea.h
9344
9345 2001-07-25  André Pönitz <poenitz@gmx.net>
9346
9347         * commandtags.h:
9348         * LyXAction.C:
9349         * lyxfunc.C:  new LFUN 'math-space'
9350
9351         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9352
9353 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9354
9355         * text2.C (toggleInset): call open/close
9356
9357 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9358
9359         * lyxfunc.C (dispatch): add debug for the disabled case
9360
9361         * font.C (buttonText): make similar to rectText
9362
9363         * buffer.C (readInset): comment out parsing of insetlist and
9364         insttheorem
9365
9366         * PainterBase.C (rectText): small correction
9367
9368         * BufferView_pimpl.C: comment out insettheorem and insetlist
9369         * LyXAction.C: ditto
9370         * commandtags.h: ditto
9371
9372 2001-07-24  Juergen Vigna  <jug@sad.it>
9373
9374         * text.C (draw): honor the ignore_language.
9375
9376         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9377
9378 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9379
9380         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9381         char inset.
9382
9383 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9384
9385         * lyxtext.h: remove unused (and unimplemented) methods
9386
9387 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9388
9389         * text.C (getVisibleRow): honor background color
9390
9391         * PainterBase.h:
9392         * Painter.h: remove default color argument for fillRectangle
9393
9394         * text.C (backgroundColor): new method
9395
9396 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9397
9398         * text.C (getVisibleRow): adjust
9399
9400         * font.[Ch] (rectText): new method, metrics
9401         (buttonText): new method, metrics
9402
9403         * PainterBase.[hC]: make rectText and buttonText always draw and take
9404         fewer paramteres.
9405
9406 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9407
9408         * ToolbarDefaults.C (read):
9409         * MenuBackend.C (read): allow escaping in all strings
9410
9411         * BufferView_pimpl.C (insertAndEditInset): new method.
9412         (Dispatch): use insertAndEditInset whenever appropriate.
9413
9414         * BufferView_pimpl.C (insertNote): removed
9415
9416         * BufferView_pimpl.C (smartQuote): new method, moved from
9417         BufferView; if an insetquote cannot be inserted, insert a '"'
9418         character instead.
9419
9420         * BufferView2.C: remove insertCorrectQuote();
9421
9422         * lyxfunc.C (getStatus): Add support for all remaingin
9423         inset-insert lfuns.
9424
9425         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9426
9427         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9428         command (necessary to pass " as parameter of self-insert.
9429
9430         * text.C (selectWordWhenUnderCursor):
9431         (selectWord): add word_location parameter
9432         (selectWordWhenUnderCursor): same + remove special code for word
9433         boundary.
9434         (selectNextWord): use kind() to guess type of insetspecialchar,
9435         not latex().
9436
9437         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9438         (insertErtContents): create ert insets as collapsed.
9439         (readInset): better compatibility code for Info inset.
9440
9441 2001-07-20  Juergen Vigna  <jug@sad.it>
9442
9443         * lyxfunc.C (dispatch): use always LyXFind now!
9444
9445         * text2.C (init): add a reinit flag so that the LyXText can be
9446         reinited instead of deleted and reallocated (used in InsetText).
9447
9448         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9449
9450         * text.C: ditto
9451
9452         * text2.C: ditto
9453
9454 2001-07-18  Juergen Vigna  <jug@sad.it>
9455
9456         * text.C (selectNextWord): handle insets inside inset by calling
9457         always the bv->text functions so that we can go up the_locking_inset!
9458
9459         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9460         in strange locations when inside an inset!
9461
9462         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9463         handling to include insets.
9464
9465         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9466
9467 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9468
9469         * LyXAction.C (init):
9470         * commandtags.h:
9471         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9472         LIGATURE_BREAK, since the name is so stupid.
9473
9474 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
9475
9476         * buffer.C (readInset): enable reading of new InsetNotes as well as old
9477         InsetInfos.
9478
9479         * FontLoader.C: remove FORMS_H_LOCATION cruft.
9480
9481         * sp_form.[Ch]: remove.
9482
9483         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9484
9485         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9486         InsetInfo.
9487
9488         * src/buffer.C (readInset): ditto.
9489
9490 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9491
9492         * BufferView_pimpl.C (specialChar): new method. Obsoletes
9493         menuSeparator(), endOfSentenceDot(), ldots() and
9494         hyphenationPoint(), which are therefore removed.
9495         (Dispatch): handle LFUN_HYPHENATION_BREAK.
9496
9497         * LyXAction.C (init):
9498         * commandtags.h: add LFUN_HYPHENATION_BREAK.
9499
9500         * paragraph.C (getWord): removed.
9501
9502         * BufferView_pimpl.C (Dispatch): use last word or selection for
9503         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9504
9505         * lyx_main.C (queryUserLyXDir): do not ask before creating
9506         user_dir, except if it has been named explicitely.
9507
9508 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
9509
9510         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9511         a document of zero size.
9512
9513 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
9514
9515         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9516         approriately in the c-tor and in require().
9517         (getPackages): output the appropriate LaTeX for natbib support.
9518
9519         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9520         variables "use_natbib" and "use_numerical_citations" when reading the
9521         LyX file.
9522         (readInset): read the various natbib cite commands.
9523         (validate): white-space change.
9524
9525         * bufferparams.[Ch]: new variables "bool use_natbib" and
9526         "bool use_numerical_citations".
9527         (writeFile): output them in the LyX file.
9528
9529 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9530
9531         * lyxfunc.C (getStatus): add support for all the inset insertion
9532         commands.
9533
9534         * text2.C (insertInset):
9535         * paragraph.C (insetAllowed):
9536         * BufferView_pimpl.C (insertInset): update to take in account the
9537         renaming of insertInsetAllowed
9538
9539         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9540
9541         * text2.C (getInset): new method. returns inset at cursor position.
9542
9543         * BufferView_pimpl.C (Dispatch): changes because of this.
9544
9545         * LyXAction.C (init): rename open-stuff to inset-toggle.
9546
9547         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9548
9549         * text2.C (toggleInset): renamed from openStuff; use
9550         Inset::open().
9551
9552 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
9553
9554         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9555
9556         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9557
9558 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
9559
9560         * buffer.C (readLyXformat2): Add filename to the error dialog
9561
9562 2001-07-18  Juergen Vigna  <jug@sad.it>
9563
9564         * tabular.C (GetCellNumber): put an assert here instead of the check!
9565
9566 2001-07-17  Juergen Vigna  <jug@sad.it>
9567
9568         * BufferView_pimpl.C (toggleSelection): adapted too.
9569
9570         * text.C (selectNextWord): adapted for use with insets.
9571         (selectSelectedWord): ditto
9572
9573 2001-07-17  Juergen Vigna  <jug@sad.it>
9574
9575         * sp_spell.C (PSpell): fix initialitation order.
9576
9577 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9578
9579         * paragraph.C: spacing
9580
9581 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
9582
9583         * sp_spell.C: repair language selection for pspell
9584
9585 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9586
9587         * lyxfunc.h: change more methods to begin with lower char.
9588
9589 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
9590
9591         * buffer.C (parseSingleLyXformat2Token): Generate error insets
9592         for unknown layouts.
9593
9594 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9595
9596         * buffer.C (readLyXformat2): Generate an error dialog if there are
9597         unknown layouts.
9598
9599 2001-07-16  Juergen Vigna  <jug@sad.it>
9600
9601         * sp_spell.C: always compile ISpell part.
9602
9603         * lyxrc.C: added use_pspell entry and it's handling.
9604
9605 2001-07-13  Juergen Vigna  <jug@sad.it>
9606
9607         * sp_spell.C: removed double includes.
9608
9609 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
9610
9611         Consistent use of Lsstream.h:
9612         * Lsstream.h: added using std::stringstream for consistencies sake.
9613
9614         * buffer.C: removed using std::stringstream
9615
9616         * lyxfont.C (stateText):
9617         * paragraph.C (asString):
9618         * text.C (selectNextWord, selectSelectedWord):
9619         * text2.C (setCounter):
9620         * vspace.C (asString, asLatexString):
9621         std::ostringstream -> ostringstream.
9622
9623 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
9624
9625         * LyXAction.C: add LFUN_HELP_ABOUTLYX
9626         * commandtags.h: add LFUN_HELP_ABOUTLYX
9627         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9628
9629 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
9630
9631         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9632         cursorToggle()
9633         * lyx_gui_misc.C: remove spellchecker
9634         * lyxfunc.C: showSpellchecker
9635         * sp_base.h: added
9636         * sp_ispell.h: added
9637         * sp_pspell.h: added
9638         * sp_spell.C: added
9639         * sp_form.[Ch]: removed
9640         * spellchecker.[Ch]: removed
9641
9642 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
9643
9644         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9645         is set.
9646         (simpleTeXSpecialChars): Simply print the input character without
9647         any special translation if pass_thru is set.
9648
9649         * layout.h: Added bool pass_thru to layout class for being able to
9650         implement pass through of a paragraph for Literate Programming.
9651
9652         * layout.C: add LT_PASS_THRU to LayoutTags enum.
9653         * layout.C (LyXLayout): set pass_thru to flase in constructor.
9654         * layout.C (Read): add "passthru" to list of layout tags and add
9655         code to set the pass_thru boolean when it is read.
9656
9657 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9658
9659         * trans_decl.h: remove allowed from KmodInfo
9660
9661         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9662         remove allowed code
9663         (Load): adjust
9664
9665         * paragraph_pimpl.C (erase): use boost::prior
9666
9667         * Painter.C (text): use data() instead of c_str() when length is
9668         also provided.
9669         * WorkArea.C (putClipboard): ditto
9670         * font.h (width): ditto
9671
9672         * BufferView2.C: use it-> instead of (*it). for iterators
9673         * texrow.C: ditto
9674         * paragraph_pimpl.C: ditto
9675         * paragraph.C: ditto
9676         * minibuffer.C: ditto
9677         * language.C: ditto
9678         * kbmap.C: ditto
9679         * encoding.C: ditto
9680         * counters.C: ditto
9681         * converter.C: ditto
9682         * chset.C: ditto
9683         * Variables.C: ditto
9684         * TextCache.C: ditto
9685         * MenuBackend.C: ditto
9686         * LyXAction.C: ditto
9687         * LColor.C: ditto
9688         * FloatList.C: ditto
9689         * DepTable.C: ditto
9690         * ColorHandler.C (LyXColorHandler): ditto
9691
9692 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9693
9694         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9695
9696         * text2.C (openStuff): reintroduce this method (which had been
9697         nuked in NEW_INSETS frenzy).
9698
9699         * lyxfunc.C (Dispatch): when an action has not been handled, use
9700         its name in the error message, not its number.
9701
9702         * paragraph.C (inInset): change method name to begin with lowercase.
9703
9704         * undo_funcs.C:
9705         * text2.C: updates because of this.
9706
9707 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9708
9709         * ToolbarDefaults.C (add): add spaces in error message
9710
9711 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9712
9713         * buffer.C (readLyXformat2): initialize the ert comp. variables.
9714         (readLyXformat2): rename return_par to first_par, use lyxlex's
9715         pushToken and remove the manual push handling.
9716         (parseSingleLyXformat2Token): add another ert comp. variable:
9717         in_tabular, rename return_par to first_par. handle newlines better
9718
9719 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9720
9721         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9722
9723 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9724
9725         * text2.C (getParFromID): removed
9726
9727         * buffer.C (getParFromID): new method moved form lyxtext.
9728         * BufferView2.C (insertErrors): adjust
9729         (setCursorFromRow): adjust
9730         * BufferView_pimpl.C (restorePosition): adjust
9731         * lyxfunc.C (Dispatch): adjust
9732         * undo_funcs.C (textUndo): adjust
9733         (textRedo): adjust
9734         (textHandleUndo): adjust
9735         (textHandleUndo): adjust
9736
9737 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9738
9739         * buffer.C: up' the LYX_FORMAT
9740
9741         * lyxfont.h: turn NO_LATEX on as default
9742
9743         * buffer.C (insertErtContents): new methods of tex style compability.
9744         (parseSingleLyXformat2Token): use it several places.
9745         * tabular.C (OldFormatRead): and here
9746
9747 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9748
9749         * text2.C: remove some commented code.
9750         reindent file.
9751
9752         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9753         * trans.C: changes because of the above.
9754
9755 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
9756
9757         * text2.C (setCounter): Fix counters bug with bibliography layout.
9758
9759 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9760
9761         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9762         own member functions
9763         (simpleTeXSpecialChars): ditto
9764
9765 2001-07-06  Juergen Vigna  <jug@sad.it>
9766
9767         * a lot of files: changed the access to LyXText::status and the
9768         call of undo-functions.
9769
9770         * undo.[Ch]: added a inset_id to the undo informations.
9771
9772         * undo_funcs.[Ch]: added and moved here all undo functions.
9773
9774         * lyxtext.h: give the status enum a weight, made status_ a private
9775         variable and made accessor functions for it, removed the whole bunch
9776         of undo-functions as they are now in their own file, make some
9777         functions publically available. Added function ownerParagraph with
9778         int parameter.
9779
9780         * paragraph.[Ch]: added "bool same_ids" to the constructor,
9781         made InInset() a const function, added getParFromID() function.
9782
9783         * buffer.[Ch]: added const version for inset_iterator functions,
9784         added getInsetFromID() function.
9785
9786         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9787         changed undo functions for new version.
9788
9789 2001-07-05  Juergen Vigna  <jug@sad.it>
9790
9791         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9792         unknow mechanism does not call the proper constructor but only this
9793         one also if I request the other!?
9794
9795 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9796
9797         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9798
9799         * text2.C (LyXText): use initialization lists.
9800
9801         * lyxtext.h (Selection): initialize set_ and mark_
9802         (init): remove method
9803
9804 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
9805
9806         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9807
9808 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9809
9810         * screen.[Ch]: change method names to begin with lowercase
9811
9812         * BufferView_pimpl.C (updateScrollbar): simplify further and
9813         hopefully make it a bit faster.
9814
9815 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9816
9817         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9818         calling directly xforms functions.
9819
9820         * Painter.C (Painter):
9821         * lyx_cb.C (MenuWrite):
9822         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9823         fl_display.
9824
9825         * lyx_gui.C: remove bogus guiruntime extern declaration.
9826
9827 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9828
9829         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9830         in NEW_INSETS
9831         (redoDrawingOfParagraph): ditto
9832         (redoParagraphs): ditto
9833         (cutSelection): don't create a object for CutAndPaste use the
9834         static method directly
9835         (pasteSelection): ditto
9836
9837         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9838         LyXview (+ rename)
9839
9840 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9841
9842         * modifications to some other files because of this.
9843
9844         * Makefile.am (lyx_SOURCES): add XFormsView
9845
9846         * XFormsView.[Ch]: new files
9847
9848         * LyXView.[Ch]: make LyXView a base class for the gui handling for
9849         the main window. Move the gui dependent stuff to XFormsView
9850
9851 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9852
9853         * tabular.C (GetCellInset): update cur_cell also in the row/col
9854         version of this function.
9855
9856         * lyxfunc.C: no need to include figure_form.h here.
9857
9858         * FontLoader.h:
9859         * lyxfunc.h:
9860         * lyxscreen.h:
9861         * text2.C:
9862         * lyxvc.C: no need to include forms.h here.
9863
9864 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9865
9866         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9867
9868         * lyxfunc.C (Dispatch):
9869         * Spacing.C (set):
9870         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9871         constructor argument.
9872
9873 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9874
9875         * paragraph.C (Paragraph): dont't clear, and just set layout.
9876         (makeSameLayout): use params's copy contructor.
9877
9878         * ParagraphParameters.[Ch] (makeSame): delete method
9879
9880 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
9881
9882         * Variables.[Ch]: fix indentation, rename set to isSet
9883
9884 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9885
9886         * lyxfunc.C (Dispatch): fix typo
9887
9888 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9889
9890         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9891         upper_bound.
9892
9893         * bufferlist.C: include assert.h for emergencyWrite().
9894
9895 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
9896
9897         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9898           give up at last (bug #425202) !
9899
9900 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
9901
9902         * lyx_gui_misc.C:
9903         * sp_form.h:
9904         * sp_form.C:
9905         * spellchecker.h:
9906         * spellchecker.C: strip spellchecker options and bring up
9907           preferences tab instead
9908
9909 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9910
9911         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9912         the istringstream constructor
9913
9914 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9915
9916         * paragraph.C (getLayout): fix return value
9917
9918         * paragraph.h: do not declare getLayout as inline.
9919
9920         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9921
9922 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9923
9924         * lyxcursor.h (operator<): new func
9925         (operator>): new func
9926         (operator>=): new func
9927         (operator<=): new func
9928
9929         * text.C (changeCase): use selection.start and selection.end
9930         (changeRegionCase): require from to be <= to. Require par to be a
9931         valid paragraph.
9932
9933         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9934
9935 2001-06-27  Juergen Vigna  <jug@sad.it>
9936
9937         * text.C (cursorLeftOneWord): changed to return the cursor and added
9938         overlay with BufferView * parameter which calls this one.
9939         (getWord): added
9940         (selectWord): use new getWord function.
9941         (changeCase): renamed from changeWordCase as and extended to work
9942         also on selections.
9943
9944         * lyxtext.h: added enum word_location
9945
9946         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9947         changeCase as this operates now also on selections.
9948
9949 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
9950
9951         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9952
9953         * many files: send debug output to Debug::INFO instead of
9954         Debug::ANY.
9955
9956         * converter.C (View):
9957         (Convert):
9958         (Move): send debug output to Debug::FILES instead of console.
9959
9960 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
9961
9962         * lyxfunc.C (getStatus): use func_status
9963
9964         * func_status.h: new header, describing the results of
9965         LyXFunc::getStatus;
9966
9967         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9968         LFUN_MATH_HALIGN.
9969
9970 2001-06-25  The LyX Project  <jug@sad.it>
9971
9972         * buffer.C (sgmlOpenTag):
9973         (sgmlCloseTag):
9974         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
9975
9976 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9977
9978         * text2.C: remove some dead code
9979
9980         * tabular.C (GetCellInset): store the last cell checked (gotten)
9981
9982         * tabular.h: add the helper for the speedup
9983
9984         * lyxtext.h: remove some dead code
9985
9986 2001-06-26  The LyX Project  <Asger>
9987
9988         * paragraph.C: Change export to LaTeX of alignment to
9989         \begin{center} and family for better roundtrip work with reLyX.
9990
9991         * Tune the math drawing a bit.
9992
9993 2001-06-25  The LyX Project  <Asger>
9994
9995         * LColor.C (LColor): New color for math background. New color
9996         for buttons.
9997
9998 2001-06-25  The LyX Project  <jug@sad.it>
9999
10000         * lyxfunc.C (MenuNew): remove extra check for .lyx file
10001
10002         * lyxfunc.C (Open):
10003         * bufferlist.C (newFile): do not restrict to files ending with
10004         .lyx
10005
10006         * BufferView_pimpl.C (MenuInsertLyXFile):
10007
10008 2001-06-24  The LyX Project  <jug@sad.it>
10009
10010         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10011         of compare_no_case
10012
10013 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10014
10015         * lyxtext.h: rename most methods to begin with a small char.
10016         Lots of changes because of this.
10017
10018         * paragraph.C (Paragraph): do not call fitToSize
10019         (erase): call Pimpl::erase
10020         (insertChar): call Pimpl::insertChar
10021         (insertInset): call Pipl::insertInset
10022         (breakParagraph): do not call fitToSize
10023         (breakParagraphConservative): do not call fitToSize
10024         (fitToSize): remove method
10025
10026         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10027
10028 2001-06-24  The LyX Project  <Asger>
10029
10030         * Fix Qt compilation^2
10031
10032 2001-06-24  The LyX Project  <jug@sad.it>
10033
10034         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10035         depthHook(getDepth()-1).
10036
10037         * paragraph.h:
10038         * ParagraphParameters.h:
10039         * ParameterStruct.h: change type of depth to unsigned int ==
10040         depth_type. Many adaptations to other files before of that.
10041
10042 2001-06-24  The LyX Project  <Asger>
10043
10044         * Fix Qt compilation.
10045
10046 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10047
10048         * paragraph.h: renamed several methods to begin with small letter.
10049         several changes to many parts of the code because of this.
10050
10051 2001-06-23  The LyX Project  <jug@sad.it>
10052
10053         * text2.C (InsertStringAsLines): renamed from InsertStringA;
10054         rewritten to discard all double spaces when KeepEmpty is off
10055         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10056         to only handle newlines but not fiddle with spaces and friends.
10057
10058         * lyxfunc.C (MenuNew): when doing 'new from template', use
10059         template_path as default directory
10060
10061 2001-06-23  The LyX Project  <Asger>
10062
10063         * Clean-up of header file includes all over
10064         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10065
10066 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10067
10068         * paragraph.h: renamed from lyxparagraph.h
10069
10070 2001-06-23  Asger  <lyx@violet.home.sad.it>
10071
10072         * Buffer.h: Removed Buffer::resize
10073         * BufferList.h: Removed BufferList::resize
10074         * LyXView.h: Added LyXView::resize. This way, we will only reflow
10075         the document lazily when we change the width, or the font settings.
10076
10077 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10078
10079         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10080
10081 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10082
10083         * buffer.h: remove out of date comment
10084
10085 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10086
10087         * lyxscreen.h:
10088         * screen.C: fix "theoretical" GC leak
10089
10090 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10091
10092         * LaTeX.C (scanAuxFile):
10093         (deplog): remove trailing \r when reading stream (useful under
10094         win32)
10095
10096 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
10097
10098         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10099         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10100         and BufferView::theLockingInset(Inset*), so should use them and not
10101         access bv_->text->the_locking_inset directly.
10102
10103         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10104
10105 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
10106
10107         * Makefile.am:
10108         * tex-defs.h: remove old unused file
10109
10110 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
10111
10112         * BufferView_pimpl.C: fix typo, remove minibuffer message
10113           when buffer has loaded
10114
10115 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10116
10117         * lyxfunc.C (Dispatch): use stringstream
10118         (MenuNew): use stringstream
10119         (Open): use stringstream
10120
10121         * importer.C (Import): use stringstream
10122
10123         * bufferview_funcs.C (CurrentState): use stringstream
10124
10125         * LaTeX.C (run): use stringstream
10126
10127         * BufferView_pimpl.C (savePosition): use stringstream
10128         (restorePosition): use stringstream
10129         (MenuInsertLyXFile): use stringstream
10130
10131 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
10132
10133         * BufferView.C:
10134         * Bullet.C:
10135         * ColorHandler.C:
10136         * FontInfo.C:
10137         * FontLoader.C:
10138         * LColor.C:
10139         * LaTeXFeatures.C:
10140         * Painter.C:
10141         * gettext.C:
10142         * lyx_gui_misc.C:
10143         * lyxserver.C:
10144         * vspace.C: removed // -*- C++ -*- as first line.
10145
10146         * lyxfind.h:
10147         * version.h: added // -*- C++ -*- as first line.
10148
10149 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10150
10151         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10152
10153         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10154         of string
10155
10156 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10157
10158         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10159         of floats.
10160
10161 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10162
10163         * gettext.C: include LString.h even when --disable-nls is on.
10164
10165 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
10166
10167         * converter.h (Get): changed argument type from int to
10168         FormatList::size_type to avoid unnecessary conversion.
10169
10170         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10171         before using it.
10172
10173 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10174
10175         * gettext.h: include LString.h even when --disable-nls is on.
10176
10177 2001-06-07  Juergen Vigna  <jug@sad.it>
10178
10179         * text.C (BreakAgain): subst spaces with tabs.
10180
10181         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10182         (resizeInsetsLyXText): set force on resizeLyXText.
10183
10184 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10185
10186         * gettext.h (gettext_init):
10187         (locale_init): use a real definition instead of a macro
10188
10189 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
10190
10191         * Bufferview_pimpl.C:
10192         * LColor.h:
10193         * LColor.C: further lcolor tidies
10194
10195 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10196
10197         * BufferView_pimpl.C (updateScrollbar): simplify.
10198
10199         * BufferView2.C: don't include insets/insetinfo.h, change
10200         prototype for insertInset and call the Pimpl version. let
10201         updateInset call Pimpl version.
10202
10203         * BufferView.h: move inset_slept to BufferView::Pimpl, move
10204         gotoInset to BufferView::Pimpl
10205
10206 2001-06-01  Juergen Vigna  <jug@sad.it>
10207
10208         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10209         inside a LockingInset (is the update needed at all?).
10210
10211 2001-05-31  Juergen Vigna  <jug@sad.it>
10212
10213         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10214         here not the old one otherwise how should we compare it afterwards
10215         if it's the same!
10216
10217 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10218
10219         * lyxfont.C:
10220         * tabular.C:
10221         * tabular-old.C:
10222         * FontInfo.C: bring C functions into global namespace when
10223         necessary
10224
10225 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10226
10227         * LString.h: make sure config.h has been loaded before LString.h.
10228
10229         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10230         (one for each char read by EatLine!).
10231
10232         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10233         variables.
10234
10235 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10236
10237         * paragraph.C (BreakParagraph): set the inset_owner in the new par
10238         to the same as the par we break from
10239
10240 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10241
10242         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10243
10244         * MenuBackend.C (expand): also create menu entries for wide
10245         versions of the floats.
10246
10247         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10248
10249         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10250
10251         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10252         frontends/Makefile.am
10253
10254         * text2.C: adjust
10255         * text.C: adjust
10256
10257
10258         * tabular.C (getTokenValue): add std::
10259
10260         * tabular-old.C (getTokenValue): add std::
10261         (getTokenValue): ditto
10262         (getTokenValue): ditto
10263
10264         * screen.C (ToggleSelection): adjust
10265
10266         * lyxtext.h: put selection cursors inside a Selection struct.
10267
10268         * lyxfunc.C (moveCursorUpdate): adjust
10269
10270         * lyxfont.C (latexWriteStartChanges): add std::
10271
10272         * lyxfind.C: adjust
10273
10274         * font.h: delete with(char const *, LyXFont const &)
10275
10276         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10277
10278         * FontInfo.C (getFontname): add std::
10279
10280         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10281         (workAreaButtonPress): adjust
10282         (tripleClick): adjust
10283         (update): adjust
10284         (moveCursorUpdate): adjust
10285         (Dispatch): adjust
10286
10287         * BufferView2.C (gotoInset): adjust
10288
10289 2001-05-30  Juergen Vigna  <jug@sad.it>
10290
10291         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10292         to check pspell I add this as default as I now have new pspell
10293         libraries and they seem to use this.
10294
10295 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10296
10297         * text2.C (CutSelection): make the cursor valid before the call to
10298         ClearSelection.
10299
10300 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10301
10302         * kbsequence.C (parse): de-uglify a bit the parsing code, which
10303         relied on 0 terminated strings and other horrors. Bug found due to
10304         the new assert in lyxstring!
10305
10306         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10307         KP_ keys.
10308
10309 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10310
10311         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10312         to latinkeys.bind.
10313
10314         * lyxfunc.C (processKeySym): change method of getting to the
10315         self-insert char.
10316
10317         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10318         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10319         * BufferView_pimpl.[Ch]: here as private methods.
10320
10321 2001-05-28  Juergen Vigna  <jug@sad.it>
10322
10323         * text.C (SetHeightOfRow): added the update() call again as it is
10324         needed to initialize inset dimensions!
10325
10326 2001-05-16  Juergen Vigna  <jug@sad.it>
10327
10328         * text2.C (SetCharFont): Add new function with BufferView * and
10329         bool toggleall parameters for setting insets internal fonts.
10330         (SetFont): Freeze the undo as we may change fonts in Insets and
10331         all this change should be inside only one Undo!
10332
10333         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10334         setting font's in insets as for them we have the SetFont function!
10335
10336 2001-05-15  Juergen Vigna  <jug@sad.it>
10337
10338         * text2.C (ClearSelection): to be sure we REALLY don't have any
10339         selection anymore!
10340
10341         * tabular.C (TeXCellPreamble): fixed the left border problem for
10342         multicolumn cells.
10343
10344 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
10345
10346         * LaTeX.C (deplog): Make sure that the main .tex file is in the
10347         dependancy file
10348
10349 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10350
10351         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10352         LFUN_BREAKPARAGRAPH.
10353
10354         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10355         help test to "internal only", similar for LFUN_INSERT_URL
10356
10357         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10358         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10359         auto_region_delete and deadkeys.
10360
10361 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
10362
10363         * LColor.h:
10364         * LColor.C: remove some dead entries, tidy a little
10365
10366 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10367
10368         * lyxfunc.C (processKeySym): comment the Escape handling, remove
10369         commented code.
10370         (Dispatch): implement LFUN_ESCAPE
10371
10372         * commandtags.h: add LFUN_ESCAPE
10373
10374         * LyXAction.C (init): add entry for LFUN_ESCAPE
10375
10376         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10377         Remove commented code.
10378         (insertNote): moved here
10379         (open_new_inset): moved here
10380
10381         * BufferView[2].[Ch]: move insertNote and open_new_inset to
10382         BufferView_pimpl
10383
10384 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10385
10386         * kbmap.C (findbinding): clean it up and make it work correctly.
10387
10388         * lyx_main.C (init): do not pass argc and argv as parameters
10389
10390 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
10391
10392         * buffer.C: fix path for OS/2 & Win32
10393
10394         * lyx_gui.C:
10395         * lyx_main:
10396         * lyx_main.C: Added os:: class.
10397
10398         * os2_defines.h: update
10399
10400 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10401
10402         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10403         better by trying again with reduced state.
10404
10405 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10406
10407         * lyxrc.C (read): print error about invalid key sequence only when
10408         debugging (because not all latinX keysyms are known to some X
10409         servers)
10410
10411         * kbsequence.C (getiso): add a few std:: qualifiers
10412         (getiso): comment out extra return statement.
10413
10414 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10415
10416         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10417         handling.
10418         (Dispatch): enhance the accent inset a bit. (not perfect)
10419
10420 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10421
10422         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10423
10424 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10425
10426         * bufferlist.C (emergencyWrite): fix assert() call
10427
10428 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
10429
10430         * text.C (InsertChar): Added trivial patch to only send the "you
10431         can not do multiple spaces this way" message once during a
10432         session.
10433
10434 2001-05-08  Baruch Even  <baruch@lyx.org>
10435
10436         * Makefile.am: Changed order of libraries to get LyX to link properly
10437         with the gnome frontend.
10438
10439 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10440
10441         * LaTeXFeatures.h: add a std:: qualifier
10442
10443 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10444
10445         * paragraph.C (String): use stringstream
10446
10447 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10448
10449         * paragraph.C (writeFile): remove footflag arg
10450
10451         * buffer.C (makeLaTeXFile): use stringstream
10452         (latexParagraphs): remove footnot gurba
10453
10454         * LaTeXFeatures.C (getPackages): use stringstream
10455         (getMacros): likewise
10456         (getTClassPreamble): likewise
10457         (getFloatDefinitions): new method
10458
10459         * paragraph.C (writeFile): reindent
10460         (Erase): reindent
10461
10462         * WorkArea.h: revert the xpos + etc changes.
10463
10464         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10465
10466         * lyxparagraph.[Ch]: add copy constructor, remove Clone
10467
10468         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10469         (pasteSelection): likewise
10470         * text2.C (CreateUndo): likewise
10471
10472 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10473
10474         * minibuffer.C (peek_event): temporarily reduce the functionality
10475         of the minibuffer (to allow args on lfuns)
10476
10477         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10478         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10479
10480         * buffer.C (readInset): add compability reading of old float
10481         lists, add reading of new style float list.
10482         (readInset): avoid reevaluation of inscmd.getCmdName()
10483         (getLists): reindent
10484
10485         * MenuBackend.C (MenuItem): implement parsing of
10486         md_floatlistinsert and md_floatinsert.
10487         (expand::LastFiles): move initalizaton of iterators out of loop,
10488         avoid reevaluation.
10489         (expand::Documents): introduce typdedef vector<string> Strings,
10490         and use it.
10491         (expand::ExportFormats): introduce typedef vector<Format const *>
10492         Formats, and use it.
10493         (expand): implement FloatListInsert and FloatInsert.
10494
10495         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10496         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10497         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10498
10499         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10500         handling.
10501         (Dispatch::LFUN_FLOAT_LIST): implement
10502
10503 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10504
10505         * LaTeX.C (run): Fix problem with --export code.
10506
10507 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
10508
10509         * BufferView.[Ch] (workarea): removed.
10510         (getClipboard) new method; wrapper for workarea()->getClipboard()
10511
10512         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10513         bug.
10514
10515         * WorkArea.h (width, height, xpos, ypos): These methods all
10516         returned the dimensions of the work_area sub-area of WorkArea,
10517         resulting in a position error if the WorkArea were resized. Now
10518         return the dimensions of the entire WorkArea.
10519
10520         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10521
10522 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10523
10524         * LaTeX.C (deplog): correct the syntax of regex reg1
10525
10526 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10527
10528         * undo.C: remove !NEW_INSETS cruft
10529
10530 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10531
10532         * text2.C: remove !NEW_INSETS cruft
10533
10534         * text.C: remove !NEW_INSETS cruft
10535
10536         * tabular.C: remove !NEW_INSETS cruft
10537
10538         * spellchecker.C: remove !NEW_INSETS cruft
10539
10540         * lyxtext.h: remove !NEW_INSETS cruft
10541
10542         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10543
10544         * lyxfunc.C: remove !NEW_INSETS cruft
10545
10546         * lyxfind.C: remove !NEW_INSETS cruft
10547
10548         * lyx_cb.C: remove !NEW_INSETS cruft
10549
10550         * figureForm.C: remove  !NEW_INSETS cruft
10551
10552         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10553
10554         * buffer.[Ch]: remove !NEW_INSETS cruft
10555
10556         * ToolbarDefaults.C: remove !NEW_INSETS cruft
10557
10558         * CutAndPaste.C: remove !NEW_INSETS cruft
10559
10560         * BufferView_pimpl.C: remove !NEW_INSETS cruft
10561
10562         * BufferView2.C: remove !NEW_INSETS cruft
10563
10564         * BufferView.h: remove !NEW_INSETS cruft
10565
10566 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10567
10568         * Lsstream.h: include LString.h before the sstream headers to
10569         fix problem with gcc 2.95.3 and lyxstring
10570
10571 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10572
10573         * lyx_main.C: add using directives when needed for C functions
10574         declared in std:: namespace.
10575
10576 2001-04-27  Juergen Vigna  <jug@sad.it>
10577
10578         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10579         (SetHeightOfRow): comment out the update call should not be needed!
10580
10581 2001-04-13  Juergen Vigna  <jug@sad.it>
10582
10583         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10584         (LyXTabular): tried to minimize operator= operations (and realized
10585         hopfully Lars wish).
10586
10587 2001-04-27  Juergen Vigna  <jug@sad.it>
10588
10589         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10590
10591 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10592
10593         * lyxfunc.C (Dispatch): hack to make listof algorithm work
10594
10595         * buffer.C (readInset): hack to make listof algorithm work
10596
10597         * BufferView_pimpl.C: hack to make listof algorithm work
10598
10599 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10600
10601         * LyXAction.C: removed all !NEW_INSETS cruft
10602         (init): moved lfun_item in method
10603
10604         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10605
10606 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
10607
10608         * BufferView2.C (theLockingInset): white space.
10609
10610 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10611
10612         * minibuffer.C: include <iostream>
10613
10614         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10615
10616         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10617
10618         * commandtags.h: add LFUN_TRANSPOSE_CHARS
10619
10620         * text.[Ch] (TransposeChars): new method
10621
10622 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10623
10624         * call message directly through LyXView instead of through LyXFunc
10625         * BufferView2.C: adjust
10626         * BufferView_pimpl.C: adjust
10627         * FontLoader.C: adjust
10628         * buffer.C: adjust
10629         * bufferview_funcs.C: adjust
10630         * converter.C: adjust
10631         * figureForm.C: adjust
10632         * importer.C: adjust
10633         * lyx_cb.C: adjust
10634         * lyx_gui_misc.C: adjust
10635         * lyxfunc.C: adjust
10636         * lyxvc.C: adjust
10637         * text2.C: adjust
10638         + more files in subdirs
10639
10640         * lyxparagraph.h (size): move up int file
10641         (GetLayout): ditto
10642
10643         * adjust all uses of Assert to lyx::Assert.
10644
10645         * BufferView2.C (ChangeCitationsIfUnique): adjust for
10646         lyxfunctional in namespace lyx
10647         * layout.C (hasLayout): ditto
10648         (GetLayout): ditto
10649         (GetLayout): ditto
10650         (delete_layout): ditto
10651         (NumberOfClass): ditto
10652         * converter.C (GetFormat): ditto
10653         (GetNumber): ditto
10654         (Add): ditto
10655         (Delete): ditto
10656         (SetViewer): ditto
10657         * bufferlist.C (getFileNames): ditto
10658         (emergencyWriteAll): ditto
10659         (exists): ditto
10660         (getBuffer): ditto
10661         * MenuBackend.C (hasSubmenu): ditto
10662         (hasMenu): ditto
10663         (getMenu): ditto
10664         * BufferView_pimpl.C (getInsetByCode): ditto
10665
10666 2001-04-18  Juergen Vigna  <jug@sad.it>
10667
10668         * vspace.C (asLatexString): fixed the 100% problem.
10669
10670 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10671
10672         * lyxfunc.C (Dispatch):
10673         * minibuffer.C:
10674         * minibuffer.h: add a few std:: qualifiers
10675
10676 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10677
10678         * minibuffer.[Ch]: reimplement so that commands is initiated and
10679         run from lyxfunc, simplified som handling, and made the completion
10680         and history code for complete. wip.
10681
10682         * lyxfunc.C (processKeySym): call message
10683         (miniDispatch): new temporary method
10684         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10685         (LFUN_MESSAGE): implement
10686         (LFUN_MESSAGE_PUSH): implement
10687         (LFUN_MESSAGE_POP): implement
10688         (initMiniBuffer): the initial/defualt minibuffer message.
10689
10690         * lyxfont.[Ch]: inline some more getters
10691
10692         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10693
10694         * lyx_gui_misc.[Ch] (WriteStatus): remove method
10695
10696         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10697         (AutoSave): use LFUN_MESSAGE
10698         (Reconfigure): ditto
10699
10700         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10701
10702         * figureForm.C: use LFUN_MESSAGE
10703
10704         * converter.C (runLaTeX): use LFUN_MESSAGE
10705
10706         * bufferview_funcs.C: use LFUN_MESSAGE
10707         (Melt): ditto
10708         (changeDepth): ditto
10709
10710         * bufferparams.h: use boost::
10711
10712         * bufferlist.h: inherit privately from noncopyable
10713
10714         * bufferlist.C (loadLyXFile): remove some commented code.
10715
10716         * buffer.C (runChktex): use LFUN_MESSAGE
10717
10718         * ShareContainer.h: inherit privately from noncopyable
10719
10720         * ParagraphParameters.[hC] (depth): inline it.
10721
10722         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10723         methods.
10724         (message): new method
10725         (messagePush): ditto
10726         (messagePop): ditto
10727         (show): init minibuffer
10728         (showState): direct call
10729
10730         * LaTeX.[Ch]: inherit privately from noncopyable
10731         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10732         instead of WriteStatus.
10733
10734         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10735
10736         * BufferView_pimpl.C (buffer): don't init minibuffer
10737         (workAreaButtonPress): use LFUN_MESSAGE
10738         (workAreaButtonRelease): ditto
10739         (savePosition): ditto
10740         (restorePosition): ditto
10741         (MenuInsertLyXFile): ditto
10742         (workAreaExpose): don't init minibuffer
10743         (update): remove commented code, simplify
10744
10745         * BufferView2.C (openStuff): use LFUN_MESSAGE
10746         (toggleFloat): ditto
10747         (menuUndo): ditto
10748         (menuRedo): ditto
10749         (copyEnvironment): ditto
10750         (pasteEnvironment): ditto
10751         (copy): ditto
10752         (cut): ditto
10753         (paste): ditto
10754         (gotoInset): ditto
10755         (updateInset): remove some commented code
10756
10757         * lastfiles.h: inherit privately from noncopyable
10758         * layout.h: ditto
10759         * lyx_gui.h: ditto
10760         * lyx_main.h: ditto
10761         * lyxlex.h: ditto
10762         * lyxlex_pimpl.h: ditto
10763
10764         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10765         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10766         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10767
10768         * LyXAction.h: inherit privately from noncopyable, add methods
10769         func_begin, func_end, returning iterators to the func map.
10770
10771         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10772         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10773         (func_begin): new method
10774         (func_end): new method
10775
10776         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10777         and not)
10778         (copySelection): ditto
10779         (pasteSelection): ditto
10780
10781         * BufferView.C: whitespace change
10782         * BufferView.h: inherit privately from noncopyable
10783
10784 2001-04-16  Allan Rae  <rae@lyx.org>
10785
10786         * tabular-old.C (l_getline):
10787         * spellchecker.C (sc_check_word):
10788         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10789         an unrecognised preprocessor directive.  So ensure they're wrapped.
10790
10791 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
10792
10793         * src/exporter.C (Export): Give an error message when path to file
10794         contains spaces.
10795
10796 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
10797
10798         * LaTeX.C (deplog): Always check that foundfile exists.
10799
10800 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10801
10802         * lyx_main.h:
10803         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10804
10805 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10806
10807         * tabular.[Ch] (getLabelList): implement new method
10808
10809         * minibuffer.h: comment ouf setTiimer
10810
10811         * minibuffer.C (ExecutingCB): constify res
10812         (peek_event): constify s
10813         (Set): constify ntext
10814         (Init): constify nicename
10815
10816         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10817
10818         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10819         (savePosition): use two params to Minibuffer::Set
10820         (restorePosition): ditto
10821
10822 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10823
10824         * lyx_main.C: include language.h
10825
10826         * Makefile.am (lyx_main.o): add language.h
10827
10828 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10829
10830         * exporter.C:
10831         * paragraph.C:
10832         * screen.C:
10833         * tabular.C:
10834         * CutAndPaste.C: include gettext.h
10835
10836         * lyxfont.h: remove old hack with ON and OFF.
10837
10838         * lyxparagraph.h:
10839         * lyxfont.h: do not include language.h...
10840
10841         * BufferView2.C:
10842         * LaTeXFeatures.C:
10843         * Painter.C:
10844         * bufferview_funcs.C:
10845         * font.C:
10846         * lyxfont.C:
10847         * text.C:
10848         * text2.C:
10849         * trans_mgr.C:
10850         * paragraph.C: ... but do it here instead
10851
10852 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10853
10854         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10855
10856         * tabular.C: small reformat
10857
10858         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10859         NEW_INSETS version
10860         (GetChar): ditto
10861         (BreakParagraph): ditto
10862         (SetOnlyLayout): ditto
10863         (SetLayout): ditto
10864
10865         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10866         with one arg less.
10867
10868         * lastfiles.C: removed most using decl, add std:: where needed
10869
10870         * buffer.C: ws changes
10871
10872         * MenuBackend.C (class compare_format): put into anon namespace
10873         (expand): constify label, names, action, action2
10874         (expand):
10875
10876         * text.C (SingleWidth): constify font
10877         (IsBoundary): constify rtl2
10878         (GetVisibleRow): constify ww
10879
10880         * LaTeX.C (deplog): constify logfile
10881
10882         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10883         start_x, end_x
10884         (workAreaExpose): constify widthChange, heightChange
10885
10886         * lyxrow.C (par): moved
10887         (height): moved
10888         (next): moved
10889         * lyxrow.h: as inlines here
10890
10891         * lyxfont.h (shape): moved from lyxfont.C
10892         (emph): moved from lyxfont.C
10893
10894         * lyxfont.C (LyXFont): use initialization list for all
10895         constructors
10896         (shape): move to lyxfont.h as inline
10897         (emph): move to lyxfont.h as inline
10898
10899
10900 2001-04-04  Juergen Vigna  <jug@sad.it>
10901
10902         * vspace.C: had to include stdio.h for use of sscanf
10903
10904 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
10905
10906         * BufferView.h:
10907         * BufferView_pimpl.h: remove xforms cruft. Both classes are
10908         independent of xforms.
10909
10910 2001-04-02  Juergen Vigna  <jug@sad.it>
10911
10912         * spellchecker.C: fixed namespace placing!
10913
10914 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
10915
10916         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10917         the LyXParagraph * is 0.
10918
10919 2001-03-29  Juergen Vigna  <jug@sad.it>
10920
10921         * vspace.C: added support for %, c%, p%, l%.
10922         (stringFromUnit): added helper function.
10923         (asLatexString): changed to give right results for the %-values.
10924
10925         * buffer.C: convert the widthp in a width%.
10926
10927 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
10928
10929         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10930         figureForm.[Ch].
10931
10932         * figureForm.[Ch]: stripped the FD_from_figure manipulation
10933         code out of lux_cb.[Ch], ready for its (imminent?) removal.
10934
10935         * lyx_cb.[Ch]: see above.
10936
10937         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10938         form1.[Ch].
10939
10940         * form1.[Ch]:
10941         * lyx.[Ch]: replaced by figure_form.[Ch].
10942
10943         * lyx_gui.C:
10944         * lyx_gui_misc.C:
10945         * lyxfunc.C: changed headers associated with above changes.
10946
10947 2001-03-27  Juergen Vigna  <jug@sad.it>
10948
10949         * BufferView_pimpl.C: set the temporary cursor right!
10950
10951 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
10952
10953         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10954
10955 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
10956
10957         * LString.h: removed "using std::getline"!
10958
10959         * BufferView_pimpl.C (Dispatch): changes due to changes in
10960         InsetInclude::Params.
10961
10962         * buffer.C (tag_name): removed redundant break statements as they were
10963         producing lots of warnings with my compiler.
10964
10965 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10966
10967         * LString.h: add "using std::getline" when using the real <string>.
10968
10969 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
10970
10971         * buffer.C: removed bitset usage.
10972         PAR_TAG moved to an anonymous name space.
10973         (tag_name): new funtion, also in the anonymous namespace.
10974         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10975         (makeDocBookFile): clean code. Completed transition from string arrays
10976         to string vectors.
10977         (SimpleDocBookOnePar): code clean.
10978
10979 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
10980
10981         * tabular.C: add some comments.
10982
10983 2001-03-22  Juergen Vigna  <jug@sad.it>
10984
10985         * buffer.C (parseSingleLyXformat2Token): redone the minipage
10986         compatibility read a bit and fixed bug with minipage in different
10987         depth.
10988
10989 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
10990
10991         * buffer.C (pop_tag): removed.
10992         (push_tag): removed.
10993         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10994         array replaced with vector. Added support for CDATA sections.
10995         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10996         at any nest level.
10997         (makeDocBookFile): XML conformant declaration of CDATA section,
10998         fixed bug related to <emphasis> in the first paragraph char.
10999         (sgmlOpenTag): exclude empty tags.
11000         (sgmlCloseTag): ditto.
11001
11002         * buffer.h (pop_tag): removed.
11003         (push_tag): removed.
11004
11005 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
11006
11007         * language.h (Languages): added size_type and size().
11008
11009 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11010
11011         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11012         response on compability reading of minipages. One probliem is that
11013         the old usage of minipages was «flertydig»
11014
11015         * several files here and in subdirs: don't use static at file
11016         scope use anon namespaces instead.
11017
11018 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
11019
11020         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11021         LaTeX output. This is necessary for Literate document
11022         processing.
11023
11024 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11025
11026         * buffer.C: insert hfill when needed.
11027
11028         * tabular.C (l_getline): use string::erase, small whitespace change.
11029
11030         * BufferView_pimpl.C: try the anon namespace.
11031         * WorkArea.C: ditto
11032
11033 2001-03-16  Juergen Vigna  <jug@sad.it>
11034
11035         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11036         otherwise it won't open options-dialogs.
11037
11038         * buffer.C: honor pextraWidth(p) on converting minipages.
11039
11040         * tabular.C (l_getline): changed the functions to strip trailing \r.
11041
11042 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
11043
11044         * BufferView_pimpl.C:
11045         * minibuffer..C: added "using SigC::slot" declaration.
11046
11047 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11048
11049         * lyxlex_pimpl.h: noncopyable is in namespace boost.
11050
11051         * text2.C: ditto
11052
11053         * text.C: ditto
11054
11055         * paragraph.C: ditto
11056
11057         * lyxtext.h: NO_PEXTRA
11058
11059         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11060
11061         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11062         * ParameterStruct.h: ditto
11063         * ParagraphParameters.h: ditto
11064         * lyxparagraph.h: ditto
11065
11066 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11067
11068         * buffer.C: add compability for minipage alignment.
11069         (latexParagraphs): remove unwanted pextra check.
11070
11071         * several files: remove CXX_WORKING_NAMESPACES
11072
11073         * buffer.C (pop_tag): tie is in namespace boost
11074
11075         * BufferView.h: noncopyable is in namespace boost
11076         * lyxlex.h: ditto
11077         * lyx_main.h: ditto
11078         * lyx_gui.h: ditto
11079         * layout.h: ditto
11080         * lastfiles.h: ditto
11081         * bufferlist.h: ditto
11082         * ShareContainer.h: ditto
11083         * LyXView.h: ditto
11084         * LyXAction.h: ditto
11085         * LaTeX.h: ditto
11086
11087 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
11088
11089         * Merging changes from BRANCH_MVC back into HEAD.
11090
11091         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11092
11093 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
11094
11095         * BufferView_pimpl.C: change from intl.C
11096
11097         * combox.h:
11098         * combox.C:
11099         * Makefile.am: move combox.*
11100
11101         * form1.h:
11102         * form1.C:
11103         * lyx_gui.C:
11104         * intl.h:
11105         * intl.C: remove dialog (covered by prefs)
11106
11107 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
11108
11109         * lyxfunc.C (Dispatch): removed redundant break statement.
11110
11111 2001-03-14  Juergen Vigna  <jug@sad.it>
11112
11113         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11114
11115 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11116
11117         * buffer.C: add hack to fix compability reading of minipages.
11118
11119 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
11120
11121         * buffer.C (getLists): Cleanup.
11122
11123 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11124
11125         * lyxfont.C (update): don't honor toggleall on font size.
11126
11127 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
11128
11129         * bmtable.c:
11130         * bmtable.h:
11131         * Makefile.am: moved to frontends/xforms/
11132
11133         * lyx_gui_misc.C:
11134         * lyxfunc.C:
11135         * BufferView_pimpl.C: changes for moved mathpanel
11136
11137 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
11138
11139         * gettext.h: fix gettext_init() in --disable-nls
11140
11141 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11142
11143         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11144
11145 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
11146
11147         * lyx.C:
11148         * lyx.h: strip external form
11149
11150 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
11151
11152         * BufferView_pimpl.C: add comment, destroySplash()
11153
11154 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
11155
11156         * BufferView_pimpl.C:
11157         * LyXAction.C:
11158         * buffer.C:
11159         * commandtags.h:
11160         * lyxfunc.C: use re-worked insetinclude
11161
11162 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11163
11164         * buffer.C: add using std::stringstream.
11165
11166         * lyx_cb.C: readd using std::ios.
11167
11168         * buffer.C: add using std::map.
11169
11170         * BufferView_pimpl.C: add using std::vector.
11171
11172         * ShareContainer.h: add std:: to swap.
11173
11174         * buffer.h: add some typedefs
11175         * buffer.C (getLists): use them
11176         (getLists): renamed from getTocList.
11177         add a counter for the different float types and use it in the
11178         generated string.
11179         (getLists): use the same counter for the NEW_INSETS and the "non"
11180         NEW_INSETS
11181
11182         * lyx_cb.h: remove unused items, includes, using etc.
11183
11184         * ShareContainer.h: remove some commented code, add more comments
11185         and "documentation".
11186
11187 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11188
11189         * buffer.C (getTocList): make the list also when NEW_INSETS is
11190         defined.
11191
11192         * buffer.h: remove TocType
11193
11194         * buffer.C (getTocList): change to return a map<string,
11195         vector<TocItem> >, implement for dynamic number of list.
11196
11197         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11198         * text2.C (PasteSelection): adjust
11199         * CutAndPaste.C (pasteSelection): adjust
11200
11201         * FloatList.C (FloatList): update from the new_insets branch.
11202         * Floating.[Ch]: ditto
11203         * LaTeXFeatures.C: ditto
11204         * buffer.C: ditto
11205         * lyxlex_pimpl.C: ditto
11206
11207         * paragraph.C (Last): remove when NEW_INSETS is defined.
11208
11209         * other file: changes because of the above.
11210
11211 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11212
11213         * lyxparagraph.h: rename next to next_, previous to previous_,
11214         make them private for NEW_INSETS. Rename Next() to next(),
11215         Previous() to previous().
11216
11217         * other files: changes because of the above.
11218
11219 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
11220
11221         * BufferView.h:
11222         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11223         problem.
11224
11225 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11226
11227         * main.C (main): pass lyx_localedir to gettext_init().
11228
11229         * gettext.h: remove locale_init and gettext_init macros
11230
11231         * gettext.C (locale_init): new function
11232         (gettext_init): new function
11233
11234         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11235         setlocale().
11236
11237 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
11238
11239         * Moved credits to frontends:
11240         * credits.[Ch]: removed
11241         * credits_form.[Ch]: removed
11242         * lyx_gui_misc.C: remove credits stuff
11243         * Makefile.am:
11244
11245 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11246
11247         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11248
11249         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11250         unneeded destructor.
11251
11252         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11253         a standalone pointer again.
11254
11255         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11256
11257 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
11258
11259         * Makefile.am:
11260         * filedlg.h:
11261         * filedlg.C:
11262         * LyXAction.C:
11263         * ToolbarDefaults.C:
11264         * bufferlist.C:
11265         * commandtags.h:
11266         * form1.C:
11267         * form1.h:
11268         * lyx_cb.C:
11269         * lyx_cb.h:
11270         * lyxfunc.h:
11271         * lyxfunc.C:
11272         * BufferView_pimpl.C: use new file dialog in GUII
11273
11274         * lyx_cb.h:
11275         * lyx_cb.C: remove LayoutsCB to Toolbar
11276
11277 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11278
11279         * ShareContainer.h (get): add std:: qualifier
11280
11281 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11282
11283         * ShareContainer.h: define a proper ShareContainer::value_type
11284         type (and use typename to please compaq cxx)
11285
11286 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11287
11288         * lyxparagraph.h: move serveral local vars to
11289         ParameterStruct/ParagraphParameters., use ShareContainer in
11290         FontTable., make vars in FontTable private and add getter and
11291         setter.
11292
11293         * paragraph.C: changes because of the above.
11294
11295         * lyxfont.h: remove copy constructor and copy assignment. (the
11296         default ones is ok), move number inside FontBits. move inlines to
11297         lyxfont.C
11298
11299         * lyxfont.C: add number to initializaton of statics, move several
11300         inlines here. constify several local vars. some whitespace
11301         cleanup. Dont hide outerscope variables.
11302
11303         * Spacing.h: add two new constructors to match the set methods.
11304
11305         * ShareContainer.h: new file, will perhaps be moved to support
11306
11307         * ParameterStruct.h: new file
11308
11309         * ParagraphParameters.h: new file
11310
11311         * ParagraphParameters.C: new file
11312
11313         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11314         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11315
11316         * BufferView_pimpl.C: ParagraphParameter changes.
11317         * buffer.C: Likewise.
11318         * bufferview_funcs.C: Likewise.
11319         * text.C: Likewise.
11320         * text2.C: Likewise.
11321
11322 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11323
11324         * lyxfind.C (LyXReplace): do not redefine default argument in
11325         implementation.
11326         (IsStringInText): ditto
11327         (SearchForward): ditto
11328         (SearchBackward): ditto
11329
11330 2001-03-06  Juergen Vigna  <jug@sad.it>
11331
11332         * lyxfind.C (IsStringInText): put parentes around expressions.
11333
11334 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
11335
11336         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11337
11338 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
11339
11340         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11341
11342         * stl_string_fwd.h: add comment
11343
11344         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11345
11346         * tabular.h:
11347         * tabular.C: remove unused DocBook methods
11348
11349         * intl.C:
11350         * language.C:
11351         * paragraph.C:
11352         * buffer.C:
11353         killed DO_USE_DEFAULT_LANGUAGE
11354
11355 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11356
11357         * lyx_gui.C: do not include language.h.
11358
11359         * bufferview_funcs.C (ToggleAndShow): do not provide optional
11360         arguments in function implementation.
11361
11362 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11363
11364         * BufferView_pimpl.C: add <ctime>
11365
11366 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11367
11368         * BufferView_pimpl.C: add using std::find_if
11369
11370 2001-02-27  José Matos  <jamatos@fep.up.pt>
11371
11372         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11373         by OnlyPath.
11374
11375 2001-02-11  José Matos  <jamatos@fep.up.pt>
11376
11377         * buffer.C (makeDocBookFile): command styles now have a parameter as
11378         "title" by default.
11379
11380 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
11381
11382         * layout_forms.[Ch]: removed
11383         * lyx_cb.[Ch]: out character
11384         * lyx_gui.C: out character
11385         * lyx_gui_misc.C: out character
11386         * bufferview_funcs.C: : out character,
11387         added toggleall as parameter in ToggleAndShow
11388
11389 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
11390
11391         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11392
11393         * text2.C (SetCurrentFont): Disable number property at boundary.
11394
11395 2001-02-26  Juergen Vigna  <jug@sad.it>
11396
11397         * lyxfunc.C (getStatus): added a string argument override function so
11398         that this is correctly called from LyXFunc::Dispatch if it contains a
11399         do_not_use_argument which is used!
11400         (Dispatch): added check for "custom" export and call appropriate func.
11401
11402 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
11403
11404         * lyxrc.C: Add language_command_local, language_use_babel and
11405         language_global_options.
11406
11407         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11408
11409         * buffer.C (makeLaTeXFile): Use language_use_babel and
11410         language_global_options.
11411
11412 2001-02-23  Juergen Vigna  <jug@sad.it>
11413
11414         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11415         which works with LyXText and putted it inside BufferView. Here now we
11416         only call for that part the BufferView::Dispatch() function.
11417
11418         * BufferView.C (Dispatch): added.
11419
11420         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11421         functions which needs to use a LyXText over from LyXFunc.
11422         (MenuInsertLyXFile): added
11423         (getInsetByCode): added
11424         (moveCursorUpdate): added
11425         (static TEXT): added
11426
11427 2001-02-22  Juergen Vigna  <jug@sad.it>
11428
11429         * BufferView_pimpl.C (update): call a status update to see if LyXText
11430         needs it.
11431
11432 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11433
11434         * vc-backend.C (revert): implement for CVS
11435         (getLog): implement for CVS
11436
11437 2001-02-20  Juergen Vigna  <jug@sad.it>
11438
11439         * text2.C (ClearSelection): added BufferView param for inset_owner call
11440
11441         * lyxfunc.C (TEXT): added this function and use it instead of
11442         directly owner->view()-text of getLyXText().
11443
11444 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
11445
11446         * src/layout_forms.C: out preamble
11447         * src/layout_forms.h: out preamble
11448         * src/lyx_cb.C: out preamble
11449         * src/lyx_cb.h: out preamble
11450         * src/lyx_gui.C: out preamble
11451         * src/lyx_gui_misc.C: out preamble
11452         * src/lyxfunc.C: connect with guii preamble
11453
11454 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
11455
11456         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11457
11458 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
11459
11460         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11461         whether to run bibtex.
11462
11463 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
11464
11465         * Makefile.am (lyx_SOURCES): Remove BackStack.h
11466
11467 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11468
11469         * Makefile.am (lyx_SOURCES): removed bibforms.h
11470
11471         * vspace.h: doxygen
11472
11473         * text.C (GetVisibleRow): make several local vars const
11474
11475         * tabular.C: small cleanup.
11476
11477         * lyxserver.C (callback): use compare instead of strncmp
11478
11479         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11480         inlines to after class or to paragraph.C
11481
11482         * lyxfont.h: remove friend operator!=
11483
11484         * converter.h: move friend bool operator< to non friend and after
11485         class def.
11486
11487         * combox.h: small cleanup
11488
11489         * buffer.h: doxygen, remove unused constructor, move inclas inlies
11490         to inlines after class def.
11491
11492         * buffer.C (pop_tag): use string operations instead of strcmp
11493
11494         * bmtable.c: doxygen, small cleanup
11495
11496         * LaTeX.h: remove friend operator==
11497
11498 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
11499
11500         * screen.C:
11501         * lyxrc.[Ch]:
11502         * lyxfunc.C:
11503         * lyxfont.[Ch]:
11504         * lyx_cb.C:
11505         * intl.[Ch]:
11506         * commandtags.h:
11507         * buffer.C:
11508         * WorkArea.[Ch]:
11509         * LyXAction.C:
11510         * BufferView_pimpl.C:
11511         * BufferView.[Ch]: remove cruft
11512
11513 2001-02-14  Juergen Vigna  <jug@sad.it>
11514
11515         * lyxfunc.C: removed #if 0 unused code
11516
11517         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11518
11519         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11520
11521         * text2.C (SetSelection): added a BufferView * parameter
11522
11523 2001-02-13  Juergen Vigna  <jug@sad.it>
11524
11525         * lyxfunc.C (Dispatch): fixed protected blank problem.
11526         * BufferView2.C (protectedBlank): added LyxText * parameter.
11527
11528         * tabular.C (AppendRow): forgot to set row_info of newly added row.
11529         (AppendColumn): same as above for column_info.
11530
11531         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11532         (moveCursorUpdate): use a LyXText param for support of InsetText.
11533
11534         * BufferView_pimpl.C (doubleClick): added support for InsetText.
11535         (tripleClick): ditto
11536
11537         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11538
11539         * BufferView_pimpl.C (update): added LyXText param to honor insets.
11540
11541         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11542
11543         * text2.C (SetSelection): set correct update status if inset_owner
11544         (ToggleFree): ditto
11545
11546 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
11547
11548         * tabular.C: remove some commented code.
11549
11550 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
11551
11552         * BufferView_pimpl.C: call hideSplash()
11553
11554         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11555
11556         * include_form.h:
11557         * bibforms.h: remove
11558
11559         * lyxfunc.C:
11560         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11561           add LFUN_CHILD_CREATE
11562
11563         * counters.h: fix tiny typo
11564
11565         * lyx_cb.C:
11566         * lyx.h:
11567         * lyx_gui.C:
11568         * lyx.C: move splash to frontends/xforms/
11569
11570         * lyx_gui_misc.C: move Include and Bibform to frontends
11571
11572         * lyxvc.h: clarify comment
11573
11574         * vspace.C: tiny housekeeping
11575
11576 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
11577
11578         * text.C (PrepareToPrint): RTL Fix.
11579
11580         * paragraph.C (GetUChar): New method.
11581         (String):  Use GetUChar.
11582
11583         * buffer.C (asciiParagraph): Use GetUChar.
11584
11585 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
11586
11587         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11588
11589 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
11590
11591         * buffer.h:
11592         * buffer.C: rename to getLogName(), handle
11593           build log / latex log nicely
11594
11595 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11596
11597         * MenuBackend.C:
11598         * MenuBackend.h: remove support for reference menuitem type.
11599
11600 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
11601
11602         * BufferView_pimpl.C: housekeeping
11603         * BufferView_pimpl.h:
11604         * LyXView.h:
11605         * Makefile.am:
11606         * Timeout.C:
11607         * Timeout.h:
11608         * minibuffer.h: move Timeout GUI-I
11609
11610 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
11611
11612         * lyxrc.C (read): Update converters data-structures.
11613
11614 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
11615
11616         * LaTeX.h (operator!=): add operator != for Aux_Info
11617
11618 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
11619
11620         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11621
11622         * LaTeXLog.C: deleted, useful code moved to Buffer
11623
11624         * buffer.h:
11625         * buffer.C: new function getLatexLogName()
11626
11627         * lyx_gui_misc.C:
11628         * lyx_gui.C:
11629         * lyxvc.C:
11630         * lyxvc.h:
11631         * lyxfunc.C: use frontends for LaTeX and VC logs
11632
11633 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11634
11635         * LaTeX.h: yet another std:: that Allan forgot.
11636
11637         * Variables.C (set): renamed from isset(), because this clashes
11638         with some HP-UX macros (grr).
11639
11640 2001-02-06  Allan Rae  <rae@lyx.org>
11641
11642         * LaTeX.h: Another bug fix.  Missing std:: this time.
11643
11644 2001-02-04  Allan Rae  <rae@lyx.org>
11645
11646         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11647         floats problem. I've left it commented out because it's not quite
11648         correct.  It should also test that the current object is a table or
11649         figure inset.  But I haven't gotten around to figuring out how to do
11650         that.  I *think* it'll be something like: "table" == inset.type()
11651
11652         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11653         bool.
11654
11655 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
11656
11657         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11658         all the citation/databases/styles in the auxilary file.
11659         (run): Rerun latex if there was a babel language error.
11660
11661 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
11662
11663         * text.C (Backspace): Preserve the font when changing newline char
11664         with a space.
11665         (BreakParagraph): If the cursor is before a space, delete the space.
11666
11667         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11668
11669 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
11670
11671         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11672         new argument (code).
11673         (ChangeCitationsIfUnique): New method.
11674
11675         * paragraph.C (GetPositionOfInset): Handle bibkey.
11676
11677 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11678
11679         * BufferView_pimpl.h: change type of Position::par_pos to
11680         LyXParagraph::size_type.
11681
11682 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
11683
11684         * BufferView_pimpl.C (savePosition, restorePosition): Write
11685         messages to minibuffer.
11686
11687 2001-01-28  José Matos  <jamatos@fep.up.pt>
11688
11689         * buffer.C (makeDocBookFile): adds support for document language.
11690         A silly restriction on the name of LatexCommand types where removed.
11691         Added support for CDATA sections, allows to chars unescaped, used
11692         among others in code, to avoid escape < and >.
11693
11694 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
11695
11696         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11697         saved positions instrad of a stack. Furthermore, a position is
11698         stored using paragraph id/paragraph position.
11699
11700         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11701         Remove LFUN_REF_BACK.
11702
11703 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
11704
11705         * converter.C (dvipdfm_options): New method.
11706
11707 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11708
11709         * vspace.C (isValidLength): Fix for empty input string.
11710
11711 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11712
11713         * LyXAction.C (init): change description of LFUN_FIGURE to
11714         "Insert Graphics"
11715
11716 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11717
11718         * LaTeX.C: add using directive
11719
11720 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
11721
11722         * MenuBackend.C (expand): Fix the sorting of the formats.
11723
11724 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
11725
11726         * lyx_main.C: tiny error message fix
11727
11728 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11729
11730         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11731         calling fl_initialize(). This fixes the problem with ',' as
11732         decimal separator in text files.
11733
11734 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
11735
11736         * trans.C (process): Fix the keymap bug.
11737
11738 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
11739
11740         * LaTeX.C (scanAuxFiles): New method. Provides support for
11741         multiple bibliographies (when using the bibtopic/bibunits pacakges).
11742         (scanLogFile) Scan for "run BibTeX" messages.
11743
11744         * buffer.C (makeLaTeXFile): Do not load the ae package when using
11745         OT1 font encoding. Also, load the aecompl package if the ae
11746         package is loaded.
11747
11748         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11749
11750 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11751
11752         * texrow.C (increasePos): turn two error messages into debug
11753         messages.
11754
11755 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
11756
11757         * LaTeX.C (scanAux): Handle the \@input macro.
11758         (runBibTeX): Use scanAux().
11759
11760         * language.C (latex_options_): New field.
11761
11762         * LaTeXFeatures.C (getMacros): Add language macros.
11763
11764         * buffer.C (makeLaTeXFile): Small fix.
11765
11766 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11767
11768         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11769
11770         * text2.C: add a using directive.
11771
11772 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
11773
11774         * BufferView2.C:
11775         * lyx_gui_misc.h:
11776         * lyxfr1.C:
11777         * lyxfunc.C: kill LyXBell.
11778
11779 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
11780
11781         * text.C (IsBoundary): Remove the error message
11782
11783         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11784
11785         * lyxrc.C (setDefaults): Correct initialization value for
11786         font_norm_type.
11787
11788 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
11789
11790         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11791         gotoError().
11792
11793         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11794         and GotoNextNote().
11795
11796         * src/LyXAction.C: Added reference-next.
11797
11798         * text.C (InsertChar): Use contains instead of strchr.
11799
11800         * lyx_cb.C (MenuInsertLabel): Enable default value code.
11801
11802 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
11803
11804         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11805         alignment commands (when needed).
11806
11807         * text.C (InsertChar): Add ':' to number separator chars.