]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fixes 3 c&p crashes, and a vanishing insets bug fix
[lyx.git] / src / ChangeLog
1
2 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3
4         * CutAndPaste.C (pasteSelection): fix 2 crashes
5         (eraseSelection): fix a crash
6         * paragraph_funcs.C: remove a warning
7
8 2004-03-28  Angus Leeming  <leeming@lyx.org>
9
10         * lfuns.h:
11         * LyXAction.C (init): new LFUN_PRINT.
12
13         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
14
15 2004-03-27  Angus Leeming  <leeming@lyx.org>
16
17         * lfuns.h:
18         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
19
20         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
21
22 2004-03-27  Angus Leeming  <leeming@lyx.org>
23
24         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
25         insetlist always contains non-null pointers to insets.
26
27 2004-03-26  Angus Leeming  <leeming@lyx.org>
28
29         * src/BufferView_pimpl.C:
30         * src/CutAndPaste.C:
31         * src/buffer.C:
32         * src/iterators.C:
33         * src/output_plaintext.C:
34         * src/outputparams.h:
35         * src/paragraph_funcs.C:
36         * src/rowpainter.C:
37         * src/text.C:
38         * src/text2.C:
39         * src/frontends/controllers/ControlErrorList.C:
40         * src/frontends/gtk/FileDialogPrivate.C:
41         * src/frontends/gtk/GPainter.C:
42         * src/frontends/gtk/GToolbar.C:
43         * src/frontends/qt2/QRef.C:
44         * src/mathed/math_scriptinset.C: squash compiler warnings.
45
46 2004-03-26  Angus Leeming  <leeming@lyx.org>
47
48         * ispell.C (LaunchIspell::start):
49         * lyx_cb.C (AutoSaveBuffer::start):
50         invoke run(DontWait) rather than runNonBlocking().
51
52 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
53
54         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
55
56 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
57
58         * kbsequence.C (print): adjust
59
60         * kbmap.C (printKeySym): rename and change signature
61         (printKey): use LyXKeySym::print()
62
63 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
64
65         * undo.C: add using std::advance to compile for stlport
66
67 2004-03-24  Angus Leeming  <leeming@lyx.org>
68
69         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
70         it leads to a crash when no buffer is present.
71
72 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
73             Martin Vermeer  <martin.vermeer@hut.fi>
74
75         * lyxfunc.C (dispatch): 
76         * bufferparams.C (readToken): use the new LColor::setColor 
77
78         * LColor.[Ch] (setColor): new version that takes two strings as
79         argument and creates a new color entry if necessary
80
81 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
82
83         * buffer.C (makeLaTeXFile): if the main latex file that is
84         processed is usually a subdocument of some master, then pretend
85         for a while that it is actually the master
86
87 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
88
89         * buffer.C (getLabelList):
90         (getBibkeyList): use getMasterBuffer()
91         (getMasterBuffer): new method. Returns the main document in the
92         case where one is using included documents.
93
94 2004-03-25  André Pönitz  <poenitz@gmx.net>
95
96         * Makefile.am:
97         * iterators.[Ch]:
98         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
99
100         * ParagraphList_fwd.h: change ParagraphList to a std::vector
101
102         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
103         text*.C over here. Rename namespace CutAndPaste to lyx::cap
104
105         * ParameterStruct.h: merge with ParagraphParameters
106
107         * lyxtext.h: remove LyXText::parOffset() and getPar()
108
109         * text3.C: Remove all 'manual' update calls. We do now one per user
110         interaction which is completely sufficient.
111
112         * Bidi.C:
113         * BufferView.[Ch]:
114         * BufferView_pimpl.C:
115         * FontIterator.[Ch]:
116         * MenuBackend.C:
117         * ParagraphParameters.[Ch]:
118         * buffer.C:
119         * buffer.h:
120         * bufferlist.C:
121         * cursor.[Ch]:
122         * cursor_slice.[Ch]:
123         * dociterator.[Ch]:
124         * errorlist.[Ch]:
125         * factory.C:
126         * lfuns.h:
127         * lyxfind.C:
128         * lyxfunc.C:
129         * output_docbook.[Ch]:
130         * output_latex.[Ch]:
131         * output_linuxdoc.[Ch]:
132         * output_plaintext.[Ch]:
133         * paragraph.[Ch]:
134         * paragraph_funcs.[Ch]:
135         * paragraph_pimpl.[Ch]:
136         * rowpainter.C:
137         * tabular.[Ch]:
138         * text.C:
139         * text2.C:
140         * toc.C:
141         * undo.[Ch]: adjust
142
143         * frontends/controllers/ControlDocument.C:
144         * frontends/controllers/ControlErrorList.C:
145         * frontends/controllers/ControlSpellchecker.C:
146         * insets/inset.C:
147         * insets/inset.h:
148         * insets/insetbase.h:
149         * insets/insetbibitem.C:
150         * insets/insetbox.C:
151         * insets/insetbranch.C:
152         * insets/insetcaption.C:
153         * insets/insetcharstyle.C:
154         * insets/insetcharstyle.h:
155         * insets/insetcollapsable.C:
156         * insets/insetcollapsable.h:
157         * insets/insetert.C:
158         * insets/insetfloat.C:
159         * insets/insetfoot.C:
160         * insets/insetmarginal.C:
161         * insets/insetnote.C:
162         * insets/insetoptarg.C:
163         * insets/insettabular.C:
164         * insets/insettext.C:
165         * insets/insettext.h:
166         * insets/insetwrap.C:
167         * mathed/math_mboxinset.C:
168         * mathed/math_nestinset.C:
169         * mathed/math_scriptinset.C:
170         * mathed/math_scriptinset.h:
171         * support/types.h:
172
173 2004-03-24  Angus Leeming  <leeming@lyx.org>
174
175         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
176         deal with any child processes that have finished but are waiting to
177         communicate this fact to the rest of LyX.
178
179 2004-03-24  Angus Leeming  <leeming@lyx.org>
180
181         64-bit compile fixes.
182
183         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
184         (c-tor): pass lyx::pos_types rather than ints.
185
186         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
187         lyx::pos_type.
188
189         * text.C (Delete): compile fix.
190         (getPar): ensure that function declaration is the same as that in
191         the header file.
192
193 2004-03-23  Angus Leeming  <leeming@lyx.org>
194
195         * ispell.C (LaunchIspell):
196         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
197         a boost::shred_ptr rather than a std::auto_ptr.
198
199 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
200
201         * lyxfunc.C (getStatus): handle read-only buffers correctly;
202         handle LFUN_FILE_INSERT_*
203
204         * lyxrc.C (setDefaults, getDescription, output, read):
205         * lyxrc.h: remove ps_command
206
207 2004-03-22  Angus Leeming  <leeming@lyx.org>
208
209         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
210         Ensure that error_handler is processed once only and that all data
211         is saved before attempting to output any warning messages.
212
213         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
214
215 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
216
217         * tabular.C (TeXRow): crash fix (from Kayvan and André)
218
219 2004-03-19  André Pönitz  <poenitz@gmx.net>
220
221         * cursor.[Ch] (reset): take main text inset as argument
222
223         * BufferView: adjust
224         * BufferView_pimpl.C: adjust
225
226         * paragraph.[Ch]: fix completely broken operator=()
227
228 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
229
230         * LColor.C (getFromLyXName): make sure that the color name is used
231         as lowercase.
232
233 2004-03-17  Angus Leeming  <leeming@lyx.org>
234
235         * lfuns.h:
236         * LyXAction.C (init): remove LFUN_FORKS_KILL.
237
238         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
239         dialog and to kill a forked process.
240
241 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
242
243         * text2.C (setCursorFromCoordinates): fix font problem
244
245 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
246
247         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
248         bogus "rebuild cursor" code
249
250 2004-03-11  André Pönitz  <poenitz@gmx.net>
251
252         * buffer.[Ch]: use InsetText instead of LyXText as container for
253         the main lyx text.
254
255         * dociterator.[Ch]: drop the BufferView * member which is not needed
256         anymore after the change to buffer.C
257
258         * paragraph_funcs.C:
259         * text.C:
260         * text2.C:
261         * BufferView.[Ch]:
262         * BufferView_pimpl.[Ch]:
263         * cursor.[Ch]:
264         * cursor_slice.[Ch]: adjust
265
266         * text3.C: fix bug in mathDispatch
267
268 2004-03-08  André Pönitz  <poenitz@gmx.net>
269
270         * undo.[Ch]: use 'StableDocumentIterator' as base for
271         the Undo struct.
272
273 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
274
275         * LaTeXFeatures.C:
276         * bufferparams.[Ch]: add jurabib support and param.
277
278         * LaTeX.C: add FIXME/comment.
279
280 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
281
282         * buffer.C: increment file format to 230.
283
284 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
285
286         * cursor.C (dispatch): avoid infinite loops
287
288 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
289
290         * rowpainter.C (paintSelection): fix x coordinates
291
292 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
293
294         * text.C (rowBreakPoint): fix breaking before displayed insets
295
296 2004-03-01  André Pönitz  <poenitz@gmx.net>
297
298         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
299
300         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
301
302         * Makefile.am:
303         * BufferView.C:
304         * BufferView_pimpl.C:
305         * buffer.C:
306         * lyxfind.C:
307         * lyxfunc.C:
308         * text.C:
309         * text2.C:
310         * text3.C: adjust
311
312 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
313
314         * lyxtext.h:
315         * text.C:
316         * text2.C:
317         * rowpainter.C:
318         * BufferView_pimpl.C: rename textwidth -> maxwidth,
319         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
320
321 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
322
323         * Bidi.[Ch] (computeTables): const correctness
324         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
325         fill_hfill, fill_label_hfill and x from Row
326         * lyxtext.h: prepareToPrint returns a RowMetrics
327         * rowPainter.C: adjust
328         * text.C (prepareToPrint): use width, not textWidth. adjust
329         (redoParagraphInternal, cursorX): adjust
330         * text2.C (getColumnNearX): adjust
331         (init): put a default value to the top LyXText::width
332
333 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
334
335         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
336
337 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
338
339         * lyxtext.h: add FontIterator class
340
341         * text.C (FontIterator, operator*, operator->, operator++): add
342         (rowBreakPoint, setRowWidth): adjust (fixing a
343         rebreaking bug)
344
345 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
346
347         * BufferView_pimpl.C (workAreaDispatch): allow also
348         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
349
350 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
351
352         * text.C (rowBreakPoint): fix a bug showing with very large insets
353
354 2004-02-25  André Pönitz  <poenitz@gmx.net>
355
356         * text3.C:
357         * cursor.[Ch]: move some mathed specific code to mathed
358
359 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
360
361         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
362         use_tempdir in preferences
363         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
364         tempfile creation
365         * lyx_main.C: ensure that tempdir is valid
366         * lyxlex.h: correct typo
367         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
368         * paragraph.[Ch] (isMultiLingual): make const
369         * cursor.[Ch] (openable): make const
370
371 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
372
373         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
374
375 2004-02-20  André Pönitz  <poenitz@gmx.net>
376
377         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
378
379         * cursor.[Ch]: prepare for localized getStatus()
380
381         * lyxtext.h:
382         * tabular.C:
383         * text.C:
384         * text2.C:
385         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
386
387 2004-02-20  André Pönitz  <poenitz@gmx.net>
388
389         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
390
391 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
392
393         * text2.C (setCursorFromCoordinates): switch to absolute coords
394         (cursorUp): adjust
395         (cursorDown): adjust
396         * text3.C (dispatch): adjust
397
398 2004-02-16  André Pönitz  <poenitz@gmx.net>
399
400         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
401           insets/ChangeLog)
402
403         * cursor_slice.[Ch]: remove unneeded acessor function
404
405         * lyxtext.h: rename rtl() to isRTL()
406
407         * rowpainter.C:
408         * tabular.C:
409         * text.C:
410         * text2.C:
411         * text3.C: adjust
412
413 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
414
415         * rowpainter.C (paintSelection): coord fix
416
417 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
418
419         * Spacing.C: compile fix
420
421 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
422
423         * cursor.C (dispatch): restore current_ before returning
424
425 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
426
427         * text2.C (cursorUp, cursorDown): fix coords
428         (moveUp): fix crash
429
430 2004-02-12  André Pönitz  <poenitz@gmx.net>
431
432         * lyxtext.h:
433         * text.C:
434         * text2.C:
435         * text3.C: add LCursor & parameter to most cursor movement functions
436           remove usage of LyXText::cursorRow() and cursorPar()
437
438         * cursor.[Ch]: add textRow() needed members
439
440         * BufferView.C:
441         * BufferView_pimpl.C:
442         * paragraph.[Ch]:
443         * BufferView.C:
444         * BufferView_pimpl.C: adjust
445
446 2004-02-11  André Pönitz  <poenitz@gmx.net>
447
448         * lyxfunc.C:
449         * BufferView.[Ch]:
450         * BufferView_pimpl.C: shift undo/redo handling
451
452         * cursor.[Ch]: fix mathed crash
453
454         * lyxfind.C:
455         * lyxtext.h: move selectionAsText to LCursor
456
457         * output_latex.C:
458         * paragraph.C:
459         * text.C:
460         * text2.C:
461         * text3.C: adjust
462
463         * rowpainter.C: fix excessive drawing
464
465 2004-02-06  André Pönitz  <poenitz@gmx.net>
466
467         * BufferView.[Ch]:
468         * BufferView_pimpl.[Ch]:
469         * text3.C: move some text specific LFUN handling
470
471 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
472
473         * text3.C (checkInsetHit): adjust coords
474         * text2.C (getColumnNearX): adjust coords
475         (edit): adjust coords
476         * text.C (getRowNearY): add two asserts
477
478 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
479
480         * converter.C:
481         * format.C: add using std::distance to compile on gcc 2.95/stlport
482
483 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
484
485         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
486
487 2004-02-04  André Pönitz  <poenitz@gmx.net>
488
489         * BufferView.[Ch] (insertInset):
490         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
491
492         * text2.C:
493         * text3.C: adjust
494
495 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
496
497         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
498         on the default clause of the switch
499         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
500         wasn't catched by LCursor::dispatch
501
502 2004-02-03  André Pönitz  <poenitz@gmx.net>
503
504         * BufferView.C:
505         * cursor.[Ch]: some additional asserts
506
507         * undo.[Ch]: remove LyXText dependency in interface
508
509         * lyxfunc.C: adjust
510
511         * lyxtext.h (firstPar, lastPar): remove dead functions
512
513         * text.C:
514         * text2.C:
515         * text3.C:
516         * paragraph.[Ch]: adjust
517
518 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
519
520         * lyxfind.C (find): fix argument order in call to ::find
521
522 2004-02-02  André Pönitz  <poenitz@gmx.net>
523
524         * cursor.[Ch]: remove direct access to anchor
525
526         * text.C: remove findText() hack
527
528 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
529
530         * iterators.[Ch] (lockPath): remove in favour of...
531         * BufferView.[Ch] (setCursor): this addition
532         * BufferView.C (putSelectionAt): adjust
533         * undo.C (performUndoOrRedo): adjust
534         * lyxfunc.C (dispatch): adjust
535
536 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
537
538         * iterators.C (lockPath): add a missing slice
539         * undo.C (performUndoOrRedo): remove redundant positioning code
540
541 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
542
543         * vc-backend.C (scanMaster): ";" -> ';'
544
545 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
546
547         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
548         std::binary_function
549
550         * lyxtextclass.C (compare_name): rename to...
551         (LayoutNamesEqual): ...this
552
553         * lyxlex_pimpl.C (compare_tags): inherit from
554         std::binary_function, put back into anon namespace
555
556         * lyxfind.C (MatchString): inherig from std::binary_function
557         (findChange): use empty() istead of !size()
558
559         * format.C (FormatNamesEqual): new functor
560         (getFormat): use it
561         (getNumber): use it
562         (add): use it
563         (erase): use it
564         (setViewer): use it
565
566         * converter.C (compare_Converter): rename to...
567         (ConverterEqual): ...this, and fixup a bit.
568         (getConverter): use it, and make function const
569         (getNumber): use it, and make function const
570         (add): use it
571         (erase): use it:
572
573         * bufferlist.C: add using boost::bind
574
575         * MenuBackend.C (MenuNamesEqual): new functor
576         (hasMenu): use it, and make function const
577         (hasSubmenu): use nested bind to get rid of compare_memfun.
578
579 2004-01-30  André Pönitz  <poenitz@gmx.net>
580
581         * BufferView_pimpl.C:
582         * cursor.C:
583         * cursor.h:
584         * cursor_slice.[Ch]:
585         * lyxfunc.C:
586         * lyxtext.h:
587         * paragraph_funcs.C:
588         * paragraph_funcs.h:
589         * rowpainter.C:
590         * text.C:
591         * text2.C:
592         * text3.C: move some of the edit(x,y) handling to the insets
593         some coordinate changes.
594
595 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
596
597         * text.C: add using statements for std::advance and std::distance
598
599         * paragraph.C: add using statement for std::distance
600
601         * lyxfind.C: add using statement for std::advance
602
603         * cursor.C (region): remove std:: from swap
604         (openable): use nucleus in stead of operator->
605
606         * BufferView.C: add using statements for std::distance and std::swap
607
608 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
609
610         * iterators.C: Remove the pimple, move the needed structures to
611         the header file. Create accessor for the positions stack.
612         (asPosIterator): remove function
613
614         * PosIterator.C (PosIterator): move constructors to top of file
615         (PosIterator): reimplement the constructor taking a ParIterator in
616         terms of setFrom.
617         (setFrom): new function
618         (operator!=): inline it
619
620 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
621
622         * lyxfind.C (replaceAll): use std::advance
623
624         * iterators.h: inherit from std::iterator.
625
626         * PosIterator.C (advance, distance): remove
627         * PosIterator.h: interit from std::iterator.
628
629 2004-01-26  André Pönitz  <poenitz@gmx.net>
630
631         * BufferView.[Ch]:
632         * BufferView_pimpl.[Ch]:
633         * InsetList.[Ch]:
634         * PosIterator.[Ch]:
635         * buffer.h:
636         * bufferview_funcs.C:
637         * cursor.[Ch]:
638         * cursor_slice.h:
639         * factory.[Ch]:
640         * iterators.[Ch]:
641         * lyxfind.C:
642         * lyxfunc.C:
643         * lyxtext.h:
644         * output_docbook.C:
645         * output_latex.C:
646         * output_linuxdoc.C:
647         * output_plaintext.C:
648         * paragraph.[Ch]:
649         * paragraph_funcs.[Ch]:
650         * paragraph_pimpl.[Ch]:
651         * rowpainter.C:
652         * tabular.C:
653         * tabular.h:
654         * text.C:
655         * text2.C:
656         * text3.C: more IU:  dumps most of the rest of the mathcursor
657     implementation into cursor.[Ch]; "globalize" a bit of it.
658
659 2004-01-25  Angus Leeming  <leeming@lyx.org>
660
661         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
662
663 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
664
665         * LaTeXFeatures.h: add nice_ and nice() const
666         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
667
668 2004-01-20  André Pönitz  <poenitz@gmx.net>
669
670         * BufferView.[Ch]:
671         * BufferView_pimpl.C:
672         * PosIterator.C:
673         * bufferview_funcs.C:
674         * cursor.[Ch]:
675         * cursor_slice.[Ch]:
676         * factory.C:
677         * iterators.C:
678         * lyx_cb.C:
679         * lyxfind.C:
680         * lyxfunc.C:
681         * lyxtext.h:
682         * rowpainter.C:
683         * text.C:
684         * text2.C:
685         * text3.C:
686         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
687           LCursor and mathcursor parts to LCursor and InsetBase.
688
689 2004-01-15  André Pönitz  <poenitz@gmx.net>
690
691         * cursor_slice.[Ch]: add a few covienience functions
692
693         * funcrequest.[Ch]: remove BufferView * member
694
695         * BufferView_pimpl.C:
696         * cursor.C:
697         * factory.[Ch]:
698         * lyxfind.[Ch]:
699         * lyxfunc.C:
700         * lyxtext.h:
701         * text3.C:
702         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
703
704 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
705
706         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
707         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
708
709 2004-01-13  André Pönitz  <poenitz@gmx.net>
710
711         * textcursor.[Ch]:
712         * lyxtext.h: hide cursor and selection anchor behind accessor function
713
714         * BufferView.C:
715         * BufferView_pimpl.[Ch]:
716         * PosIterator.C:
717         * bufferview_funcs.C:
718         * cursor.h:
719         * lyxfind.C:
720         * lyxfunc.C:
721         * text.C:
722         * text2.C:
723         * text3.C:
724         * undo.C: adjust
725
726         * cursor.h:
727         * cursor_slice.[Ch]: some integer type changes for inset unification
728
729         * lyxcursor.[hC]: remove, it's CursorSlice now.
730
731         * Makefile.am:
732         * BufferView_pimpl.[Ch]:
733         * bufferview_funcs.C:
734         * cursor_slice.C:
735         * lyxtext.h:
736         * text.C:
737         * text2.C:
738         * text3.C:
739         * textcursor.[Ch]: adjust
740
741 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
742
743         * text2.C (undoSpan): add and use
744         * text.C (breakParagraph): use undoSpan (fix bug 578)
745         * lyxtext.h: adjust
746
747 2004-01-08  Angus Leeming  <leeming@lyx.org>
748
749         * BufferView_pimpl.C (MenuInsertLyXFile):
750         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
751         * lyxfunc.C (menuNew, open, doImport):
752         FileFilterList change to the FileDialog open and save functions.
753
754 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
755
756         * ShareContainer.h: make isEqual and isUnique adaptable
757
758         * CutAndPaste.C: make resetOwnerAndChanges adaptable
759
760 2004-01-07  Angus Leeming  <leeming@lyx.org>
761
762         * LyXAction.C:
763         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
764
765         * BufferView_pimpl.C (dispatch): act on these LFUNs.
766
767         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
768         functions replacing find, replace and replaceAll.
769
770         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
771         LFUN_WORDFIND(FORWARD|BACKWARD).
772
773 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
774
775         * text.C (breakParagraph): remove an outdated #warning
776
777 2004-01-07  André Pönitz  <poenitz@gmx.net>
778
779         * lyxfind.C: somewhat clearer logic
780
781         * text.C: prevent crash in cursorX on unitialized row cache
782
783 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
784
785         * lyxcursor.[Ch] (operator>): add
786         * textcursor.C (selStart, selEnd): use std::min and std::max
787
788 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
789
790         * Chktex.C: include boost/format.hpp
791
792 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
793
794         * InsetList.C: replace functor MathcIt with adaptable functor
795         InsetTablePosLess
796         (insetIterator): modify accordingly
797
798         * BranchList.h: move the BranchNamesEqual functor here from...
799         * BranchList.C: ... to here
800
801         * BranchList.C: new BranchListEqual fuctor, use it. Remove
802         SameName and match.
803         (add): replace a finding loop with std::find_if.
804
805 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
806
807         * output_docbook.C: moving LatexParam functionality into
808         .layout files
809
810 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
811
812         * buffer.C: increment format to 229.
813
814 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
815
816         * LaTeXFeatures.C:
817         * lyx_sty.[Ch]: remove minipageindent_def
818
819         * LyXAction.C:
820         * factory.C:
821         * lfuns.h:
822         * lyxfunc.C:
823         * text3.C: remove LFUN_INSET_MINIPAGE
824
825 2003-12-28  Angus Leeming  <leeming@lyx.org>
826
827         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
828
829 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
830
831         * text2.C (setParagraph): fix off-by-one crash
832
833 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
834
835         * output_docbook.C: header stuff for AGU
836
837 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
838
839         * text2.C (redoCursor): remove
840         * text.C:
841         * text3.C:
842         * BufferView_pimpl.C: remove calls to redoCursor and
843         setCursor(cursor.par(), cursor.pos()) all around
844
845 2003-12-15  Angus Leeming  <leeming@lyx.org>
846
847         * buffer.C: up the format to 228.
848
849 2003-12-15  André Pönitz  <poenitz@gmx.net>
850
851         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
852         slices
853
854         * Makefile.am:
855
856         * BufferView_pimpl.C:
857         * cursor.[Ch]:
858         * lyxcursor.[Ch]:
859         * rowpainter.[Ch]:
860         * lyxtext.h:
861         * text.C:
862         * text2.C:
863         * text3.C: adjust
864
865 2003-12-15  Angus Leeming  <leeming@lyx.org>
866
867         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
868         than getFromGUIName to manipulate the color.
869
870 2003-12-14  Angus Leeming  <leeming@lyx.org>
871
872         * BranchList.[Ch]: minimize the API.
873         (Branch::getBranch, getColor): now return a 'const &'.
874         (Branch::setSelected) now returns a bool set to true if the
875         selection status changes.
876         (BranchList::clear, size, getColor, setColor, setSelected,
877         allBranches, allSelected, separator): removed.
878         (BranchList::find): new functions, returning the Branch with
879         the given name.
880         (BranchList::add, remove): return a bool indicating that
881         the operation was successful.
882
883         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
884         new InsetBranch::isBranchSlected member function.
885
886         * LColor.[Ch]: mimimize the API.
887         (fill): renamed as addColor and made private.
888         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
889         versions of these functions taking a string arg have been removed.
890
891         * bufferparams.C (readToken):
892         * lyxfunc.C (dispatch):
893         * lyxrc.C (read): changes due to the altered BranchList and
894         LColor APIs.
895
896         * factory.C (createInset, readInset): changes due to altered
897         InsetBranch c-tor.
898
899 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
900
901         * factory.C:
902         * lyxfunc.C: remove insetminipage. "minipage-insert"
903         now produces a frameless minipage box inset.
904
905 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
906
907         * textcursor.[Ch] (selStart,selEnd): add new methods
908         remove selection::start, end, use LyXCursor::operator<
909         * lyxcursor.[Ch] (operator<): add
910         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
911         * BufferView.[Ch] (unsetXSel): add
912         * text2.C (clearSelection): use unsetXSel,adjust
913         * text.C: adjust
914         * text3.C: adjust
915         * rowpainter.C: adjust
916         * bufferview_funcs.C (put_selection_at): adjust
917
918 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
919
920         * BufferView_pimpl.C: small coord. correction
921
922 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
923
924         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
925         dragging over the splash screen.
926
927 2003-12-11  Angus Leeming  <leeming@lyx.org>
928
929         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
930         as it is now handled in LyXText::dispatch.
931
932         * text3.C (doInsertInset): remove a level of nesting.
933
934 2003-12-11  Angus Leeming  <leeming@lyx.org>
935
936         * factory.C (createInset): changes due to the changed interface to
937         InsetCommandMailer::string2params.
938
939 2003-12-10  Angus Leeming  <leeming@lyx.org>
940
941         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
942         'dialog-show-new-inset <inset name>'
943
944 2003-12-10  Angus Leeming  <leeming@lyx.org>
945
946         * buffer.C: up the format to 227.
947
948         * factory.C: the box inset is now identified simply by 'Box'.
949
950 2003-12-10  Angus Leeming  <leeming@lyx.org>
951
952         * buffer.C: up the format to 226.
953
954         * factory.C: the note inset is now identified simply by 'Note'.
955
956 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
957
958         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
959         when a pit is enough. Standarize a couple of loops.
960
961 2003-12-05  Angus Leeming  <leeming@lyx.org>
962
963         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
964         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
965         data to the re-worked "log" dialog.
966
967 2003-12-03  André Pönitz  <poenitz@gmx.net>
968
969         * PosIterator.C:
970         * iterators.C:
971         * lyxtext.h:
972         * output_latex.C:
973         * paragraph_funcs.C:
974         * text.C:
975         * text2.C: use Inset::getText instead of Inset::getParagraph
976
977 2003-12-03  André Pönitz  <poenitz@gmx.net>
978
979         * buffer.[Ch]:
980         * lyxtext.h:
981         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
982         InsetText::read() as LyXText::read()
983
984 2003-12-02  Angus Leeming  <leeming@lyx.org>
985
986         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
987         type. Add a comment in the implementation that the function uses
988         the stream's bad() function rather than fail() as the std::streams
989         would do.
990
991 2003-12-02  André Pönitz  <poenitz@gmx.net>
992
993         * lyxlex.[Ch]: make interface more similar to std::stream
994
995         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
996
997 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
998
999         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1000
1001 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1002
1003         * vspace.[Ch]: remove VSpace::NONE
1004
1005 2003-12-01  André Pönitz  <poenitz@gmx.net>
1006
1007         * buffer.[Ch]:
1008         * lyxtext.h: move ParagraphList member to LyXText
1009         rename LyXText::ownerParagraphs to LyXText::paragraph
1010
1011         * CutAndPaste.C:
1012         * bufferview_funcs.C:
1013         * iterators.[Ch]:
1014         * lyx_cb.C:
1015         * paragraph.C:
1016         * rowpainter.C:
1017         * tabular.C:
1018         * text.C:
1019         * text2.C:
1020         * text3.C: adjust
1021
1022         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1023
1024         * undo.C: fix cursor positioning
1025
1026 2003-12-01  John Levon  <levon@movementarian.org>
1027
1028         * BufferView_pimpl.C: fix a crash on exit with
1029         a buffer open
1030
1031 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1032
1033         * BranchList.C: fix setSelected() method.
1034
1035 2003-11-28  André Pönitz  <poenitz@gmx.net>
1036
1037         * ParagraphParameters.[Ch]:
1038         * ParameterStruct.h: remove space above/below from Paragraph to
1039          InsetVSpace
1040
1041         * BufferView_pimpl.C:
1042         * factory.C:
1043         * lyxfunc.C:
1044         * lyxtext.h:
1045         * output_latex.C:
1046         * paragraph.C:
1047         * paragraph_funcs.C:
1048         * rowpainter.[Ch]:
1049         * text.C:
1050         * text2.C:
1051         * text3.C: adjust
1052
1053 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1054
1055         * factory.C: Syntax change for CharStyles
1056
1057 2003-11-28  André Pönitz  <poenitz@gmx.net>
1058
1059         * BufferView.[Ch]:
1060         * BufferView.[Ch]:
1061         * buffer.[Ch]:
1062         * buffer.[Ch]: move LyXText member
1063
1064 2003-11-28  André Pönitz  <poenitz@gmx.net>
1065
1066         * BufferView.[Ch]: make LyXText * text a private member
1067
1068         * BufferView_pimpl.C:
1069         * cursor.C:
1070         * iterators.C:
1071         * lyx_cb.C:
1072         * lyxfind.C:
1073         * lyxtext.h:
1074         * rowpainter.[Ch]:
1075         * text.C:
1076         * text2.C:
1077         * undo.C: adjust
1078
1079         * output_plaintext.C: cleanup
1080
1081 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1082
1083         * buffer.C:
1084         * lyxtextclass.[Ch]: parametrize SGML document header
1085
1086 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1087
1088         * converter.[Ch]:
1089         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1090         getFlavor().
1091
1092 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1093
1094         * text2.C (setFont): rework using PosIterator (no more recursive)
1095         (setCharFont): no more needed
1096         (setLayout): no more selection cursors fiddling (done by redoCursor)
1097         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1098         destroy remaining ones)
1099
1100 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1101
1102         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1103         * lyxtext.h: ditto
1104         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1105         selection cursors
1106         * lyxfunc.C: adjust
1107         * text3.C: adjust + re-allow multi par depth changes
1108         * textcursor.C: simplify a bit
1109
1110 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1111
1112         * src/buffer.C:
1113         * src/lyxlayout.C:
1114         * src/lyxlayout.h:
1115         * src/lyxtext.h:
1116         * src/output_docbook.C:
1117         * src/output_latex.C:
1118         * src/paragraph.C:
1119         * src/paragraph.h:
1120         * src/sgml.C:
1121         * src/sgml.h:
1122         * src/text2.C: Introducing a number of tags parametrizing various
1123         XML formats that we may want to support
1124
1125 2003-11-25  André Pönitz  <poenitz@gmx.net>
1126
1127         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1128
1129         * lyxtext.h (leftMargin/rightMargin): simplify interface
1130
1131         * rowpainter.C:
1132         * text.C:
1133         * text2.C:
1134         * text3.C: adjust
1135
1136 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1137
1138         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1139         master file to any child files. Fixes bug 546.
1140
1141 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1142
1143         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1144
1145 2003-11-24  André Pönitz  <poenitz@gmx.net>
1146
1147         * rowpainter.C: simplification
1148
1149         * text2.C (updateCounters): remove call to redoParagraph on
1150         changed labels as this is far too expensive.
1151
1152 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1153
1154         * converter.C (convert): fix a crash: this function gets
1155         called with buffer == 0 from importer code.
1156
1157 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1158
1159         * text3.C (cursorPrevious): make sure that we do not compare
1160         iterators form different containers.
1161         (cursorNext): ditto
1162
1163         * rowpainter.C (paintSelection): make sure that we do not compare
1164         iterators from different containers.
1165
1166         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1167         iterators from different ParagraphList containers.
1168         [NEXT] ditto
1169
1170         * text2.C (LyXText): change order of initialization slightly
1171         (operator=): new function. copy all variables except cache_par_
1172         (moveUp): make sure that we do not compare iterators from
1173         different ParagraphList constainers.
1174         (moveDown): ditto
1175
1176         * text.C (firstPar): new function
1177         (lastPar): new function
1178         (endPar): new function
1179
1180         * lyxtext.h: move things around and group public functions, public
1181         variables, private functions, private variables
1182
1183 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1184
1185         * factory.C: change call to InsetERT constructor to avoid
1186         additional invocation of method status
1187         * text2.C (toggleInset): remove redundant update() call
1188         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1189         instead of a Bufferview pointer
1190
1191 2003-11-21  André Pönitz  <poenitz@gmx.net>
1192
1193         * rowpainter.C: simplification
1194
1195 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1196
1197         * text3.C (dispatch): make possible to extend a word/row selection
1198         with the mouse
1199
1200 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1201
1202         * lyxtext.h: x0_,y0_ -> xo_,yo_
1203         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1204         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1205         * rowpainter.C (paintRows): paint full paragraphs
1206
1207 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1208
1209         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1210         screen coordinates)
1211
1212 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1213
1214         * lyxtext.h: add x0_, y0_
1215         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1216         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1217
1218 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1219
1220         * text2.C (setCursorIntern): move the x_target update here *
1221         * text3.C: change some bv() to true/false in calls to
1222         cursorUp/Down/Right/Left
1223         * cursor.C: use helper function.
1224
1225 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1226
1227         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1228         * paragraph_funcs.[Ch]: correct comment
1229         * rowpainter.C: do not paint selections away from bv->cursor()
1230         Fix a long standing selection painting bug.
1231         * text3.C: generalize mouse-selection code to LyXTexts other that
1232         top one
1233         * textcursor.C: do not use y coords if we can use par offsets
1234
1235 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1236
1237         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1238         cursor position after e.g. inset insert)
1239
1240 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1241
1242         * lyxfind.C (replace): adjust to locking removal + some
1243         code simplification
1244
1245 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1246
1247         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1248         of the path
1249
1250 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1251
1252         * lyxlayout.[Ch]:
1253         * output_docbook.C: XML sanitation: new layout
1254         parameters InnerTag and CommandDepth
1255
1256 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1257
1258         * BufferView_pimpl.C:
1259         * factory.C:
1260         * text3.C: Fix the insertion and modification of button-style
1261         insets
1262
1263 2003-11-13  André Pönitz  <poenitz@gmx.net>
1264
1265         * InsetList.[Ch]: remove deleteLyXText
1266
1267         * paragraph.[Ch]: cache beginOfBody position
1268
1269         * Bidi.C:
1270         * text.C:
1271         * text2.C:
1272         * text3.C: remove superfluous update() calls
1273
1274         * vspace.C: cleanup
1275
1276 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1277
1278         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1279         * BufferView.C (fitLockedInsetCursor): remove
1280         * cursor.[Ch] (getDim): add
1281         * text.C (getRowNearY): add faster version
1282         * text3.C: remove some update calls
1283
1284 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1285
1286         * LaTeXFeatures.C:
1287         * LyXAction.C:
1288         * MenuBackend.C:
1289         * MenuBackend.h:
1290         * dispatchresult.h:
1291         * factory.C:
1292         * lfuns.h:
1293         * lyxfunc.C:
1294         * lyxtextclass.C:
1295         * lyxtextclass.h:
1296         * text3.C: The Character Style /XML short element patch.
1297
1298 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1299
1300         * text3.C:
1301         * factory.C: Small step to solving 'unable to insert some insets'
1302         problem
1303
1304 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1305
1306         * cursor.[Ch] (updatePos): new function for updating the y
1307         position of the tip inset
1308         * bufferview_funcs.C (put_selection_at):
1309         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1310
1311 2003-11-11  André Pönitz  <poenitz@gmx.net>
1312
1313         * text.C: remove big comment on invalid Paragraph pointers as it is
1314         not valid anymore
1315
1316 2003-11-11  André Pönitz  <poenitz@gmx.net>
1317
1318         * text_funcs.[Ch]: merge with ...
1319
1320         * text.C: ... this
1321
1322         * lyxtext.h:
1323         * text2.C:
1324         * text3.C: adjust
1325
1326         * Makefile.am: remove text_funcs.[Ch]
1327
1328 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1329
1330         * cursor.C (getPos): return absolute cached y coord
1331
1332         * BufferView_pimpl.C (fitCursor): new simplistic code
1333         (workAreaDispatch): add a fitCursor call
1334
1335 2003-11-10  André Pönitz  <poenitz@gmx.net>
1336
1337         * BufferView.[Ch]:
1338         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1339
1340 2003-11-10  André Pönitz  <poenitz@gmx.net>
1341
1342         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1343         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1344         indicate that the cursor needs to leave an inset
1345
1346         * lyxtext.h: remove inset locking
1347
1348         * cursor.[Ch]: re-implement functionality provided by inset locking
1349
1350         * BufferView.[Ch]:
1351         * BufferView_pimpl.[Ch]:
1352         * LyXAction.C:
1353         * bufferview_funcs.[Ch]:
1354         * factory.C:
1355         * funcrequest.[Ch]:
1356         * iterators.C:
1357         * lyx_cb.C:
1358         * lyxfind.C:
1359         * lyxfunc.C:
1360         * text.C:
1361         * text2.C:
1362         * text3.C:
1363         * undo.C: adjust
1364
1365 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1366
1367         * PosIterator.[Ch]: replace the stack with a vector, add inset
1368         accesor
1369         * iterators.[C]: adjust
1370
1371 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1372
1373         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1374         replaced
1375         * paragraph_funcs.C (readParToken): put the correct id in the
1376         error item, not the id of the top paragraph
1377
1378 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1379
1380         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1381         * bufferview_funcs.C (put_selection_at): use the above
1382
1383 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1384
1385         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1386
1387 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1388
1389         * output_linuxdoc.h:
1390         * output_plaintext.h:
1391         * output.h:
1392         * output_docbook.h: add #include statements
1393
1394 2003-11-05  José Matos  <jamatos@lyx.org>
1395
1396         * output_docbook.[Ch]:
1397         * output_latex.[Ch]:
1398         * output_linuxdoc.[Ch]:
1399         * output_plaintext.[Ch]: New files for output formats.
1400         * output.[Ch]: New file for helper functions.
1401
1402         * buffer.[Ch]:
1403         * paragraph_funcs.[Ch]: output functions moved to new files.
1404
1405         * outputparams.h: rename of latexrunparams.h
1406
1407         * LaTeX.[Ch]:
1408         * buffer.[Ch]:
1409         * bufferlist.[Ch]:
1410         * converter.[Ch]:
1411         * exporter.C:
1412         * paragraph.[Ch]:
1413         * paragraph_funcs.[Ch]:
1414         * paragraph_pimpl.[Ch]:
1415         * tabular.[Ch]: rename ascii to plaintext
1416         and LatexRunParams to OutputParams.
1417
1418 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1419
1420         * iterators.[Ch] (text): require bv argument
1421         * undo.C (recordUndo):
1422         * lyxfunc.C (dispatch):
1423         * bufferview_funcs.C (put_selection_at): adjust
1424
1425 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1426
1427         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1428
1429 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1430
1431         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1432         nestings
1433
1434 2003-11-04  André Pönitz  <poenitz@gmx.net>
1435
1436         * cursor.[Ch]: restructure
1437
1438         * BufferView.[Ch]:
1439         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1440
1441         * iterators.[Ch] (asCursor): remove
1442
1443         * lfuns.h: remove LFUN_INSET_EDIT
1444
1445         * lyxfunc.C:
1446         * tabular.C:
1447         * text.C:
1448         * text2.C:
1449         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1450
1451 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1452
1453         * lyxfind.[Ch]: complete overhaul
1454         * BufferView_pimpl.C:
1455         * lyxfunc.C: adjust
1456         * paragraph.[Ch] (insert): add
1457
1458 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1459
1460         * BufferView.[Ch]:
1461         * lyxtext.h:
1462         * text.C: remove dead spellcheck code
1463
1464 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1465
1466         * dispatchresult.h: add a val setter
1467
1468         * cursor.C (dispatch): use a tempvar for data_[i]
1469
1470 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1471
1472         * PosIterator.[Ch]: compile fix
1473
1474 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1475
1476         * text.C (cursorPar): deactivate the cursor cache
1477
1478 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1479
1480         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1481
1482 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1483
1484         * text3.C (dispatch): adjust for new DisptchResult semantics.
1485
1486         * lyxfunc.C (dispatch): handle update when return from
1487         Cursor::dispatch, adjust for new DispatchResult semantics.
1488
1489         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1490         DispatchResult(true) mean to not update. Add class functions for
1491         setting dispatched and update, as well as reading.
1492
1493         * cursor.C (dispatch): don't handle update here
1494
1495 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1496
1497         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1498         * trans_mgr.C: adjust
1499
1500         * paragraph_funcs.C (readParToken): exception safety
1501
1502         * lyxvc.h: store the vcs pointer in a scoped_ptr
1503         * lyxvc.C: adjust
1504
1505         * lyxsocket.C (serverCallback): exception safety
1506
1507         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1508
1509         * ispell.C (clone): make it return a auto_ptr
1510
1511         * factory.C (createInset): exception safety
1512         (readInset): exception safety
1513
1514         * bufferlist.C (newBuffer): exception safety
1515
1516         * Thesaurus.C (Thesaurus): use initialization for aik_
1517
1518         * MenuBackend.C (expandToc): exception safety.
1519
1520 2003-11-03  André Pönitz  <poenitz@gmx.net>
1521
1522         * buffer.C:
1523         * buffer.h:
1524         * bufferview_funcs.C: remove getInsetFromId()
1525
1526         * lyxcursor.[Ch]:
1527         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1528
1529         * lyxfunc.C:
1530         * text2.C:
1531         * text3.C: adjust
1532
1533 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1534
1535         * PosIterator.C (distance, advance): new
1536         * bufferview_funcs.[Ch] (put_selection_at): new
1537         * iterators.[Ch] (lockPath): new
1538
1539 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1540
1541         * iterators.[Ch] (asPosIterator): added
1542         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1543         * PosIterator.[Ch]: added
1544
1545 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1546
1547         * text3.C:
1548         * lyxfunc.C:
1549         * cursor.C (dispatch):
1550         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1551
1552         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1553         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1554         contructor, add a class function dispatched. Remove operator>=
1555
1556 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1557
1558         * debug.C: only use the default constructor for debugstream
1559         (lyxerr) here.
1560
1561         * main.C (main): include debug.h and setup the lyxerr streambuf
1562         here.
1563
1564 2003-10-31  José Matos  <jamatos@lyx.org>
1565
1566         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1567
1568         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1569         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1570         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1571         * paragraph_pimpl.C (simpleTeXSpecialC):
1572         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1573         add LatexRunParams argument.
1574
1575         * exporter.C (Export): change call accordingly.
1576
1577         * latexrunparams.h: add new member to take care of the other backends.
1578 2003-10-30  José Matos  <jamatos@lyx.org>
1579
1580         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1581         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1582         factorise code for paragraph output.
1583         * buffer.[Ch]:
1584         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1585         move functions.
1586
1587 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1588
1589         * text3.C (dispatch):
1590         * lyxfunc.C (dispatch):
1591         * cursor.C (dispatch):
1592         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1593
1594         * dispatchresult.h: make the dispatch_result_t ctor explicit
1595
1596 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1597
1598         * sgml.[Ch]:
1599         * buffer.C: small refactoring of docbook stuff
1600
1601 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1602
1603         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1604         meaning.
1605
1606 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1607
1608         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1609         operator dispatch_result_t, and operators for == != and >=
1610
1611         * cursor.C (dispatch): adjust for operator dispatch_result_t
1612         removal. comment out call to update
1613
1614         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1615
1616 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1617
1618         * text3.C:
1619         * text2.C:
1620         * text.C:
1621         * lyxtext.h:
1622         * lyxfunc.C:
1623         * cursor.C:
1624         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1625         (dispatch):
1626
1627         * dispatchresult.h: new file, DispatchResult broken out of
1628         insets/insetbase.h
1629
1630         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1631
1632 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1633
1634         * text.C (rowBreakPoint): put a hack inside #if 0
1635
1636 2003-10-28  André Pönitz  <poenitz@gmx.net>
1637
1638         * lyxtext.h:
1639         * metricsinfo.C:
1640         * paragraph_funcs.C:
1641         * rowpainter.C:
1642         * text.C:
1643         * text2.C: general cleanup (lots of small stuff)
1644
1645 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1646
1647         * text2.C (cursorEnd): simple fix to the "end key goes to one
1648         before the end on last row" bug
1649
1650 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1651
1652         * text.C (backspace): fix the "zombie characters"
1653
1654 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1655
1656         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1657
1658 2003-10-27  André Pönitz  <poenitz@gmx.net>
1659
1660         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1661
1662         * factory.C: handle new InsetPagebreak, InsetLine
1663
1664         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1665         and move handling into new InsetPagebreak, InsetLine
1666
1667         * BufferView_pimpl.C:
1668         * LyXAction.C:
1669         * ParagraphParameters.C:
1670         * ParameterStruct.h:
1671         * lyxfunc.C:
1672         * lyxtext.h:
1673         * paragraph.C:
1674         * paragraph.h:
1675         * paragraph_funcs.C:
1676         * paragraph_pimpl.C:
1677         * rowpainter.C:
1678         * text.C:
1679         * text2.C:
1680         * text3.C: adjust
1681
1682 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1683
1684         * text.C:
1685         * lyxrow_funcs.[Ch]:
1686         * Bidi.C:
1687         * paragraph.C:
1688         * lyxtext.h:
1689         * rowpainter.C:
1690         * text2.C:
1691         * text3.C: remove lastPos uses in favour of Row::endpos
1692
1693 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1694
1695         * undo.C (performUndoOrRedo): fix two crashes by setting a
1696         cursor by hand and reordering some calls. Use bv->lockInset instead
1697         of inset->edit because the latter loses cursor information
1698
1699 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1700
1701         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1702         by Martin
1703         (rowBreakPoint): fix width. change point to point + 1.
1704         Add a missing check.
1705
1706 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1707
1708         * MenuBackend.C:
1709         * lyxfunc.C: fix (at least partly) the problems
1710         with the Nav menu and headers inside branch insets
1711         reported by Kayvan
1712
1713 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1714
1715         * paragraph.C (getChar): add strong asserts
1716
1717         * lyxrow_funcs.C (lastPos): remove hideous hack
1718
1719         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1720         (fill): adjust to that (avoid an infinite loop)
1721
1722 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1723
1724         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1725
1726 2003-10-23  André Pönitz  <poenitz@gmx.net>
1727
1728         * RowList_fwd.h: change list<> to vector<> to gain speed
1729         after suggestion from Alfredo
1730
1731 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1732
1733         * lyxtext.h: move the bidi stuff from here...
1734         * text.C: and here
1735         * text2.C: and here
1736         * Bidi.[Ch]: ... to here
1737
1738 2003-10-23  André Pönitz  <poenitz@gmx.net>
1739
1740         * lyxtext.h:
1741         * text.C (isLastRow, isFirstRow): new functions
1742
1743         * paragraph.h: new width cache member
1744
1745         * rowpainter.C: replace RowList::iterator with Row & where possible
1746
1747         * lyxfunc.C: replace several view()->text with a single call
1748
1749         * toc.C: fix 'unused' warning
1750
1751 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1752
1753         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1754         when woring with stream::pos_type
1755         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1756
1757 2003-10-22  André Pönitz  <poenitz@gmx.net>
1758
1759         * lyxtext.h:
1760         * text.C: use Row & instead of RowList::iterator
1761
1762         * lyxrow.h: rename end() to endpos()
1763
1764         * rowpainter.C:
1765         * text.C:
1766         * text2.C: adjust
1767
1768 2003-10-22  Angus Leeming  <leeming@lyx.org>
1769
1770         * buffer.[Ch] (fully_loaded): new member function, returning true
1771         only when the file has been loaded fully.
1772         Used to prevent the premature generation of previews and by the
1773         citation inset to prevent computation of the natbib-style label.
1774
1775         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1776         templates are all set up.
1777
1778         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1779
1780 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1781
1782         * text.C: fixed an "oops" in the "is a bit silly"
1783         bug fix
1784
1785 2003-10-21  André Pönitz  <poenitz@gmx.net>
1786
1787         * FuncStatus.[Ch]: small stuff, whitespace
1788
1789         * lyxfont.[Ch]: operator<<() for debug reasons
1790
1791         * lyxfunc.C:
1792         * lyxrow_funcs.C:
1793         * lyxtext.h: whitespace, spelling
1794
1795         * paragraph.C: naming of variables
1796
1797         * text.C:
1798         * text2.C: small stuff
1799
1800
1801 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1802
1803         * text.C: (1) finish off the inset display() work;
1804         (2) fix the "is a bit silly" bug (accessing char
1805         past end of par).
1806
1807 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1808
1809         * text.C: re-introduce display() for insets, fixing the
1810         various bugs (stretch of line above, math inset
1811         positioning, ...)
1812
1813 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1814
1815         * text.C (rightMargin): remove spurious semicolon
1816
1817         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1818         1415)
1819
1820 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1821
1822         * text3.C: fix one crash due to wrong cursor def
1823
1824 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1825
1826         * vc-backend.C (scanMaster): make the regex static
1827
1828         * LaTeX.C (scanAuxFile): make the regexs static
1829
1830         * text3.C (doInsertInset, dispatch, dispatch):
1831         * text2.C (cursorUp, cursorDown):
1832         * text.C (selectNextWordToSpellcheck):
1833         * BufferView_pimpl.C (dispatch):
1834         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1835
1836 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1837
1838         * lyxsocket.C: include <cerrno>
1839
1840 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1841
1842         * lyxfunc.C (dispatch): remove textcache stuff
1843
1844         * bufferlist.C (release): remove textcache stuff
1845         (closeAll): ditto
1846
1847         * TextCache.C: delete file
1848         * TextCache.h: delete file
1849
1850         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1851
1852         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1853         delete of the bv_->text.
1854         (resizeCurrentBuffer): remove texcache stuff
1855         (workAreaResize): ditto
1856
1857 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1858
1859         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1860         action.
1861
1862 2003-10-16  André Pönitz  <poenitz@gmx.net>
1863
1864         * lyxrow.[Ch]:
1865         * paragraph.h:
1866         * rowpainter.C:
1867         * text.C:
1868         * text2.C:
1869         * text3.C: speed up by storing y positions per paragraph plus per-row
1870         offset instead of having a 'full' y position in the row.
1871
1872 2003-10-15  André Pönitz  <poenitz@gmx.net>
1873
1874         * iterators.[Ch]:
1875         * iterators.[Ch]:
1876         * undo.[Ch]: make undo aware of inner insets
1877
1878 2003-10-14  Angus Leeming  <leeming@lyx.org>
1879
1880         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1881         static member functions LyX::ref() and LyX::cref.
1882         (lastfiles): new accessor functions for the new lastfiles_ member var.
1883         (addLyXView, views_): add a new LyXView to the list of views_.
1884         (updateInset): loop over all LyXViews to call their own updateInset
1885         member function, returning a pointer to the Buffer owning the inset.
1886
1887         * BufferView_pimpl.C (loadLyXFile):
1888         * MenuBackend.C (expandLastfiles):
1889         * bufferlist.C (MenuWrite, QuitLyX):
1890         lastfiles is no longer a global variable.
1891         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1892
1893         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1894         static function. Access through LyX::cref().emergencyCleanup().
1895
1896 2003-10-14  André Pönitz  <poenitz@gmx.net>
1897
1898         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1899
1900         * undo.[Ch]: restoring part of 'undo in insets'
1901
1902         * Makefile.am:
1903         * undo_funcs.[Ch]: merge with undo.[Ch]
1904
1905         * tabular.C: small cleansing stuff
1906
1907 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1908
1909         * paragraph_funcs.C (readParToken): report unknown insets as error
1910         boxes. Use the outer paragraph as location (also for unknown
1911         tokens).
1912
1913         * factory.C (readInset): do not abort on reading an unknown inset.
1914         Eat it and return 0.
1915
1916 2003-10-13  Angus Leeming  <leeming@lyx.org>
1917
1918         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1919
1920         * lyxrc.C: displayTranslator is now a function,
1921         declared in GraphicsTypes.h.
1922
1923 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1924
1925         * format.C: new placeholder $$a to pass the socket address.
1926
1927         * bufferlist.[Ch]: new function getBufferFromTmp.
1928
1929         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1930           files in the temporary dir.
1931
1932 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1933
1934         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1935
1936         * Makefile.am: add lyxsocket.[Ch].
1937
1938         * lyx_main.C (error_handler): handle SIGPIPE.
1939
1940 2003-10-13  André Pönitz  <poenitz@gmx.net>
1941
1942         * BufferView_pimpl.C:
1943         * lyxtext.h:
1944         * text.C:
1945         * text2.C:
1946         * text3.C:
1947         * undo_funcs.[Ch]: use paroffset_type instead of
1948           ParagraphList::iterators to prevent multiple conversion
1949           (and get a more robust interface)
1950
1951 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1952
1953         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1954         * lyxtext.h: ditto
1955         * text3.C (dispatch): ditto
1956
1957 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1958
1959         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1960         move the onlyfile, use onlyfile instead of foundfile in a couple
1961         of places.
1962
1963         * DepTable.C (update): flush the error stream a bit more
1964
1965 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1966
1967         * lyxserver.C (callback): adjust
1968
1969         * lyxfunc.C (getStatus): add a missing brace in commented code
1970         (ensureBufferClean): reindent
1971         (dispatch): delete version taking a string
1972
1973 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1974
1975         * LaTeX.C (deplog): move found file handlig from here...
1976         (handleFoundFile): .. to new function here.
1977         (deplog): make sure to discover several files mentioned on the
1978         same log line.
1979
1980 2003-10-10  André Pönitz  <poenitz@gmx.net>
1981
1982         * lyxfunc.C:
1983         * lyxtext.h:
1984         * tabular.C:
1985         * text.C:
1986         * text2.C:
1987         * text3.C: fix some of the tabular crashes
1988
1989 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1990
1991         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1992
1993         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1994
1995 2003-10-09  André Pönitz  <poenitz@gmx.net>
1996
1997         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1998
1999         * BufferView.C:
2000         * BufferView_pimpl.C:
2001         * bufferview_funcs.C:
2002         * lyx_cb.C:
2003         * lyxcursor.C:
2004         * lyxfind.C:
2005         * lyxfunc.C:
2006         * lyxtext.h:
2007         * text.C:
2008         * text2.C:
2009         * text3.C:
2010         * text_funcs.[Ch]:
2011         * textcursor.[Ch]:
2012         * undo_funcs.C: adjust
2013
2014 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2015
2016         * text2.C (incrementItemDepth): new function, use a backtracking
2017         algorithm to discover the correct item depth.
2018         (resetEnumCounterIfNeeded): new function, use a backtracking
2019         algorithm to discover if counter reset is needed.
2020         (setCounter): use them. Simplify a bit. Add different labels for
2021         different item depths for itemize.
2022
2023         * paragraph.C (Paragraph): remove initialization of enumdepth
2024         (operator=): ditto
2025
2026         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2027         enumerate and itemize. Change the type of itemdepth to signed char.
2028
2029 2003-10-08  André Pönitz  <poenitz@gmx.net>
2030
2031         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2032           thing assignable.
2033         * text.C:
2034         * text2.C: adjust
2035
2036         * tabular.[Ch]: fix crash after 'row-insert'
2037
2038 2003-10-08  Angus Leeming  <leeming@lyx.org>
2039
2040         Fix doxygen warnings.
2041
2042         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2043         Remove CutAndPaste:: prefix from header file declaration.
2044
2045         * LColor.h (fill): remove LColor:: prefix from declaration.
2046
2047         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2048         use lyx::depth_type rather than Paragraph::depth_type so that
2049         header file and .C file match.
2050
2051         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2052
2053         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2054         * aspell.C: \file aspell_local.C -> \file aspell.C
2055         * gettext.C: \file gettext.C -> \file src/gettext.C
2056         * gettext.h: \file gettext.h -> \file src/gettext.h
2057         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2058         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2059         * text.C: \file text.C -> \file src/text.C
2060
2061         * toc.C: move comment so that doxygen is not confused.
2062
2063 2003-10-07  Angus Leeming  <leeming@lyx.org>
2064
2065         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2066
2067 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2068
2069         * aspell.C:
2070         * aspell_local.h: add forgotten std::string's.
2071
2072 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2073
2074         * LaTeXFeatures.C:
2075         * LyXAction.C:
2076         * factory.C:
2077         * lfuns.h:
2078         * lyxfunc.C:
2079         * text3.C: The Box patch. Fancybox support, minipage, parbox
2080
2081 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2082
2083         * CutAndPaste.h:
2084         * DepTable.h:
2085         * FloatList.h:
2086         * LaTeXFeatures.h:
2087         * ParagraphParameters.h:
2088         * TextCache.h:
2089         * Thesaurus.h:
2090         * bufferlist.h:
2091         * exporter.h:
2092         * importer.h:
2093         * lastfiles.h:
2094         * lyxfind.h:
2095         * lyxfont.h:
2096         * lyxlex.h:
2097         * lyxtextclasslist.h:
2098         * messages.h:
2099         * paragraph.h:
2100         * paragraph_pimpl.C:
2101         * textcursor.h: add <string> and other small fixes to make Lars'
2102         std::string patch compile with STLport.
2103
2104 2003-10-06  Angus Leeming  <leeming@lyx.org>
2105
2106         * LColor.h: Add missing #include <string>.
2107
2108 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2109
2110         * All most all file in all subdirs: Make <string> be the prefered
2111         way of getting to std::string, add using declarations.
2112
2113 2003-10-06  André Pönitz  <poenitz@gmx.net>
2114
2115         * metricsinfo.C: initialize LyXFont before changing attribute.
2116         (fixes the 'math in \emph is upright' bug)
2117
2118 2003-10-06  André Pönitz  <poenitz@gmx.net>
2119
2120         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2121
2122 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2123
2124         * graph.C:
2125         * paragraph_pimpl.C: Small fixes to build using STLport
2126
2127 2003-10-02  André Pönitz  <poenitz@gmx.net>
2128
2129         * lyxfunc.C:
2130         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2131
2132 2003-10-01  André Pönitz  <poenitz@gmx.net>
2133
2134         * factory.C: assert early
2135
2136 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2137
2138         * lyx_main.C: remove the global debug object
2139
2140         * debug.h: adjust for new debugstream
2141
2142         * debug.C: adjust for new debugstream and keep the global debug
2143         object here.
2144
2145 2003-09-22  Angus Leeming  <leeming@lyx.org>
2146
2147         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2148         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2149         an incomplete class LyXFont.
2150
2151 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2152
2153         * factory.C: bug fix in branches
2154
2155 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2156
2157         * lyxfunc.C (processKeySym): adjust
2158         (dispatch): adjust
2159         (dispatch): change arg name from ev to func, adjust
2160         (sendDispatchMessage): ditto
2161
2162         * lyx_main.C (defaultKeyBindings): adjust keybindings
2163         (deadKeyBindings): ditto
2164
2165         * kbsequence.C (addkey): return a FuncRequest
2166
2167         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2168
2169         * kbmap.C (bind): take a FuncRequest as arg, adjust
2170         (read): adjust
2171         (lookup): adjust
2172         (defkey): change to take a FuncRequest as arg, adjust
2173         (findbinding): take a FuncRequest as arg, adjust.
2174
2175         * funcrequest.h (operator=): added
2176
2177         * funcrequest.C (FuncRequest): default kb_action changed from
2178         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2179
2180         * buffer.C (dispatch): simplify
2181         (dispatch): adjust to take a FuncRequest as arg, adjust
2182
2183         * boost.C (assertion_failed): change assertion message slightly
2184
2185         * ToolbarBackend.C (read): simplify
2186
2187         * MenuBackend.C (binding): adjust call to findbinding, add a
2188         message if no binding is found.
2189         (read): simplify
2190         (expandToc): correct by adding a empty FuncRequest
2191
2192         * LyXAction.C: include <boost/assert.hpp>
2193         (isPseudoAction): delete function
2194         (LookupFunc): change name to...
2195         (lookupFunc): this. change return type to FuncRequest.
2196         (getActionName): take kb_action as arg, simplify
2197         (funcHasFlag): add an assert, simplify.
2198
2199 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2200
2201         * toc.C (action): return a FuncRequest, simplify
2202
2203         * lyxfunc.C (processKeySym): adjust
2204         (getStatus): delete version that takes an int.
2205         (getStatus): adjust
2206         (dispatch): delete version that takes action as int
2207         (dispatch): adjust
2208         (sendDispatchMessage): simplify and adjust
2209
2210         * funcrequest.C (getArg): take unsigned int as arg
2211
2212         * ToolbarBackend.C (read): adjust
2213         (add): delete version that takes func as a string.
2214         (getIton): take a FuncRequest as arg
2215
2216         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2217         action.
2218
2219         * MenuBackend.C (MenuItem): add a new construct that only takes a
2220         Kind, simplify the constructor use for submenus.
2221         (add): adjust
2222         (expandLastfiles): adjust
2223         (expandDocuments): adjust
2224         (expandFormats): adjust
2225         (expandFloatListInsert): adjust
2226         (expandFloatInsert): adjust
2227         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2228
2229         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2230         Remove class variables lyx_pseudo_map and lyx_arg_map
2231
2232         * LyXAction.C (searchActionArg): delete function
2233         (getPseudoAction): delete function
2234         (retrieveActionArg): delete function
2235         (LookupFunc): make it return kb_action, simplify.
2236         (getActionName): simplify
2237
2238         * factory.C (createInset): fix new bug
2239
2240 2003-09-19  Angus Leeming  <leeming@lyx.org>
2241
2242         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2243         masterFilename_ parameter in the include inset.
2244
2245         * factory.C (createInset): changes due to the changes to InsetInclude.
2246
2247 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2248
2249         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2250
2251 2003-09-18  Angus Leeming  <leeming@lyx.org>
2252
2253         * buffer.C:
2254         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2255         Inset::fillWithBibKeys.
2256         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2257
2258 2003-09-18  Angus Leeming  <leeming@lyx.org>
2259
2260         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2261         variables.
2262         (ctor): pass and store a 'Buffer const &'
2263         (buffer): new member function.
2264
2265         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2266         '*this' to the LaTeXFeatures ctor.
2267
2268 2003-09-18  Angus Leeming  <leeming@lyx.org>
2269
2270         * LColor.h:
2271         * lyxfont.C:
2272         * lyxfont.h:
2273         * lyxtext.h:
2274         * text.C: rename EnumLColor as LColor_color.
2275
2276 2003-09-18  Angus Leeming  <leeming@lyx.org>
2277
2278         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2279         remove #include "insets/insetbase.h" from cursor.h.
2280
2281 2003-09-18  Angus Leeming  <leeming@lyx.org>
2282
2283         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2284         InsetOld_code to remove #include "inset.h".
2285
2286         * iterators.C: add #include "insets/inset.h"
2287
2288 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2289
2290         * BufferView.C: remove more locking stuff that apparently doesn't
2291         do anything sensible.
2292
2293 2003-09-16  André Pönitz  <poenitz@gmx.net>
2294
2295         * paragraph.[Ch]:
2296         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2297           performance boost.
2298
2299 2003-09-16  Angus Leeming  <leeming@lyx.org>
2300
2301         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2302
2303         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2304         arg/return type.
2305
2306         * paragraph.h: remove #include "lyxfont.h". Forward declare
2307         LyXFont_size.
2308
2309 2003-09-16  Angus Leeming  <leeming@lyx.org>
2310
2311         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2312         of support/textutils.h.
2313         (isWord): move the contents of support/textutils.h's IsWordChar here.
2314
2315         * buffer.C:
2316         * lyxfind.C:
2317         * rowpainter.C:
2318         * text.C:
2319         * text2.C: add #include "paragraph.h".
2320
2321         * rowpainter.C:
2322         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2323
2324 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2325
2326         * main.C:
2327         * lyx_main.C:
2328         * lyx_cb.C:
2329         * buffer.C:
2330         * LaTeX.C: use namespace alias for lyx::support::os
2331
2332 2003-09-16  Angus Leeming  <leeming@lyx.org>
2333
2334         * bufferparams.C:
2335         * bufferview_funcs.C:
2336         * factory.C:
2337         * lyxfunc.C:
2338         * paragraph_pimpl.C:
2339         * rowpainter.C:
2340         * text.C: add #include "LColor.h".
2341
2342 2003-09-16  Angus Leeming  <leeming@lyx.org>
2343
2344         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2345         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2346         return LyXFont &.
2347         Store the FontBits::color variable as an int rather than as an
2348         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2349         file.
2350
2351         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2352         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2353         string calls together.
2354
2355         * lyxrc.C: add #include "LColor.h".
2356
2357 2003-09-15  Angus Leeming  <leeming@lyx.org>
2358
2359         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2360         a cow_ptr.
2361
2362 2003-09-15  Angus Leeming  <leeming@lyx.org>
2363
2364         * LColor.h: add an EnumLColor wrapper for LColor::color.
2365
2366         * lyxfont.[Ch] (color, setColor, realColor):
2367         * lyxtext.h, text.C (backgroundColor):
2368         pass EnumLColor args to/from the functions, rather than LColor::color
2369         ones.
2370
2371         * lyxfont.h:
2372         * lyxtext.h: forward declare EnumLColor.
2373
2374         * lyx_main.C: add #include "LColor.h".
2375
2376 2003-09-15  Angus Leeming  <leeming@lyx.org>
2377
2378         * .cvsignore: add lyx-gtk.
2379
2380 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2381
2382         * Chktex.C
2383         * LaTeX.C
2384         * LaTeXFeatures.C
2385         * ParagraphParameters.C
2386         * Spacing.C
2387         * buffer.C
2388         * bufferparams.C
2389         * bufferview_funcs.C
2390         * chset.C
2391         * counters.C
2392         * funcrequest.C
2393         * lyxfont.C
2394         * lyxgluelength.C
2395         * lyxlength.C
2396         * paragraph.C
2397         * paragraph_funcs.C
2398         * text3.C
2399         * vc-backend.C: remove usage of STRCONV
2400
2401 2003-09-15  Angus Leeming  <leeming@lyx.org>
2402
2403         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2404         explicitly define the color passed to the painter.
2405
2406 2003-09-15  Angus Leeming  <leeming@lyx.org>
2407
2408         * bufferparams.C (BufferParams): reorder member initializers to avoid
2409         compiler warning.
2410
2411 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2412
2413         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2414         * text.C (updateRowPositions): remove an unusual nop
2415
2416 2003-09-12  André Pönitz  <poenitz@gmx.net>
2417
2418         * BufferView_pimpl.C:
2419         * Bullet.C:
2420         * layout.h:
2421         * lyxfunc.C:
2422         * lyxlayout.[Ch]:
2423         * lyxtextclass.C:
2424         * rowpainter.C:
2425         * text.C:
2426         * text2.C:
2427         * Counters.[Ch]: finish the 'automatic counters' job
2428
2429 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2430
2431         * aspell.C: include <boost/assert.cpp> (compile fix)
2432
2433 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2434
2435         * boost.C (assertion_failed): use lyx::support::abort instead of
2436         assert.
2437
2438 2003-09-10  Angus Leeming  <leeming@lyx.org>
2439
2440         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2441         with their _fwd progeny.
2442
2443 2003-09-09  Angus Leeming  <leeming@lyx.org>
2444
2445         134 files throughtout the source tree: replace 'using namespace abc;'
2446         directives with the appropriate 'using abc::xyz;' declarations.
2447
2448 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2449
2450         * boost.C (emergencyCleanup): moved here from LAssert.c
2451         (assertion_failed): new function, called by BOOST_ASSERT
2452
2453         * several files: change Assert to BOOST_ASSERT
2454
2455 2003-09-09  Angus Leeming  <leeming@lyx.org>
2456
2457         * buffer.[Ch]: Add an Impl class and move Buffer's member
2458         variables into it. As a result move several header files out of
2459         buffer.h.
2460
2461         Add header files to lots of .C files all over the tree as a result.
2462
2463 2003-09-09  Angus Leeming  <leeming@lyx.org>
2464
2465         * buffer.[Ch]: make Buffer's member variables private. Add
2466         accessor functions.
2467
2468         Lots of changes all over the tree as a result.
2469
2470 2003-09-08  Angus Leeming  <leeming@lyx.org>
2471
2472         * graph.C: #include <config.h>.
2473
2474 2003-09-08  Angus Leeming  <leeming@lyx.org>
2475
2476         * BranchList.C:
2477         * BufferView.C:
2478         * BufferView_pimpl.C:
2479         * CutAndPaste.C:
2480         * DepTable.C:
2481         * LaTeX.C:
2482         * LaTeXFeatures.C:
2483         * LyXAction.C:
2484         * MenuBackend.C:
2485         * TextCache.C:
2486         * aspell.C:
2487         * buffer.C:
2488         * bufferlist.C:
2489         * changes.C:
2490         * chset.C:
2491         * converter.C:
2492         * counters.C:
2493         * debug.C:
2494         * graph.C:
2495         * ispell.C:
2496         * lyx_cb.C:
2497         * lyxfind.C:
2498         * lyxfunc.C:
2499         * lyxlex_pimpl.C:
2500         * lyxrc.C:
2501         * lyxrow.C:
2502         * paragraph.C:
2503         * rowpainter.C:
2504         * texrow.C:
2505         * text.C:
2506         * text2.C:
2507         * toc.C: remove redundant using directives.
2508
2509 2003-09-07  Angus Leeming  <leeming@lyx.org>
2510
2511         * LaTeXFeatures.h: remove #include "support/types.h".
2512         * ToolbarBackend.h: remove #include <algorithm>.
2513         * changes.h: remove #include <ctime>.
2514         * debug.h: remove #include <iosfwd>.
2515         * graph.h: remove #include "support/std_string.h".
2516         * lyx_main.h: remove #include <csignal>.
2517         * lyxlex_pimpl.h: remove #include <fstream>.
2518         * sgml.h: remove #include <algorithm>, <utility>.
2519         * toc.h: remove #include "support/std_ostream.h".
2520         Add #include <iosfwd>.
2521
2522 2003-09-07  Angus Leeming  <leeming@lyx.org>
2523
2524         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2525
2526         * converter.h: forward declare LatexRunParams.
2527         * encoding.h: remove #include "lyxrc.h".
2528         * lyxtext.h: remove #include "LColor.h".
2529         * lyxtextclass.h: remove #include "support/types.h".
2530         * trans.h: remove #include "tex-accent.h".
2531         * trans_mgr.h: remove #include "tex-accent.h".
2532         * insets/inset.h: remove #include "support/types.h", <vector>.
2533         * insets/insetcollapsable.h: remove #include "LColor.h".
2534         * insets/insetinclude.h: remove #include "dimension.h".
2535         * insets/insetlatexaccent.h: remove #include "dimension.h".
2536         * insets/insetoptarg.h:: remove #include "insettext.h".
2537         * insets/insettext.h: remove #include "dimension.h",
2538         <boost/shared_ptr.hpp>
2539
2540         * insets/renderers.h: add #include "dimension.h".
2541         * insets/updatableinset.h: add #include "support/types.h".
2542
2543         * many .C files: Associated changes.
2544
2545 2003-09-06  Angus Leeming  <leeming@lyx.org>
2546
2547         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2548         one, inside testInvariant.
2549
2550         * PrinterParams.C: new file.
2551         * PrinterParams.[Ch]: move the function bodies out of line.
2552
2553 2003-09-06  Angus Leeming  <leeming@lyx.org>
2554
2555         * ParagraphParameters.h: forward declare ParameterStruct rather than
2556         including its header file.
2557         (depth): moved out-of-line.
2558
2559 2003-09-06  Angus Leeming  <leeming@lyx.org>
2560
2561         * BufferView_pimpl.h:
2562         * kbmap.h:
2563         * kbsequence.h:
2564         * lyxfunc.h: forward declare LyXKeySym rather than
2565         #include "frontends/LyXKeySym.h".
2566
2567         * BufferView_pimpl.C:
2568         * kbmap.C:
2569         * kbsequence.C:
2570         * lyxfunc.C: associated changes.
2571
2572 2003-09-06  Angus Leeming  <leeming@lyx.org>
2573
2574         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2575         As a result, can remove the #include "insets/inset.h" from BufferView.h
2576
2577 2003-09-06  Angus Leeming  <leeming@lyx.org>
2578
2579         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2580         As a result, can remove the #include "insets/inset.h" from BufferView.h
2581
2582 2003-09-06  Angus Leeming  <leeming@lyx.org>
2583
2584         * buffer_funcs.C:
2585         * buffer.h:
2586         * bufferlist.C:
2587         * BufferView.C:
2588         * bufferview_funcs.C:
2589         * BufferView_pimpl.C:
2590         * CutAndPaste.C:
2591         * lyx_cb.C:
2592         * lyxfunc.C:
2593         * paragraph.h:
2594         * ParagraphParameters.C:
2595         * tabular.C:
2596         * text3.C:
2597         * toc.C:
2598         * undo_funcs.C:
2599         * frontends/controllers/ControlDocument.C:
2600         * insets/insetcaption.C: rearrange the #includes into some sort of
2601         coherent order.
2602
2603         * buffer.h: remove #includes ErrorList.h, undo.h
2604
2605 2003-09-06  Angus Leeming  <leeming@lyx.org>
2606
2607         * support/types.h: add a 'depth_type' typedef, used to store the
2608         nesting depth of a paragraph.
2609
2610         * paragraph.h:
2611         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2612         defining explicitly.
2613
2614         * buffer.h:
2615         * paragraph_funcs.h:
2616         * ParagraphParameters.h:
2617         * sgml.h: use lyx::depth_type rather than Paragraph or
2618         ParameterStruct's depth_type.
2619
2620         * buffer.h
2621         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2622
2623         * BufferView.C:
2624         * BufferView_pimpl.C:
2625         * CutAndPaste.C:
2626         * ParagraphParameters.C:
2627         * buffer_funcs.C:
2628         * bufferlist.C:
2629         * bufferview_funcs.C:
2630         * lyx_cb.C:
2631         * lyxfunc.C:
2632         * tabular.C:
2633         * text3.C:
2634         * toc.C:
2635         * undo_funcs.C:
2636         * frontends/LyXView.C:
2637         * frontends/controllers/ControlDocument.C:
2638         * frontends/controllers/ControlErrorList.C:
2639         * insets/insetbibitem.C:
2640         * insets/insetbranch.C:
2641         * insets/insetcaption.C:
2642         * insets/insetcollapsable.C:
2643         * insets/insetenv.C:
2644         * insets/insetert.C:
2645         * insets/insetfloat.C:
2646         * insets/insetfoot.C:
2647         * insets/insetfootlike.C:
2648         * insets/insetnewline.C:
2649         * insets/insetquotes.C:
2650         * insets/insettabular.C:
2651         * insets/insettext.C:
2652         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2653
2654         * frontends/controllers/ControlChanges.C: #include "changes.h".
2655
2656 2003-09-06  Angus Leeming  <leeming@lyx.org>
2657
2658         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2659         than #including paragraph.h.
2660
2661         * ParagraphList.h:
2662         * RowList.h: deleted. Superfluous.
2663
2664         * CutAndPaste.h:
2665         * iterators.h:
2666         * lyxcursor.h:
2667         * lyxtext.h:
2668         * text_funcs.h:
2669         * undo.h:
2670         * undo_funcs.h:
2671         * insets/inset.h:
2672         * insets/insettext.h: use ParagraphList_fwd.h rather than
2673         ParagraphList.h.
2674
2675         * paragraph.h: don't forward declare ParagraphList.
2676
2677         * buffer.h:
2678         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2679         rather than ParagraphList.h. paragraph.h is still needed for the
2680         Paragraph::depth_type parameters.
2681
2682         * textcursor.h: enable it to compile stand-alone in light of the
2683         above changes.
2684
2685         * bufferview_funcs.C:
2686         * iterators.C:
2687         * lyxfunc.C:
2688         * lyxrow_funcs.C:
2689         * paragraph.C:
2690         * rowpainter.C:
2691         * text.C:
2692         * text2.C:
2693         * text3.C:
2694         * text_funcs.C:
2695         * textcursor.C:
2696         * undo.C:
2697         * frontends/controllers/ControlParagraph.C:
2698         * frontends/controllers/ControlTabular.C:
2699         * insets/insetmarginal.C:
2700         * insets/insetminipage.C:
2701         * insets/insetnote.C:
2702         * insets/insetoptarg.C: add header files needed to compile again.
2703
2704 2003-09-06  Angus Leeming  <leeming@lyx.org>
2705
2706         * RowList_fwd.h: new file, forward-declaring Row rather than
2707         #including lyxrow.h.
2708
2709         * lyxrow_funcs.h:
2710         * lyxtext.h:
2711         * paragraph.h:
2712         * insets/insettext.h: use it instead of RowList.h
2713
2714         * bufferview_funcs.C:
2715         * lyxfunc.C:
2716         * lyxrow_funcs.C:
2717         * paragraph.C:
2718         * rowpainter.C:
2719         * text.C:
2720         * text2.C:
2721         * text3.C: #include "RowList.h".
2722
2723 2003-09-05  Angus Leeming  <leeming@lyx.org>
2724
2725         * factory.C (createInset):
2726         * vspace.C (c-tor): replace sscanf call with an istringstream.
2727         * ispell.C: re-add missing HP/UX headers.
2728         * lyxserver.C: re-add missing  os2 headers.
2729
2730 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2731
2732         * BranchList.C:
2733         * graph.C:
2734         * ispell.C:
2735         * lastfiles.C:
2736         * lyx_cb.C:
2737         * lyxserver.C:
2738         * texrow.C:
2739         * text3.C: re-add missing system headers, needed for 2.95.2.
2740
2741 2003-09-05  Angus Leeming  <leeming@lyx.org>
2742
2743         Changes most place everywhere due to the removal of using directives
2744         from support/std_sstream.h.
2745
2746 2003-09-05  Angus Leeming  <leeming@lyx.org>
2747
2748         Replace LString.h with support/std_string.h,
2749         Lsstream.h with support/std_sstream.h,
2750         support/LIstream.h with support/std_istream.h,
2751         support/LOstream.h with support/std_ostream.h.
2752
2753         Changes resulting throughout the tree.
2754
2755 2003-09-05  Angus Leeming  <leeming@lyx.org>
2756
2757         * sgml.h: ensure that the header file can be compiled stand-alone.
2758         * *.C: strip out redundant #includes. (320 in total.)
2759
2760 2003-09-04  Angus Leeming  <leeming@lyx.org>
2761
2762         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2763         here (from getPackages).
2764
2765         * debug.[Ch]: add a new EXTERNAL tag.
2766
2767 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2768
2769         * text2.C (cursorEnd): simplify
2770         (setCursor): adjust
2771         (getColumnNearX): adjust
2772
2773         * text.C (computeBidiTables): adjust
2774         (fill): adjust
2775
2776         * rowpainter.C (paintChars): adjust
2777         (paintSelection): adjust
2778         (paintChangeBar): adjust
2779         (paintText): adjust
2780
2781         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2782         lastPos instead.
2783         (numberOfSeparators): adjust
2784
2785 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2786
2787         * LyXAction.C:
2788         * box.[Ch]:
2789         * lfuns.h:
2790         * lyxfunc.C:
2791         * text3.C: Restricts the mouse click functionality
2792         of insets like bibtex, include, toc and floatlist to the visible
2793         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2794         up the dialogs. Cursor has to be in front of the inset (i.e.
2795         start of row) for this to function.
2796
2797 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2798
2799         * bufferview_funcs.C (currentState): output row information
2800
2801 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2802
2803         * bufferview_funcs.C (currentState): output paragraph position
2804
2805 2003-09-04  Angus Leeming  <leeming@lyx.org>
2806
2807         * FloatList.h: move out #include "Floating.h".
2808         * LaTeX.h: move out #include "DepTable.h".
2809         * LyXAction.h: move out #include "funcrequest.h".
2810         * buffer.h: move out #include "author.h", "iterators.h".
2811         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2812         * lyx_main.h: move out #include "errorlist.h".
2813         * lyxfunc.h: move out #include "FuncStatus.h".
2814         * lyxtext: move out #include "lyxcursor.h".
2815         * paragraph_pimpl.h: move out #include "counters.h".
2816
2817 2003-09-03  Angus Leeming  <leeming@lyx.org>
2818
2819         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2820         preamble_snippets list, enabling us to add snippets to the preamble
2821         only if the snippet was not there already.
2822
2823 2003-09-04  Angus Leeming  <leeming@lyx.org>
2824
2825         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2826
2827 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2828
2829         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2830         update
2831
2832 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2833
2834         * BranchList.C: point fix, earlier forgotten
2835
2836 2003-09-02  Angus Leeming  <leeming@lyx.org>
2837
2838         * box.C (contains): renamed from 'contained' after a fantastic
2839         amount of hot air.
2840
2841 2003-09-02  John Levon  <levon@movementarian.org>
2842
2843         * BufferView.C:
2844         * lyxcursor.h:
2845         * lyxcursor.C:
2846         * lyxfunc.C:
2847         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2848
2849 2003-09-02  John Levon  <levon@movementarian.org>
2850
2851         * text2.C: simplification of cursorEnd(), including partial
2852         fix for bug 1376
2853
2854 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2855
2856         * buffer.C (readFile): add a space
2857
2858 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2859
2860         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2861
2862 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2863
2864         * buffer.C (readFile): new function, take a filename and a
2865         ParagraphList::iterator
2866         (readFile): adjust
2867         (readFile): adjust, make it private. don't use setStream, make
2868         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2869         always contain the filename.
2870
2871         * BufferView.C (insertLyXFile): simplify and make it work for
2872         gzipped files.
2873
2874 2003-08-30  John Levon  <levon@movementarian.org>
2875
2876         * Makefile.am: fix dist (from Kayvan)
2877
2878 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2879
2880         * most files: change to use const Buffer refs
2881
2882 2003-08-27  André Pönitz  <poenitz@gmx.net>
2883
2884         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2885         on top of ownerPar().
2886
2887 2003-08-27  John Levon  <levon@movementarian.org>
2888
2889         * funcrequest.C: properly initialise POD members
2890
2891 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2892
2893         * lyxtext.h (top_y): move top_y from here
2894         * text.C:
2895         * text2.C:
2896         * text3.C:
2897         * BufferView.[Ch]:
2898         * BufferView_pimpl.[Ch]: to here
2899         * frontends/screen.C:
2900         * insets/insettabular.C:
2901         * insets/insettext.C: adjust
2902         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2903
2904 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2905
2906         * BufferView.[Ch]:
2907         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2908
2909 2003-08-26  André Pönitz  <poenitz@gmx.net>
2910
2911         * paragraph_func.[Ch] (outerPar): new function
2912
2913         * paragraph.C:
2914         * paragraph_funcs.C:
2915         * paragraph_funcs.h:
2916         * paragraph_pimpl.C:
2917         * text2.C: remove Inset::par_owner
2918
2919 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2920
2921         * lyxrow_funcs.C:
2922         * lyxtext.h:
2923         * text.C:
2924         * text2.C: eliminates the needFullRow/display() stuff
2925         altogether, putting the logic in metrics/draw in the insets.
2926
2927 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2928
2929         * text2.C (redoParagraphInternal, redoParagraphs):
2930         * text.C (redoParagraph): add a call to updateRowPositions at the
2931         end of each 'metrics-like' call. Remove all others.
2932         (getRow): remove the 'y-computing' version.
2933         (getRowNearY): do not compute nor return the real y. Solve the
2934         'y < 0' problem and simplify.
2935
2936 2003-08-22  Angus Leeming  <leeming@lyx.org>
2937
2938         * *.[Ch]: clean-up of licence and author blurbs.
2939         Also move config.h out of a few .h files and into a few .C files.
2940
2941 2003-08-22  André Pönitz  <poenitz@gmx.net>
2942
2943         * lyxrow.[Ch]: add x_ and *fill_ members
2944
2945         * lyxtext.h:
2946         * text.C:
2947         * rowpainter.C:
2948         * text2.C: adjust/remove prepareToPrint() calls
2949
2950 2003-08-22  André Pönitz  <poenitz@gmx.net>
2951
2952         * lyxrow.[Ch]: add  end_ member
2953
2954         * lyxrow_funcs.C: use LyXRow::end_
2955
2956         * lyxtext.h (singleWidth): add LyXFont parameter
2957
2958         * rowpainter.C:
2959         * text2.C: adjust LyXText::singleWidth() calls
2960
2961         * text.C (redoParagraph): simplify row breaking logic
2962
2963
2964 2003-08-19  André Pönitz  <poenitz@gmx.net>
2965
2966         * funcrequest.C: initialize button_ member
2967
2968         * text3.C:
2969         * rowpainter.[Ch]: interface consolidation
2970
2971 2003-08-18  André Pönitz  <poenitz@gmx.net>
2972
2973         * BufferView.C:
2974         * BufferView_pimpl.C:
2975         * lyxfind.C:
2976         * paragraph_funcs.C:
2977         * rowpainter.C:
2978         * text3.C: remove LyXScreen::draw() and fitCursor calls
2979
2980         * BranchList.h: remove spurious semicolons
2981
2982         * MenuBackend.C: fix branchlist related crash
2983
2984 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2985
2986         * BranchList.[Ch]:
2987         * InsetList.[Ch]:
2988         * LColor.[Ch]:
2989         * LyXAction.C:
2990         * Makefile.am:
2991         * MenuBackend.[Ch]:
2992         * bufferparams.[Ch]:
2993         * factory.C:
2994         * lfuns.h:
2995         * lyxfunc.C:
2996         * text3.C: implements the 'branch inset'
2997         idea. This allows the output of various versions of a document
2998         from a single source version, selectively outputing or suppressing
2999         output of parts of the text.
3000         This implementation contains a 'branch list editor' in a separate
3001         tab of the document settings dialog. Branches are user definable
3002         and have a "display colour" to distinguish them on-screen.
3003
3004         ColorHandler was somewhat cleaned up.
3005         (1) make possible a dynamically growing LColor list by allowing
3006         the graphic context cache to grow along (vector);
3007         (2) eliminate an IMHO unnecessary step in colour allocation.
3008
3009 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3010
3011         * BufferView_pimpl.C: compile fix
3012
3013 2003-08-15  André Pönitz  <poenitz@gmx.net>
3014
3015         * rowpainter.C: remove extra metrics calls
3016
3017         * lyxtext.h: merge the two constructors into a single one,
3018           pass reference to owner's par list
3019
3020         * BufferView_pimpl.C:
3021         * text.C:
3022         * text2.C: adjust
3023
3024 2003-08-15  André Pönitz  <poenitz@gmx.net>
3025
3026         * lyxrow_funcs.[Ch]:
3027         * lyxtext.h:
3028         * paragraph.h:
3029         * paragraph_funcs.C:
3030         * rowpainter.C:
3031         * text.C:
3032         * text2.C:
3033         * text3.C:
3034         * text_funcs.C: split LyXText::rowlist_ into individual
3035         Paragraph::rows_ chunks
3036
3037         * BufferView.[Ch]:
3038         * BufferView_pimpl.[Ch]:
3039         * lyxfind.C:
3040         * lyxtext.h:
3041         * text3.C: remove toggleSelection()
3042
3043 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3044
3045         * bufferlist.C: beautify two alerts (shorter text of buttons)
3046         * buffer.C: Remove redundant ' ' from message
3047         * tabular.h:
3048         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3049         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3050         rename VALIGN_CENTER to VALIGN_MIDDLE
3051
3052 2003-08-11  André Pönitz  <poenitz@gmx.net>
3053
3054         * lyxtext.h (getPar):
3055         * text.C: new function
3056
3057 2003-08-11  André Pönitz  <poenitz@gmx.net>
3058
3059         * Makefile.am:
3060         * tracer.[Ch]: remove unneeded files
3061
3062         * InsetList.[Ch]: remove resizeInsetsLyXText()
3063
3064         * lyxtext.h:
3065         * text.C:
3066         * text2.C:
3067         * text3.C: merge insertParagraphs() and appendParagraph()
3068         remove breakAgain(), update()
3069
3070         * BufferView_pimpl.[Ch]:
3071         * bufferview_funcs.[Ch]:
3072         * lyxfunc.C:
3073         * paragraph.[Ch]:
3074         * rowpainter.C:
3075         * tabular.C: adjust after text & InsetList changes.
3076
3077 2003-08-08  André Pönitz  <poenitz@gmx.net>
3078
3079         * text.C (insertChar, backspace): replace rowlist fiddling
3080         with rebreak of full par
3081
3082         * lyxtext.h:
3083         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3084         checkParagraph, updateInset): removed
3085
3086 2003-08-07  André Pönitz  <poenitz@gmx.net>
3087
3088         * paragraph.C:
3089         * text3.C: merge some LFUN handlers, remove dead code
3090
3091 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3092
3093         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3094
3095 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3096
3097         * text2.C (DEPM): fix part of bug 1255 and 1256
3098
3099 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3100
3101         * BufferView_pimpl.C (workAreaDispatch): change to use
3102         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3103         that are no mouse related.
3104
3105 2003-08-05  André Pönitz  <poenitz@gmx.net>
3106
3107         * BufferView.[Ch]:
3108         * BufferView_pimpl.[Ch]:
3109         * bufferview_funcs.C:
3110         * text2.C:
3111         * text3.C: rip out "deep update"
3112
3113         * textcursor.[Ch] (last_sel_cursor): remove unused member
3114
3115 2003-08-04  André Pönitz  <poenitz@gmx.net>
3116
3117         * BufferView.[Ch]:
3118         * BufferView_pimpl.[Ch]:
3119         * ParagraphParameters.C:
3120         * bufferview_funcs.C:
3121         * lyx_cb.C:
3122         * lyxfind.C:
3123         * lyxfunc.C:
3124         * text.C:
3125         * text2.C:
3126         * text3.C: replace "complicated" BufferView::update(...) calls with
3127         simpler ones.
3128
3129         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3130
3131 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3132
3133         * Makefile.am (lyx_SOURCES): add paper.h
3134
3135 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3136
3137         * Makefile.am: move things around so that both lyx-qt and
3138         lyx-xforms can be built (according to --with-frontend). Then lyx
3139         is a symbolic link to lyx-[firstfrontend]
3140
3141 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3142
3143         * Always use std::endl with lyxerr
3144
3145 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3146
3147         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3148
3149 2003-08-01  André Pönitz  <poenitz@gmx.net>
3150
3151         * BufferView.[Ch]:
3152         * BufferView_pimpl.[Ch]:
3153         * lyxfunc.C:
3154         * text3.C: merge BufferView::repaint() and BufferView::update()
3155
3156 2003-08-01  José Matos  <jamatos@lyx.org>
3157
3158         * buffer.[Ch]: file_format is no longer a buffer data element.
3159
3160 2003-08-01  André Pönitz  <poenitz@gmx.net>
3161
3162         * BufferView.C:
3163         * lyxtext.h:
3164         * text.C:
3165         * text2.C: make redoParagraph more independent of current cursor
3166
3167         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3168         * text.C:
3169         * text2.C: remove unneeded members
3170
3171 2003-07-30  André Pönitz  <poenitz@gmx.net>
3172
3173         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3174
3175         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3176           create a single function...
3177
3178         * paragraph_funcs.C (moveItem): ... here.
3179
3180         * text.C:
3181           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3182
3183 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3184
3185         * LColor.[Ch]: Add comment and greyedout logical colors.
3186
3187 2003-07-30  André Pönitz  <poenitz@gmx.net>
3188
3189         * tabular.C: don't use Assert too heavily. This crashes where it
3190           shouldn't
3191
3192 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3193
3194         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3195         is disabled (bug 1232)
3196
3197 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3198
3199         * factory.C: limited 'arg' scope
3200
3201 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3202
3203         * factory.C: fixed Note submenu issues
3204
3205 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3206
3207         * factory.C: submenu for Note/Comment/Greyedout
3208
3209 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3210
3211         * lyx_main.C (LyX):
3212         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3213
3214 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3215
3216         * LaTeXFeatures.C:
3217         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3218         greyedout. Patch provided by Jürgen Spitzmüller.
3219
3220 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3221
3222         * kbmap.C (read): fix error message when reading bind files
3223
3224 2003-07-29  Angus Leeming  <leeming@lyx.org>
3225
3226         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3227         certainly does not do what it purports to do. I am doing it, and
3228         us, a favour by killing it.
3229
3230 2003-07-28  José Matos  <jamatos@lyx.org>
3231
3232         * buffer.C (readBody, do_writeFile):
3233         * paragraph.C(readParagraph): \end_document replaces \the_end.
3234
3235 2003-07-29  André Pönitz  <poenitz@gmx.net>
3236
3237         * BufferView.[Ch]:
3238         * BufferView_pimpl.[Ch]:
3239         * lyxfunc.C:
3240         * text2.C:
3241         * text3.C:
3242         * textcursor.[Ch]: remove toggleToggle & Co
3243
3244 2003-07-28  José Matos  <jamatos@fep.up.pt>
3245
3246         * buffer.C (readParagraph):
3247         * params_func (readParToken, readParagraph):
3248         * paragraph.C (write): \layout -> \begin_layout.
3249
3250 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3251
3252         * lyxlex_pimpl.C (setFile): clean up slightly.
3253
3254         * bufferparams.h: add compressed var
3255
3256         * buffer_funcs.C (readFile): adjust for LyXLex change
3257         (newFile): ditto + simplify
3258
3259         * buffer.C (writeFile): handle writing of compressed files
3260
3261         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3262         Check if the file is compressed and set a bufferparm if so.
3263
3264         * Makefile.am (lyx_LDADD): remove explicit -lz
3265
3266 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3267
3268         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3269         makeDocBookFile): put the real LyX version in the first line of
3270         the file
3271
3272         * version.h:
3273         * version.C.in: remove lyx_docversion
3274
3275         * tabular.C (write_attribute): add a template-based version to
3276         write enums properly
3277
3278 2003-07-28  André Pönitz  <poenitz@gmx.net>
3279
3280         * lyxtext.h:
3281         * text.C:
3282         * text2.C:
3283         * text3.C: use doubles again for x-coordinates. They are needed.
3284
3285 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3286
3287         * messages.C (getLocaleDir): use lyx_localedir()
3288
3289         * lyxlex_pimpl.C (setFile): compress stuff
3290
3291         * buffer.C (writeFile): add some compression stuff
3292         (do_writeFile): new func, dont call expliti close... will this
3293         breake anything?
3294
3295         * Makefile.am (lyx_LDADD): add -lz
3296
3297 2003-07-28  José Matos  <jamatos@fep.up.pt>
3298
3299         * buffer.C: increment file format.
3300         * paragraph_funcs (readParagraph, readParToken):
3301         * paragraph.C (readParagraph): add \end_layout.
3302
3303 2003-07-27  Angus Leeming  <leeming@lyx.org>
3304
3305         * Makefile.am: remove special casing for configure-time setting of
3306         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3307
3308         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3309         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3310
3311 2003-07-26  André Pönitz  <poenitz@gmx.net>
3312
3313         * paragraph_func.[Ch]:
3314         * paragraph.C (realizeFont): inline it whereever it is used
3315
3316         * rowpainter.C:
3317         * text.C:
3318         * text2.C:
3319         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3320
3321
3322 2003-07-26  André Pönitz  <poenitz@gmx.net>
3323
3324         *       lyxtext.h:
3325         * text.C:
3326         * text2.C: get rid of LyXText::need_break_row
3327
3328 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3329
3330         * toc.[Ch]: put namespace toc inside namespace lyx
3331
3332         * MenuBackend.C (expandToc2): adjust for lyx::toc
3333         (expandToc): ditto
3334
3335         * lyxfunc.C (dispatch): adjust for lyx::find
3336
3337         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3338         lyx::find instead. Reorganize a bit.
3339         (LyXReplace): rename to replace
3340         (LyXFind): rename to find
3341
3342         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3343         (dispatch): ditto
3344
3345 2003-07-26  André Pönitz  <poenitz@gmx.net>
3346
3347         * text.C (setHeightOfRow): restrict scope of temporary variable
3348
3349         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3350           code (never has been used?)
3351
3352 2003-07-27  Asger Alstrup  <alstrup@local>
3353
3354         * text.C (fill): Optimise algorithm to exploit that we can reuse
3355         the LyXFont for many characters.
3356         (setHeightOfRow): Same thing.
3357         (rowBreakPoint): Same thing.
3358
3359 2003-07-26  Asger Alstrup  <alstrup@local>
3360
3361         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3362
3363         * text.C (singleWidth): Spurious font copying in hot-spot
3364         singleWidth avoided. Reorder tests for arabic for efficiency.
3365
3366         * text.C (fill): handle empty paragraphs better.
3367
3368 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3369
3370         * ispell.C:
3371         * encoding.h: add includes
3372
3373         * lyxrc.C: remove reading of bind files
3374
3375         * lyx_main.C (init): setup bindings and menus only if we have a
3376         gui.
3377
3378         * kbmap.C (read): new method. Do the actual reading of bind
3379         files.
3380
3381         * converter.C (dvipdfm_options):
3382         * bufferparams.C:
3383         * lyxrc.C (read):
3384         (output): adapt PAPER_* enums.
3385
3386         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3387
3388         * bufferparams.h: remove paper-related enums from there
3389
3390         * paper.h: New file. A trivial header file to hold paper-related
3391         enums. It should later expand to contain many paper-related
3392         horrors access.
3393
3394         * lyxrc.C: declare extern displayTranslator
3395
3396 2003-07-27  José Matos  <jamatos@fep.up.pt>
3397
3398         * tabular.[Ch] (linuxdoc): add support for tables and figures
3399         (linuxdoc).
3400
3401 2003-07-27  José Matos  <jamatos@fep.up.pt>
3402
3403         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3404         consistency in both functions.
3405         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3406
3407 2003-07-26  Asger Alstrup  <alstrup@local>
3408
3409         * rowpainter.C (paintRows): Change algorithm to work directly on
3410         the insets rather than asking every character in the document
3411         whether its an inset.
3412
3413 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3414
3415         * buffer.C (openFileWrite): factorize some code
3416
3417 2003-07-26  Angus Leeming  <leeming@lyx.org>
3418
3419         * lyx_cb.C:
3420         * lyx_main.[Ch]: replace occurances of system_tempdir with
3421         os::getTmpDir().
3422
3423 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3424
3425         * rename Inset to InsetOld
3426
3427 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3428
3429         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3430         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3431         which I think is a bit clearer. EDIT is gone, since it was
3432         premature optimisation, and broken for mathed anyway.
3433         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3434         with cursor positioning in insets as well (math insets still do not
3435         work, but that's a different story anyway.) It mysteriously
3436         crashes sometimes with undo in the first paragraph, but I'm fairly
3437         confident that this is a compiler bug.
3438
3439 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3440
3441         * paragraph.C (Paragraph): adjust for new clone return type
3442         (operator==): ditto
3443         (copyIntoMinibuffer): ditto
3444
3445 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3446
3447         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3448         by not having a special case, and always doing a full rebreak of
3449         the document after undo.
3450
3451 2003-07-23  Angus Leeming  <leeming@lyx.org>
3452
3453         * factory.C (createInset): InsetExternal::setParams now takes a
3454         Buffer const * arg.
3455
3456 2003-07-23  Angus Leeming  <leeming@lyx.org>
3457
3458         * factory.C (createInset): changed interface to the external and
3459         graphics mailers' string2params functions.
3460
3461 2003-07-23  Angus Leeming  <leeming@lyx.org>
3462
3463         * factory.C (createInset): pass a
3464         Buffer const * parameter to InsetExternalMailer's string2params.
3465
3466 2003-07-22  John Levon  <levon@movementarian.org>
3467
3468         * Thesaurus.h: include the right aiksaurus header
3469
3470 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3471
3472         * MenuBackend.C (expand): check menu shortcuts unconditionally
3473
3474 2003-07-21  Angus Leeming  <leeming@lyx.org>
3475
3476         * factory.C (createInset): pass a
3477         buffer_path parameter to InsetGraphicsMailer's string2params.
3478
3479 2003-07-21  Angus Leeming  <leeming@lyx.org>
3480
3481         * BufferView_pimpl.C (buffer):
3482         * buffer.C (d-tor):
3483         * lyx_main.C (LyX):
3484         * lyxfunc.C (dispatch):
3485         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3486         rather than the grfx shortcut.
3487
3488 2003-07-21  André Pönitz  <poenitz@gmx.net>
3489
3490         * rowpainter.C: remove unused variables
3491
3492         * tabular_funcs.C:
3493         * tabular_funcs.h: move to tabular.C
3494         * Makefile.am: adjust
3495
3496         * tabular.[Ch]: basic optical cleaning
3497
3498         * author.h: pass references, not values
3499
3500 2003-07-18  André Pönitz  <poenitz@gmx.net>
3501
3502         * lyxtext.h:
3503         * metricsinfo.C:
3504         * metricsinfo.h:
3505         * rowpainter.C:
3506         * text.C:
3507         * text2.C:
3508         * text3.C: two-phase drawing for InsetText and InsetTabular
3509         some float -> int changes.
3510
3511 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3512
3513         * lyx_main.C: fix the fix
3514
3515 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3516
3517         * lyx_main.C: fix a crash in batch mode if no files specified
3518         * converter.C: ws
3519
3520 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3521
3522         * format.[Ch] (papersize): moved to BufferParams
3523         * converter.[Ch] (dvips_options): moved to BufferParams
3524         (dvipdfm_options): moved to anon namespace
3525         * bufferparams.[Ch]: added above functions.
3526
3527 2003-07-17  André Pönitz  <poenitz@gmx.net>
3528
3529         * lyxtext.h:
3530         * rowpainter.C:
3531         * text2.C: don't call inset->update() anymore
3532
3533         * metricsinfo.[Ch]: add convenience constructor
3534
3535 2003-07-16  André Pönitz  <poenitz@gmx.net>
3536
3537         * lyxcursor.[Ch]:
3538         * lyxfunc.[Ch]:
3539         * text.C:
3540         * text2.C: replace the LyXCursor::irow_ member with
3541          on-demand computation of the value
3542
3543 2003-07-16  John Levon  <levon@movementarian.org>
3544
3545         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3546
3547 2003-07-15  André Pönitz  <poenitz@gmx.net>
3548
3549         * text.C:
3550         * text2.C: remove no more needed refresh_row
3551
3552 2003-07-15  André Pönitz  <poenitz@gmx.net>
3553
3554         * lyxtext.h:
3555         * rowpainter.C:
3556         * text2.C:
3557         * text3.C: refresh_status tristate -> need_update bool
3558
3559 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3560
3561         * lyxtext.h (init): remove reinit argument (act as if always true)
3562         * text2.C: adjust to that
3563
3564 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3565
3566         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3567         * text3.C: use it to delete selections in some cases
3568         (bugs 441, 673, 702, 954).
3569
3570 2003-07-14  André Pönitz  <poenitz@gmx.net>
3571
3572         * rowpainter.[Ch]: reduce interface
3573
3574 2003-07-14  André Pönitz  <poenitz@gmx.net>
3575
3576         * BufferView_pimpl.C:
3577         * text2.C: adjust after removing unused BufferView * argument
3578
3579 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3580
3581         * text2.C (init): fix a crash fired on resize
3582
3583 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3584
3585         * buffer.[Ch]: added new closing signal
3586         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3587         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3588         BufferView::Pimpl via the closing the signal
3589
3590 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3591
3592         * buffer.[Ch]: take out all bv-related from buffer
3593         * BufferView.C:
3594         * BufferView_pimpl.[Ch]: connect to new signals
3595         * CutAndPaste.C: removed useless asserts
3596         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3597         * lyxvc.[Ch]:
3598         * vc-backend.[Ch]:
3599         * lyxfunc.C: moved view-related funciontality from vc here
3600         * paragraph.C: removed outdated comments
3601         * text.C: ws
3602
3603 2003-07-10  André Pönitz  <poenitz@gmx.net>
3604
3605         * BufferView_pimpl.C:
3606         * tabular.h:
3607         * tabular_funcs.C:
3608         * text.C:
3609         * text2.C: remove InsetText::InnerCache, clean up consequences
3610
3611 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3612
3613         * ispell.C: fix two typos in error messages
3614
3615 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3616
3617         * Extend Note inset to other forms of annotation like Comment
3618         and Greyedout. Right button click gives dialog.
3619
3620         Files modified or added (+):
3621
3622         * insetnote.[Ch]
3623         * FormNote.[Ch]      +
3624         * ControlNote.[Ch]   +
3625         * form_note.fd       +
3626         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3627         frontends/controllers
3628         * xforms/Dialogs.C
3629         * factory.C
3630
3631 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3632
3633         * aspell.C: add missing namespace lyx::support
3634
3635 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3636
3637         * BufferView.[Ch] (newFile): Add
3638         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3639         * LaTeX.[Ch] (message): added this signal and use it
3640         * buffer.[Ch] (busy, message): added these signals and use them
3641         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3642         * converter.C:
3643         * exporter.C:
3644         * format.C:
3645         * importer.C: use buffer signals instead of direct bv calling
3646         * lyx_cb.[Ch] (ShowMessage): removed
3647         * lyx_main.C:
3648         * lyxfunc.C:
3649         * paragraph_funcs.C:
3650         * text2.C: use buffer signals
3651
3652 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3653
3654         * introduce namespace lyx::graphics
3655
3656 2003-07-02  André Pönitz  <poenitz@gmx.net>
3657
3658         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3659
3660 2003-07-01  André Pönitz  <poenitz@gmx.net>
3661
3662         * text.C:
3663         * text2.C:
3664         * text3.C:
3665         * text_funcs.[Ch]:
3666         * textcursor.h:
3667         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3668           text*.C to text_func.C
3669
3670 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3671
3672         * introduce namespace lyx::support
3673
3674 2003-06-30  André Pönitz  <poenitz@gmx.net>
3675
3676         * Chktex.C:
3677         * funcrequest.C:
3678         * lyxtext.h:
3679         * text.C: re-enable --with-included-string
3680
3681 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3682
3683         * textcursor.C: add <config.h>
3684
3685         * text.C (getWord): remove const from word_location arg
3686
3687         * lyxvc.C (getLogFile): fix const type order
3688
3689         * lyxtext.h: remove const from word_location arg, add arg name
3690
3691         * lyxlayout.h: currect type on labeltype.
3692
3693         * importer.C: correct \file
3694
3695         * converter.C (intToFormat): use std:: on ret val, ws changes
3696
3697         * bufferlist.h: correct \file
3698
3699         * buffer.C (makeLinuxDocFile): fix const type order
3700         (makeDocBookFile): ditto
3701         (fillWithBibKeys): use std:: on stdlib args.
3702
3703         * CutAndPaste.C: fix authors.
3704         (availableSelections): use std:: on return vector
3705
3706 2003-06-27  André Pönitz  <poenitz@gmx.net>
3707
3708         * BufferView_pimpl.C:
3709         * bufferview_funcs.C:
3710         * lyxcursor.C:
3711         * lyxcursor.h:
3712         * lyxfunc.C:
3713         * lyxtext.h:
3714         * rowpainter.C:
3715         * text.C:
3716         * text2.C:
3717         * text3.C: remove LyXCursor::row_ member
3718
3719         * lyxtext.h:
3720         * text.C: rename fullRebreak() to partialRebreak() and implement
3721           a fullRebreak() that really bereks fully
3722
3723         * textcursor.h: new struct for cursor-related data
3724
3725 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3726
3727         * lyx_main.C (LyX): get full path of document loaded on the
3728         command line
3729
3730 2003-06-26  André Pönitz  <poenitz@gmx.net>
3731
3732         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3733           remove unused/broken operator>,<,>=.
3734
3735         *       text.C: remove only use of broken operator<= in an Assert().
3736
3737 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3738
3739         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3740         moved errorlist_.clear to showErrorList
3741
3742 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3743
3744         * converter.C (scanLog, runLaTeX):
3745         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3746         move the bv->showErrorList call to the callers
3747         * lyxfunc.C: i.e. here...
3748         * text2.C: and here
3749         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3750         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3751         namespace, the second to...
3752         * buffer_funcs (BufferFormat, parseErrors): added
3753         * errorlist.C (ErrorList(TeXErrors const &)): removed
3754
3755 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3756
3757         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3758
3759 2003-06-24  "Garst R. Reese" <reese@isn.net>
3760
3761         * debug.C: fix typo
3762
3763 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3764
3765         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3766
3767         * version.C.in: change docversion to 1.4
3768
3769 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3770
3771         * buffer.C: fix a bug just introduced
3772
3773 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3774
3775         * buffer.[Ch]: added the parseError signal and use it, removed
3776         sgmlError
3777         * BufferView.[Ch] (addError): moved to ...
3778         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3779         to the Buffer::parseError signal to catch (guess what) parse errors
3780         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3781
3782 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3783
3784         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3785         ability to create a buffer and to return an existing one from
3786         the list. Moved these functions to...
3787         * buffer_funcs.[Ch]: added
3788         * BufferView.[Ch] (loadLyXFile): added
3789         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3790         job removed from bufferlist::loadLyXFile.
3791         * buffer.C (setReadOnly): make it work without view
3792         (i.e added an if (users))
3793
3794 2003-06-19  Angus Leeming  <leeming@lyx.org>
3795
3796         * lfuns.h:
3797         * LyXAction.C (init):
3798         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3799         with LFUN_DIALOG_SHOW <name> <data>.
3800
3801 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3802
3803         * CutAndPaste.C (availableSelections): small compilation fix for
3804         ancient (gcc 2.9x) compilers
3805
3806 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3807
3808         * text3.C (cursorNext): add tmp var
3809
3810         * text2.C (updateCounters): for function calling out of for clause
3811         (replaceSelectionWithString): ditto
3812         (insertStringAsParagraphs): ditto
3813         (getColumnNearX): add tmp var
3814         (setCursorFromCoordinates): add tmp var
3815         (cursorDownParagraph): add tmp var
3816         (deleteEmptyParagraphMechanism): add tmp var
3817
3818         * text.C (insertChar): add tmp var
3819
3820         * rowpainter.C (paintDepthBar): add tmp var
3821
3822         * CutAndPaste.C (availableSelections): potentially check all
3823         paragraphs in a cut to fill the shown strings.
3824
3825 2003-06-18  André Pönitz  <poenitz@gmx.net>
3826
3827         * kbmap.[Ch]: use vector<> instead of list<>
3828
3829 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3830
3831         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3832         pasteSelection with index
3833
3834         * text2.C (pasteSelection): modify, call pasteSelection with index
3835
3836         * paragraph.C (asString): reimplement version with no interval to
3837         call the one with interval.
3838
3839         * lyxtext.h: add index arg to pasteSelection
3840
3841         * MenuBackend.C (MenuItem): handle PasteRecent
3842         (Menu::read::Menutags): add md_pasterecent
3843         (read): handle it
3844         (expandPasteRecent): new function
3845         (expand): use it
3846
3847         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3848
3849         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3850         the limited stack
3851         (availableSelections): new function
3852
3853 2003-06-17  Angus Leeming  <leeming@lyx.org>
3854
3855         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3856
3857 2003-06-17  Angus Leeming  <leeming@lyx.org>
3858
3859         * lfuns.h:
3860         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3861
3862         * lyxfunc.C (dispatch): invoke it.
3863
3864 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3865
3866         * iterators.C (operator++, ParPosition): reintroduce some
3867         const_cast for the benefit of older compilers.
3868
3869 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3870
3871         * text3.C (dispatch): do not modify clipboard when doing
3872         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3873         LFUN_DELETE_SKIP on a selection selection
3874
3875 2003-06-16  André Pönitz  <poenitz@gmx.net>
3876
3877         * BufferView.C:
3878         * buffer.C:
3879         * buffer.h:
3880         * paragraph.C:
3881         * tabular.[Ch]: IU of clone() and getLabelList();
3882
3883 2003-06-13  André Pönitz  <poenitz@gmx.net>
3884
3885         * tabular.h: compactification
3886
3887 2003-06-12  André Pönitz  <poenitz@gmx.net>
3888
3889         * tabular.C:
3890         * tabular.h:
3891         * tabular_funcs.h: some renaming plus whitespace
3892
3893 2003-06-12  André Pönitz  <poenitz@gmx.net>
3894
3895         * BufferView.C:
3896         * BufferView_pimpl.C:
3897         * CutAndPaste.C:
3898         * buffer.C:
3899         * iterators.[Ch]:
3900         * lyxfunc.C:
3901         * text.C:
3902         * toc.C: Return a Paragraph & for ParIterator::operator*()
3903
3904 2003-06-11  John Levon  <levon@movementarian.org>
3905
3906         * lyx_main.C:
3907         * ToolbarBackend.h:
3908         * ToolbarBackend.C: add "Toolbars" section and
3909         put the flags there
3910
3911 2003-06-10  Angus Leeming  <leeming@lyx.org>
3912
3913         * lfuns.h:
3914         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3915
3916         * lyxfunc.C (dispatch): invoke it.
3917
3918 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3919
3920         * main.C: protect <ios> with HAVE_IOS
3921         (main): protect sync_with_stdio with HAVE_IOS
3922
3923 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3924
3925         * text2.C (cutSelection): adjust
3926         (pasteSelection): adjust
3927
3928         * messages.C: handle get of empty string
3929
3930         * main.C (main): use sync_with_stdio(false)
3931
3932         * lyxfunc.C (dispatch): adjust
3933
3934         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3935         (WriteAs): remove unneeded BufferView arg.
3936
3937         * bufferparams.h: use correct types on papersize, papersize2 and
3938         paperpackage.
3939
3940         * bufferparams.C (readToken): adjust for type
3941         (writeLaTeX): add missing cases to switch.
3942
3943         * bufferlist.C (quitWriteBuffer): adjust
3944         (close): adjust
3945
3946         * buffer.C (asciiParagraph): remove some commented code.
3947
3948         * CutAndPaste.C: remove current_view extern variable.
3949         (cutSelection): add BufferParams arg.
3950         (eraseSelection): add BufferParams arg.
3951         (pasteSelection): add Buffer const & arg
3952
3953 2003-06-07  John Levon  <levon@movementarian.org>
3954
3955         * buffer.C:
3956         * paragraph_funcs.C:
3957         * paragraph_pimpl.C:
3958         * text.C:
3959         * text2.C:
3960         * paragraph.h:
3961         * paragraph.C: allow InsetERT to freely space lines,
3962         and some consolidation of code
3963
3964 2003-06-06  José Matos  <jamatos@fep.up.pt>
3965
3966         * buffer.C (makeDocBookFile): fix bug #821
3967
3968 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3969
3970         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3971
3972 2003-06-04  Angus Leeming  <leeming@lyx.org>
3973
3974         * buffer.C: bump format to 224.
3975
3976 2003-06-05  André Pönitz  <poenitz@gmx.net>
3977
3978         * text2.C (redoParagraphs): remove two const_cast<>
3979
3980 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3981
3982         * ParagraphList.h: remove last remnants of NO_STD_LIST
3983
3984 2003-06-03  Angus Leeming  <leeming@lyx.org>
3985
3986         * factory.C (createInset): small change to the way InsetExternal's params
3987         are set.
3988
3989 2003-06-04  André Pönitz  <poenitz@gmx.net>
3990
3991         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3992
3993         * paragraph_pimpl.h:
3994         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3995
3996         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3997
3998         * undo_funcs.C: make some simple cases of undo work again
3999
4000 2003-06-03  John Levon  <levon@movementarian.org>
4001
4002         * ispell.C: HPUX doesn't have sys/select.h
4003         (from Albert Chin)
4004
4005 2003-06-03  John Levon  <levon@movementarian.org>
4006
4007         * CutAndPaste.C: update tabular and include inset
4008         buffer references
4009
4010         * buffer.h:
4011         * paragraph.h:
4012         * paragraph.C: remove owningBuffer(), don't pass Buffer
4013         to clone()
4014
4015         * factory.C: insetGraphicsParams changed
4016
4017 2003-06-02  John Levon  <levon@movementarian.org>
4018
4019         * LyXAction.C:
4020         * factory.C:
4021         * lfuns.h:
4022         * lyxfunc.C:
4023         * text3.C: remove insetparent
4024
4025 2003-06-02  John Levon  <levon@movementarian.org>
4026
4027         * buffer.h:
4028         * buffer.C: fix inset_iterator.end(), move out of line
4029         (bug 1149)
4030
4031 2003-06-01  John Levon  <levon@movementarian.org>
4032
4033         * text3.C: use a proper cut/paste when doing inset
4034         insert (from Jürgen Spitzmüller)
4035
4036 2003-06-01  John Levon  <levon@movementarian.org>
4037
4038         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4039
4040 2003-05-30  André Pönitz  <poenitz@gmx.net>
4041
4042         * rowpainter.C: unify second drawing phase
4043
4044 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4045
4046         * trans_mgr.C: remove one case of current_view
4047
4048         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4049
4050         * paragraph_funcs.h: remove paragraph.h include
4051
4052         * paragraph.h: delete NO_STD_LIST stuff
4053
4054         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4055
4056         * buffer.h: remove paragraph.h include
4057
4058         * ParagraphList.C: delete file
4059
4060         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4061
4062         * toc.C (getTocList): adjust
4063
4064         * paragraph_pimpl.C (validate): adjust
4065
4066         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4067
4068         * paragraph.C (Paragraph): adjust
4069         (getPositionOfInset): use const_iterator, adjust
4070         (bibitem): use const_iterator, adjust
4071         (setInsetOwner): adjust
4072
4073         * iterators.C (operator++): adjust
4074
4075         * InsetList.[Ch]: Replace selfmade iterator with standard
4076         vector::iterator also introduce const_iterator. Remove getPos,
4077         getInset and setInset from InsetTable. Adjust accordingly.
4078
4079         * BufferView.C (lockInset): adjust
4080         (ChangeInsets): adjust
4081
4082         * tabular.[Ch]: delete commented same_id functions
4083
4084 2003-05-28  John Levon  <levon@movementarian.org>
4085
4086         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4087
4088 2003-05-28  André Pönitz  <poenitz@gmx.net>
4089
4090         * metricsinfo.[Ch]: remove 'fullredraw' member
4091
4092 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4093
4094         * lyxtextclass.C (operator): remove caching.
4095
4096 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4097
4098         * text3.C: adjust
4099
4100         * text2.C (cursorBottom): adjust
4101         (setCounter): use ParagraphList::find, adjust
4102
4103         * text.C (workWidth): use ParagraphList::find, adjust
4104
4105         * lyxcursor.C (LyXCursor): adjust
4106
4107         * buffer.C (inset_iterator): adjust
4108
4109         * ParagraphList.h: make iterator(value_type) private, make
4110         ParagraphList a friend of iterator.
4111
4112         * ParagraphList.C (find): new function
4113
4114         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4115
4116 2003-05-27  André Pönitz  <poenitz@gmx.net>
4117
4118         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4119
4120 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4121
4122         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4123
4124 2003-05-26  John Levon  <levon@movementarian.org>
4125
4126         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4127
4128 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4129
4130         * remove same_id from function signatures, adjust.
4131
4132 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4133
4134         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4135
4136         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4137
4138         * paragraph.C (Paragraph): get rid of same_ids parameter
4139
4140         * ParagraphList.C (insert): adjust
4141         (push_back): adjust
4142
4143 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4144
4145         * paragraph_funcs.C (breakParagraph): adjust
4146         (breakParagraphConservative): adjust
4147
4148         * buffer.C (readParagraph): adjust
4149
4150         * ParagraphList.C (insert): take a reference instead of a pointer
4151         (insert): adjust
4152
4153         * paragraph.[Ch] (id): new function
4154
4155         * bufferlist.C (newFile): adjust
4156
4157         * ParagraphList.C (ParagraphList): adjust
4158         (assign): adjust
4159         (push_back): take a reference instead of a pointer.
4160
4161         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4162
4163         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4164         instead.
4165
4166         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4167         set else use old code.
4168
4169         * ParagraphList.C: remove all NO_NEXT code and only compile this
4170         code of NO_STD_LIST is set.
4171
4172 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4173
4174         * BufferView_pimpl.C:
4175         * TextCache.C:
4176         * TextCache.h:
4177         * bufferlist.C:
4178         * errorlist.h:
4179         * format.C:
4180         * format.h:
4181         * graph.C:
4182         * lyxfunc.C:
4183         * lyxrc.C:
4184         * graphics/GraphicsConverter.C:
4185         * graphics/PreviewLoader.C: header adjustment
4186
4187 2003-05-23  Angus Leeming  <leeming@lyx.org>
4188
4189         * LaTeXFeatures.[Ch] (useBabel): new method.
4190         * bufferparams.C (writeLaTeX): use it.
4191
4192 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4193
4194         * ParagraphList.h (set): remove unused function.
4195
4196 2003-05-23  André Pönitz  <poenitz@gmx.net>
4197
4198         * BufferView.C:
4199         * BufferView_pimpl.C:
4200         * buffer.C:
4201         * buffer.h:
4202         * lyxfunc.C:
4203         * undo_funcs.C: setUndo reworked
4204
4205         * iterators.[Ch]: add access to topmost ParagraphList
4206
4207         * lyxtext.[Ch] (workWidth): add a const
4208
4209 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4210
4211         * texrow.[Ch] (increasePos): remove function
4212         * exporter.C (export): removed unused var and outdated comment
4213
4214 2003-05-23  Angus Leeming  <leeming@lyx.org>
4215
4216         * latexrunparams.h: rename fragile as moving_arg.
4217         * paragraph.C (simpleTeXOnePar): ditto.
4218         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4219
4220 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4221
4222         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4223         (createUndo): ditto
4224         (textUndoOrRedo): comment out a currently unused var.
4225
4226         * paragraph.h (NO_NEXT): enable NO_NEXT
4227
4228         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4229
4230         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4231
4232         * exporter.C (Export): adjust for removeAutoInsets removal.
4233
4234         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4235
4236         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4237
4238         * BufferView.[Ch] (removeAutoInsets): delete function
4239
4240 2003-05-22  Angus Leeming  <leeming@lyx.org>
4241
4242         * latexrunparams.h: add a free_spacing variable.
4243
4244         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4245         to pass moving_arg, as the data is stored in runparams.fragile.
4246
4247         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4248         to Inset::latexOptional or to simpleTeXOnePar.
4249
4250         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4251         free_spacing arg to Inset::latexOptional.
4252
4253         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4254         free_spacing arg.
4255
4256 2003-05-22  Angus Leeming  <leeming@lyx.org>
4257
4258         * latexrunparams.h: add fragile and use_babel variables.
4259
4260         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4261         * buffer.C (makeLaTeXFile): store this returned value in
4262         runparams.use_babel, thus passing it to the inset::latex methods.
4263
4264         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4265         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4266
4267         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4268         longer has a fragile arg, as it is stored in runparams.fragile.
4269
4270         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4271         moving_arg parameter as the data is stored in runparams.fragile.
4272
4273         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4274         a fragile parameter as the data is stored in runparams.fragile.
4275
4276 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4277
4278         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4279
4280 2003-05-22  Angus Leeming  <leeming@lyx.org>
4281
4282         * latexrunparams.h: add a 'bool nice' which defaults to false.
4283
4284         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4285         now encapsulated within runparams.
4286
4287         * bufferlist.C (updateIncludedTeXfiles):
4288         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4289
4290 2003-05-22  Angus Leeming  <leeming@lyx.org>
4291
4292         * latexrunparams.h: new file containing struct LatexRunParams.
4293         * Makefile.am: add new file.
4294
4295         * LaTeX.[Ch] (c-tor, run):
4296         * buffer.[Ch] (makeLaTeXFile):
4297         * bufferlist.[Ch] (updateIncludedTeXfiles):
4298         * converter.C (convert, scanLog):
4299         * converter.[Ch] (runLaTeX):
4300         * exporter.C (Export):
4301         * paragraph.[Ch] (simpleTeXOnePar):
4302         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4303         * paragraph_funcs.[Ch] (latexParagraphs):
4304         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4305         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4306         pass around a LatexRunParams parameter.
4307
4308 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4309
4310         * paragraph.[Ch]: remove unused constructor
4311
4312         * ParagraphList.C (erase): new function, taking two iterators
4313
4314 2003-05-22  André Pönitz  <poenitz@gmx.net>
4315
4316         * undo_funcs.C: remove duplicated code
4317
4318         * iterator.[Ch]: operator=
4319
4320 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4321
4322         * tabular.C (SetMultiColumn): ws changes
4323
4324         * rowpainter.C (paintFirst): get rid of a ->previous
4325
4326         * lyx_cb.C (getPossibleLabel): parlist simplification
4327
4328         * BufferView.C (ChangeInsets): simplify slightly.
4329
4330 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4331
4332         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4333         * lfuns.h: new LFUN_SPACE
4334         * lyxfunc.C: protected space has a new lfun
4335         * paragraph_funcs.C: read new space insets
4336         * text3.C:
4337         * factory.C: handle new space insets
4338
4339 2003-05-22  André Pönitz  <poenitz@gmx.net>
4340
4341         * BufferView.C:
4342         * BufferView_pimpl.C:
4343         * buffer.[Ch]:
4344         * lyxfunc.C:
4345         * undo_funcs.C: return a ParIterator from getParFromID.
4346
4347         * iterators.[Ch]: add two const's
4348
4349 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4350
4351         * toc.C (getTocList): adjust
4352
4353         * iterators.[Ch]: rework for parlist
4354
4355         * buffer.C (par_iterator_begin): adjust
4356         (par_iterator_end): adjust
4357
4358         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4359
4360         * BufferView.C (removeAutoInsets): adjust
4361         (ChangeInsets): adjust
4362
4363 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4364
4365         * text.C (top_y): fix bug 1110
4366
4367 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4368
4369         * errorlist.[Ch]: added
4370         * buffer.C:
4371         * BufferView.[Ch]:
4372         * BufferView_pimpl.C:
4373         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4374         instead
4375
4376 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4377
4378         * Makefile.am: ensure that lyx is relinked upon changes to the
4379         various "convenience" libs.
4380
4381 2003-05-20  Angus Leeming  <leeming@lyx.org>
4382
4383         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4384         files are compiled in alphabetical order again.
4385
4386         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4387
4388 2003-05-19  Angus Leeming  <leeming@lyx.org>
4389
4390         * gettext.[Ch]: remove "char const * _(char const *)".
4391
4392 2003-05-19  André Pönitz  <poenitz@gmx.net>
4393
4394         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4395
4396         * Makefile.am:
4397         * BufferView.C:
4398         * DepTable.h:
4399         * LaTeXFeatures.C:
4400         * buffer.C:
4401         * lyxfont.C:
4402         * lyxlex.h:
4403         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4404
4405 2003-05-19  André Pönitz  <poenitz@gmx.net>
4406
4407         * buffer.C:
4408         * lyxlayout.[Ch]:
4409         * lyxtextclass.[Ch]:
4410         * paragraph.C:
4411         * paragraph_funcs.[Ch]:
4412         * text2.C:
4413         * text3.C: more insetenv work
4414
4415 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4416
4417         * ParagraphParameters.C (params2string): small bug fixed
4418
4419 2003-05-16  André Pönitz  <poenitz@gmx.net>
4420
4421         * debug.C:
4422         * bufferview_funcs.C: patch from Kornel Benko to prevent
4423           crash when _(...) is called twice in a statement
4424
4425 2003-05-16  André Pönitz  <poenitz@gmx.net>
4426
4427         * BufferView.C:
4428         * lyxfunc.C:
4429         * text.C:
4430         * text2.C:
4431         * text3.C:
4432         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4433
4434 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4435
4436         * lyx_main.C (init): remove spurious static_cast
4437
4438 2003-05-14  André Pönitz  <poenitz@gmx.net>
4439
4440         * BufferView.C: fix format string
4441
4442 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4443
4444         * BufferView.[Ch] (insertErrors): removed
4445         * BufferView.[Ch] (showErrorList): added
4446         * buffer.C (runChkTeX):
4447         * converter.C (scanLog): call showErrorList instead of inserterrors
4448
4449 2003-05-13  André Pönitz  <poenitz@gmx.net>
4450
4451         * BufferView_pimpl.C:
4452         * buffer.C:
4453         * bufferview_func.C:
4454         * MenuBackend.C:
4455         * lyxfunc.C:
4456         * lyxrc.C:
4457         * tex-accent.C:
4458         * text3.C:
4459         * toc.C:
4460         * tabular_funcs.h: tostr() from its own header
4461
4462         * ParagraphParameters.C:
4463         * ToolbarBackend.C:
4464         * bufferparams.C:
4465         * format.C:
4466         * lyxlex_pimpl.C:
4467         * text3.C: STRCONV()
4468
4469 2003-05-12  André Pönitz  <poenitz@gmx.net>
4470
4471         * BufferView.C:
4472         * BufferView_pimpl.C:
4473         * CutAndPaste.C:
4474         * LaTeX.C:
4475         * LaTeXFeatures.C:
4476         * ParagraphParameters.C:
4477         * buffer.C:
4478         * bufferlist.C:
4479         * bufferparams.C:
4480         * bufferview_funcs.C:
4481         * converter.C:
4482         * counters.C:
4483         * debug.C:
4484         * exporter.C:
4485         * format.C:
4486         * importer.C:
4487         * lyx_cb.C:
4488         * lyx_main.C:
4489         * lyxfont.C:
4490         * lyxfunc.C:
4491         * lyxvc.C:
4492         * paragraph.C:
4493         * paragraph_funcs.C:
4494         * tabular.C:
4495         * tabular_funcs.C:
4496         * text2.C:
4497         * text3.C:  boost::format -> bformat  all over the place
4498
4499
4500 2003-05-09  André Pönitz  <poenitz@gmx.net>
4501
4502         * LColor.[Ch]: Pimpl the #include <map> away
4503
4504 2003-05-09  John Levon  <levon@movementarian.org>
4505
4506         * bufferlist.C: never remove emergency saves
4507
4508 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4509
4510         * Makefile.am: better lib building
4511
4512 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4513
4514         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4515         instead.
4516         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4517         (simpleTeXSpecialChars): adjust
4518         (simpleTeXSpecialChars): adjust
4519         * paragraph.C (simpleTeXOnePar): adjust
4520         * buffer.C (makeLaTeXFile): adjust
4521
4522         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4523
4524         * text2.C (changeDepth): parlist cleanup
4525         (getColumnNearX): ditto
4526
4527         * rowpainter.C (getLabelFont): parlist cleanup
4528
4529         * bufferlist.C (newFile): parlist cleanup
4530
4531         * CutAndPaste.C (eraseSelection): parlist cleanup
4532
4533         * BufferView_pimpl.C (trackChanges): parlist cleanup
4534         (dispatch): ditto
4535
4536         * BufferView.C (lockInset): parlist cleanup.
4537         (ChangeInsets): ditto
4538
4539 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4540
4541         * CutAndPaste.h: Update file header.
4542
4543         * CutAndPaste.C: Update file header.
4544         Store the parts cut out of the Document in a limited_stack.
4545         (copySelection): adjust
4546         (pasteSelection): new function, takes the index in the limited stack.
4547         (nrOfParagraphs): adjust
4548         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4549         simplify error inset insertion.
4550         (checkPastePossible): adjust
4551
4552 2003-05-06  John Levon  <levon@movementarian.org>
4553
4554         * text2.C: don't cast wrap inset to float
4555
4556 2003-05-05  André Pönitz  <poenitz@gmx.net>
4557
4558         * iterator.C:
4559         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4560
4561         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4562           few naked Paragraph *.
4563
4564 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4565
4566         * bufferparams.C: Output warning if a document with missing
4567         TeX document class is loaded
4568         * exporter.C: Disable TeX exports if the document class is missing
4569         * lyxtextclass.C:
4570         * lyxtextclass.h:
4571         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4572         isTeXClassAvailable()
4573
4574 2003-05-03  John Levon  <levon@movementarian.org>
4575
4576         * BufferView.h:
4577         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4578         explicit cursor show/hide
4579
4580         * BufferView_pimpl.h:
4581         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4582         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4583
4584         * lyxfunc.C: hide cursor before dispatching.
4585
4586         * lyx_cb.C:
4587         * lyxfind.C:
4588         * text.C:
4589         * text3.C: remove explicit cursor hides
4590
4591 2003-05-02  André Pönitz  <poenitz@gmx.net>
4592
4593         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4594
4595         * undo_funcs.C:
4596         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4597           linked lists
4598
4599         * text2.C: tiny whitespace
4600
4601 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4602
4603         * undo_funcs.C: almost only ws changes.
4604
4605         * ParagraphList.C (splice): just return if pl is empty.
4606
4607 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4608
4609         * ParagraphList.C (splice): new function.
4610
4611         * CutAndPaste.C (pasteSelection): use it
4612
4613 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4614
4615         * CutAndPaste.C (pasteSelection): remove the last next and
4616         previous from this file.
4617
4618 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4619
4620         * CutAndPaste.C (pasteSelection): more clean up, user proper
4621         ParagraphList functions for pasteing.
4622
4623         * ParagraphList.C (insert): new function, three arg insert
4624
4625 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4626
4627         * ParagraphList.C (insert): new function, three arg insert
4628
4629         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4630         not on paragraphs.
4631
4632 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4633
4634         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4635
4636 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4637
4638         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4639
4640 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4641
4642         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4643         (copySelection): clean up a bit.
4644         (pasteSelection): use make_pair
4645
4646         * ParagraphList.C (ParagraphList): implement copy constructor
4647         (operator=): implement, base on copy constructor.
4648         (assign): new func
4649
4650         * paragraph.C (erase): return a bool
4651
4652         * paragraph_pimpl.C (erasePos): remove function, move contents...
4653         (erase): ... here. Return a bool.
4654         (erase): call erase instead of erasePos.
4655
4656 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4657
4658         * ParagraphList.h: define PitPosPair
4659         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4660         ParagraphList, fix a bug on pasting multiple pars
4661         * text2.C: change interface to C&P
4662
4663 2003-04-30  André Pönitz  <poenitz@gmx.net>
4664
4665         * undo_func.C: revert part of yesterday's patch 2
4666
4667 2003-04-30  John Levon  <levon@movementarian.org>
4668
4669         * LColor.C: s/tabular/table/
4670
4671 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4672
4673         * text3.C (dispatch): do not convert iterator -> pointer
4674         * undo_funcs.C (setCursorParUndo): ditto
4675         * text_funcs.C (transposeChars): ditto
4676
4677         * text2.C (setLayout): ws changes only
4678
4679         * text.C (breakParagraph): do not convert iterator -> pointer
4680         (insertChar): ditto
4681         (acceptChange): ditto
4682         (rejectChange): ditto
4683         (changeCase): ditto
4684         (Delete): ditto
4685         (backspace): ditto
4686
4687         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4688         pointer
4689
4690 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4691
4692         * text3.C (gotoInset): YABG (yet another bad getChar)
4693
4694 2003-04-29  André Pönitz  <poenitz@gmx.net>
4695
4696         * paragraph.h: make operator= private unimplemented as long as
4697           it is unusable
4698
4699         * ParagraphList.C: whitespace
4700
4701         * paragraph.[Ch]:
4702         * paragraph_pimpl.[Ch]:
4703         * paragraph_funcs.C:
4704         * CutAndPaste.C:
4705         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4706
4707         * text2.C:
4708           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4709
4710 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4711
4712         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4713         * paragraph.[Ch] (erase):
4714         * paragraph_pimpl.[Ch] (erase): change return type and value
4715         * text2.C (cutSelection): some rework
4716
4717 2003-04-28  John Levon  <levon@movementarian.org>
4718
4719         * bufferlist.C: changes for unsaved changes dialog
4720
4721 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4722
4723         * bufferlist.C (newFile): set language (messages_) for new
4724         documents also.
4725
4726         * buffer.C (readFile): ws changes only.
4727
4728 2003-04-28  André Pönitz  <poenitz@gmx.net>
4729
4730         * undo_funcs.C:
4731         * lyxfunc.C:
4732         * buffer.[Ch]:
4733         * BufferView_pimpl.C:
4734         * BufferView.C: getParFromID related ParagraphList::iterator changes
4735
4736 2003-04-28  André Pönitz  <poenitz@gmx.net>
4737
4738         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4739           Changes
4740
4741 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4742
4743         * messages.C: remove one more localedir class variable.
4744
4745 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4746
4747         * messages.C (getLocaleDir): singleton generation function
4748         (Pimpl): use it.
4749         (Messages): add a default constructor.
4750
4751         * main.C (main): do not setup localedir here, do not call
4752         gettext_init.
4753
4754         * gettext.C (_): use it.
4755         (gettext_init): delete funciton
4756
4757 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4758
4759         * gettext.C (getLyXMessages): new singleton generating function.
4760
4761         * buffer.C (updateDocLang): adjust
4762
4763         * Makefile.am (messages.o): add target
4764         (main.o): remove target
4765
4766 2003-04-27  John Levon  <levon@movementarian.org>
4767
4768         * bufferlist.C:
4769         * lyx_cb.C:
4770         * lyxfunc.C:
4771         * lyxvc.C: specify cancel button in Alert::prompt
4772
4773 2003-04-26  John Levon  <levon@movementarian.org>
4774
4775         * text3.C:
4776         * lyxfunc.C:
4777         * lfuns.h:
4778         * LyXAction.C: add LFUN_INSET_SETTINGS
4779
4780         * lyxfunc.C: don't enable tabular-feature when there's
4781         just any locking inset
4782
4783 2003-04-26  John Levon  <levon@movementarian.org>
4784
4785         * bufferlist.C: re-add Cancel to buffer close question
4786
4787         * lyxfunc.C: fix import UI a bit
4788
4789 2003-04-25  John Levon  <levon@movementarian.org>
4790
4791         * gettext.C: remove the broken asserts for now
4792
4793 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4794
4795         * messages.C: make case where setlocale cannot comply work better.
4796
4797         * buffer.C (updateDocLang): new function
4798         (changeLanguage): use it
4799         (readFile): use it
4800
4801         * text2.C (setCounter): use B_ a bit.
4802
4803         * lyxlayout.C (Read): be sure to trim the label strings.
4804
4805         * messages.C (Messages): fix typo in comment
4806
4807         * buffer.C (readFile): set message_ after file is loaded.
4808         (makeDocBookFile): remove double return
4809         (changeLanguage): reset message_ upon language change.
4810         (B_): new func, use this to get translated buffer strings.
4811
4812         * main.C: add myself and Jean Marc as authors.
4813
4814 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4815
4816         * messages.[hC]: pimplify Messages, and three different pimpls to be
4817         used in different circumstances.
4818
4819         * gettext.[Ch]: change for use with new message code.
4820
4821 2003-04-24 André Pönitz <poenitz@gmx.net>
4822
4823         * factory.C: support for eqref
4824
4825 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4826
4827         * messages.[Ch]: add missing char
4828
4829         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4830
4831         * messages.[Ch]: New files
4832
4833 2003-04-18  John Levon  <levon@movementarian.org>
4834
4835         * BufferView.h:
4836         * BufferView.C:
4837         * BufferView_pimpl.C:
4838         * lfuns.h:
4839         * LyXAction.C:
4840         * lyxtext.h:
4841         * text2.C: remove layout-copy/paste (bug 778)
4842
4843 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4844
4845         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4846
4847 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4848
4849         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4850         if they succeed. Act accordingly.
4851
4852 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4853
4854         * text2.C (setCharFont): adjust
4855         (setCounter): adjust
4856         (insertStringAsLines): adjust
4857
4858         * text.C (leftMargin): adjust
4859         (setHeightOfRow): adjust
4860
4861         * rowpainter.C (paintFirst): adjust
4862         (paintLast): adjust
4863
4864         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4865         (outerHook): ditto
4866         (isFirstInSequence): ditto
4867         (getEndLabel): ditto
4868         (outerFont): adjust
4869
4870         * paragraph.C (getParLanguage): comment out some hard stuff.
4871
4872         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4873         (sgmlError): ditto
4874         (simpleDocBookOnePar): ditto
4875         (makeDocBookFile): use ParagraphList::iterator
4876
4877         * CutAndPaste.C (pasteSelection): adjust
4878
4879 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4880
4881         * text2.C (getFont): adjust
4882         (getLayoutFont): adjust
4883         (getLabelFont): adjust
4884
4885         * paragraph_funcs.C (TeXOnePar): adjust
4886
4887         * buffer.C (simpleLinuxDocOnePar): adjust
4888         (simpleDocBookOnePar): adjust
4889
4890         * CutAndPaste.C (pasteSelection): adjust
4891
4892         * BufferView.C (getEncoding): adjust
4893
4894         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4895
4896 2003-04-16  John Levon  <levon@movementarian.org>
4897
4898         * lyxfind.C: use parlist stuff for search/changes
4899
4900 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4901
4902         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4903
4904         * text2.C (deleteEmptyParagraphMechanism): adjust
4905
4906         * text2.[Ch] (ownerParagraph): delete func (both of them
4907
4908 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4909
4910         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4911
4912 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4913
4914         * ParagraphList.C: prepare for NO_NEXT
4915
4916 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4917
4918         * text2.C (getFont): adjust
4919         (getLayoutFont): adjust
4920         (getLabelFont): adjust
4921
4922         * paragraph.C (getFont): adjust
4923         (getLabelFont): adjust
4924         (getLayoutFont): adjust
4925
4926         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4927
4928 2003-04-15  John Levon  <levon@movementarian.org>
4929
4930         From Angus Leeming
4931
4932         * lyx_main.C: handle Include in .ui files
4933
4934 2003-04-15  John Levon  <levon@movementarian.org>
4935
4936         * MenuBackend.C: make the doc files length shorter
4937
4938         * ToolbarBackend.h:
4939         * ToolbarBackend.C: handle toolbar placement flags,
4940         Minibuffer
4941
4942 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4943
4944         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4945         adjust
4946
4947         * paragraph_funcs.C (TeXOnePar): adjust
4948
4949         * paragraph.C (getLabelFont): add outerfont arg, adjust
4950         (getLayoutFont): ditto
4951         (simpleTeXOnePar): adjust
4952
4953         * paragraph_pimpl.C (realizeFont): delete func
4954
4955 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4956
4957         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4958         row argument, constify cur argument.
4959
4960 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4961
4962         * text2.C (getFont): adjust
4963         (getLayoutFont): adjust
4964         (getLabelFont): adjust
4965
4966         * paragraph_funcs.C (TeXOnePar): adjust
4967         (outerFont): new func...
4968         (realizeFont): ...moved out from here, changed this to facilitate
4969         transition
4970
4971         * paragraph.C (getFont): take outerfont as arg, adjust
4972         (simpleTeXOnePar): add outerfont arg, adjust
4973
4974         * buffer.C (simpleLinuxDocOnePar): adjust
4975         (simpleDocBookOnePar): adjust
4976
4977         * CutAndPaste.C (pasteSelection): adjust
4978
4979         * BufferView.C (getEncoding): adjust
4980
4981 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4982
4983         * text2.C (setCharFont): adjust
4984         (setCounter): adjust
4985
4986         * text.C (leftMargin): adjust
4987         (setHeightOfRow): adjust
4988
4989         * rowpainter.C (paintFirst): adjust
4990         (paintLast): adjust
4991
4992         * paragraph_pimpl.C (realizeFont): adjust
4993
4994         * paragraph.C (isFirstInSequence): move from here...
4995         * paragraph_funcs.C (isFirstInSequence): ...to here
4996
4997         * paragraph.C (outerHook): move from here...
4998         * paragraph_funcs.C (outerHook): ...to here
4999
5000         * paragraph.C (depthHook): move from here...
5001         * paragraph_funcs.C (depthHook): ...to here
5002
5003         * paragraph.C (getEndLabel): move from here...
5004         * paragraph_funcs.C (getEndLabel): ...to here
5005
5006         * text2.C (realizeFont): move from here...
5007         * paragraph_funcs.C (realizeFont): ...to here
5008
5009 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5010
5011         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5012
5013 2003-04-14  Angus Leeming  <leeming@lyx.org>
5014
5015         * LColor.[Ch]: scrap LColor mathcursor.
5016
5017 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5018
5019         * lyxlex.[Ch] (text): delete function
5020         * trans.C (Load): adjust
5021         * paragraph_funcs.C (readParToken): adjust
5022
5023 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5024
5025         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5026         vector<char> instead of a char[].
5027
5028         * lyxlex_pimpl.C (getString): adjust
5029         (next): adjust
5030         (lex): use getString
5031         (eatLine): adjust
5032         (nextToken): adjust
5033
5034         * lyxlex.C (text): use pimpl_->getString()
5035         (getBool): ditto
5036         (findToken): ditto
5037
5038 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5039
5040         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5041         (makeFontEntriesLayoutSpecific): temp var for par.size()
5042         (setLayout): temp var for ownerParagraphs().end()
5043         (fullRebreak): temp var for rows().end()
5044         (selectionAsString): temp var for boost::next(startpit), realize
5045         that the while really is a regular for loop.
5046         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5047         setCursor in one place.
5048         (setParagraph): temp vr for ownerParagraphs().end()
5049         (updateCounters): make the while loop a for loop
5050         (cutSelection): temp var for ownerParagraphs().end()
5051         (updateInset): make the do {} while() a regular for loop
5052         (getCursorX): use temp vars
5053         (setCurrentFont): use temp vars
5054         (getColumnNearX): use temp vars
5055
5056 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5057
5058         * text.C (transformChar): use temp var for getChar
5059         (computeBidiTables): use temp var for row->par()
5060         (fill): move temp vars for row->par() and pit->layout() earlier in
5061         the function.
5062         (labelFill): use temp var for row->par()
5063         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5064         asc and desc, realize that pit never changes and that firstpit is
5065         just a duplicate and not needed. Exchange rit->par() with pit in a
5066         lot of places.
5067         (breakAgain): use a temp var for boost::next(rit)
5068         (breakAgainOneRow): ditto
5069         (breakParagraph): use a temp var for rows().begin()
5070         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5071         (cursorRightOneWord): use temp var for cursor.par() and
5072         cursor.pos(), remove usage of tmpcursor.
5073         (cursorLeftOneWord): use temp var for cursor.par() and
5074         cursor.pos() only set cur at end of function.
5075
5076 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5077
5078         * text.C, text2.C: exchange all usage of Paragraph::next with
5079         boost::next(ParagraphList::iterator)
5080
5081         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5082
5083         * text2.C (cursorTop): simplify implementation
5084         (cursorBottom): ditto
5085         (setParagraph): use ParagraphList::iterator
5086         (setCurrentFont): adjust
5087         (getColumnNearX): adjust
5088         (cursorRight): adjust
5089         (cursorLeft): remove usage of Paragraph::previous
5090         (cursorUpParagraph): ditto
5091         (deleteEmptyParagraphMechanism): slight cleanup
5092
5093         * text.C (isBoundary): take a Paragraph const & instead of a
5094         pointer as arg.
5095         (addressBreakPoint): ditto
5096         (leftMargin): remove usage of Paragraph::previous.
5097         (setHeightOfRow): ditto
5098         (cursorLeftOneWord): ditto
5099         (selectNextWordToSpellcheck): ditto
5100         (Delete): ditto
5101         (backspace): ditto
5102         (breakParagraph): remove one usage of Paragraph::next
5103         (redoParagraph): ditto
5104         (acceptChange): ditto
5105         (insertChar): adjust
5106         (rowBreakPoint): adjust
5107
5108         * bufferview_funcs.C (toggleAndShow): adjust
5109
5110 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5111
5112         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5113         methods to access it.
5114         * lyxtext.h:
5115         * text.C: Added updateRowPositions to compute all row positions.
5116         Make top_y and getRowNearY() to use the cached y position
5117
5118 2003-04-11  John Levon  <levon@movementarian.org>
5119
5120         * text.C (rowBreakPoint): reintroduce the labelEnd
5121         checks, code copied from the row fill stuff. Deep voodoo.
5122
5123         * text.C (fill): add a comment and debugging for the
5124         next poor soul.
5125
5126 2003-04-11  John Levon  <levon@movementarian.org>
5127
5128         * text.C: make sure fullrow insets get wrapped to the next line,
5129         even when they're in a manual label
5130
5131 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5132
5133         * text2.C (insertParagraph): make it take ParagraphList::iterator
5134         as arg.
5135         (setLayout): make it return ParagraphList::iterator
5136         (redoParagraphs): ditto
5137         (setCounter): ditto
5138         (checkParagraph): ditto
5139
5140         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5141
5142         * text2.C: adjust several funcs.
5143         (realizeFont): take a ParagraphList::iterator as arg.
5144         (getLayoutFont): ditto
5145         (getLabelFont): ditto
5146         (setCharFont): ditto
5147
5148         * text.C: adjust several funcs.
5149
5150 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5151
5152         * text.C (selectNextWordToSpellcheck): don't accidentally
5153         skip insets
5154
5155 2003-04-10  John Levon  <levon@movementarian.org>
5156
5157         * ToolbarBackend.C (getIcon): special handling for
5158         LFUN_MATH_DELIM
5159
5160 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5161
5162         * text2.C (cursorRight): a getChar assert fixed
5163
5164 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5165
5166         * text2.C (getFont): change to take a ParagraphList::iterator
5167         instead of Paragraph*
5168         Adjust several functions.
5169
5170         * text.C (transformChar): change to take a ParagraphList::iterator
5171         instead of Paragraph*
5172         (singleWidth): ditto
5173         Adjust several functions.
5174
5175         * rowpainter.C: adjust several functions
5176         * rowpainter.h:store a ParagraphList::iterator and not a
5177         Paragraph&.
5178
5179
5180 2003-04-09  John Levon  <levon@movementarian.org>
5181
5182         * lyxfunc.C:
5183         * lfuns.h:
5184         * LyXAction.h:
5185         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5186         and the "help" bits as well
5187
5188 2003-04-09  John Levon  <levon@movementarian.org>
5189
5190         * ToolbarBackend.h:
5191         * ToolbarBackend.C: allow multiple toolbars
5192
5193 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5194
5195         * undo_funcs.C (setCursorParUndo): adjust
5196
5197         * text_funcs.C (transposeChars): adjust
5198
5199         * text3.C (gotoNextInset): adjust
5200         (dispatch): adjust
5201
5202         * text2.C (setLayout): adjust
5203         (changeDepth): adjust
5204         (setFont): adjust
5205         (redoParagraphs): adjust
5206         (selectionAsString): adjust
5207         (setParagraph): adjust
5208         (insertInset): adjust
5209         (cutSelection): adjust
5210         (copySelection): adjust
5211         (pasteSelection): adjust
5212         (insertStringAsLines): adjust
5213         (updateInset): adjust
5214         (setCursor): change to take a ParagraphList::iterator parameter
5215         (setCursorIntern): change to take a ParagraphList::iterator parameter
5216         (setCurrentFont): adjust
5217         (cursorLeft): adjust
5218         (cursorRight): adjust
5219         (deleteEmptyParagraphMechanism): adjust
5220
5221         * text.C (breakParagraph): adjust
5222         (insertChar): adjust
5223         (acceptChange): adjust
5224         (rejectChange): adjust
5225         (selectNextWordToSpellcheck): adjust
5226         (changeCase): adjust
5227         (Delete): adjust
5228         (backspace): adjust
5229
5230         * lyxfind.C (SearchForward): adjust
5231         (SearchBackward): adjust
5232         (nextChange): adjust
5233
5234         * lyxcursor.C (par): adjust
5235
5236         * lyxcursor.h: store a ParagraphList::iterator instead of a
5237         Paragraph*
5238
5239         * lyx_cb.C (getPossibleLabel): adjust
5240
5241         * bufferview_funcs.C (toggleAndShow): adjust
5242
5243         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5244         (dispatch): adjust
5245
5246         * BufferView.C (removeAutoInsets): adjust
5247         (lockedInsetStoreUndo): adjust
5248
5249 2003-04-09  John Levon  <levon@movementarian.org>
5250
5251         * ToolbarBackend.C: try icon without argument
5252         if with argument fails
5253
5254 2003-04-08  John Levon  <levon@movementarian.org>
5255
5256         * ToolbarBackend.h:
5257         * ToolbarBackend.C: add getIcon(), handle tooltip,
5258         and change from "Icon" to "Item".
5259
5260 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5261
5262         * BufferView.C (lockInset): another bad getchar crunched
5263
5264 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5265
5266         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5267         again)
5268
5269 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5270
5271         * lyxfind.C (searchForward, searchBackwards): bug 782
5272
5273 2003-04-07  John Levon  <levon@movementarian.org>
5274
5275         * paragraph.C: remove dead comment
5276
5277         * text.C: remove troublesome depth-fiddling code
5278         in leftMargin() and rightMargin() (bug 1017)
5279
5280         * text.C: fix breaking of rows in nested lists
5281         (bug 1004)
5282
5283         * text2.C (updateCounters): fix up depth values
5284         (bug 1013)
5285
5286 2003-04-07  John Levon  <levon@movementarian.org>
5287
5288         * BufferView_pimpl.C: clear message when doc finishes resizing,
5289         and after a mouse event
5290
5291         * lyxfunc.C: clear message after exiting inset
5292
5293 2003-04-07  John Levon  <levon@movementarian.org>
5294
5295         * bufferview_funcs.C: show math status not outside
5296         status in the statusbar
5297
5298 2003-04-07  John Levon  <levon@movementarian.org>
5299
5300         * lyxfunc.C: note status changed after a depth change
5301
5302 2003-04-04  Angus Leeming  <leeming@lyx.org>
5303
5304         * LaTeX.h: move AuxInfo operator==, != out of line.
5305         Remove LaTeX virtual destructor; nothing derives from it.
5306         Move operator()() out of public area and rename it startscript().
5307         Change protected for private.
5308
5309 2003-04-04  Angus Leeming  <leeming@lyx.org>
5310
5311         * lyxfunc.C:
5312         * text2.C: remove unneeded #includes.
5313
5314 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5315
5316         * text2.C (dEPM): fix the heigth of the next row
5317
5318 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5319
5320         * text.C: squashed an invalid getChar requester + some ws changes
5321
5322 2003-04-03  John Levon  <levon@movementarian.org>
5323
5324         * bufferview_funcs.h:
5325         * bufferview_funcs.C:
5326         * lyxfunc.C:
5327         * lyxtext.h:
5328         * text2.C: make getStatus work for the env depth lfuns
5329
5330 2003-04-03  John Levon  <levon@movementarian.org>
5331
5332         * bufferview_funcs.h:
5333         * bufferview_funcs.C:
5334         * lyxfunc.C:
5335         * lyxtext.h:
5336         * text2.C: parlistize decDepth(), by merging it with incDepth()
5337
5338 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5339
5340         * lyxrow.h: store a ParagraphList::iterator instead of a
5341         Paragraph* and adjust other class functions to suit.
5342
5343         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5344         above.
5345
5346 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5347
5348         * text2.C (setCursor): do not anchor to cursor row for the time being
5349
5350 2003-04-02  John Levon  <levon@movementarian.org>
5351
5352         * LyXAction.C:
5353         * lfuns.h:
5354         * lyx_main.C:
5355         * lyxtext.h:
5356         * text.C:
5357         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5358
5359 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5360
5361         * paragraph.h: make ParagraphList and ParagraphList::iterator
5362         friends of Paragraph.
5363
5364         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5365
5366         * ParagraphList.C: Use the private next_ and previous_ from
5367         Paragraph.
5368
5369 2003-04-01  John Levon  <levon@movementarian.org>
5370
5371         * ToolbarBackend.h:
5372         * ToolbarBackend.C:
5373         * Makefile.am: rename, remove defaults gunk
5374
5375         * MenuBackend.h:
5376         * MenuBackend.C: remove defaults gunk
5377
5378         * Languages.h:
5379         * Languages.C: remove defaults gunk
5380
5381         * lyx_main.h:
5382         * lyx_main.C: error out if files couldn't be found.
5383
5384 2003-04-02  John Levon  <levon@movementarian.org>
5385
5386         * text2.C: make incDepth() use parlist
5387
5388 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5389
5390         * undo_funcs.C (firstUndoParagraph): adjust
5391
5392         * text3.C (gotoInset): adjust
5393         (dispatch): adjust, and rewrite loop.
5394
5395         * text2.C (init): adjust, and rewrite loop.
5396         (redoParagraphs): adjust
5397         (updateInset): adjust, and rewrite loop.
5398         (deleteEmptyParagraphMechanism): adjust
5399
5400         * tabular.C (LyXTabular): adjust
5401         (SetMultiColumn): adjust
5402         (TeXRow): adjust
5403
5404         * lyxtext.[Ch] (ownerParagraph): delete function
5405         (ownerParagraphs): new function returns a ParagraphList.
5406
5407         * BufferView.C (removeAutoInsets): adjust
5408         (insertErrors): adjust
5409         (setCursorFromRow): adjust
5410
5411 2003-04-01  Angus Leeming  <leeming@lyx.org>
5412
5413         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5414         in the frontends.
5415
5416 2003-04-02  John Levon  <levon@movementarian.org>
5417
5418         * lyxtext.h:
5419         * text.C:
5420         * Makefile.am:
5421         * text_funcs.h:
5422         * text_funcs.C: make transposeChars a free function
5423
5424         * lyxrow_funcs.C: remove wrong comment
5425
5426 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5427
5428         * lyxtext.h: adjust
5429         * rowpainter.C: adjust
5430         * text.C: adjust
5431         * text2.C: adjust
5432         * text3.C: adjust
5433
5434         * lyxrow_funcs. [Ch]: new files
5435
5436         * lyxrow.[Ch]: remove next and previous pointers
5437         (next,previous): remove accessor functions
5438         (isParEnd): move to lyxrow_funcs
5439         (lastPos): move to lyxrow_funcs
5440         (nextRowIsAllInset): move to lyxrow_funcs
5441         (lastPrintablePos): move to lyxrow_funcs
5442         (numberOfSeparators): move to lyxrow_funcs
5443         (numberOfHfills): move to lyxrow_funcs
5444         (numberOfLabelHfills): move to lyxrow_funcs
5445         (hfillExpansion): move to lyxrow_funcs
5446
5447         * lyxfunc.C: adjust
5448
5449         * bufferview_funcs.C (toggleAndShow): adjust
5450
5451         * RowList.h: Remove class RowList from file leave just a
5452         std::list<Row>.
5453
5454         * RowList.C: delete file
5455
5456         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5457         and lyxrow_funcs.h
5458
5459 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5460
5461         * text3.C (cursorPrevious): adjust
5462         (cursorNext): adjust
5463         (dispatch): adjust
5464
5465         * text2.C (redoHeightOfParagraph): adjust
5466         (redoDrawingOfParagraph): adjust
5467         (setCursor): adjust
5468
5469         * text.C (breakParagraph): adjust
5470         (insertChar): adjust
5471         (backspace): adjust
5472
5473         * rowpainter.C (RowPainter): adjust
5474         (leftMargin): simplify and adjust
5475         (most rowpainter functions): adjust.
5476
5477         * rowpainter.h: store the row as RowList::iterator not as Row*
5478
5479         * lyxcursor.C (row): taka RowList::iterator as arg
5480         (irow): ditto
5481
5482         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5483         of Row*.
5484
5485 2003-04-01  Angus Leeming  <leeming@lyx.org>
5486
5487         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5488         stuff like bool Bool.
5489
5490 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5491
5492         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5493         rewrite a loop
5494
5495 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5496
5497         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5498         RowList::iterator.
5499
5500         * lyxtext.h (rows): drop one version and leve a const variant that
5501         returns a RowList::iterator.
5502
5503 2003-03-31  Angus Leeming  <leeming@lyx.org>
5504
5505         * text.C (fill): ensure that the signature is the same as that in the
5506         header file.
5507
5508 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5509
5510         * text2.C (redoParagraphs): adjust
5511         (updateCounters): adjust
5512         (checkParagraph): adjust
5513         (getColumnNearX): adjust and reformat a bit.
5514
5515         * text.C (top_y): adjust
5516         (workWidth): adjust
5517         (leftMargin): adjust
5518         (prepareToPrint): adjust
5519         (getRow): adjust
5520         (getRowNearY): adjust
5521
5522         * lyxtext.h: make rowlist_ mutable.
5523
5524         * RowList.h: add const_iterator
5525         * RowList.C: adjust for RowList::const_iterator.
5526
5527         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5528         adjust.
5529
5530 2003-03-31  John Levon  <levon@movementarian.org>
5531
5532         * lyxrc.h:
5533         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5534
5535         * lyx_main.C: set default fonts from using lyx_gui funcs
5536
5537         * exporter.C: pdf_mode moved from lyxrc
5538
5539         * lyx_cb.C:
5540         * lyxfunc.C: changes from above
5541
5542 2003-03-31  John Levon  <levon@movementarian.org>
5543
5544         * lyx_main.C: fix to the last fix
5545
5546 2003-03-31  John Levon  <levon@movementarian.org>
5547
5548         * bufferlist.C: "Load original" -> "Load Original"
5549
5550         * converter.C:
5551         * exporter.C:
5552         * importer.C:
5553         * lyx_main.C:
5554         * format.C: more Alert cleanups
5555
5556 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5557
5558         * text2.C (removeParagraph): make it take a RowList::iterator as
5559         arg, adjust.
5560         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5561         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5562
5563         * text.C (anchor_row): make it take a RowList::iterator as arg,
5564         adjust.
5565         (computeBidiTables): make it take a const reference to Row instead
5566         of Row pointer, adjust.
5567         (leftMargin): make it take a RowList::iterator as arg, adjust.
5568         (rowBreakPoint): adjust
5569         (breakAgainOneRow): make it take a RowList::iterator as arg,
5570         adjust.
5571         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5572
5573         * bufferview_funcs.C (toggleAndShow): adjust
5574
5575 2003-03-30  John Levon  <levon@movementarian.org>
5576
5577         * Makefile.am:
5578         * BoostFormat.h:
5579         * boost-inst.C: moved to support
5580
5581         * several files: changes as a result
5582
5583 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5584
5585         * text2.C (LyXText): adjust.
5586         (init): adjust
5587         (removeRow): make it take a RowList::iterator as arg, adjust.
5588         (fullRebreak): adjust
5589         (deleteEmptyParagraphMechanism): adjust
5590         (clearPaint): adjust
5591         (postPaint): adjust
5592
5593         * text.C (top_y): adjust
5594         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5595         (breakAgain): make it take a RowList::iterator as arg, adjust.
5596         (breakParagraph): adjust
5597         (insertChar): adjust
5598         (backspace): adjust
5599
5600         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5601         need_break_row, and refresh_row.
5602
5603         * text3.C (dispatch): adjust
5604
5605         * text2.C (checkParagraph): adjust
5606         (setCursor): adjust
5607         (setCursorFromCoordinates): adjust
5608
5609         * text.C (top_y): adjust
5610         (workWidth): adjust
5611         (getRow): make it return a RowList::iterator, adjust
5612         (getRowNearY): make it return a RowList::iterator, adjust
5613
5614         * text2.C (init): adjust
5615         (insertRow): remove function
5616         (insertParagraph): adjust
5617         (redoParagraphs): adjust
5618         (fullRebreak): adjust
5619         (updateCounters): adjust
5620
5621         * text.C (top_y): rewrite to use RowList iterators.
5622         (top_y): adjust
5623         (setHeightOfRow): rewrite to sue RowList iterators.
5624         (appendParagraph): adjust
5625         (breakAgain): adjust
5626         (breakAgainOneRow): adjust
5627         (breakParagraph): adjust
5628         (getRow): adjust
5629         (getRowNearY): adjust, and remove commented code.
5630
5631         * lyxtext.h (firstRow): delete function
5632         (lastRow): delete function
5633         (rows): new function (const and non-const versions.)
5634         (insertRow): delete function
5635
5636         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5637
5638 2003-03-29  John Levon  <levon@movementarian.org>
5639
5640         * BufferView_pimpl.C: always update scrollbar top
5641         because pasting text when we're anchored could mean we
5642         miss an update altogether
5643
5644 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5645
5646         * text2.C (init): use rowlist_.end() and not 0.
5647         (insertRow): change to take a RowList::iterator as arg, adjust
5648         for this.
5649         (insertParagraph): change to take a RowList::iterator as arg,
5650         adjust for this.
5651         (redoParagraphs): remove some debug msgs.
5652
5653         * text.C (appendParagraph): change to take a RowList::iterator
5654         arg, adjust for this.
5655         (breakAgain): add an assert
5656         (breakAgainOneRow): ditto
5657
5658 2003-03-29  John Levon  <levon@movementarian.org>
5659
5660         * text2.C: do not clear selection after inc/decDepth
5661         (bug 550)
5662
5663 2003-03-29  John Levon  <levon@movementarian.org>
5664
5665         * BufferView.C:
5666         * buffer.C: fix broken strerrors according to Lars
5667
5668 2003-03-29  John Levon  <levon@movementarian.org>
5669
5670         * converters.C: more Alert cleanups
5671
5672 2003-03-29  John Levon  <levon@movementarian.org>
5673
5674         * bufferview_funcs.C: remove pointless Alert
5675
5676         * buffer.C: fix confusing error message when
5677         a template is chmoded 000
5678
5679 2003-03-29  John Levon  <levon@movementarian.org>
5680
5681         * BufferView.C:
5682         * BufferView.h:
5683         * BufferView_pimpl.C: Alert fixes
5684
5685         * Makefile.am:
5686         * tabular.C:
5687         * tabular-old.C: remove unused table compat reading
5688
5689 2003-03-29  John Levon  <levon@movementarian.org>
5690
5691         * BufferView.C:
5692         * buffer.C:
5693         * lyx_cb.h:
5694         * lyx_cb.C: more Alert cleanups
5695
5696         * lyxfunc.C: don't allow chktex if not latex document
5697
5698 2003-03-29  John Levon  <levon@movementarian.org>
5699
5700         * lyx_cb.C:
5701         * BufferView.C:
5702         * buffer.C: warnings pushed down from support/,
5703         kill err_alert
5704
5705 2003-03-29  John Levon  <levon@movementarian.org>
5706
5707         * lyxfunc.C: safety check for C-r (revert)
5708
5709 2003-03-29  John Levon  <levon@movementarian.org>
5710
5711         * bufferlist.h:
5712         * bufferlist.C: several UI fixes using Alert::prompt.
5713         Fix the pointless looping quit code. Fix stupid revert
5714         behaviour (bug 938)
5715
5716         * lyxvc.h:
5717         * lyxvc.C:
5718         * lyx_cb.C: use Alert::prompt
5719
5720         * lyx_main.C: remove a silly question
5721
5722         * lyxfunc.C: remove a couple of silly questions,
5723         use Alert::prompt
5724
5725 2003-03-28  John Levon  <levon@movementarian.org>
5726
5727         * text2.C: fix bug 974 (End on empty par)
5728
5729 2003-03-28  John Levon  <levon@movementarian.org>
5730
5731         * BufferView_pimpl.C:
5732         * LyXAction.C:
5733         * lfuns.h: remove do-nothing math greek lfuns
5734
5735 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5736
5737         * lyxgluelength.h (isValidGlueLength): add default arg on
5738         parameter 2. Remove default arg from friend in class.
5739
5740         * lyxlength.h (isValidLength): add default arg on parameter 2.
5741         Remove default arg from friend in class.
5742
5743         * text2.C (LyXText): adjust, initialize refresh_row.
5744         (init): adjust
5745         (removeRow): adjust
5746         (insertRow): adjust
5747         (insertParagraph): adjst
5748         (redoParagraphs): adjust
5749         (fullRebreak): adjust
5750         (updateCounters): adjust
5751         (deleteEmptyParagraphMechanism): first attempt at fixing a
5752         crashing bug.
5753
5754         * text.C (top_y): adjust
5755         (setHeightOfRow): adjust
5756         (getRow): adjust
5757         (getRowNearY): adjust
5758
5759         * lyxtext.h: include RowList.h
5760         (~LyXText): not needed anymore, deleted.
5761         (firstRow): modify for RowList
5762         (lastRow): new function
5763         Delete firstrow and lastrow class variables, add a Rowlist
5764         rowlist_ class variable.
5765
5766         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5767         paragraph is empty.
5768
5769         * RowList.C (insert): fix case where it == begin().
5770
5771 2003-03-26  Angus Leeming  <leeming@lyx.org>
5772
5773         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5774         the thesaurus dialog.
5775
5776 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5777
5778         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5779
5780         * RowList.[Ch]: new files
5781
5782         * ParagraphList.C (erase): handle the case where it == begin
5783         correctly.
5784
5785 2003-03-25  John Levon  <levon@movementarian.org>
5786
5787         * Makefile.am:
5788         * aspell_local.h:
5789         * aspell.C: add new aspell support
5790
5791         * lyxrc.h:
5792         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5793         have it accessible.
5794
5795 2003-03-25  Angus Leeming  <leeming@lyx.org>
5796
5797         * lfuns.h:
5798         * LyXAction.C (init): new LFUN_INSET_INSERT.
5799
5800         * BufferView_pimpl.C (dispatch): split out part of the
5801         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5802
5803         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5804         LFUN_INSET_APPLY.
5805
5806 2003-03-25  Angus Leeming  <leeming@lyx.org>
5807
5808         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5809
5810 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5811
5812         * text2.C:
5813         * text3.C: remove useless row->height(0)
5814
5815 2003-03-25  John Levon  <levon@movementarian.org>
5816
5817         * lyxtext.h:
5818         * text2.C:
5819         * text3.C: rename the refreshing stuff to better names
5820
5821 2003-03-24  John Levon  <levon@movementarian.org>
5822
5823         * BufferView_pimpl.h:
5824         * BufferView_pimpl.C: update layout choice on a mouse
5825         press/release
5826
5827 2003-03-23  John Levon  <levon@movementarian.org>
5828
5829         * Makefile.am: fix commandtags.h reference
5830
5831 2003-03-22  John Levon  <levon@movementarian.org>
5832
5833         * BufferView_pimpl.C:
5834         * lyxtext.h:
5835         * rowpainter.C:
5836         * rowpainter.h:
5837         * text.C:
5838         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5839
5840 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5841
5842         * lyxtext.h:
5843         * text.C: take the rtl methods out of line
5844
5845 2003-03-21 André Pönitz <poenitz@gmx.net>
5846
5847         * metricsinfo.[Ch]: new files containing structures to be passed around
5848         during the two-phase-drawing...
5849
5850 2003-03-21 André Pönitz <poenitz@gmx.net>
5851
5852         * lyxtextclass.C: read 'environment' tag.
5853
5854 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5855
5856         * text2.C (removeRow): fix bug 964
5857
5858 2003-03-20  John Levon  <levon@movementarian.org>
5859
5860         * rowpainter.C:
5861         * text.C:
5862         * text2.C: paint cleanups. Inset::update() dropped font
5863         parameter
5864
5865 2003-03-19  John Levon  <levon@movementarian.org>
5866
5867         * lyxfunc.C: only fitcursor/markDirty if available()
5868
5869 2003-03-19  John Levon  <levon@movementarian.org>
5870
5871         * commandtags.h: rename to ...
5872
5873         * lfuns.h: ... this, and renumber / cleanup
5874
5875 2003-03-19  John Levon  <levon@movementarian.org>
5876
5877         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5878         fit the cursor after an lfun
5879
5880         * BufferView.h:
5881         * BufferView.C:
5882         * BufferView_pimpl.h:
5883         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5884
5885         * LyXAction.C: layout-character should have ReadOnly
5886
5887         * ParagraphParameters.C:
5888         * buffer.C:
5889         * bufferview_funcs.C:
5890         * lyx_cb.C:
5891         * lyxfind.C:
5892         * lyxtext.h:
5893         * text.C:
5894         * text2.C:
5895         * text3.C:
5896         * undo_funcs.C: changes from above
5897
5898 2003-03-18  John Levon  <levon@movementarian.org>
5899
5900         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5901         remove it from update()
5902
5903         * lyxfunc.C: update layout choice after an lfun
5904
5905         * text3.C: remove extra updateLayoutChoice()s
5906
5907 2003-03-18  John Levon  <levon@movementarian.org>
5908
5909         * text.C: top_y change means full repaint, fix
5910         a drawing bug with cursor movement
5911
5912 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5913
5914         * lyxtext.h:
5915         * text.C:
5916         * text2.C: anchor row on setCursor
5917
5918 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5919
5920         * lyxtext.h: remove almost all mutable keywords
5921         * text.C:
5922         * text2.C:
5923         * text3.C: remove const keywords accordingly
5924
5925 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5926
5927         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5928         anon namespace
5929         (TeXEnvironment): ditto
5930         (TeXOnePar): ditto
5931
5932 2003-03-17  John Levon  <levon@movementarian.org>
5933
5934         * text.C (rowBreakPoint): remove attempt to fix displayed
5935         math insets inside a manual label
5936
5937 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5938
5939         * lyxtext.h: remove BufferView* as first arg from almost all class
5940         functions.
5941         * other files: adjust.
5942
5943 2003-03-17  John Levon  <levon@movementarian.org>
5944
5945         * lyxtext.h:
5946         * undo_funcs.C:
5947         * text2.C: more paint cleanups
5948
5949         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5950
5951         * rowpainter.h:
5952         * rowpainter.C: remove "smart" background painting code
5953
5954 2003-03-16  John Levon  <levon@movementarian.org>
5955
5956         * lyxtext.h:
5957         * text.C:
5958         * text2.C:
5959         * text3.C: add helper functions for setting refresh_row/y
5960
5961 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5962
5963         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5964         newline inset which *can* get inserted in the pass_thru layouts.
5965         This is primarily for literate documents.
5966
5967 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5968
5969         * buffer.C: increment LYX_FORMAT to 223
5970
5971 2003-03-14 André Pönitz <poenitz@gmx.net>
5972
5973         * textclass.h: prepare for environment handling, ws changes
5974         * lyxlayout.C: read latexheader and latexfooter tags
5975
5976 2003-03-14  John Levon  <levon@movementarian.org>
5977
5978         * text2.C: rewrite ::status() a bit
5979
5980 2003-03-13  John Levon  <levon@movementarian.org>
5981
5982         * lyxtext.h: add some docs
5983
5984 2003-03-13  John Levon  <levon@movementarian.org>
5985
5986         * lyxtext.h:
5987         * text.C:
5988         * text2.C:
5989         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5990
5991 2003-03-13  John Levon  <levon@movementarian.org>
5992
5993         * text3.C: fix appendix redrawing
5994
5995 2003-03-13  John Levon  <levon@movementarian.org>
5996
5997         * text.C (setHeightOfRow):
5998         * rowpainter.h:
5999         * rowpainter.C: make appendix mark have the text
6000           "Appendix" so the user knows what it is
6001
6002         * LColor.h:
6003         * LColor.C: s/appendixline/appendix/ from above
6004
6005 2003-03-13  John Levon  <levon@movementarian.org>
6006
6007         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6008
6009         * text.C: fix a getChar(pos) bug properly
6010
6011 2003-03-13  Angus Leeming  <leeming@lyx.org>
6012
6013         * commandtags.h:
6014         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6015         Probably only temporary. Let's see how things pan out.
6016
6017         * BufferView.C (unlockInset):
6018         * BufferView_pimpl.C (fitCursor):
6019         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6020
6021         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6022         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6023
6024         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6025         new functions that convert ParagraphParameters to and from a string.
6026
6027         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6028         BufferView::Pimpl's dispatch.
6029         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6030
6031 2003-03-13 André Pönitz <poenitz@gmx.net>
6032
6033         * lyxfunc.C:
6034         * text3.C:
6035         * factory.C: make it aware of InsetEnv
6036
6037 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6038
6039         * text2.C (setCursor): never ask for one past last
6040         (setCursor): add some debugging messages.
6041
6042         * text.C (singleWidth): never ask for one past last
6043         (singleWidth): ditto
6044         (leftMargin): ditto
6045         (rightMargin): ditto
6046         (rowBreakPoint): ditto
6047         (setHeightOfRow): ditto
6048         (prepareToPrint): ditto
6049
6050         * rowpainter.C (paintBackground): never ask for one past last
6051         (paintText): never ask for one past last
6052
6053         * paragraph_pimpl.C (getChar): make the assert stricter, never
6054         allow the one past last pos to be taken
6055
6056         * paragraph.C (getChar): ws changes only
6057
6058         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6059         (numberOfSeparators): ditto
6060         (numberOfHfills): ditto
6061
6062 2003-03-12  John Levon  <levon@movementarian.org>
6063
6064         * author.h:
6065         * author.C:
6066         * bufferparams.h:
6067         * bufferparams.C:
6068         * paragraph_funcs.C: fix per-buffer authorlists
6069
6070 2003-03-12  John Levon  <levon@movementarian.org>
6071
6072         * text.C: fix newline in right address
6073
6074 2003-03-12  Angus Leeming  <leeming@lyx.org>
6075
6076         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6077         duplicate those in LyXFunc::dispatch.
6078
6079         * commandtags.h:
6080         * LyXAction.C:
6081         * ToolbarDefaults.C:
6082         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6083         Add LFUN_FONTFREE_UPDATE.
6084
6085         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6086         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6087
6088         * bufferview_func.[Ch]: several new functions to facilliate
6089         transfer of data to and from the character dialog.
6090
6091 2003-03-12  John Levon  <levon@movementarian.org>
6092
6093         * buffer.C:
6094         * paragraph.h:
6095         * paragraph.C:
6096         * paragraph_funcs.C:
6097         * paragraph_pimpl.C:
6098         * sgml.C:
6099         * tabular.C:
6100         * text.C:
6101         * text3.C: remove META_NEWLINE in favour of an inset
6102
6103         * rowpainter.h:
6104         * rowpainter.C: remove paintNewline (done by inset)
6105
6106 2003-03-12  John Levon  <levon@movementarian.org>
6107
6108         * paragraph_pimpl.C: complain about bad getChar()s
6109         for a while at least
6110
6111 2003-03-12  John Levon  <levon@movementarian.org>
6112
6113         * buffer.h:
6114         * buffer.C: move paragraph read into a separate function,
6115         a little renaming to reflect that.
6116
6117         * bufferparams.h:
6118         * bufferparams.C: remove the author_ids map, not necessary now
6119
6120         * factory.h:
6121         * factory.C: moved Buffer::readInset to here
6122
6123         * paragraph_funcs.h:
6124         * paragraph_funcs.C: readParagraph free function moved from
6125         buffer.C
6126
6127         * tabular.C: name change
6128
6129 2003-03-12  John Levon  <levon@movementarian.org>
6130
6131         * buffer.C:
6132         * ParagraphParameters.C: move par params input to
6133         a read() method
6134
6135         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6136         behave like a normal read from the stream wrt reading
6137         a line vs. a \\token
6138
6139 2003-03-12  John Levon  <levon@movementarian.org>
6140
6141         * paragraph.C:
6142         * ParagraphParameters.h:
6143         * ParagraphParameters.C: move output code to a
6144         ::write() method
6145
6146 2003-03-12  John Levon  <levon@movementarian.org>
6147
6148         * BufferView.C (insertLyXFile):
6149         * buffer.h:
6150         * buffer.C:
6151         * tabular.C: use a parlist iterator for creating the
6152           document.
6153
6154 2003-03-12  John Levon  <levon@movementarian.org>
6155
6156         * buffer.C: make current_change static local not
6157           static file-scope
6158
6159 2003-03-12  John Levon  <levon@movementarian.org>
6160
6161         * buffer.C: fix insertStringAsLines for change tracking
6162
6163 2003-03-12  John Levon  <levon@movementarian.org>
6164
6165         * BufferView.C:
6166         * tabular.C:
6167         * buffer.h:
6168         * buffer.C:
6169         * bufferparams.h:
6170         * bufferparams.C: move author list into params. Rename some
6171           functions. Move the header reading into a separate token
6172           loop. Move the header token reading into BufferParams.
6173
6174 2003-03-12  John Levon  <levon@movementarian.org>
6175
6176         * changes.C: put debug inside lyxerr.debugging() checks
6177
6178 2003-03-11 André Pönitz <poenitz@gmx.net>
6179
6180         * factory.C: make it aware of InsetHFill
6181
6182 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6183
6184         * buffer.C (latexParagraphs): move function from here...
6185         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6186         args.
6187
6188 2003-03-10  Angus Leeming  <leeming@lyx.org>
6189
6190         * LyXAction.C (init): fix bug in poplating array with multiple entries
6191         with the same LFUN (spotted by JMarc).
6192
6193 2003-03-10  John Levon  <levon@movementarian.org>
6194
6195         * text.C:
6196         * text2.C: move getColumnNearX() near its
6197         only call site
6198
6199 2003-03-10  John Levon  <levon@movementarian.org>
6200
6201         * text.C: fix break before a minipage
6202
6203 2003-03-10  John Levon  <levon@movementarian.org>
6204
6205         * text.C: fix the last commit
6206
6207 2003-03-09  John Levon  <levon@movementarian.org>
6208
6209         * lyxtext.h:
6210         * text.C:
6211         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6212         bug 365 (don't break before insets unless needed). Don't
6213         return a value > last under any circumstances.
6214
6215 2003-03-09  Angus Leeming  <leeming@lyx.org>
6216
6217         * BufferView_pimpl.C (trackChanges, dispatch): call
6218         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6219
6220 2003-03-09  Angus Leeming  <leeming@lyx.org>
6221
6222         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6223         than Dialogs::showAboutlyx().
6224
6225 2003-03-09  Angus Leeming  <leeming@lyx.org>
6226
6227         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6228         than Dialogs::showTabularCreate().
6229
6230 2003-03-09  John Levon  <levon@movementarian.org>
6231
6232         * lyxtext.h:
6233         * text.C:
6234         * text2.C: 3rd arg to nextBreakPoint was always the same.
6235           Use references.
6236
6237 2003-03-08  John Levon  <levon@movementarian.org>
6238
6239         * lyxrow.C:
6240         * paragraph.C:
6241         * paragraph.h:
6242         * rowpainter.C:
6243         * text.C:
6244         * text2.C: Remove the "main" bit from the "main body"
6245           notion.
6246
6247 2003-03-08  John Levon  <levon@movementarian.org>
6248
6249         * text.C (leftMargin): The left margin of an empty
6250         manual label paragraph should not include the label width
6251         string length.
6252
6253         * text.C (prepareToPrint): don't attempt to measure hfills
6254         for empty manual label paragraphs - the answer should be 0
6255
6256 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6257
6258         * CutAndPaste.C: remove commented code and reindent.
6259
6260 2003-03-08  John Levon  <levon@movementarian.org>
6261
6262         * lyxfunc.h:
6263         * lyxfunc.C: move reloadBuffer()
6264
6265         * BufferView.h:
6266         * BufferView.C: to here
6267
6268         * lyxvc.C: add comment
6269
6270         * vc-backend.h:
6271         * vc-backend.C: call bv->reload() to avoid
6272           getStatus() check on MENURELOAD
6273
6274 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6275
6276         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6277         to an old format .dep file.
6278
6279 2003-03-07  Angus Leeming  <leeming@lyx.org>
6280
6281         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6282         when the LFUN_MOUSE_RELEASE should have been handled by
6283         inset->localDispatch.
6284
6285 2003-03-07  Angus Leeming  <leeming@lyx.org>
6286
6287         * BufferView_pimpl.C (dispatch):
6288         * LyXAction.C (init):
6289         * ToolbarDefaults.C (init):
6290         * commandtags.h:
6291         * lyxfunc.C (getStatus):
6292         remove LFUN_INSET_GRAPHICS.
6293
6294         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6295
6296 2003-03-07  Angus Leeming  <leeming@lyx.org>
6297
6298         * commandtags.h:
6299         * LyXAction.C (init):
6300         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6301
6302         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6303
6304         * commandtags.h:
6305         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6306
6307         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6308         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6309
6310 2003-03-07  Angus Leeming  <leeming@lyx.org>
6311
6312         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6313         remove "ert".
6314
6315 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6316
6317         * ParagraphList.C (front): new function
6318         (back): implement
6319
6320 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6321
6322         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6323         and top_row_offset_. removed var first_y.
6324         * text.C (top_y):
6325         * text2.C (LyXText, removeRow):
6326         * text3.C:
6327         * BufferView_pimpl.C:
6328         use these methods instead of using first_y
6329
6330 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6331
6332         * text2.C (pasteSelection): adjust for checkPastePossible
6333
6334         * CutAndPaste.C: remove Paragraph * buf and replace with
6335         ParagraphList paragraphs.
6336         (DeleteBuffer): delete
6337         (cutSelection): change the tc type to textclass_type
6338         (copySelection): change the tc type to textclass_type
6339         (copySelection): adjust for ParagraphList
6340         (pasteSelection): change the tc type to textclass_type
6341         (pasteSelection): adjust for Paragraphlist
6342         (nrOfParagraphs): simplify for ParagraphList
6343         (checkPastePossible): simplify for ParagraphList
6344         (checkPastePossible): remove unused arg
6345
6346         * ParagraphList.C (insert): handle the case where there are no
6347         paragraphs yet.
6348
6349         * CutAndPaste.h: make CutAndPaste a namespace.
6350
6351         * text3.C (dispatch): adjust
6352
6353         * text.C (breakParagraph): add a ParagraphList as arg
6354
6355         * paragraph_funcs.C (breakParagraph): change to take a
6356         BufferParams and a ParagraphList as args.
6357         (breakParagraphConservative): ditto
6358         (mergeParagraph): ditto
6359         (TeXDeeper): add a ParagraphList arg
6360         (TeXEnvironment): ditto
6361         (TeXOnePar): ditto
6362
6363         * buffer.C (readLyXformat2): adjust
6364         (insertStringAsLines): adjust
6365         (latexParagraphs): adjust
6366
6367         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6368         (cutSelection): adjust
6369         (pasteSelection): adjust
6370
6371         * BufferView_pimpl.C (insertInset): adjust
6372
6373 2003-03-05  Angus Leeming  <leeming@lyx.org>
6374
6375         * commandtags.h:
6376         * LyXAction.C (init):
6377         * BufferView_pimpl.C (dispatch):
6378         * lyxfunc.C (getStatus):
6379         remove LFUN_CHILD_INSERT.
6380
6381         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6382
6383 2003-03-05  Angus Leeming  <leeming@lyx.org>
6384
6385         * commandtags.h:
6386         * LyXAction.C (init):
6387         * src/factory.C (createInset):
6388         * lyxfunc.C (getStatus):
6389         * text3.C (dispatch):
6390         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6391
6392         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6393
6394 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6395
6396         * ParagraphList.C (insert): handle insert right before end()
6397         (erase): fix cases where it can be first or last paragraph.
6398
6399 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6400
6401         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6402         Paragraph::next and Paragraph::previous
6403         (TeXOnePar): ditto
6404
6405         * text.C (breakParagraph): adjust
6406
6407         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6408         BufferParams& as arg.
6409         (breakParagraph): use ParagraphList::insert
6410         (breakParagraphConservative): take a Buffer* instead of a
6411         BufferParams& as arg.
6412         (breakParagraphConservative): use ParagraphList::insert.
6413
6414         * buffer.C (insertStringAsLines): un-const it
6415         (insertStringAsLines): adjust
6416
6417         * ParagraphList.C (insert): new function
6418
6419         * CutAndPaste.C (pasteSelection): adjust
6420
6421         * text.C (backspace): adjust
6422
6423         * tabular.C (SetMultiColumn): adjust
6424
6425         * CutAndPaste.C (cutSelection): adjust
6426         (pasteSelection): adjust
6427
6428         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6429         Buffer const * as arg
6430
6431         * ParagraphList.C (erase): new function
6432         * paragraph_funcs.C (mergeParagraph): use it
6433         (mergeParagraph): make it take a Buffer* instead of a
6434         BufferParams* as arg
6435
6436         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6437         as arg
6438         (breakParagraphConservative): ditto
6439
6440         * paragraph.h: remove the breakParagraph friend
6441
6442         * paragraph.C (eraseIntern): new function
6443         (setChange): new function
6444
6445         * paragraph_funcs.C (mergeParagraph): make it take a
6446         ParagraphList::iterator instead of a Paragraph *, adjust
6447         accordingly.
6448
6449         * paragraph.h: move an #endif so that the change tracking stuff
6450         also works in the NO_NEXT case.
6451
6452 2003-03-04  Angus Leeming  <leeming@lyx.org>
6453
6454         * commandtags.h:
6455         * LyXAction.C: new LFUN_INSET_MODIFY.
6456
6457         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6458         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6459
6460 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6461
6462         * several files: ws changes only
6463
6464         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6465         (TeXEnvironment): ditto
6466         (TeXDeeper): ditto
6467
6468         * buffer.C (makeLaTeXFile): adjust
6469         (latexParagraphs): make it take ParagraphList::iterator as args
6470
6471 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6472
6473         * buffer.C (latexParagraphs): adjust
6474
6475         * paragraph.C (TeXOnePar): move function...
6476         (optArgInset): move function...
6477         (TeXEnvironment): move function...
6478         * paragraph_pimpl.C (TeXDeeper): move function...
6479         * paragraph_funcs.C: ...here
6480
6481         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6482
6483 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6484
6485         * buffer.C (readInset): remove compability code for old Figure and
6486         InsetInfo insets
6487
6488 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6489
6490         * buffer.C: ws changes
6491         (readInset):
6492
6493         * BufferView_pimpl.C: ditto
6494         * author.C: ditto
6495         * buffer.h: ditto
6496         * bufferlist.h: ditto
6497         * changes.h: ditto
6498         * lyxfunc.C: ditto
6499
6500 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6501
6502         * converter.[Ch]: split into itself +
6503         * graph.[Ch]
6504         * format.[Ch]
6505         * Makefile.am: += graph.[Ch] + format.[Ch]
6506         * MenuBackend.C
6507         * buffer.C
6508         * exporter.C
6509         * importer.C
6510         * lyx_main.C
6511         * lyxfunc.C
6512         * lyxrc.C: added #include "format.h"
6513
6514 2003-02-27  Angus Leeming  <leeming@lyx.org>
6515
6516         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6517           a label.
6518
6519         * factory.C (createInset): add "label" to the factory.
6520
6521         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6522           string and do no more.
6523
6524 2003-02-27  Angus Leeming  <leeming@lyx.org>
6525
6526         * commandtags.h:
6527         * LyXAction.C (init):
6528         * factory.C (createInset):
6529         * BufferView_pimpl.C (dispatch):
6530           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6531
6532         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6533
6534         * lyxfunc.C (dispatch):
6535         * text3.C (dispatch): pass name to params2string.
6536
6537 2003-02-26  Angus Leeming  <leeming@lyx.org>
6538
6539         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6540           blocks together.
6541           Rearrange the ~includes. Strip out the unnecessary ones.
6542
6543         * factory.C (createInset): reformat.
6544           create new insets for the various LFUN_XYZ_APPLY lfuns.
6545
6546 2003-02-26  John Levon  <levon@movementarian.org>
6547
6548         * lyxrow.h:
6549         * lyxrow.C: add isParStart,isParEnd helpers
6550
6551         * paragraph.h: make isInserted/DeletedText take refs
6552
6553         * paragraph_funcs.h:
6554         * paragraph_funcs.C: remove #if 0'd code
6555
6556         * lyxtext.h:
6557         * text3.C:
6558         * text2.C:
6559         * text.C: use lyxrow helpers above.
6560           Move draw and paint routines to RowPainter.
6561           Make several methods use refs not pointers.
6562           Make backgroundColor() const.
6563           Add markChangeInDraw(), isInInset().
6564           Merge changeRegionCase into changeCase.
6565           Make workWidth() shouldn't-happen code into an Assert.
6566
6567         * rowpainter.h:
6568         * rowpainter.C: new class for painting a row.
6569
6570         * vspace.h:
6571         * vspace.C: make inPixels take a ref
6572
6573 2003-02-26  Angus Leeming  <leeming@lyx.org>
6574
6575         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6576         LFUN_REF_APPLY.
6577
6578 2003-02-25  John Levon  <levon@movementarian.org>
6579
6580         * ispell.C: give the forked command a more accurate name
6581
6582 2003-02-22  John Levon  <levon@movementarian.org>
6583
6584         * toc.h:
6585         * toc.C: make TocItem store an id not a Paragraph *
6586           (bug #913)
6587
6588 2003-02-21  Angus Leeming  <leeming@lyx.org>
6589
6590         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6591           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6592           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6593           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6594           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6595           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6596
6597         * BufferView_pimpl.C (dispatch):
6598         * LyXAction.C (init):
6599         * factory.C (createInset):
6600         * lyxfunc.C (getStatus, dispatch):
6601         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6602
6603 2003-02-21  Angus Leeming  <leeming@lyx.org>
6604
6605         * BufferView_pimpl.C (MenuInsertLyXFile):
6606         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6607         * lyxfunc.C (menuNew, open, doImport):
6608           no longer pass a LyXView & to fileDlg.
6609
6610 2003-02-21  Angus Leeming  <leeming@lyx.org>
6611
6612         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6613         * LyXAction.C: change, BIBKEY to BIBITEM.
6614         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6615         Change InsetBibKey to InsetBibitem.
6616         Change BIBKEY_CODE to BIBITEM_CODE.
6617         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6618         * factory.C: replace insetbib.h with insetbibitem.h.
6619         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6620         * paragraph.C: replace insetbib.h with insetbibitem.h.
6621         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6622         Change bibkey() to bibitem().
6623         * text.C: remove insetbib.h.
6624         * text2.C: replace insetbib.h with insetbibitem.h.
6625         change bibkey() to bibitem().
6626         * text3.C: remove insetbib.h.
6627         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6628
6629 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6630
6631         * lyxrc.C (output): enclose user email in quotes (in case there are
6632         several words)
6633
6634 2003-02-18  John Levon  <levon@movementarian.org>
6635
6636         * buffer.h: add std::
6637
6638 2003-02-17  John Levon  <levon@movementarian.org>
6639
6640         * SpellBase.h:
6641         * ispell.h:
6642         * ispell.C:
6643         * pspell.h:
6644         * pspell.C: reworking. Especially in ispell, a large
6645           number of clean ups and bug fixes.
6646
6647         * lyxfunc.C: fix revert to behave sensibly
6648
6649 2003-02-17 André Pönitz <poenitz@gmx.net>
6650
6651         * LyXAction.C:
6652         * commandtags.h: new LFUN_INSERT_BIBKEY
6653
6654         * layout.h:
6655         * lyxlayout.C:
6656         * buffer.C:
6657         * factory.C:
6658         * text.C:
6659         * text2.C:
6660         * text3.C:
6661         * paragraph.[Ch]:
6662         * paragraph_func.C: remove special bibkey handling
6663
6664 2003-02-17  John Levon  <levon@movementarian.org>
6665
6666         * text.C (Delete): fix case where delete at the end of
6667           the very first paragraph would not merge the pars
6668
6669 2003-02-17  John Levon  <levon@movementarian.org>
6670
6671         * lyxrow.C: fix lastPrintablePos()
6672
6673 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6674
6675         * bufferparams.C (writeLaTeX): add a std:here
6676
6677         * buffer.C: and remove a using directive there
6678
6679 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6680
6681         * buffer.C (makeLaTeXFile): move the code that generates the
6682           preamble...
6683
6684         * bufferparams.C (writeLaTeX): ... in this new method
6685
6686         * LaTeXFeatures.C (getEncodingSet): make const
6687           (getLanguages): make const
6688
6689         * MenuBackend.C (binding): returns the binding associated to this
6690           action
6691           (add): sets the status of each item by calling getStatus. Adds
6692           some intelligence.
6693           (read): add support for OptSubMenu
6694           (expand): remove extra separator at the end of expanded menu
6695
6696 2003-02-15  John Levon  <levon@movementarian.org>
6697
6698         * BufferView.C:
6699         * BufferView_pimpl.C:
6700         * bufferlist.h:
6701         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6702           inset code that had no actual effect. Remove unneeded status
6703           code.
6704
6705 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6706
6707         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6708           in preamble
6709
6710 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6711
6712         * text.C (drawLengthMarker): also draw an arrow marker for
6713           symbolic lengths (medskip...)
6714
6715 2003-02-14  John Levon  <levon@movementarian.org>
6716
6717         * tabular.h:
6718         * tabular.C: better method names
6719
6720 2003-02-14  John Levon  <levon@movementarian.org>
6721
6722         * BufferView_pimpl.C:
6723         * bufferlist.C:
6724         * buffer.C:
6725         * converter.C:
6726         * lyx_cb.C:
6727         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6728           it's a more accurate name. Remove some pointless uses.
6729
6730 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6731
6732         * text2.C (LyXText): change order of initilizers to shut off
6733           warnings
6734
6735 2003-02-14  John Levon  <levon@movementarian.org>
6736
6737         * buffer.C: use ParIterator for getParFromID()
6738
6739         * paragraph.h:
6740         * paragraph.C:
6741         * paragraph_pimpl.h:
6742         * paragraph_pimpl.C: remove unused getParFromID()
6743
6744 2003-02-14  John Levon  <levon@movementarian.org>
6745
6746         * buffer.C: remove some very old #if 0'd parse code
6747
6748 2003-02-13  John Levon  <levon@movementarian.org>
6749
6750         * text.h:
6751         * text.C:
6752         * text2.C: move hfillExpansion(), numberOfSeparators(),
6753           rowLast(), rowLastPrintable(), numberofHfills(),
6754           numberOfLabelHfills() ...
6755
6756         * lyxrow.h:
6757         * lyxrow.C: ... to member functions here.
6758
6759         * paragraph.h:
6760         * paragraph.C:
6761         * lyxtext.h:
6762         * text.C: remove LyXText::beginningOfMainBody(), and call
6763           p->beginningOfMainBody() directly. Move the check for
6764           LABEL_MANUAL into the latter.
6765
6766         * text.h:
6767         * text.C:
6768         * text2.C:
6769         * vspace.C:
6770         * BufferView.h:
6771         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6772
6773         * text.h:
6774         * text.C:
6775         * text2.C:
6776         * text3.C:
6777         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6778           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6779
6780 2003-02-13  John Levon  <levon@movementarian.org>
6781
6782         * CutAndPaste.C: remove debug
6783
6784 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6785
6786         * paragraph.C (asString): remove two unused variables
6787
6788         * lyxtextclass.C (readTitleType):
6789           (Read):
6790           (LyXTextClass): handle new members titletype_ and titlename_
6791
6792         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6793
6794 2003-02-09  John Levon  <levon@movementarian.org>
6795
6796         * buffer.h:
6797         * buffer.C: replace hand-coded list with a map for the dep clean
6798
6799 2003-02-08  John Levon  <levon@movementarian.org>
6800
6801         * LaTeX.C: consolidate code into showRunMessage() helper
6802
6803 2003-02-08  John Levon  <levon@movementarian.org>
6804
6805         * lyxfind.C:
6806         * lyxtext.h:
6807         * text2.C:
6808         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6809           and pass the size in explicitly
6810
6811         * BufferView_pimpl.h:
6812         * BufferView_pimpl.C:
6813         * BufferView.h:
6814         * BufferView.C: add getCurrentChange()
6815
6816         * BufferView_pimpl.h:
6817         * BufferView_pimpl.C: handle change lfuns
6818
6819         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6820           for changes. Mark pasted paragraphs as new.
6821
6822         * support/lyxtime.h:
6823         * support/lyxtime.C:
6824         * DepTable.C: abstract time_t as lyx::time_type
6825
6826         * LColor.h:
6827         * LColor.C: add colours for new text, deleted text, changebars
6828
6829         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6830           package use "usenames" option.
6831
6832         * commandtags.h:
6833         * lyxfunc.C:
6834         * LyXAction.C: add change lfuns
6835
6836         * Makefile.am:
6837         * author.h:
6838         * author.C: author handling
6839
6840         * buffer.h:
6841         * buffer.C: add a per-buffer author list, with first entry as
6842           current author. Handle new .lyx tokens for change tracking. Output
6843           author list to .lyx file. Output dvipost stuff to .tex preamble.
6844           Bump lyx format to 222.
6845
6846         * bufferlist.h:
6847         * bufferlist.C: add setCurrentAuthor() to reset current author details
6848           in all buffers.
6849
6850         * bufferparams.h:
6851         * bufferparams.C: add param for tracking
6852
6853         * bufferview_funcs.C: output change info in minibuffer
6854
6855         * Makefile.am:
6856         * changes.h:
6857         * changes.C: add change-tracking structure
6858
6859         * debug.h:
6860         * debug.C: add CHANGES debug flag
6861
6862         * lyxfind.h:
6863         * lyxfind.C: add code for finding the next change piece
6864
6865         * lyxrc.h:
6866         * lyxrc.C: add user_name and user_email
6867
6868         * lyxrow.h:
6869         * lyxrow.C: add a metric for the top of the text line
6870
6871         * lyxtext.h:
6872         * text.C: implement accept/rejectChange()
6873
6874         * lyxtext.h:
6875         * text.C: paint changebars. Paint new/deleted text in the chosen
6876         colours. Strike through deleted text.
6877
6878         * paragraph.h:
6879         * paragraph.C:
6880         * paragraph_pimpl.h:
6881         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6882           in the current change to the insert functions. Rework erase to
6883           mark text as deleted, adding an eraseIntern() and a range-based
6884           erase(). Implement per-paragraph change lookup and
6885           accept/reject.
6886
6887         * paragraph_funcs.C: Fixup paste for change tracking.
6888
6889         * tabular.C: mark added row/columns as new.
6890
6891         * text.C: fix rowLast() to never return -1. Don't allow
6892           spellchecking of deleted text. Track transpose changes. Don't
6893           allow paragraph break or merge where appropriate.
6894
6895         * text2.C: leave cursor at end of selection after a cut.
6896
6897 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6898
6899         * text.C (getLengthMarkerHeight):
6900         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6901         visible on screen too.
6902
6903 2003-02-07  John Levon  <levon@movementarian.org>
6904
6905         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6906
6907 2003-02-05  Angus Leeming  <leeming@lyx.org>
6908
6909         * lyxserver.C (read_ready): revert my patch of 11 September last year
6910         as it sends PC cpu through the roof. Presumably this means that
6911         the lyxserver will no longer run on an Alpha...
6912
6913 2003-01-30  Angus Leeming  <leeming@lyx.org>
6914
6915         * factory.C (createInset): create an InsetCommandParam of type "index"
6916         and use it to 'do the right thing'.
6917
6918         * text2.C (getStringToIndex): ensure that cursor position is always
6919         reset to the reset_cursor position.
6920
6921 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6922
6923         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6924         disabled.
6925
6926 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6927
6928         * bufferview.C:
6929         * lyxcb.C:
6930         * lyxfunc.C: Output messages with identical spelling, punctuation,
6931         and spaces
6932
6933 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6934
6935         * MenuBackend.C (expandFormats): List only viewable export formats
6936         in "View" menu
6937
6938         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6939         message
6940
6941         * lyxfunc.C (getStatus): Make sure that formats other than
6942         "fax" can also be disabled
6943
6944 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6945
6946         * text3.C (dispatch): put the lfuns that insert insets in 3
6947         groups, and call doInsertInset with appropriate arguments.
6948         (doInsertInset): new function, that creates an inset and inserts
6949         it according to some boolean parameters.
6950
6951 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6952
6953         * buffer.C (readFile): remember to pass on 'par' when calling
6954         readFile recursively.
6955
6956 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6957
6958         * MenuBackend.C (expandFormats): add "..." to import formats.
6959
6960 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6961
6962         * paragraph.C (asString): Remove XForms RTL hacks.
6963
6964 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6965         * buffer.C: fix typo
6966
6967 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6968
6969         * Makefile.am (LIBS): delete var
6970         (lyx_LDADD): add @LIBS@ here instead.
6971
6972 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6973
6974         * Clarify the meaning of "wheel mouse jump"
6975
6976 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6977
6978         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6979         tabular in a float
6980
6981 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6982
6983         * importer.C (Loaders): do not preallocate 3 elements in the
6984         vector, since one ends up with 6 elements otherwise
6985
6986 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6987
6988         * DepTable.C (write): write the file name as last element of the
6989         .dep file (because it may contain spaces)
6990         (read): read info in the right order
6991
6992 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6993
6994         * paragraph_pimpl.C (simpleTeXBlanks):
6995         (simpleTeXSpecialChars):
6996         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6997
6998         * tabular.C (latex): add some missing case statements. Reindent.
6999
7000         * MenuBackend.C (expandToc): remove unused variable.
7001
7002 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7003
7004         * LColor.C:
7005         * LaTeX.C:
7006         * LyXAction.C:
7007         * MenuBackend.C:
7008         * buffer.C:
7009         * exporter.C:
7010         * lyxfunc.C:
7011         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7012         and the like.
7013
7014 2003-01-05  John Levon  <levon@movementarian.org>
7015
7016         * BufferView.h:
7017         * BufferView.C: add getEncoding()
7018
7019         * kbsequence.h:
7020         * kbsequence.C: do not store last keypress
7021
7022         * lyxfunc.h:
7023         * lyxfunc.C: store last keypress here instead. Pass encoding
7024           to getISOEncoded()
7025
7026 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7027
7028         * lyx_main.C (init): remove annoying error message when following
7029         symbolic links (bug #780)
7030
7031 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7032
7033         * text.C (insertChar):
7034         * lyxrc.C (getDescription): remove extra spaces
7035
7036 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7037
7038         * lyxrc.C (getDescription): remove extra spaces
7039
7040 2002-12-20  John Levon  <levon@movementarian.org>
7041
7042         * text3.C: hack fix for page up/down across tall rows
7043
7044 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7045
7046         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7047         not been invoked
7048
7049 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7050
7051         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7052         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7053         thesaurus is not compiled in
7054
7055 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7056
7057         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7058
7059 2002-12-16  Angus Leeming  <leeming@lyx.org>
7060
7061         * lyxrc.[Ch]:
7062         * lyx_main.C (init): remove override_x_deadkeys stuff.
7063
7064 2002-12-12  John Levon  <levon@movementarian.org>
7065
7066         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7067           insert. Only remove shift modifier under strict
7068           circumstances.
7069
7070 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7071
7072         * MenuBackend.C (expandToc): fix crash.
7073
7074 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7075
7076         * MenuBackend.C (expandToc): gettext on float names.
7077
7078 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7079
7080         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7081         implement bool empty() [bug 490]
7082
7083 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7084
7085         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7086
7087 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7088
7089         * several files: ws changes
7090
7091 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7092
7093         * text2.C (setCounter): clean up a bit, use boost.format.
7094         (updateCounters): initialize par upon declaration.
7095
7096         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7097         if the layout exists. We do not just store the layout any more.
7098         (SwitchLayoutsBetweenClasses): use boost.format
7099
7100 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7101
7102         * converter.C (convert): if from and to files are the same, use a
7103         temporary files as intermediary
7104
7105 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7106
7107         * commandtags.h:
7108         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7109
7110 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7111
7112         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7113
7114 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7115
7116         * tabular.C (asciiPrintCell): use string(size, char) instead of
7117         explicit loop.
7118
7119         * sgml.C (openTag): fix order of arguments to string constructor
7120         (closeTag): ditto
7121
7122         * lyxfunc.C (dispatch): use boost.format
7123
7124         * lots of files: change "c" -> 'c'
7125
7126 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7127
7128         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7129
7130 2002-11-25  Angus Leeming  <leeming@lyx.org>
7131
7132         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7133
7134         * lyx_main.C (init): compile fix.
7135
7136 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7137
7138         * lyx_cb.C (start): boost.formatify
7139         do not include <iostream>
7140
7141         * lengthcommon.C: ws only
7142
7143         * boost-inst.C,BoostFormat.h: add more explict instantations
7144
7145 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7146
7147         * lots of files: handle USE_BOOST_FORMAT
7148
7149 2002-11-21  John Levon  <levon@movementarian.org>
7150
7151         * pspell.C: fix compile
7152
7153 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7154
7155         * lyxfunc.C (dispatch): use boost::format
7156         (open): ditto
7157         (doImport): ditto
7158
7159         * lyxfont.C (stateText): use boost::format
7160
7161         * lyx_main.C (LyX): use boost::format
7162         (init): ditto
7163         (queryUserLyXDir): ditto
7164         (readRcFile): ditto
7165         (parse_dbg): ditto
7166         (typedef boost::function): use the recommened syntax.
7167
7168         * importer.C (Import): use boost::format
7169
7170         * debug.C (showLevel): use boost::format
7171
7172         * converter.C (view): use boost::format
7173         (convert): ditto
7174         (move): ditto
7175         (scanLog): ditto
7176
7177         * bufferview_funcs.C (currentState): use boost::format
7178
7179         * bufferlist.C (emergencyWrite): use boost::format
7180
7181         * buffer.C (readLyXformat2): use boost::format
7182         (parseSingleLyXformat2Token): ditto
7183
7184         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7185
7186         * LaTeX.C (run): use boost::format
7187
7188         * Chktex.C (scanLogFile): use boost::format
7189
7190         * BufferView_pimpl.C (savePosition): use boost::format
7191         (restorePosition): ditto
7192         (MenuInsertLyXFile): ditto
7193
7194         * BoostFormat.h: help file for explicit instation.
7195
7196 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7197
7198         * tabular.C (latex): Support for block alignment in fixed width
7199         columns.
7200
7201 2002-11-17  John Levon  <levon@movementarian.org>
7202
7203         * BufferView_pimpl.C:
7204         * lyx_cb.C:
7205         * lyxfunc.C: split filedialog into open/save
7206
7207 2002-11-08  Juergen Vigna  <jug@sad.it>
7208
7209         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7210         by my last patch (hopefully).
7211
7212 2002-11-08  John Levon  <levon@movementarian.org>
7213
7214         * iterators.h:
7215         * iterators.C:
7216         * buffer.h:
7217         * buffer.C:
7218         * paragraph.h:
7219         * paragraph.C:
7220         * toc.h:
7221         * toc.C: ParConstIterator, and use it (from Lars)
7222
7223 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7224
7225         * lyxtextclass.[Ch]: revise and add doxygen comments
7226
7227 2002-11-07  John Levon  <levon@movementarian.org>
7228
7229         * text.C: fix progress value for spellchecker
7230
7231         * toc.C: fix navigate menu for insetwrap inside minipage
7232
7233         * paragraph_funcs.C: added FIXME for suspect code
7234
7235 2002-11-07  John Levon  <levon@movementarian.org>
7236
7237         * BufferView_pimpl.C: fix redrawing of insets
7238           on buffer switch
7239
7240 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7241
7242         * text2.C (updateCounters): fix bug 668
7243
7244 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7245
7246         * text3.C (dispatch): Do not make the buffer dirty when moving the
7247         cursor.
7248
7249 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7250
7251         * vc-backend.C: STRCONV
7252         (scanMaster): ditto
7253
7254         * text2.C (setCounter): STRCONV
7255
7256         * paragraph.C (asString): STRCONV
7257
7258         * lyxlength.C (asString): STRCONV
7259         (asLatexString): ditto
7260
7261         * lyxgluelength.C (asString): STRCONV
7262         (asLatexString): ditto
7263
7264         * lyxfunc.C (dispatch): STRCONV
7265         (open): ditto
7266
7267         * lyxfont.C (stateText): STRCONV
7268
7269         * importer.C (Import): STRCONV
7270
7271         * counters.C (labelItem): STRCONV
7272         (numberLabel): ditto
7273         (numberLabel): remove unused ostringstream o
7274
7275         * chset.C: STRCONV
7276         (loadFile): ditto
7277
7278         * bufferview_funcs.C (currentState): STRCONV
7279
7280         * buffer.C (readFile): STRCONV
7281         (asciiParagraph): ditto
7282         (makeLaTeXFile): ditto
7283
7284         * Spacing.C (writeEnvirBegin): STRCONV
7285
7286         * LaTeXFeatures.C (getLanguages): STRCONV
7287         (getPackages): ditto
7288         (getMacros): ditto
7289         (getBabelOptions): ditto
7290         (getTClassPreamble): ditto
7291         (getLyXSGMLEntities): ditto
7292         (getIncludedFiles): ditto
7293
7294         * LaTeX.C: STRCONV
7295         (run): ditto
7296         (scanAuxFile): ditto
7297         (deplog): ditto
7298
7299         * LString.h: add the STRCONV macros
7300
7301         * BufferView_pimpl.C (savePosition): STRCONV
7302         (restorePosition): ditto
7303         (MenuInsertLyXFile): ditto
7304
7305         * vc-backend.C (scanMaster): change from submatch[...] to
7306         submatch.str(...)
7307
7308         * funcrequest.C: include config.h
7309
7310         * factory.C: include config.h
7311
7312         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7313
7314         * box.C: include config.h
7315
7316         * LaTeX.C (scanAuxFile): change from submatch[...] to
7317         submatch.str(...)
7318         (deplog): ditto
7319
7320 2002-10-25  Angus Leeming  <leeming@lyx.org>
7321
7322         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7323
7324         * ispell.[Ch] (setError): new method.
7325         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7326         Use setError() insetead of goto END.
7327
7328         * lyx_cb.C (AutoSave): move out child process into new class
7329         AutoSaveBuffer.
7330
7331 2002-10-30  John Levon  <levon@movementarian.org>
7332
7333         * text3.C: make start appendix undoable
7334
7335 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7336
7337         * lyxlength.C (inPixels): Fix returned value.
7338
7339         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7340         environment.
7341
7342 2002-10-24  Angus Leeming  <leeming@lyx.org>
7343
7344         * lyxgluelength.h: no need to forward declare BufferParams
7345         or BufferView, so don't.
7346
7347 2002-10-21  John Levon  <levon@movementarian.org>
7348
7349         * BufferView.C: menuUndo ->undo, redo
7350
7351         * BufferView.h: document, remove dead, make some methods private
7352
7353         * paragraph_funcs.h:
7354         * paragraph_funcs.C:
7355         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7356
7357         * buffer.h:
7358         * buffer.C:
7359         * sgml.h:
7360         * sgml.C: move sgml open/close tag into sgml.C
7361
7362         * bufferview_funcs.h: unused prototype
7363
7364         * lyxfunc.h:
7365         * lyxfunc.C: remove unused
7366
7367         * lyxtext.h:
7368         * text.C: remove unused
7369
7370 2002-10-21  John Levon  <levon@movementarian.org>
7371
7372         * BufferView.h:
7373         * BufferView.C:
7374         * BufferView_pimpl.h:
7375         * BufferView_pimpl.C: fix mouse wheel handling based on
7376           patch from Darren Freeman
7377
7378 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7379
7380         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7381
7382 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7383
7384         * lyxlength.C (inPixels): Fix hanfling of negative length.
7385         Fix LyXLength::MU case.
7386
7387 2002-10-16  John Levon  <levon@movementarian.org>
7388
7389         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7390
7391 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7392
7393         * converter.C (view): add support for $$i (file name) and $$p
7394         (file path) for the viewer command. If $$i is not specified, then
7395         it is appended to the command (for compatibility with old syntax)
7396
7397 2002-10-14  Juergen Vigna  <jug@sad.it>
7398
7399         * undo_funcs.C (textHandleUndo): alter the order in which the
7400         new undopar is added to the LyXText, as we have to set first
7401         the right prev/next and then add it as otherwise the rebuild of
7402         LyXText is not correct. Also reset the cursor to the right paragraph,
7403         with this IMO we could remove the hack in "redoParagraphs()".
7404
7405 2002-10-09  Angus Leeming  <leeming@lyx.org>
7406
7407         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7408         to turn off an optimisation if a new inset is to be inserted.
7409
7410 2002-10-11 André Pönitz <poenitz@gmx.net>
7411
7412         * lyxtext.h: make some functions public to allow access
7413         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7414
7415 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7416
7417         * text3.C (dispatch): when changing layout, avoid an infinite loop
7418         [bug #652]
7419
7420 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7421
7422         * lyxrc.C (read): treat a viewer or converter command of "none" as
7423         if it were empty.
7424
7425         * MenuBackend.C (expandFormats): for an update, also allow the
7426         formats that are not viewable
7427
7428         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7429         script if it is newer than the lyxrc.defaults in user directory
7430
7431 2002-10-07 André Pönitz <poenitz@gmx.net>
7432
7433         * text.C: Vitaly Lipatov's small i18n fix
7434
7435 2002-09-25  Angus Leeming  <leeming@lyx.org>
7436
7437         * ispell.h: doxygen fix.
7438
7439 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7440
7441         * buffer.h (readFile): Add a new argument to the method, to allow
7442         reading of old-format templates.
7443
7444 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7445
7446         * toc.C (getTocList): Get TOC from InsetWrap.
7447
7448 2002-09-16  John Levon  <levon@movementarian.org>
7449
7450         * lyxfunc.C: check tabular for cut/copy too
7451
7452 2002-09-12  John Levon  <levon@movementarian.org>
7453
7454         * LyXAction.C: tidy
7455
7456         * factory.h:
7457         * factory.C: add header
7458
7459         * paragraph_funcs.h:
7460         * paragraph_funcs.C: cleanup
7461
7462 2002-09-11  John Levon  <levon@movementarian.org>
7463
7464         * PrinterParams.h: odd/even default to true
7465
7466 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7467
7468         * PrinterParams.h: update printer parameters for new xforms dialog
7469
7470 2002-09-11  Angus Leeming  <leeming@lyx.org>
7471
7472         * lyxserver.C (read_ready): re-write to make it more transparent
7473         and to make it work in coherent fashion under Tru64 Unix.
7474
7475 2002-09-11  André Pönitz <poenitz@gmx.net>
7476
7477         * commandtags.h:
7478         * LyXAction.C:
7479         * text3.C: implement LFUN_WORDSEL
7480
7481 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7482
7483         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7484         make floatlist_ a boost::shared_ptr<FloatList>
7485
7486         * lyxtextclass.C: include FloatList.h
7487         (LyXTextClass): initialize floatlist_
7488         (TextClassTags): add TC_NOFLOAT
7489         (Read): match "nofloat" to TC_NOFLOAT and use it.
7490         (readFloat): modify call to floatlist_
7491         (floats): ditto
7492         (floats): ditto
7493
7494         * FloatList.[Ch] (FloatList): remove commented out float
7495         initialization.
7496         (erase): new function
7497
7498 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7499
7500         * MenuBackend.C (expandToc): fix crash when there is no document
7501         open
7502
7503 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7504
7505         * many files: Add insetwrap.
7506
7507 2002-09-09  John Levon  <levon@movementarian.org>
7508
7509         * text2.C: remove confusing and awkward depth wraparound
7510
7511 2002-09-09  John Levon  <levon@movementarian.org>
7512
7513         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7514
7515         * buffer.h:
7516         * buffer.C: remove getIncludeonlyList()
7517
7518         * paragraph.C:
7519         * lyxfunc.C: remove headers
7520
7521 2002-09-09  Juergen Vigna  <jug@sad.it>
7522
7523         * text.C (getColumnNearX): fix form Michael this is most
7524         probably a cut&paste bug.
7525
7526 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7527
7528         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7529
7530         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7531         references, ws changes.
7532
7533         * text2.C (init): update counters after init
7534         (insertParagraph): no need to set counter on idividual paragraphs.
7535         (setCounter): access the counters object in the textclass object
7536         on in the buffer object.
7537         (updateCounters): ditto
7538
7539         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7540         shared_ptr<Counters> to avoid loading counters.h in all
7541         compilation units.
7542         (LyXTextClass): initialize ctrs_
7543         (TextClassTags): add TC_COUNTER, and ...
7544         (Read): use it here.
7545         (CounterTags): new tags
7546         (readCounter): new function
7547         (counters): new funtion
7548         (defaultLayoutName): return a const reference
7549
7550         * counters.C (Counters): remove contructor
7551         (newCounter): remove a couple of unneeded statements.
7552         (newCounter): simplify a bit.
7553         (numberLabel): some small formatting changes.
7554
7555         * buffer.[Ch]: remove all traces of counters, move the Counters
7556         object to the LyXTextClass.
7557
7558 2002-09-06  Alain Castera  <castera@in2p3.fr>
7559
7560         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7561         package to set the horizontal alignment on fixed width columns.
7562
7563         * lyx_sty.C:
7564         * lyx_sty.h: added tabularnewline macro def.
7565
7566         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7567
7568 2002-09-06  John Levon  <levon@movementarian.org>
7569
7570         * LyXAction.C: tooltips for sub/superscript
7571
7572         * MenuBackend.C: a bit more verbose
7573
7574         * lyxfunc.C: tiny clean
7575
7576         * undo_funcs.C: document undo_frozen
7577
7578 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7579
7580         * counters.C (Counters): add missing algorithm counter.
7581
7582         * text2.C (setCounter): lookup the counter with layouts latexname
7583         instead of by section number.
7584         (setCounter): use a hackish way to lookup the correct enum
7585         counter.
7586         a float name->type change
7587         reset enum couners with counter name directly instead of depth value.
7588
7589         * counters.C (Counters): remove the push_backs, change to use the
7590         float type not the float name.
7591         (labelItem): remove unused string, float name->type change
7592
7593         * counters.h: don't include vector, loose the enums and sects vectors
7594
7595 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7596
7597         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7598         (Read): add float->TC_FLOAT to textclassTags
7599         (Read): and handle it in the switch
7600         (readFloat): new function
7601
7602         * FloatList.C (FloatList): comment out the hardcoded float
7603         definitions.
7604
7605         * lyxlayout.h: ws change.
7606
7607 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7608
7609         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7610
7611 2002-09-03  Angus Leeming  <leeming@lyx.org>
7612
7613         * BufferView_pimpl.h: qualified name is not allowed in member
7614         declaration: WorkArea & Pimpl::workarea() const;
7615
7616         * factory.C: added using std::endl directive.
7617
7618         * text3.C: added using std::find and std::vector directives.
7619
7620 2002-08-29  André Pönitz <poenitz@gmx.net>
7621
7622         * lyxtext.h:
7623         * text2.C: remove unused member number_of_rows
7624
7625         * Makefile.am:
7626         * BufferView2.C: remove file, move contents to...
7627         * BufferView.C: ... here
7628
7629         * BufferView_pimpl.C:
7630         * factory.C: move more inset creation to factory
7631
7632         * vspace.C: avoid direct usage of LyXText, ws changes
7633
7634         * BufferView.[Ch]:
7635                 don't provide direct access to WorkArea, use two simple
7636                 acessors haveSelction() and workHeight() instead
7637
7638
7639 2002-08-29  John Levon  <levon@movementarian.org>
7640
7641         * BufferView_pimpl.C (dispatch): do not continue when
7642           no buffer
7643
7644 2002-08-28  André Pönitz <poenitz@gmx.net>
7645
7646         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7647
7648         * BufferView.h:
7649         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7650
7651 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7652
7653         * buffer.C: increment LYX_FORMAT to 221
7654
7655         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7656         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7657
7658         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7659
7660         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7661
7662 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7663
7664         * factory.C (createInset): use LyXTextClass::floats
7665
7666         * MenuBackend.C (expandFloatListInsert):
7667         (expandFloatInsert):
7668         (expandToc):
7669
7670         * text2.C (setCounter):
7671
7672         * LaTeXFeatures.C (useFloat):
7673         (getFloatDefinitions):
7674
7675         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7676
7677         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7678         floatlist_, with accessor floats().
7679
7680         * FloatList.h: remove global FloatList
7681
7682 2002-08-26  André Pönitz <poenitz@gmx.net>
7683
7684         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7685
7686         * BufferView.h:
7687         * BufferView2.C:
7688         * BufferView_pimpl.C:
7689         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7690
7691 2002-08-25  John Levon  <levon@movementarian.org>
7692
7693         * LyXAction.C: fix margin note description
7694
7695 2002-08-24  John Levon  <levon@movementarian.org>
7696
7697         * buffer.C:
7698         * bufferlist.C:
7699         * bufferview_funcs.C:
7700         * lyxfont.C:
7701         * undo_funcs.C: cleanups
7702
7703         * lyxfunc.C: disable CUT/COPY when no selection
7704
7705 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7706
7707         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7708         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7709
7710         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7711         Add backward compatibility to "mono", "gray" and "no".
7712
7713 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7714
7715         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7716         (and file_format >= 200).
7717
7718 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7719
7720         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7721
7722 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7723
7724         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7725
7726 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7727
7728         * BufferView_pimpl.C:
7729         * LyXAction.C:
7730         * buffer.C:
7731         * commandtags.h:
7732         * lyxfunc.C:
7733         * paragraph.[Ch]:
7734         * text2.C:
7735         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7736         inset and code to make it  work with the paragraph code. The inset
7737         can be anywhere in the paragraph, but will only do the expected
7738         thing in LaTeX if the layout file contains the parameter line
7739                         OptionalArgs    1
7740         (or more generally, a nonzero value) for that layout.
7741
7742 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7743
7744         * paragraph.h: remove the declaration of undefined counters class
7745         function.
7746
7747 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7748
7749         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7750         Dr. Richard Hawkins.
7751
7752 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7753
7754         * paragraph_funcs.h: remove some unneeded includes
7755
7756         * text.C (backspace): pasteParagraph now in global scipe
7757
7758         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7759         (pasteSelection): ditto
7760
7761         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7762         * paragraph_funcs.C (pasteParagraph): ... here
7763
7764 2002-08-20  André Pönitz <poenitz@gmx.net>
7765
7766         * commandtags.h: new LFUNs for swapping/copying table row/colums
7767
7768         * LyXAction.C:
7769         * lyxfunc.C: support for new lfuns
7770
7771 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7772
7773         * tabular.C:
7774         * buffer.[Ch]: remove NO_COMPABILITY stuff
7775
7776 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7777
7778         * boost.C (throw_exception): new file, with helper function for
7779         boost compiled without exceptions.
7780
7781         * paragraph.h:
7782         * lyxlength.C:
7783         * buffer.C:
7784         * ParameterStruct.h:
7785         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7786
7787         * bufferlist.C (emergencyWriteAll): use boost bind
7788
7789         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7790
7791         * text.C: include paragraph_funcs.h
7792         (breakParagraph): breakParagraph is now in global scope
7793
7794         * paragraph_funcs.[Ch]: new files
7795
7796         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7797         global scope
7798
7799         * buffer.C: include paragraph_funcs.h
7800         (insertStringAsLines): breakParagraph is now in global scope
7801
7802         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7803         paragraph_funcs.C
7804
7805         * CutAndPaste.C: include paragraph_funcs.h
7806         (cutSelection): breakParagraphConservative is now in global scope
7807         (pasteSelection): ditto
7808
7809         * buffer.h: declare oprator== and operator!= for
7810         Buffer::inset_iterator
7811
7812         * bufferlist.C (emergencyWrite): don't use fmt(...)
7813
7814         * text3.C: add using std::endl
7815
7816         * BufferView.C (moveCursorUpdate): remove default arg
7817
7818 2002-08-20  André Pönitz <poenitz@gmx.net>
7819
7820         * buffer.[Ch]: move inline functions to .C
7821
7822         * BufferView2.C:
7823         * BufferView_pimpl.C:
7824         * text.C:
7825         * buffer.[Ch]: use improved inset_iterator
7826
7827         * buffer.C:
7828         * paragraph.[Ch]: write one paragraph at a time
7829
7830 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7831
7832         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7833         style if style is not specified.
7834
7835 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7836
7837         * text2.C (setCounter): when searching for right label for a
7838         caption, make sure to recurse to parent insets (so that a caption
7839         in a minipage in a figure float works) (bug #568)
7840
7841 2002-08-20  André Pönitz <poenitz@gmx.net>
7842
7843         * text3.C: new file for LyXText::dispatch() and helpers
7844
7845         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7846
7847         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7848
7849 2002-08-19  André Pönitz <poenitz@gmx.net>
7850
7851         * lyxtext.h:
7852         * text.C: new LyXText::dispatch()
7853
7854         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7855
7856 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7857
7858         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7859
7860         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7861         Hebrew text.
7862
7863 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7864
7865         * Makefile.am: use $(variables) instead of @substitutions@
7866
7867 2002-08-15  André Pönitz <poenitz@gmx.net>
7868
7869         * lyxfunc.C:
7870         * BufferView_pimpl.C: streamlining mathed <-> outer world
7871         interaction
7872
7873         * commandtags.h:
7874         * LyXAction.C: remove unused LFUN_MATH
7875
7876 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7877
7878         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7879
7880 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7881
7882         * paragraph.C (Paragraph): reformat a bit
7883         (cutIntoMinibuffer): use builtin InsetList function instad of
7884         doing it manually.
7885         (getInset): ditto
7886
7887         * buffer.C: include boost/bind.hpp, add using std::for_each
7888         (writeFileAscii): use ParagraphList iterators
7889         (validate): use for_each for validate traversal of paragraphs
7890         (getBibkeyList): use ParagraphList iterators
7891         (resizeInsets): use for_each to resizeInsetsLyXText for all
7892         paragraphs.
7893         (getParFromID): use ParagraphList iterators
7894
7895         * BufferView2.C (lockInset): use paragraph list and iterators
7896
7897 2002-08-14  John Levon  <levon@movementarian.org>
7898
7899         * lyxserver.C: remove spurious xforms include
7900
7901 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7902
7903         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7904
7905 2002-08-13  André Pönitz <poenitz@gmx.net>
7906
7907         * LyXAction.[Ch]:
7908         * lyxfunc.C: further cleaning
7909
7910 2002-08-13  André Pönitz <poenitz@gmx.net>
7911
7912         * funcrequest.h: new constructor
7913
7914         * funcrequest.C: move stuff here from .h
7915
7916         * Makefile.am:
7917         * BufferView_pimpl.C:
7918         * LyXAction.C:
7919         * toc.C:
7920         * lyxfunc.C: subsequent changes
7921
7922         * lyxfunc.h: new view() member function
7923
7924         * lyxfunc.C: subsequent changes
7925
7926 2002-08-13  Angus Leeming  <leeming@lyx.org>
7927
7928         * BufferView2.C:
7929         * BufferView_pimpl.C:
7930         * buffer.C:
7931         * converter.C:
7932         * importer.C:
7933         * lyxfunc.C:
7934         * lyxvc.C:
7935         * toc.C:
7936         * vc-backend.C:
7937         changes due to the changed LyXView interface that now returns references
7938         to member variables not pointers.
7939
7940 2002-08-13  Angus Leeming  <leeming@lyx.org>
7941
7942         * WordLangTuple (word, lang_code): return references to strings,
7943         not strings.
7944
7945         * BufferView.h:
7946         * SpellBase.h:
7947         * lyxtext.h: forward-declare WordLangTuple.
7948
7949         * BufferView2.C:
7950         * ispell.C:
7951         * pspell.C:
7952         * text.C: #include "WordLangTuple.h".
7953
7954         * lyxtext.h:
7955         * text.C: (selectNextWordToSpellcheck): constify return type.
7956
7957 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7958
7959         * buffer.C:
7960         * buffer.h:
7961         * lyxtext.h:
7962         * paragraph.C:
7963         * paragraph_pimpl.h:
7964         * text.C:
7965         * text2.C:
7966         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7967         suggested by Angus.
7968         Made updateCounter always count from start of buffer, and removed
7969         second argument (par).
7970         Reverted floats number display to '#'. Perhaps I'll try again when the
7971         code base is sanitized a bit.
7972
7973 2002-08-12  Angus Leeming  <leeming@lyx.org>
7974
7975         * buffer.[Ch] (getLabelList): constify.
7976
7977 2002-08-07  André Pönitz <poenitz@gmx.net>
7978
7979         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7980
7981         * funcrequest.h: extension to keep mouse (x,y) position
7982
7983 2002-08-12  Juergen Vigna  <jug@sad.it>
7984
7985         * BufferView2.C (insertErrors): forbid undo when inserting error
7986         insets.
7987
7988         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7989
7990 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7991
7992         * ParagraphList.[Ch]: new files
7993
7994         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7995
7996         * BufferView2.C (lockInset): ParagraphList changes
7997         * toc.C: ditto
7998         * text2.C: ditto
7999         * bufferlist.C: ditto
8000         * buffer.h: ditto
8001         * buffer.C: ditto
8002
8003 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8004
8005         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8006         unused class variable counter_,
8007
8008         * paragraph.[Ch] (getFirstCounter): delete unused function
8009
8010         * counters.C: include LAssert.h
8011         (reset): add a new function with no arg, change other version to
8012         not have def. arg and to not allow empty arg.
8013
8014         * text2.C (setCounter): remove empty arg from call to Counters::reset
8015
8016 2002-08-11  John Levon  <levon@movementarian.org>
8017
8018         * Makefile.am: add WordLangTuple.h
8019
8020 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8021
8022         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8023         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8024
8025         * insets/insettext.C: InsetList changes
8026
8027         * graphics/GraphicsSupport.C (operator()): InsetList changes
8028
8029         * toc.C (getTocList): InsetList changes
8030
8031         * paragraph_pimpl.[Ch]: InsetList changes
8032
8033         * paragraph.[Ch]: InsetList changes
8034
8035         * buffer.C (inset_iterator): InsetList changes
8036         (setParagraph): ditto
8037         * buffer.h (inset_iterator): ditto
8038         * iterators.C (operator++): ditto
8039         * iterators.h: ditto
8040
8041         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8042
8043         * InsetList.[Ch]: new files, most InsetList handling moved out of
8044         paragraph.C.
8045
8046         * BufferView2.C (removeAutoInsets): InsetList changes
8047         (lockInset): ditto
8048         (ChangeInsets): ditto
8049
8050 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8051
8052         * paragraph_pimpl.h (empty): new function
8053
8054         * paragraph.[Ch] (empty): new function
8055
8056         * other files: use the new Paragraph::empty function
8057
8058 2002-08-09  John Levon  <levon@movementarian.org>
8059
8060         * lyxtext.h: remove unused refresh_height
8061
8062 2002-08-09  John Levon  <levon@movementarian.org>
8063
8064         * Makefile.am:
8065         * sgml.h:
8066         * sgml.C:
8067         * buffer.C:
8068         * paragraph.h:
8069         * paragraph.C: move sgml char escaping out of paragraph
8070
8071         * paragraph.h:
8072         * paragraph.C: remove id setter
8073
8074         * buffer.C:
8075         * paragraph.C:
8076         * paragraph_pimpl.C: remove dead tex_code_break_column
8077
8078         * bufferview_funcs.C: small cleanup
8079
8080         * lyxfunc.C: remove dead proto
8081
8082         * lyxtext.h: make some stuff private. Remove some dead stuff.
8083
8084         * lyxgluelength.C: make as[LyX]String() readable
8085
8086 2002-08-08  John Levon  <levon@movementarian.org>
8087
8088         * LyXAction.h:
8089         * LyXAction.C:
8090         * MenuBackend.C:
8091         * ToolbarDefaults.C:
8092         * lyxfunc.C:
8093         * lyxrc.C:
8094         * toc.C: lyxaction cleanup
8095
8096 2002-08-08  John Levon  <levon@movementarian.org>
8097
8098         * BufferView2.C: small cleanup
8099
8100         * lyxfind.h:
8101         * lyxfind.C: move unnecessary header into the .C
8102
8103 2002-08-08  John Levon  <levon@movementarian.org>
8104
8105         * funcrequest.h: just tedious nonsense
8106
8107         * lyx_main.h:
8108         * lyx_main.C: cleanups
8109
8110         * buffer.C:
8111         * vspace.C: remove dead header lyx_main.h
8112
8113 2002-08-07  Angus Leeming  <leeming@lyx.org>
8114
8115         * Paragraph.[Ch]:
8116         * paragraph_pimpl.h:
8117         Forward declare class Counters in paragraph.h by moving the ctrs member
8118         variable into Paragraph::Pimpl.
8119         (counters): new method, returning a reference to pimpl_->ctrs.
8120
8121         * text2.C: ensuing changes.
8122
8123 2002-08-07  John Levon  <levon@movementarian.org>
8124
8125         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8126
8127         * BufferView_pimpl.C: announce X selection on double/triple
8128           click
8129
8130         * lyx_main.C: use correct bool in batch dispatch
8131
8132         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8133
8134 2002-08-07  André Pönitz <poenitz@gmx.net>
8135
8136         * funcrequest.h: new class to wrap a kb_action and its argument
8137
8138         * BufferView.[Ch]:
8139         * BufferView_pimpl[Ch]:
8140         * LaTeX.C:
8141         * LyXAction.[Ch]:
8142         * lyxfunc.[Ch]:
8143         * lyxrc.C: subsequent changes
8144
8145
8146 2002-08-07  John Levon  <levon@movementarian.org>
8147
8148         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8149           document options change.
8150
8151 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8152
8153         * counters.[Ch]
8154         * text2.C
8155         * paragraph.[Ch]
8156         * makefile.am: move counters functionality over from
8157         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8158
8159 2002-08-06  John Levon  <levon@movementarian.org>
8160
8161         * WordLangTuple.h: new file for word + language code tuple
8162
8163         * SpellBase.h:
8164         * pspell.h:
8165         * pspell.C:
8166         * ispell.h:
8167         * ispell.C:
8168         * lyxtext.h:
8169         * text.C:
8170         * text2.C:
8171         * BufferView.h:
8172         * BufferView2.C: use WordLangTuple
8173
8174         * layout.h:
8175         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8176
8177 2002-08-06  John Levon  <levon@movementarian.org>
8178
8179         * lyx_main.C: fix cmdline batch handling
8180
8181 2002-08-06  André Pönitz <poenitz@gmx.net>
8182
8183         * lyxrc.C: set default for show_banner to true
8184
8185 2002-08-06  John Levon  <levon@movementarian.org>
8186
8187         * pspell.C: fix a crash, and allow new aspell to work
8188
8189 2002-08-06  John Levon  <levon@movementarian.org>
8190
8191         * lyxfunc.C:
8192         * kbmap.C: small cleanup
8193
8194         * vspace.h:
8195         * vspace.C: add const
8196
8197 2002-08-05  John Levon  <levon@movementarian.org>
8198
8199         * LyXAction.C: back to tabular-insert
8200
8201 2002-08-04  John Levon  <levon@movementarian.org>
8202
8203         * BufferView.h:
8204         * BufferView.C: cosmetic change
8205
8206         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8207
8208         * bufferlist.C:
8209         * buffer.h:
8210         * buffer.C:
8211         * lyxcb.h:
8212         * lyxcb.C:
8213         * lyxserver.C:
8214         * lyxvc.C:
8215         * vc-backend.C:
8216         * BufferView2.C: purge all "Lyx" not "LyX" strings
8217
8218         * lyxcursor.h:
8219         * lyxcursor.C: attempt to add some documentation
8220
8221         * lyxfunc.C:
8222         * commandtags.h:
8223         * LyXAction.C:
8224         * ToolbarDefaults.C:
8225         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8226           merge with LFUN_TABULAR_INSERT
8227
8228         * Makefile.am:
8229         * SpellBase.h:
8230         * ispell.h:
8231         * ispell.C:
8232         * pspell.h:
8233         * pspell.C: split up i/pspell implementations into separate
8234           files, many cleanups
8235
8236         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8237
8238         * text2.C: some cleanup
8239
8240         * lyxfunc.C: don't check for isp_command == "none" any more, it
8241           didn't make any sense
8242
8243 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8244
8245         * counters.[Ch]
8246         * text2.C
8247         * paragraph.[Ch]
8248         * makefile.am: move counters functionality over
8249         from text2.C/paragraph.[Ch] to counters.[Ch], and
8250         make proper C++.
8251 2002-08-02  John Levon  <levon@movementarian.org>
8252
8253         * buffer.C: s/lyxconvert/lyx2lyx/
8254
8255 2002-08-02  Angus Leeming  <leeming@lyx.org>
8256
8257         * lyxlex.C: revert John's change as it breaks reading of the user
8258         preamble.
8259
8260 2002-08-02  Angus Leeming  <leeming@lyx.org>
8261
8262         * importer.C (Import):
8263         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8264         changes due to LyXView::view() now returning a boost::shared_ptr.
8265
8266 2002-08-02  John Levon  <levon@movementarian.org>
8267
8268         * lyxlex.C: small cleanup
8269
8270 2002-08-02  John Levon  <levon@movementarian.org>
8271
8272         * text2.C (status): small cleanup, no logic change
8273
8274 2002-08-01  John Levon  <levon@movementarian.org>
8275
8276         * buffer.h:
8277         * buffer.C (writeFile): don't output alerts, caller
8278           handles this
8279
8280         * bufferlist.C:
8281         * lyx_cb.C: from above
8282
8283         * lyxfunc.C: allow to open non-existent files
8284
8285 2002-07-31  John Levon  <levon@movementarian.org>
8286
8287         * lyxserver.C: don't let incidental errors get
8288           in the way (errno)
8289
8290 2002-07-30  John Levon  <levon@movementarian.org>
8291
8292         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8293
8294 2002-07-30  John Levon  <levon@movementarian.org>
8295
8296         * lyxserver.h:
8297         * lyxserver.C: remove I/O callback too
8298
8299 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8300
8301         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8302         log.
8303
8304 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8305
8306         * many files: strip,frontStrip -> trim,ltrim,rtrim
8307
8308 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8309
8310         * PrinterParams.h: remove extern containsOnly, and include
8311         support/lstrings.h instead.
8312
8313         * LaTeX.C (scanAuxFile): modify because of strip changes
8314         (deplog): ditto
8315         * buffer.C (makeLaTeXFile): ditto
8316         * bufferparams.C (writeFile): ditt
8317         * lyxfont.C (stateText): ditto
8318         * lyxserver.C (read_ready): ditto
8319         * vc-backend.C (scanMaster): ditto
8320
8321         * BufferView_pimpl.h: ws changes
8322
8323         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8324
8325 2002-07-26  André Pönitz <poenitz@gmx.net>
8326
8327         * kb_sequence.C: remove unnedred usings
8328
8329 2002-07-26  Juergen Vigna  <jug@sad.it>
8330
8331         * lyxfind.C (LyXReplace): we have to check better if the returned
8332         text is not of theLockingInset()->getLockingInset().
8333
8334 2002-07-25  Juergen Vigna  <jug@sad.it>
8335
8336         * lyxfind.C (LyXReplace): don't replace if we don't get the
8337         right LyXText.
8338
8339         * undo_funcs.C (createUndo): remove debugging code.
8340
8341 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8342
8343         * buffer.C (parseSingleLyXformat2Token): Use default placement
8344         when reading old floats.
8345
8346         * FloatList.C (FloatList): Change the default placement of figure
8347         and tables to "tbp".
8348
8349 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8350
8351         * MenuBackend.C: using std::max
8352
8353 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8354
8355         * MenuBackend.C (expandToc):
8356         (expandToc2): code moved from xforms menu frontend. It is now
8357         generic and TOCs are transparent to menu frontends.
8358
8359 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8360
8361         * toc.C (getTocList): protect against buf=0
8362
8363         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8364         Menu as first parameter. Now, this calls itself recursively to
8365         expand a whole tree (this will be useful for TOC handling)
8366         (expandFloatInsert): remove 'wide' version of floats
8367
8368         * MenuBackend.h (submenuname): returns the name of the submenu.
8369         (submenu): returns the submenu itself, provided it has been
8370         created by MenuBackend::expand
8371
8372 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8373
8374         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8375         insets which have noFontChange == true. (bug #172)
8376
8377 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8378
8379         * BufferView_pimpl.C: add connection objects and use them...
8380         (Pimpl): here.
8381
8382 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8383
8384         * MenuBackend.C (expandLastfiles):
8385         (expandDocuments):
8386         (expandFormats):
8387         (expandFloatListInsert):
8388         (expandFloatInsert):
8389         (expand): split expand in parts
8390
8391 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8392
8393         * lyx_gui.C: use lyx_gui::exit()
8394
8395 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8396
8397         * LyXAction.C: show the failing pseudo action
8398
8399 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8400
8401         * buffer.C (readFile): Run the lyxconvert script in order to read
8402         old files.
8403
8404 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8405
8406         * LyXAction.C:
8407         * commandtags.h:
8408         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8409
8410 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8411
8412         * LyXAction.C:
8413         * commandtags.h:
8414         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8415
8416 2002-07-22  Herbert Voss  <voss@lyx.org>
8417
8418         * lengthcommon.C:
8419         * lyxlength.[Ch]: add support for the vertical lengths
8420
8421 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8422
8423         * toc.[Ch]: std:: fixes
8424
8425 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8426
8427         * lyxrc.C: do not include lyx_main.h
8428
8429         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8430         for layouts
8431
8432         * lyxrc.C:
8433         * encoding.C:
8434         * bufferlist.C:
8435         * BufferView2.C: include "lyxlex.h"
8436
8437         * tabular.h:
8438         * bufferparams.h: do not #include "lyxlex.h"
8439
8440         * lyxtextclasslist.C (Add): remove method
8441         (classlist): renamed to classlist_
8442
8443         * paragraph_pimpl.C:
8444         * paragraph.C:
8445         * text2.C:
8446         * CutAndPaste.C:
8447         * bufferview_funcs.C:
8448         * bufferlist.C:
8449         * text.C:
8450         * LaTeXFeatures.C:
8451         * buffer.C:
8452         * toc.C (getTocList): use BufferParams::getLyXTextClass
8453
8454         * toc.C (getTocList): use InsetFloat::addToToc
8455
8456         * toc.[Ch]: new files, containing helper functions to handle table
8457         of contents
8458
8459         * lyxfunc.C (dispatch): no need to remove spaces around command
8460         given as a string
8461         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8462         first command of the sequence; it is not very clever, but I do not
8463         have a better idea, actually
8464
8465         * LyXAction.C (LookupFunc): make sure to remove space at the
8466         beginning and end of the command
8467
8468 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8469
8470         * MenuBackend.C (getMenubar): new method: return the menubar of
8471         this menu set
8472         (read): treat differently reading of menu and menubar (in
8473         particular, the menubar has no name now)
8474         (Menu::menubar): remove
8475
8476         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8477         saving is finished
8478
8479 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8480
8481         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8482         a bibitem inset in a RTL paragraph.
8483
8484 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8485
8486         * paragraph_pimpl.C: constify
8487
8488         * BufferView_pimpl.C:
8489         * LaTeX.C:
8490         * lyxfunc.C: fix dispatch in a nicer way
8491
8492 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8493
8494         * lyxfunc.C (dispatch):
8495         * BufferView_pimpl.C:
8496         * BufferView_pimpl.h:
8497         * BufferView.C:
8498         * BufferView.h: rename Dispatch() to dispatch()
8499
8500         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8501
8502         * lyxlayout.C (Read): honor DependsOn tag
8503
8504         * lyxlayout.[Ch] (depends_on): new method
8505
8506         * version.C.in: update lyx_docversion
8507
8508         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8509
8510         * paragraph.C (validate): remove from here...
8511         * paragraph_pimpl.C (validate): ... and move here
8512         (isTextAt): make it const
8513
8514         * buffer.C (getLists): ws cleanup
8515
8516 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8517
8518         * language.C (read): Use iso8859-1 encoding in latex_lang
8519         (this prevents LyX from crashing when using iso10646-1 encoding).
8520
8521 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8522
8523         * text2.C (toggleInset): if cursor is inside an inset, close the
8524         inset and leave cursor _after_ it
8525
8526 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8527
8528         * lyxfunc.C: move minibuffer completion handling out of here
8529
8530 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8531
8532         * BufferView_pimpl.C:
8533         * LaTeX.C: fix dispatch calls
8534
8535 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8536
8537         * text.C (drawChars): Fix Arabic text rendering.
8538
8539 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8540
8541         * LyXAction.C:
8542         * commandtags.h:
8543         * lyxfunc.C: remove message-push/pop
8544
8545         * lyxserver.C:
8546         * lyxfunc.h:
8547         * lyxfunc.C: rationalise some code by removing verboseDispatch
8548           in favour of a bool argument to dispatch()
8549
8550 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8551
8552         * lyx_main.C (init): make sure to read symlinks as absolute paths
8553
8554 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8555
8556         * lyxfunc.h:
8557         * lyxfunc.C: no need for commandshortcut to be a member
8558
8559 2002-07-15  André Pönitz <poenitz@gmx.net>
8560
8561         * converter.C: add support for $$s (scripts from lib/scripts dir)
8562         * lyx_main.C: white space
8563
8564 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8565
8566         * bufferlist.C:
8567         * lyxrc.h:
8568         * lyxrc.C: remove second exit confirmation
8569
8570 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8571
8572         * BufferView.h:
8573         * BufferView.C:
8574         * BufferView2.C:
8575         * BufferView_pimpl.h:
8576         * BufferView_pimpl.C:
8577         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8578
8579 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8580
8581         * MenuBackend.C (expand): add numeric shortcuts to document menu
8582
8583         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8584
8585 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8586
8587         * lyxfont.C (setLyXFamily):
8588         (setLyXSeries):
8589         (setLyXShape):
8590         (setLyXSize):
8591         (setLyXMisc):
8592         (lyxRead):
8593         * debug.C (value):
8594         * buffer.C (asciiParagraph): use ascii_lowercase
8595
8596 2002-07-15  Mike Fabian  <mfabian@suse.de>
8597
8598         * lyxlex_pimpl.C (search_kw):
8599         * lyxlex.C (getLongString):
8600         * converter.h (operator<):
8601         * converter.C (operator<):
8602         * buffer.C (parseSingleLyXformat2Token):
8603         (asciiParagraph):
8604         * ToolbarDefaults.C (read):
8605         * MenuBackend.C (checkShortcuts):
8606         (read):
8607         * LColor.C (getFromGUIName):
8608         (getFromLyXName): use the compare_ascii_no_case instead of
8609         compare_no_case, because in turkish, 'i' is not the lowercase
8610         version of 'I', and thus turkish locale breaks parsing of tags.
8611
8612 2002-07-16  Angus Leeming  <leeming@lyx.org>
8613
8614         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8615         now takes a Buffer const & argument.
8616
8617 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8618
8619         * BufferView.C (resize): check there's a buffer to resize
8620
8621 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8622
8623         * lyxfunc.C: remove dead code
8624
8625         * lyxserver.h:
8626         * lyxserver.C: use lyx_guii::set_read_callback
8627
8628 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8629
8630         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8631         an inset in a RTL paragraph.
8632
8633 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8634
8635         * lyxfunc.C: repaint after a font size update
8636
8637 2002-07-15  André Pönitz <poenitz@gmx.net>
8638
8639         * lyxlength.C: inBP should be able to return negative values
8640
8641 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8642
8643         * lyxfunc.C: use lyx_gui::update_fonts()
8644
8645 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8646
8647         * lyxfunc.C: use lyx_gui::update_color()
8648
8649 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8650
8651         * bufferlist.C:
8652         * lyxfunc.h:
8653         * lyxfunc.C:
8654         * lyxrc.h:
8655         * lyxrc.C: remove file->new asks for name option, and let
8656           buffer-new take an argument
8657
8658 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8659
8660         * BufferView_pimpl.C: remove unneeded extra repaint()
8661
8662 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8663
8664         * LyXAction.C: allow command-sequence with NoBuffer
8665
8666         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8667
8668 2002-07-10  Angus Leeming  <leeming@lyx.org>
8669
8670         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8671
8672 2002-07-09  Angus Leeming  <leeming@lyx.org>
8673
8674         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8675
8676 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8677
8678         * lengthcommon.h: whitespace
8679
8680         * lyxfunc.C: update scrollbar after goto paragraph
8681
8682         * lyxtext.h: factor out page break drawing, and fix it so
8683           page break/added space paints as selected nicely
8684
8685 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8686
8687         * BufferView_pimpl.C: add FIXMEs, clean up a little
8688
8689 2002-07-09  André Pönitz <poenitz@gmx.net>
8690
8691         * lyxfont.[Ch]: support for wasy symbols
8692
8693 2002-07-08  André Pönitz <poenitz@gmx.net>
8694
8695         * BufferView_pimpl.C: apply John's patch for #93.
8696
8697 2002-07-05  Angus Leeming  <leeming@lyx.org>
8698
8699         * BufferView_pimpl.C (buffer): generate previews if desired.
8700
8701         * LColor.h: add "preview" to the color enum.
8702
8703         * LColor.C (LColor): add a corresponding entry to the items array.
8704
8705         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8706         with this buffer.
8707
8708 2002-07-05  Angus Leeming  <leeming@lyx.org>
8709
8710         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8711         The body of the code is now in the method that is passed an ostream &
8712         rather than a file name.
8713         Pass an additional only_preamble parameter, useful for the forthcoming
8714         preview stuff.
8715
8716 2002-07-03  André Pönitz <poenitz@gmx.net>
8717
8718         * lyxfunc.C: simplify getStatus() a bit for math stuff
8719
8720 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8721
8722         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8723
8724 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8725
8726         * text.C (changeRegionCase): do not change case of all the
8727         document when region ends at paragraph end (bug #461)
8728
8729 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8730
8731         * paragraph.C (startTeXParParams):
8732         (endTeXParParams): add \protect when necessary
8733
8734 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8735
8736         * BufferView_pimpl.C (workAreaExpose): remove warning
8737
8738 2002-06-27  Angus Leeming  <leeming@lyx.org>
8739
8740         * Makefile.am: add lyxlayout_ptr_fwd.h.
8741
8742 2002-06-26  André Pönitz <poenitz@gmx.net>
8743
8744         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8745
8746 2002-06-25  Angus Leeming  <leeming@lyx.org>
8747
8748         * lyxfunc.C (dispatch): Comment out the call to
8749         grfx::GCache::changeDisplay. The method no longer exists now that the
8750         pixmap generation part of the graphics loader has been moved into
8751         InsetGraphics.
8752
8753 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8754
8755         * text2.C: layout as layout
8756
8757         * text.C: layout as layout
8758
8759         * tabular.C (OldFormatRead): layout as layout
8760
8761         * paragraph_pimpl.C (TeXDeeper): layout as layout
8762         (realizeFont): layout as layout
8763
8764         * paragraph.C (writeFile): layout as layout
8765         (validate): layout as layout
8766         (getFont): layout as layout
8767         (getLabelFont): layout as layout
8768         (getLayoutFont): layout as layout
8769         (breakParagraph): layout as layout
8770         (stripLeadingSpaces): layout as layout
8771         (getEndLabel): layout as layout
8772         (getMaxDepthAfter): layout as layout
8773         (applyLayout): layout as layout
8774         (TeXOnePar): layout as layout
8775         (simpleTeXOnePar): layout as layout
8776         (TeXEnvironment): layout as layout
8777         (layout): layout as layout
8778         (layout): layout as layout
8779
8780         * lyxtextclass.C (compare_name): new functor to work with
8781         shared_ptr, layout as layout
8782         (Read): layout as layout
8783         (hasLayout): layout as layout
8784         (operator): layout as layout
8785         (delete_layout): layout as layout
8786         (defaultLayout): layout as layout
8787
8788         * lyxlayout_ptr_fwd.h: new file
8789
8790         * lyxlayout.C (Read): layout as layout
8791
8792         * lyx_cb.C (MenuInsertLabel): layout as layout
8793
8794         * bufferlist.C (newFile): layout as layout
8795
8796         * buffer.C (readLyXformat2): layout as layout
8797         (parseSingleLyXformat2Token): layout as layout
8798         (insertStringAsLines): layout as layout
8799         (asciiParagraph): layout as layout
8800         (latexParagraphs): layout as layout
8801         (makeLinuxDocFile): layout as layout
8802         (simpleLinuxDocOnePar): layout as layout
8803         (makeDocBookFile): layout as layout
8804         (simpleDocBookOnePar): layout as layout
8805         (getLists): layout as layout
8806
8807         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8808
8809         * CutAndPaste.C (cutSelection): layout as layout
8810         (pasteSelection): layout as layout
8811         (SwitchLayoutsBetweenClasses): layout as layout
8812
8813         * BufferView_pimpl.C (Dispatch): layout as layout
8814         (smartQuote): layout as layout
8815
8816         * BufferView2.C (unlockInset): layout as layout
8817
8818 2002-06-24  André Pönitz <poenitz@gmx.net>
8819
8820         * lyxfunc.C: fix #487
8821
8822 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8823
8824         * lyxrc.h:
8825         * lyxrc.C:
8826         * lyxfunc.C: remove display_shortcuts, show_banner
8827
8828 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8829
8830         * Buffer_pimpl.C: oops, update on resize
8831
8832 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8833
8834         * buffer.C:
8835         * converter.C:
8836         * exporter.C:
8837         * lyxfunc.C:
8838         * BufferView.h:
8839         * BufferView.C: use repaint()
8840
8841         * BufferView_pimpl.h:
8842         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8843           as it's a clearer description. Remove superfluous
8844           redraws.
8845
8846 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8847
8848         * text.C: fix bug 488. Not ideal, but getting
8849           getWord() to work properly for the insets that
8850           matter is more difficult ...
8851
8852 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8853
8854         * BufferView_pimpl.C:
8855         * LyXAction.C:
8856         * commandtags.h:
8857         * lyxfunc.C: remove the six million index lyxfuncs to just
8858           one, and DTRT (bug 458)
8859
8860 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8861
8862         * BufferView.h:
8863         * BufferView.C:
8864         * BufferView_pimpl.h:
8865         * BufferView_pimpl.C: clean up resize() stuff,
8866           and unnecessary updateScreen()s
8867
8868 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8869
8870         * BufferView.h:
8871         * BufferView.C:
8872         * BufferView_pimpl.h:
8873         * BufferView_pimpl.C:
8874         * lyxfind.h:
8875         * lyxfind.C:
8876         * minibuffer.C: remove focus management of workarea,
8877           not needed. Use screen's greyOut()
8878
8879 2002-06-17  Herbert Voss  <voss@lyx.org>
8880
8881         * converter.C: (convert) do not post a message, when converting
8882         fails, let the calling function decide what to do in this case
8883
8884 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8885
8886         * lyxfunc.C: tidy up a little
8887
8888 2002-06-16    <alstrup@diku.dk>
8889
8890         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8891         Got rid of FORMS_H_LOCATION include. Now we are
8892         GUII.
8893
8894 2002-06-15  LyX Development team  <lyx@rilke>
8895
8896         * buffer.[Ch] (sgmlOpenTag):
8897         (sgmlCloseTag): Added support for avoiding pernicious mixed
8898         content. Return number of lines written.
8899
8900         (makeLinuxDocFile):
8901         (makeDocBookFile): Fixed calls to sgml*Tag.
8902         Simple white space clean.
8903
8904         (simpleDocBookOnePar): Simple white space clean.
8905
8906         * tabular.[Ch] (docBook): Renamed to docbook and got another
8907         argument to related with the pernicious mixed content.
8908
8909         (docbookRow): Fixed calls for docbook inset method.
8910
8911 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8912
8913         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8914         so it's X11 independent.
8915
8916         * kb*.[Ch]: ditto.
8917
8918         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8919
8920 2002-06-15  Lyx Development team  <lyx@electronia>
8921
8922         * intl.h: Renamed getTrans to getTransManager.
8923
8924 2002-06-14  Angus Leeming  <leeming@lyx.org>
8925
8926         * Makefile.am: nuke forgotten stl_string_fwd.h.
8927
8928 2002-06-12  Angus Leeming  <leeming@lyx.org>
8929
8930         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8931
8932 2002-06-13  Angus Leeming  <leeming@lyx.org>
8933
8934         * LaTeX.C:
8935         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8936
8937 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8938
8939         * kbmap.C (getiso): add support for cyrillic and greek
8940
8941 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8942
8943         * BufferView.h:
8944         * BufferView.C:
8945         * BufferView_pimpl.h:
8946         * BufferView_pimpl.C: move bogus scrolling logic
8947           to xforms
8948
8949 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8950
8951         * lyxfunc.C:
8952         * BufferView_pimpl.C: view->resize() change
8953
8954 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8955
8956         * BufferView_pimpl.C: topCursorVisible
8957           prototype change
8958
8959 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8960
8961         * Makefile.am:
8962         * lyx_gui.h:
8963         * lyx_gui.C: move to frontends/
8964
8965         * main.C:
8966         * lyx_main.h:
8967         * lyx_main.C: changes from above
8968
8969 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8970
8971         * intl.C:
8972         * intl.h:
8973         * kbmap.C:
8974         * kbsequence.C:
8975         * lyx_cb.C:
8976         * lyx_main.C: minor tidy
8977
8978 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8979
8980         * BufferView_pimpl.h:
8981         * BufferView_pimpl.C:
8982         * BufferView.h:
8983         * BufferView.C: make painter() const,
8984           remove dead code
8985
8986         * BufferView2.C: use screen() accessor
8987
8988         * lyx_main.h:
8989         * lyx_main.C: some minor cleanup
8990
8991 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8992
8993         * BufferView_pimpl.h:
8994         * BufferView_pimpl.C: remove enter/leaveView,
8995           use workHeight()
8996
8997 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8998
8999         * BufferView.h:
9000         * BufferView.C:
9001         * BufferView2.C:
9002         * BufferView_pimpl.h:
9003         * BufferView_pimpl.C: only construct screen once,
9004           rename
9005
9006         * lyxrc.C: remove pointless comment
9007
9008 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9009
9010         * BufferView.h:
9011         * BufferView.C: remove active() and belowMouse()
9012
9013         * BufferView_pimpl.h:
9014         * BufferView_pimpl.C: use workarea() not workarea_,
9015           and make it use a scoped_ptr instead
9016
9017 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9018
9019         * lyx_gui.C: add debug message on BadWindow
9020
9021 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9022
9023         * sp_spell.C: fdopen is not part of the C++ standard.
9024
9025         * paragraph.C (InsetIterator): use >= instead of ==
9026
9027 2002-06-07  Angus Leeming  <leeming@lyx.org>
9028
9029         Fixes needed to compile with Compaq cxx 6.5.
9030         * BufferView_pimpl.C:
9031         * DepTable.C:
9032         * buffer.C:
9033         * converter.C:
9034         * encoding.C:
9035         * lyx_gui.C:
9036         * lyx_main.C:
9037         * lyxtextclasslist.C:
9038         * minibuffer.C:
9039         * sp_spell.C:
9040         * tabular_funcs.C:
9041         * vc-backend.C:
9042         all c-library variables have been moved into namespace std. Wrap
9043         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9044
9045         * lyxlength.C:
9046         * tabular-old.C:
9047         * tabular.C:
9048         Add a using std::abs declaration.
9049
9050         * kbmap.h (modifier_pair):
9051         * paragraph.h (InsetTable, InsetList):
9052         * lyxfont.h (FontBits):
9053         type definition made public.
9054
9055         * bufferlist.C (emergencyWriteAll): the compiler complains that
9056         there is more than one possible lyx::class_fun template to choose from.
9057         I re-named the void specialisation as lyx::void_class_fun.
9058
9059         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9060
9061         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9062         the compiler is is unable to find tostr in write_attribute.
9063
9064 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9065
9066         * buffer.C (sgmlError): hide #warning
9067
9068 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9069
9070         * xtl/*: get rid of xtl, which is not in use anyway
9071
9072         * LyXAction.C (init):
9073         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9074         were unimplemented xtl experimentation
9075
9076 2002-06-04  André Pönitz <poenitz@gmx.net>
9077
9078         * lyxfunc.C: disable array operation on simple formulae
9079
9080 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9081
9082         * converter.C: constify a bit
9083
9084 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9085
9086         * lyx_gui.C: check xforms version correctly
9087
9088 2002-04-30  Herbert Voss  <voss@lyx.org>
9089
9090         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9091         "keep" option
9092
9093 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9094
9095         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9096           attempt to register it with a VCS)
9097
9098 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9099
9100         * lyx_main.C (init): honor variables LYX_DIR_13x and
9101         LYX_USERDIR_13x
9102
9103 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9104
9105         * buffer.h:
9106         * buffer.C:
9107         * lyx_main.C: fix a crash on bad command line,
9108           and give a useful exit status on error
9109
9110         * lyxfunc.C (doImport): allow -i lyx to work
9111
9112 2002-03-30  André Pönitz <poenitz@gmx.net>
9113
9114         * lyxfunc.C: mathed font changes
9115
9116 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9117
9118         * LaTeX.C:
9119         * importer.h:
9120         * importer.C:
9121         * lyx_sty.h:
9122         * lyx_sty.C:
9123         * lyxlex.C:
9124         * lyxrow.h:
9125         * lyxtext.h:
9126         * paragraph.h:
9127         * paragraph.C:
9128         * texrow.h:
9129         * texrow.C:
9130         * text.C:
9131         * trans_mgr.h: srcdocs, and some minor cleanups
9132
9133 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9134
9135         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9136         call getFont all the time)
9137
9138 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9139
9140         * switch from SigC signals to boost::signals
9141
9142 2002-05-29  André Pönitz <poenitz@gmx.net>
9143
9144         * paragraph_pimpl.C (getChar): don't call size() too often...
9145
9146 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9147
9148         * paragraph_pimpl.C (insertChar): do not try to update tables when
9149         appending (pos == size())
9150
9151         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9152         in order to reduce drastically the number of comparisons needed to
9153         parse a large document
9154
9155 2002-05-29  André Pönitz <poenitz@gmx.net>
9156
9157         * text.C:
9158         * text2.C:
9159         * lyxtextclass.C:
9160         * sp_pspell.h:
9161         * textclasslist.[Ch]:
9162         * sp_ispell.h: whitespace change
9163
9164 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9165
9166         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9167         lyxaction directly now.
9168
9169 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9170
9171         * trans.C:
9172         * lyxfont.C:
9173         * lyxvc.C: remove unused headers
9174
9175 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9176
9177         * Makefile.am:
9178         * buffer.h:
9179         * undostack.h:
9180         * undostack.C:
9181         * undo_funcs.h:
9182         * undo_funcs.C: some cleanups. Use shared_ptr
9183           and a template for the undo stacks.
9184
9185 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9186
9187         * BufferView_pimpl.h:
9188         * BufferView_pimpl.C:
9189         * kbmap.h:
9190         * kbmap.C:
9191         * kbsequence.h:
9192         * kbsequence.C:
9193         * lyxfunc.h:
9194         * lyxfunc.C:
9195         * text2.C: use key_state/mouse_state
9196
9197 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9198
9199         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9200         and LSubstring
9201
9202         * chset.C: change include order
9203         (loadFile): use boost regex and get rid of LRegex and LSubstring
9204
9205         * Makefile.am (BOOST_LIBS): new variable
9206         (lyx_LDADD): use it
9207
9208         * LaTeX.C: change include order.
9209         (scanAuxFile): use boost regex and get rid of LRegex and
9210         LSubstring
9211         (deplog): ditto
9212
9213 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9214
9215         * ColorHandler.h:
9216         * ColorHandler.C:
9217         * FontInfo.h:
9218         * FontInfo.C: moved to frontends/xforms/
9219
9220         * FontLoader.h:
9221         * FontLoader.C: moved into frontends for GUIIzation
9222
9223         * Makefile.am:
9224         * lyx_gui.C:
9225         * lyxfont.C:
9226         * lyxfunc.C: changes from above
9227
9228 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9229
9230         * LColor.C: remove spurious X include
9231
9232         * BufferView_pimpl.C:
9233         * Makefile.am:
9234         * font.h:
9235         * font.C:
9236         * text.C:
9237         * text2.C: move font metrics to frontends/
9238
9239 2002-05-24  Juergen Vigna  <jug@sad.it>
9240
9241         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9242         setting the undo_cursor.
9243
9244         * ParagraphParameters.h: include local includes first.
9245
9246 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9247
9248         * BufferView_pimpl.C:
9249         * BufferView_pimpl.h:
9250         * Makefile.am:
9251         * WorkArea.h:
9252         * WorkArea.C:
9253         * screen.C: move WorkArea into frontends/
9254
9255         * lyxscreen.h:
9256         * screen.C:
9257         * text.C:
9258         * BufferView.C:
9259         * BufferView2.C: move LyXScreen into frontends/
9260
9261         * lyxlookup.h:
9262         * lyxlookup.C:
9263         * lyx_gui.C: move lyxlookup into frontends/xforms/
9264
9265 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9266
9267         * BufferView2.C:
9268         * BufferView_pimpl.C:
9269         * FontLoader.C:
9270         * LyXView.h:
9271         * LyXView.C:
9272         * Makefile.am:
9273         * WorkArea.C:
9274         * XFormsView.h:
9275         * XFormsView.C:
9276         * buffer.C:
9277         * bufferlist.C:
9278         * bufferview_funcs.C:
9279         * converter.C:
9280         * importer.C:
9281         * lyx_cb.C:
9282         * lyx_gui.C:
9283         * lyx_main.C:
9284         * lyx_find.C:
9285         * lyxfunc.C:
9286         * lyxvc.C:
9287         * minibuffer.C:
9288         * text.C:
9289         * text2.C:
9290         * trans.C:
9291         * vc-backend.C: move LyX/XFormsView into frontends/
9292
9293 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9294
9295         * Makefile.am:
9296         * PainterBase.C:
9297         * PainterBase.h:
9298         * Painter.C:
9299         * Painter.h:
9300         * WorkArea.C:
9301         * WorkArea.h:
9302         * screen.C:
9303         * tabular.C:
9304         * text.C:
9305         * text2.C: move Painter to frontends/
9306
9307 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9308
9309         * buffer.C: comment out some some code that depend upon lyx_format
9310         < 220
9311
9312         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9313         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9314
9315         * buffer.h (NO_COMPABILITY): turn off compability
9316
9317         * ColorHandler.C: include scoped_array.hpp
9318
9319         * font.C: Use more specific smart_ptr header.
9320         * Painter.C: ditto
9321         * gettext.C: ditto
9322         * ShareContainer.h: ditto
9323         * lyx_main.h: ditto
9324         * kbmap.h: ditto
9325         * FontInfo.h: ditto
9326         * BufferView_pimpl.h: ditto
9327         * ColorHandler.h: ditto
9328
9329         * kbmap.C (defkey): change call to shared_ptr::reset
9330
9331 2002-05-21  Juergen Vigna  <jug@sad.it>
9332
9333         * buffer.C (insertErtContents): fix to insert ert asis if it is
9334         non empty. Skip it completely if it contains only whitespaces.
9335
9336 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9337
9338         * BufferView_pimpl.C:
9339         * BufferView2.C: clear selection on paste (bug 393)
9340
9341 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9342
9343         * DepTable.C: include ctime
9344
9345 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9346
9347         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9348
9349 2002-05-14  Juergen Vigna  <jug@sad.it>
9350
9351         * text.C (breakParagraph): fixed function to honor the keepempty
9352         layout in the right maner and also to permit the right breaking
9353         algorithm on empty or non empyt keepempty paragraphs.
9354
9355         * paragraph.C (breakParagraph): we have to check also if the par
9356         is really empty (!size()) for isempty otherwise we do the wrong
9357         paragraph break.
9358
9359 2002-05-10  Juergen Vigna  <jug@sad.it>
9360
9361         * buffer.[Ch] : The following are only changes to the ert
9362         compatibility read reading old LaTeX layout and font stuff and
9363         convert it to ERTInsets.
9364
9365         * buffer.h: added isErtInset().
9366
9367         * buffer.C (struct ErtComp): add a fromlayout bool to check
9368         if we're inside a LaTeX layout.
9369         (isErtInset): new helper function.
9370         (insertErtContents): look for other ert insets before this one
9371         and insert the contents there, so that we don't have subsequent
9372         ERT insets with nothing between them. This way we create only one
9373         inset with multiple paragraphs. Also check if we don't insert only
9374         spaces ' ' as they are ignored anyway afterwards in the .tex file
9375         so if we have only spaces we will ignore this latex part in the
9376         new file.
9377         (parseSingleLyXformat2Token \\layout): better compatibility when
9378         reading layout-latex stuff.
9379         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9380         language tag.
9381         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9382         stuff after reading the inset only get the information back from
9383         the stack.
9384
9385 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9386
9387         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9388
9389         * LaTeXFeatures.C (getBabelOptions): New method.
9390
9391 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9392
9393         * BufferView_pimpl.C (Dispatch): work around missing argument for
9394         'layout'
9395
9396 2002-05-08  Juergen Vigna  <jug@sad.it>
9397
9398         * text.C (leftMargin): handle paragraph leftindent.
9399
9400         * paragraph.C (writeFile): write the new \\leftindent tag.
9401         (validate): handle leftindent code.
9402         (TeXEnvironment): handle paragraphleftindent code again.
9403
9404         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9405
9406         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9407         for paragrap_extra indent code and new token \\leftindent.
9408         (latexParagraphs): handle the leftindent as environment.
9409
9410         * ParameterStruct.h: added leftindent support.
9411
9412         * ParagraphParameters.C (leftIndent): added support functions for
9413         the paragraph left indent.
9414
9415         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9416         more appropriate.
9417
9418 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9419
9420         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9421         inside insetERT.
9422
9423         * text.C (computeBidiTables): No bidi in insetERT.
9424
9425         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9426         in RTL documents.
9427
9428 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9429
9430         * version.C.in: pre 5
9431
9432 2002-05-02  José Matos  <jamatos@fep.up.pt>
9433         * buffer.C (makeDocBookFile): white space changes, add newline to
9434         command styles.
9435         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9436
9437         * tabular.C (docBook): fix typo.
9438
9439 2002-05-03  Juergen Vigna  <jug@sad.it>
9440
9441         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9442         change in LyXText as we can not be sure it was not freed.
9443         (drawOneRow): remove unused code.
9444
9445         * text.C (drawInset): redo the calculation of the need_break_row as
9446         it could have a row which was already freed.
9447         (draw): look at the return value of drawInset and return false if
9448         it also returned false.
9449         (paintRowText): look at the return value of draw and return false if
9450         it also returned false.
9451
9452         * lyxtext.h: added bool return type to drawInset() and draw() so that
9453         if we have a change in the row so that the rowbreak has to be redone
9454         we abort drawing as it will be called again.
9455
9456 2002-05-02  Juergen Vigna  <jug@sad.it>
9457
9458         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9459         a change in the maintext also if we're inside an inset.
9460         (Dispatch): set the cursor again after a break line and after the
9461         screen has been updated as it could be we're in a different row.
9462
9463         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9464         to set the cursor behind the pargraph with > size().
9465         (setCursor): check also for the same paragraph when checking where
9466         to put the cursor if we have a NFR inset.
9467
9468         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9469         parts of layout read further up as it still was in the wrong
9470         position.
9471
9472 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9473
9474         * screen.C (drawFromTo): change sine fullRebreak always return
9475         true.
9476
9477         * buffer.C (parseSingleLyXformat2Token): reindent some
9478
9479         * BufferView_pimpl.C (update): change since fullRebreak always
9480         return true.
9481         (Dispatch): git rid of the last hardcoded "Standard"s.
9482
9483 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9484
9485         * text2.[Ch] (fullRebreak): make it return void now that we always
9486         returned true.
9487
9488 2002-04-30  Juergen Vigna  <jug@sad.it>
9489
9490         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9491         ert compatibility check for "latex" layout.
9492
9493 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9494
9495         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9496         minipages: use col% instead of p%, and also use the current font.
9497         (makeLaTeXFile): Fix use babel condition.
9498         (parseSingleLyXformat2Token): Correct font when reading old floats.
9499
9500 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9501
9502         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9503         inserting list of floats.
9504
9505 2002-04-25  Herbert Voss  <voss@lyx.org>
9506
9507         * MenuBackend.C (expand): don't add the graphics extensions to the
9508         export menu
9509
9510 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9511
9512         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9513         non-existing layout, do not complain if it was the default layout
9514         of the original class (bug #342)
9515
9516 2002-04-24  Juergen Vigna  <jug@sad.it>
9517
9518         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9519         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9520
9521 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9522
9523         * buffer.C (getBibkeyList): If using \bibliography, return the
9524         option field with the reference itself. Enables us to provide natbib
9525         support when using \bibliography.
9526
9527 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9528
9529         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9530
9531         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9532         natbib is provided by the LaTeX class.
9533
9534 2002-04-23  Juergen Vigna  <jug@sad.it>
9535
9536         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9537         Wakeup functions.
9538
9539         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9540
9541 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9542
9543         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9544
9545         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9546         ensuremath around textordmasculine, textordfeminine and
9547         textdegree.
9548
9549 2002-04-19  Juergen Vigna  <jug@sad.it>
9550
9551         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9552         reinitializing the buffer otherwise row-dimensions may be wrong.
9553         (update): reset also the selection cursors if they do exits otherwise
9554         their x/y positions may be wrong.
9555
9556         * text2.C (cursorDown): don't enter the inset if we came from a row
9557         above and are one row over the inset.
9558
9559         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9560         really leaving an inset.
9561
9562 2002-04-18  Juergen Vigna  <jug@sad.it>
9563
9564         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9565         of the selected paragraph does not have the selected layout also if
9566         the last one had!
9567
9568         * text2.C (setLayout): fixed bug which did not change last selected
9569         paragraph.
9570
9571         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9572         changed the read and substituted \\end_float with \\end_inset!
9573
9574         * BufferView_pimpl.C (cursorPrevious):
9575         (cursorNext): fixed to make it work with rows heigher than the work
9576         area without moving the cursor only the draw of the row.
9577         (workAreaMotionNotify): fix jumping over high rows.
9578
9579 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9580
9581         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9582         Ressler.
9583
9584 2002-04-16  Juergen Vigna  <jug@sad.it>
9585
9586         * text2.C (setCursor): set also the irow().
9587         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9588         (cursorUp):
9589         (cursorDown): support for locking an inset if the x_fix value goes
9590         inside it. That way I can transverse insets too with cursor up/down.
9591
9592         * lyxrow.h: added irow helper function same as other (i) functions.
9593
9594         * BufferView_pimpl.C (cursorPrevious):
9595         (cursorNext): fixed for insets!
9596
9597 2002-04-15  Juergen Vigna  <jug@sad.it>
9598
9599         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9600         position otherwise it is wrong in some cases.
9601
9602         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9603         inside the inset before the call.
9604
9605 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9606
9607         * buffer.[Ch] (getBibkeyList): make it const.
9608
9609 2002-04-12  Juergen Vigna  <jug@sad.it>
9610
9611         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9612
9613         * text2.C (getCursorX): new helper function
9614         (setCursor): compute also ix_
9615         (setCursorFromCoordinates): set also ix.
9616
9617         * lyxcursor.h: added ix_ and helper functions.
9618
9619         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9620
9621         * buffer.C (insertStringAsLines): dont break paragraph if the this
9622         paragraph is inside an inset which does not permit it!
9623
9624         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9625         also with no chars on this paragraph.
9626         (paintRowText): only paint stuff if it's inside the workarea!
9627
9628         * paragraph.C (breakParagraph): honor keepempty flag and break the
9629         paragraph always below not above.
9630
9631         * BufferView2.C (unlockInset): update the paragraph layout on inset
9632         unlock as we changed paragraph in such a case.
9633
9634         * lyxfind.C (LyXFind): clear the former selection if not found!
9635
9636         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9637         again called in insertChar().
9638
9639         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9640         an inset which uses the whole row!
9641         (rightMargin): ditto.
9642         (insertChar): force a rebreak if we inserted an inset!
9643
9644 2002-03-28  Herbert Voss  <voss@lyx.org>
9645
9646         * lyxlength.[Ch]: add inBP() to get the right PS-point
9647         units (BigPoint). With inPixels we have rounding errors
9648
9649 2002-04-11  Juergen Vigna  <jug@sad.it>
9650
9651         * text2.C (setCursorFromCoordinates): set iy to the right value.
9652         (setCursor): add check if row->previous exists!
9653
9654         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9655         an old float_type as this was the case in the old code!
9656
9657         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9658
9659         * BufferView2.C (showLockedInsetCursor): use iy
9660         (fitLockedInsetCursor): ditto
9661
9662         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9663         locked insets as there we have the right value now.
9664
9665         * lyxcursor.C: added iy_ variable and iy functions to set to the
9666         baseline of cursor-y of the locked inset.
9667
9668         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9669         (setCursor): fixed for insets which need a full row.
9670
9671         * text.C (rowLastPrintable): don't ignore the last space when before
9672         an inset which needs a full row.
9673         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9674         as last character of a row when before a inset which needs a full row.
9675
9676 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9677
9678         * version.C.in: update date
9679
9680         * text2.C (fullRebreak): try to always return true and see what
9681         happens...
9682
9683 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9684
9685         * MenuBackend.C (expand): use Floating::listName
9686
9687         * FloatList.C (FloatList): add listName argument to the built-in
9688         floats
9689
9690         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9691         text associated with the float.
9692
9693 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9694
9695         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9696
9697 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9698
9699         * ShareContainer.h: add a couple of missing typenames.
9700
9701 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9702
9703         * lyxrc.C (getDescription): use _() correctly rather than N_().
9704
9705 2002-03-28  Herbert Voss  <voss@lyx.org>
9706
9707         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9708         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9709
9710 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9711
9712         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9713         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9714
9715 2002-03-29  Juergen Vigna  <jug@sad.it>
9716
9717         * lyxfunc.C (dispatch): add a missing fitCursor call.
9718
9719         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9720         it was scrolled by a cursor move, so return the bool status.
9721
9722         * BufferView.C (fitCursor): return the bool flag also to the outside
9723         world as this is needed.
9724
9725         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9726
9727         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9728         call the edit() as it is not needed (and wrong) IMO.
9729         (workAreaButtonPress): set the screen_first variable before evt.
9730         unlock the inset as this may change screen_first and then we have
9731         a wrong y position for the click!
9732
9733 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9734
9735         * MenuBackend.C (expand): another translation that I missed
9736
9737 2002-03-28  Juergen Vigna  <jug@sad.it>
9738
9739         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9740
9741         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9742
9743 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9744
9745         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9746
9747         * MenuBackend.C (expand): fix export/view/update when there is no
9748         document open.
9749
9750 2002-03-27  Herbert Voss  <voss@lyx.org>
9751
9752         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9753         and text%
9754
9755 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9756
9757         * bufferview_funcs.C (currentState): only show paragraph number
9758         for is DEVEL_VERSION is set.
9759
9760         * lyxfunc.C (dispatch): put warning in INFO channel
9761
9762         * MenuBackend.C (expand): translate the name of floats
9763
9764         * FloatList.C (FloatList): mark the float names for translation
9765
9766         * converter.C (convert): use LibScriptSearch
9767
9768 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9769
9770         * MenuBackend.C (defaults): fix default menu (we might as well get
9771         rid of it...)
9772
9773 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9774
9775         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9776         directory.
9777
9778 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9779
9780         * lyxvc.C: reorder includes.
9781
9782 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9783
9784         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9785           properly
9786
9787 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9788
9789         * CutAndPaste.C: change layouts earlier on paste
9790           to avoid crashing when calling getFont()
9791
9792 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9793
9794         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9795         irritating #error.
9796
9797 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9798
9799         * WorkArea.C: remove 'Pending' debug message.
9800
9801         * most files: ws cleanup
9802
9803         * buffer.[Ch]: ws changes
9804
9805         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9806
9807 2002-03-21  Juergen Vigna  <jug@sad.it>
9808
9809         * tabular.C (SetMultiColumn): collapse also the contents of the
9810         cells and set the last border right. Added a Buffer const * param.
9811
9812 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9813
9814         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9815         linking or not.
9816
9817 2002-03-19  Juergen Vigna  <jug@sad.it>
9818
9819         * text2.C (clearSelection): reset also xsel_cache.
9820
9821         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9822         where it needs to be called (John tells us to do so too :)
9823         (selectionLost): reset sel_cache.
9824
9825         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9826
9827 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9828
9829         * text2.C (setCursorIntern): put debuging code in INSETS channel
9830
9831 2002-03-19  André Pönitz <poenitz@gmx.net>
9832
9833         * lyxfunc.C: tiny whitespace change
9834
9835 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9836
9837         * ToolbarDefaults.C (init):
9838         * LyXAction.C (init):
9839         * commandtags.h:
9840         * BufferView_pimpl.C (Dispatch):
9841         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9842
9843 2002-03-19  Allan Rae  <rae@lyx.org>
9844
9845         * exporter.C (Export): removeAutoInsets before doing anything else.
9846         While I've just introduced a dependency on BufferView this really is
9847         the best place to clean the buffer otherwise you need to cleanup in
9848         a dozen places before calling export or cleanup in a dozen functions
9849         that export calls.
9850
9851         * converter.C (runLaTeX):
9852         (scanLog): Better handling of removeAutoInsets and screen updates.
9853
9854         * lyxfunc.C (dispatch): small whitespace changes
9855
9856 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9857
9858         * WorkArea.C (C_WorkAreaEvent): return a value.
9859         (event_cb): return 1 if we handled the event, 0 otherwise.
9860
9861         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9862
9863 2002-03-18  Juergen Vigna  <jug@sad.it>
9864
9865         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9866         (GetAdditionalWidth): ditto.
9867         (RightLine): ditto.
9868         (LeftLine): ditto.
9869
9870         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9871         inset if we're there actually (probably not used right now but this
9872         is the direction to go for unifying code).
9873         (paste): disable code to clear the selection.
9874
9875         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9876         inside an InsetText and move the check further up as it is in the
9877         wrong place.
9878
9879         * text2.C (pasteSelection): set a selection over the pasted text.
9880
9881 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9882
9883         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9884         and libgraphics to build on Cygwin.
9885
9886 2002-03-15  Juergen Vigna  <jug@sad.it>
9887
9888         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9889         inserting an Inset into the paragraph. I know this is not the best
9890         fix but we already use current_view in CutAndPaste so we will remove
9891         all of it's using at the same time.
9892
9893         * buffer.C (sgmlError): deactivated function till it is rewritten in
9894         the right mode, now it can create problems.
9895
9896         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9897         before accessing it.
9898
9899 2002-03-14  Juergen Vigna  <jug@sad.it>
9900
9901         * undo_funcs.C (textHandleUndo): do the right thing when updating
9902         the inset after the undo/redo.
9903
9904         * text2.C (setCursor): just some testcode for #44 not ready yet.
9905
9906         * undo_funcs.C (textHandleUndo): set the next() and previous()
9907         pointers of the paragraph to 0 before deleting otherwise we have
9908         problems with the Paragraph::[destructor].
9909
9910         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9911         on a paragraph insertion.
9912
9913 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9914
9915         * buffer.C (asciiParagraph): use += operator for char append to
9916         string.
9917
9918         * paragraph.C (getFontSettings): compare >= not just >
9919         (highestFontInRange): ditto
9920         (setFont): ditto
9921
9922 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9923
9924         * paragraph.C: change several algorithm to be more appripriate for
9925         the problem domain. This is lookip in FontList and in the InsetList.
9926
9927 2002-03-13  André Pönitz <poenitz@gmx.net>
9928
9929         * commandtags.h:
9930         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9931
9932 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9933
9934         * commandtags.h:
9935         * LyXAction.C:
9936         * lyxfunc.C:
9937         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9938
9939 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9940
9941         * Painter.C (display): anon helper function, adjust code for this
9942         change.
9943         (pixmap): remove function.
9944
9945         * Painter.h: remove private display variable.
9946
9947         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9948
9949 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9950
9951         * WorkArea.[Ch]: remove figinset_canvas cruft.
9952
9953 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9954
9955         * lyxtextclass.C (operator): add one item cache optimization.
9956
9957         * bufferlist.h: doxy changes
9958
9959         * bufferlist.C: ws changes
9960
9961         * DepTable.[Ch] (ext_exist): place const in the right spot.
9962
9963         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9964         call resizeInsets.
9965         (workAreaExpose): call resizeInsets when the with BufferView changes.
9966         (Dispatch): adjust for protectedBlank removal
9967         (specialChar): call updateInset if the insert went ok.
9968
9969         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9970         specialChar instead.
9971
9972         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9973
9974         * BufferView.h: doxy change
9975
9976         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9977
9978         * lyxtextclass.C (operator[]): remove non-const version
9979         (defaultLayout): remove non-const version
9980
9981 2002-03-12  Juergen Vigna  <jug@sad.it>
9982
9983         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9984         did resize the LyXText too.
9985
9986         * buffer.C (readLyXformat2): set layout information on newly allocated
9987         paragraphs.
9988
9989         * tabular.C (OldFormatRead): set layout information on the paragraph.
9990
9991 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9992
9993         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9994
9995 2002-03-11  Juergen Vigna  <jug@sad.it>
9996
9997         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9998         plainly wrong.
9999         (resizeCurrentBuffer): force also the insets to resize themselfes.
10000         (moveCursorUpdate): fixed up for InsetText.
10001
10002 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10003
10004         * commandtags.h:
10005         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10006         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10007         value of Dialogs::tooltipsEnabled().
10008         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10009
10010 2002-03-08  Juergen Vigna  <jug@sad.it>
10011
10012         * BufferView_pimpl.C (updateInset): update inset inside inset also
10013         if it isn't inside theLockingInset().
10014
10015 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10016
10017         * buffer.C (asciiParagraph): redo some of the word and line length
10018         handling.
10019         (getLists): look for Caption instead of caption.
10020
10021 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10022
10023         * buffer.C (Buffer): initialize niceFile to true
10024         (makeLaTeXFile):
10025         (makeLinuxDocFile):
10026         (makeDocBookFile): make sure niceFile is true on exit
10027
10028 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10029
10030         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10031
10032 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10033
10034         * LyXSendto.C: remove.
10035         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10036         * lyx_gui.C: remove now-redundant comment.
10037         * ColorHandler.h: remove forward declaration of class WorkArea.
10038         * lyxfunc.C: remove #include "WorkArea.h".
10039
10040 2002-03-07  Juergen Vigna  <jug@sad.it>
10041
10042         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10043         got moved away with the DEPM and also set the inset_owner always
10044         right which before could have been omitted.
10045
10046 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10047
10048         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10049         wanted layout is not found.
10050
10051 2002-03-07  Juergen Vigna  <jug@sad.it>
10052
10053         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10054
10055 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10056
10057         * paragraph.C (breakParagraph): use default layout not layout of
10058         prev paragraph.
10059         (Paragraph): clear ParagraphParameters.
10060
10061 2002-03-06  Juergen Vigna  <jug@sad.it>
10062
10063         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10064         otherwise it would not be a valid lenght. Fixed a special case in
10065         the minipage compatibility read where we end the document with a
10066         minipage.
10067
10068         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10069         was set as it could be 0 for InsetTexts first entry.
10070
10071 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10072
10073         * paragraph.C (writeFile): if layout is empty write out
10074         defaultLayoutName().
10075
10076         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10077         file without named layout we set layout to defaultLayoutName().
10078
10079 2002-03-06  Juergen Vigna  <jug@sad.it>
10080
10081         * CutAndPaste.C (copySelection): set layout for new paragraph.
10082
10083         * text.C (prepareToPrint): leave ERT inset left aligned
10084         (leftMargin): don't indent paragraphs inside ERT insets
10085
10086 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10087
10088         * paragraph.C (breakParagraph): dont call clear do the work manually
10089
10090         * paragraph.[Ch] (clear): remove function
10091
10092 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10093
10094         * paragraph.C (Paragraph): dont call clear, the work has already
10095         been done.
10096
10097         * lyxtextclass.C (operator): assert if n is empty
10098
10099         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10100         work manually instead.
10101
10102 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10103
10104         * BufferView_pimpl.C: protect selectionLost against text == 0
10105
10106 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10107
10108         * text.C (breakParagraph): fix a setting layout to '0' problem.
10109
10110 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10111
10112         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10113         final location of file, for the included files, and graphics.
10114
10115 2002-03-05  Juergen Vigna  <jug@sad.it>
10116
10117         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10118
10119 2002-03-04  Juergen Vigna  <jug@sad.it>
10120
10121         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10122
10123         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10124         last column of multicolumn cells.
10125         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10126
10127 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10128
10129         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10130         file if it doesn't go to a temporary file.
10131
10132         * buffer.C (sgmlOpenTag):
10133         (sgmlCloseTag):  remove extra newline insertion.
10134
10135 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10136
10137         * text.C (getRowNearY): comment out debug msg
10138
10139 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10140
10141         * text2.C: first -> first_y
10142
10143         * text.C (getRowNearY): add some attemts at a possible
10144         optimization, not working.
10145
10146         * tabular.[Ch]: add BufferParams to several function so that newly
10147         created paragraph can be initialized to he default layotu for the
10148         buffers textclass.
10149
10150         * tabular-old.C (ReadOld): add buf->params to call of Init
10151
10152         * screen.C: rename text->first to text->first_y
10153
10154         * paragraph.C (breakParagraph): always set layout in the broken
10155         paragraph
10156
10157         * lyxtextclass.C (Read): remove lowercase
10158         (hasLayout): ditto
10159         (operator): ditto
10160         (delete_layout): ditto
10161
10162         * lyxtext.h: rename first -> first_y
10163
10164         * lyxlayout.C (Read): remove lowercase
10165         (name): ditto
10166         (setName): ditto
10167         (obsoleted_by): ditto
10168
10169         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10170
10171         * buffer.C (insertErtContents): add params are to InsetERT
10172         (parseSingleLyXformat2Token): add code to check if a paragraphs
10173         layout really exist.
10174         (parseSingleLyXformat2Token): add params to several inset
10175         constructors
10176         (asciiParagraph): remove lowercase, do the layout comparisons with
10177         no_case
10178
10179         * BufferView_pimpl.C (cursorNext): first -> first_y
10180         (resizeCurrentBuffer): first -> first_y
10181         (updateScrollbar): first -> first_y
10182         (scrollCB): first -> first_y
10183         (workAreaMotionNotify): first -> first_y
10184         (workAreaButtonPress): first -> first_y
10185         (checkInsetHit): first -> first_y
10186         (cursorPrevious): first -> first_y
10187         (cursorNext): first -> first_y
10188         (Dispatch): add buffer_->params to severl inset contructors
10189
10190 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10191
10192         * lyxlayout.C (Read): remove some debug info that I forgot.
10193
10194         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10195         clean up the code slightly.
10196         (makeLinuxDocFile): ditto
10197         (makeDocBookFile): ditto
10198
10199         * text2.C: layout as string
10200
10201         * text.C: layout as string
10202
10203         * paragraph_pimpl.C: layout as string
10204
10205         * paragraph.[Ch]: layout as string
10206
10207         * lyxtextclasslist.[Ch]: layout as string
10208
10209         * lyxtextclass.[Ch]: layout as string
10210
10211         * lyxtext.h: layout as string
10212
10213         * lyxlayout.[Ch]: layout as string
10214
10215         * lyx_cb.C: layout as string
10216
10217         * bufferview_funcs.C: layout as string
10218
10219         * bufferparams.C: layout as string
10220
10221         * buffer.C: layout as string
10222
10223         * LyXView.[Ch]: layout as string
10224
10225         * LaTeXFeatures.[Ch]: layout as string
10226
10227         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10228
10229         * BufferView_pimpl.C: change current_layout to string, remove
10230         lyx::layout_type.
10231         (Dispatch):
10232         (smartQuote):
10233         (insertInset):
10234         (workAreaButtonRelease): layout as string
10235
10236         * BufferView2.C (unlockInset): adjust
10237
10238         * vspace.C (asLatexCommand): use an explict temp variable.
10239
10240 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10241
10242         * Makefile.am: use FRONTEND_*
10243
10244 2002-03-01  Juergen Vigna  <jug@sad.it>
10245
10246         * tabular.C (SetWidthOfMulticolCell): changed to something better
10247         I hope but still work in progress.
10248         (recalculateMulticolumnsOfColumn): renamed function from
10249         recalculateMulticolCells as it is more appropriate now.
10250         (SetWidthOfCell): calculate multicols better.
10251
10252 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10253
10254         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10255
10256         * lyxfunc.C (processKeySym): print sequence also if it is
10257         `deleted' (complete)
10258
10259         * kbsequence.C (print): print sequence even if it is deleted
10260         (complete would be a better word, actually).
10261
10262         * lyxfunc.C (dispatch): print complete options after a prefix key
10263
10264         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10265
10266 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10267
10268         * text2.C (setCharFont): eliminate setCharFont code duplication.
10269
10270 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10271
10272         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10273         LFUN_TABULAR_FEATURE (bug #177)
10274
10275 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10276
10277         * Makefile.am: remove figure.h
10278
10279 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10280
10281         * Bufferview_pimpl.C:
10282         * CutAndPasteC:
10283         * LaTeX.C:
10284         * LyXSendto.C:
10285         * buffer.C:
10286         * bufferlist.C:
10287         * converter.C:
10288         * language.C:
10289         * lyxfunc.C:
10290         * lyxvc.C:
10291         * paragraph.C:
10292         * text.C:
10293         * text2.C: remove #include "lyx_gui_misc.h".
10294
10295         * LaTeX.C: added #include <cstdio>
10296
10297 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10298
10299         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10300         that the paragraph following this one can have.
10301
10302         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10303
10304         * vspace.C (asLatexCommand): fix bogus gcc warning
10305
10306         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10307
10308 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10309
10310         * text2.C (setLayout): get rid of redundant code
10311
10312 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10313
10314         * text2.C (incDepth): make sure depth cannot be increased beyond
10315         reasonable values.
10316
10317 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10318
10319         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10320         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10321
10322         * PainterBase.h (image):
10323         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10324         a LyXImage const *.
10325
10326 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10327
10328         * BufferView.C:
10329         * BufferView.h:
10330         * BufferView_pimpl.C:
10331         * BufferView_pimpl.h:
10332         * LaTeXFeatures.C:
10333         * LyXAction.C:
10334         * LyXView.C:
10335         * Makefile.am:
10336         * UpdateList.h:
10337         * UpdateList.C:
10338         * buffer.C:
10339         * figure.h:
10340         * figureForm.C:
10341         * figureForm.h:
10342         * figure_form.C:
10343         * figure_form.h:
10344         * lyx_cb.C:
10345         * lyx_gui.C:
10346         * lyx_gui_misc.C:
10347         * lyxfunc.C:
10348         * sp_base.h:
10349         * sp_ispell.h:
10350         * sp_pspell.h:
10351         * sp_spell.C: remove fig inset, and the crap house of
10352           cards that follows it
10353
10354 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10355
10356         * Makefile.am:
10357         * lyxserver.C:
10358         * os2_defines.h:
10359         * os2_errortable.h:
10360         * nt_defines.h: move .h into support/
10361
10362         * vms_defines.h: remove
10363
10364         * WorkArea.C: add space in debug output
10365
10366         * text2.C:
10367         * paragraph.C:
10368         * buffer.C: add WITH_WARNINGS
10369
10370         * vc-backend.h:
10371         * vc-backend.C:
10372         * bufferlist.C: s/retrive/retrieve/, add docs
10373
10374         * vspace.h:
10375         * vspace.C:
10376         * kbmap.h:
10377         * lyxlength.h:
10378         * lyxgluelength.h:
10379         * length_common.h:
10380         * chset.h:
10381         * chset.C: add docs
10382
10383         * lyxgui.C: add ID to X error handler
10384
10385         * lyxtestclass.c: fix typo
10386
10387 2002-02-26  Juergen Vigna  <jug@sad.it>
10388
10389         * tabular_funcs.C (write_attribute): changed so that some default
10390         attributes are not written at all.
10391         (getTokenValue): set default values before trying to read the
10392         value so we have the return value always set as default if we don't
10393         find the token we search for.
10394
10395         * tabular.C (Write): write bools as bools not as strings!
10396
10397 2002-02-22  Juergen Vigna  <jug@sad.it>
10398
10399         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10400         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10401
10402         * text.C (leftMargin): don't add an indent for paragraphs inside
10403         tabular cells (fix #208).
10404
10405 2002-02-21  José Matos  <jamatos@fep.up.pt>
10406
10407         * tabular.C (docBook): fixed support for long tables.
10408
10409 2002-02-20  Juergen Vigna  <jug@sad.it>
10410
10411         * text2.C (getFont): get the drawing font of the Inset if this
10412         paragraph is inside an inset (only important for InsetERT for now).
10413
10414         * buffer.C (insertErtContents): use new lanugage params in ERT
10415         constructor.
10416
10417         * CutAndPaste.C: commenting out seemingly uneeded code.
10418
10419 2002-02-19  Allan Rae  <rae@lyx.org>
10420
10421         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10422         Iterators might be simple to use but they also get invalidated.
10423         (removeAutoInsets): renamed saved cursor tracking variables and added
10424         some comments to clarify what everything does.
10425
10426 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10427
10428         * Chktex.C:
10429         * LaTeX.C:
10430         * LyXSendto.C:
10431         * converter.C:
10432         * lyx_cb.C:
10433         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10434         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10435
10436         * lyxfunc.C:
10437         * vc-backend.h: remove #include "support/syscall.h"
10438
10439         * LaTeX.C:
10440         * LyXSendto.C:
10441         * converter.C: rearrange #includes in Lars' approved fashion.
10442
10443         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10444         forward declare class Timeout in the header file.
10445
10446         * XFormsView.C: changes due to the above.
10447
10448         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10449         similar to LyXView.
10450
10451         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10452         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10453
10454 2002-02-18  José Matos  <jamatos@fep.up.pt>
10455
10456         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10457         insets contents.
10458
10459 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10460
10461         * a lot of small ws changes
10462         * add a lot of using std::XXX
10463         * use std construcs some places where approp.
10464         * use some exisint stuff from lyxfunctional where approp.
10465         * Make file changes to use partial linking (lets test this now...)
10466
10467 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10468
10469         * Chktex.C:
10470         * buffer.C:
10471         remove #include "support/syscontr.h" as it's redundant. Always has been.
10472
10473         * Chktex.C:
10474         * LaTeX.C:
10475         * LyXSendto.C:
10476         * converter.C:
10477         * lyx_cb.C:
10478         * vc-backend.C:
10479         change Systemcalls::System to Systemcalls::Wait and
10480         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10481         No change of functionality, just reflects the stripped down Systemcalls
10482         class.
10483
10484 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10485
10486         * debug.[Ch]: add a GRAPHICS type to the enum.
10487
10488 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10489
10490         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10491
10492         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10493         there is an inset.
10494
10495 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10496
10497         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10498         match the changes below.
10499
10500         * text2.C (toggleInset): if there is not editable inset at cursor
10501         position, try to see if cursor is _inside_ a collapsable inset
10502         and close it.
10503
10504 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10505
10506         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10507         document menu has a nice checkbox
10508
10509 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10510
10511         * lyxlength.C (asLatexString): change PW to output as percent of
10512         \textwidth.
10513
10514         * lengthcommon.C: change '%' to 't%'
10515
10516         * lyxfunc.C (dispatch): a few comments from Martin
10517
10518 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10519
10520         * WorkArea.h:
10521         * WorkArea.C:
10522         * BufferView_pimpl.h:
10523         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10524           the X selection.
10525
10526 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10527
10528         * vspace.C (inPixels): fix compiler warning
10529
10530 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10531
10532         * lyxfunc.C (getStatus): fix status message for disabled commands.
10533
10534 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10535
10536         * BufferView_pimpl.C: fix crash on close buffer
10537         during selection (#227)
10538
10539 2002-01-27  Herbert Voss  <voss@lyx.org>
10540
10541         * buffer.C: link old Figure to new graphic inset
10542
10543 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10544
10545         * FontLoader.C (getFontinfo): Change the latex font names in order
10546         to match the names of type1inst.
10547
10548 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10549
10550         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10551
10552         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10553         (extchanged): ditto
10554         (ext_exist): ditto
10555         (remove_files_with_extension): ditto
10556         (remove_file): ditto
10557         (write): ditto
10558
10559         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10560         document is smaller than the work area height. Do not initialize
10561         static variables to 0.
10562
10563 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10564
10565         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10566
10567         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10568         LFUN_LAYOUT_PARAGRAPHS.
10569
10570         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10571         tabular. It is possible to provide a possible cell, which will
10572         typically be the actcell from the corresponding insettabular
10573
10574         * lyxfunc.C (getStatus): small cleanup; disable
10575         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10576         true
10577
10578 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10579
10580         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10581
10582         * paragraph.C (startTeXParParams):
10583         (endTeXParParams): new methods. The LaTeX code to
10584         start/end paragraph formatting
10585         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10586         empty (fixes bug #200)
10587
10588         * vspace.C (inPixels): adapt to the change below
10589         (inPixels): [later] more cleanups (remove unused variables)
10590
10591         * lyxlength.C (inPixels): change to use a width and a height as
10592         parameter.
10593
10594 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10595
10596         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10597         Replaced with \paperwidth
10598
10599         * DepTable.C (insert): add std:: qualifier
10600
10601 2002-01-18  Allan Rae  <rae@lyx.org>
10602
10603         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10604         updated also?
10605
10606         * text.C (drawInset): Turned out I didn't know enough about how
10607         rebreaking worked.  This fixes most of the redraw problems.  I see
10608         an occasional cursor trail when a line is broken now and the cursor
10609         placement can seem out by a few pixels also after a rebreak.
10610
10611 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10612
10613         * buffer.C (parseSingleLyXformat2Token): update because minipage
10614         width is now a LyXLength
10615
10616         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10617
10618         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10619         math insets
10620
10621 2002-01-17  Juergen Vigna  <jug@sad.it>
10622
10623         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10624
10625         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10626         is set correctly and the inset is updated correctly.
10627
10628 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10629
10630         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10631         the beginning of the loop.
10632
10633 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10634
10635         * lyxrc.C: improve help for use_scalable_fonts
10636
10637 2002-01-17  Allan Rae  <rae@lyx.org>
10638
10639         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10640
10641 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10642
10643         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10644         make sure to set their inset_owner to the right value (bug #171)
10645
10646 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10647
10648         * DepTable.h
10649         * DepTable.C: Implement mtime checking to reduce time spent doing
10650         CRCs.
10651
10652 2002-01-16  Juergen Vigna  <jug@sad.it>
10653
10654         * tabular.C (GetAdditionalHeight): one of error fixed.
10655
10656         * lyxrc.C (output): small fix in writing use_pspell.
10657
10658 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10659
10660         * sp_base.h: #include LString.h
10661
10662 2002-01-16  Allan Rae  <rae@lyx.org>
10663
10664         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10665         Can someone check this please?
10666
10667         * text.C (drawInset): It was possible that p.row would be removed by
10668         breakAgainOneRow upsetting a few other settings.  There may be another
10669         small tweak possible by setting need_break_row = 0 when p.row has been
10670         removed but I don't know enough about the logic here.
10671
10672 2002-01-15  Allan Rae  <rae@lyx.org>
10673
10674         * text.C (insertChar): removed conditional truism.
10675
10676         * BufferView2.C (removeAutoInsets): More tweaks.
10677         cur_par_prev could be a stray pointer.  Check for trailing empty line
10678         in case last line was cur_par and only had an error inset on it.
10679
10680 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10681
10682         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10683         absolute
10684
10685         * vc-backend.C (most methods):
10686         * exporter.C (Export):
10687         * converter.C (convert):
10688         (runLaTeX):
10689         * LyXSendto.C (SendtoApplyCB):
10690         * lyxfunc.C (dispatch):
10691         (menuNew):
10692         (open):
10693         (doImport):
10694         * lyx_cb.C (AutoSave):
10695         (InsertAsciiFile):
10696         * BufferView_pimpl.C (MenuInsertLyXFile):
10697         * buffer.C (runChktex): use Buffer::filePath().
10698
10699         * buffer.h: rename filename to filename_; rename filepath to
10700         filepath_ and make it private
10701         (filePath): new method
10702
10703         * buffer.C (writeFile): use fileName()
10704         (getLatexName):
10705
10706         * lyx_main.C (init): fix starting  of LyX when the binary is a
10707         link from so,ewhere else.
10708
10709         * minibuffer.C: include <cctype> for isprint
10710
10711 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10712
10713         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10714         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10715         name clash with InsetCollapsable's width function.
10716
10717 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10718
10719         * lastfiles.C: include <iterator>
10720
10721 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10722
10723         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10724         std::count.
10725
10726         * buffer.C (makeLaTeXFile): ditto.
10727         Also make loop operation more transparent.
10728
10729 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10730
10731         * ToolbarDefaults.C: remove trailing comma closing namespace.
10732
10733         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10734
10735         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10736         as in WorkArea.
10737
10738         * trans.C (Load): comment out unused variable, allowed.
10739
10740 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10741
10742         * minibuffer.[Ch] (append_char): new method to recieve input from the
10743         drop-down completion browser. If a key was pressed, then recieve this
10744         char and append it to the existing string.
10745         (peek_event): modify the positioning data passed to the completion
10746         browser so that it can be placed above the minibuffer rather than below.
10747 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10748
10749         * LyXAction.C (init): alloe error-next for readonly documents.
10750
10751         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10752         count.
10753
10754 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10755
10756         * bufferlist.C (readFile): create the buffer _after_ checking that
10757         the file exists.
10758
10759         * lyxfunc.C (verboseDispatch): fix handling of arguments
10760
10761         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10762
10763         * lyxrc.C: use string::erase() instead of initializing to "".
10764
10765
10766 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10767
10768         * BufferView_pimpl.h:
10769         * BufferView_pimpl.C:
10770         * WorkArea.h:
10771         * WorkArea.C:
10772         * text2.C: tell X when we have made a selection for copying
10773
10774 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10775
10776         * BufferView_pimpl.C (MenuInsertLyXFile):
10777         * lyxfunc.C (menuNew):
10778         (open):
10779         (doImport): add shortcuts to directory buttons
10780
10781         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10782         open a float)
10783
10784         * lyxfunc.C (setStatusMessage):
10785         (getStatusMessage): new methods
10786         (getStatus):use setStatusMessage instead of setErrorMessage
10787         (dispatch): when function is disabled, set error message here
10788         [instead of in getStatus previously]
10789
10790         * BufferView_pimpl.C (workAreaButtonRelease): update
10791         toolbar/menubar here too.
10792
10793 2002-01-13  Allan Rae  <rae@lyx.org>
10794
10795         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10796         Now seems indestructible.  Remaining task is to audit all other
10797         code affected by deleteEmptyParagraphMechanism.  One small quirk
10798         left is that an empty document with an error in the preamble can
10799         be made to report an error but no error box appears.  I don't know
10800         where it goes.
10801         (removeAutoInsets): Improved comments.
10802
10803 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10804
10805         * Thesaurus.h:
10806         * Thesaurus.C: update for Aiksaurus 0.14
10807
10808 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10809
10810         * text2.C (firstParagraph): removed member function, all uses
10811         replaces with ownerParagraph
10812         (redoParagraphs): here
10813         (updateInset): here
10814         (toggleAppendix): here
10815         * BufferView2.C (insertErrors): here
10816         (setCursorFromRow): here
10817
10818 2002-01-13  Allan Rae  <rae@lyx.org>
10819
10820         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10821         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10822         There is still a way to segfault this although you may have to do this
10823         multiple times: Have an InsetERT with an unknown command in it.
10824         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10825         <down-arrow>, <Enter> again, View->DVI, BANG!
10826
10827         * text2.C (setCursor):
10828         (deleteEmptyParagraphMechanism):
10829         * lyxtext.h (setCursor):
10830         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10831         Making use of the return value may help fix other bugs.
10832
10833 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10834
10835         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10836
10837         * LyXView.C (updateMenubar): call MenuBar::update here
10838         (updateToolbar): but not here
10839         (showState): do not update toolbar/menubar
10840
10841         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10842         should need to care about that.
10843
10844         * lyxfunc.C (verboseDispatch): simplify a bit
10845         (getStatus): have a version which takes a pseudoaction, and
10846         another which requires a (kb_action,string).
10847
10848         * LyXAction.C (retrieveActionArg): make it work also when action
10849         is not a pseudo-action.
10850         (getActionName): simplify a bit
10851         (helpText):
10852
10853 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10854
10855         * lyxfunc.C (verboseDispatch): new families of methods with
10856         several ways to specify a command and a bool to indicate whether
10857         the command name and shortcut should be displayed in minibuffer
10858         (eventually, we could extend that to a finer bitmask like
10859         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10860         (dispatch): the pristine dispatch command which just, well,
10861         dispatchs! Note it still sets its result to minibuffer; I'm not
10862         sure we want that.
10863
10864         * lyxfunc.h: remove setHintMessage
10865
10866         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10867
10868 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10869
10870         * BufferView_pimpl.C (specialChar): delete new inset if we have
10871         not been able to insert it.
10872
10873         * kbmap.C: revert to using int instead of kb_action, since all we
10874         are dealing with is pseudo-actions.
10875
10876         * LyXAction.C (searchActionArg): change to return int instead of
10877         kb_action, since the result is a pseudoaction.
10878
10879 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10880
10881         * buffer.C (insertErtContents): Fix (partially) the font bug.
10882
10883 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10884
10885         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10886         as the other one is broken on my machine!
10887
10888 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10889
10890         * commandtags.h:
10891         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10892
10893 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10894
10895         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10896         reflect their actual use. Provide compatibility code for older lyxrc
10897         files.
10898
10899         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10900         FL_NORMAL_STYLE.
10901         change names of popup font variables in line with the changes to lyxrc.C
10902
10903 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10904
10905         * buffer.C (asciiParagraph): avoid outputing a word twice after
10906         an inset.
10907
10908         * lyxrc.C (getDescription): document that document_path and
10909         template_path can be empty.
10910
10911 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10912
10913         * LaTeXFeatures.C (getMacros):
10914         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10915
10916         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10917
10918         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10919         getPackages.
10920         (getPackages): rename feature "floats" to "float". Use an array to
10921         iterate over 'simple' features (i.e. just a \usepackage). Add
10922         handling of "amsmath" (renamed from "amsstyle").
10923
10924 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10925
10926         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10927         features list.
10928
10929 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10930
10931         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10932         FuncStaus::FuncStatus & FuncStaus::some_method().
10933
10934 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10935
10936         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10937         of the func_satus stuff. Edited and massaged in various ways by
10938         JMarc.
10939
10940         * lyxfunc.C (getStatus): use FuncStatus
10941
10942 2002-01-08  Juergen Vigna  <jug@sad.it>
10943
10944         * text.C (nextBreakPoint): use function Inset::isChar().
10945
10946         * paragraph.C (TeXOnePar): use function
10947         Inset::forceDefaultParagraphs.
10948
10949         * buffer.C (latexParagraphs): use function
10950         Inset::forceDefaultParagraphs.
10951
10952 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10953
10954         * lyx_gui.C (init): set the style of the menu popups to
10955         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10956
10957 2002-01-07  Juergen Vigna  <jug@sad.it>
10958
10959         * text.C (setHeightOfRow): small fix
10960         (prepareToPrint): don't look at alignment if we don't have the place
10961         for doing it.
10962
10963 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10964
10965         * box.C: New file. Move the Box methods and functions out of box.h,
10966         following Lars' suggestion.
10967
10968 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10969
10970         * box.h: #include "support/LOstream.h", needed for inlined function.
10971
10972         * lyxtextclass.C:
10973         * lyxtextclasslist.C: added some using std declarations.
10974
10975 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10976
10977         * box.h: make signed dimensions to allow insets wider than
10978           the screen (bug #162)
10979
10980         * BufferView_pimpl.C: add some insetHit debug
10981
10982 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10983
10984         * vc-backend.C: add FIXME
10985
10986 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10987
10988         * lyxfunc.C (getStatus): enable code for showing math font status
10989         in toolbar/menu.
10990
10991 2002-01-07  Juergen Vigna  <jug@sad.it>
10992
10993         * text.C (nextBreakPoint): removed debug output not needed anymore.
10994
10995 2002-01-06  Juergen Vigna  <jug@sad.it>
10996
10997         * text.C (nextBreakPoint): fixed up this function we had this bug
10998         since ever but now hopefully we break row better.
10999         (insertChar): we have to check if an inset is the next char as it
11000         could now happen that a large inset is causing a break.
11001
11002 2002-01-05  Juergen Vigna  <jug@sad.it>
11003
11004         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11005         if it doesn't like to be drawed.
11006
11007 2002-01-04  Juergen Vigna  <jug@sad.it>
11008
11009         * BufferView2.C (lockInset): forgot to set a cursor.
11010
11011         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11012
11013 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11014
11015         * FormMathsPanel.C:
11016         * FormMathsPanel.h
11017         * MathsSymbols.C:
11018         * form_maths_panel.C:
11019         * form_maths_panel.h:
11020         * form_maths_panel.fd: implemented sub- and super- buttons in math
11021         panel.
11022
11023         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11024         (or ^ space) to be used as in TeX (req'd by André).
11025
11026         * lyxfunc.C: Allow ^ and _ again to be used both as
11027         super/subscript (mathed) and as themselves (in text).
11028
11029 2002-01-03  Allan Rae  <rae@lyx.org>
11030
11031         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11032         "LyX" or the filename of the current buffer if it has one.  This is a
11033         modified form of John Levon's patch.
11034
11035         * XFormsView.C (setWindowTitle): also set icon title.
11036
11037         * LyXView.h (setWindowTitle): signature changed.
11038         * XFormsView.h (setWindowTitle): ditto.
11039
11040 2002-01-02  Juergen Vigna  <jug@sad.it>
11041
11042         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11043
11044 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11045
11046         * screen.C (topCursorVisible): introduce a temp var for
11047         text->cursor.row(), handle the case where this row is null. (kindo
11048         hachish)
11049
11050         * text2.C (setCursor): add a couple of asserts.
11051
11052         * paragraph.h (inset_iterator): add -> operator
11053
11054         * paragraph.[Ch] (autoDeleteInsets): remove member function
11055
11056         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11057         cursor pos correctly and handle inset deletion by itself.
11058         (insertErrors): move iterator declaration out of for expression
11059
11060         * lyxtextclass.C: add <algorithm>
11061
11062         * Makefile.am: added the new files to sources, removed layout.C
11063
11064         * layout.C: removed file
11065
11066         * layout.h: remove LYX_DUMMY_LAYOUT
11067
11068         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11069         layout.
11070
11071         * lyxlayout.[Ch]:
11072         * lyxtextclass.[Ch]:
11073         * lyxtextclasslist.[Ch]: new files
11074
11075         * include order changes to a lot of files, also changes because of
11076         the six new files.
11077
11078 2001-12-27  Juergen Vigna  <jug@sad.it>
11079
11080         * buffer.C (asciiParagraph): more fixes.
11081
11082         * tabular.C (ascii): make ascii export support export of only the
11083         data separated by a column-delimiter.
11084         (ascii): better support for ascii export.
11085
11086         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11087
11088 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11089
11090         * tabular_funcs.C: use a "using std::getline" instead of the
11091         previous fix from Angus (necessary for cxx + lyxstring)
11092
11093 2001-12-24  Juergen Vigna  <jug@sad.it>
11094
11095         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11096
11097         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11098         problems. First check a minipage also if we have some ert-contents
11099         (not only on par->size(), second set the right depth of the paragraph
11100         on the relink to the root-paragraph-list!
11101
11102         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11103         which then did not anymore update the main paragraphs on undo/redo!
11104
11105 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11106
11107         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11108         code. Support all font-changing funcs (even those which are not in
11109         menu currently). Support for reporting font settings in
11110         mathed (disabled until Andre provides a function on mathed's side).
11111
11112         * func_status.h (toggle): small helper function to set toggle
11113         state on a flag.
11114
11115 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11116
11117         * tabular_funcs.C: getline -> std::getline
11118
11119 2001-12-21  Juergen Vigna  <jug@sad.it>
11120
11121         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11122         accessed and could be 0 (I couldn't generate this but it seems
11123         Michael could!).
11124
11125 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11126
11127         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11128         * tabular_funcs.h: here and include iosfwd
11129
11130 2001-12-20  Juergen Vigna  <jug@sad.it>
11131
11132         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11133         inside inset but undo_par was.
11134
11135 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11136
11137         * Thesaurus.C: always include <config.h> in sources.
11138
11139         * Painter.h:
11140         * lyxlookup.h:
11141         * box.h: do not include <config.h> in header files
11142
11143         * text.C (paintLastRow): remove unused variable
11144
11145         * text.C (transformChar):
11146         (insertChar):
11147         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11148
11149         * Painter.C (text):
11150         * font.C (width): rewrite to use uppercase() instead of
11151         islower/toupper.
11152
11153         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11154
11155 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11156
11157         * lyxfind.C: clean up of find failure position change
11158
11159 2001-12-20  Juergen Vigna  <jug@sad.it>
11160
11161         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11162
11163         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11164         (TeXRow): added to LaTeX a single tabular row.
11165         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11166         (Latex): simplified and finally good LT-h/f support.
11167         (various_functions): just small adaptions for LT-h/f support.
11168
11169         * tabular_funcs.[hC]: added and moved here all not classfunctions
11170         of LyXTabular.
11171
11172 2001-12-19  Juergen Vigna  <jug@sad.it>
11173
11174         * tabular.[Ch]: better support for longtabular options (not finished
11175         yet!)
11176
11177 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11178
11179         * text.C (paintLastRow): use the label font instead of the font of
11180         the last character to compute the size of *_BOX. This makes more
11181         sense and avoids a crash with empty paragraphs.
11182         Use Painter::rectangle to draw EMPTY_BOX.
11183
11184 2001-12-19  Juergen Vigna  <jug@sad.it>
11185
11186         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11187         the paragraphs if the replaced paragraph is not the first one!
11188         Tried to delete not used paragraphs but does not work yet so for
11189         now it's inside #ifdef's and by default off!
11190
11191 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11192
11193         * MenuBackend.C: include "lyx_main.h" instead of declaring
11194         lastfiles (actually was declared as LastFiles* instead of a
11195         scoped_ptr).
11196
11197 2001-12-17  Juergen Vigna  <jug@sad.it>
11198
11199         * tabular.C (AppendColumn): applied John's fix
11200
11201 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11202
11203         * BufferView.h:
11204         * BufferView.C:
11205         * BufferView_pimpl.h:
11206         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11207
11208         * Makefile.am:
11209         * box.h: new start of class for above
11210
11211         * lyxfunc.C: ignore space-only minibuffer dispatches.
11212           Show the command name when it doesn't exist
11213
11214         * minibuffer.C: don't add empty lines to the history
11215
11216         * minibuffer.C: add a space on dropdown completion
11217
11218 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11219
11220         * text.C: fix line above/below drawing in insets
11221
11222 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11223
11224         * lyxlength.C (LyXLength): Initialize private variables.
11225
11226 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11227
11228         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11229         when inserting error insets.
11230
11231 2001-12-13  Juergen Vigna  <jug@sad.it>
11232
11233         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11234         actually sometimes the before-paragraph.
11235         (setUndo): don't clear the redostack if we're not actually undoing!
11236
11237 2001-12-06  Juergen Vigna  <jug@sad.it>
11238
11239         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11240         and fixed redoing of main paragraph, so we can use it now ;)
11241
11242         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11243
11244 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11245
11246         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11247         Juergen's request
11248
11249 2001-12-13  André Pönitz <poenitz@gmx.net>
11250
11251         * undostack.[Ch]:
11252         * undo_func.C: minor cleanup
11253
11254 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11255
11256         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11257         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11258         font in urw-fonts package which is marked as -urw-fontspecific and
11259         does not work (incidentally, changing the encoding in the
11260         fonts.dir of this package to -adobe-fontspecific fixes the
11261         problem).
11262
11263         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11264         is a crash when undoing first paragraph (Juergen, please take a
11265         look). THis does not mean the undo fix is wrong, just that it
11266         uncovers problems.
11267
11268         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11269         the (Paragraph*) version when needed instead of duplicating the
11270         code.
11271
11272         * text.C (workWidth): use Inset::parOwner to find out where the
11273         inset has been inserted. This is a huge performance gain for large
11274         documents with lots of insets. If Inset::parOwner is not set, fall
11275         back on the brute force method
11276
11277         * paragraph_pimpl.C (insertInset):
11278         * paragraph.C (Paragraph):
11279         (cutIntoMinibuffer): set parOwner of insets when
11280         inserting/removing them
11281
11282         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11283
11284 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11285
11286         * commandtags.h:
11287         * LyXAction.C:
11288         * lyx_main.C:
11289         * lyxfunc.C:
11290         * mathed/formulabase.C:
11291         * mathed/math_cursor.[Ch]:
11292         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11293
11294
11295 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11296
11297         * lyxlength.[Ch] (operator!=): new function
11298
11299 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11300
11301         * text.C (workWidth): use Inset::parOwner to find out where the
11302         inset has been inserted. This is a huge performance gain for large
11303         documents with lots of insets. If Inset::parOwner is not set, fall
11304         back on the brute force method
11305
11306         * paragraph_pimpl.C (insertInset):
11307         * paragraph.C (Paragraph):
11308         (cutIntoMinibuffer): set parOwner of insets when
11309         inserting/removing them
11310
11311         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11312
11313 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11314
11315         * tabular-old.C (getTokenValue):
11316         * tabular.C (getTokenValue):
11317         (write_attribute): new versions for LyXLength
11318         (everywhere): adjust the use of widths
11319
11320         * tabular.h: change the type of widths from string to LyXLength
11321
11322 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11323
11324         * paragraph.C: fixed missing line number count when exporting
11325         Environments to LaTeX file
11326
11327         * buffer.C: added informational message for checking line numbers.
11328
11329 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11330
11331         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11332         paragraph, do the 'double space' part, but not the 'empty
11333         paragraph' one.
11334
11335         * text.C (workWidth): small optimization
11336         (getLengthMarkerHeight): use minimal size for negative lengths.
11337
11338 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11339
11340         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11341
11342         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11343
11344 2001-12-11  André Pönitz <poenitz@gmx.net>
11345
11346         * FontLoader.C:
11347         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11348
11349 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11350
11351         * text2.C: keep selection on a setFont()
11352
11353 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11354
11355         * lyx_cb.C: another bv->text misuse, from insert label
11356
11357 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11358
11359         * kbsequence.h:
11360         * kbsequence.C: re-instate nmodifier mask
11361
11362 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11363
11364         * lyx_main.h: make lyxGUI private.
11365
11366 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11367
11368         * lyxfind.C: place the cursor correctly on failed search
11369
11370 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11371
11372         * text.C (getLengthMarkerHeight): for small heights, the arrows
11373         are not always on top/bottom of the text
11374         (drawLengthMarker): smaller arrows; take the left margin in
11375         account; draw also vfills.
11376         (paintFirstRow):
11377         (paintLastRow): remove special code for vfill and standard spaces,
11378         since everything is handled in drawLengthMarker now.
11379
11380 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11381
11382         * buffer.C (insertErtContents): try to handle font and language
11383         interaction a bit better.g
11384
11385         * ColorHandler.C (updateColor): change the hash to cover the whole
11386         LColor enum, ws cleanup
11387         (getGCLinepars): ditto
11388         (getGCLinepars): only lookup in the linecache once.
11389
11390 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11391
11392         * iterators.C (operator++): Make the iterator more robust
11393
11394         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11395         (John's patch)
11396         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11397
11398 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11399
11400         * lyxtext.h:
11401         * text.C: better added space drawing
11402
11403 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11404
11405         * LyXView.C:
11406         * BufferView2.C: fix layout combo update on inset unlock
11407
11408 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11409
11410         * Makefile.am: don't compile unused files
11411
11412 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11413
11414         * lyxfunc.C:
11415         * commandtags.h:
11416         * LyXAction.C: remove old LFUN_LAYOUTNO
11417
11418 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11419
11420         * paragraph_pimpl.h:
11421         * paragraph_pimpl.C: isTextAt() doesn't need font param
11422
11423 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11424
11425         * lyxlex.h:
11426         * lyxlex.C: little cleanup
11427
11428 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11429
11430         * BufferView_pimpl.C: fix insertAscii for insets
11431
11432 2001-12-05  Juergen Vigna  <jug@sad.it>
11433
11434         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11435         set the right font on the "multi" paragraph paste!
11436
11437 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11438
11439         * trans_decl.h:
11440         * trans_mgr.[Ch]:
11441         * trans.[Ch]:
11442         * lyxgluelength.C:
11443         * lyxlength.C: remove out-commented code.
11444
11445         * BufferView_pimpl:
11446         * CutAndPaste.C:
11447         * DepTable.C:
11448         * buffer.C:
11449         * chset.C:
11450         * lastfiles.C:
11451         * lyxlex.C:
11452         * lyxlex_pimpl.C:
11453         * lyxserver.C:
11454         * screen.C:
11455         * tabular-old.C:
11456         * tabular.C:
11457         * text.C:
11458         * trans_mgr.C:
11459         * vc-backend.C: change "while(" to "while ("
11460
11461         * lyxlength.[Ch]: add zero function to check if length is zero or
11462         not
11463         * lyxgluelength.C: use it
11464
11465 2001-12-05  Allan Rae  <rae@lyx.org>
11466
11467         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11468         Works for 2.95.3, from what I understand of Garst's reports this should
11469         work for other g++ versions.  We're screwed if the abs(int) definition
11470         changed between bugfix releases of gcc.
11471
11472 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11473
11474         * text.C: fix chapter label offset !
11475
11476 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11477
11478         * lyxtext.h:
11479         * text.C: fix hfill at end of line, clean up
11480
11481 2001-12-04  Juergen Vigna  <jug@sad.it>
11482
11483         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11484         that we force an update of the inset and it's owners if neccessary.
11485
11486 2001-12-03  Juergen Vigna  <jug@sad.it>
11487
11488         * text.C (rowLast): simplified code
11489
11490 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11491
11492         * lyxfunc.C: fix show options on timeout
11493
11494 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11495
11496         * screen.C (topCursorVisible): scroll half a page when the cursor
11497         reached top of bottom of screen
11498
11499 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11500
11501         * minibuffer.C: deactivate on loss of focus
11502
11503 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11504
11505         * vspace.[Ch] (operator!=): add operator.
11506
11507 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11508
11509         * BufferView_pimpl.C: refuse to open an inset when
11510         there's a selection.
11511
11512 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11513
11514         * BufferView_pimpl.C: allow to click on RHS of full row insets
11515
11516 2001-11-30  Juergen Vigna  <jug@sad.it>
11517
11518         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11519         insets for undo reasons.
11520
11521 2001-11-28  André Pönitz <poenitz@gmx.net>
11522
11523         * vspace.[Ch]: cosmetical changes
11524
11525 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11526
11527         * LyXAction.h:
11528         * LyXAction.C:
11529         * lyxfunc.h:
11530         * lyxfunc.C:
11531         * kbmap.h:
11532         * kbmap.C:
11533         * lyxrc.C:
11534         * kbsequence.h:
11535         * kbsequence.C: part re-write of old kb code
11536
11537         * Painter.C:
11538         * WorkArea.C: remove Lgb_bug_find_hack
11539
11540 2001-11-30  José Matos <jamatos@fep.up.pt>
11541
11542         * buffer.C (makeDocBookFile): add a comment to point a hack.
11543         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11544         Fixed a double write of labels.
11545
11546 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11547
11548         * LaTeX.C:
11549         * LaTeX.h Fixed bug in LaTeX class where it would not
11550         re-run latex if no depfiles were changed, but the .dvi was removed.
11551
11552 2001-11-28  André Pönitz <poenitz@gmx.net>
11553
11554         * all the files from the change on 2001/11/26:
11555         use lyx::layout_type instead of LyXTextClass::size_type
11556         use lyx::textclass_type instead of LyXTextClassList::size_type
11557
11558 2001-11-29  Juergen Vigna  <jug@sad.it>
11559
11560         * text.C: added support for paragraph::isFreeSpacing()
11561
11562         * buffer.C: same as above
11563
11564         * paragraph.h: inserted isFreeSpacing() function to enable
11565         FreeSpacing inside InsetERT.
11566
11567         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11568         of the paragraph's in the cut/copy buffer to 0!
11569
11570         * text2.C (removeRow): remove the assert as it can!
11571
11572         * lyxtext.h: added helper function firstRow returning firstrow and
11573         made firstrow private again.
11574
11575         * BufferView2.C (lockInset): don't relock if we're already locked!
11576
11577         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11578         the only paragraph.
11579         (removeRow): added Assert::(firstrow)
11580
11581         * debug.C: forgot to add INSETTEXT here.
11582
11583 2001-11-28  Juergen Vigna  <jug@sad.it>
11584
11585         * sp_spell.C (initialize): changed error text to more general
11586         spellchecker command use (not only ispell!)
11587
11588         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11589
11590         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11591
11592 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11593
11594         * vspace.C: initialise lyxgluelength on failure
11595
11596 2001-11-28  Allan Rae  <rae@lyx.org>
11597
11598         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11599         declaration & definition that looks like a function declaration.
11600
11601 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11602
11603         * BufferView2.C (copy):
11604         (copyEnvironment): do not clear the selection when doing a copy.
11605
11606         * text.C (paintFirstRow): compilation fix
11607
11608 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11609
11610         * tabular.C (Latex): correct line count when writing latex.
11611
11612 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11613
11614         * paragraph_pimpl.h:
11615         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11616           bug a bit
11617
11618 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11619
11620         * text.C:
11621         * LColor.h:
11622         * LColor.C: change vfillline->added_space
11623
11624         * text.C: add markers and text for added space
11625
11626         * vspace.C: fix comment
11627
11628 2001-11-28  André Pönitz <poenitz@gmx.net>
11629
11630         * paragraph.C: whitespace changes
11631         * all the other files from the change on 2001/11/26:
11632         change *::pos_type into lyx::pos_type
11633
11634 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11635
11636         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11637         language of the document when inserting error insets.
11638
11639 2001-11-26  André Pönitz <poenitz@gmx.net>
11640
11641         * BufferView_pimpl.[Ch]:
11642         *       CutAndPaste.C:
11643         * buffer.[Ch]:
11644         * lyxcursor.[Ch]:
11645         * lyxfind.C:
11646         * lyxfunc.C:
11647         * lyxrow.[Ch]:
11648         * paragraph.[Ch]:
11649         * paragraph_pimpl.[Ch]:
11650         * sp_spell.C:
11651         * text.C:
11652         * text2.C: reduce header dependencies, introduce type for positions
11653
11654 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11655
11656         * <various>: change to use Alert.h
11657
11658 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11659
11660         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11661         when encountering an unknown token.
11662         (readLyXformat2): Show an error message if there were unknown tokens.
11663
11664 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11665
11666         * BufferView2.C:
11667         * BufferView_pimpl.C:
11668         * buffer.C:
11669         * paragraph.h:
11670         * text.C:
11671         * text2.C: use par->isInset()
11672
11673 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11674
11675         * paragraph_pimpl.h:
11676         * paragraph_pimpl.C: cleanup
11677
11678 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11679
11680         * text2.C (removeRow):
11681         * text.C (setHeightOfRow): remove useless (and costly) call to
11682         getRow.
11683
11684 2001-11-20  Allan Rae  <rae@lyx.org>
11685
11686         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11687         Now need Inset*::checkInsertChar() to return true for appropriate
11688         cases so that the characters in the minibuffer will actually be
11689         inserted.
11690
11691 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11692
11693         * text.C: change the order of the includes.
11694         (workWidth): initialize it at once.
11695         (workWidth): make maxw unsigned
11696         (setHeightOfRow): remove unused variable (inset)
11697         (selectSelectedWord): remove unused variable (inset)
11698         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11699
11700 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11701
11702         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11703         server is not running.
11704         (openConnection):
11705         (closeConnection): add debug info when server is disabled.
11706
11707         * ColorHandler.C (getGCForeground): send debug message to GUI
11708         channel.
11709
11710         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11711
11712         * kbmap.C (bind): modify because return conventions of
11713         kb_sequence::parse have changed.
11714
11715         * kbsequence.C (parse): only ignore spaces and not any stupid
11716         control character. This avoids tests like s[i] <= ' ', which are
11717         guaranteed to fail with 8bit characters and signed chars.
11718         Change return code to string::npos when there have been no error
11719         (0 was a bad idea when error is at first character)
11720
11721 2001-11-14  José Matos  <jamatos@fep.up.pt>
11722
11723         * buffer.h:
11724         * buffer.C (simpleDocBookOnePar): removed unused argument.
11725
11726 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11727
11728         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11729         insets which are part of a word. Paragraph::isLetter takes care of
11730         that now. Use Paragraph::isInset to identify insets.
11731         (selectSelectedWord): do not test for hyphenation break.
11732
11733         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11734         that protected spaces are considered as spaces.
11735
11736         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11737         Inset::isLetter.
11738
11739 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11740
11741         * lyxserver.h:
11742         * lyxserver.C: fix it. and small cleanup.
11743
11744 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11745
11746         * BufferView_pimpl.C: use inline helpers
11747
11748         * LaTeXFeatures.h:
11749         * LaTeXFeatures.C: fix typos
11750
11751         * Spacing.h:
11752         * Spacing.C: move spacing_string into class
11753
11754         * ToolbarDefaults.C: move stuff into namespace anon
11755
11756         * layout.h: update enum
11757
11758         * lyxfunc.C: use better debug
11759
11760         * minibuffer.h: fix typo
11761
11762         * debug.h:
11763         * debug.C:
11764         * WorkArea.C: add and use Debug::WORKAREA
11765
11766         * lyxtext.h:
11767         * text.C:
11768         * text2.C: code re-organisation, inline helpers
11769
11770 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11771
11772         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11773         std::vector.empty().
11774
11775 2001-11-09  Allan Rae  <rae@lyx.org>
11776
11777         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11778         '\n's after tables.  Tabular and ERT inset work now makes this no
11779         longer necessary.
11780
11781 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11782
11783         * minibuffer.h:
11784         * minibuffer.C: fix crash, improve drop-down completion
11785
11786 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11787
11788         * lyxserver.h:
11789         * lyxserver.C: invalidate fd's when doing endPipe()
11790
11791 2001-11-08  José Matos  <jamatos@fep.up.pt>
11792
11793         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11794         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11795
11796         * paragraph.h:
11797         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11798
11799 2001-11-07  José Matos  <jamatos@fep.up.pt>
11800
11801         * buffer.h:
11802         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11803         const qualifier.
11804
11805         * buffer.C (sgmlOpenTag):
11806         * buffer.C (sgmlCloseTag): removed debug info.
11807
11808         * buffer.h (sgmlOpenTag):
11809         * buffer.h (sgmlCloseTag): made public.
11810
11811 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11812
11813         * buffer.C (saveParamsAsDefaults):
11814         * lyx_cb.C (MenuLayoutSave): remove
11815
11816         * LyXAction.C (init):
11817         * commandtags.h:
11818         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11819
11820 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11821
11822         * buffer.C (setPaperStuff): removed from here...
11823
11824         * bufferparams.C (setPaperStuff): ... and moved there.
11825
11826 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11827
11828         * minibuffer.h:
11829         * minibuffer.C:
11830         * XFormsView.C: add support for drop-down completion
11831
11832 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11833
11834         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11835         commands.
11836
11837 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11838
11839         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11840         disabled.
11841
11842 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11843
11844         * lyx_main.C: change ref to known bugs
11845
11846 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11847
11848         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11849         to work around older babel problems.
11850
11851 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11852
11853         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11854
11855 2001-10-24  Juergen Vigna  <jug@sad.it>
11856
11857         * tabular-old.C (ReadOld): below variable changes reflected.
11858
11859         * tabular.[Ch]: added ltType struct for longtable header/footer
11860         defines and changed all instances where they are used. Added
11861         future support for double top/bottom rows.
11862
11863 2001-10-24  José Matos  <jamatos@fep.up.pt>
11864
11865         * buffer.h (docbookHandleCaption):
11866         * buffer.C (docbookHandleCaption): removed unused function.
11867         (makeDocBookFile): moved docbook supported version to v4.1.
11868
11869 2001-10-24  José Matos  <jamatos@fep.up.pt>
11870
11871         * tabular.h:
11872         * tabular.C (docbookRow): new function to export docbook code of a row.
11873         (DocBook): now honors the longtable flags.
11874
11875 2001-10-23  José Matos  <jamatos@fep.up.pt>
11876
11877         * LaTeXFeatures.h:
11878         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11879         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11880
11881         * buffer.C (makeLinuxDocFile):
11882         (makeDocBookFile): reworked the preamble, more clean, and with
11883         support for lyx defined entities. Changed the document declaration
11884         to be more XML friendly.
11885
11886         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11887         if we need to output XML that should be done with a filter.
11888
11889 2001-10-22  Juergen Vigna  <jug@sad.it>
11890
11891         * sp_pspell.h (class PSpell): add alive function needed in the
11892         controller to see if the spellchecker could be started.
11893
11894 2001-10-22  Juergen Vigna  <jug@sad.it>
11895
11896         * buffer.C (insertStringAsLines): modify the font for inserting
11897         chars in certain conditions by calling checkInsertChar(font).
11898
11899 2001-10-19  Juergen Vigna  <jug@sad.it>
11900
11901         * text.C (workWidth): use getRow instead of wrong algorithm.
11902         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11903
11904 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11905
11906         * lyxserver.h:
11907         * lyxserver.C:
11908         * lyx_main.h:
11909         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11910
11911 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11912
11913         * text.C (workWidth): do not search for the exact row when
11914         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11915         optimization for big documents.
11916
11917 2001-10-18  Juergen Vigna  <jug@sad.it>
11918
11919         * text.C (workWidth): new function with added Inset * parameter.
11920
11921 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11922
11923         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11924
11925         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11926         change return type of getColumnNearX.
11927
11928
11929         * text.C (changeRegionCase): use uppercase/lowercase instead of
11930         toupper/tolower.
11931         (leftMargin):
11932         (rightMargin): simplify code by factoring out the uses of
11933         textclasslist.
11934         (labelFill):
11935         (numberOfHfills):
11936         (setHeightOfRow):
11937         (appendParagraph): use Paragraph::size_type
11938
11939 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11940
11941         * vspace.C (asLatexString): add a missing break
11942
11943 2001-10-15  Herbert Voss  <voss@perce.de>
11944
11945         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11946
11947 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11948
11949         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11950         is not available.
11951
11952 2001-10-10  André Pönitz <poenitz@gmx.net>
11953
11954         * lyxfunc.C: removed greek_kb_flag.
11955
11956 2001-10-10  Herbert Voss  <voss@perce.de>
11957
11958         * lyx_main.C: delete global string help_lyxdir.
11959
11960 2001-10-09  Herbert Voss  <voss@perce.de>
11961
11962         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11963
11964         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11965
11966         * lyx_main.C: added global string help_lyxdir.
11967
11968         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11969
11970 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11971
11972         * lyxrc.C (set_font_norm_type): support iso8859-4
11973
11974 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11975
11976         * LaTeX.C (deplog): add another regex for MikTeX
11977
11978 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11979
11980         * lyxrc.C (set_font_norm_type): support iso8859-3
11981
11982 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11983
11984         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11985
11986         * LaTeXFeatures.C: remove special case of french and index
11987
11988         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11989         before \begin{document}). This solves several incompatibilities.
11990
11991 2001-10-03  Garst Reese  <reese@isn.net>
11992
11993         * lyx_cb.C: change CheckTex error msg.
11994
11995 2001-10-03  José Matos  <jamatos@fep.up.pt>
11996
11997         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11998
11999 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12000
12001         * .cvsignore: update
12002
12003         * lyx_main.C (commandLineVersionInfo): use new style version info.
12004
12005         * buffer.C (writeFile):
12006         (makeLaTeXFile):
12007         (makeLinuxDocFile):
12008         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12009
12010         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12011
12012         * version.h: update to use stuff in version.C
12013
12014         * version.C.in: new file. Contains version information determined
12015         at compile time. This is a merging of version.h and
12016         version_info.h.in.
12017
12018 2001-10-03  Juergen Vigna  <jug@sad.it>
12019
12020         * BufferView_pimpl.C (update): don't change "dirty" status in
12021         updateInset call.
12022
12023 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12024
12025         * WorkArea.C (c-tor): re-position version string slightly.
12026
12027 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12028
12029         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12030         revert to previous code.
12031
12032         WorkArea.[Ch]: (show, destroySplash): methods removed.
12033
12034         WorkArea.C: rework code so that it's an amalgam of the codes before and
12035         after the splash screen was moved to WorkArea.
12036
12037 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12038
12039         * lyxrc.C (read):
12040         * vspace.C (inPixels):
12041         (lyx_advance):
12042         * kbmap.C (bind):
12043         * buffer.C (insertStringAsLines):
12044         (asciiParagraph): fix types to be large enough
12045
12046         * lyxlex_pimpl.h: change member status from short to int
12047
12048         * layout.h: fix type of endlabeltype
12049
12050         * kbmap.C (bind):
12051         * kbsequence.C (parse): change return type to string::size_type
12052
12053         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12054         variable
12055
12056         * Bullet.C (bulletSize):
12057         (bulletEntry): do not use short ints as parameters
12058
12059         * BufferView2.C (insertLyXFile): change a char to an int.
12060
12061         * WorkArea.C (WorkArea): remove unneeded floats in computation
12062
12063 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12064
12065         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12066
12067         * paragraph.C (asString): Do not ignore newline/hfill chars when
12068         copying to the clipboard.
12069
12070 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12071
12072         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12073         after a multi-line inset.
12074
12075 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12076
12077         * paragraph.C (validate): Set NeedLyXFootnoteCode
12078
12079 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12080
12081         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12082         and decrease-error to decrease.
12083
12084 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12085
12086         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12087         it more readable (should be equivalent)
12088
12089 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12090
12091         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12092
12093 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12094
12095         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12096         of a cursor (row, etc.) after a character has been deleted
12097         (deleteEmptyParagraphMechanism): call the method above on _all_
12098         cursors held by the LyXText when a double space has been
12099         detected/deleted.
12100
12101 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12102
12103         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12104         pixmap.
12105         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12106
12107         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12108         background. Use greyOut() and the new show() methods to toggle between
12109         the foreground and background. Add code to remove the splash after
12110         its initial showing.
12111
12112         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12113         (create_forms): no longer call Dialogs::showSplash.
12114
12115 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12116
12117         * .cvsignore: add version_info.h
12118
12119 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12120
12121         * version_info.h.in: new file
12122
12123         * Makefile.am: add version_info.h.in
12124
12125         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12126         version_info.h instead of VERSION_INFO
12127
12128 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12129
12130         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12131         The ERT inset now returns string().
12132
12133 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12134
12135         * lyxtext.h, text.C (selectNextWord): renamed as
12136         selectNextWordToSpellcheck.
12137
12138         * text.C (selectNextWordToSpellcheck): Modified to not select
12139         words inside an ERT inset.
12140
12141 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12142
12143         * lyx_cb.C (MenuLayoutSave): change a bit the question
12144
12145         * sp_base.h: include <sys/types.h>
12146
12147 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12148
12149         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12150
12151 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12152
12153         * several files: fix typos in user-visible strings
12154
12155 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12156
12157         * text2.C (pasteSelection): do not set the selection, since it
12158         will be cleared later. Actually, the intent was to fix the way the
12159         selection was set, but I figured rmoving the code was just as good.
12160
12161 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12162
12163         * FontLoader.C (available): Check if font is available without
12164         loading the font.
12165
12166 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12167
12168         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12169
12170 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12171
12172         * lyxrc.[Ch]: added display_graphics variable and associated code.
12173
12174 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12175
12176         * bufferparams.C (hasClassDefaults): new method. Returns true if
12177         the buffer parameters correspond to known class defaults
12178
12179 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12180
12181         * XFormsView.C (show): set minimum size to the main window.
12182
12183 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12184
12185         * text2.C (copySelection):
12186         (cutSelection):
12187         * lyxfind.C (LyXReplace):
12188         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12189         LyXText::selectionAsString.
12190
12191         * paragraph.C (asString): add "label" argument to the second form
12192
12193         * text2.C (selectionAsString): add "label" argument and pass it to
12194         Paragraph::asString.
12195
12196 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12197
12198         * lyx_main.C (commandLineHelp): remove version information
12199
12200 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12201
12202         * lyx_main.C: add -version commandline option
12203
12204 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12205
12206         * paragraph.h: make the optional constructor arg required instead.
12207         some modifications to other files because of this.
12208
12209         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12210
12211         * lyxserver.C (C_LyXComm_callback): make it static
12212
12213         * lyx_main.C (error_handler): make it static
12214
12215         * lyx_gui.C (LyX_XErrHandler): make it static
12216
12217         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12218
12219         * WorkArea.C: make the extern "C" methods static.
12220
12221         * Makefile.am (lyx_LDADD): simplify
12222
12223 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12224
12225         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12226         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12227
12228         * LyXAction.C (init):
12229         * lyxfunc.C (dispatch): associated code removal.
12230
12231 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12232
12233         * lyxfont.h (isSymbolFont): shut off warning
12234
12235         * text.C (setHeightOfRow):
12236         (getVisibleRow): fix crash with empty paragraphs which have a
12237         bottom line
12238
12239 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12240
12241         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12242         code.
12243
12244 2001-09-04  José Matos  <jamatos@fep.up.pt>
12245         * buffer.C
12246         * buffer.h
12247         * tabular.C (docbook): rename docBook method to docbook.
12248
12249 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12250
12251         * Makefile.am: add dependencies to main.o.
12252
12253 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12254
12255         * FontLoader.C (available): Return false if !lyxrc.use_gui
12256
12257 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12258
12259         * FontInfo.C (query):
12260         * converter.C (view):
12261         * importer.C (Import):
12262         * exporter.C (Export): Can not -> cannot.
12263
12264 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12265
12266         * BufferView_pimpl.C: allow to create index inset even if
12267           string is empty
12268
12269 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12270
12271         * buffer.C (getLists): replace boost::tie code with an explicit pair
12272         as boost::tie can break some compilers.
12273
12274         * iterators.h: Added a std:: declaration to the return type of
12275         ParIterator::size.
12276
12277 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12278
12279         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12280           case.
12281
12282 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12283
12284         * iterators.[Ch]: New files. Provide paragraph iterators.
12285
12286         * buffer.C (changeLanguage): Use paragraph iterators.
12287         (isMultiLingual): ditto
12288
12289         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12290
12291 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12292
12293         * FontLoader.C: Support for cmr font.
12294
12295 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12296
12297         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12298         (available): New method.
12299
12300         * FontInfo.C (getFontname): Use scalable fonts even when
12301         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12302         found.
12303
12304 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12305
12306         * converter.C (Formats::view): reverted! Incorrect fix.
12307
12308 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12309
12310         * converter.C (Formats::view): only output the -paper option
12311         if the dvi viewer is xdvi, thereby fixing bug #233429.
12312
12313 2001-08-23  Herbert Voss  <voss@perce>
12314
12315         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12316
12317 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12318
12319         * Spacing.h (Spacing): Set space to Default on in the default
12320         constructor.
12321
12322 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12323
12324         * vc-backend.h (RCS::versionString): add RCS to version
12325         (CVS::versionString): add CVS to version
12326
12327         * vc-backend.C (scanMaster): do not add CVS to version.
12328         (scanMaster): do not add RCS to version
12329
12330         * lyxvc.C (versionString): new method
12331
12332         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12333
12334 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12335
12336         * Spacing.C (set): initialize fval
12337
12338 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12339
12340         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12341         " or \.
12342
12343 2001-08-16  Juergen Vigna  <jug@sad.it>
12344
12345         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12346
12347 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12348
12349         * BufferView_pimpl.C:
12350         * figureForm.C:
12351         * lyxtext.h:
12352         * text2.C: setParagraph takes linespacing now
12353
12354 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12355
12356         * LyxAction.C: add internal LFUN_CITATION_INSERT
12357
12358         * LyXView.C: actually apply fix
12359
12360         * bufferlist.C: fix open non-existent file
12361
12362         * lyxfind.C: fix indentation
12363
12364         * lyxfunc.C: remove unneeded assert, fix typo
12365
12366 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12367
12368         * MenuBackend.C: use "Floatname List"
12369
12370 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12371
12372         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12373         when converting LaTeX layout to insetERT.
12374         Generate a non-collapsed float when reading old float
12375
12376 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12377
12378         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12379         ERT insets.
12380
12381 2001-08-13  Juergen Vigna  <jug@sad.it>
12382
12383         * text.C (fill): return 0 instead of 20 as this seems to be the more
12384         correct value.
12385
12386 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12387
12388         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12389         lyxrc.font_norm.
12390
12391 2001-08-13  Juergen Vigna  <jug@sad.it>
12392
12393         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12394         casesensitive off.
12395         (SearchBackward): comment out the unlocking of the inset_owner this
12396         should not be needed!
12397
12398 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12399
12400         * Many files: Remove inherit_language, and add latex_language
12401
12402         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12403         collapsible insets.
12404
12405 2001-08-10  Juergen Vigna  <jug@sad.it>
12406
12407         * text.C (prepareToPrint): fixed hfill-width in draw!
12408
12409         * BufferView2.C (selectLastWord): save the selection cursor as this
12410         now is cleared in the function LyXText::clearSelection!
12411
12412 2001-08-08  Juergen Vigna  <jug@sad.it>
12413
12414         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12415         BACKSPACE type functions.
12416
12417         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12418         is only cutted from the document but not put in the cut-buffer, where
12419         still the old stuff should be.
12420
12421         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12422
12423         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12424
12425         * tabular.C (SetWidthOfCell): fixed special case where the width
12426         was not updated!
12427         (LeftLine): handle '|' in align_special.
12428         (RightLine): ditto
12429         (LeftAlreadyDrawed): ditto
12430         (SetWidthOfCell): ditto
12431
12432 2001-08-07  Juergen Vigna  <jug@sad.it>
12433
12434         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12435
12436 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12437
12438         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12439         * lyxlex.[hC]: ditto
12440
12441 2001-08-06  Juergen Vigna  <jug@sad.it>
12442
12443         * text.C (getVisibleRow): fix up row clearing a bit.
12444
12445 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12446
12447         * minibuffer.C: make sure the X server sees the changes in the input.
12448
12449 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12450
12451         * paragraph.C (getFont): split into...
12452         (getLabelFont): this
12453         (getLayoutFont): and this
12454         * paragraph_pimpl.C (realizeFont): calling this
12455
12456         * text2.C (getFont): split into...
12457         (getLayoutFont): this
12458         (getLabelFont): and this
12459         (realizeFont): all three calling this
12460
12461         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12462         files where used.
12463
12464 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12465
12466         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12467
12468 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12469
12470         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12471         layouts from the Quote inset insertion.
12472
12473 2001-08-03  Juergen Vigna  <jug@sad.it>
12474
12475         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12476
12477         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12478         only if status not is already CHANGED_IN_DRAW (second level).
12479
12480         * text.C (draw): don't set the need_break_row when inside an
12481         InsetText LyXText.
12482
12483 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12484
12485         * buffer.C (parseSingleLyXformat2Token): handle more latex
12486         conversion cases.
12487
12488         * bufferview_funcs.[hC]: change function names to
12489         begin with small char, adjust other files.
12490
12491 2001-08-02  André Pönitz <poenitz@gmx.net>
12492
12493         * lyxfunc.C:
12494         BufferView_pimpl.C: remove broken special code for math-greek
12495
12496 2001-08-02  Juergen Vigna  <jug@sad.it>
12497
12498         * BufferView_pimpl.C (update): redone this function so that we
12499         update the text again if there was a CHANGE_IN_DRAW.
12500
12501         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12502         (drawFromTo): added a new internal bool which is used by draw() and
12503         redraw() function.
12504         (general): some cursor drawing problems fixed.
12505
12506 2001-08-01  Juergen Vigna  <jug@sad.it>
12507
12508         * lyxfind.C (LyXFind): fixed
12509         (SearchForward): ditto
12510         (SearchBackward): ditto
12511
12512         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12513         spurius drawing of the cursor in the main area.
12514
12515         * text2.C (status): small fix which could lead to a segfault!
12516         (clearSelection): remove unneeded BufferView param.
12517
12518 2001-08-01  André Pönitz <poenitz@gmx.net>
12519
12520         * lyxfunc.C: small change due to changed mathed interface
12521
12522 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12523
12524         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12525
12526 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12527
12528         * lyxfunc.c: fail gracefully if file doesn't exist
12529
12530         * LyXSendto.C:
12531         * buffer.C:
12532         * lyxfunc.C:
12533         * BufferView_pimpl.C: IsDirWriteable() proto changed
12534
12535         * LyXView.C: fix updateWindowTitle() to store the last title
12536
12537 2001-07-31  Juergen Vigna  <jug@sad.it>
12538
12539         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12540         the font (wrong since using of Paragraph::highestFontInRange).
12541
12542         * paragraph.C (highestFontInRange): added a default_size parameter.
12543
12544         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12545         (setHeightOfRow): reformat
12546
12547 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12548
12549         * converter.[hC] + affected files: move to (inital-char)lowercase
12550         function names.
12551
12552         * ParagraphParameters.C (ParagraphParameters): remove commented code
12553
12554         * PainterBase.[Ch]: remove commented code
12555
12556         * LaTeXFeatures.h: add "bool floats" for float.sty
12557
12558         * LaTeXFeatures.C (LaTeXFeatures): init floats
12559         (require): handle float
12560         (getPackages): do it with floats
12561
12562 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12563
12564         * BufferView_pimpl.C (Dispatch): improve handling of
12565         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12566
12567         * commandtags.h: #include lyxfont.h here temporarily to avoid
12568         keybinding bug.
12569
12570         * bufferlist.h: include LString.h here.
12571
12572 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12573
12574         * text2.C (getStringToIndex): new method.
12575
12576 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12577
12578         * *: Reduced header file dependencies all over.
12579
12580 2001-07-30  Baruch Even  <baruch@lyx.org>
12581
12582         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12583
12584 2001-07-29  Baruch Even  <baruch@lyx.org>
12585
12586         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12587
12588 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12589
12590         * ParameterStruct.h (endif): add a default constructor to make
12591         sure that all variables is initialized.
12592
12593         * ParagraphParameters.C (ParagraphParameters): adjust
12594
12595 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12596
12597         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12598         index; also, check that there is something to index, and that it
12599         does not span over several paragraphs.
12600         (doubleClick): use WHOLE_WORD_STRICT for double click.
12601
12602         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12603
12604         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12605         scheme.
12606
12607 2001-07-26  Baruch Even  <baruch@lyx.org>
12608
12609         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12610         an InsetFig figure, backwards compatible reading of old figure code.
12611
12612 2001-07-27  Juergen Vigna  <jug@sad.it>
12613
12614         * text2.C: font.realize function adaption.
12615
12616         * text.C (draw): add a warnings lyxerr text if needed.
12617
12618         * layout.C: font.realize function adaption.
12619
12620         * language.C: add inherit_language and implement it's handlings
12621
12622         * bufferview_funcs.C (StyleReset): remove language parameter from
12623         font creation (should be language_inherit now).
12624
12625         * bufferparams.C (writeFile): handle ignore_language.
12626
12627         * paragraph.C (getFontSettings): the language has to be resolved
12628         otherwise we have problems in LyXFont!
12629
12630         * lyxfont.C (lyxWriteChanges): added document_language parameter
12631         (update): removed unneeded language parameter
12632
12633         * paragraph.C (validate): fixed wrong output of color-package when
12634         using interface colors for certain fonts in certain environments,
12635         which should not seen as that on the final output.
12636
12637 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12638
12639         * BufferView_pimpl.C:
12640         * Thesaurus.h:
12641         * Thesaurus.C:
12642         * Makefile.am:
12643         * commandtags.h:
12644         * LyXAction.C: add thesaurus support
12645
12646         * lyxfind.h:
12647         * lyxfind.C: add "once" parameter, for thesaurus, to not
12648           move to the next match
12649
12650 2001-07-26  Juergen Vigna  <jug@sad.it>
12651
12652         * lyxfont.C (realize): honor ignore_language too!
12653         (resolved): ditto.
12654
12655         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12656
12657         * text.C (draw): one place more for ignore_language to not draw
12658         itself!
12659
12660 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12661
12662         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12663
12664 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12665
12666         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12667         the minipage conversion problem.
12668
12669 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12670
12671         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12672         insert an inset.
12673
12674 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12675
12676         * BufferView.h: don't forward declare WorkArea
12677
12678         * BufferView.C: don't include WorkArea.h
12679
12680 2001-07-25  André Pönitz <poenitz@gmx.net>
12681
12682         * commandtags.h:
12683         * LyXAction.C:
12684         * lyxfunc.C:  new LFUN 'math-space'
12685
12686         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12687
12688 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12689
12690         * text2.C (toggleInset): call open/close
12691
12692 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12693
12694         * lyxfunc.C (dispatch): add debug for the disabled case
12695
12696         * font.C (buttonText): make similar to rectText
12697
12698         * buffer.C (readInset): comment out parsing of insetlist and
12699         insttheorem
12700
12701         * PainterBase.C (rectText): small correction
12702
12703         * BufferView_pimpl.C: comment out insettheorem and insetlist
12704         * LyXAction.C: ditto
12705         * commandtags.h: ditto
12706
12707 2001-07-24  Juergen Vigna  <jug@sad.it>
12708
12709         * text.C (draw): honor the ignore_language.
12710
12711         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12712
12713 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12714
12715         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12716         char inset.
12717
12718 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12719
12720         * lyxtext.h: remove unused (and unimplemented) methods
12721
12722 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12723
12724         * text.C (getVisibleRow): honor background color
12725
12726         * PainterBase.h:
12727         * Painter.h: remove default color argument for fillRectangle
12728
12729         * text.C (backgroundColor): new method
12730
12731 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12732
12733         * text.C (getVisibleRow): adjust
12734
12735         * font.[Ch] (rectText): new method, metrics
12736         (buttonText): new method, metrics
12737
12738         * PainterBase.[hC]: make rectText and buttonText always draw and take
12739         fewer paramteres.
12740
12741 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12742
12743         * ToolbarDefaults.C (read):
12744         * MenuBackend.C (read): allow escaping in all strings
12745
12746         * BufferView_pimpl.C (insertAndEditInset): new method.
12747         (Dispatch): use insertAndEditInset whenever appropriate.
12748
12749         * BufferView_pimpl.C (insertNote): removed
12750
12751         * BufferView_pimpl.C (smartQuote): new method, moved from
12752         BufferView; if an insetquote cannot be inserted, insert a '"'
12753         character instead.
12754
12755         * BufferView2.C: remove insertCorrectQuote();
12756
12757         * lyxfunc.C (getStatus): Add support for all remaingin
12758         inset-insert lfuns.
12759
12760         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12761
12762         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12763         command (necessary to pass " as parameter of self-insert.
12764
12765         * text.C (selectWordWhenUnderCursor):
12766         (selectWord): add word_location parameter
12767         (selectWordWhenUnderCursor): same + remove special code for word
12768         boundary.
12769         (selectNextWord): use kind() to guess type of insetspecialchar,
12770         not latex().
12771
12772         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12773         (insertErtContents): create ert insets as collapsed.
12774         (readInset): better compatibility code for Info inset.
12775
12776 2001-07-20  Juergen Vigna  <jug@sad.it>
12777
12778         * lyxfunc.C (dispatch): use always LyXFind now!
12779
12780         * text2.C (init): add a reinit flag so that the LyXText can be
12781         reinited instead of deleted and reallocated (used in InsetText).
12782
12783         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12784
12785         * text.C: ditto
12786
12787         * text2.C: ditto
12788
12789 2001-07-18  Juergen Vigna  <jug@sad.it>
12790
12791         * text.C (selectNextWord): handle insets inside inset by calling
12792         always the bv->text functions so that we can go up the_locking_inset!
12793
12794         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12795         in strange locations when inside an inset!
12796
12797         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12798         handling to include insets.
12799
12800         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12801
12802 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12803
12804         * LyXAction.C (init):
12805         * commandtags.h:
12806         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12807         LIGATURE_BREAK, since the name is so stupid.
12808
12809 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12810
12811         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12812         InsetInfos.
12813
12814         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12815
12816         * sp_form.[Ch]: remove.
12817
12818         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12819
12820         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12821         InsetInfo.
12822
12823         * src/buffer.C (readInset): ditto.
12824
12825 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12826
12827         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12828         menuSeparator(), endOfSentenceDot(), ldots() and
12829         hyphenationPoint(), which are therefore removed.
12830         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12831
12832         * LyXAction.C (init):
12833         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12834
12835         * paragraph.C (getWord): removed.
12836
12837         * BufferView_pimpl.C (Dispatch): use last word or selection for
12838         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12839
12840         * lyx_main.C (queryUserLyXDir): do not ask before creating
12841         user_dir, except if it has been named explicitely.
12842
12843 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12844
12845         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12846         a document of zero size.
12847
12848 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12849
12850         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12851         approriately in the c-tor and in require().
12852         (getPackages): output the appropriate LaTeX for natbib support.
12853
12854         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12855         variables "use_natbib" and "use_numerical_citations" when reading the
12856         LyX file.
12857         (readInset): read the various natbib cite commands.
12858         (validate): white-space change.
12859
12860         * bufferparams.[Ch]: new variables "bool use_natbib" and
12861         "bool use_numerical_citations".
12862         (writeFile): output them in the LyX file.
12863
12864 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12865
12866         * lyxfunc.C (getStatus): add support for all the inset insertion
12867         commands.
12868
12869         * text2.C (insertInset):
12870         * paragraph.C (insetAllowed):
12871         * BufferView_pimpl.C (insertInset): update to take in account the
12872         renaming of insertInsetAllowed
12873
12874         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12875
12876         * text2.C (getInset): new method. returns inset at cursor position.
12877
12878         * BufferView_pimpl.C (Dispatch): changes because of this.
12879
12880         * LyXAction.C (init): rename open-stuff to inset-toggle.
12881
12882         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12883
12884         * text2.C (toggleInset): renamed from openStuff; use
12885         Inset::open().
12886
12887 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12888
12889         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12890
12891         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12892
12893 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12894
12895         * buffer.C (readLyXformat2): Add filename to the error dialog
12896
12897 2001-07-18  Juergen Vigna  <jug@sad.it>
12898
12899         * tabular.C (GetCellNumber): put an assert here instead of the check!
12900
12901 2001-07-17  Juergen Vigna  <jug@sad.it>
12902
12903         * BufferView_pimpl.C (toggleSelection): adapted too.
12904
12905         * text.C (selectNextWord): adapted for use with insets.
12906         (selectSelectedWord): ditto
12907
12908 2001-07-17  Juergen Vigna  <jug@sad.it>
12909
12910         * sp_spell.C (PSpell): fix initialitation order.
12911
12912 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12913
12914         * paragraph.C: spacing
12915
12916 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12917
12918         * sp_spell.C: repair language selection for pspell
12919
12920 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12921
12922         * lyxfunc.h: change more methods to begin with lower char.
12923
12924 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12925
12926         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12927         for unknown layouts.
12928
12929 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12930
12931         * buffer.C (readLyXformat2): Generate an error dialog if there are
12932         unknown layouts.
12933
12934 2001-07-16  Juergen Vigna  <jug@sad.it>
12935
12936         * sp_spell.C: always compile ISpell part.
12937
12938         * lyxrc.C: added use_pspell entry and it's handling.
12939
12940 2001-07-13  Juergen Vigna  <jug@sad.it>
12941
12942         * sp_spell.C: removed double includes.
12943
12944 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12945
12946         Consistent use of Lsstream.h:
12947         * Lsstream.h: added using std::stringstream for consistencies sake.
12948
12949         * buffer.C: removed using std::stringstream
12950
12951         * lyxfont.C (stateText):
12952         * paragraph.C (asString):
12953         * text.C (selectNextWord, selectSelectedWord):
12954         * text2.C (setCounter):
12955         * vspace.C (asString, asLatexString):
12956         std::ostringstream -> ostringstream.
12957
12958 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12959
12960         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12961         * commandtags.h: add LFUN_HELP_ABOUTLYX
12962         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12963
12964 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12965
12966         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12967         cursorToggle()
12968         * lyx_gui_misc.C: remove spellchecker
12969         * lyxfunc.C: showSpellchecker
12970         * sp_base.h: added
12971         * sp_ispell.h: added
12972         * sp_pspell.h: added
12973         * sp_spell.C: added
12974         * sp_form.[Ch]: removed
12975         * spellchecker.[Ch]: removed
12976
12977 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12978
12979         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12980         is set.
12981         (simpleTeXSpecialChars): Simply print the input character without
12982         any special translation if pass_thru is set.
12983
12984         * layout.h: Added bool pass_thru to layout class for being able to
12985         implement pass through of a paragraph for Literate Programming.
12986
12987         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12988         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12989         * layout.C (Read): add "passthru" to list of layout tags and add
12990         code to set the pass_thru boolean when it is read.
12991
12992 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12993
12994         * trans_decl.h: remove allowed from KmodInfo
12995
12996         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12997         remove allowed code
12998         (Load): adjust
12999
13000         * paragraph_pimpl.C (erase): use boost::prior
13001
13002         * Painter.C (text): use data() instead of c_str() when length is
13003         also provided.
13004         * WorkArea.C (putClipboard): ditto
13005         * font.h (width): ditto
13006
13007         * BufferView2.C: use it-> instead of (*it). for iterators
13008         * texrow.C: ditto
13009         * paragraph_pimpl.C: ditto
13010         * paragraph.C: ditto
13011         * minibuffer.C: ditto
13012         * language.C: ditto
13013         * kbmap.C: ditto
13014         * encoding.C: ditto
13015         * counters.C: ditto
13016         * converter.C: ditto
13017         * chset.C: ditto
13018         * Variables.C: ditto
13019         * TextCache.C: ditto
13020         * MenuBackend.C: ditto
13021         * LyXAction.C: ditto
13022         * LColor.C: ditto
13023         * FloatList.C: ditto
13024         * DepTable.C: ditto
13025         * ColorHandler.C (LyXColorHandler): ditto
13026
13027 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13028
13029         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13030
13031         * text2.C (openStuff): reintroduce this method (which had been
13032         nuked in NEW_INSETS frenzy).
13033
13034         * lyxfunc.C (Dispatch): when an action has not been handled, use
13035         its name in the error message, not its number.
13036
13037         * paragraph.C (inInset): change method name to begin with lowercase.
13038
13039         * undo_funcs.C:
13040         * text2.C: updates because of this.
13041
13042 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13043
13044         * ToolbarDefaults.C (add): add spaces in error message
13045
13046 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13047
13048         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13049         (readLyXformat2): rename return_par to first_par, use lyxlex's
13050         pushToken and remove the manual push handling.
13051         (parseSingleLyXformat2Token): add another ert comp. variable:
13052         in_tabular, rename return_par to first_par. handle newlines better
13053
13054 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13055
13056         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13057
13058 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13059
13060         * text2.C (getParFromID): removed
13061
13062         * buffer.C (getParFromID): new method moved form lyxtext.
13063         * BufferView2.C (insertErrors): adjust
13064         (setCursorFromRow): adjust
13065         * BufferView_pimpl.C (restorePosition): adjust
13066         * lyxfunc.C (Dispatch): adjust
13067         * undo_funcs.C (textUndo): adjust
13068         (textRedo): adjust
13069         (textHandleUndo): adjust
13070         (textHandleUndo): adjust
13071
13072 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13073
13074         * buffer.C: up' the LYX_FORMAT
13075
13076         * lyxfont.h: turn NO_LATEX on as default
13077
13078         * buffer.C (insertErtContents): new methods of tex style compability.
13079         (parseSingleLyXformat2Token): use it several places.
13080         * tabular.C (OldFormatRead): and here
13081
13082 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13083
13084         * text2.C: remove some commented code.
13085         reindent file.
13086
13087         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13088         * trans.C: changes because of the above.
13089
13090 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13091
13092         * text2.C (setCounter): Fix counters bug with bibliography layout.
13093
13094 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13095
13096         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13097         own member functions
13098         (simpleTeXSpecialChars): ditto
13099
13100 2001-07-06  Juergen Vigna  <jug@sad.it>
13101
13102         * a lot of files: changed the access to LyXText::status and the
13103         call of undo-functions.
13104
13105         * undo.[Ch]: added a inset_id to the undo informations.
13106
13107         * undo_funcs.[Ch]: added and moved here all undo functions.
13108
13109         * lyxtext.h: give the status enum a weight, made status_ a private
13110         variable and made accessor functions for it, removed the whole bunch
13111         of undo-functions as they are now in their own file, make some
13112         functions publically available. Added function ownerParagraph with
13113         int parameter.
13114
13115         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13116         made InInset() a const function, added getParFromID() function.
13117
13118         * buffer.[Ch]: added const version for inset_iterator functions,
13119         added getInsetFromID() function.
13120
13121         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13122         changed undo functions for new version.
13123
13124 2001-07-05  Juergen Vigna  <jug@sad.it>
13125
13126         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13127         unknow mechanism does not call the proper constructor but only this
13128         one also if I request the other!?
13129
13130 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13131
13132         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13133
13134         * text2.C (LyXText): use initialization lists.
13135
13136         * lyxtext.h (Selection): initialize set_ and mark_
13137         (init): remove method
13138
13139 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13140
13141         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13142
13143 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13144
13145         * screen.[Ch]: change method names to begin with lowercase
13146
13147         * BufferView_pimpl.C (updateScrollbar): simplify further and
13148         hopefully make it a bit faster.
13149
13150 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13151
13152         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13153         calling directly xforms functions.
13154
13155         * Painter.C (Painter):
13156         * lyx_cb.C (MenuWrite):
13157         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13158         fl_display.
13159
13160         * lyx_gui.C: remove bogus guiruntime extern declaration.
13161
13162 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13163
13164         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13165         in NEW_INSETS
13166         (redoDrawingOfParagraph): ditto
13167         (redoParagraphs): ditto
13168         (cutSelection): don't create a object for CutAndPaste use the
13169         static method directly
13170         (pasteSelection): ditto
13171
13172         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13173         LyXview (+ rename)
13174
13175 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13176
13177         * modifications to some other files because of this.
13178
13179         * Makefile.am (lyx_SOURCES): add XFormsView
13180
13181         * XFormsView.[Ch]: new files
13182
13183         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13184         the main window. Move the gui dependent stuff to XFormsView
13185
13186 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13187
13188         * tabular.C (GetCellInset): update cur_cell also in the row/col
13189         version of this function.
13190
13191         * lyxfunc.C: no need to include figure_form.h here.
13192
13193         * FontLoader.h:
13194         * lyxfunc.h:
13195         * lyxscreen.h:
13196         * text2.C:
13197         * lyxvc.C: no need to include forms.h here.
13198
13199 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13200
13201         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13202
13203         * lyxfunc.C (Dispatch):
13204         * Spacing.C (set):
13205         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13206         constructor argument.
13207
13208 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13209
13210         * paragraph.C (Paragraph): dont't clear, and just set layout.
13211         (makeSameLayout): use params's copy contructor.
13212
13213         * ParagraphParameters.[Ch] (makeSame): delete method
13214
13215 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13216
13217         * Variables.[Ch]: fix indentation, rename set to isSet
13218
13219 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13220
13221         * lyxfunc.C (Dispatch): fix typo
13222
13223 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13224
13225         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13226         upper_bound.
13227
13228         * bufferlist.C: include assert.h for emergencyWrite().
13229
13230 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13231
13232         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13233           give up at last (bug #425202) !
13234
13235 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13236
13237         * lyx_gui_misc.C:
13238         * sp_form.h:
13239         * sp_form.C:
13240         * spellchecker.h:
13241         * spellchecker.C: strip spellchecker options and bring up
13242           preferences tab instead
13243
13244 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13245
13246         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13247         the istringstream constructor
13248
13249 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13250
13251         * paragraph.C (getLayout): fix return value
13252
13253         * paragraph.h: do not declare getLayout as inline.
13254
13255         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13256
13257 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13258
13259         * lyxcursor.h (operator<): new func
13260         (operator>): new func
13261         (operator>=): new func
13262         (operator<=): new func
13263
13264         * text.C (changeCase): use selection.start and selection.end
13265         (changeRegionCase): require from to be <= to. Require par to be a
13266         valid paragraph.
13267
13268         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13269
13270 2001-06-27  Juergen Vigna  <jug@sad.it>
13271
13272         * text.C (cursorLeftOneWord): changed to return the cursor and added
13273         overlay with BufferView * parameter which calls this one.
13274         (getWord): added
13275         (selectWord): use new getWord function.
13276         (changeCase): renamed from changeWordCase as and extended to work
13277         also on selections.
13278
13279         * lyxtext.h: added enum word_location
13280
13281         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13282         changeCase as this operates now also on selections.
13283
13284 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13285
13286         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13287
13288         * many files: send debug output to Debug::INFO instead of
13289         Debug::ANY.
13290
13291         * converter.C (View):
13292         (Convert):
13293         (Move): send debug output to Debug::FILES instead of console.
13294
13295 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13296
13297         * lyxfunc.C (getStatus): use func_status
13298
13299         * func_status.h: new header, describing the results of
13300         LyXFunc::getStatus;
13301
13302         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13303         LFUN_MATH_HALIGN.
13304
13305 2001-06-25  The LyX Project  <jug@sad.it>
13306
13307         * buffer.C (sgmlOpenTag):
13308         (sgmlCloseTag):
13309         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13310
13311 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13312
13313         * text2.C: remove some dead code
13314
13315         * tabular.C (GetCellInset): store the last cell checked (gotten)
13316
13317         * tabular.h: add the helper for the speedup
13318
13319         * lyxtext.h: remove some dead code
13320
13321 2001-06-26  The LyX Project  <Asger>
13322
13323         * paragraph.C: Change export to LaTeX of alignment to
13324         \begin{center} and family for better roundtrip work with reLyX.
13325
13326         * Tune the math drawing a bit.
13327
13328 2001-06-25  The LyX Project  <Asger>
13329
13330         * LColor.C (LColor): New color for math background. New color
13331         for buttons.
13332
13333 2001-06-25  The LyX Project  <jug@sad.it>
13334
13335         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13336
13337         * lyxfunc.C (Open):
13338         * bufferlist.C (newFile): do not restrict to files ending with
13339         .lyx
13340
13341         * BufferView_pimpl.C (MenuInsertLyXFile):
13342
13343 2001-06-24  The LyX Project  <jug@sad.it>
13344
13345         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13346         of compare_no_case
13347
13348 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13349
13350         * lyxtext.h: rename most methods to begin with a small char.
13351         Lots of changes because of this.
13352
13353         * paragraph.C (Paragraph): do not call fitToSize
13354         (erase): call Pimpl::erase
13355         (insertChar): call Pimpl::insertChar
13356         (insertInset): call Pipl::insertInset
13357         (breakParagraph): do not call fitToSize
13358         (breakParagraphConservative): do not call fitToSize
13359         (fitToSize): remove method
13360
13361         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13362
13363 2001-06-24  The LyX Project  <Asger>
13364
13365         * Fix Qt compilation^2
13366
13367 2001-06-24  The LyX Project  <jug@sad.it>
13368
13369         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13370         depthHook(getDepth()-1).
13371
13372         * paragraph.h:
13373         * ParagraphParameters.h:
13374         * ParameterStruct.h: change type of depth to unsigned int ==
13375         depth_type. Many adaptations to other files before of that.
13376
13377 2001-06-24  The LyX Project  <Asger>
13378
13379         * Fix Qt compilation.
13380
13381 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13382
13383         * paragraph.h: renamed several methods to begin with small letter.
13384         several changes to many parts of the code because of this.
13385
13386 2001-06-23  The LyX Project  <jug@sad.it>
13387
13388         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13389         rewritten to discard all double spaces when KeepEmpty is off
13390         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13391         to only handle newlines but not fiddle with spaces and friends.
13392
13393         * lyxfunc.C (MenuNew): when doing 'new from template', use
13394         template_path as default directory
13395
13396 2001-06-23  The LyX Project  <Asger>
13397
13398         * Clean-up of header file includes all over
13399         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13400
13401 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13402
13403         * paragraph.h: renamed from lyxparagraph.h
13404
13405 2001-06-23  Asger  <lyx@violet.home.sad.it>
13406
13407         * Buffer.h: Removed Buffer::resize
13408         * BufferList.h: Removed BufferList::resize
13409         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13410         the document lazily when we change the width, or the font settings.
13411
13412 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13413
13414         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13415
13416 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13417
13418         * buffer.h: remove out of date comment
13419
13420 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13421
13422         * lyxscreen.h:
13423         * screen.C: fix "theoretical" GC leak
13424
13425 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13426
13427         * LaTeX.C (scanAuxFile):
13428         (deplog): remove trailing \r when reading stream (useful under
13429         win32)
13430
13431 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13432
13433         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13434         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13435         and BufferView::theLockingInset(Inset*), so should use them and not
13436         access bv_->text->the_locking_inset directly.
13437
13438         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13439
13440 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13441
13442         * Makefile.am:
13443         * tex-defs.h: remove old unused file
13444
13445 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13446
13447         * BufferView_pimpl.C: fix typo, remove minibuffer message
13448           when buffer has loaded
13449
13450 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13451
13452         * lyxfunc.C (Dispatch): use stringstream
13453         (MenuNew): use stringstream
13454         (Open): use stringstream
13455
13456         * importer.C (Import): use stringstream
13457
13458         * bufferview_funcs.C (CurrentState): use stringstream
13459
13460         * LaTeX.C (run): use stringstream
13461
13462         * BufferView_pimpl.C (savePosition): use stringstream
13463         (restorePosition): use stringstream
13464         (MenuInsertLyXFile): use stringstream
13465
13466 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13467
13468         * BufferView.C:
13469         * Bullet.C:
13470         * ColorHandler.C:
13471         * FontInfo.C:
13472         * FontLoader.C:
13473         * LColor.C:
13474         * LaTeXFeatures.C:
13475         * Painter.C:
13476         * gettext.C:
13477         * lyx_gui_misc.C:
13478         * lyxserver.C:
13479         * vspace.C: removed // -*- C++ -*- as first line.
13480
13481         * lyxfind.h:
13482         * version.h: added // -*- C++ -*- as first line.
13483
13484 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13485
13486         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13487
13488         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13489         of string
13490
13491 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13492
13493         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13494         of floats.
13495
13496 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13497
13498         * gettext.C: include LString.h even when --disable-nls is on.
13499
13500 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13501
13502         * converter.h (Get): changed argument type from int to
13503         FormatList::size_type to avoid unnecessary conversion.
13504
13505         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13506         before using it.
13507
13508 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13509
13510         * gettext.h: include LString.h even when --disable-nls is on.
13511
13512 2001-06-07  Juergen Vigna  <jug@sad.it>
13513
13514         * text.C (BreakAgain): subst spaces with tabs.
13515
13516         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13517         (resizeInsetsLyXText): set force on resizeLyXText.
13518
13519 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13520
13521         * gettext.h (gettext_init):
13522         (locale_init): use a real definition instead of a macro
13523
13524 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13525
13526         * Bufferview_pimpl.C:
13527         * LColor.h:
13528         * LColor.C: further lcolor tidies
13529
13530 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13531
13532         * BufferView_pimpl.C (updateScrollbar): simplify.
13533
13534         * BufferView2.C: don't include insets/insetinfo.h, change
13535         prototype for insertInset and call the Pimpl version. let
13536         updateInset call Pimpl version.
13537
13538         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13539         gotoInset to BufferView::Pimpl
13540
13541 2001-06-01  Juergen Vigna  <jug@sad.it>
13542
13543         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13544         inside a LockingInset (is the update needed at all?).
13545
13546 2001-05-31  Juergen Vigna  <jug@sad.it>
13547
13548         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13549         here not the old one otherwise how should we compare it afterwards
13550         if it's the same!
13551
13552 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13553
13554         * lyxfont.C:
13555         * tabular.C:
13556         * tabular-old.C:
13557         * FontInfo.C: bring C functions into global namespace when
13558         necessary
13559
13560 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13561
13562         * LString.h: make sure config.h has been loaded before LString.h.
13563
13564         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13565         (one for each char read by EatLine!).
13566
13567         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13568         variables.
13569
13570 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13571
13572         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13573         to the same as the par we break from
13574
13575 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13576
13577         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13578
13579         * MenuBackend.C (expand): also create menu entries for wide
13580         versions of the floats.
13581
13582         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13583
13584         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13585
13586         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13587         frontends/Makefile.am
13588
13589         * text2.C: adjust
13590         * text.C: adjust
13591
13592
13593         * tabular.C (getTokenValue): add std::
13594
13595         * tabular-old.C (getTokenValue): add std::
13596         (getTokenValue): ditto
13597         (getTokenValue): ditto
13598
13599         * screen.C (ToggleSelection): adjust
13600
13601         * lyxtext.h: put selection cursors inside a Selection struct.
13602
13603         * lyxfunc.C (moveCursorUpdate): adjust
13604
13605         * lyxfont.C (latexWriteStartChanges): add std::
13606
13607         * lyxfind.C: adjust
13608
13609         * font.h: delete with(char const *, LyXFont const &)
13610
13611         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13612
13613         * FontInfo.C (getFontname): add std::
13614
13615         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13616         (workAreaButtonPress): adjust
13617         (tripleClick): adjust
13618         (update): adjust
13619         (moveCursorUpdate): adjust
13620         (Dispatch): adjust
13621
13622         * BufferView2.C (gotoInset): adjust
13623
13624 2001-05-30  Juergen Vigna  <jug@sad.it>
13625
13626         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13627         to check pspell I add this as default as I now have new pspell
13628         libraries and they seem to use this.
13629
13630 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13631
13632         * text2.C (CutSelection): make the cursor valid before the call to
13633         ClearSelection.
13634
13635 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13636
13637         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13638         relied on 0 terminated strings and other horrors. Bug found due to
13639         the new assert in lyxstring!
13640
13641         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13642         KP_ keys.
13643
13644 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13645
13646         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13647         to latinkeys.bind.
13648
13649         * lyxfunc.C (processKeySym): change method of getting to the
13650         self-insert char.
13651
13652         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13653         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13654         * BufferView_pimpl.[Ch]: here as private methods.
13655
13656 2001-05-28  Juergen Vigna  <jug@sad.it>
13657
13658         * text.C (SetHeightOfRow): added the update() call again as it is
13659         needed to initialize inset dimensions!
13660
13661 2001-05-16  Juergen Vigna  <jug@sad.it>
13662
13663         * text2.C (SetCharFont): Add new function with BufferView * and
13664         bool toggleall parameters for setting insets internal fonts.
13665         (SetFont): Freeze the undo as we may change fonts in Insets and
13666         all this change should be inside only one Undo!
13667
13668         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13669         setting font's in insets as for them we have the SetFont function!
13670
13671 2001-05-15  Juergen Vigna  <jug@sad.it>
13672
13673         * text2.C (ClearSelection): to be sure we REALLY don't have any
13674         selection anymore!
13675
13676         * tabular.C (TeXCellPreamble): fixed the left border problem for
13677         multicolumn cells.
13678
13679 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13680
13681         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13682         dependancy file
13683
13684 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13685
13686         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13687         LFUN_BREAKPARAGRAPH.
13688
13689         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13690         help test to "internal only", similar for LFUN_INSERT_URL
13691
13692         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13693         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13694         auto_region_delete and deadkeys.
13695
13696 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13697
13698         * LColor.h:
13699         * LColor.C: remove some dead entries, tidy a little
13700
13701 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13702
13703         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13704         commented code.
13705         (Dispatch): implement LFUN_ESCAPE
13706
13707         * commandtags.h: add LFUN_ESCAPE
13708
13709         * LyXAction.C (init): add entry for LFUN_ESCAPE
13710
13711         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13712         Remove commented code.
13713         (insertNote): moved here
13714         (open_new_inset): moved here
13715
13716         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13717         BufferView_pimpl
13718
13719 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13720
13721         * kbmap.C (findbinding): clean it up and make it work correctly.
13722
13723         * lyx_main.C (init): do not pass argc and argv as parameters
13724
13725 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13726
13727         * buffer.C: fix path for OS/2 & Win32
13728
13729         * lyx_gui.C:
13730         * lyx_main:
13731         * lyx_main.C: Added os:: class.
13732
13733         * os2_defines.h: update
13734
13735 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13736
13737         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13738         better by trying again with reduced state.
13739
13740 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13741
13742         * lyxrc.C (read): print error about invalid key sequence only when
13743         debugging (because not all latinX keysyms are known to some X
13744         servers)
13745
13746         * kbsequence.C (getiso): add a few std:: qualifiers
13747         (getiso): comment out extra return statement.
13748
13749 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13750
13751         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13752         handling.
13753         (Dispatch): enhance the accent inset a bit. (not perfect)
13754
13755 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13756
13757         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13758
13759 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13760
13761         * bufferlist.C (emergencyWrite): fix assert() call
13762
13763 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13764
13765         * text.C (InsertChar): Added trivial patch to only send the "you
13766         can not do multiple spaces this way" message once during a
13767         session.
13768
13769 2001-05-08  Baruch Even  <baruch@lyx.org>
13770
13771         * Makefile.am: Changed order of libraries to get LyX to link properly
13772         with the gnome frontend.
13773
13774 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13775
13776         * LaTeXFeatures.h: add a std:: qualifier
13777
13778 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13779
13780         * paragraph.C (String): use stringstream
13781
13782 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13783
13784         * paragraph.C (writeFile): remove footflag arg
13785
13786         * buffer.C (makeLaTeXFile): use stringstream
13787         (latexParagraphs): remove footnot gurba
13788
13789         * LaTeXFeatures.C (getPackages): use stringstream
13790         (getMacros): likewise
13791         (getTClassPreamble): likewise
13792         (getFloatDefinitions): new method
13793
13794         * paragraph.C (writeFile): reindent
13795         (Erase): reindent
13796
13797         * WorkArea.h: revert the xpos + etc changes.
13798
13799         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13800
13801         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13802
13803         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13804         (pasteSelection): likewise
13805         * text2.C (CreateUndo): likewise
13806
13807 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13808
13809         * minibuffer.C (peek_event): temporarily reduce the functionality
13810         of the minibuffer (to allow args on lfuns)
13811
13812         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13813         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13814
13815         * buffer.C (readInset): add compability reading of old float
13816         lists, add reading of new style float list.
13817         (readInset): avoid reevaluation of inscmd.getCmdName()
13818         (getLists): reindent
13819
13820         * MenuBackend.C (MenuItem): implement parsing of
13821         md_floatlistinsert and md_floatinsert.
13822         (expand::LastFiles): move initalizaton of iterators out of loop,
13823         avoid reevaluation.
13824         (expand::Documents): introduce typdedef vector<string> Strings,
13825         and use it.
13826         (expand::ExportFormats): introduce typedef vector<Format const *>
13827         Formats, and use it.
13828         (expand): implement FloatListInsert and FloatInsert.
13829
13830         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13831         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13832         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13833
13834         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13835         handling.
13836         (Dispatch::LFUN_FLOAT_LIST): implement
13837
13838 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13839
13840         * LaTeX.C (run): Fix problem with --export code.
13841
13842 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13843
13844         * BufferView.[Ch] (workarea): removed.
13845         (getClipboard) new method; wrapper for workarea()->getClipboard()
13846
13847         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13848         bug.
13849
13850         * WorkArea.h (width, height, xpos, ypos): These methods all
13851         returned the dimensions of the work_area sub-area of WorkArea,
13852         resulting in a position error if the WorkArea were resized. Now
13853         return the dimensions of the entire WorkArea.
13854
13855         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13856
13857 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13858
13859         * LaTeX.C (deplog): correct the syntax of regex reg1
13860
13861 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13862
13863         * undo.C: remove !NEW_INSETS cruft
13864
13865 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13866
13867         * text2.C: remove !NEW_INSETS cruft
13868
13869         * text.C: remove !NEW_INSETS cruft
13870
13871         * tabular.C: remove !NEW_INSETS cruft
13872
13873         * spellchecker.C: remove !NEW_INSETS cruft
13874
13875         * lyxtext.h: remove !NEW_INSETS cruft
13876
13877         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13878
13879         * lyxfunc.C: remove !NEW_INSETS cruft
13880
13881         * lyxfind.C: remove !NEW_INSETS cruft
13882
13883         * lyx_cb.C: remove !NEW_INSETS cruft
13884
13885         * figureForm.C: remove  !NEW_INSETS cruft
13886
13887         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13888
13889         * buffer.[Ch]: remove !NEW_INSETS cruft
13890
13891         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13892
13893         * CutAndPaste.C: remove !NEW_INSETS cruft
13894
13895         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13896
13897         * BufferView2.C: remove !NEW_INSETS cruft
13898
13899         * BufferView.h: remove !NEW_INSETS cruft
13900
13901 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13902
13903         * Lsstream.h: include LString.h before the sstream headers to
13904         fix problem with gcc 2.95.3 and lyxstring
13905
13906 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13907
13908         * lyx_main.C: add using directives when needed for C functions
13909         declared in std:: namespace.
13910
13911 2001-04-27  Juergen Vigna  <jug@sad.it>
13912
13913         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13914         (SetHeightOfRow): comment out the update call should not be needed!
13915
13916 2001-04-13  Juergen Vigna  <jug@sad.it>
13917
13918         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13919         (LyXTabular): tried to minimize operator= operations (and realized
13920         hopfully Lars wish).
13921
13922 2001-04-27  Juergen Vigna  <jug@sad.it>
13923
13924         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13925
13926 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13927
13928         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13929
13930         * buffer.C (readInset): hack to make listof algorithm work
13931
13932         * BufferView_pimpl.C: hack to make listof algorithm work
13933
13934 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13935
13936         * LyXAction.C: removed all !NEW_INSETS cruft
13937         (init): moved lfun_item in method
13938
13939         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13940
13941 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13942
13943         * BufferView2.C (theLockingInset): white space.
13944
13945 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13946
13947         * minibuffer.C: include <iostream>
13948
13949         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13950
13951         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13952
13953         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13954
13955         * text.[Ch] (TransposeChars): new method
13956
13957 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13958
13959         * call message directly through LyXView instead of through LyXFunc
13960         * BufferView2.C: adjust
13961         * BufferView_pimpl.C: adjust
13962         * FontLoader.C: adjust
13963         * buffer.C: adjust
13964         * bufferview_funcs.C: adjust
13965         * converter.C: adjust
13966         * figureForm.C: adjust
13967         * importer.C: adjust
13968         * lyx_cb.C: adjust
13969         * lyx_gui_misc.C: adjust
13970         * lyxfunc.C: adjust
13971         * lyxvc.C: adjust
13972         * text2.C: adjust
13973         + more files in subdirs
13974
13975         * lyxparagraph.h (size): move up int file
13976         (GetLayout): ditto
13977
13978         * adjust all uses of Assert to lyx::Assert.
13979
13980         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13981         lyxfunctional in namespace lyx
13982         * layout.C (hasLayout): ditto
13983         (GetLayout): ditto
13984         (GetLayout): ditto
13985         (delete_layout): ditto
13986         (NumberOfClass): ditto
13987         * converter.C (GetFormat): ditto
13988         (GetNumber): ditto
13989         (Add): ditto
13990         (Delete): ditto
13991         (SetViewer): ditto
13992         * bufferlist.C (getFileNames): ditto
13993         (emergencyWriteAll): ditto
13994         (exists): ditto
13995         (getBuffer): ditto
13996         * MenuBackend.C (hasSubmenu): ditto
13997         (hasMenu): ditto
13998         (getMenu): ditto
13999         * BufferView_pimpl.C (getInsetByCode): ditto
14000
14001 2001-04-18  Juergen Vigna  <jug@sad.it>
14002
14003         * vspace.C (asLatexString): fixed the 100% problem.
14004
14005 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14006
14007         * lyxfunc.C (Dispatch):
14008         * minibuffer.C:
14009         * minibuffer.h: add a few std:: qualifiers
14010
14011 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14012
14013         * minibuffer.[Ch]: reimplement so that commands is initiated and
14014         run from lyxfunc, simplified som handling, and made the completion
14015         and history code for complete. wip.
14016
14017         * lyxfunc.C (processKeySym): call message
14018         (miniDispatch): new temporary method
14019         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14020         (LFUN_MESSAGE): implement
14021         (LFUN_MESSAGE_PUSH): implement
14022         (LFUN_MESSAGE_POP): implement
14023         (initMiniBuffer): the initial/defualt minibuffer message.
14024
14025         * lyxfont.[Ch]: inline some more getters
14026
14027         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14028
14029         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14030
14031         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14032         (AutoSave): use LFUN_MESSAGE
14033         (Reconfigure): ditto
14034
14035         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14036
14037         * figureForm.C: use LFUN_MESSAGE
14038
14039         * converter.C (runLaTeX): use LFUN_MESSAGE
14040
14041         * bufferview_funcs.C: use LFUN_MESSAGE
14042         (Melt): ditto
14043         (changeDepth): ditto
14044
14045         * bufferparams.h: use boost::
14046
14047         * bufferlist.h: inherit privately from noncopyable
14048
14049         * bufferlist.C (loadLyXFile): remove some commented code.
14050
14051         * buffer.C (runChktex): use LFUN_MESSAGE
14052
14053         * ShareContainer.h: inherit privately from noncopyable
14054
14055         * ParagraphParameters.[hC] (depth): inline it.
14056
14057         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14058         methods.
14059         (message): new method
14060         (messagePush): ditto
14061         (messagePop): ditto
14062         (show): init minibuffer
14063         (showState): direct call
14064
14065         * LaTeX.[Ch]: inherit privately from noncopyable
14066         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14067         instead of WriteStatus.
14068
14069         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14070
14071         * BufferView_pimpl.C (buffer): don't init minibuffer
14072         (workAreaButtonPress): use LFUN_MESSAGE
14073         (workAreaButtonRelease): ditto
14074         (savePosition): ditto
14075         (restorePosition): ditto
14076         (MenuInsertLyXFile): ditto
14077         (workAreaExpose): don't init minibuffer
14078         (update): remove commented code, simplify
14079
14080         * BufferView2.C (openStuff): use LFUN_MESSAGE
14081         (toggleFloat): ditto
14082         (menuUndo): ditto
14083         (menuRedo): ditto
14084         (copyEnvironment): ditto
14085         (pasteEnvironment): ditto
14086         (copy): ditto
14087         (cut): ditto
14088         (paste): ditto
14089         (gotoInset): ditto
14090         (updateInset): remove some commented code
14091
14092         * lastfiles.h: inherit privately from noncopyable
14093         * layout.h: ditto
14094         * lyx_gui.h: ditto
14095         * lyx_main.h: ditto
14096         * lyxlex.h: ditto
14097         * lyxlex_pimpl.h: ditto
14098
14099         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14100         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14101         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14102
14103         * LyXAction.h: inherit privately from noncopyable, add methods
14104         func_begin, func_end, returning iterators to the func map.
14105
14106         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14107         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14108         (func_begin): new method
14109         (func_end): new method
14110
14111         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14112         and not)
14113         (copySelection): ditto
14114         (pasteSelection): ditto
14115
14116         * BufferView.C: whitespace change
14117         * BufferView.h: inherit privately from noncopyable
14118
14119 2001-04-16  Allan Rae  <rae@lyx.org>
14120
14121         * tabular-old.C (l_getline):
14122         * spellchecker.C (sc_check_word):
14123         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14124         an unrecognised preprocessor directive.  So ensure they're wrapped.
14125
14126 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14127
14128         * src/exporter.C (Export): Give an error message when path to file
14129         contains spaces.
14130
14131 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14132
14133         * LaTeX.C (deplog): Always check that foundfile exists.
14134
14135 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14136
14137         * lyx_main.h:
14138         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14139
14140 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14141
14142         * tabular.[Ch] (getLabelList): implement new method
14143
14144         * minibuffer.h: comment ouf setTiimer
14145
14146         * minibuffer.C (ExecutingCB): constify res
14147         (peek_event): constify s
14148         (Set): constify ntext
14149         (Init): constify nicename
14150
14151         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14152
14153         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14154         (savePosition): use two params to Minibuffer::Set
14155         (restorePosition): ditto
14156
14157 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14158
14159         * lyx_main.C: include language.h
14160
14161         * Makefile.am (lyx_main.o): add language.h
14162
14163 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14164
14165         * exporter.C:
14166         * paragraph.C:
14167         * screen.C:
14168         * tabular.C:
14169         * CutAndPaste.C: include gettext.h
14170
14171         * lyxfont.h: remove old hack with ON and OFF.
14172
14173         * lyxparagraph.h:
14174         * lyxfont.h: do not include language.h...
14175
14176         * BufferView2.C:
14177         * LaTeXFeatures.C:
14178         * Painter.C:
14179         * bufferview_funcs.C:
14180         * font.C:
14181         * lyxfont.C:
14182         * text.C:
14183         * text2.C:
14184         * trans_mgr.C:
14185         * paragraph.C: ... but do it here instead
14186
14187 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14188
14189         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14190
14191         * tabular.C: small reformat
14192
14193         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14194         NEW_INSETS version
14195         (GetChar): ditto
14196         (BreakParagraph): ditto
14197         (SetOnlyLayout): ditto
14198         (SetLayout): ditto
14199
14200         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14201         with one arg less.
14202
14203         * lastfiles.C: removed most using decl, add std:: where needed
14204
14205         * buffer.C: ws changes
14206
14207         * MenuBackend.C (class compare_format): put into anon namespace
14208         (expand): constify label, names, action, action2
14209         (expand):
14210
14211         * text.C (SingleWidth): constify font
14212         (IsBoundary): constify rtl2
14213         (GetVisibleRow): constify ww
14214
14215         * LaTeX.C (deplog): constify logfile
14216
14217         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14218         start_x, end_x
14219         (workAreaExpose): constify widthChange, heightChange
14220
14221         * lyxrow.C (par): moved
14222         (height): moved
14223         (next): moved
14224         * lyxrow.h: as inlines here
14225
14226         * lyxfont.h (shape): moved from lyxfont.C
14227         (emph): moved from lyxfont.C
14228
14229         * lyxfont.C (LyXFont): use initialization list for all
14230         constructors
14231         (shape): move to lyxfont.h as inline
14232         (emph): move to lyxfont.h as inline
14233
14234
14235 2001-04-04  Juergen Vigna  <jug@sad.it>
14236
14237         * vspace.C: had to include stdio.h for use of sscanf
14238
14239 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14240
14241         * BufferView.h:
14242         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14243         independent of xforms.
14244
14245 2001-04-02  Juergen Vigna  <jug@sad.it>
14246
14247         * spellchecker.C: fixed namespace placing!
14248
14249 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14250
14251         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14252         the LyXParagraph * is 0.
14253
14254 2001-03-29  Juergen Vigna  <jug@sad.it>
14255
14256         * vspace.C: added support for %, c%, p%, l%.
14257         (stringFromUnit): added helper function.
14258         (asLatexString): changed to give right results for the %-values.
14259
14260         * buffer.C: convert the widthp in a width%.
14261
14262 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14263
14264         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14265         figureForm.[Ch].
14266
14267         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14268         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14269
14270         * lyx_cb.[Ch]: see above.
14271
14272         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14273         form1.[Ch].
14274
14275         * form1.[Ch]:
14276         * lyx.[Ch]: replaced by figure_form.[Ch].
14277
14278         * lyx_gui.C:
14279         * lyx_gui_misc.C:
14280         * lyxfunc.C: changed headers associated with above changes.
14281
14282 2001-03-27  Juergen Vigna  <jug@sad.it>
14283
14284         * BufferView_pimpl.C: set the temporary cursor right!
14285
14286 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14287
14288         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14289
14290 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14291
14292         * LString.h: removed "using std::getline"!
14293
14294         * BufferView_pimpl.C (Dispatch): changes due to changes in
14295         InsetInclude::Params.
14296
14297         * buffer.C (tag_name): removed redundant break statements as they were
14298         producing lots of warnings with my compiler.
14299
14300 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14301
14302         * LString.h: add "using std::getline" when using the real <string>.
14303
14304 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14305
14306         * buffer.C: removed bitset usage.
14307         PAR_TAG moved to an anonymous name space.
14308         (tag_name): new funtion, also in the anonymous namespace.
14309         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14310         (makeDocBookFile): clean code. Completed transition from string arrays
14311         to string vectors.
14312         (SimpleDocBookOnePar): code clean.
14313
14314 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14315
14316         * tabular.C: add some comments.
14317
14318 2001-03-22  Juergen Vigna  <jug@sad.it>
14319
14320         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14321         compatibility read a bit and fixed bug with minipage in different
14322         depth.
14323
14324 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14325
14326         * buffer.C (pop_tag): removed.
14327         (push_tag): removed.
14328         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14329         array replaced with vector. Added support for CDATA sections.
14330         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14331         at any nest level.
14332         (makeDocBookFile): XML conformant declaration of CDATA section,
14333         fixed bug related to <emphasis> in the first paragraph char.
14334         (sgmlOpenTag): exclude empty tags.
14335         (sgmlCloseTag): ditto.
14336
14337         * buffer.h (pop_tag): removed.
14338         (push_tag): removed.
14339
14340 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14341
14342         * language.h (Languages): added size_type and size().
14343
14344 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14345
14346         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14347         response on compability reading of minipages. One probliem is that
14348         the old usage of minipages was «flertydig»
14349
14350         * several files here and in subdirs: don't use static at file
14351         scope use anon namespaces instead.
14352
14353 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14354
14355         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14356         LaTeX output. This is necessary for Literate document
14357         processing.
14358
14359 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14360
14361         * buffer.C: insert hfill when needed.
14362
14363         * tabular.C (l_getline): use string::erase, small whitespace change.
14364
14365         * BufferView_pimpl.C: try the anon namespace.
14366         * WorkArea.C: ditto
14367
14368 2001-03-16  Juergen Vigna  <jug@sad.it>
14369
14370         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14371         otherwise it won't open options-dialogs.
14372
14373         * buffer.C: honor pextraWidth(p) on converting minipages.
14374
14375         * tabular.C (l_getline): changed the functions to strip trailing \r.
14376
14377 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14378
14379         * BufferView_pimpl.C:
14380         * minibuffer..C: added "using SigC::slot" declaration.
14381
14382 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14383
14384         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14385
14386         * text2.C: ditto
14387
14388         * text.C: ditto
14389
14390         * paragraph.C: ditto
14391
14392         * lyxtext.h: NO_PEXTRA
14393
14394         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14395
14396         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14397         * ParameterStruct.h: ditto
14398         * ParagraphParameters.h: ditto
14399         * lyxparagraph.h: ditto
14400
14401 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14402
14403         * buffer.C: add compability for minipage alignment.
14404         (latexParagraphs): remove unwanted pextra check.
14405
14406         * several files: remove CXX_WORKING_NAMESPACES
14407
14408         * buffer.C (pop_tag): tie is in namespace boost
14409
14410         * BufferView.h: noncopyable is in namespace boost
14411         * lyxlex.h: ditto
14412         * lyx_main.h: ditto
14413         * lyx_gui.h: ditto
14414         * layout.h: ditto
14415         * lastfiles.h: ditto
14416         * bufferlist.h: ditto
14417         * ShareContainer.h: ditto
14418         * LyXView.h: ditto
14419         * LyXAction.h: ditto
14420         * LaTeX.h: ditto
14421
14422 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14423
14424         * Merging changes from BRANCH_MVC back into HEAD.
14425
14426         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14427
14428 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14429
14430         * BufferView_pimpl.C: change from intl.C
14431
14432         * combox.h:
14433         * combox.C:
14434         * Makefile.am: move combox.*
14435
14436         * form1.h:
14437         * form1.C:
14438         * lyx_gui.C:
14439         * intl.h:
14440         * intl.C: remove dialog (covered by prefs)
14441
14442 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14443
14444         * lyxfunc.C (Dispatch): removed redundant break statement.
14445
14446 2001-03-14  Juergen Vigna  <jug@sad.it>
14447
14448         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14449
14450 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14451
14452         * buffer.C: add hack to fix compability reading of minipages.
14453
14454 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14455
14456         * buffer.C (getLists): Cleanup.
14457
14458 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14459
14460         * lyxfont.C (update): don't honor toggleall on font size.
14461
14462 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14463
14464         * bmtable.c:
14465         * bmtable.h:
14466         * Makefile.am: moved to frontends/xforms/
14467
14468         * lyx_gui_misc.C:
14469         * lyxfunc.C:
14470         * BufferView_pimpl.C: changes for moved mathpanel
14471
14472 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14473
14474         * gettext.h: fix gettext_init() in --disable-nls
14475
14476 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14477
14478         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14479
14480 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14481
14482         * lyx.C:
14483         * lyx.h: strip external form
14484
14485 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14486
14487         * BufferView_pimpl.C: add comment, destroySplash()
14488
14489 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14490
14491         * BufferView_pimpl.C:
14492         * LyXAction.C:
14493         * buffer.C:
14494         * commandtags.h:
14495         * lyxfunc.C: use re-worked insetinclude
14496
14497 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14498
14499         * buffer.C: add using std::stringstream.
14500
14501         * lyx_cb.C: readd using std::ios.
14502
14503         * buffer.C: add using std::map.
14504
14505         * BufferView_pimpl.C: add using std::vector.
14506
14507         * ShareContainer.h: add std:: to swap.
14508
14509         * buffer.h: add some typedefs
14510         * buffer.C (getLists): use them
14511         (getLists): renamed from getTocList.
14512         add a counter for the different float types and use it in the
14513         generated string.
14514         (getLists): use the same counter for the NEW_INSETS and the "non"
14515         NEW_INSETS
14516
14517         * lyx_cb.h: remove unused items, includes, using etc.
14518
14519         * ShareContainer.h: remove some commented code, add more comments
14520         and "documentation".
14521
14522 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14523
14524         * buffer.C (getTocList): make the list also when NEW_INSETS is
14525         defined.
14526
14527         * buffer.h: remove TocType
14528
14529         * buffer.C (getTocList): change to return a map<string,
14530         vector<TocItem> >, implement for dynamic number of list.
14531
14532         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14533         * text2.C (PasteSelection): adjust
14534         * CutAndPaste.C (pasteSelection): adjust
14535
14536         * FloatList.C (FloatList): update from the new_insets branch.
14537         * Floating.[Ch]: ditto
14538         * LaTeXFeatures.C: ditto
14539         * buffer.C: ditto
14540         * lyxlex_pimpl.C: ditto
14541
14542         * paragraph.C (Last): remove when NEW_INSETS is defined.
14543
14544         * other file: changes because of the above.
14545
14546 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14547
14548         * lyxparagraph.h: rename next to next_, previous to previous_,
14549         make them private for NEW_INSETS. Rename Next() to next(),
14550         Previous() to previous().
14551
14552         * other files: changes because of the above.
14553
14554 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14555
14556         * BufferView.h:
14557         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14558         problem.
14559
14560 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14561
14562         * main.C (main): pass lyx_localedir to gettext_init().
14563
14564         * gettext.h: remove locale_init and gettext_init macros
14565
14566         * gettext.C (locale_init): new function
14567         (gettext_init): new function
14568
14569         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14570         setlocale().
14571
14572 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14573
14574         * Moved credits to frontends:
14575         * credits.[Ch]: removed
14576         * credits_form.[Ch]: removed
14577         * lyx_gui_misc.C: remove credits stuff
14578         * Makefile.am:
14579
14580 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14581
14582         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14583
14584         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14585         unneeded destructor.
14586
14587         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14588         a standalone pointer again.
14589
14590         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14591
14592 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14593
14594         * Makefile.am:
14595         * filedlg.h:
14596         * filedlg.C:
14597         * LyXAction.C:
14598         * ToolbarDefaults.C:
14599         * bufferlist.C:
14600         * commandtags.h:
14601         * form1.C:
14602         * form1.h:
14603         * lyx_cb.C:
14604         * lyx_cb.h:
14605         * lyxfunc.h:
14606         * lyxfunc.C:
14607         * BufferView_pimpl.C: use new file dialog in GUII
14608
14609         * lyx_cb.h:
14610         * lyx_cb.C: remove LayoutsCB to Toolbar
14611
14612 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14613
14614         * ShareContainer.h (get): add std:: qualifier
14615
14616 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14617
14618         * ShareContainer.h: define a proper ShareContainer::value_type
14619         type (and use typename to please compaq cxx)
14620
14621 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14622
14623         * lyxparagraph.h: move serveral local vars to
14624         ParameterStruct/ParagraphParameters., use ShareContainer in
14625         FontTable., make vars in FontTable private and add getter and
14626         setter.
14627
14628         * paragraph.C: changes because of the above.
14629
14630         * lyxfont.h: remove copy constructor and copy assignment. (the
14631         default ones is ok), move number inside FontBits. move inlines to
14632         lyxfont.C
14633
14634         * lyxfont.C: add number to initializaton of statics, move several
14635         inlines here. constify several local vars. some whitespace
14636         cleanup. Dont hide outerscope variables.
14637
14638         * Spacing.h: add two new constructors to match the set methods.
14639
14640         * ShareContainer.h: new file, will perhaps be moved to support
14641
14642         * ParameterStruct.h: new file
14643
14644         * ParagraphParameters.h: new file
14645
14646         * ParagraphParameters.C: new file
14647
14648         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14649         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14650
14651         * BufferView_pimpl.C: ParagraphParameter changes.
14652         * buffer.C: Likewise.
14653         * bufferview_funcs.C: Likewise.
14654         * text.C: Likewise.
14655         * text2.C: Likewise.
14656
14657 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14658
14659         * lyxfind.C (LyXReplace): do not redefine default argument in
14660         implementation.
14661         (IsStringInText): ditto
14662         (SearchForward): ditto
14663         (SearchBackward): ditto
14664
14665 2001-03-06  Juergen Vigna  <jug@sad.it>
14666
14667         * lyxfind.C (IsStringInText): put parentes around expressions.
14668
14669 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14670
14671         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14672
14673 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14674
14675         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14676
14677         * stl_string_fwd.h: add comment
14678
14679         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14680
14681         * tabular.h:
14682         * tabular.C: remove unused DocBook methods
14683
14684         * intl.C:
14685         * language.C:
14686         * paragraph.C:
14687         * buffer.C:
14688         killed DO_USE_DEFAULT_LANGUAGE
14689
14690 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14691
14692         * lyx_gui.C: do not include language.h.
14693
14694         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14695         arguments in function implementation.
14696
14697 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14698
14699         * BufferView_pimpl.C: add <ctime>
14700
14701 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14702
14703         * BufferView_pimpl.C: add using std::find_if
14704
14705 2001-02-27  José Matos  <jamatos@fep.up.pt>
14706
14707         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14708         by OnlyPath.
14709
14710 2001-02-11  José Matos  <jamatos@fep.up.pt>
14711
14712         * buffer.C (makeDocBookFile): command styles now have a parameter as
14713         "title" by default.
14714
14715 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14716
14717         * layout_forms.[Ch]: removed
14718         * lyx_cb.[Ch]: out character
14719         * lyx_gui.C: out character
14720         * lyx_gui_misc.C: out character
14721         * bufferview_funcs.C: : out character,
14722         added toggleall as parameter in ToggleAndShow
14723
14724 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14725
14726         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14727
14728         * text2.C (SetCurrentFont): Disable number property at boundary.
14729
14730 2001-02-26  Juergen Vigna  <jug@sad.it>
14731
14732         * lyxfunc.C (getStatus): added a string argument override function so
14733         that this is correctly called from LyXFunc::Dispatch if it contains a
14734         do_not_use_argument which is used!
14735         (Dispatch): added check for "custom" export and call appropriate func.
14736
14737 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14738
14739         * lyxrc.C: Add language_command_local, language_use_babel and
14740         language_global_options.
14741
14742         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14743
14744         * buffer.C (makeLaTeXFile): Use language_use_babel and
14745         language_global_options.
14746
14747 2001-02-23  Juergen Vigna  <jug@sad.it>
14748
14749         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14750         which works with LyXText and putted it inside BufferView. Here now we
14751         only call for that part the BufferView::Dispatch() function.
14752
14753         * BufferView.C (Dispatch): added.
14754
14755         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14756         functions which needs to use a LyXText over from LyXFunc.
14757         (MenuInsertLyXFile): added
14758         (getInsetByCode): added
14759         (moveCursorUpdate): added
14760         (static TEXT): added
14761
14762 2001-02-22  Juergen Vigna  <jug@sad.it>
14763
14764         * BufferView_pimpl.C (update): call a status update to see if LyXText
14765         needs it.
14766
14767 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14768
14769         * vc-backend.C (revert): implement for CVS
14770         (getLog): implement for CVS
14771
14772 2001-02-20  Juergen Vigna  <jug@sad.it>
14773
14774         * text2.C (ClearSelection): added BufferView param for inset_owner call
14775
14776         * lyxfunc.C (TEXT): added this function and use it instead of
14777         directly owner->view()-text of getLyXText().
14778
14779 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14780
14781         * src/layout_forms.C: out preamble
14782         * src/layout_forms.h: out preamble
14783         * src/lyx_cb.C: out preamble
14784         * src/lyx_cb.h: out preamble
14785         * src/lyx_gui.C: out preamble
14786         * src/lyx_gui_misc.C: out preamble
14787         * src/lyxfunc.C: connect with guii preamble
14788
14789 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14790
14791         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14792
14793 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14794
14795         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14796         whether to run bibtex.
14797
14798 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14799
14800         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14801
14802 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14803
14804         * Makefile.am (lyx_SOURCES): removed bibforms.h
14805
14806         * vspace.h: doxygen
14807
14808         * text.C (GetVisibleRow): make several local vars const
14809
14810         * tabular.C: small cleanup.
14811
14812         * lyxserver.C (callback): use compare instead of strncmp
14813
14814         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14815         inlines to after class or to paragraph.C
14816
14817         * lyxfont.h: remove friend operator!=
14818
14819         * converter.h: move friend bool operator< to non friend and after
14820         class def.
14821
14822         * combox.h: small cleanup
14823
14824         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14825         to inlines after class def.
14826
14827         * buffer.C (pop_tag): use string operations instead of strcmp
14828
14829         * bmtable.c: doxygen, small cleanup
14830
14831         * LaTeX.h: remove friend operator==
14832
14833 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14834
14835         * screen.C:
14836         * lyxrc.[Ch]:
14837         * lyxfunc.C:
14838         * lyxfont.[Ch]:
14839         * lyx_cb.C:
14840         * intl.[Ch]:
14841         * commandtags.h:
14842         * buffer.C:
14843         * WorkArea.[Ch]:
14844         * LyXAction.C:
14845         * BufferView_pimpl.C:
14846         * BufferView.[Ch]: remove cruft
14847
14848 2001-02-14  Juergen Vigna  <jug@sad.it>
14849
14850         * lyxfunc.C: removed #if 0 unused code
14851
14852         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14853
14854         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14855
14856         * text2.C (SetSelection): added a BufferView * parameter
14857
14858 2001-02-13  Juergen Vigna  <jug@sad.it>
14859
14860         * lyxfunc.C (Dispatch): fixed protected blank problem.
14861         * BufferView2.C (protectedBlank): added LyxText * parameter.
14862
14863         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14864         (AppendColumn): same as above for column_info.
14865
14866         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14867         (moveCursorUpdate): use a LyXText param for support of InsetText.
14868
14869         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14870         (tripleClick): ditto
14871
14872         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14873
14874         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14875
14876         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14877
14878         * text2.C (SetSelection): set correct update status if inset_owner
14879         (ToggleFree): ditto
14880
14881 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14882
14883         * tabular.C: remove some commented code.
14884
14885 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14886
14887         * BufferView_pimpl.C: call hideSplash()
14888
14889         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14890
14891         * include_form.h:
14892         * bibforms.h: remove
14893
14894         * lyxfunc.C:
14895         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14896           add LFUN_CHILD_CREATE
14897
14898         * counters.h: fix tiny typo
14899
14900         * lyx_cb.C:
14901         * lyx.h:
14902         * lyx_gui.C:
14903         * lyx.C: move splash to frontends/xforms/
14904
14905         * lyx_gui_misc.C: move Include and Bibform to frontends
14906
14907         * lyxvc.h: clarify comment
14908
14909         * vspace.C: tiny housekeeping
14910
14911 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14912
14913         * text.C (PrepareToPrint): RTL Fix.
14914
14915         * paragraph.C (GetUChar): New method.
14916         (String):  Use GetUChar.
14917
14918         * buffer.C (asciiParagraph): Use GetUChar.
14919
14920 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14921
14922         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14923
14924 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14925
14926         * buffer.h:
14927         * buffer.C: rename to getLogName(), handle
14928           build log / latex log nicely
14929
14930 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14931
14932         * MenuBackend.C:
14933         * MenuBackend.h: remove support for reference menuitem type.
14934
14935 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14936
14937         * BufferView_pimpl.C: housekeeping
14938         * BufferView_pimpl.h:
14939         * LyXView.h:
14940         * Makefile.am:
14941         * Timeout.C:
14942         * Timeout.h:
14943         * minibuffer.h: move Timeout GUI-I
14944
14945 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14946
14947         * lyxrc.C (read): Update converters data-structures.
14948
14949 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14950
14951         * LaTeX.h (operator!=): add operator != for Aux_Info
14952
14953 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14954
14955         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14956
14957         * LaTeXLog.C: deleted, useful code moved to Buffer
14958
14959         * buffer.h:
14960         * buffer.C: new function getLatexLogName()
14961
14962         * lyx_gui_misc.C:
14963         * lyx_gui.C:
14964         * lyxvc.C:
14965         * lyxvc.h:
14966         * lyxfunc.C: use frontends for LaTeX and VC logs
14967
14968 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14969
14970         * LaTeX.h: yet another std:: that Allan forgot.
14971
14972         * Variables.C (set): renamed from isset(), because this clashes
14973         with some HP-UX macros (grr).
14974
14975 2001-02-06  Allan Rae  <rae@lyx.org>
14976
14977         * LaTeX.h: Another bug fix.  Missing std:: this time.
14978
14979 2001-02-04  Allan Rae  <rae@lyx.org>
14980
14981         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14982         floats problem. I've left it commented out because it's not quite
14983         correct.  It should also test that the current object is a table or
14984         figure inset.  But I haven't gotten around to figuring out how to do
14985         that.  I *think* it'll be something like: "table" == inset.type()
14986
14987         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14988         bool.
14989
14990 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14991
14992         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14993         all the citation/databases/styles in the auxilary file.
14994         (run): Rerun latex if there was a babel language error.
14995
14996 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14997
14998         * text.C (Backspace): Preserve the font when changing newline char
14999         with a space.
15000         (BreakParagraph): If the cursor is before a space, delete the space.
15001
15002         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15003
15004 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15005
15006         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15007         new argument (code).
15008         (ChangeCitationsIfUnique): New method.
15009
15010         * paragraph.C (GetPositionOfInset): Handle bibkey.
15011
15012 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15013
15014         * BufferView_pimpl.h: change type of Position::par_pos to
15015         LyXParagraph::size_type.
15016
15017 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15018
15019         * BufferView_pimpl.C (savePosition, restorePosition): Write
15020         messages to minibuffer.
15021
15022 2001-01-28  José Matos  <jamatos@fep.up.pt>
15023
15024         * buffer.C (makeDocBookFile): adds support for document language.
15025         A silly restriction on the name of LatexCommand types where removed.
15026         Added support for CDATA sections, allows to chars unescaped, used
15027         among others in code, to avoid escape < and >.
15028
15029 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15030
15031         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15032         saved positions instrad of a stack. Furthermore, a position is
15033         stored using paragraph id/paragraph position.
15034
15035         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15036         Remove LFUN_REF_BACK.
15037
15038 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15039
15040         * converter.C (dvipdfm_options): New method.
15041
15042 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15043
15044         * vspace.C (isValidLength): Fix for empty input string.
15045
15046 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15047
15048         * LyXAction.C (init): change description of LFUN_FIGURE to
15049         "Insert Graphics"
15050
15051 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15052
15053         * LaTeX.C: add using directive
15054
15055 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15056
15057         * MenuBackend.C (expand): Fix the sorting of the formats.
15058
15059 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15060
15061         * lyx_main.C: tiny error message fix
15062
15063 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15064
15065         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15066         calling fl_initialize(). This fixes the problem with ',' as
15067         decimal separator in text files.
15068
15069 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15070
15071         * trans.C (process): Fix the keymap bug.
15072
15073 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15074
15075         * LaTeX.C (scanAuxFiles): New method. Provides support for
15076         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15077         (scanLogFile) Scan for "run BibTeX" messages.
15078
15079         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15080         OT1 font encoding. Also, load the aecompl package if the ae
15081         package is loaded.
15082
15083         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15084
15085 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15086
15087         * texrow.C (increasePos): turn two error messages into debug
15088         messages.
15089
15090 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15091
15092         * LaTeX.C (scanAux): Handle the \@input macro.
15093         (runBibTeX): Use scanAux().
15094
15095         * language.C (latex_options_): New field.
15096
15097         * LaTeXFeatures.C (getMacros): Add language macros.
15098
15099         * buffer.C (makeLaTeXFile): Small fix.
15100
15101 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15102
15103         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15104
15105         * text2.C: add a using directive.
15106
15107 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15108
15109         * BufferView2.C:
15110         * lyx_gui_misc.h:
15111         * lyxfr1.C:
15112         * lyxfunc.C: kill LyXBell.
15113
15114 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15115
15116         * text.C (IsBoundary): Remove the error message
15117
15118         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15119
15120         * lyxrc.C (setDefaults): Correct initialization value for
15121         font_norm_type.
15122
15123 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15124
15125         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15126         gotoError().
15127
15128         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15129         and GotoNextNote().
15130
15131         * src/LyXAction.C: Added reference-next.
15132
15133         * text.C (InsertChar): Use contains instead of strchr.
15134
15135         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15136
15137 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15138
15139         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15140         alignment commands (when needed).
15141
15142         * text.C (InsertChar): Add ':' to number separator chars.