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