]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
simple ws changes only
[lyx.git] / src / ChangeLog
1
2 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3
4         * text3.C (getStatus): add LFUN_BEGINNINGBUF
5
6 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
7
8         * lyxfind.C: add a couple of inTexted() tests + other small fixes
9         * BufferView_pimpl.[Ch] (getStatus)
10         * BufferView.[Ch] (getStatus): add
11         * lyxfunc.C (getStatus): move lfuns handled in
12         BufferView::dispatch to te function above 
13         * Cursor.C (setSelection): set selection() = true
14
15 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
16
17         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
18
19 2004-03-31  Angus Leeming  <leeming@lyx.org>
20
21         * lyxfunc.C (dispatch): Fall through to the generic
22         Dialogs::show("preamble").
23
24 2004-03-31  Angus Leeming  <leeming@lyx.org>
25
26         * lyxfunc.C (dispatch): Fall through to the generic
27         Dialogs::show("spellchecker").
28
29 2004-03-31  Angus Leeming  <leeming@lyx.org>
30
31         * lyxfunc.C (getStatus, dispatch): changed invocation of the
32         preferences dialog.
33
34 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
35
36         * BufferView.C
37         * cursor.[Ch]
38         * dociterator.[Ch]:
39         * insetiterator.[Ch]:
40         * lyxfind.C:
41         * lyxfunc.C:
42         * pariterator.[Ch]:
43         * text2.C:
44         * undo.[Ch]: s/DocumentIterator/DocIterator/g
45
46 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
47
48         * BufferView.C (setCursor, putSelectionAt): call edit to open the
49         insets where we are putting the cursor.
50
51 2004-03-31  Angus Leeming  <leeming@lyx.org>
52
53         * lfuns.h:
54         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
55
56         * lyxrc.[Ch] (read, write): overloaded member functions taking
57         a std::[io]stream arguments.
58
59         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
60
61 2004-03-31  Angus Leeming  <leeming@lyx.org>
62
63         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
64         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
65
66         * lyxtextclass.C (load): if the text class couldn't be loaded, then
67         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
68
69 2004-03-31  Angus Leeming  <leeming@lyx.org>
70
71         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
72         the LFUN_ALL_INSETS_TOGGLE code.
73
74 2004-03-30  Angus Leeming  <leeming@lyx.org>
75
76         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
77         has died. Fall through to the generic Dialogs::show("document").
78         
79 2004-03-30  Angus Leeming  <leeming@lyx.org>
80
81         * lfuns.h:
82         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
83         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
84
85         * lyxfunc.C (getStatus, dispatch): define the actions for these
86         lfuns. Little more than a cut and pste job from ControlDocument.C
87
88         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
89
90 2004-03-30  Angus Leeming  <leeming@lyx.org>
91
92         * lfuns.h:
93         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
94         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
95
96         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
97         open/closed state of ollapsable insets. Usage:
98
99         all-inset-toggle <state> <name>, where
100         <state> == "open" || "closed" || "toggle" and
101         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
102
103         * lyxtext.h, text2.C (toggleInset): removed.
104
105         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
106         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
107         now passes LFUN_INSET_TOGGLE to the found inset.
108
109         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
110         is now invoked as "all-insets-toggle toggle branch".
111
112 2004-03-30  Angus Leeming  <leeming@lyx.org>
113
114         * dociterator.C:
115         * insetiterator.C:
116         * pariterator.[Ch]: added/corrected header blurb.
117
118 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
119
120         * dociterator.[Ch]: add an inset_ member 
121         (backwardPos): implemented
122         (backwardPos, forwardPos): use inset_ when the stack is empty.
123         (doc_iterator_begin, doc_iterator_end): implemented
124         * pariterator.[Ch]: adjust, add begin, end
125         * insetiterator.[Ch]: adjust, add begin, end
126         * cursor.C: 
127         * document.C:
128         * BufferView.C:
129         * BufferView_pimpl.C:
130         * CutAndPaste.C: adjust
131
132 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
133
134         * buffer.C: increment file format to 232.
135         * LaTeXFeatures.C: add bibtopic package.
136         * bufferparams.[Ch]: param \use_bibtopic.
137         
138         * lyxrc.[Ch]: add lyxrc bibtex_command
139         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
140         
141         * buffer.C: increment file format to 231.
142
143 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
144
145         * dociterator.C: implement forwardPar
146         * iterators.[Ch]: remove, replaced by
147         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
148         * BufferView.C:
149         * BufferView_pimpl.C:
150         * CutAndPaste.C:
151         * buffer.C:
152         * bufferview_funcs.C:
153         * cursor.C:
154         * lyxfind.C
155         * lyxfunc.C
156         * paragraph_funcs.C
157         * toc.C:  
158         * Makefile.am: adjust
159
160 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
161
162         * CutAndPaste.C (pasteSelection): fix 2 crashes
163         (eraseSelection): fix a crash
164         * paragraph_funcs.C: remove a warning
165
166 2004-03-28  Angus Leeming  <leeming@lyx.org>
167
168         * lfuns.h:
169         * LyXAction.C (init): new LFUN_PRINT.
170
171         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
172
173 2004-03-27  Angus Leeming  <leeming@lyx.org>
174
175         * lfuns.h:
176         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
177
178         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
179
180 2004-03-27  Angus Leeming  <leeming@lyx.org>
181
182         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
183         insetlist always contains non-null pointers to insets.
184
185 2004-03-26  Angus Leeming  <leeming@lyx.org>
186
187         * src/BufferView_pimpl.C:
188         * src/CutAndPaste.C:
189         * src/buffer.C:
190         * src/iterators.C:
191         * src/output_plaintext.C:
192         * src/outputparams.h:
193         * src/paragraph_funcs.C:
194         * src/rowpainter.C:
195         * src/text.C:
196         * src/text2.C:
197         * src/frontends/controllers/ControlErrorList.C:
198         * src/frontends/gtk/FileDialogPrivate.C:
199         * src/frontends/gtk/GPainter.C:
200         * src/frontends/gtk/GToolbar.C:
201         * src/frontends/qt2/QRef.C:
202         * src/mathed/math_scriptinset.C: squash compiler warnings.
203
204 2004-03-26  Angus Leeming  <leeming@lyx.org>
205
206         * ispell.C (LaunchIspell::start):
207         * lyx_cb.C (AutoSaveBuffer::start):
208         invoke run(DontWait) rather than runNonBlocking().
209
210 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
211
212         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
213
214 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
215
216         * kbsequence.C (print): adjust
217
218         * kbmap.C (printKeySym): rename and change signature
219         (printKey): use LyXKeySym::print()
220
221 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
222
223         * undo.C: add using std::advance to compile for stlport
224
225 2004-03-24  Angus Leeming  <leeming@lyx.org>
226
227         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
228         it leads to a crash when no buffer is present.
229
230 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
231             Martin Vermeer  <martin.vermeer@hut.fi>
232
233         * lyxfunc.C (dispatch): 
234         * bufferparams.C (readToken): use the new LColor::setColor 
235
236         * LColor.[Ch] (setColor): new version that takes two strings as
237         argument and creates a new color entry if necessary
238
239 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
240
241         * buffer.C (makeLaTeXFile): if the main latex file that is
242         processed is usually a subdocument of some master, then pretend
243         for a while that it is actually the master
244
245 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
246
247         * buffer.C (getLabelList):
248         (getBibkeyList): use getMasterBuffer()
249         (getMasterBuffer): new method. Returns the main document in the
250         case where one is using included documents.
251
252 2004-03-25  André Pönitz  <poenitz@gmx.net>
253
254         * Makefile.am:
255         * iterators.[Ch]:
256         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
257
258         * ParagraphList_fwd.h: change ParagraphList to a std::vector
259
260         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
261         text*.C over here. Rename namespace CutAndPaste to lyx::cap
262
263         * ParameterStruct.h: merge with ParagraphParameters
264
265         * lyxtext.h: remove LyXText::parOffset() and getPar()
266
267         * text3.C: Remove all 'manual' update calls. We do now one per user
268         interaction which is completely sufficient.
269
270         * Bidi.C:
271         * BufferView.[Ch]:
272         * BufferView_pimpl.C:
273         * FontIterator.[Ch]:
274         * MenuBackend.C:
275         * ParagraphParameters.[Ch]:
276         * buffer.C:
277         * buffer.h:
278         * bufferlist.C:
279         * cursor.[Ch]:
280         * cursor_slice.[Ch]:
281         * dociterator.[Ch]:
282         * errorlist.[Ch]:
283         * factory.C:
284         * lfuns.h:
285         * lyxfind.C:
286         * lyxfunc.C:
287         * output_docbook.[Ch]:
288         * output_latex.[Ch]:
289         * output_linuxdoc.[Ch]:
290         * output_plaintext.[Ch]:
291         * paragraph.[Ch]:
292         * paragraph_funcs.[Ch]:
293         * paragraph_pimpl.[Ch]:
294         * rowpainter.C:
295         * tabular.[Ch]:
296         * text.C:
297         * text2.C:
298         * toc.C:
299         * undo.[Ch]: adjust
300
301         * frontends/controllers/ControlDocument.C:
302         * frontends/controllers/ControlErrorList.C:
303         * frontends/controllers/ControlSpellchecker.C:
304         * insets/inset.C:
305         * insets/inset.h:
306         * insets/insetbase.h:
307         * insets/insetbibitem.C:
308         * insets/insetbox.C:
309         * insets/insetbranch.C:
310         * insets/insetcaption.C:
311         * insets/insetcharstyle.C:
312         * insets/insetcharstyle.h:
313         * insets/insetcollapsable.C:
314         * insets/insetcollapsable.h:
315         * insets/insetert.C:
316         * insets/insetfloat.C:
317         * insets/insetfoot.C:
318         * insets/insetmarginal.C:
319         * insets/insetnote.C:
320         * insets/insetoptarg.C:
321         * insets/insettabular.C:
322         * insets/insettext.C:
323         * insets/insettext.h:
324         * insets/insetwrap.C:
325         * mathed/math_mboxinset.C:
326         * mathed/math_nestinset.C:
327         * mathed/math_scriptinset.C:
328         * mathed/math_scriptinset.h:
329         * support/types.h:
330
331 2004-03-24  Angus Leeming  <leeming@lyx.org>
332
333         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
334         deal with any child processes that have finished but are waiting to
335         communicate this fact to the rest of LyX.
336
337 2004-03-24  Angus Leeming  <leeming@lyx.org>
338
339         64-bit compile fixes.
340
341         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
342         (c-tor): pass lyx::pos_types rather than ints.
343
344         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
345         lyx::pos_type.
346
347         * text.C (Delete): compile fix.
348         (getPar): ensure that function declaration is the same as that in
349         the header file.
350
351 2004-03-23  Angus Leeming  <leeming@lyx.org>
352
353         * ispell.C (LaunchIspell):
354         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
355         a boost::shred_ptr rather than a std::auto_ptr.
356
357 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
358
359         * lyxfunc.C (getStatus): handle read-only buffers correctly;
360         handle LFUN_FILE_INSERT_*
361
362         * lyxrc.C (setDefaults, getDescription, output, read):
363         * lyxrc.h: remove ps_command
364
365 2004-03-22  Angus Leeming  <leeming@lyx.org>
366
367         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
368         Ensure that error_handler is processed once only and that all data
369         is saved before attempting to output any warning messages.
370
371         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
372
373 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
374
375         * tabular.C (TeXRow): crash fix (from Kayvan and André)
376
377 2004-03-19  André Pönitz  <poenitz@gmx.net>
378
379         * cursor.[Ch] (reset): take main text inset as argument
380
381         * BufferView: adjust
382         * BufferView_pimpl.C: adjust
383
384         * paragraph.[Ch]: fix completely broken operator=()
385
386 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
387
388         * LColor.C (getFromLyXName): make sure that the color name is used
389         as lowercase.
390
391 2004-03-17  Angus Leeming  <leeming@lyx.org>
392
393         * lfuns.h:
394         * LyXAction.C (init): remove LFUN_FORKS_KILL.
395
396         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
397         dialog and to kill a forked process.
398
399 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
400
401         * text2.C (setCursorFromCoordinates): fix font problem
402
403 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
404
405         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
406         bogus "rebuild cursor" code
407
408 2004-03-11  André Pönitz  <poenitz@gmx.net>
409
410         * buffer.[Ch]: use InsetText instead of LyXText as container for
411         the main lyx text.
412
413         * dociterator.[Ch]: drop the BufferView * member which is not needed
414         anymore after the change to buffer.C
415
416         * paragraph_funcs.C:
417         * text.C:
418         * text2.C:
419         * BufferView.[Ch]:
420         * BufferView_pimpl.[Ch]:
421         * cursor.[Ch]:
422         * cursor_slice.[Ch]: adjust
423
424         * text3.C: fix bug in mathDispatch
425
426 2004-03-08  André Pönitz  <poenitz@gmx.net>
427
428         * undo.[Ch]: use 'StableDocumentIterator' as base for
429         the Undo struct.
430
431 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
432
433         * LaTeXFeatures.C:
434         * bufferparams.[Ch]: add jurabib support and param.
435
436         * LaTeX.C: add FIXME/comment.
437
438 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
439
440         * buffer.C: increment file format to 230.
441
442 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
443
444         * cursor.C (dispatch): avoid infinite loops
445
446 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
447
448         * rowpainter.C (paintSelection): fix x coordinates
449
450 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
451
452         * text.C (rowBreakPoint): fix breaking before displayed insets
453
454 2004-03-01  André Pönitz  <poenitz@gmx.net>
455
456         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
457
458         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
459
460         * Makefile.am:
461         * BufferView.C:
462         * BufferView_pimpl.C:
463         * buffer.C:
464         * lyxfind.C:
465         * lyxfunc.C:
466         * text.C:
467         * text2.C:
468         * text3.C: adjust
469
470 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
471
472         * lyxtext.h:
473         * text.C:
474         * text2.C:
475         * rowpainter.C:
476         * BufferView_pimpl.C: rename textwidth -> maxwidth,
477         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
478
479 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
480
481         * Bidi.[Ch] (computeTables): const correctness
482         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
483         fill_hfill, fill_label_hfill and x from Row
484         * lyxtext.h: prepareToPrint returns a RowMetrics
485         * rowPainter.C: adjust
486         * text.C (prepareToPrint): use width, not textWidth. adjust
487         (redoParagraphInternal, cursorX): adjust
488         * text2.C (getColumnNearX): adjust
489         (init): put a default value to the top LyXText::width
490
491 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
492
493         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
494
495 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
496
497         * lyxtext.h: add FontIterator class
498
499         * text.C (FontIterator, operator*, operator->, operator++): add
500         (rowBreakPoint, setRowWidth): adjust (fixing a
501         rebreaking bug)
502
503 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
504
505         * BufferView_pimpl.C (workAreaDispatch): allow also
506         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
507
508 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
509
510         * text.C (rowBreakPoint): fix a bug showing with very large insets
511
512 2004-02-25  André Pönitz  <poenitz@gmx.net>
513
514         * text3.C:
515         * cursor.[Ch]: move some mathed specific code to mathed
516
517 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
518
519         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
520         use_tempdir in preferences
521         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
522         tempfile creation
523         * lyx_main.C: ensure that tempdir is valid
524         * lyxlex.h: correct typo
525         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
526         * paragraph.[Ch] (isMultiLingual): make const
527         * cursor.[Ch] (openable): make const
528
529 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
530
531         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
532
533 2004-02-20  André Pönitz  <poenitz@gmx.net>
534
535         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
536
537         * cursor.[Ch]: prepare for localized getStatus()
538
539         * lyxtext.h:
540         * tabular.C:
541         * text.C:
542         * text2.C:
543         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
544
545 2004-02-20  André Pönitz  <poenitz@gmx.net>
546
547         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
548
549 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
550
551         * text2.C (setCursorFromCoordinates): switch to absolute coords
552         (cursorUp): adjust
553         (cursorDown): adjust
554         * text3.C (dispatch): adjust
555
556 2004-02-16  André Pönitz  <poenitz@gmx.net>
557
558         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
559           insets/ChangeLog)
560
561         * cursor_slice.[Ch]: remove unneeded acessor function
562
563         * lyxtext.h: rename rtl() to isRTL()
564
565         * rowpainter.C:
566         * tabular.C:
567         * text.C:
568         * text2.C:
569         * text3.C: adjust
570
571 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
572
573         * rowpainter.C (paintSelection): coord fix
574
575 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
576
577         * Spacing.C: compile fix
578
579 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
580
581         * cursor.C (dispatch): restore current_ before returning
582
583 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
584
585         * text2.C (cursorUp, cursorDown): fix coords
586         (moveUp): fix crash
587
588 2004-02-12  André Pönitz  <poenitz@gmx.net>
589
590         * lyxtext.h:
591         * text.C:
592         * text2.C:
593         * text3.C: add LCursor & parameter to most cursor movement functions
594           remove usage of LyXText::cursorRow() and cursorPar()
595
596         * cursor.[Ch]: add textRow() needed members
597
598         * BufferView.C:
599         * BufferView_pimpl.C:
600         * paragraph.[Ch]:
601         * BufferView.C:
602         * BufferView_pimpl.C: adjust
603
604 2004-02-11  André Pönitz  <poenitz@gmx.net>
605
606         * lyxfunc.C:
607         * BufferView.[Ch]:
608         * BufferView_pimpl.C: shift undo/redo handling
609
610         * cursor.[Ch]: fix mathed crash
611
612         * lyxfind.C:
613         * lyxtext.h: move selectionAsText to LCursor
614
615         * output_latex.C:
616         * paragraph.C:
617         * text.C:
618         * text2.C:
619         * text3.C: adjust
620
621         * rowpainter.C: fix excessive drawing
622
623 2004-02-06  André Pönitz  <poenitz@gmx.net>
624
625         * BufferView.[Ch]:
626         * BufferView_pimpl.[Ch]:
627         * text3.C: move some text specific LFUN handling
628
629 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
630
631         * text3.C (checkInsetHit): adjust coords
632         * text2.C (getColumnNearX): adjust coords
633         (edit): adjust coords
634         * text.C (getRowNearY): add two asserts
635
636 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
637
638         * converter.C:
639         * format.C: add using std::distance to compile on gcc 2.95/stlport
640
641 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
642
643         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
644
645 2004-02-04  André Pönitz  <poenitz@gmx.net>
646
647         * BufferView.[Ch] (insertInset):
648         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
649
650         * text2.C:
651         * text3.C: adjust
652
653 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
654
655         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
656         on the default clause of the switch
657         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
658         wasn't catched by LCursor::dispatch
659
660 2004-02-03  André Pönitz  <poenitz@gmx.net>
661
662         * BufferView.C:
663         * cursor.[Ch]: some additional asserts
664
665         * undo.[Ch]: remove LyXText dependency in interface
666
667         * lyxfunc.C: adjust
668
669         * lyxtext.h (firstPar, lastPar): remove dead functions
670
671         * text.C:
672         * text2.C:
673         * text3.C:
674         * paragraph.[Ch]: adjust
675
676 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
677
678         * lyxfind.C (find): fix argument order in call to ::find
679
680 2004-02-02  André Pönitz  <poenitz@gmx.net>
681
682         * cursor.[Ch]: remove direct access to anchor
683
684         * text.C: remove findText() hack
685
686 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
687
688         * iterators.[Ch] (lockPath): remove in favour of...
689         * BufferView.[Ch] (setCursor): this addition
690         * BufferView.C (putSelectionAt): adjust
691         * undo.C (performUndoOrRedo): adjust
692         * lyxfunc.C (dispatch): adjust
693
694 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
695
696         * iterators.C (lockPath): add a missing slice
697         * undo.C (performUndoOrRedo): remove redundant positioning code
698
699 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
700
701         * vc-backend.C (scanMaster): ";" -> ';'
702
703 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
704
705         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
706         std::binary_function
707
708         * lyxtextclass.C (compare_name): rename to...
709         (LayoutNamesEqual): ...this
710
711         * lyxlex_pimpl.C (compare_tags): inherit from
712         std::binary_function, put back into anon namespace
713
714         * lyxfind.C (MatchString): inherig from std::binary_function
715         (findChange): use empty() istead of !size()
716
717         * format.C (FormatNamesEqual): new functor
718         (getFormat): use it
719         (getNumber): use it
720         (add): use it
721         (erase): use it
722         (setViewer): use it
723
724         * converter.C (compare_Converter): rename to...
725         (ConverterEqual): ...this, and fixup a bit.
726         (getConverter): use it, and make function const
727         (getNumber): use it, and make function const
728         (add): use it
729         (erase): use it:
730
731         * bufferlist.C: add using boost::bind
732
733         * MenuBackend.C (MenuNamesEqual): new functor
734         (hasMenu): use it, and make function const
735         (hasSubmenu): use nested bind to get rid of compare_memfun.
736
737 2004-01-30  André Pönitz  <poenitz@gmx.net>
738
739         * BufferView_pimpl.C:
740         * cursor.C:
741         * cursor.h:
742         * cursor_slice.[Ch]:
743         * lyxfunc.C:
744         * lyxtext.h:
745         * paragraph_funcs.C:
746         * paragraph_funcs.h:
747         * rowpainter.C:
748         * text.C:
749         * text2.C:
750         * text3.C: move some of the edit(x,y) handling to the insets
751         some coordinate changes.
752
753 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
754
755         * text.C: add using statements for std::advance and std::distance
756
757         * paragraph.C: add using statement for std::distance
758
759         * lyxfind.C: add using statement for std::advance
760
761         * cursor.C (region): remove std:: from swap
762         (openable): use nucleus in stead of operator->
763
764         * BufferView.C: add using statements for std::distance and std::swap
765
766 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
767
768         * iterators.C: Remove the pimple, move the needed structures to
769         the header file. Create accessor for the positions stack.
770         (asPosIterator): remove function
771
772         * PosIterator.C (PosIterator): move constructors to top of file
773         (PosIterator): reimplement the constructor taking a ParIterator in
774         terms of setFrom.
775         (setFrom): new function
776         (operator!=): inline it
777
778 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
779
780         * lyxfind.C (replaceAll): use std::advance
781
782         * iterators.h: inherit from std::iterator.
783
784         * PosIterator.C (advance, distance): remove
785         * PosIterator.h: interit from std::iterator.
786
787 2004-01-26  André Pönitz  <poenitz@gmx.net>
788
789         * BufferView.[Ch]:
790         * BufferView_pimpl.[Ch]:
791         * InsetList.[Ch]:
792         * PosIterator.[Ch]:
793         * buffer.h:
794         * bufferview_funcs.C:
795         * cursor.[Ch]:
796         * cursor_slice.h:
797         * factory.[Ch]:
798         * iterators.[Ch]:
799         * lyxfind.C:
800         * lyxfunc.C:
801         * lyxtext.h:
802         * output_docbook.C:
803         * output_latex.C:
804         * output_linuxdoc.C:
805         * output_plaintext.C:
806         * paragraph.[Ch]:
807         * paragraph_funcs.[Ch]:
808         * paragraph_pimpl.[Ch]:
809         * rowpainter.C:
810         * tabular.C:
811         * tabular.h:
812         * text.C:
813         * text2.C:
814         * text3.C: more IU:  dumps most of the rest of the mathcursor
815     implementation into cursor.[Ch]; "globalize" a bit of it.
816
817 2004-01-25  Angus Leeming  <leeming@lyx.org>
818
819         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
820
821 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
822
823         * LaTeXFeatures.h: add nice_ and nice() const
824         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
825
826 2004-01-20  André Pönitz  <poenitz@gmx.net>
827
828         * BufferView.[Ch]:
829         * BufferView_pimpl.C:
830         * PosIterator.C:
831         * bufferview_funcs.C:
832         * cursor.[Ch]:
833         * cursor_slice.[Ch]:
834         * factory.C:
835         * iterators.C:
836         * lyx_cb.C:
837         * lyxfind.C:
838         * lyxfunc.C:
839         * lyxtext.h:
840         * rowpainter.C:
841         * text.C:
842         * text2.C:
843         * text3.C:
844         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
845           LCursor and mathcursor parts to LCursor and InsetBase.
846
847 2004-01-15  André Pönitz  <poenitz@gmx.net>
848
849         * cursor_slice.[Ch]: add a few covienience functions
850
851         * funcrequest.[Ch]: remove BufferView * member
852
853         * BufferView_pimpl.C:
854         * cursor.C:
855         * factory.[Ch]:
856         * lyxfind.[Ch]:
857         * lyxfunc.C:
858         * lyxtext.h:
859         * text3.C:
860         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
861
862 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
863
864         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
865         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
866
867 2004-01-13  André Pönitz  <poenitz@gmx.net>
868
869         * textcursor.[Ch]:
870         * lyxtext.h: hide cursor and selection anchor behind accessor function
871
872         * BufferView.C:
873         * BufferView_pimpl.[Ch]:
874         * PosIterator.C:
875         * bufferview_funcs.C:
876         * cursor.h:
877         * lyxfind.C:
878         * lyxfunc.C:
879         * text.C:
880         * text2.C:
881         * text3.C:
882         * undo.C: adjust
883
884         * cursor.h:
885         * cursor_slice.[Ch]: some integer type changes for inset unification
886
887         * lyxcursor.[hC]: remove, it's CursorSlice now.
888
889         * Makefile.am:
890         * BufferView_pimpl.[Ch]:
891         * bufferview_funcs.C:
892         * cursor_slice.C:
893         * lyxtext.h:
894         * text.C:
895         * text2.C:
896         * text3.C:
897         * textcursor.[Ch]: adjust
898
899 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
900
901         * text2.C (undoSpan): add and use
902         * text.C (breakParagraph): use undoSpan (fix bug 578)
903         * lyxtext.h: adjust
904
905 2004-01-08  Angus Leeming  <leeming@lyx.org>
906
907         * BufferView_pimpl.C (MenuInsertLyXFile):
908         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
909         * lyxfunc.C (menuNew, open, doImport):
910         FileFilterList change to the FileDialog open and save functions.
911
912 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
913
914         * ShareContainer.h: make isEqual and isUnique adaptable
915
916         * CutAndPaste.C: make resetOwnerAndChanges adaptable
917
918 2004-01-07  Angus Leeming  <leeming@lyx.org>
919
920         * LyXAction.C:
921         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
922
923         * BufferView_pimpl.C (dispatch): act on these LFUNs.
924
925         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
926         functions replacing find, replace and replaceAll.
927
928         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
929         LFUN_WORDFIND(FORWARD|BACKWARD).
930
931 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
932
933         * text.C (breakParagraph): remove an outdated #warning
934
935 2004-01-07  André Pönitz  <poenitz@gmx.net>
936
937         * lyxfind.C: somewhat clearer logic
938
939         * text.C: prevent crash in cursorX on unitialized row cache
940
941 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
942
943         * lyxcursor.[Ch] (operator>): add
944         * textcursor.C (selStart, selEnd): use std::min and std::max
945
946 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
947
948         * Chktex.C: include boost/format.hpp
949
950 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
951
952         * InsetList.C: replace functor MathcIt with adaptable functor
953         InsetTablePosLess
954         (insetIterator): modify accordingly
955
956         * BranchList.h: move the BranchNamesEqual functor here from...
957         * BranchList.C: ... to here
958
959         * BranchList.C: new BranchListEqual fuctor, use it. Remove
960         SameName and match.
961         (add): replace a finding loop with std::find_if.
962
963 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
964
965         * output_docbook.C: moving LatexParam functionality into
966         .layout files
967
968 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
969
970         * buffer.C: increment format to 229.
971
972 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
973
974         * LaTeXFeatures.C:
975         * lyx_sty.[Ch]: remove minipageindent_def
976
977         * LyXAction.C:
978         * factory.C:
979         * lfuns.h:
980         * lyxfunc.C:
981         * text3.C: remove LFUN_INSET_MINIPAGE
982
983 2003-12-28  Angus Leeming  <leeming@lyx.org>
984
985         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
986
987 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
988
989         * text2.C (setParagraph): fix off-by-one crash
990
991 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
992
993         * output_docbook.C: header stuff for AGU
994
995 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
996
997         * text2.C (redoCursor): remove
998         * text.C:
999         * text3.C:
1000         * BufferView_pimpl.C: remove calls to redoCursor and
1001         setCursor(cursor.par(), cursor.pos()) all around
1002
1003 2003-12-15  Angus Leeming  <leeming@lyx.org>
1004
1005         * buffer.C: up the format to 228.
1006
1007 2003-12-15  André Pönitz  <poenitz@gmx.net>
1008
1009         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1010         slices
1011
1012         * Makefile.am:
1013
1014         * BufferView_pimpl.C:
1015         * cursor.[Ch]:
1016         * lyxcursor.[Ch]:
1017         * rowpainter.[Ch]:
1018         * lyxtext.h:
1019         * text.C:
1020         * text2.C:
1021         * text3.C: adjust
1022
1023 2003-12-15  Angus Leeming  <leeming@lyx.org>
1024
1025         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1026         than getFromGUIName to manipulate the color.
1027
1028 2003-12-14  Angus Leeming  <leeming@lyx.org>
1029
1030         * BranchList.[Ch]: minimize the API.
1031         (Branch::getBranch, getColor): now return a 'const &'.
1032         (Branch::setSelected) now returns a bool set to true if the
1033         selection status changes.
1034         (BranchList::clear, size, getColor, setColor, setSelected,
1035         allBranches, allSelected, separator): removed.
1036         (BranchList::find): new functions, returning the Branch with
1037         the given name.
1038         (BranchList::add, remove): return a bool indicating that
1039         the operation was successful.
1040
1041         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1042         new InsetBranch::isBranchSlected member function.
1043
1044         * LColor.[Ch]: mimimize the API.
1045         (fill): renamed as addColor and made private.
1046         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1047         versions of these functions taking a string arg have been removed.
1048
1049         * bufferparams.C (readToken):
1050         * lyxfunc.C (dispatch):
1051         * lyxrc.C (read): changes due to the altered BranchList and
1052         LColor APIs.
1053
1054         * factory.C (createInset, readInset): changes due to altered
1055         InsetBranch c-tor.
1056
1057 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1058
1059         * factory.C:
1060         * lyxfunc.C: remove insetminipage. "minipage-insert"
1061         now produces a frameless minipage box inset.
1062
1063 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1064
1065         * textcursor.[Ch] (selStart,selEnd): add new methods
1066         remove selection::start, end, use LyXCursor::operator<
1067         * lyxcursor.[Ch] (operator<): add
1068         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1069         * BufferView.[Ch] (unsetXSel): add
1070         * text2.C (clearSelection): use unsetXSel,adjust
1071         * text.C: adjust
1072         * text3.C: adjust
1073         * rowpainter.C: adjust
1074         * bufferview_funcs.C (put_selection_at): adjust
1075
1076 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1077
1078         * BufferView_pimpl.C: small coord. correction
1079
1080 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1081
1082         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1083         dragging over the splash screen.
1084
1085 2003-12-11  Angus Leeming  <leeming@lyx.org>
1086
1087         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1088         as it is now handled in LyXText::dispatch.
1089
1090         * text3.C (doInsertInset): remove a level of nesting.
1091
1092 2003-12-11  Angus Leeming  <leeming@lyx.org>
1093
1094         * factory.C (createInset): changes due to the changed interface to
1095         InsetCommandMailer::string2params.
1096
1097 2003-12-10  Angus Leeming  <leeming@lyx.org>
1098
1099         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1100         'dialog-show-new-inset <inset name>'
1101
1102 2003-12-10  Angus Leeming  <leeming@lyx.org>
1103
1104         * buffer.C: up the format to 227.
1105
1106         * factory.C: the box inset is now identified simply by 'Box'.
1107
1108 2003-12-10  Angus Leeming  <leeming@lyx.org>
1109
1110         * buffer.C: up the format to 226.
1111
1112         * factory.C: the note inset is now identified simply by 'Note'.
1113
1114 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1115
1116         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1117         when a pit is enough. Standarize a couple of loops.
1118
1119 2003-12-05  Angus Leeming  <leeming@lyx.org>
1120
1121         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1122         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1123         data to the re-worked "log" dialog.
1124
1125 2003-12-03  André Pönitz  <poenitz@gmx.net>
1126
1127         * PosIterator.C:
1128         * iterators.C:
1129         * lyxtext.h:
1130         * output_latex.C:
1131         * paragraph_funcs.C:
1132         * text.C:
1133         * text2.C: use Inset::getText instead of Inset::getParagraph
1134
1135 2003-12-03  André Pönitz  <poenitz@gmx.net>
1136
1137         * buffer.[Ch]:
1138         * lyxtext.h:
1139         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1140         InsetText::read() as LyXText::read()
1141
1142 2003-12-02  Angus Leeming  <leeming@lyx.org>
1143
1144         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1145         type. Add a comment in the implementation that the function uses
1146         the stream's bad() function rather than fail() as the std::streams
1147         would do.
1148
1149 2003-12-02  André Pönitz  <poenitz@gmx.net>
1150
1151         * lyxlex.[Ch]: make interface more similar to std::stream
1152
1153         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1154
1155 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1156
1157         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1158
1159 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1160
1161         * vspace.[Ch]: remove VSpace::NONE
1162
1163 2003-12-01  André Pönitz  <poenitz@gmx.net>
1164
1165         * buffer.[Ch]:
1166         * lyxtext.h: move ParagraphList member to LyXText
1167         rename LyXText::ownerParagraphs to LyXText::paragraph
1168
1169         * CutAndPaste.C:
1170         * bufferview_funcs.C:
1171         * iterators.[Ch]:
1172         * lyx_cb.C:
1173         * paragraph.C:
1174         * rowpainter.C:
1175         * tabular.C:
1176         * text.C:
1177         * text2.C:
1178         * text3.C: adjust
1179
1180         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1181
1182         * undo.C: fix cursor positioning
1183
1184 2003-12-01  John Levon  <levon@movementarian.org>
1185
1186         * BufferView_pimpl.C: fix a crash on exit with
1187         a buffer open
1188
1189 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1190
1191         * BranchList.C: fix setSelected() method.
1192
1193 2003-11-28  André Pönitz  <poenitz@gmx.net>
1194
1195         * ParagraphParameters.[Ch]:
1196         * ParameterStruct.h: remove space above/below from Paragraph to
1197          InsetVSpace
1198
1199         * BufferView_pimpl.C:
1200         * factory.C:
1201         * lyxfunc.C:
1202         * lyxtext.h:
1203         * output_latex.C:
1204         * paragraph.C:
1205         * paragraph_funcs.C:
1206         * rowpainter.[Ch]:
1207         * text.C:
1208         * text2.C:
1209         * text3.C: adjust
1210
1211 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1212
1213         * factory.C: Syntax change for CharStyles
1214
1215 2003-11-28  André Pönitz  <poenitz@gmx.net>
1216
1217         * BufferView.[Ch]:
1218         * BufferView.[Ch]:
1219         * buffer.[Ch]:
1220         * buffer.[Ch]: move LyXText member
1221
1222 2003-11-28  André Pönitz  <poenitz@gmx.net>
1223
1224         * BufferView.[Ch]: make LyXText * text a private member
1225
1226         * BufferView_pimpl.C:
1227         * cursor.C:
1228         * iterators.C:
1229         * lyx_cb.C:
1230         * lyxfind.C:
1231         * lyxtext.h:
1232         * rowpainter.[Ch]:
1233         * text.C:
1234         * text2.C:
1235         * undo.C: adjust
1236
1237         * output_plaintext.C: cleanup
1238
1239 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1240
1241         * buffer.C:
1242         * lyxtextclass.[Ch]: parametrize SGML document header
1243
1244 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1245
1246         * converter.[Ch]:
1247         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1248         getFlavor().
1249
1250 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1251
1252         * text2.C (setFont): rework using PosIterator (no more recursive)
1253         (setCharFont): no more needed
1254         (setLayout): no more selection cursors fiddling (done by redoCursor)
1255         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1256         destroy remaining ones)
1257
1258 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1259
1260         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1261         * lyxtext.h: ditto
1262         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1263         selection cursors
1264         * lyxfunc.C: adjust
1265         * text3.C: adjust + re-allow multi par depth changes
1266         * textcursor.C: simplify a bit
1267
1268 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1269
1270         * src/buffer.C:
1271         * src/lyxlayout.C:
1272         * src/lyxlayout.h:
1273         * src/lyxtext.h:
1274         * src/output_docbook.C:
1275         * src/output_latex.C:
1276         * src/paragraph.C:
1277         * src/paragraph.h:
1278         * src/sgml.C:
1279         * src/sgml.h:
1280         * src/text2.C: Introducing a number of tags parametrizing various
1281         XML formats that we may want to support
1282
1283 2003-11-25  André Pönitz  <poenitz@gmx.net>
1284
1285         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1286
1287         * lyxtext.h (leftMargin/rightMargin): simplify interface
1288
1289         * rowpainter.C:
1290         * text.C:
1291         * text2.C:
1292         * text3.C: adjust
1293
1294 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1295
1296         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1297         master file to any child files. Fixes bug 546.
1298
1299 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1300
1301         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1302
1303 2003-11-24  André Pönitz  <poenitz@gmx.net>
1304
1305         * rowpainter.C: simplification
1306
1307         * text2.C (updateCounters): remove call to redoParagraph on
1308         changed labels as this is far too expensive.
1309
1310 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1311
1312         * converter.C (convert): fix a crash: this function gets
1313         called with buffer == 0 from importer code.
1314
1315 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1316
1317         * text3.C (cursorPrevious): make sure that we do not compare
1318         iterators form different containers.
1319         (cursorNext): ditto
1320
1321         * rowpainter.C (paintSelection): make sure that we do not compare
1322         iterators from different containers.
1323
1324         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1325         iterators from different ParagraphList containers.
1326         [NEXT] ditto
1327
1328         * text2.C (LyXText): change order of initialization slightly
1329         (operator=): new function. copy all variables except cache_par_
1330         (moveUp): make sure that we do not compare iterators from
1331         different ParagraphList constainers.
1332         (moveDown): ditto
1333
1334         * text.C (firstPar): new function
1335         (lastPar): new function
1336         (endPar): new function
1337
1338         * lyxtext.h: move things around and group public functions, public
1339         variables, private functions, private variables
1340
1341 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1342
1343         * factory.C: change call to InsetERT constructor to avoid
1344         additional invocation of method status
1345         * text2.C (toggleInset): remove redundant update() call
1346         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1347         instead of a Bufferview pointer
1348
1349 2003-11-21  André Pönitz  <poenitz@gmx.net>
1350
1351         * rowpainter.C: simplification
1352
1353 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1354
1355         * text3.C (dispatch): make possible to extend a word/row selection
1356         with the mouse
1357
1358 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1359
1360         * lyxtext.h: x0_,y0_ -> xo_,yo_
1361         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1362         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1363         * rowpainter.C (paintRows): paint full paragraphs
1364
1365 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1366
1367         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1368         screen coordinates)
1369
1370 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1371
1372         * lyxtext.h: add x0_, y0_
1373         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1374         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1375
1376 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1377
1378         * text2.C (setCursorIntern): move the x_target update here *
1379         * text3.C: change some bv() to true/false in calls to
1380         cursorUp/Down/Right/Left
1381         * cursor.C: use helper function.
1382
1383 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1384
1385         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1386         * paragraph_funcs.[Ch]: correct comment
1387         * rowpainter.C: do not paint selections away from bv->cursor()
1388         Fix a long standing selection painting bug.
1389         * text3.C: generalize mouse-selection code to LyXTexts other that
1390         top one
1391         * textcursor.C: do not use y coords if we can use par offsets
1392
1393 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1394
1395         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1396         cursor position after e.g. inset insert)
1397
1398 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1399
1400         * lyxfind.C (replace): adjust to locking removal + some
1401         code simplification
1402
1403 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1404
1405         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1406         of the path
1407
1408 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1409
1410         * lyxlayout.[Ch]:
1411         * output_docbook.C: XML sanitation: new layout
1412         parameters InnerTag and CommandDepth
1413
1414 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1415
1416         * BufferView_pimpl.C:
1417         * factory.C:
1418         * text3.C: Fix the insertion and modification of button-style
1419         insets
1420
1421 2003-11-13  André Pönitz  <poenitz@gmx.net>
1422
1423         * InsetList.[Ch]: remove deleteLyXText
1424
1425         * paragraph.[Ch]: cache beginOfBody position
1426
1427         * Bidi.C:
1428         * text.C:
1429         * text2.C:
1430         * text3.C: remove superfluous update() calls
1431
1432         * vspace.C: cleanup
1433
1434 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1435
1436         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1437         * BufferView.C (fitLockedInsetCursor): remove
1438         * cursor.[Ch] (getDim): add
1439         * text.C (getRowNearY): add faster version
1440         * text3.C: remove some update calls
1441
1442 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1443
1444         * LaTeXFeatures.C:
1445         * LyXAction.C:
1446         * MenuBackend.C:
1447         * MenuBackend.h:
1448         * dispatchresult.h:
1449         * factory.C:
1450         * lfuns.h:
1451         * lyxfunc.C:
1452         * lyxtextclass.C:
1453         * lyxtextclass.h:
1454         * text3.C: The Character Style /XML short element patch.
1455
1456 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1457
1458         * text3.C:
1459         * factory.C: Small step to solving 'unable to insert some insets'
1460         problem
1461
1462 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1463
1464         * cursor.[Ch] (updatePos): new function for updating the y
1465         position of the tip inset
1466         * bufferview_funcs.C (put_selection_at):
1467         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1468
1469 2003-11-11  André Pönitz  <poenitz@gmx.net>
1470
1471         * text.C: remove big comment on invalid Paragraph pointers as it is
1472         not valid anymore
1473
1474 2003-11-11  André Pönitz  <poenitz@gmx.net>
1475
1476         * text_funcs.[Ch]: merge with ...
1477
1478         * text.C: ... this
1479
1480         * lyxtext.h:
1481         * text2.C:
1482         * text3.C: adjust
1483
1484         * Makefile.am: remove text_funcs.[Ch]
1485
1486 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1487
1488         * cursor.C (getPos): return absolute cached y coord
1489
1490         * BufferView_pimpl.C (fitCursor): new simplistic code
1491         (workAreaDispatch): add a fitCursor call
1492
1493 2003-11-10  André Pönitz  <poenitz@gmx.net>
1494
1495         * BufferView.[Ch]:
1496         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1497
1498 2003-11-10  André Pönitz  <poenitz@gmx.net>
1499
1500         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1501         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1502         indicate that the cursor needs to leave an inset
1503
1504         * lyxtext.h: remove inset locking
1505
1506         * cursor.[Ch]: re-implement functionality provided by inset locking
1507
1508         * BufferView.[Ch]:
1509         * BufferView_pimpl.[Ch]:
1510         * LyXAction.C:
1511         * bufferview_funcs.[Ch]:
1512         * factory.C:
1513         * funcrequest.[Ch]:
1514         * iterators.C:
1515         * lyx_cb.C:
1516         * lyxfind.C:
1517         * lyxfunc.C:
1518         * text.C:
1519         * text2.C:
1520         * text3.C:
1521         * undo.C: adjust
1522
1523 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1524
1525         * PosIterator.[Ch]: replace the stack with a vector, add inset
1526         accesor
1527         * iterators.[C]: adjust
1528
1529 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1530
1531         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1532         replaced
1533         * paragraph_funcs.C (readParToken): put the correct id in the
1534         error item, not the id of the top paragraph
1535
1536 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1537
1538         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1539         * bufferview_funcs.C (put_selection_at): use the above
1540
1541 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1542
1543         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1544
1545 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1546
1547         * output_linuxdoc.h:
1548         * output_plaintext.h:
1549         * output.h:
1550         * output_docbook.h: add #include statements
1551
1552 2003-11-05  José Matos  <jamatos@lyx.org>
1553
1554         * output_docbook.[Ch]:
1555         * output_latex.[Ch]:
1556         * output_linuxdoc.[Ch]:
1557         * output_plaintext.[Ch]: New files for output formats.
1558         * output.[Ch]: New file for helper functions.
1559
1560         * buffer.[Ch]:
1561         * paragraph_funcs.[Ch]: output functions moved to new files.
1562
1563         * outputparams.h: rename of latexrunparams.h
1564
1565         * LaTeX.[Ch]:
1566         * buffer.[Ch]:
1567         * bufferlist.[Ch]:
1568         * converter.[Ch]:
1569         * exporter.C:
1570         * paragraph.[Ch]:
1571         * paragraph_funcs.[Ch]:
1572         * paragraph_pimpl.[Ch]:
1573         * tabular.[Ch]: rename ascii to plaintext
1574         and LatexRunParams to OutputParams.
1575
1576 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1577
1578         * iterators.[Ch] (text): require bv argument
1579         * undo.C (recordUndo):
1580         * lyxfunc.C (dispatch):
1581         * bufferview_funcs.C (put_selection_at): adjust
1582
1583 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1584
1585         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1586
1587 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1588
1589         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1590         nestings
1591
1592 2003-11-04  André Pönitz  <poenitz@gmx.net>
1593
1594         * cursor.[Ch]: restructure
1595
1596         * BufferView.[Ch]:
1597         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1598
1599         * iterators.[Ch] (asCursor): remove
1600
1601         * lfuns.h: remove LFUN_INSET_EDIT
1602
1603         * lyxfunc.C:
1604         * tabular.C:
1605         * text.C:
1606         * text2.C:
1607         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1608
1609 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1610
1611         * lyxfind.[Ch]: complete overhaul
1612         * BufferView_pimpl.C:
1613         * lyxfunc.C: adjust
1614         * paragraph.[Ch] (insert): add
1615
1616 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1617
1618         * BufferView.[Ch]:
1619         * lyxtext.h:
1620         * text.C: remove dead spellcheck code
1621
1622 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1623
1624         * dispatchresult.h: add a val setter
1625
1626         * cursor.C (dispatch): use a tempvar for data_[i]
1627
1628 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1629
1630         * PosIterator.[Ch]: compile fix
1631
1632 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1633
1634         * text.C (cursorPar): deactivate the cursor cache
1635
1636 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1637
1638         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1639
1640 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1641
1642         * text3.C (dispatch): adjust for new DisptchResult semantics.
1643
1644         * lyxfunc.C (dispatch): handle update when return from
1645         Cursor::dispatch, adjust for new DispatchResult semantics.
1646
1647         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1648         DispatchResult(true) mean to not update. Add class functions for
1649         setting dispatched and update, as well as reading.
1650
1651         * cursor.C (dispatch): don't handle update here
1652
1653 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1654
1655         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1656         * trans_mgr.C: adjust
1657
1658         * paragraph_funcs.C (readParToken): exception safety
1659
1660         * lyxvc.h: store the vcs pointer in a scoped_ptr
1661         * lyxvc.C: adjust
1662
1663         * lyxsocket.C (serverCallback): exception safety
1664
1665         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1666
1667         * ispell.C (clone): make it return a auto_ptr
1668
1669         * factory.C (createInset): exception safety
1670         (readInset): exception safety
1671
1672         * bufferlist.C (newBuffer): exception safety
1673
1674         * Thesaurus.C (Thesaurus): use initialization for aik_
1675
1676         * MenuBackend.C (expandToc): exception safety.
1677
1678 2003-11-03  André Pönitz  <poenitz@gmx.net>
1679
1680         * buffer.C:
1681         * buffer.h:
1682         * bufferview_funcs.C: remove getInsetFromId()
1683
1684         * lyxcursor.[Ch]:
1685         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1686
1687         * lyxfunc.C:
1688         * text2.C:
1689         * text3.C: adjust
1690
1691 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1692
1693         * PosIterator.C (distance, advance): new
1694         * bufferview_funcs.[Ch] (put_selection_at): new
1695         * iterators.[Ch] (lockPath): new
1696
1697 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1698
1699         * iterators.[Ch] (asPosIterator): added
1700         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1701         * PosIterator.[Ch]: added
1702
1703 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1704
1705         * text3.C:
1706         * lyxfunc.C:
1707         * cursor.C (dispatch):
1708         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1709
1710         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1711         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1712         contructor, add a class function dispatched. Remove operator>=
1713
1714 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1715
1716         * debug.C: only use the default constructor for debugstream
1717         (lyxerr) here.
1718
1719         * main.C (main): include debug.h and setup the lyxerr streambuf
1720         here.
1721
1722 2003-10-31  José Matos  <jamatos@lyx.org>
1723
1724         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1725
1726         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1727         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1728         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1729         * paragraph_pimpl.C (simpleTeXSpecialC):
1730         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1731         add LatexRunParams argument.
1732
1733         * exporter.C (Export): change call accordingly.
1734
1735         * latexrunparams.h: add new member to take care of the other backends.
1736 2003-10-30  José Matos  <jamatos@lyx.org>
1737
1738         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1739         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1740         factorise code for paragraph output.
1741         * buffer.[Ch]:
1742         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1743         move functions.
1744
1745 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1746
1747         * text3.C (dispatch):
1748         * lyxfunc.C (dispatch):
1749         * cursor.C (dispatch):
1750         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1751
1752         * dispatchresult.h: make the dispatch_result_t ctor explicit
1753
1754 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1755
1756         * sgml.[Ch]:
1757         * buffer.C: small refactoring of docbook stuff
1758
1759 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1760
1761         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1762         meaning.
1763
1764 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1765
1766         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1767         operator dispatch_result_t, and operators for == != and >=
1768
1769         * cursor.C (dispatch): adjust for operator dispatch_result_t
1770         removal. comment out call to update
1771
1772         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1773
1774 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1775
1776         * text3.C:
1777         * text2.C:
1778         * text.C:
1779         * lyxtext.h:
1780         * lyxfunc.C:
1781         * cursor.C:
1782         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1783         (dispatch):
1784
1785         * dispatchresult.h: new file, DispatchResult broken out of
1786         insets/insetbase.h
1787
1788         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1789
1790 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1791
1792         * text.C (rowBreakPoint): put a hack inside #if 0
1793
1794 2003-10-28  André Pönitz  <poenitz@gmx.net>
1795
1796         * lyxtext.h:
1797         * metricsinfo.C:
1798         * paragraph_funcs.C:
1799         * rowpainter.C:
1800         * text.C:
1801         * text2.C: general cleanup (lots of small stuff)
1802
1803 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1804
1805         * text2.C (cursorEnd): simple fix to the "end key goes to one
1806         before the end on last row" bug
1807
1808 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1809
1810         * text.C (backspace): fix the "zombie characters"
1811
1812 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1813
1814         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1815
1816 2003-10-27  André Pönitz  <poenitz@gmx.net>
1817
1818         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1819
1820         * factory.C: handle new InsetPagebreak, InsetLine
1821
1822         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1823         and move handling into new InsetPagebreak, InsetLine
1824
1825         * BufferView_pimpl.C:
1826         * LyXAction.C:
1827         * ParagraphParameters.C:
1828         * ParameterStruct.h:
1829         * lyxfunc.C:
1830         * lyxtext.h:
1831         * paragraph.C:
1832         * paragraph.h:
1833         * paragraph_funcs.C:
1834         * paragraph_pimpl.C:
1835         * rowpainter.C:
1836         * text.C:
1837         * text2.C:
1838         * text3.C: adjust
1839
1840 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1841
1842         * text.C:
1843         * lyxrow_funcs.[Ch]:
1844         * Bidi.C:
1845         * paragraph.C:
1846         * lyxtext.h:
1847         * rowpainter.C:
1848         * text2.C:
1849         * text3.C: remove lastPos uses in favour of Row::endpos
1850
1851 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1852
1853         * undo.C (performUndoOrRedo): fix two crashes by setting a
1854         cursor by hand and reordering some calls. Use bv->lockInset instead
1855         of inset->edit because the latter loses cursor information
1856
1857 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1858
1859         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1860         by Martin
1861         (rowBreakPoint): fix width. change point to point + 1.
1862         Add a missing check.
1863
1864 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1865
1866         * MenuBackend.C:
1867         * lyxfunc.C: fix (at least partly) the problems
1868         with the Nav menu and headers inside branch insets
1869         reported by Kayvan
1870
1871 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1872
1873         * paragraph.C (getChar): add strong asserts
1874
1875         * lyxrow_funcs.C (lastPos): remove hideous hack
1876
1877         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1878         (fill): adjust to that (avoid an infinite loop)
1879
1880 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1881
1882         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1883
1884 2003-10-23  André Pönitz  <poenitz@gmx.net>
1885
1886         * RowList_fwd.h: change list<> to vector<> to gain speed
1887         after suggestion from Alfredo
1888
1889 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1890
1891         * lyxtext.h: move the bidi stuff from here...
1892         * text.C: and here
1893         * text2.C: and here
1894         * Bidi.[Ch]: ... to here
1895
1896 2003-10-23  André Pönitz  <poenitz@gmx.net>
1897
1898         * lyxtext.h:
1899         * text.C (isLastRow, isFirstRow): new functions
1900
1901         * paragraph.h: new width cache member
1902
1903         * rowpainter.C: replace RowList::iterator with Row & where possible
1904
1905         * lyxfunc.C: replace several view()->text with a single call
1906
1907         * toc.C: fix 'unused' warning
1908
1909 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1910
1911         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1912         when woring with stream::pos_type
1913         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1914
1915 2003-10-22  André Pönitz  <poenitz@gmx.net>
1916
1917         * lyxtext.h:
1918         * text.C: use Row & instead of RowList::iterator
1919
1920         * lyxrow.h: rename end() to endpos()
1921
1922         * rowpainter.C:
1923         * text.C:
1924         * text2.C: adjust
1925
1926 2003-10-22  Angus Leeming  <leeming@lyx.org>
1927
1928         * buffer.[Ch] (fully_loaded): new member function, returning true
1929         only when the file has been loaded fully.
1930         Used to prevent the premature generation of previews and by the
1931         citation inset to prevent computation of the natbib-style label.
1932
1933         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1934         templates are all set up.
1935
1936         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1937
1938 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1939
1940         * text.C: fixed an "oops" in the "is a bit silly"
1941         bug fix
1942
1943 2003-10-21  André Pönitz  <poenitz@gmx.net>
1944
1945         * FuncStatus.[Ch]: small stuff, whitespace
1946
1947         * lyxfont.[Ch]: operator<<() for debug reasons
1948
1949         * lyxfunc.C:
1950         * lyxrow_funcs.C:
1951         * lyxtext.h: whitespace, spelling
1952
1953         * paragraph.C: naming of variables
1954
1955         * text.C:
1956         * text2.C: small stuff
1957
1958
1959 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1960
1961         * text.C: (1) finish off the inset display() work;
1962         (2) fix the "is a bit silly" bug (accessing char
1963         past end of par).
1964
1965 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1966
1967         * text.C: re-introduce display() for insets, fixing the
1968         various bugs (stretch of line above, math inset
1969         positioning, ...)
1970
1971 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1972
1973         * text.C (rightMargin): remove spurious semicolon
1974
1975         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1976         1415)
1977
1978 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1979
1980         * text3.C: fix one crash due to wrong cursor def
1981
1982 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1983
1984         * vc-backend.C (scanMaster): make the regex static
1985
1986         * LaTeX.C (scanAuxFile): make the regexs static
1987
1988         * text3.C (doInsertInset, dispatch, dispatch):
1989         * text2.C (cursorUp, cursorDown):
1990         * text.C (selectNextWordToSpellcheck):
1991         * BufferView_pimpl.C (dispatch):
1992         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1993
1994 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1995
1996         * lyxsocket.C: include <cerrno>
1997
1998 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1999
2000         * lyxfunc.C (dispatch): remove textcache stuff
2001
2002         * bufferlist.C (release): remove textcache stuff
2003         (closeAll): ditto
2004
2005         * TextCache.C: delete file
2006         * TextCache.h: delete file
2007
2008         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2009
2010         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2011         delete of the bv_->text.
2012         (resizeCurrentBuffer): remove texcache stuff
2013         (workAreaResize): ditto
2014
2015 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2016
2017         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2018         action.
2019
2020 2003-10-16  André Pönitz  <poenitz@gmx.net>
2021
2022         * lyxrow.[Ch]:
2023         * paragraph.h:
2024         * rowpainter.C:
2025         * text.C:
2026         * text2.C:
2027         * text3.C: speed up by storing y positions per paragraph plus per-row
2028         offset instead of having a 'full' y position in the row.
2029
2030 2003-10-15  André Pönitz  <poenitz@gmx.net>
2031
2032         * iterators.[Ch]:
2033         * iterators.[Ch]:
2034         * undo.[Ch]: make undo aware of inner insets
2035
2036 2003-10-14  Angus Leeming  <leeming@lyx.org>
2037
2038         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2039         static member functions LyX::ref() and LyX::cref.
2040         (lastfiles): new accessor functions for the new lastfiles_ member var.
2041         (addLyXView, views_): add a new LyXView to the list of views_.
2042         (updateInset): loop over all LyXViews to call their own updateInset
2043         member function, returning a pointer to the Buffer owning the inset.
2044
2045         * BufferView_pimpl.C (loadLyXFile):
2046         * MenuBackend.C (expandLastfiles):
2047         * bufferlist.C (MenuWrite, QuitLyX):
2048         lastfiles is no longer a global variable.
2049         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2050
2051         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2052         static function. Access through LyX::cref().emergencyCleanup().
2053
2054 2003-10-14  André Pönitz  <poenitz@gmx.net>
2055
2056         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2057
2058         * undo.[Ch]: restoring part of 'undo in insets'
2059
2060         * Makefile.am:
2061         * undo_funcs.[Ch]: merge with undo.[Ch]
2062
2063         * tabular.C: small cleansing stuff
2064
2065 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2066
2067         * paragraph_funcs.C (readParToken): report unknown insets as error
2068         boxes. Use the outer paragraph as location (also for unknown
2069         tokens).
2070
2071         * factory.C (readInset): do not abort on reading an unknown inset.
2072         Eat it and return 0.
2073
2074 2003-10-13  Angus Leeming  <leeming@lyx.org>
2075
2076         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2077
2078         * lyxrc.C: displayTranslator is now a function,
2079         declared in GraphicsTypes.h.
2080
2081 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2082
2083         * format.C: new placeholder $$a to pass the socket address.
2084
2085         * bufferlist.[Ch]: new function getBufferFromTmp.
2086
2087         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2088           files in the temporary dir.
2089
2090 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2091
2092         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2093
2094         * Makefile.am: add lyxsocket.[Ch].
2095
2096         * lyx_main.C (error_handler): handle SIGPIPE.
2097
2098 2003-10-13  André Pönitz  <poenitz@gmx.net>
2099
2100         * BufferView_pimpl.C:
2101         * lyxtext.h:
2102         * text.C:
2103         * text2.C:
2104         * text3.C:
2105         * undo_funcs.[Ch]: use paroffset_type instead of
2106           ParagraphList::iterators to prevent multiple conversion
2107           (and get a more robust interface)
2108
2109 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2110
2111         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2112         * lyxtext.h: ditto
2113         * text3.C (dispatch): ditto
2114
2115 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2116
2117         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2118         move the onlyfile, use onlyfile instead of foundfile in a couple
2119         of places.
2120
2121         * DepTable.C (update): flush the error stream a bit more
2122
2123 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2124
2125         * lyxserver.C (callback): adjust
2126
2127         * lyxfunc.C (getStatus): add a missing brace in commented code
2128         (ensureBufferClean): reindent
2129         (dispatch): delete version taking a string
2130
2131 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2132
2133         * LaTeX.C (deplog): move found file handlig from here...
2134         (handleFoundFile): .. to new function here.
2135         (deplog): make sure to discover several files mentioned on the
2136         same log line.
2137
2138 2003-10-10  André Pönitz  <poenitz@gmx.net>
2139
2140         * lyxfunc.C:
2141         * lyxtext.h:
2142         * tabular.C:
2143         * text.C:
2144         * text2.C:
2145         * text3.C: fix some of the tabular crashes
2146
2147 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2148
2149         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2150
2151         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2152
2153 2003-10-09  André Pönitz  <poenitz@gmx.net>
2154
2155         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2156
2157         * BufferView.C:
2158         * BufferView_pimpl.C:
2159         * bufferview_funcs.C:
2160         * lyx_cb.C:
2161         * lyxcursor.C:
2162         * lyxfind.C:
2163         * lyxfunc.C:
2164         * lyxtext.h:
2165         * text.C:
2166         * text2.C:
2167         * text3.C:
2168         * text_funcs.[Ch]:
2169         * textcursor.[Ch]:
2170         * undo_funcs.C: adjust
2171
2172 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2173
2174         * text2.C (incrementItemDepth): new function, use a backtracking
2175         algorithm to discover the correct item depth.
2176         (resetEnumCounterIfNeeded): new function, use a backtracking
2177         algorithm to discover if counter reset is needed.
2178         (setCounter): use them. Simplify a bit. Add different labels for
2179         different item depths for itemize.
2180
2181         * paragraph.C (Paragraph): remove initialization of enumdepth
2182         (operator=): ditto
2183
2184         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2185         enumerate and itemize. Change the type of itemdepth to signed char.
2186
2187 2003-10-08  André Pönitz  <poenitz@gmx.net>
2188
2189         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2190           thing assignable.
2191         * text.C:
2192         * text2.C: adjust
2193
2194         * tabular.[Ch]: fix crash after 'row-insert'
2195
2196 2003-10-08  Angus Leeming  <leeming@lyx.org>
2197
2198         Fix doxygen warnings.
2199
2200         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2201         Remove CutAndPaste:: prefix from header file declaration.
2202
2203         * LColor.h (fill): remove LColor:: prefix from declaration.
2204
2205         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2206         use lyx::depth_type rather than Paragraph::depth_type so that
2207         header file and .C file match.
2208
2209         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2210
2211         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2212         * aspell.C: \file aspell_local.C -> \file aspell.C
2213         * gettext.C: \file gettext.C -> \file src/gettext.C
2214         * gettext.h: \file gettext.h -> \file src/gettext.h
2215         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2216         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2217         * text.C: \file text.C -> \file src/text.C
2218
2219         * toc.C: move comment so that doxygen is not confused.
2220
2221 2003-10-07  Angus Leeming  <leeming@lyx.org>
2222
2223         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2224
2225 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2226
2227         * aspell.C:
2228         * aspell_local.h: add forgotten std::string's.
2229
2230 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2231
2232         * LaTeXFeatures.C:
2233         * LyXAction.C:
2234         * factory.C:
2235         * lfuns.h:
2236         * lyxfunc.C:
2237         * text3.C: The Box patch. Fancybox support, minipage, parbox
2238
2239 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2240
2241         * CutAndPaste.h:
2242         * DepTable.h:
2243         * FloatList.h:
2244         * LaTeXFeatures.h:
2245         * ParagraphParameters.h:
2246         * TextCache.h:
2247         * Thesaurus.h:
2248         * bufferlist.h:
2249         * exporter.h:
2250         * importer.h:
2251         * lastfiles.h:
2252         * lyxfind.h:
2253         * lyxfont.h:
2254         * lyxlex.h:
2255         * lyxtextclasslist.h:
2256         * messages.h:
2257         * paragraph.h:
2258         * paragraph_pimpl.C:
2259         * textcursor.h: add <string> and other small fixes to make Lars'
2260         std::string patch compile with STLport.
2261
2262 2003-10-06  Angus Leeming  <leeming@lyx.org>
2263
2264         * LColor.h: Add missing #include <string>.
2265
2266 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2267
2268         * All most all file in all subdirs: Make <string> be the prefered
2269         way of getting to std::string, add using declarations.
2270
2271 2003-10-06  André Pönitz  <poenitz@gmx.net>
2272
2273         * metricsinfo.C: initialize LyXFont before changing attribute.
2274         (fixes the 'math in \emph is upright' bug)
2275
2276 2003-10-06  André Pönitz  <poenitz@gmx.net>
2277
2278         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2279
2280 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2281
2282         * graph.C:
2283         * paragraph_pimpl.C: Small fixes to build using STLport
2284
2285 2003-10-02  André Pönitz  <poenitz@gmx.net>
2286
2287         * lyxfunc.C:
2288         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2289
2290 2003-10-01  André Pönitz  <poenitz@gmx.net>
2291
2292         * factory.C: assert early
2293
2294 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2295
2296         * lyx_main.C: remove the global debug object
2297
2298         * debug.h: adjust for new debugstream
2299
2300         * debug.C: adjust for new debugstream and keep the global debug
2301         object here.
2302
2303 2003-09-22  Angus Leeming  <leeming@lyx.org>
2304
2305         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2306         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2307         an incomplete class LyXFont.
2308
2309 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2310
2311         * factory.C: bug fix in branches
2312
2313 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2314
2315         * lyxfunc.C (processKeySym): adjust
2316         (dispatch): adjust
2317         (dispatch): change arg name from ev to func, adjust
2318         (sendDispatchMessage): ditto
2319
2320         * lyx_main.C (defaultKeyBindings): adjust keybindings
2321         (deadKeyBindings): ditto
2322
2323         * kbsequence.C (addkey): return a FuncRequest
2324
2325         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2326
2327         * kbmap.C (bind): take a FuncRequest as arg, adjust
2328         (read): adjust
2329         (lookup): adjust
2330         (defkey): change to take a FuncRequest as arg, adjust
2331         (findbinding): take a FuncRequest as arg, adjust.
2332
2333         * funcrequest.h (operator=): added
2334
2335         * funcrequest.C (FuncRequest): default kb_action changed from
2336         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2337
2338         * buffer.C (dispatch): simplify
2339         (dispatch): adjust to take a FuncRequest as arg, adjust
2340
2341         * boost.C (assertion_failed): change assertion message slightly
2342
2343         * ToolbarBackend.C (read): simplify
2344
2345         * MenuBackend.C (binding): adjust call to findbinding, add a
2346         message if no binding is found.
2347         (read): simplify
2348         (expandToc): correct by adding a empty FuncRequest
2349
2350         * LyXAction.C: include <boost/assert.hpp>
2351         (isPseudoAction): delete function
2352         (LookupFunc): change name to...
2353         (lookupFunc): this. change return type to FuncRequest.
2354         (getActionName): take kb_action as arg, simplify
2355         (funcHasFlag): add an assert, simplify.
2356
2357 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2358
2359         * toc.C (action): return a FuncRequest, simplify
2360
2361         * lyxfunc.C (processKeySym): adjust
2362         (getStatus): delete version that takes an int.
2363         (getStatus): adjust
2364         (dispatch): delete version that takes action as int
2365         (dispatch): adjust
2366         (sendDispatchMessage): simplify and adjust
2367
2368         * funcrequest.C (getArg): take unsigned int as arg
2369
2370         * ToolbarBackend.C (read): adjust
2371         (add): delete version that takes func as a string.
2372         (getIton): take a FuncRequest as arg
2373
2374         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2375         action.
2376
2377         * MenuBackend.C (MenuItem): add a new construct that only takes a
2378         Kind, simplify the constructor use for submenus.
2379         (add): adjust
2380         (expandLastfiles): adjust
2381         (expandDocuments): adjust
2382         (expandFormats): adjust
2383         (expandFloatListInsert): adjust
2384         (expandFloatInsert): adjust
2385         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2386
2387         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2388         Remove class variables lyx_pseudo_map and lyx_arg_map
2389
2390         * LyXAction.C (searchActionArg): delete function
2391         (getPseudoAction): delete function
2392         (retrieveActionArg): delete function
2393         (LookupFunc): make it return kb_action, simplify.
2394         (getActionName): simplify
2395
2396         * factory.C (createInset): fix new bug
2397
2398 2003-09-19  Angus Leeming  <leeming@lyx.org>
2399
2400         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2401         masterFilename_ parameter in the include inset.
2402
2403         * factory.C (createInset): changes due to the changes to InsetInclude.
2404
2405 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2406
2407         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2408
2409 2003-09-18  Angus Leeming  <leeming@lyx.org>
2410
2411         * buffer.C:
2412         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2413         Inset::fillWithBibKeys.
2414         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2415
2416 2003-09-18  Angus Leeming  <leeming@lyx.org>
2417
2418         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2419         variables.
2420         (ctor): pass and store a 'Buffer const &'
2421         (buffer): new member function.
2422
2423         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2424         '*this' to the LaTeXFeatures ctor.
2425
2426 2003-09-18  Angus Leeming  <leeming@lyx.org>
2427
2428         * LColor.h:
2429         * lyxfont.C:
2430         * lyxfont.h:
2431         * lyxtext.h:
2432         * text.C: rename EnumLColor as LColor_color.
2433
2434 2003-09-18  Angus Leeming  <leeming@lyx.org>
2435
2436         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2437         remove #include "insets/insetbase.h" from cursor.h.
2438
2439 2003-09-18  Angus Leeming  <leeming@lyx.org>
2440
2441         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2442         InsetOld_code to remove #include "inset.h".
2443
2444         * iterators.C: add #include "insets/inset.h"
2445
2446 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2447
2448         * BufferView.C: remove more locking stuff that apparently doesn't
2449         do anything sensible.
2450
2451 2003-09-16  André Pönitz  <poenitz@gmx.net>
2452
2453         * paragraph.[Ch]:
2454         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2455           performance boost.
2456
2457 2003-09-16  Angus Leeming  <leeming@lyx.org>
2458
2459         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2460
2461         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2462         arg/return type.
2463
2464         * paragraph.h: remove #include "lyxfont.h". Forward declare
2465         LyXFont_size.
2466
2467 2003-09-16  Angus Leeming  <leeming@lyx.org>
2468
2469         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2470         of support/textutils.h.
2471         (isWord): move the contents of support/textutils.h's IsWordChar here.
2472
2473         * buffer.C:
2474         * lyxfind.C:
2475         * rowpainter.C:
2476         * text.C:
2477         * text2.C: add #include "paragraph.h".
2478
2479         * rowpainter.C:
2480         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2481
2482 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2483
2484         * main.C:
2485         * lyx_main.C:
2486         * lyx_cb.C:
2487         * buffer.C:
2488         * LaTeX.C: use namespace alias for lyx::support::os
2489
2490 2003-09-16  Angus Leeming  <leeming@lyx.org>
2491
2492         * bufferparams.C:
2493         * bufferview_funcs.C:
2494         * factory.C:
2495         * lyxfunc.C:
2496         * paragraph_pimpl.C:
2497         * rowpainter.C:
2498         * text.C: add #include "LColor.h".
2499
2500 2003-09-16  Angus Leeming  <leeming@lyx.org>
2501
2502         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2503         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2504         return LyXFont &.
2505         Store the FontBits::color variable as an int rather than as an
2506         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2507         file.
2508
2509         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2510         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2511         string calls together.
2512
2513         * lyxrc.C: add #include "LColor.h".
2514
2515 2003-09-15  Angus Leeming  <leeming@lyx.org>
2516
2517         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2518         a cow_ptr.
2519
2520 2003-09-15  Angus Leeming  <leeming@lyx.org>
2521
2522         * LColor.h: add an EnumLColor wrapper for LColor::color.
2523
2524         * lyxfont.[Ch] (color, setColor, realColor):
2525         * lyxtext.h, text.C (backgroundColor):
2526         pass EnumLColor args to/from the functions, rather than LColor::color
2527         ones.
2528
2529         * lyxfont.h:
2530         * lyxtext.h: forward declare EnumLColor.
2531
2532         * lyx_main.C: add #include "LColor.h".
2533
2534 2003-09-15  Angus Leeming  <leeming@lyx.org>
2535
2536         * .cvsignore: add lyx-gtk.
2537
2538 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2539
2540         * Chktex.C
2541         * LaTeX.C
2542         * LaTeXFeatures.C
2543         * ParagraphParameters.C
2544         * Spacing.C
2545         * buffer.C
2546         * bufferparams.C
2547         * bufferview_funcs.C
2548         * chset.C
2549         * counters.C
2550         * funcrequest.C
2551         * lyxfont.C
2552         * lyxgluelength.C
2553         * lyxlength.C
2554         * paragraph.C
2555         * paragraph_funcs.C
2556         * text3.C
2557         * vc-backend.C: remove usage of STRCONV
2558
2559 2003-09-15  Angus Leeming  <leeming@lyx.org>
2560
2561         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2562         explicitly define the color passed to the painter.
2563
2564 2003-09-15  Angus Leeming  <leeming@lyx.org>
2565
2566         * bufferparams.C (BufferParams): reorder member initializers to avoid
2567         compiler warning.
2568
2569 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2570
2571         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2572         * text.C (updateRowPositions): remove an unusual nop
2573
2574 2003-09-12  André Pönitz  <poenitz@gmx.net>
2575
2576         * BufferView_pimpl.C:
2577         * Bullet.C:
2578         * layout.h:
2579         * lyxfunc.C:
2580         * lyxlayout.[Ch]:
2581         * lyxtextclass.C:
2582         * rowpainter.C:
2583         * text.C:
2584         * text2.C:
2585         * Counters.[Ch]: finish the 'automatic counters' job
2586
2587 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2588
2589         * aspell.C: include <boost/assert.cpp> (compile fix)
2590
2591 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2592
2593         * boost.C (assertion_failed): use lyx::support::abort instead of
2594         assert.
2595
2596 2003-09-10  Angus Leeming  <leeming@lyx.org>
2597
2598         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2599         with their _fwd progeny.
2600
2601 2003-09-09  Angus Leeming  <leeming@lyx.org>
2602
2603         134 files throughtout the source tree: replace 'using namespace abc;'
2604         directives with the appropriate 'using abc::xyz;' declarations.
2605
2606 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2607
2608         * boost.C (emergencyCleanup): moved here from LAssert.c
2609         (assertion_failed): new function, called by BOOST_ASSERT
2610
2611         * several files: change Assert to BOOST_ASSERT
2612
2613 2003-09-09  Angus Leeming  <leeming@lyx.org>
2614
2615         * buffer.[Ch]: Add an Impl class and move Buffer's member
2616         variables into it. As a result move several header files out of
2617         buffer.h.
2618
2619         Add header files to lots of .C files all over the tree as a result.
2620
2621 2003-09-09  Angus Leeming  <leeming@lyx.org>
2622
2623         * buffer.[Ch]: make Buffer's member variables private. Add
2624         accessor functions.
2625
2626         Lots of changes all over the tree as a result.
2627
2628 2003-09-08  Angus Leeming  <leeming@lyx.org>
2629
2630         * graph.C: #include <config.h>.
2631
2632 2003-09-08  Angus Leeming  <leeming@lyx.org>
2633
2634         * BranchList.C:
2635         * BufferView.C:
2636         * BufferView_pimpl.C:
2637         * CutAndPaste.C:
2638         * DepTable.C:
2639         * LaTeX.C:
2640         * LaTeXFeatures.C:
2641         * LyXAction.C:
2642         * MenuBackend.C:
2643         * TextCache.C:
2644         * aspell.C:
2645         * buffer.C:
2646         * bufferlist.C:
2647         * changes.C:
2648         * chset.C:
2649         * converter.C:
2650         * counters.C:
2651         * debug.C:
2652         * graph.C:
2653         * ispell.C:
2654         * lyx_cb.C:
2655         * lyxfind.C:
2656         * lyxfunc.C:
2657         * lyxlex_pimpl.C:
2658         * lyxrc.C:
2659         * lyxrow.C:
2660         * paragraph.C:
2661         * rowpainter.C:
2662         * texrow.C:
2663         * text.C:
2664         * text2.C:
2665         * toc.C: remove redundant using directives.
2666
2667 2003-09-07  Angus Leeming  <leeming@lyx.org>
2668
2669         * LaTeXFeatures.h: remove #include "support/types.h".
2670         * ToolbarBackend.h: remove #include <algorithm>.
2671         * changes.h: remove #include <ctime>.
2672         * debug.h: remove #include <iosfwd>.
2673         * graph.h: remove #include "support/std_string.h".
2674         * lyx_main.h: remove #include <csignal>.
2675         * lyxlex_pimpl.h: remove #include <fstream>.
2676         * sgml.h: remove #include <algorithm>, <utility>.
2677         * toc.h: remove #include "support/std_ostream.h".
2678         Add #include <iosfwd>.
2679
2680 2003-09-07  Angus Leeming  <leeming@lyx.org>
2681
2682         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2683
2684         * converter.h: forward declare LatexRunParams.
2685         * encoding.h: remove #include "lyxrc.h".
2686         * lyxtext.h: remove #include "LColor.h".
2687         * lyxtextclass.h: remove #include "support/types.h".
2688         * trans.h: remove #include "tex-accent.h".
2689         * trans_mgr.h: remove #include "tex-accent.h".
2690         * insets/inset.h: remove #include "support/types.h", <vector>.
2691         * insets/insetcollapsable.h: remove #include "LColor.h".
2692         * insets/insetinclude.h: remove #include "dimension.h".
2693         * insets/insetlatexaccent.h: remove #include "dimension.h".
2694         * insets/insetoptarg.h:: remove #include "insettext.h".
2695         * insets/insettext.h: remove #include "dimension.h",
2696         <boost/shared_ptr.hpp>
2697
2698         * insets/renderers.h: add #include "dimension.h".
2699         * insets/updatableinset.h: add #include "support/types.h".
2700
2701         * many .C files: Associated changes.
2702
2703 2003-09-06  Angus Leeming  <leeming@lyx.org>
2704
2705         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2706         one, inside testInvariant.
2707
2708         * PrinterParams.C: new file.
2709         * PrinterParams.[Ch]: move the function bodies out of line.
2710
2711 2003-09-06  Angus Leeming  <leeming@lyx.org>
2712
2713         * ParagraphParameters.h: forward declare ParameterStruct rather than
2714         including its header file.
2715         (depth): moved out-of-line.
2716
2717 2003-09-06  Angus Leeming  <leeming@lyx.org>
2718
2719         * BufferView_pimpl.h:
2720         * kbmap.h:
2721         * kbsequence.h:
2722         * lyxfunc.h: forward declare LyXKeySym rather than
2723         #include "frontends/LyXKeySym.h".
2724
2725         * BufferView_pimpl.C:
2726         * kbmap.C:
2727         * kbsequence.C:
2728         * lyxfunc.C: associated changes.
2729
2730 2003-09-06  Angus Leeming  <leeming@lyx.org>
2731
2732         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2733         As a result, can remove the #include "insets/inset.h" from BufferView.h
2734
2735 2003-09-06  Angus Leeming  <leeming@lyx.org>
2736
2737         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2738         As a result, can remove the #include "insets/inset.h" from BufferView.h
2739
2740 2003-09-06  Angus Leeming  <leeming@lyx.org>
2741
2742         * buffer_funcs.C:
2743         * buffer.h:
2744         * bufferlist.C:
2745         * BufferView.C:
2746         * bufferview_funcs.C:
2747         * BufferView_pimpl.C:
2748         * CutAndPaste.C:
2749         * lyx_cb.C:
2750         * lyxfunc.C:
2751         * paragraph.h:
2752         * ParagraphParameters.C:
2753         * tabular.C:
2754         * text3.C:
2755         * toc.C:
2756         * undo_funcs.C:
2757         * frontends/controllers/ControlDocument.C:
2758         * insets/insetcaption.C: rearrange the #includes into some sort of
2759         coherent order.
2760
2761         * buffer.h: remove #includes ErrorList.h, undo.h
2762
2763 2003-09-06  Angus Leeming  <leeming@lyx.org>
2764
2765         * support/types.h: add a 'depth_type' typedef, used to store the
2766         nesting depth of a paragraph.
2767
2768         * paragraph.h:
2769         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2770         defining explicitly.
2771
2772         * buffer.h:
2773         * paragraph_funcs.h:
2774         * ParagraphParameters.h:
2775         * sgml.h: use lyx::depth_type rather than Paragraph or
2776         ParameterStruct's depth_type.
2777
2778         * buffer.h
2779         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2780
2781         * BufferView.C:
2782         * BufferView_pimpl.C:
2783         * CutAndPaste.C:
2784         * ParagraphParameters.C:
2785         * buffer_funcs.C:
2786         * bufferlist.C:
2787         * bufferview_funcs.C:
2788         * lyx_cb.C:
2789         * lyxfunc.C:
2790         * tabular.C:
2791         * text3.C:
2792         * toc.C:
2793         * undo_funcs.C:
2794         * frontends/LyXView.C:
2795         * frontends/controllers/ControlDocument.C:
2796         * frontends/controllers/ControlErrorList.C:
2797         * insets/insetbibitem.C:
2798         * insets/insetbranch.C:
2799         * insets/insetcaption.C:
2800         * insets/insetcollapsable.C:
2801         * insets/insetenv.C:
2802         * insets/insetert.C:
2803         * insets/insetfloat.C:
2804         * insets/insetfoot.C:
2805         * insets/insetfootlike.C:
2806         * insets/insetnewline.C:
2807         * insets/insetquotes.C:
2808         * insets/insettabular.C:
2809         * insets/insettext.C:
2810         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2811
2812         * frontends/controllers/ControlChanges.C: #include "changes.h".
2813
2814 2003-09-06  Angus Leeming  <leeming@lyx.org>
2815
2816         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2817         than #including paragraph.h.
2818
2819         * ParagraphList.h:
2820         * RowList.h: deleted. Superfluous.
2821
2822         * CutAndPaste.h:
2823         * iterators.h:
2824         * lyxcursor.h:
2825         * lyxtext.h:
2826         * text_funcs.h:
2827         * undo.h:
2828         * undo_funcs.h:
2829         * insets/inset.h:
2830         * insets/insettext.h: use ParagraphList_fwd.h rather than
2831         ParagraphList.h.
2832
2833         * paragraph.h: don't forward declare ParagraphList.
2834
2835         * buffer.h:
2836         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2837         rather than ParagraphList.h. paragraph.h is still needed for the
2838         Paragraph::depth_type parameters.
2839
2840         * textcursor.h: enable it to compile stand-alone in light of the
2841         above changes.
2842
2843         * bufferview_funcs.C:
2844         * iterators.C:
2845         * lyxfunc.C:
2846         * lyxrow_funcs.C:
2847         * paragraph.C:
2848         * rowpainter.C:
2849         * text.C:
2850         * text2.C:
2851         * text3.C:
2852         * text_funcs.C:
2853         * textcursor.C:
2854         * undo.C:
2855         * frontends/controllers/ControlParagraph.C:
2856         * frontends/controllers/ControlTabular.C:
2857         * insets/insetmarginal.C:
2858         * insets/insetminipage.C:
2859         * insets/insetnote.C:
2860         * insets/insetoptarg.C: add header files needed to compile again.
2861
2862 2003-09-06  Angus Leeming  <leeming@lyx.org>
2863
2864         * RowList_fwd.h: new file, forward-declaring Row rather than
2865         #including lyxrow.h.
2866
2867         * lyxrow_funcs.h:
2868         * lyxtext.h:
2869         * paragraph.h:
2870         * insets/insettext.h: use it instead of RowList.h
2871
2872         * bufferview_funcs.C:
2873         * lyxfunc.C:
2874         * lyxrow_funcs.C:
2875         * paragraph.C:
2876         * rowpainter.C:
2877         * text.C:
2878         * text2.C:
2879         * text3.C: #include "RowList.h".
2880
2881 2003-09-05  Angus Leeming  <leeming@lyx.org>
2882
2883         * factory.C (createInset):
2884         * vspace.C (c-tor): replace sscanf call with an istringstream.
2885         * ispell.C: re-add missing HP/UX headers.
2886         * lyxserver.C: re-add missing  os2 headers.
2887
2888 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2889
2890         * BranchList.C:
2891         * graph.C:
2892         * ispell.C:
2893         * lastfiles.C:
2894         * lyx_cb.C:
2895         * lyxserver.C:
2896         * texrow.C:
2897         * text3.C: re-add missing system headers, needed for 2.95.2.
2898
2899 2003-09-05  Angus Leeming  <leeming@lyx.org>
2900
2901         Changes most place everywhere due to the removal of using directives
2902         from support/std_sstream.h.
2903
2904 2003-09-05  Angus Leeming  <leeming@lyx.org>
2905
2906         Replace LString.h with support/std_string.h,
2907         Lsstream.h with support/std_sstream.h,
2908         support/LIstream.h with support/std_istream.h,
2909         support/LOstream.h with support/std_ostream.h.
2910
2911         Changes resulting throughout the tree.
2912
2913 2003-09-05  Angus Leeming  <leeming@lyx.org>
2914
2915         * sgml.h: ensure that the header file can be compiled stand-alone.
2916         * *.C: strip out redundant #includes. (320 in total.)
2917
2918 2003-09-04  Angus Leeming  <leeming@lyx.org>
2919
2920         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2921         here (from getPackages).
2922
2923         * debug.[Ch]: add a new EXTERNAL tag.
2924
2925 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2926
2927         * text2.C (cursorEnd): simplify
2928         (setCursor): adjust
2929         (getColumnNearX): adjust
2930
2931         * text.C (computeBidiTables): adjust
2932         (fill): adjust
2933
2934         * rowpainter.C (paintChars): adjust
2935         (paintSelection): adjust
2936         (paintChangeBar): adjust
2937         (paintText): adjust
2938
2939         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2940         lastPos instead.
2941         (numberOfSeparators): adjust
2942
2943 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2944
2945         * LyXAction.C:
2946         * box.[Ch]:
2947         * lfuns.h:
2948         * lyxfunc.C:
2949         * text3.C: Restricts the mouse click functionality
2950         of insets like bibtex, include, toc and floatlist to the visible
2951         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2952         up the dialogs. Cursor has to be in front of the inset (i.e.
2953         start of row) for this to function.
2954
2955 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2956
2957         * bufferview_funcs.C (currentState): output row information
2958
2959 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2960
2961         * bufferview_funcs.C (currentState): output paragraph position
2962
2963 2003-09-04  Angus Leeming  <leeming@lyx.org>
2964
2965         * FloatList.h: move out #include "Floating.h".
2966         * LaTeX.h: move out #include "DepTable.h".
2967         * LyXAction.h: move out #include "funcrequest.h".
2968         * buffer.h: move out #include "author.h", "iterators.h".
2969         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2970         * lyx_main.h: move out #include "errorlist.h".
2971         * lyxfunc.h: move out #include "FuncStatus.h".
2972         * lyxtext: move out #include "lyxcursor.h".
2973         * paragraph_pimpl.h: move out #include "counters.h".
2974
2975 2003-09-03  Angus Leeming  <leeming@lyx.org>
2976
2977         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2978         preamble_snippets list, enabling us to add snippets to the preamble
2979         only if the snippet was not there already.
2980
2981 2003-09-04  Angus Leeming  <leeming@lyx.org>
2982
2983         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2984
2985 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2986
2987         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2988         update
2989
2990 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2991
2992         * BranchList.C: point fix, earlier forgotten
2993
2994 2003-09-02  Angus Leeming  <leeming@lyx.org>
2995
2996         * box.C (contains): renamed from 'contained' after a fantastic
2997         amount of hot air.
2998
2999 2003-09-02  John Levon  <levon@movementarian.org>
3000
3001         * BufferView.C:
3002         * lyxcursor.h:
3003         * lyxcursor.C:
3004         * lyxfunc.C:
3005         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3006
3007 2003-09-02  John Levon  <levon@movementarian.org>
3008
3009         * text2.C: simplification of cursorEnd(), including partial
3010         fix for bug 1376
3011
3012 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3013
3014         * buffer.C (readFile): add a space
3015
3016 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3017
3018         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3019
3020 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3021
3022         * buffer.C (readFile): new function, take a filename and a
3023         ParagraphList::iterator
3024         (readFile): adjust
3025         (readFile): adjust, make it private. don't use setStream, make
3026         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3027         always contain the filename.
3028
3029         * BufferView.C (insertLyXFile): simplify and make it work for
3030         gzipped files.
3031
3032 2003-08-30  John Levon  <levon@movementarian.org>
3033
3034         * Makefile.am: fix dist (from Kayvan)
3035
3036 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3037
3038         * most files: change to use const Buffer refs
3039
3040 2003-08-27  André Pönitz  <poenitz@gmx.net>
3041
3042         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3043         on top of ownerPar().
3044
3045 2003-08-27  John Levon  <levon@movementarian.org>
3046
3047         * funcrequest.C: properly initialise POD members
3048
3049 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3050
3051         * lyxtext.h (top_y): move top_y from here
3052         * text.C:
3053         * text2.C:
3054         * text3.C:
3055         * BufferView.[Ch]:
3056         * BufferView_pimpl.[Ch]: to here
3057         * frontends/screen.C:
3058         * insets/insettabular.C:
3059         * insets/insettext.C: adjust
3060         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3061
3062 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3063
3064         * BufferView.[Ch]:
3065         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3066
3067 2003-08-26  André Pönitz  <poenitz@gmx.net>
3068
3069         * paragraph_func.[Ch] (outerPar): new function
3070
3071         * paragraph.C:
3072         * paragraph_funcs.C:
3073         * paragraph_funcs.h:
3074         * paragraph_pimpl.C:
3075         * text2.C: remove Inset::par_owner
3076
3077 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3078
3079         * lyxrow_funcs.C:
3080         * lyxtext.h:
3081         * text.C:
3082         * text2.C: eliminates the needFullRow/display() stuff
3083         altogether, putting the logic in metrics/draw in the insets.
3084
3085 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3086
3087         * text2.C (redoParagraphInternal, redoParagraphs):
3088         * text.C (redoParagraph): add a call to updateRowPositions at the
3089         end of each 'metrics-like' call. Remove all others.
3090         (getRow): remove the 'y-computing' version.
3091         (getRowNearY): do not compute nor return the real y. Solve the
3092         'y < 0' problem and simplify.
3093
3094 2003-08-22  Angus Leeming  <leeming@lyx.org>
3095
3096         * *.[Ch]: clean-up of licence and author blurbs.
3097         Also move config.h out of a few .h files and into a few .C files.
3098
3099 2003-08-22  André Pönitz  <poenitz@gmx.net>
3100
3101         * lyxrow.[Ch]: add x_ and *fill_ members
3102
3103         * lyxtext.h:
3104         * text.C:
3105         * rowpainter.C:
3106         * text2.C: adjust/remove prepareToPrint() calls
3107
3108 2003-08-22  André Pönitz  <poenitz@gmx.net>
3109
3110         * lyxrow.[Ch]: add  end_ member
3111
3112         * lyxrow_funcs.C: use LyXRow::end_
3113
3114         * lyxtext.h (singleWidth): add LyXFont parameter
3115
3116         * rowpainter.C:
3117         * text2.C: adjust LyXText::singleWidth() calls
3118
3119         * text.C (redoParagraph): simplify row breaking logic
3120
3121
3122 2003-08-19  André Pönitz  <poenitz@gmx.net>
3123
3124         * funcrequest.C: initialize button_ member
3125
3126         * text3.C:
3127         * rowpainter.[Ch]: interface consolidation
3128
3129 2003-08-18  André Pönitz  <poenitz@gmx.net>
3130
3131         * BufferView.C:
3132         * BufferView_pimpl.C:
3133         * lyxfind.C:
3134         * paragraph_funcs.C:
3135         * rowpainter.C:
3136         * text3.C: remove LyXScreen::draw() and fitCursor calls
3137
3138         * BranchList.h: remove spurious semicolons
3139
3140         * MenuBackend.C: fix branchlist related crash
3141
3142 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3143
3144         * BranchList.[Ch]:
3145         * InsetList.[Ch]:
3146         * LColor.[Ch]:
3147         * LyXAction.C:
3148         * Makefile.am:
3149         * MenuBackend.[Ch]:
3150         * bufferparams.[Ch]:
3151         * factory.C:
3152         * lfuns.h:
3153         * lyxfunc.C:
3154         * text3.C: implements the 'branch inset'
3155         idea. This allows the output of various versions of a document
3156         from a single source version, selectively outputing or suppressing
3157         output of parts of the text.
3158         This implementation contains a 'branch list editor' in a separate
3159         tab of the document settings dialog. Branches are user definable
3160         and have a "display colour" to distinguish them on-screen.
3161
3162         ColorHandler was somewhat cleaned up.
3163         (1) make possible a dynamically growing LColor list by allowing
3164         the graphic context cache to grow along (vector);
3165         (2) eliminate an IMHO unnecessary step in colour allocation.
3166
3167 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3168
3169         * BufferView_pimpl.C: compile fix
3170
3171 2003-08-15  André Pönitz  <poenitz@gmx.net>
3172
3173         * rowpainter.C: remove extra metrics calls
3174
3175         * lyxtext.h: merge the two constructors into a single one,
3176           pass reference to owner's par list
3177
3178         * BufferView_pimpl.C:
3179         * text.C:
3180         * text2.C: adjust
3181
3182 2003-08-15  André Pönitz  <poenitz@gmx.net>
3183
3184         * lyxrow_funcs.[Ch]:
3185         * lyxtext.h:
3186         * paragraph.h:
3187         * paragraph_funcs.C:
3188         * rowpainter.C:
3189         * text.C:
3190         * text2.C:
3191         * text3.C:
3192         * text_funcs.C: split LyXText::rowlist_ into individual
3193         Paragraph::rows_ chunks
3194
3195         * BufferView.[Ch]:
3196         * BufferView_pimpl.[Ch]:
3197         * lyxfind.C:
3198         * lyxtext.h:
3199         * text3.C: remove toggleSelection()
3200
3201 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3202
3203         * bufferlist.C: beautify two alerts (shorter text of buttons)
3204         * buffer.C: Remove redundant ' ' from message
3205         * tabular.h:
3206         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3207         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3208         rename VALIGN_CENTER to VALIGN_MIDDLE
3209
3210 2003-08-11  André Pönitz  <poenitz@gmx.net>
3211
3212         * lyxtext.h (getPar):
3213         * text.C: new function
3214
3215 2003-08-11  André Pönitz  <poenitz@gmx.net>
3216
3217         * Makefile.am:
3218         * tracer.[Ch]: remove unneeded files
3219
3220         * InsetList.[Ch]: remove resizeInsetsLyXText()
3221
3222         * lyxtext.h:
3223         * text.C:
3224         * text2.C:
3225         * text3.C: merge insertParagraphs() and appendParagraph()
3226         remove breakAgain(), update()
3227
3228         * BufferView_pimpl.[Ch]:
3229         * bufferview_funcs.[Ch]:
3230         * lyxfunc.C:
3231         * paragraph.[Ch]:
3232         * rowpainter.C:
3233         * tabular.C: adjust after text & InsetList changes.
3234
3235 2003-08-08  André Pönitz  <poenitz@gmx.net>
3236
3237         * text.C (insertChar, backspace): replace rowlist fiddling
3238         with rebreak of full par
3239
3240         * lyxtext.h:
3241         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3242         checkParagraph, updateInset): removed
3243
3244 2003-08-07  André Pönitz  <poenitz@gmx.net>
3245
3246         * paragraph.C:
3247         * text3.C: merge some LFUN handlers, remove dead code
3248
3249 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3250
3251         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3252
3253 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3254
3255         * text2.C (DEPM): fix part of bug 1255 and 1256
3256
3257 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3258
3259         * BufferView_pimpl.C (workAreaDispatch): change to use
3260         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3261         that are no mouse related.
3262
3263 2003-08-05  André Pönitz  <poenitz@gmx.net>
3264
3265         * BufferView.[Ch]:
3266         * BufferView_pimpl.[Ch]:
3267         * bufferview_funcs.C:
3268         * text2.C:
3269         * text3.C: rip out "deep update"
3270
3271         * textcursor.[Ch] (last_sel_cursor): remove unused member
3272
3273 2003-08-04  André Pönitz  <poenitz@gmx.net>
3274
3275         * BufferView.[Ch]:
3276         * BufferView_pimpl.[Ch]:
3277         * ParagraphParameters.C:
3278         * bufferview_funcs.C:
3279         * lyx_cb.C:
3280         * lyxfind.C:
3281         * lyxfunc.C:
3282         * text.C:
3283         * text2.C:
3284         * text3.C: replace "complicated" BufferView::update(...) calls with
3285         simpler ones.
3286
3287         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3288
3289 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3290
3291         * Makefile.am (lyx_SOURCES): add paper.h
3292
3293 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3294
3295         * Makefile.am: move things around so that both lyx-qt and
3296         lyx-xforms can be built (according to --with-frontend). Then lyx
3297         is a symbolic link to lyx-[firstfrontend]
3298
3299 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3300
3301         * Always use std::endl with lyxerr
3302
3303 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3304
3305         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3306
3307 2003-08-01  André Pönitz  <poenitz@gmx.net>
3308
3309         * BufferView.[Ch]:
3310         * BufferView_pimpl.[Ch]:
3311         * lyxfunc.C:
3312         * text3.C: merge BufferView::repaint() and BufferView::update()
3313
3314 2003-08-01  José Matos  <jamatos@lyx.org>
3315
3316         * buffer.[Ch]: file_format is no longer a buffer data element.
3317
3318 2003-08-01  André Pönitz  <poenitz@gmx.net>
3319
3320         * BufferView.C:
3321         * lyxtext.h:
3322         * text.C:
3323         * text2.C: make redoParagraph more independent of current cursor
3324
3325         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3326         * text.C:
3327         * text2.C: remove unneeded members
3328
3329 2003-07-30  André Pönitz  <poenitz@gmx.net>
3330
3331         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3332
3333         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3334           create a single function...
3335
3336         * paragraph_funcs.C (moveItem): ... here.
3337
3338         * text.C:
3339           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3340
3341 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3342
3343         * LColor.[Ch]: Add comment and greyedout logical colors.
3344
3345 2003-07-30  André Pönitz  <poenitz@gmx.net>
3346
3347         * tabular.C: don't use Assert too heavily. This crashes where it
3348           shouldn't
3349
3350 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3351
3352         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3353         is disabled (bug 1232)
3354
3355 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3356
3357         * factory.C: limited 'arg' scope
3358
3359 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3360
3361         * factory.C: fixed Note submenu issues
3362
3363 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3364
3365         * factory.C: submenu for Note/Comment/Greyedout
3366
3367 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3368
3369         * lyx_main.C (LyX):
3370         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3371
3372 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3373
3374         * LaTeXFeatures.C:
3375         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3376         greyedout. Patch provided by Jürgen Spitzmüller.
3377
3378 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3379
3380         * kbmap.C (read): fix error message when reading bind files
3381
3382 2003-07-29  Angus Leeming  <leeming@lyx.org>
3383
3384         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3385         certainly does not do what it purports to do. I am doing it, and
3386         us, a favour by killing it.
3387
3388 2003-07-28  José Matos  <jamatos@lyx.org>
3389
3390         * buffer.C (readBody, do_writeFile):
3391         * paragraph.C(readParagraph): \end_document replaces \the_end.
3392
3393 2003-07-29  André Pönitz  <poenitz@gmx.net>
3394
3395         * BufferView.[Ch]:
3396         * BufferView_pimpl.[Ch]:
3397         * lyxfunc.C:
3398         * text2.C:
3399         * text3.C:
3400         * textcursor.[Ch]: remove toggleToggle & Co
3401
3402 2003-07-28  José Matos  <jamatos@fep.up.pt>
3403
3404         * buffer.C (readParagraph):
3405         * params_func (readParToken, readParagraph):
3406         * paragraph.C (write): \layout -> \begin_layout.
3407
3408 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3409
3410         * lyxlex_pimpl.C (setFile): clean up slightly.
3411
3412         * bufferparams.h: add compressed var
3413
3414         * buffer_funcs.C (readFile): adjust for LyXLex change
3415         (newFile): ditto + simplify
3416
3417         * buffer.C (writeFile): handle writing of compressed files
3418
3419         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3420         Check if the file is compressed and set a bufferparm if so.
3421
3422         * Makefile.am (lyx_LDADD): remove explicit -lz
3423
3424 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3425
3426         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3427         makeDocBookFile): put the real LyX version in the first line of
3428         the file
3429
3430         * version.h:
3431         * version.C.in: remove lyx_docversion
3432
3433         * tabular.C (write_attribute): add a template-based version to
3434         write enums properly
3435
3436 2003-07-28  André Pönitz  <poenitz@gmx.net>
3437
3438         * lyxtext.h:
3439         * text.C:
3440         * text2.C:
3441         * text3.C: use doubles again for x-coordinates. They are needed.
3442
3443 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3444
3445         * messages.C (getLocaleDir): use lyx_localedir()
3446
3447         * lyxlex_pimpl.C (setFile): compress stuff
3448
3449         * buffer.C (writeFile): add some compression stuff
3450         (do_writeFile): new func, dont call expliti close... will this
3451         breake anything?
3452
3453         * Makefile.am (lyx_LDADD): add -lz
3454
3455 2003-07-28  José Matos  <jamatos@fep.up.pt>
3456
3457         * buffer.C: increment file format.
3458         * paragraph_funcs (readParagraph, readParToken):
3459         * paragraph.C (readParagraph): add \end_layout.
3460
3461 2003-07-27  Angus Leeming  <leeming@lyx.org>
3462
3463         * Makefile.am: remove special casing for configure-time setting of
3464         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3465
3466         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3467         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3468
3469 2003-07-26  André Pönitz  <poenitz@gmx.net>
3470
3471         * paragraph_func.[Ch]:
3472         * paragraph.C (realizeFont): inline it whereever it is used
3473
3474         * rowpainter.C:
3475         * text.C:
3476         * text2.C:
3477         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3478
3479
3480 2003-07-26  André Pönitz  <poenitz@gmx.net>
3481
3482         *       lyxtext.h:
3483         * text.C:
3484         * text2.C: get rid of LyXText::need_break_row
3485
3486 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3487
3488         * toc.[Ch]: put namespace toc inside namespace lyx
3489
3490         * MenuBackend.C (expandToc2): adjust for lyx::toc
3491         (expandToc): ditto
3492
3493         * lyxfunc.C (dispatch): adjust for lyx::find
3494
3495         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3496         lyx::find instead. Reorganize a bit.
3497         (LyXReplace): rename to replace
3498         (LyXFind): rename to find
3499
3500         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3501         (dispatch): ditto
3502
3503 2003-07-26  André Pönitz  <poenitz@gmx.net>
3504
3505         * text.C (setHeightOfRow): restrict scope of temporary variable
3506
3507         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3508           code (never has been used?)
3509
3510 2003-07-27  Asger Alstrup  <alstrup@local>
3511
3512         * text.C (fill): Optimise algorithm to exploit that we can reuse
3513         the LyXFont for many characters.
3514         (setHeightOfRow): Same thing.
3515         (rowBreakPoint): Same thing.
3516
3517 2003-07-26  Asger Alstrup  <alstrup@local>
3518
3519         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3520
3521         * text.C (singleWidth): Spurious font copying in hot-spot
3522         singleWidth avoided. Reorder tests for arabic for efficiency.
3523
3524         * text.C (fill): handle empty paragraphs better.
3525
3526 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3527
3528         * ispell.C:
3529         * encoding.h: add includes
3530
3531         * lyxrc.C: remove reading of bind files
3532
3533         * lyx_main.C (init): setup bindings and menus only if we have a
3534         gui.
3535
3536         * kbmap.C (read): new method. Do the actual reading of bind
3537         files.
3538
3539         * converter.C (dvipdfm_options):
3540         * bufferparams.C:
3541         * lyxrc.C (read):
3542         (output): adapt PAPER_* enums.
3543
3544         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3545
3546         * bufferparams.h: remove paper-related enums from there
3547
3548         * paper.h: New file. A trivial header file to hold paper-related
3549         enums. It should later expand to contain many paper-related
3550         horrors access.
3551
3552         * lyxrc.C: declare extern displayTranslator
3553
3554 2003-07-27  José Matos  <jamatos@fep.up.pt>
3555
3556         * tabular.[Ch] (linuxdoc): add support for tables and figures
3557         (linuxdoc).
3558
3559 2003-07-27  José Matos  <jamatos@fep.up.pt>
3560
3561         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3562         consistency in both functions.
3563         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3564
3565 2003-07-26  Asger Alstrup  <alstrup@local>
3566
3567         * rowpainter.C (paintRows): Change algorithm to work directly on
3568         the insets rather than asking every character in the document
3569         whether its an inset.
3570
3571 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3572
3573         * buffer.C (openFileWrite): factorize some code
3574
3575 2003-07-26  Angus Leeming  <leeming@lyx.org>
3576
3577         * lyx_cb.C:
3578         * lyx_main.[Ch]: replace occurances of system_tempdir with
3579         os::getTmpDir().
3580
3581 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3582
3583         * rename Inset to InsetOld
3584
3585 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3586
3587         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3588         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3589         which I think is a bit clearer. EDIT is gone, since it was
3590         premature optimisation, and broken for mathed anyway.
3591         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3592         with cursor positioning in insets as well (math insets still do not
3593         work, but that's a different story anyway.) It mysteriously
3594         crashes sometimes with undo in the first paragraph, but I'm fairly
3595         confident that this is a compiler bug.
3596
3597 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3598
3599         * paragraph.C (Paragraph): adjust for new clone return type
3600         (operator==): ditto
3601         (copyIntoMinibuffer): ditto
3602
3603 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3604
3605         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3606         by not having a special case, and always doing a full rebreak of
3607         the document after undo.
3608
3609 2003-07-23  Angus Leeming  <leeming@lyx.org>
3610
3611         * factory.C (createInset): InsetExternal::setParams now takes a
3612         Buffer const * arg.
3613
3614 2003-07-23  Angus Leeming  <leeming@lyx.org>
3615
3616         * factory.C (createInset): changed interface to the external and
3617         graphics mailers' string2params functions.
3618
3619 2003-07-23  Angus Leeming  <leeming@lyx.org>
3620
3621         * factory.C (createInset): pass a
3622         Buffer const * parameter to InsetExternalMailer's string2params.
3623
3624 2003-07-22  John Levon  <levon@movementarian.org>
3625
3626         * Thesaurus.h: include the right aiksaurus header
3627
3628 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3629
3630         * MenuBackend.C (expand): check menu shortcuts unconditionally
3631
3632 2003-07-21  Angus Leeming  <leeming@lyx.org>
3633
3634         * factory.C (createInset): pass a
3635         buffer_path parameter to InsetGraphicsMailer's string2params.
3636
3637 2003-07-21  Angus Leeming  <leeming@lyx.org>
3638
3639         * BufferView_pimpl.C (buffer):
3640         * buffer.C (d-tor):
3641         * lyx_main.C (LyX):
3642         * lyxfunc.C (dispatch):
3643         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3644         rather than the grfx shortcut.
3645
3646 2003-07-21  André Pönitz  <poenitz@gmx.net>
3647
3648         * rowpainter.C: remove unused variables
3649
3650         * tabular_funcs.C:
3651         * tabular_funcs.h: move to tabular.C
3652         * Makefile.am: adjust
3653
3654         * tabular.[Ch]: basic optical cleaning
3655
3656         * author.h: pass references, not values
3657
3658 2003-07-18  André Pönitz  <poenitz@gmx.net>
3659
3660         * lyxtext.h:
3661         * metricsinfo.C:
3662         * metricsinfo.h:
3663         * rowpainter.C:
3664         * text.C:
3665         * text2.C:
3666         * text3.C: two-phase drawing for InsetText and InsetTabular
3667         some float -> int changes.
3668
3669 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3670
3671         * lyx_main.C: fix the fix
3672
3673 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3674
3675         * lyx_main.C: fix a crash in batch mode if no files specified
3676         * converter.C: ws
3677
3678 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3679
3680         * format.[Ch] (papersize): moved to BufferParams
3681         * converter.[Ch] (dvips_options): moved to BufferParams
3682         (dvipdfm_options): moved to anon namespace
3683         * bufferparams.[Ch]: added above functions.
3684
3685 2003-07-17  André Pönitz  <poenitz@gmx.net>
3686
3687         * lyxtext.h:
3688         * rowpainter.C:
3689         * text2.C: don't call inset->update() anymore
3690
3691         * metricsinfo.[Ch]: add convenience constructor
3692
3693 2003-07-16  André Pönitz  <poenitz@gmx.net>
3694
3695         * lyxcursor.[Ch]:
3696         * lyxfunc.[Ch]:
3697         * text.C:
3698         * text2.C: replace the LyXCursor::irow_ member with
3699          on-demand computation of the value
3700
3701 2003-07-16  John Levon  <levon@movementarian.org>
3702
3703         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3704
3705 2003-07-15  André Pönitz  <poenitz@gmx.net>
3706
3707         * text.C:
3708         * text2.C: remove no more needed refresh_row
3709
3710 2003-07-15  André Pönitz  <poenitz@gmx.net>
3711
3712         * lyxtext.h:
3713         * rowpainter.C:
3714         * text2.C:
3715         * text3.C: refresh_status tristate -> need_update bool
3716
3717 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3718
3719         * lyxtext.h (init): remove reinit argument (act as if always true)
3720         * text2.C: adjust to that
3721
3722 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3723
3724         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3725         * text3.C: use it to delete selections in some cases
3726         (bugs 441, 673, 702, 954).
3727
3728 2003-07-14  André Pönitz  <poenitz@gmx.net>
3729
3730         * rowpainter.[Ch]: reduce interface
3731
3732 2003-07-14  André Pönitz  <poenitz@gmx.net>
3733
3734         * BufferView_pimpl.C:
3735         * text2.C: adjust after removing unused BufferView * argument
3736
3737 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3738
3739         * text2.C (init): fix a crash fired on resize
3740
3741 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3742
3743         * buffer.[Ch]: added new closing signal
3744         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3745         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3746         BufferView::Pimpl via the closing the signal
3747
3748 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3749
3750         * buffer.[Ch]: take out all bv-related from buffer
3751         * BufferView.C:
3752         * BufferView_pimpl.[Ch]: connect to new signals
3753         * CutAndPaste.C: removed useless asserts
3754         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3755         * lyxvc.[Ch]:
3756         * vc-backend.[Ch]:
3757         * lyxfunc.C: moved view-related funciontality from vc here
3758         * paragraph.C: removed outdated comments
3759         * text.C: ws
3760
3761 2003-07-10  André Pönitz  <poenitz@gmx.net>
3762
3763         * BufferView_pimpl.C:
3764         * tabular.h:
3765         * tabular_funcs.C:
3766         * text.C:
3767         * text2.C: remove InsetText::InnerCache, clean up consequences
3768
3769 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3770
3771         * ispell.C: fix two typos in error messages
3772
3773 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3774
3775         * Extend Note inset to other forms of annotation like Comment
3776         and Greyedout. Right button click gives dialog.
3777
3778         Files modified or added (+):
3779
3780         * insetnote.[Ch]
3781         * FormNote.[Ch]      +
3782         * ControlNote.[Ch]   +
3783         * form_note.fd       +
3784         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3785         frontends/controllers
3786         * xforms/Dialogs.C
3787         * factory.C
3788
3789 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3790
3791         * aspell.C: add missing namespace lyx::support
3792
3793 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3794
3795         * BufferView.[Ch] (newFile): Add
3796         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3797         * LaTeX.[Ch] (message): added this signal and use it
3798         * buffer.[Ch] (busy, message): added these signals and use them
3799         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3800         * converter.C:
3801         * exporter.C:
3802         * format.C:
3803         * importer.C: use buffer signals instead of direct bv calling
3804         * lyx_cb.[Ch] (ShowMessage): removed
3805         * lyx_main.C:
3806         * lyxfunc.C:
3807         * paragraph_funcs.C:
3808         * text2.C: use buffer signals
3809
3810 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3811
3812         * introduce namespace lyx::graphics
3813
3814 2003-07-02  André Pönitz  <poenitz@gmx.net>
3815
3816         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3817
3818 2003-07-01  André Pönitz  <poenitz@gmx.net>
3819
3820         * text.C:
3821         * text2.C:
3822         * text3.C:
3823         * text_funcs.[Ch]:
3824         * textcursor.h:
3825         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3826           text*.C to text_func.C
3827
3828 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3829
3830         * introduce namespace lyx::support
3831
3832 2003-06-30  André Pönitz  <poenitz@gmx.net>
3833
3834         * Chktex.C:
3835         * funcrequest.C:
3836         * lyxtext.h:
3837         * text.C: re-enable --with-included-string
3838
3839 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3840
3841         * textcursor.C: add <config.h>
3842
3843         * text.C (getWord): remove const from word_location arg
3844
3845         * lyxvc.C (getLogFile): fix const type order
3846
3847         * lyxtext.h: remove const from word_location arg, add arg name
3848
3849         * lyxlayout.h: currect type on labeltype.
3850
3851         * importer.C: correct \file
3852
3853         * converter.C (intToFormat): use std:: on ret val, ws changes
3854
3855         * bufferlist.h: correct \file
3856
3857         * buffer.C (makeLinuxDocFile): fix const type order
3858         (makeDocBookFile): ditto
3859         (fillWithBibKeys): use std:: on stdlib args.
3860
3861         * CutAndPaste.C: fix authors.
3862         (availableSelections): use std:: on return vector
3863
3864 2003-06-27  André Pönitz  <poenitz@gmx.net>
3865
3866         * BufferView_pimpl.C:
3867         * bufferview_funcs.C:
3868         * lyxcursor.C:
3869         * lyxcursor.h:
3870         * lyxfunc.C:
3871         * lyxtext.h:
3872         * rowpainter.C:
3873         * text.C:
3874         * text2.C:
3875         * text3.C: remove LyXCursor::row_ member
3876
3877         * lyxtext.h:
3878         * text.C: rename fullRebreak() to partialRebreak() and implement
3879           a fullRebreak() that really bereks fully
3880
3881         * textcursor.h: new struct for cursor-related data
3882
3883 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3884
3885         * lyx_main.C (LyX): get full path of document loaded on the
3886         command line
3887
3888 2003-06-26  André Pönitz  <poenitz@gmx.net>
3889
3890         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3891           remove unused/broken operator>,<,>=.
3892
3893         *       text.C: remove only use of broken operator<= in an Assert().
3894
3895 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3896
3897         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3898         moved errorlist_.clear to showErrorList
3899
3900 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3901
3902         * converter.C (scanLog, runLaTeX):
3903         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3904         move the bv->showErrorList call to the callers
3905         * lyxfunc.C: i.e. here...
3906         * text2.C: and here
3907         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3908         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3909         namespace, the second to...
3910         * buffer_funcs (BufferFormat, parseErrors): added
3911         * errorlist.C (ErrorList(TeXErrors const &)): removed
3912
3913 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3914
3915         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3916
3917 2003-06-24  "Garst R. Reese" <reese@isn.net>
3918
3919         * debug.C: fix typo
3920
3921 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3922
3923         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3924
3925         * version.C.in: change docversion to 1.4
3926
3927 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3928
3929         * buffer.C: fix a bug just introduced
3930
3931 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3932
3933         * buffer.[Ch]: added the parseError signal and use it, removed
3934         sgmlError
3935         * BufferView.[Ch] (addError): moved to ...
3936         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3937         to the Buffer::parseError signal to catch (guess what) parse errors
3938         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3939
3940 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3941
3942         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3943         ability to create a buffer and to return an existing one from
3944         the list. Moved these functions to...
3945         * buffer_funcs.[Ch]: added
3946         * BufferView.[Ch] (loadLyXFile): added
3947         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3948         job removed from bufferlist::loadLyXFile.
3949         * buffer.C (setReadOnly): make it work without view
3950         (i.e added an if (users))
3951
3952 2003-06-19  Angus Leeming  <leeming@lyx.org>
3953
3954         * lfuns.h:
3955         * LyXAction.C (init):
3956         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3957         with LFUN_DIALOG_SHOW <name> <data>.
3958
3959 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3960
3961         * CutAndPaste.C (availableSelections): small compilation fix for
3962         ancient (gcc 2.9x) compilers
3963
3964 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3965
3966         * text3.C (cursorNext): add tmp var
3967
3968         * text2.C (updateCounters): for function calling out of for clause
3969         (replaceSelectionWithString): ditto
3970         (insertStringAsParagraphs): ditto
3971         (getColumnNearX): add tmp var
3972         (setCursorFromCoordinates): add tmp var
3973         (cursorDownParagraph): add tmp var
3974         (deleteEmptyParagraphMechanism): add tmp var
3975
3976         * text.C (insertChar): add tmp var
3977
3978         * rowpainter.C (paintDepthBar): add tmp var
3979
3980         * CutAndPaste.C (availableSelections): potentially check all
3981         paragraphs in a cut to fill the shown strings.
3982
3983 2003-06-18  André Pönitz  <poenitz@gmx.net>
3984
3985         * kbmap.[Ch]: use vector<> instead of list<>
3986
3987 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3988
3989         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3990         pasteSelection with index
3991
3992         * text2.C (pasteSelection): modify, call pasteSelection with index
3993
3994         * paragraph.C (asString): reimplement version with no interval to
3995         call the one with interval.
3996
3997         * lyxtext.h: add index arg to pasteSelection
3998
3999         * MenuBackend.C (MenuItem): handle PasteRecent
4000         (Menu::read::Menutags): add md_pasterecent
4001         (read): handle it
4002         (expandPasteRecent): new function
4003         (expand): use it
4004
4005         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4006
4007         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4008         the limited stack
4009         (availableSelections): new function
4010
4011 2003-06-17  Angus Leeming  <leeming@lyx.org>
4012
4013         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4014
4015 2003-06-17  Angus Leeming  <leeming@lyx.org>
4016
4017         * lfuns.h:
4018         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4019
4020         * lyxfunc.C (dispatch): invoke it.
4021
4022 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4023
4024         * iterators.C (operator++, ParPosition): reintroduce some
4025         const_cast for the benefit of older compilers.
4026
4027 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4028
4029         * text3.C (dispatch): do not modify clipboard when doing
4030         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4031         LFUN_DELETE_SKIP on a selection selection
4032
4033 2003-06-16  André Pönitz  <poenitz@gmx.net>
4034
4035         * BufferView.C:
4036         * buffer.C:
4037         * buffer.h:
4038         * paragraph.C:
4039         * tabular.[Ch]: IU of clone() and getLabelList();
4040
4041 2003-06-13  André Pönitz  <poenitz@gmx.net>
4042
4043         * tabular.h: compactification
4044
4045 2003-06-12  André Pönitz  <poenitz@gmx.net>
4046
4047         * tabular.C:
4048         * tabular.h:
4049         * tabular_funcs.h: some renaming plus whitespace
4050
4051 2003-06-12  André Pönitz  <poenitz@gmx.net>
4052
4053         * BufferView.C:
4054         * BufferView_pimpl.C:
4055         * CutAndPaste.C:
4056         * buffer.C:
4057         * iterators.[Ch]:
4058         * lyxfunc.C:
4059         * text.C:
4060         * toc.C: Return a Paragraph & for ParIterator::operator*()
4061
4062 2003-06-11  John Levon  <levon@movementarian.org>
4063
4064         * lyx_main.C:
4065         * ToolbarBackend.h:
4066         * ToolbarBackend.C: add "Toolbars" section and
4067         put the flags there
4068
4069 2003-06-10  Angus Leeming  <leeming@lyx.org>
4070
4071         * lfuns.h:
4072         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4073
4074         * lyxfunc.C (dispatch): invoke it.
4075
4076 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4077
4078         * main.C: protect <ios> with HAVE_IOS
4079         (main): protect sync_with_stdio with HAVE_IOS
4080
4081 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4082
4083         * text2.C (cutSelection): adjust
4084         (pasteSelection): adjust
4085
4086         * messages.C: handle get of empty string
4087
4088         * main.C (main): use sync_with_stdio(false)
4089
4090         * lyxfunc.C (dispatch): adjust
4091
4092         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4093         (WriteAs): remove unneeded BufferView arg.
4094
4095         * bufferparams.h: use correct types on papersize, papersize2 and
4096         paperpackage.
4097
4098         * bufferparams.C (readToken): adjust for type
4099         (writeLaTeX): add missing cases to switch.
4100
4101         * bufferlist.C (quitWriteBuffer): adjust
4102         (close): adjust
4103
4104         * buffer.C (asciiParagraph): remove some commented code.
4105
4106         * CutAndPaste.C: remove current_view extern variable.
4107         (cutSelection): add BufferParams arg.
4108         (eraseSelection): add BufferParams arg.
4109         (pasteSelection): add Buffer const & arg
4110
4111 2003-06-07  John Levon  <levon@movementarian.org>
4112
4113         * buffer.C:
4114         * paragraph_funcs.C:
4115         * paragraph_pimpl.C:
4116         * text.C:
4117         * text2.C:
4118         * paragraph.h:
4119         * paragraph.C: allow InsetERT to freely space lines,
4120         and some consolidation of code
4121
4122 2003-06-06  José Matos  <jamatos@fep.up.pt>
4123
4124         * buffer.C (makeDocBookFile): fix bug #821
4125
4126 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4127
4128         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4129
4130 2003-06-04  Angus Leeming  <leeming@lyx.org>
4131
4132         * buffer.C: bump format to 224.
4133
4134 2003-06-05  André Pönitz  <poenitz@gmx.net>
4135
4136         * text2.C (redoParagraphs): remove two const_cast<>
4137
4138 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4139
4140         * ParagraphList.h: remove last remnants of NO_STD_LIST
4141
4142 2003-06-03  Angus Leeming  <leeming@lyx.org>
4143
4144         * factory.C (createInset): small change to the way InsetExternal's params
4145         are set.
4146
4147 2003-06-04  André Pönitz  <poenitz@gmx.net>
4148
4149         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4150
4151         * paragraph_pimpl.h:
4152         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4153
4154         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4155
4156         * undo_funcs.C: make some simple cases of undo work again
4157
4158 2003-06-03  John Levon  <levon@movementarian.org>
4159
4160         * ispell.C: HPUX doesn't have sys/select.h
4161         (from Albert Chin)
4162
4163 2003-06-03  John Levon  <levon@movementarian.org>
4164
4165         * CutAndPaste.C: update tabular and include inset
4166         buffer references
4167
4168         * buffer.h:
4169         * paragraph.h:
4170         * paragraph.C: remove owningBuffer(), don't pass Buffer
4171         to clone()
4172
4173         * factory.C: insetGraphicsParams changed
4174
4175 2003-06-02  John Levon  <levon@movementarian.org>
4176
4177         * LyXAction.C:
4178         * factory.C:
4179         * lfuns.h:
4180         * lyxfunc.C:
4181         * text3.C: remove insetparent
4182
4183 2003-06-02  John Levon  <levon@movementarian.org>
4184
4185         * buffer.h:
4186         * buffer.C: fix inset_iterator.end(), move out of line
4187         (bug 1149)
4188
4189 2003-06-01  John Levon  <levon@movementarian.org>
4190
4191         * text3.C: use a proper cut/paste when doing inset
4192         insert (from Jürgen Spitzmüller)
4193
4194 2003-06-01  John Levon  <levon@movementarian.org>
4195
4196         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4197
4198 2003-05-30  André Pönitz  <poenitz@gmx.net>
4199
4200         * rowpainter.C: unify second drawing phase
4201
4202 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4203
4204         * trans_mgr.C: remove one case of current_view
4205
4206         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4207
4208         * paragraph_funcs.h: remove paragraph.h include
4209
4210         * paragraph.h: delete NO_STD_LIST stuff
4211
4212         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4213
4214         * buffer.h: remove paragraph.h include
4215
4216         * ParagraphList.C: delete file
4217
4218         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4219
4220         * toc.C (getTocList): adjust
4221
4222         * paragraph_pimpl.C (validate): adjust
4223
4224         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4225
4226         * paragraph.C (Paragraph): adjust
4227         (getPositionOfInset): use const_iterator, adjust
4228         (bibitem): use const_iterator, adjust
4229         (setInsetOwner): adjust
4230
4231         * iterators.C (operator++): adjust
4232
4233         * InsetList.[Ch]: Replace selfmade iterator with standard
4234         vector::iterator also introduce const_iterator. Remove getPos,
4235         getInset and setInset from InsetTable. Adjust accordingly.
4236
4237         * BufferView.C (lockInset): adjust
4238         (ChangeInsets): adjust
4239
4240         * tabular.[Ch]: delete commented same_id functions
4241
4242 2003-05-28  John Levon  <levon@movementarian.org>
4243
4244         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4245
4246 2003-05-28  André Pönitz  <poenitz@gmx.net>
4247
4248         * metricsinfo.[Ch]: remove 'fullredraw' member
4249
4250 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4251
4252         * lyxtextclass.C (operator): remove caching.
4253
4254 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4255
4256         * text3.C: adjust
4257
4258         * text2.C (cursorBottom): adjust
4259         (setCounter): use ParagraphList::find, adjust
4260
4261         * text.C (workWidth): use ParagraphList::find, adjust
4262
4263         * lyxcursor.C (LyXCursor): adjust
4264
4265         * buffer.C (inset_iterator): adjust
4266
4267         * ParagraphList.h: make iterator(value_type) private, make
4268         ParagraphList a friend of iterator.
4269
4270         * ParagraphList.C (find): new function
4271
4272         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4273
4274 2003-05-27  André Pönitz  <poenitz@gmx.net>
4275
4276         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4277
4278 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4279
4280         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4281
4282 2003-05-26  John Levon  <levon@movementarian.org>
4283
4284         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4285
4286 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4287
4288         * remove same_id from function signatures, adjust.
4289
4290 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4291
4292         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4293
4294         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4295
4296         * paragraph.C (Paragraph): get rid of same_ids parameter
4297
4298         * ParagraphList.C (insert): adjust
4299         (push_back): adjust
4300
4301 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4302
4303         * paragraph_funcs.C (breakParagraph): adjust
4304         (breakParagraphConservative): adjust
4305
4306         * buffer.C (readParagraph): adjust
4307
4308         * ParagraphList.C (insert): take a reference instead of a pointer
4309         (insert): adjust
4310
4311         * paragraph.[Ch] (id): new function
4312
4313         * bufferlist.C (newFile): adjust
4314
4315         * ParagraphList.C (ParagraphList): adjust
4316         (assign): adjust
4317         (push_back): take a reference instead of a pointer.
4318
4319         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4320
4321         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4322         instead.
4323
4324         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4325         set else use old code.
4326
4327         * ParagraphList.C: remove all NO_NEXT code and only compile this
4328         code of NO_STD_LIST is set.
4329
4330 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4331
4332         * BufferView_pimpl.C:
4333         * TextCache.C:
4334         * TextCache.h:
4335         * bufferlist.C:
4336         * errorlist.h:
4337         * format.C:
4338         * format.h:
4339         * graph.C:
4340         * lyxfunc.C:
4341         * lyxrc.C:
4342         * graphics/GraphicsConverter.C:
4343         * graphics/PreviewLoader.C: header adjustment
4344
4345 2003-05-23  Angus Leeming  <leeming@lyx.org>
4346
4347         * LaTeXFeatures.[Ch] (useBabel): new method.
4348         * bufferparams.C (writeLaTeX): use it.
4349
4350 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4351
4352         * ParagraphList.h (set): remove unused function.
4353
4354 2003-05-23  André Pönitz  <poenitz@gmx.net>
4355
4356         * BufferView.C:
4357         * BufferView_pimpl.C:
4358         * buffer.C:
4359         * buffer.h:
4360         * lyxfunc.C:
4361         * undo_funcs.C: setUndo reworked
4362
4363         * iterators.[Ch]: add access to topmost ParagraphList
4364
4365         * lyxtext.[Ch] (workWidth): add a const
4366
4367 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4368
4369         * texrow.[Ch] (increasePos): remove function
4370         * exporter.C (export): removed unused var and outdated comment
4371
4372 2003-05-23  Angus Leeming  <leeming@lyx.org>
4373
4374         * latexrunparams.h: rename fragile as moving_arg.
4375         * paragraph.C (simpleTeXOnePar): ditto.
4376         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4377
4378 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4379
4380         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4381         (createUndo): ditto
4382         (textUndoOrRedo): comment out a currently unused var.
4383
4384         * paragraph.h (NO_NEXT): enable NO_NEXT
4385
4386         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4387
4388         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4389
4390         * exporter.C (Export): adjust for removeAutoInsets removal.
4391
4392         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4393
4394         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4395
4396         * BufferView.[Ch] (removeAutoInsets): delete function
4397
4398 2003-05-22  Angus Leeming  <leeming@lyx.org>
4399
4400         * latexrunparams.h: add a free_spacing variable.
4401
4402         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4403         to pass moving_arg, as the data is stored in runparams.fragile.
4404
4405         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4406         to Inset::latexOptional or to simpleTeXOnePar.
4407
4408         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4409         free_spacing arg to Inset::latexOptional.
4410
4411         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4412         free_spacing arg.
4413
4414 2003-05-22  Angus Leeming  <leeming@lyx.org>
4415
4416         * latexrunparams.h: add fragile and use_babel variables.
4417
4418         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4419         * buffer.C (makeLaTeXFile): store this returned value in
4420         runparams.use_babel, thus passing it to the inset::latex methods.
4421
4422         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4423         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4424
4425         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4426         longer has a fragile arg, as it is stored in runparams.fragile.
4427
4428         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4429         moving_arg parameter as the data is stored in runparams.fragile.
4430
4431         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4432         a fragile parameter as the data is stored in runparams.fragile.
4433
4434 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4435
4436         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4437
4438 2003-05-22  Angus Leeming  <leeming@lyx.org>
4439
4440         * latexrunparams.h: add a 'bool nice' which defaults to false.
4441
4442         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4443         now encapsulated within runparams.
4444
4445         * bufferlist.C (updateIncludedTeXfiles):
4446         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4447
4448 2003-05-22  Angus Leeming  <leeming@lyx.org>
4449
4450         * latexrunparams.h: new file containing struct LatexRunParams.
4451         * Makefile.am: add new file.
4452
4453         * LaTeX.[Ch] (c-tor, run):
4454         * buffer.[Ch] (makeLaTeXFile):
4455         * bufferlist.[Ch] (updateIncludedTeXfiles):
4456         * converter.C (convert, scanLog):
4457         * converter.[Ch] (runLaTeX):
4458         * exporter.C (Export):
4459         * paragraph.[Ch] (simpleTeXOnePar):
4460         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4461         * paragraph_funcs.[Ch] (latexParagraphs):
4462         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4463         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4464         pass around a LatexRunParams parameter.
4465
4466 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4467
4468         * paragraph.[Ch]: remove unused constructor
4469
4470         * ParagraphList.C (erase): new function, taking two iterators
4471
4472 2003-05-22  André Pönitz  <poenitz@gmx.net>
4473
4474         * undo_funcs.C: remove duplicated code
4475
4476         * iterator.[Ch]: operator=
4477
4478 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4479
4480         * tabular.C (SetMultiColumn): ws changes
4481
4482         * rowpainter.C (paintFirst): get rid of a ->previous
4483
4484         * lyx_cb.C (getPossibleLabel): parlist simplification
4485
4486         * BufferView.C (ChangeInsets): simplify slightly.
4487
4488 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4489
4490         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4491         * lfuns.h: new LFUN_SPACE
4492         * lyxfunc.C: protected space has a new lfun
4493         * paragraph_funcs.C: read new space insets
4494         * text3.C:
4495         * factory.C: handle new space insets
4496
4497 2003-05-22  André Pönitz  <poenitz@gmx.net>
4498
4499         * BufferView.C:
4500         * BufferView_pimpl.C:
4501         * buffer.[Ch]:
4502         * lyxfunc.C:
4503         * undo_funcs.C: return a ParIterator from getParFromID.
4504
4505         * iterators.[Ch]: add two const's
4506
4507 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4508
4509         * toc.C (getTocList): adjust
4510
4511         * iterators.[Ch]: rework for parlist
4512
4513         * buffer.C (par_iterator_begin): adjust
4514         (par_iterator_end): adjust
4515
4516         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4517
4518         * BufferView.C (removeAutoInsets): adjust
4519         (ChangeInsets): adjust
4520
4521 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4522
4523         * text.C (top_y): fix bug 1110
4524
4525 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4526
4527         * errorlist.[Ch]: added
4528         * buffer.C:
4529         * BufferView.[Ch]:
4530         * BufferView_pimpl.C:
4531         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4532         instead
4533
4534 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4535
4536         * Makefile.am: ensure that lyx is relinked upon changes to the
4537         various "convenience" libs.
4538
4539 2003-05-20  Angus Leeming  <leeming@lyx.org>
4540
4541         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4542         files are compiled in alphabetical order again.
4543
4544         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4545
4546 2003-05-19  Angus Leeming  <leeming@lyx.org>
4547
4548         * gettext.[Ch]: remove "char const * _(char const *)".
4549
4550 2003-05-19  André Pönitz  <poenitz@gmx.net>
4551
4552         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4553
4554         * Makefile.am:
4555         * BufferView.C:
4556         * DepTable.h:
4557         * LaTeXFeatures.C:
4558         * buffer.C:
4559         * lyxfont.C:
4560         * lyxlex.h:
4561         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4562
4563 2003-05-19  André Pönitz  <poenitz@gmx.net>
4564
4565         * buffer.C:
4566         * lyxlayout.[Ch]:
4567         * lyxtextclass.[Ch]:
4568         * paragraph.C:
4569         * paragraph_funcs.[Ch]:
4570         * text2.C:
4571         * text3.C: more insetenv work
4572
4573 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4574
4575         * ParagraphParameters.C (params2string): small bug fixed
4576
4577 2003-05-16  André Pönitz  <poenitz@gmx.net>
4578
4579         * debug.C:
4580         * bufferview_funcs.C: patch from Kornel Benko to prevent
4581           crash when _(...) is called twice in a statement
4582
4583 2003-05-16  André Pönitz  <poenitz@gmx.net>
4584
4585         * BufferView.C:
4586         * lyxfunc.C:
4587         * text.C:
4588         * text2.C:
4589         * text3.C:
4590         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4591
4592 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4593
4594         * lyx_main.C (init): remove spurious static_cast
4595
4596 2003-05-14  André Pönitz  <poenitz@gmx.net>
4597
4598         * BufferView.C: fix format string
4599
4600 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4601
4602         * BufferView.[Ch] (insertErrors): removed
4603         * BufferView.[Ch] (showErrorList): added
4604         * buffer.C (runChkTeX):
4605         * converter.C (scanLog): call showErrorList instead of inserterrors
4606
4607 2003-05-13  André Pönitz  <poenitz@gmx.net>
4608
4609         * BufferView_pimpl.C:
4610         * buffer.C:
4611         * bufferview_func.C:
4612         * MenuBackend.C:
4613         * lyxfunc.C:
4614         * lyxrc.C:
4615         * tex-accent.C:
4616         * text3.C:
4617         * toc.C:
4618         * tabular_funcs.h: tostr() from its own header
4619
4620         * ParagraphParameters.C:
4621         * ToolbarBackend.C:
4622         * bufferparams.C:
4623         * format.C:
4624         * lyxlex_pimpl.C:
4625         * text3.C: STRCONV()
4626
4627 2003-05-12  André Pönitz  <poenitz@gmx.net>
4628
4629         * BufferView.C:
4630         * BufferView_pimpl.C:
4631         * CutAndPaste.C:
4632         * LaTeX.C:
4633         * LaTeXFeatures.C:
4634         * ParagraphParameters.C:
4635         * buffer.C:
4636         * bufferlist.C:
4637         * bufferparams.C:
4638         * bufferview_funcs.C:
4639         * converter.C:
4640         * counters.C:
4641         * debug.C:
4642         * exporter.C:
4643         * format.C:
4644         * importer.C:
4645         * lyx_cb.C:
4646         * lyx_main.C:
4647         * lyxfont.C:
4648         * lyxfunc.C:
4649         * lyxvc.C:
4650         * paragraph.C:
4651         * paragraph_funcs.C:
4652         * tabular.C:
4653         * tabular_funcs.C:
4654         * text2.C:
4655         * text3.C:  boost::format -> bformat  all over the place
4656
4657
4658 2003-05-09  André Pönitz  <poenitz@gmx.net>
4659
4660         * LColor.[Ch]: Pimpl the #include <map> away
4661
4662 2003-05-09  John Levon  <levon@movementarian.org>
4663
4664         * bufferlist.C: never remove emergency saves
4665
4666 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4667
4668         * Makefile.am: better lib building
4669
4670 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4671
4672         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4673         instead.
4674         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4675         (simpleTeXSpecialChars): adjust
4676         (simpleTeXSpecialChars): adjust
4677         * paragraph.C (simpleTeXOnePar): adjust
4678         * buffer.C (makeLaTeXFile): adjust
4679
4680         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4681
4682         * text2.C (changeDepth): parlist cleanup
4683         (getColumnNearX): ditto
4684
4685         * rowpainter.C (getLabelFont): parlist cleanup
4686
4687         * bufferlist.C (newFile): parlist cleanup
4688
4689         * CutAndPaste.C (eraseSelection): parlist cleanup
4690
4691         * BufferView_pimpl.C (trackChanges): parlist cleanup
4692         (dispatch): ditto
4693
4694         * BufferView.C (lockInset): parlist cleanup.
4695         (ChangeInsets): ditto
4696
4697 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4698
4699         * CutAndPaste.h: Update file header.
4700
4701         * CutAndPaste.C: Update file header.
4702         Store the parts cut out of the Document in a limited_stack.
4703         (copySelection): adjust
4704         (pasteSelection): new function, takes the index in the limited stack.
4705         (nrOfParagraphs): adjust
4706         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4707         simplify error inset insertion.
4708         (checkPastePossible): adjust
4709
4710 2003-05-06  John Levon  <levon@movementarian.org>
4711
4712         * text2.C: don't cast wrap inset to float
4713
4714 2003-05-05  André Pönitz  <poenitz@gmx.net>
4715
4716         * iterator.C:
4717         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4718
4719         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4720           few naked Paragraph *.
4721
4722 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4723
4724         * bufferparams.C: Output warning if a document with missing
4725         TeX document class is loaded
4726         * exporter.C: Disable TeX exports if the document class is missing
4727         * lyxtextclass.C:
4728         * lyxtextclass.h:
4729         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4730         isTeXClassAvailable()
4731
4732 2003-05-03  John Levon  <levon@movementarian.org>
4733
4734         * BufferView.h:
4735         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4736         explicit cursor show/hide
4737
4738         * BufferView_pimpl.h:
4739         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4740         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4741
4742         * lyxfunc.C: hide cursor before dispatching.
4743
4744         * lyx_cb.C:
4745         * lyxfind.C:
4746         * text.C:
4747         * text3.C: remove explicit cursor hides
4748
4749 2003-05-02  André Pönitz  <poenitz@gmx.net>
4750
4751         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4752
4753         * undo_funcs.C:
4754         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4755           linked lists
4756
4757         * text2.C: tiny whitespace
4758
4759 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4760
4761         * undo_funcs.C: almost only ws changes.
4762
4763         * ParagraphList.C (splice): just return if pl is empty.
4764
4765 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4766
4767         * ParagraphList.C (splice): new function.
4768
4769         * CutAndPaste.C (pasteSelection): use it
4770
4771 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4772
4773         * CutAndPaste.C (pasteSelection): remove the last next and
4774         previous from this file.
4775
4776 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4777
4778         * CutAndPaste.C (pasteSelection): more clean up, user proper
4779         ParagraphList functions for pasteing.
4780
4781         * ParagraphList.C (insert): new function, three arg insert
4782
4783 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4784
4785         * ParagraphList.C (insert): new function, three arg insert
4786
4787         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4788         not on paragraphs.
4789
4790 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4791
4792         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4793
4794 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4795
4796         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4797
4798 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4799
4800         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4801         (copySelection): clean up a bit.
4802         (pasteSelection): use make_pair
4803
4804         * ParagraphList.C (ParagraphList): implement copy constructor
4805         (operator=): implement, base on copy constructor.
4806         (assign): new func
4807
4808         * paragraph.C (erase): return a bool
4809
4810         * paragraph_pimpl.C (erasePos): remove function, move contents...
4811         (erase): ... here. Return a bool.
4812         (erase): call erase instead of erasePos.
4813
4814 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4815
4816         * ParagraphList.h: define PitPosPair
4817         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4818         ParagraphList, fix a bug on pasting multiple pars
4819         * text2.C: change interface to C&P
4820
4821 2003-04-30  André Pönitz  <poenitz@gmx.net>
4822
4823         * undo_func.C: revert part of yesterday's patch 2
4824
4825 2003-04-30  John Levon  <levon@movementarian.org>
4826
4827         * LColor.C: s/tabular/table/
4828
4829 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4830
4831         * text3.C (dispatch): do not convert iterator -> pointer
4832         * undo_funcs.C (setCursorParUndo): ditto
4833         * text_funcs.C (transposeChars): ditto
4834
4835         * text2.C (setLayout): ws changes only
4836
4837         * text.C (breakParagraph): do not convert iterator -> pointer
4838         (insertChar): ditto
4839         (acceptChange): ditto
4840         (rejectChange): ditto
4841         (changeCase): ditto
4842         (Delete): ditto
4843         (backspace): ditto
4844
4845         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4846         pointer
4847
4848 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4849
4850         * text3.C (gotoInset): YABG (yet another bad getChar)
4851
4852 2003-04-29  André Pönitz  <poenitz@gmx.net>
4853
4854         * paragraph.h: make operator= private unimplemented as long as
4855           it is unusable
4856
4857         * ParagraphList.C: whitespace
4858
4859         * paragraph.[Ch]:
4860         * paragraph_pimpl.[Ch]:
4861         * paragraph_funcs.C:
4862         * CutAndPaste.C:
4863         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4864
4865         * text2.C:
4866           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4867
4868 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4869
4870         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4871         * paragraph.[Ch] (erase):
4872         * paragraph_pimpl.[Ch] (erase): change return type and value
4873         * text2.C (cutSelection): some rework
4874
4875 2003-04-28  John Levon  <levon@movementarian.org>
4876
4877         * bufferlist.C: changes for unsaved changes dialog
4878
4879 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4880
4881         * bufferlist.C (newFile): set language (messages_) for new
4882         documents also.
4883
4884         * buffer.C (readFile): ws changes only.
4885
4886 2003-04-28  André Pönitz  <poenitz@gmx.net>
4887
4888         * undo_funcs.C:
4889         * lyxfunc.C:
4890         * buffer.[Ch]:
4891         * BufferView_pimpl.C:
4892         * BufferView.C: getParFromID related ParagraphList::iterator changes
4893
4894 2003-04-28  André Pönitz  <poenitz@gmx.net>
4895
4896         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4897           Changes
4898
4899 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4900
4901         * messages.C: remove one more localedir class variable.
4902
4903 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4904
4905         * messages.C (getLocaleDir): singleton generation function
4906         (Pimpl): use it.
4907         (Messages): add a default constructor.
4908
4909         * main.C (main): do not setup localedir here, do not call
4910         gettext_init.
4911
4912         * gettext.C (_): use it.
4913         (gettext_init): delete funciton
4914
4915 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4916
4917         * gettext.C (getLyXMessages): new singleton generating function.
4918
4919         * buffer.C (updateDocLang): adjust
4920
4921         * Makefile.am (messages.o): add target
4922         (main.o): remove target
4923
4924 2003-04-27  John Levon  <levon@movementarian.org>
4925
4926         * bufferlist.C:
4927         * lyx_cb.C:
4928         * lyxfunc.C:
4929         * lyxvc.C: specify cancel button in Alert::prompt
4930
4931 2003-04-26  John Levon  <levon@movementarian.org>
4932
4933         * text3.C:
4934         * lyxfunc.C:
4935         * lfuns.h:
4936         * LyXAction.C: add LFUN_INSET_SETTINGS
4937
4938         * lyxfunc.C: don't enable tabular-feature when there's
4939         just any locking inset
4940
4941 2003-04-26  John Levon  <levon@movementarian.org>
4942
4943         * bufferlist.C: re-add Cancel to buffer close question
4944
4945         * lyxfunc.C: fix import UI a bit
4946
4947 2003-04-25  John Levon  <levon@movementarian.org>
4948
4949         * gettext.C: remove the broken asserts for now
4950
4951 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4952
4953         * messages.C: make case where setlocale cannot comply work better.
4954
4955         * buffer.C (updateDocLang): new function
4956         (changeLanguage): use it
4957         (readFile): use it
4958
4959         * text2.C (setCounter): use B_ a bit.
4960
4961         * lyxlayout.C (Read): be sure to trim the label strings.
4962
4963         * messages.C (Messages): fix typo in comment
4964
4965         * buffer.C (readFile): set message_ after file is loaded.
4966         (makeDocBookFile): remove double return
4967         (changeLanguage): reset message_ upon language change.
4968         (B_): new func, use this to get translated buffer strings.
4969
4970         * main.C: add myself and Jean Marc as authors.
4971
4972 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4973
4974         * messages.[hC]: pimplify Messages, and three different pimpls to be
4975         used in different circumstances.
4976
4977         * gettext.[Ch]: change for use with new message code.
4978
4979 2003-04-24 André Pönitz <poenitz@gmx.net>
4980
4981         * factory.C: support for eqref
4982
4983 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4984
4985         * messages.[Ch]: add missing char
4986
4987         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4988
4989         * messages.[Ch]: New files
4990
4991 2003-04-18  John Levon  <levon@movementarian.org>
4992
4993         * BufferView.h:
4994         * BufferView.C:
4995         * BufferView_pimpl.C:
4996         * lfuns.h:
4997         * LyXAction.C:
4998         * lyxtext.h:
4999         * text2.C: remove layout-copy/paste (bug 778)
5000
5001 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5002
5003         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5004
5005 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5006
5007         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5008         if they succeed. Act accordingly.
5009
5010 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5011
5012         * text2.C (setCharFont): adjust
5013         (setCounter): adjust
5014         (insertStringAsLines): adjust
5015
5016         * text.C (leftMargin): adjust
5017         (setHeightOfRow): adjust
5018
5019         * rowpainter.C (paintFirst): adjust
5020         (paintLast): adjust
5021
5022         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5023         (outerHook): ditto
5024         (isFirstInSequence): ditto
5025         (getEndLabel): ditto
5026         (outerFont): adjust
5027
5028         * paragraph.C (getParLanguage): comment out some hard stuff.
5029
5030         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5031         (sgmlError): ditto
5032         (simpleDocBookOnePar): ditto
5033         (makeDocBookFile): use ParagraphList::iterator
5034
5035         * CutAndPaste.C (pasteSelection): adjust
5036
5037 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5038
5039         * text2.C (getFont): adjust
5040         (getLayoutFont): adjust
5041         (getLabelFont): adjust
5042
5043         * paragraph_funcs.C (TeXOnePar): adjust
5044
5045         * buffer.C (simpleLinuxDocOnePar): adjust
5046         (simpleDocBookOnePar): adjust
5047
5048         * CutAndPaste.C (pasteSelection): adjust
5049
5050         * BufferView.C (getEncoding): adjust
5051
5052         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5053
5054 2003-04-16  John Levon  <levon@movementarian.org>
5055
5056         * lyxfind.C: use parlist stuff for search/changes
5057
5058 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5059
5060         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5061
5062         * text2.C (deleteEmptyParagraphMechanism): adjust
5063
5064         * text2.[Ch] (ownerParagraph): delete func (both of them
5065
5066 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5067
5068         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5069
5070 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5071
5072         * ParagraphList.C: prepare for NO_NEXT
5073
5074 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5075
5076         * text2.C (getFont): adjust
5077         (getLayoutFont): adjust
5078         (getLabelFont): adjust
5079
5080         * paragraph.C (getFont): adjust
5081         (getLabelFont): adjust
5082         (getLayoutFont): adjust
5083
5084         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5085
5086 2003-04-15  John Levon  <levon@movementarian.org>
5087
5088         From Angus Leeming
5089
5090         * lyx_main.C: handle Include in .ui files
5091
5092 2003-04-15  John Levon  <levon@movementarian.org>
5093
5094         * MenuBackend.C: make the doc files length shorter
5095
5096         * ToolbarBackend.h:
5097         * ToolbarBackend.C: handle toolbar placement flags,
5098         Minibuffer
5099
5100 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5101
5102         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5103         adjust
5104
5105         * paragraph_funcs.C (TeXOnePar): adjust
5106
5107         * paragraph.C (getLabelFont): add outerfont arg, adjust
5108         (getLayoutFont): ditto
5109         (simpleTeXOnePar): adjust
5110
5111         * paragraph_pimpl.C (realizeFont): delete func
5112
5113 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5114
5115         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5116         row argument, constify cur argument.
5117
5118 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5119
5120         * text2.C (getFont): adjust
5121         (getLayoutFont): adjust
5122         (getLabelFont): adjust
5123
5124         * paragraph_funcs.C (TeXOnePar): adjust
5125         (outerFont): new func...
5126         (realizeFont): ...moved out from here, changed this to facilitate
5127         transition
5128
5129         * paragraph.C (getFont): take outerfont as arg, adjust
5130         (simpleTeXOnePar): add outerfont arg, adjust
5131
5132         * buffer.C (simpleLinuxDocOnePar): adjust
5133         (simpleDocBookOnePar): adjust
5134
5135         * CutAndPaste.C (pasteSelection): adjust
5136
5137         * BufferView.C (getEncoding): adjust
5138
5139 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5140
5141         * text2.C (setCharFont): adjust
5142         (setCounter): adjust
5143
5144         * text.C (leftMargin): adjust
5145         (setHeightOfRow): adjust
5146
5147         * rowpainter.C (paintFirst): adjust
5148         (paintLast): adjust
5149
5150         * paragraph_pimpl.C (realizeFont): adjust
5151
5152         * paragraph.C (isFirstInSequence): move from here...
5153         * paragraph_funcs.C (isFirstInSequence): ...to here
5154
5155         * paragraph.C (outerHook): move from here...
5156         * paragraph_funcs.C (outerHook): ...to here
5157
5158         * paragraph.C (depthHook): move from here...
5159         * paragraph_funcs.C (depthHook): ...to here
5160
5161         * paragraph.C (getEndLabel): move from here...
5162         * paragraph_funcs.C (getEndLabel): ...to here
5163
5164         * text2.C (realizeFont): move from here...
5165         * paragraph_funcs.C (realizeFont): ...to here
5166
5167 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5168
5169         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5170
5171 2003-04-14  Angus Leeming  <leeming@lyx.org>
5172
5173         * LColor.[Ch]: scrap LColor mathcursor.
5174
5175 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5176
5177         * lyxlex.[Ch] (text): delete function
5178         * trans.C (Load): adjust
5179         * paragraph_funcs.C (readParToken): adjust
5180
5181 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5182
5183         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5184         vector<char> instead of a char[].
5185
5186         * lyxlex_pimpl.C (getString): adjust
5187         (next): adjust
5188         (lex): use getString
5189         (eatLine): adjust
5190         (nextToken): adjust
5191
5192         * lyxlex.C (text): use pimpl_->getString()
5193         (getBool): ditto
5194         (findToken): ditto
5195
5196 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5197
5198         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5199         (makeFontEntriesLayoutSpecific): temp var for par.size()
5200         (setLayout): temp var for ownerParagraphs().end()
5201         (fullRebreak): temp var for rows().end()
5202         (selectionAsString): temp var for boost::next(startpit), realize
5203         that the while really is a regular for loop.
5204         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5205         setCursor in one place.
5206         (setParagraph): temp vr for ownerParagraphs().end()
5207         (updateCounters): make the while loop a for loop
5208         (cutSelection): temp var for ownerParagraphs().end()
5209         (updateInset): make the do {} while() a regular for loop
5210         (getCursorX): use temp vars
5211         (setCurrentFont): use temp vars
5212         (getColumnNearX): use temp vars
5213
5214 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5215
5216         * text.C (transformChar): use temp var for getChar
5217         (computeBidiTables): use temp var for row->par()
5218         (fill): move temp vars for row->par() and pit->layout() earlier in
5219         the function.
5220         (labelFill): use temp var for row->par()
5221         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5222         asc and desc, realize that pit never changes and that firstpit is
5223         just a duplicate and not needed. Exchange rit->par() with pit in a
5224         lot of places.
5225         (breakAgain): use a temp var for boost::next(rit)
5226         (breakAgainOneRow): ditto
5227         (breakParagraph): use a temp var for rows().begin()
5228         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5229         (cursorRightOneWord): use temp var for cursor.par() and
5230         cursor.pos(), remove usage of tmpcursor.
5231         (cursorLeftOneWord): use temp var for cursor.par() and
5232         cursor.pos() only set cur at end of function.
5233
5234 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5235
5236         * text.C, text2.C: exchange all usage of Paragraph::next with
5237         boost::next(ParagraphList::iterator)
5238
5239         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5240
5241         * text2.C (cursorTop): simplify implementation
5242         (cursorBottom): ditto
5243         (setParagraph): use ParagraphList::iterator
5244         (setCurrentFont): adjust
5245         (getColumnNearX): adjust
5246         (cursorRight): adjust
5247         (cursorLeft): remove usage of Paragraph::previous
5248         (cursorUpParagraph): ditto
5249         (deleteEmptyParagraphMechanism): slight cleanup
5250
5251         * text.C (isBoundary): take a Paragraph const & instead of a
5252         pointer as arg.
5253         (addressBreakPoint): ditto
5254         (leftMargin): remove usage of Paragraph::previous.
5255         (setHeightOfRow): ditto
5256         (cursorLeftOneWord): ditto
5257         (selectNextWordToSpellcheck): ditto
5258         (Delete): ditto
5259         (backspace): ditto
5260         (breakParagraph): remove one usage of Paragraph::next
5261         (redoParagraph): ditto
5262         (acceptChange): ditto
5263         (insertChar): adjust
5264         (rowBreakPoint): adjust
5265
5266         * bufferview_funcs.C (toggleAndShow): adjust
5267
5268 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5269
5270         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5271         methods to access it.
5272         * lyxtext.h:
5273         * text.C: Added updateRowPositions to compute all row positions.
5274         Make top_y and getRowNearY() to use the cached y position
5275
5276 2003-04-11  John Levon  <levon@movementarian.org>
5277
5278         * text.C (rowBreakPoint): reintroduce the labelEnd
5279         checks, code copied from the row fill stuff. Deep voodoo.
5280
5281         * text.C (fill): add a comment and debugging for the
5282         next poor soul.
5283
5284 2003-04-11  John Levon  <levon@movementarian.org>
5285
5286         * text.C: make sure fullrow insets get wrapped to the next line,
5287         even when they're in a manual label
5288
5289 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5290
5291         * text2.C (insertParagraph): make it take ParagraphList::iterator
5292         as arg.
5293         (setLayout): make it return ParagraphList::iterator
5294         (redoParagraphs): ditto
5295         (setCounter): ditto
5296         (checkParagraph): ditto
5297
5298         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5299
5300         * text2.C: adjust several funcs.
5301         (realizeFont): take a ParagraphList::iterator as arg.
5302         (getLayoutFont): ditto
5303         (getLabelFont): ditto
5304         (setCharFont): ditto
5305
5306         * text.C: adjust several funcs.
5307
5308 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5309
5310         * text.C (selectNextWordToSpellcheck): don't accidentally
5311         skip insets
5312
5313 2003-04-10  John Levon  <levon@movementarian.org>
5314
5315         * ToolbarBackend.C (getIcon): special handling for
5316         LFUN_MATH_DELIM
5317
5318 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5319
5320         * text2.C (cursorRight): a getChar assert fixed
5321
5322 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5323
5324         * text2.C (getFont): change to take a ParagraphList::iterator
5325         instead of Paragraph*
5326         Adjust several functions.
5327
5328         * text.C (transformChar): change to take a ParagraphList::iterator
5329         instead of Paragraph*
5330         (singleWidth): ditto
5331         Adjust several functions.
5332
5333         * rowpainter.C: adjust several functions
5334         * rowpainter.h:store a ParagraphList::iterator and not a
5335         Paragraph&.
5336
5337
5338 2003-04-09  John Levon  <levon@movementarian.org>
5339
5340         * lyxfunc.C:
5341         * lfuns.h:
5342         * LyXAction.h:
5343         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5344         and the "help" bits as well
5345
5346 2003-04-09  John Levon  <levon@movementarian.org>
5347
5348         * ToolbarBackend.h:
5349         * ToolbarBackend.C: allow multiple toolbars
5350
5351 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5352
5353         * undo_funcs.C (setCursorParUndo): adjust
5354
5355         * text_funcs.C (transposeChars): adjust
5356
5357         * text3.C (gotoNextInset): adjust
5358         (dispatch): adjust
5359
5360         * text2.C (setLayout): adjust
5361         (changeDepth): adjust
5362         (setFont): adjust
5363         (redoParagraphs): adjust
5364         (selectionAsString): adjust
5365         (setParagraph): adjust
5366         (insertInset): adjust
5367         (cutSelection): adjust
5368         (copySelection): adjust
5369         (pasteSelection): adjust
5370         (insertStringAsLines): adjust
5371         (updateInset): adjust
5372         (setCursor): change to take a ParagraphList::iterator parameter
5373         (setCursorIntern): change to take a ParagraphList::iterator parameter
5374         (setCurrentFont): adjust
5375         (cursorLeft): adjust
5376         (cursorRight): adjust
5377         (deleteEmptyParagraphMechanism): adjust
5378
5379         * text.C (breakParagraph): adjust
5380         (insertChar): adjust
5381         (acceptChange): adjust
5382         (rejectChange): adjust
5383         (selectNextWordToSpellcheck): adjust
5384         (changeCase): adjust
5385         (Delete): adjust
5386         (backspace): adjust
5387
5388         * lyxfind.C (SearchForward): adjust
5389         (SearchBackward): adjust
5390         (nextChange): adjust
5391
5392         * lyxcursor.C (par): adjust
5393
5394         * lyxcursor.h: store a ParagraphList::iterator instead of a
5395         Paragraph*
5396
5397         * lyx_cb.C (getPossibleLabel): adjust
5398
5399         * bufferview_funcs.C (toggleAndShow): adjust
5400
5401         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5402         (dispatch): adjust
5403
5404         * BufferView.C (removeAutoInsets): adjust
5405         (lockedInsetStoreUndo): adjust
5406
5407 2003-04-09  John Levon  <levon@movementarian.org>
5408
5409         * ToolbarBackend.C: try icon without argument
5410         if with argument fails
5411
5412 2003-04-08  John Levon  <levon@movementarian.org>
5413
5414         * ToolbarBackend.h:
5415         * ToolbarBackend.C: add getIcon(), handle tooltip,
5416         and change from "Icon" to "Item".
5417
5418 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5419
5420         * BufferView.C (lockInset): another bad getchar crunched
5421
5422 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5423
5424         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5425         again)
5426
5427 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5428
5429         * lyxfind.C (searchForward, searchBackwards): bug 782
5430
5431 2003-04-07  John Levon  <levon@movementarian.org>
5432
5433         * paragraph.C: remove dead comment
5434
5435         * text.C: remove troublesome depth-fiddling code
5436         in leftMargin() and rightMargin() (bug 1017)
5437
5438         * text.C: fix breaking of rows in nested lists
5439         (bug 1004)
5440
5441         * text2.C (updateCounters): fix up depth values
5442         (bug 1013)
5443
5444 2003-04-07  John Levon  <levon@movementarian.org>
5445
5446         * BufferView_pimpl.C: clear message when doc finishes resizing,
5447         and after a mouse event
5448
5449         * lyxfunc.C: clear message after exiting inset
5450
5451 2003-04-07  John Levon  <levon@movementarian.org>
5452
5453         * bufferview_funcs.C: show math status not outside
5454         status in the statusbar
5455
5456 2003-04-07  John Levon  <levon@movementarian.org>
5457
5458         * lyxfunc.C: note status changed after a depth change
5459
5460 2003-04-04  Angus Leeming  <leeming@lyx.org>
5461
5462         * LaTeX.h: move AuxInfo operator==, != out of line.
5463         Remove LaTeX virtual destructor; nothing derives from it.
5464         Move operator()() out of public area and rename it startscript().
5465         Change protected for private.
5466
5467 2003-04-04  Angus Leeming  <leeming@lyx.org>
5468
5469         * lyxfunc.C:
5470         * text2.C: remove unneeded #includes.
5471
5472 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5473
5474         * text2.C (dEPM): fix the heigth of the next row
5475
5476 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5477
5478         * text.C: squashed an invalid getChar requester + some ws changes
5479
5480 2003-04-03  John Levon  <levon@movementarian.org>
5481
5482         * bufferview_funcs.h:
5483         * bufferview_funcs.C:
5484         * lyxfunc.C:
5485         * lyxtext.h:
5486         * text2.C: make getStatus work for the env depth lfuns
5487
5488 2003-04-03  John Levon  <levon@movementarian.org>
5489
5490         * bufferview_funcs.h:
5491         * bufferview_funcs.C:
5492         * lyxfunc.C:
5493         * lyxtext.h:
5494         * text2.C: parlistize decDepth(), by merging it with incDepth()
5495
5496 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5497
5498         * lyxrow.h: store a ParagraphList::iterator instead of a
5499         Paragraph* and adjust other class functions to suit.
5500
5501         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5502         above.
5503
5504 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5505
5506         * text2.C (setCursor): do not anchor to cursor row for the time being
5507
5508 2003-04-02  John Levon  <levon@movementarian.org>
5509
5510         * LyXAction.C:
5511         * lfuns.h:
5512         * lyx_main.C:
5513         * lyxtext.h:
5514         * text.C:
5515         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5516
5517 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5518
5519         * paragraph.h: make ParagraphList and ParagraphList::iterator
5520         friends of Paragraph.
5521
5522         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5523
5524         * ParagraphList.C: Use the private next_ and previous_ from
5525         Paragraph.
5526
5527 2003-04-01  John Levon  <levon@movementarian.org>
5528
5529         * ToolbarBackend.h:
5530         * ToolbarBackend.C:
5531         * Makefile.am: rename, remove defaults gunk
5532
5533         * MenuBackend.h:
5534         * MenuBackend.C: remove defaults gunk
5535
5536         * Languages.h:
5537         * Languages.C: remove defaults gunk
5538
5539         * lyx_main.h:
5540         * lyx_main.C: error out if files couldn't be found.
5541
5542 2003-04-02  John Levon  <levon@movementarian.org>
5543
5544         * text2.C: make incDepth() use parlist
5545
5546 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5547
5548         * undo_funcs.C (firstUndoParagraph): adjust
5549
5550         * text3.C (gotoInset): adjust
5551         (dispatch): adjust, and rewrite loop.
5552
5553         * text2.C (init): adjust, and rewrite loop.
5554         (redoParagraphs): adjust
5555         (updateInset): adjust, and rewrite loop.
5556         (deleteEmptyParagraphMechanism): adjust
5557
5558         * tabular.C (LyXTabular): adjust
5559         (SetMultiColumn): adjust
5560         (TeXRow): adjust
5561
5562         * lyxtext.[Ch] (ownerParagraph): delete function
5563         (ownerParagraphs): new function returns a ParagraphList.
5564
5565         * BufferView.C (removeAutoInsets): adjust
5566         (insertErrors): adjust
5567         (setCursorFromRow): adjust
5568
5569 2003-04-01  Angus Leeming  <leeming@lyx.org>
5570
5571         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5572         in the frontends.
5573
5574 2003-04-02  John Levon  <levon@movementarian.org>
5575
5576         * lyxtext.h:
5577         * text.C:
5578         * Makefile.am:
5579         * text_funcs.h:
5580         * text_funcs.C: make transposeChars a free function
5581
5582         * lyxrow_funcs.C: remove wrong comment
5583
5584 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5585
5586         * lyxtext.h: adjust
5587         * rowpainter.C: adjust
5588         * text.C: adjust
5589         * text2.C: adjust
5590         * text3.C: adjust
5591
5592         * lyxrow_funcs. [Ch]: new files
5593
5594         * lyxrow.[Ch]: remove next and previous pointers
5595         (next,previous): remove accessor functions
5596         (isParEnd): move to lyxrow_funcs
5597         (lastPos): move to lyxrow_funcs
5598         (nextRowIsAllInset): move to lyxrow_funcs
5599         (lastPrintablePos): move to lyxrow_funcs
5600         (numberOfSeparators): move to lyxrow_funcs
5601         (numberOfHfills): move to lyxrow_funcs
5602         (numberOfLabelHfills): move to lyxrow_funcs
5603         (hfillExpansion): move to lyxrow_funcs
5604
5605         * lyxfunc.C: adjust
5606
5607         * bufferview_funcs.C (toggleAndShow): adjust
5608
5609         * RowList.h: Remove class RowList from file leave just a
5610         std::list<Row>.
5611
5612         * RowList.C: delete file
5613
5614         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5615         and lyxrow_funcs.h
5616
5617 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5618
5619         * text3.C (cursorPrevious): adjust
5620         (cursorNext): adjust
5621         (dispatch): adjust
5622
5623         * text2.C (redoHeightOfParagraph): adjust
5624         (redoDrawingOfParagraph): adjust
5625         (setCursor): adjust
5626
5627         * text.C (breakParagraph): adjust
5628         (insertChar): adjust
5629         (backspace): adjust
5630
5631         * rowpainter.C (RowPainter): adjust
5632         (leftMargin): simplify and adjust
5633         (most rowpainter functions): adjust.
5634
5635         * rowpainter.h: store the row as RowList::iterator not as Row*
5636
5637         * lyxcursor.C (row): taka RowList::iterator as arg
5638         (irow): ditto
5639
5640         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5641         of Row*.
5642
5643 2003-04-01  Angus Leeming  <leeming@lyx.org>
5644
5645         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5646         stuff like bool Bool.
5647
5648 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5649
5650         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5651         rewrite a loop
5652
5653 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5654
5655         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5656         RowList::iterator.
5657
5658         * lyxtext.h (rows): drop one version and leve a const variant that
5659         returns a RowList::iterator.
5660
5661 2003-03-31  Angus Leeming  <leeming@lyx.org>
5662
5663         * text.C (fill): ensure that the signature is the same as that in the
5664         header file.
5665
5666 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5667
5668         * text2.C (redoParagraphs): adjust
5669         (updateCounters): adjust
5670         (checkParagraph): adjust
5671         (getColumnNearX): adjust and reformat a bit.
5672
5673         * text.C (top_y): adjust
5674         (workWidth): adjust
5675         (leftMargin): adjust
5676         (prepareToPrint): adjust
5677         (getRow): adjust
5678         (getRowNearY): adjust
5679
5680         * lyxtext.h: make rowlist_ mutable.
5681
5682         * RowList.h: add const_iterator
5683         * RowList.C: adjust for RowList::const_iterator.
5684
5685         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5686         adjust.
5687
5688 2003-03-31  John Levon  <levon@movementarian.org>
5689
5690         * lyxrc.h:
5691         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5692
5693         * lyx_main.C: set default fonts from using lyx_gui funcs
5694
5695         * exporter.C: pdf_mode moved from lyxrc
5696
5697         * lyx_cb.C:
5698         * lyxfunc.C: changes from above
5699
5700 2003-03-31  John Levon  <levon@movementarian.org>
5701
5702         * lyx_main.C: fix to the last fix
5703
5704 2003-03-31  John Levon  <levon@movementarian.org>
5705
5706         * bufferlist.C: "Load original" -> "Load Original"
5707
5708         * converter.C:
5709         * exporter.C:
5710         * importer.C:
5711         * lyx_main.C:
5712         * format.C: more Alert cleanups
5713
5714 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5715
5716         * text2.C (removeParagraph): make it take a RowList::iterator as
5717         arg, adjust.
5718         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5719         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5720
5721         * text.C (anchor_row): make it take a RowList::iterator as arg,
5722         adjust.
5723         (computeBidiTables): make it take a const reference to Row instead
5724         of Row pointer, adjust.
5725         (leftMargin): make it take a RowList::iterator as arg, adjust.
5726         (rowBreakPoint): adjust
5727         (breakAgainOneRow): make it take a RowList::iterator as arg,
5728         adjust.
5729         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5730
5731         * bufferview_funcs.C (toggleAndShow): adjust
5732
5733 2003-03-30  John Levon  <levon@movementarian.org>
5734
5735         * Makefile.am:
5736         * BoostFormat.h:
5737         * boost-inst.C: moved to support
5738
5739         * several files: changes as a result
5740
5741 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5742
5743         * text2.C (LyXText): adjust.
5744         (init): adjust
5745         (removeRow): make it take a RowList::iterator as arg, adjust.
5746         (fullRebreak): adjust
5747         (deleteEmptyParagraphMechanism): adjust
5748         (clearPaint): adjust
5749         (postPaint): adjust
5750
5751         * text.C (top_y): adjust
5752         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5753         (breakAgain): make it take a RowList::iterator as arg, adjust.
5754         (breakParagraph): adjust
5755         (insertChar): adjust
5756         (backspace): adjust
5757
5758         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5759         need_break_row, and refresh_row.
5760
5761         * text3.C (dispatch): adjust
5762
5763         * text2.C (checkParagraph): adjust
5764         (setCursor): adjust
5765         (setCursorFromCoordinates): adjust
5766
5767         * text.C (top_y): adjust
5768         (workWidth): adjust
5769         (getRow): make it return a RowList::iterator, adjust
5770         (getRowNearY): make it return a RowList::iterator, adjust
5771
5772         * text2.C (init): adjust
5773         (insertRow): remove function
5774         (insertParagraph): adjust
5775         (redoParagraphs): adjust
5776         (fullRebreak): adjust
5777         (updateCounters): adjust
5778
5779         * text.C (top_y): rewrite to use RowList iterators.
5780         (top_y): adjust
5781         (setHeightOfRow): rewrite to sue RowList iterators.
5782         (appendParagraph): adjust
5783         (breakAgain): adjust
5784         (breakAgainOneRow): adjust
5785         (breakParagraph): adjust
5786         (getRow): adjust
5787         (getRowNearY): adjust, and remove commented code.
5788
5789         * lyxtext.h (firstRow): delete function
5790         (lastRow): delete function
5791         (rows): new function (const and non-const versions.)
5792         (insertRow): delete function
5793
5794         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5795
5796 2003-03-29  John Levon  <levon@movementarian.org>
5797
5798         * BufferView_pimpl.C: always update scrollbar top
5799         because pasting text when we're anchored could mean we
5800         miss an update altogether
5801
5802 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5803
5804         * text2.C (init): use rowlist_.end() and not 0.
5805         (insertRow): change to take a RowList::iterator as arg, adjust
5806         for this.
5807         (insertParagraph): change to take a RowList::iterator as arg,
5808         adjust for this.
5809         (redoParagraphs): remove some debug msgs.
5810
5811         * text.C (appendParagraph): change to take a RowList::iterator
5812         arg, adjust for this.
5813         (breakAgain): add an assert
5814         (breakAgainOneRow): ditto
5815
5816 2003-03-29  John Levon  <levon@movementarian.org>
5817
5818         * text2.C: do not clear selection after inc/decDepth
5819         (bug 550)
5820
5821 2003-03-29  John Levon  <levon@movementarian.org>
5822
5823         * BufferView.C:
5824         * buffer.C: fix broken strerrors according to Lars
5825
5826 2003-03-29  John Levon  <levon@movementarian.org>
5827
5828         * converters.C: more Alert cleanups
5829
5830 2003-03-29  John Levon  <levon@movementarian.org>
5831
5832         * bufferview_funcs.C: remove pointless Alert
5833
5834         * buffer.C: fix confusing error message when
5835         a template is chmoded 000
5836
5837 2003-03-29  John Levon  <levon@movementarian.org>
5838
5839         * BufferView.C:
5840         * BufferView.h:
5841         * BufferView_pimpl.C: Alert fixes
5842
5843         * Makefile.am:
5844         * tabular.C:
5845         * tabular-old.C: remove unused table compat reading
5846
5847 2003-03-29  John Levon  <levon@movementarian.org>
5848
5849         * BufferView.C:
5850         * buffer.C:
5851         * lyx_cb.h:
5852         * lyx_cb.C: more Alert cleanups
5853
5854         * lyxfunc.C: don't allow chktex if not latex document
5855
5856 2003-03-29  John Levon  <levon@movementarian.org>
5857
5858         * lyx_cb.C:
5859         * BufferView.C:
5860         * buffer.C: warnings pushed down from support/,
5861         kill err_alert
5862
5863 2003-03-29  John Levon  <levon@movementarian.org>
5864
5865         * lyxfunc.C: safety check for C-r (revert)
5866
5867 2003-03-29  John Levon  <levon@movementarian.org>
5868
5869         * bufferlist.h:
5870         * bufferlist.C: several UI fixes using Alert::prompt.
5871         Fix the pointless looping quit code. Fix stupid revert
5872         behaviour (bug 938)
5873
5874         * lyxvc.h:
5875         * lyxvc.C:
5876         * lyx_cb.C: use Alert::prompt
5877
5878         * lyx_main.C: remove a silly question
5879
5880         * lyxfunc.C: remove a couple of silly questions,
5881         use Alert::prompt
5882
5883 2003-03-28  John Levon  <levon@movementarian.org>
5884
5885         * text2.C: fix bug 974 (End on empty par)
5886
5887 2003-03-28  John Levon  <levon@movementarian.org>
5888
5889         * BufferView_pimpl.C:
5890         * LyXAction.C:
5891         * lfuns.h: remove do-nothing math greek lfuns
5892
5893 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5894
5895         * lyxgluelength.h (isValidGlueLength): add default arg on
5896         parameter 2. Remove default arg from friend in class.
5897
5898         * lyxlength.h (isValidLength): add default arg on parameter 2.
5899         Remove default arg from friend in class.
5900
5901         * text2.C (LyXText): adjust, initialize refresh_row.
5902         (init): adjust
5903         (removeRow): adjust
5904         (insertRow): adjust
5905         (insertParagraph): adjst
5906         (redoParagraphs): adjust
5907         (fullRebreak): adjust
5908         (updateCounters): adjust
5909         (deleteEmptyParagraphMechanism): first attempt at fixing a
5910         crashing bug.
5911
5912         * text.C (top_y): adjust
5913         (setHeightOfRow): adjust
5914         (getRow): adjust
5915         (getRowNearY): adjust
5916
5917         * lyxtext.h: include RowList.h
5918         (~LyXText): not needed anymore, deleted.
5919         (firstRow): modify for RowList
5920         (lastRow): new function
5921         Delete firstrow and lastrow class variables, add a Rowlist
5922         rowlist_ class variable.
5923
5924         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5925         paragraph is empty.
5926
5927         * RowList.C (insert): fix case where it == begin().
5928
5929 2003-03-26  Angus Leeming  <leeming@lyx.org>
5930
5931         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5932         the thesaurus dialog.
5933
5934 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5935
5936         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5937
5938         * RowList.[Ch]: new files
5939
5940         * ParagraphList.C (erase): handle the case where it == begin
5941         correctly.
5942
5943 2003-03-25  John Levon  <levon@movementarian.org>
5944
5945         * Makefile.am:
5946         * aspell_local.h:
5947         * aspell.C: add new aspell support
5948
5949         * lyxrc.h:
5950         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5951         have it accessible.
5952
5953 2003-03-25  Angus Leeming  <leeming@lyx.org>
5954
5955         * lfuns.h:
5956         * LyXAction.C (init): new LFUN_INSET_INSERT.
5957
5958         * BufferView_pimpl.C (dispatch): split out part of the
5959         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5960
5961         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5962         LFUN_INSET_APPLY.
5963
5964 2003-03-25  Angus Leeming  <leeming@lyx.org>
5965
5966         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5967
5968 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5969
5970         * text2.C:
5971         * text3.C: remove useless row->height(0)
5972
5973 2003-03-25  John Levon  <levon@movementarian.org>
5974
5975         * lyxtext.h:
5976         * text2.C:
5977         * text3.C: rename the refreshing stuff to better names
5978
5979 2003-03-24  John Levon  <levon@movementarian.org>
5980
5981         * BufferView_pimpl.h:
5982         * BufferView_pimpl.C: update layout choice on a mouse
5983         press/release
5984
5985 2003-03-23  John Levon  <levon@movementarian.org>
5986
5987         * Makefile.am: fix commandtags.h reference
5988
5989 2003-03-22  John Levon  <levon@movementarian.org>
5990
5991         * BufferView_pimpl.C:
5992         * lyxtext.h:
5993         * rowpainter.C:
5994         * rowpainter.h:
5995         * text.C:
5996         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5997
5998 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5999
6000         * lyxtext.h:
6001         * text.C: take the rtl methods out of line
6002
6003 2003-03-21 André Pönitz <poenitz@gmx.net>
6004
6005         * metricsinfo.[Ch]: new files containing structures to be passed around
6006         during the two-phase-drawing...
6007
6008 2003-03-21 André Pönitz <poenitz@gmx.net>
6009
6010         * lyxtextclass.C: read 'environment' tag.
6011
6012 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6013
6014         * text2.C (removeRow): fix bug 964
6015
6016 2003-03-20  John Levon  <levon@movementarian.org>
6017
6018         * rowpainter.C:
6019         * text.C:
6020         * text2.C: paint cleanups. Inset::update() dropped font
6021         parameter
6022
6023 2003-03-19  John Levon  <levon@movementarian.org>
6024
6025         * lyxfunc.C: only fitcursor/markDirty if available()
6026
6027 2003-03-19  John Levon  <levon@movementarian.org>
6028
6029         * commandtags.h: rename to ...
6030
6031         * lfuns.h: ... this, and renumber / cleanup
6032
6033 2003-03-19  John Levon  <levon@movementarian.org>
6034
6035         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6036         fit the cursor after an lfun
6037
6038         * BufferView.h:
6039         * BufferView.C:
6040         * BufferView_pimpl.h:
6041         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6042
6043         * LyXAction.C: layout-character should have ReadOnly
6044
6045         * ParagraphParameters.C:
6046         * buffer.C:
6047         * bufferview_funcs.C:
6048         * lyx_cb.C:
6049         * lyxfind.C:
6050         * lyxtext.h:
6051         * text.C:
6052         * text2.C:
6053         * text3.C:
6054         * undo_funcs.C: changes from above
6055
6056 2003-03-18  John Levon  <levon@movementarian.org>
6057
6058         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6059         remove it from update()
6060
6061         * lyxfunc.C: update layout choice after an lfun
6062
6063         * text3.C: remove extra updateLayoutChoice()s
6064
6065 2003-03-18  John Levon  <levon@movementarian.org>
6066
6067         * text.C: top_y change means full repaint, fix
6068         a drawing bug with cursor movement
6069
6070 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6071
6072         * lyxtext.h:
6073         * text.C:
6074         * text2.C: anchor row on setCursor
6075
6076 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6077
6078         * lyxtext.h: remove almost all mutable keywords
6079         * text.C:
6080         * text2.C:
6081         * text3.C: remove const keywords accordingly
6082
6083 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6084
6085         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6086         anon namespace
6087         (TeXEnvironment): ditto
6088         (TeXOnePar): ditto
6089
6090 2003-03-17  John Levon  <levon@movementarian.org>
6091
6092         * text.C (rowBreakPoint): remove attempt to fix displayed
6093         math insets inside a manual label
6094
6095 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6096
6097         * lyxtext.h: remove BufferView* as first arg from almost all class
6098         functions.
6099         * other files: adjust.
6100
6101 2003-03-17  John Levon  <levon@movementarian.org>
6102
6103         * lyxtext.h:
6104         * undo_funcs.C:
6105         * text2.C: more paint cleanups
6106
6107         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6108
6109         * rowpainter.h:
6110         * rowpainter.C: remove "smart" background painting code
6111
6112 2003-03-16  John Levon  <levon@movementarian.org>
6113
6114         * lyxtext.h:
6115         * text.C:
6116         * text2.C:
6117         * text3.C: add helper functions for setting refresh_row/y
6118
6119 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6120
6121         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6122         newline inset which *can* get inserted in the pass_thru layouts.
6123         This is primarily for literate documents.
6124
6125 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6126
6127         * buffer.C: increment LYX_FORMAT to 223
6128
6129 2003-03-14 André Pönitz <poenitz@gmx.net>
6130
6131         * textclass.h: prepare for environment handling, ws changes
6132         * lyxlayout.C: read latexheader and latexfooter tags
6133
6134 2003-03-14  John Levon  <levon@movementarian.org>
6135
6136         * text2.C: rewrite ::status() a bit
6137
6138 2003-03-13  John Levon  <levon@movementarian.org>
6139
6140         * lyxtext.h: add some docs
6141
6142 2003-03-13  John Levon  <levon@movementarian.org>
6143
6144         * lyxtext.h:
6145         * text.C:
6146         * text2.C:
6147         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6148
6149 2003-03-13  John Levon  <levon@movementarian.org>
6150
6151         * text3.C: fix appendix redrawing
6152
6153 2003-03-13  John Levon  <levon@movementarian.org>
6154
6155         * text.C (setHeightOfRow):
6156         * rowpainter.h:
6157         * rowpainter.C: make appendix mark have the text
6158           "Appendix" so the user knows what it is
6159
6160         * LColor.h:
6161         * LColor.C: s/appendixline/appendix/ from above
6162
6163 2003-03-13  John Levon  <levon@movementarian.org>
6164
6165         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6166
6167         * text.C: fix a getChar(pos) bug properly
6168
6169 2003-03-13  Angus Leeming  <leeming@lyx.org>
6170
6171         * commandtags.h:
6172         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6173         Probably only temporary. Let's see how things pan out.
6174
6175         * BufferView.C (unlockInset):
6176         * BufferView_pimpl.C (fitCursor):
6177         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6178
6179         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6180         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6181
6182         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6183         new functions that convert ParagraphParameters to and from a string.
6184
6185         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6186         BufferView::Pimpl's dispatch.
6187         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6188
6189 2003-03-13 André Pönitz <poenitz@gmx.net>
6190
6191         * lyxfunc.C:
6192         * text3.C:
6193         * factory.C: make it aware of InsetEnv
6194
6195 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6196
6197         * text2.C (setCursor): never ask for one past last
6198         (setCursor): add some debugging messages.
6199
6200         * text.C (singleWidth): never ask for one past last
6201         (singleWidth): ditto
6202         (leftMargin): ditto
6203         (rightMargin): ditto
6204         (rowBreakPoint): ditto
6205         (setHeightOfRow): ditto
6206         (prepareToPrint): ditto
6207
6208         * rowpainter.C (paintBackground): never ask for one past last
6209         (paintText): never ask for one past last
6210
6211         * paragraph_pimpl.C (getChar): make the assert stricter, never
6212         allow the one past last pos to be taken
6213
6214         * paragraph.C (getChar): ws changes only
6215
6216         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6217         (numberOfSeparators): ditto
6218         (numberOfHfills): ditto
6219
6220 2003-03-12  John Levon  <levon@movementarian.org>
6221
6222         * author.h:
6223         * author.C:
6224         * bufferparams.h:
6225         * bufferparams.C:
6226         * paragraph_funcs.C: fix per-buffer authorlists
6227
6228 2003-03-12  John Levon  <levon@movementarian.org>
6229
6230         * text.C: fix newline in right address
6231
6232 2003-03-12  Angus Leeming  <leeming@lyx.org>
6233
6234         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6235         duplicate those in LyXFunc::dispatch.
6236
6237         * commandtags.h:
6238         * LyXAction.C:
6239         * ToolbarDefaults.C:
6240         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6241         Add LFUN_FONTFREE_UPDATE.
6242
6243         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6244         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6245
6246         * bufferview_func.[Ch]: several new functions to facilliate
6247         transfer of data to and from the character dialog.
6248
6249 2003-03-12  John Levon  <levon@movementarian.org>
6250
6251         * buffer.C:
6252         * paragraph.h:
6253         * paragraph.C:
6254         * paragraph_funcs.C:
6255         * paragraph_pimpl.C:
6256         * sgml.C:
6257         * tabular.C:
6258         * text.C:
6259         * text3.C: remove META_NEWLINE in favour of an inset
6260
6261         * rowpainter.h:
6262         * rowpainter.C: remove paintNewline (done by inset)
6263
6264 2003-03-12  John Levon  <levon@movementarian.org>
6265
6266         * paragraph_pimpl.C: complain about bad getChar()s
6267         for a while at least
6268
6269 2003-03-12  John Levon  <levon@movementarian.org>
6270
6271         * buffer.h:
6272         * buffer.C: move paragraph read into a separate function,
6273         a little renaming to reflect that.
6274
6275         * bufferparams.h:
6276         * bufferparams.C: remove the author_ids map, not necessary now
6277
6278         * factory.h:
6279         * factory.C: moved Buffer::readInset to here
6280
6281         * paragraph_funcs.h:
6282         * paragraph_funcs.C: readParagraph free function moved from
6283         buffer.C
6284
6285         * tabular.C: name change
6286
6287 2003-03-12  John Levon  <levon@movementarian.org>
6288
6289         * buffer.C:
6290         * ParagraphParameters.C: move par params input to
6291         a read() method
6292
6293         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6294         behave like a normal read from the stream wrt reading
6295         a line vs. a \\token
6296
6297 2003-03-12  John Levon  <levon@movementarian.org>
6298
6299         * paragraph.C:
6300         * ParagraphParameters.h:
6301         * ParagraphParameters.C: move output code to a
6302         ::write() method
6303
6304 2003-03-12  John Levon  <levon@movementarian.org>
6305
6306         * BufferView.C (insertLyXFile):
6307         * buffer.h:
6308         * buffer.C:
6309         * tabular.C: use a parlist iterator for creating the
6310           document.
6311
6312 2003-03-12  John Levon  <levon@movementarian.org>
6313
6314         * buffer.C: make current_change static local not
6315           static file-scope
6316
6317 2003-03-12  John Levon  <levon@movementarian.org>
6318
6319         * buffer.C: fix insertStringAsLines for change tracking
6320
6321 2003-03-12  John Levon  <levon@movementarian.org>
6322
6323         * BufferView.C:
6324         * tabular.C:
6325         * buffer.h:
6326         * buffer.C:
6327         * bufferparams.h:
6328         * bufferparams.C: move author list into params. Rename some
6329           functions. Move the header reading into a separate token
6330           loop. Move the header token reading into BufferParams.
6331
6332 2003-03-12  John Levon  <levon@movementarian.org>
6333
6334         * changes.C: put debug inside lyxerr.debugging() checks
6335
6336 2003-03-11 André Pönitz <poenitz@gmx.net>
6337
6338         * factory.C: make it aware of InsetHFill
6339
6340 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6341
6342         * buffer.C (latexParagraphs): move function from here...
6343         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6344         args.
6345
6346 2003-03-10  Angus Leeming  <leeming@lyx.org>
6347
6348         * LyXAction.C (init): fix bug in poplating array with multiple entries
6349         with the same LFUN (spotted by JMarc).
6350
6351 2003-03-10  John Levon  <levon@movementarian.org>
6352
6353         * text.C:
6354         * text2.C: move getColumnNearX() near its
6355         only call site
6356
6357 2003-03-10  John Levon  <levon@movementarian.org>
6358
6359         * text.C: fix break before a minipage
6360
6361 2003-03-10  John Levon  <levon@movementarian.org>
6362
6363         * text.C: fix the last commit
6364
6365 2003-03-09  John Levon  <levon@movementarian.org>
6366
6367         * lyxtext.h:
6368         * text.C:
6369         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6370         bug 365 (don't break before insets unless needed). Don't
6371         return a value > last under any circumstances.
6372
6373 2003-03-09  Angus Leeming  <leeming@lyx.org>
6374
6375         * BufferView_pimpl.C (trackChanges, dispatch): call
6376         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6377
6378 2003-03-09  Angus Leeming  <leeming@lyx.org>
6379
6380         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6381         than Dialogs::showAboutlyx().
6382
6383 2003-03-09  Angus Leeming  <leeming@lyx.org>
6384
6385         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6386         than Dialogs::showTabularCreate().
6387
6388 2003-03-09  John Levon  <levon@movementarian.org>
6389
6390         * lyxtext.h:
6391         * text.C:
6392         * text2.C: 3rd arg to nextBreakPoint was always the same.
6393           Use references.
6394
6395 2003-03-08  John Levon  <levon@movementarian.org>
6396
6397         * lyxrow.C:
6398         * paragraph.C:
6399         * paragraph.h:
6400         * rowpainter.C:
6401         * text.C:
6402         * text2.C: Remove the "main" bit from the "main body"
6403           notion.
6404
6405 2003-03-08  John Levon  <levon@movementarian.org>
6406
6407         * text.C (leftMargin): The left margin of an empty
6408         manual label paragraph should not include the label width
6409         string length.
6410
6411         * text.C (prepareToPrint): don't attempt to measure hfills
6412         for empty manual label paragraphs - the answer should be 0
6413
6414 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6415
6416         * CutAndPaste.C: remove commented code and reindent.
6417
6418 2003-03-08  John Levon  <levon@movementarian.org>
6419
6420         * lyxfunc.h:
6421         * lyxfunc.C: move reloadBuffer()
6422
6423         * BufferView.h:
6424         * BufferView.C: to here
6425
6426         * lyxvc.C: add comment
6427
6428         * vc-backend.h:
6429         * vc-backend.C: call bv->reload() to avoid
6430           getStatus() check on MENURELOAD
6431
6432 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6433
6434         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6435         to an old format .dep file.
6436
6437 2003-03-07  Angus Leeming  <leeming@lyx.org>
6438
6439         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6440         when the LFUN_MOUSE_RELEASE should have been handled by
6441         inset->localDispatch.
6442
6443 2003-03-07  Angus Leeming  <leeming@lyx.org>
6444
6445         * BufferView_pimpl.C (dispatch):
6446         * LyXAction.C (init):
6447         * ToolbarDefaults.C (init):
6448         * commandtags.h:
6449         * lyxfunc.C (getStatus):
6450         remove LFUN_INSET_GRAPHICS.
6451
6452         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6453
6454 2003-03-07  Angus Leeming  <leeming@lyx.org>
6455
6456         * commandtags.h:
6457         * LyXAction.C (init):
6458         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6459
6460         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6461
6462         * commandtags.h:
6463         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6464
6465         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6466         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6467
6468 2003-03-07  Angus Leeming  <leeming@lyx.org>
6469
6470         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6471         remove "ert".
6472
6473 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6474
6475         * ParagraphList.C (front): new function
6476         (back): implement
6477
6478 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6479
6480         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6481         and top_row_offset_. removed var first_y.
6482         * text.C (top_y):
6483         * text2.C (LyXText, removeRow):
6484         * text3.C:
6485         * BufferView_pimpl.C:
6486         use these methods instead of using first_y
6487
6488 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6489
6490         * text2.C (pasteSelection): adjust for checkPastePossible
6491
6492         * CutAndPaste.C: remove Paragraph * buf and replace with
6493         ParagraphList paragraphs.
6494         (DeleteBuffer): delete
6495         (cutSelection): change the tc type to textclass_type
6496         (copySelection): change the tc type to textclass_type
6497         (copySelection): adjust for ParagraphList
6498         (pasteSelection): change the tc type to textclass_type
6499         (pasteSelection): adjust for Paragraphlist
6500         (nrOfParagraphs): simplify for ParagraphList
6501         (checkPastePossible): simplify for ParagraphList
6502         (checkPastePossible): remove unused arg
6503
6504         * ParagraphList.C (insert): handle the case where there are no
6505         paragraphs yet.
6506
6507         * CutAndPaste.h: make CutAndPaste a namespace.
6508
6509         * text3.C (dispatch): adjust
6510
6511         * text.C (breakParagraph): add a ParagraphList as arg
6512
6513         * paragraph_funcs.C (breakParagraph): change to take a
6514         BufferParams and a ParagraphList as args.
6515         (breakParagraphConservative): ditto
6516         (mergeParagraph): ditto
6517         (TeXDeeper): add a ParagraphList arg
6518         (TeXEnvironment): ditto
6519         (TeXOnePar): ditto
6520
6521         * buffer.C (readLyXformat2): adjust
6522         (insertStringAsLines): adjust
6523         (latexParagraphs): adjust
6524
6525         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6526         (cutSelection): adjust
6527         (pasteSelection): adjust
6528
6529         * BufferView_pimpl.C (insertInset): adjust
6530
6531 2003-03-05  Angus Leeming  <leeming@lyx.org>
6532
6533         * commandtags.h:
6534         * LyXAction.C (init):
6535         * BufferView_pimpl.C (dispatch):
6536         * lyxfunc.C (getStatus):
6537         remove LFUN_CHILD_INSERT.
6538
6539         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6540
6541 2003-03-05  Angus Leeming  <leeming@lyx.org>
6542
6543         * commandtags.h:
6544         * LyXAction.C (init):
6545         * src/factory.C (createInset):
6546         * lyxfunc.C (getStatus):
6547         * text3.C (dispatch):
6548         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6549
6550         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6551
6552 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6553
6554         * ParagraphList.C (insert): handle insert right before end()
6555         (erase): fix cases where it can be first or last paragraph.
6556
6557 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6558
6559         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6560         Paragraph::next and Paragraph::previous
6561         (TeXOnePar): ditto
6562
6563         * text.C (breakParagraph): adjust
6564
6565         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6566         BufferParams& as arg.
6567         (breakParagraph): use ParagraphList::insert
6568         (breakParagraphConservative): take a Buffer* instead of a
6569         BufferParams& as arg.
6570         (breakParagraphConservative): use ParagraphList::insert.
6571
6572         * buffer.C (insertStringAsLines): un-const it
6573         (insertStringAsLines): adjust
6574
6575         * ParagraphList.C (insert): new function
6576
6577         * CutAndPaste.C (pasteSelection): adjust
6578
6579         * text.C (backspace): adjust
6580
6581         * tabular.C (SetMultiColumn): adjust
6582
6583         * CutAndPaste.C (cutSelection): adjust
6584         (pasteSelection): adjust
6585
6586         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6587         Buffer const * as arg
6588
6589         * ParagraphList.C (erase): new function
6590         * paragraph_funcs.C (mergeParagraph): use it
6591         (mergeParagraph): make it take a Buffer* instead of a
6592         BufferParams* as arg
6593
6594         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6595         as arg
6596         (breakParagraphConservative): ditto
6597
6598         * paragraph.h: remove the breakParagraph friend
6599
6600         * paragraph.C (eraseIntern): new function
6601         (setChange): new function
6602
6603         * paragraph_funcs.C (mergeParagraph): make it take a
6604         ParagraphList::iterator instead of a Paragraph *, adjust
6605         accordingly.
6606
6607         * paragraph.h: move an #endif so that the change tracking stuff
6608         also works in the NO_NEXT case.
6609
6610 2003-03-04  Angus Leeming  <leeming@lyx.org>
6611
6612         * commandtags.h:
6613         * LyXAction.C: new LFUN_INSET_MODIFY.
6614
6615         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6616         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6617
6618 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6619
6620         * several files: ws changes only
6621
6622         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6623         (TeXEnvironment): ditto
6624         (TeXDeeper): ditto
6625
6626         * buffer.C (makeLaTeXFile): adjust
6627         (latexParagraphs): make it take ParagraphList::iterator as args
6628
6629 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6630
6631         * buffer.C (latexParagraphs): adjust
6632
6633         * paragraph.C (TeXOnePar): move function...
6634         (optArgInset): move function...
6635         (TeXEnvironment): move function...
6636         * paragraph_pimpl.C (TeXDeeper): move function...
6637         * paragraph_funcs.C: ...here
6638
6639         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6640
6641 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6642
6643         * buffer.C (readInset): remove compability code for old Figure and
6644         InsetInfo insets
6645
6646 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6647
6648         * buffer.C: ws changes
6649         (readInset):
6650
6651         * BufferView_pimpl.C: ditto
6652         * author.C: ditto
6653         * buffer.h: ditto
6654         * bufferlist.h: ditto
6655         * changes.h: ditto
6656         * lyxfunc.C: ditto
6657
6658 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6659
6660         * converter.[Ch]: split into itself +
6661         * graph.[Ch]
6662         * format.[Ch]
6663         * Makefile.am: += graph.[Ch] + format.[Ch]
6664         * MenuBackend.C
6665         * buffer.C
6666         * exporter.C
6667         * importer.C
6668         * lyx_main.C
6669         * lyxfunc.C
6670         * lyxrc.C: added #include "format.h"
6671
6672 2003-02-27  Angus Leeming  <leeming@lyx.org>
6673
6674         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6675           a label.
6676
6677         * factory.C (createInset): add "label" to the factory.
6678
6679         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6680           string and do no more.
6681
6682 2003-02-27  Angus Leeming  <leeming@lyx.org>
6683
6684         * commandtags.h:
6685         * LyXAction.C (init):
6686         * factory.C (createInset):
6687         * BufferView_pimpl.C (dispatch):
6688           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6689
6690         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6691
6692         * lyxfunc.C (dispatch):
6693         * text3.C (dispatch): pass name to params2string.
6694
6695 2003-02-26  Angus Leeming  <leeming@lyx.org>
6696
6697         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6698           blocks together.
6699           Rearrange the ~includes. Strip out the unnecessary ones.
6700
6701         * factory.C (createInset): reformat.
6702           create new insets for the various LFUN_XYZ_APPLY lfuns.
6703
6704 2003-02-26  John Levon  <levon@movementarian.org>
6705
6706         * lyxrow.h:
6707         * lyxrow.C: add isParStart,isParEnd helpers
6708
6709         * paragraph.h: make isInserted/DeletedText take refs
6710
6711         * paragraph_funcs.h:
6712         * paragraph_funcs.C: remove #if 0'd code
6713
6714         * lyxtext.h:
6715         * text3.C:
6716         * text2.C:
6717         * text.C: use lyxrow helpers above.
6718           Move draw and paint routines to RowPainter.
6719           Make several methods use refs not pointers.
6720           Make backgroundColor() const.
6721           Add markChangeInDraw(), isInInset().
6722           Merge changeRegionCase into changeCase.
6723           Make workWidth() shouldn't-happen code into an Assert.
6724
6725         * rowpainter.h:
6726         * rowpainter.C: new class for painting a row.
6727
6728         * vspace.h:
6729         * vspace.C: make inPixels take a ref
6730
6731 2003-02-26  Angus Leeming  <leeming@lyx.org>
6732
6733         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6734         LFUN_REF_APPLY.
6735
6736 2003-02-25  John Levon  <levon@movementarian.org>
6737
6738         * ispell.C: give the forked command a more accurate name
6739
6740 2003-02-22  John Levon  <levon@movementarian.org>
6741
6742         * toc.h:
6743         * toc.C: make TocItem store an id not a Paragraph *
6744           (bug #913)
6745
6746 2003-02-21  Angus Leeming  <leeming@lyx.org>
6747
6748         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6749           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6750           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6751           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6752           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6753           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6754
6755         * BufferView_pimpl.C (dispatch):
6756         * LyXAction.C (init):
6757         * factory.C (createInset):
6758         * lyxfunc.C (getStatus, dispatch):
6759         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6760
6761 2003-02-21  Angus Leeming  <leeming@lyx.org>
6762
6763         * BufferView_pimpl.C (MenuInsertLyXFile):
6764         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6765         * lyxfunc.C (menuNew, open, doImport):
6766           no longer pass a LyXView & to fileDlg.
6767
6768 2003-02-21  Angus Leeming  <leeming@lyx.org>
6769
6770         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6771         * LyXAction.C: change, BIBKEY to BIBITEM.
6772         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6773         Change InsetBibKey to InsetBibitem.
6774         Change BIBKEY_CODE to BIBITEM_CODE.
6775         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6776         * factory.C: replace insetbib.h with insetbibitem.h.
6777         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6778         * paragraph.C: replace insetbib.h with insetbibitem.h.
6779         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6780         Change bibkey() to bibitem().
6781         * text.C: remove insetbib.h.
6782         * text2.C: replace insetbib.h with insetbibitem.h.
6783         change bibkey() to bibitem().
6784         * text3.C: remove insetbib.h.
6785         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6786
6787 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6788
6789         * lyxrc.C (output): enclose user email in quotes (in case there are
6790         several words)
6791
6792 2003-02-18  John Levon  <levon@movementarian.org>
6793
6794         * buffer.h: add std::
6795
6796 2003-02-17  John Levon  <levon@movementarian.org>
6797
6798         * SpellBase.h:
6799         * ispell.h:
6800         * ispell.C:
6801         * pspell.h:
6802         * pspell.C: reworking. Especially in ispell, a large
6803           number of clean ups and bug fixes.
6804
6805         * lyxfunc.C: fix revert to behave sensibly
6806
6807 2003-02-17 André Pönitz <poenitz@gmx.net>
6808
6809         * LyXAction.C:
6810         * commandtags.h: new LFUN_INSERT_BIBKEY
6811
6812         * layout.h:
6813         * lyxlayout.C:
6814         * buffer.C:
6815         * factory.C:
6816         * text.C:
6817         * text2.C:
6818         * text3.C:
6819         * paragraph.[Ch]:
6820         * paragraph_func.C: remove special bibkey handling
6821
6822 2003-02-17  John Levon  <levon@movementarian.org>
6823
6824         * text.C (Delete): fix case where delete at the end of
6825           the very first paragraph would not merge the pars
6826
6827 2003-02-17  John Levon  <levon@movementarian.org>
6828
6829         * lyxrow.C: fix lastPrintablePos()
6830
6831 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6832
6833         * bufferparams.C (writeLaTeX): add a std:here
6834
6835         * buffer.C: and remove a using directive there
6836
6837 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6838
6839         * buffer.C (makeLaTeXFile): move the code that generates the
6840           preamble...
6841
6842         * bufferparams.C (writeLaTeX): ... in this new method
6843
6844         * LaTeXFeatures.C (getEncodingSet): make const
6845           (getLanguages): make const
6846
6847         * MenuBackend.C (binding): returns the binding associated to this
6848           action
6849           (add): sets the status of each item by calling getStatus. Adds
6850           some intelligence.
6851           (read): add support for OptSubMenu
6852           (expand): remove extra separator at the end of expanded menu
6853
6854 2003-02-15  John Levon  <levon@movementarian.org>
6855
6856         * BufferView.C:
6857         * BufferView_pimpl.C:
6858         * bufferlist.h:
6859         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6860           inset code that had no actual effect. Remove unneeded status
6861           code.
6862
6863 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6864
6865         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6866           in preamble
6867
6868 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6869
6870         * text.C (drawLengthMarker): also draw an arrow marker for
6871           symbolic lengths (medskip...)
6872
6873 2003-02-14  John Levon  <levon@movementarian.org>
6874
6875         * tabular.h:
6876         * tabular.C: better method names
6877
6878 2003-02-14  John Levon  <levon@movementarian.org>
6879
6880         * BufferView_pimpl.C:
6881         * bufferlist.C:
6882         * buffer.C:
6883         * converter.C:
6884         * lyx_cb.C:
6885         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6886           it's a more accurate name. Remove some pointless uses.
6887
6888 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6889
6890         * text2.C (LyXText): change order of initilizers to shut off
6891           warnings
6892
6893 2003-02-14  John Levon  <levon@movementarian.org>
6894
6895         * buffer.C: use ParIterator for getParFromID()
6896
6897         * paragraph.h:
6898         * paragraph.C:
6899         * paragraph_pimpl.h:
6900         * paragraph_pimpl.C: remove unused getParFromID()
6901
6902 2003-02-14  John Levon  <levon@movementarian.org>
6903
6904         * buffer.C: remove some very old #if 0'd parse code
6905
6906 2003-02-13  John Levon  <levon@movementarian.org>
6907
6908         * text.h:
6909         * text.C:
6910         * text2.C: move hfillExpansion(), numberOfSeparators(),
6911           rowLast(), rowLastPrintable(), numberofHfills(),
6912           numberOfLabelHfills() ...
6913
6914         * lyxrow.h:
6915         * lyxrow.C: ... to member functions here.
6916
6917         * paragraph.h:
6918         * paragraph.C:
6919         * lyxtext.h:
6920         * text.C: remove LyXText::beginningOfMainBody(), and call
6921           p->beginningOfMainBody() directly. Move the check for
6922           LABEL_MANUAL into the latter.
6923
6924         * text.h:
6925         * text.C:
6926         * text2.C:
6927         * vspace.C:
6928         * BufferView.h:
6929         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6930
6931         * text.h:
6932         * text.C:
6933         * text2.C:
6934         * text3.C:
6935         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6936           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6937
6938 2003-02-13  John Levon  <levon@movementarian.org>
6939
6940         * CutAndPaste.C: remove debug
6941
6942 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6943
6944         * paragraph.C (asString): remove two unused variables
6945
6946         * lyxtextclass.C (readTitleType):
6947           (Read):
6948           (LyXTextClass): handle new members titletype_ and titlename_
6949
6950         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6951
6952 2003-02-09  John Levon  <levon@movementarian.org>
6953
6954         * buffer.h:
6955         * buffer.C: replace hand-coded list with a map for the dep clean
6956
6957 2003-02-08  John Levon  <levon@movementarian.org>
6958
6959         * LaTeX.C: consolidate code into showRunMessage() helper
6960
6961 2003-02-08  John Levon  <levon@movementarian.org>
6962
6963         * lyxfind.C:
6964         * lyxtext.h:
6965         * text2.C:
6966         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6967           and pass the size in explicitly
6968
6969         * BufferView_pimpl.h:
6970         * BufferView_pimpl.C:
6971         * BufferView.h:
6972         * BufferView.C: add getCurrentChange()
6973
6974         * BufferView_pimpl.h:
6975         * BufferView_pimpl.C: handle change lfuns
6976
6977         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6978           for changes. Mark pasted paragraphs as new.
6979
6980         * support/lyxtime.h:
6981         * support/lyxtime.C:
6982         * DepTable.C: abstract time_t as lyx::time_type
6983
6984         * LColor.h:
6985         * LColor.C: add colours for new text, deleted text, changebars
6986
6987         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6988           package use "usenames" option.
6989
6990         * commandtags.h:
6991         * lyxfunc.C:
6992         * LyXAction.C: add change lfuns
6993
6994         * Makefile.am:
6995         * author.h:
6996         * author.C: author handling
6997
6998         * buffer.h:
6999         * buffer.C: add a per-buffer author list, with first entry as
7000           current author. Handle new .lyx tokens for change tracking. Output
7001           author list to .lyx file. Output dvipost stuff to .tex preamble.
7002           Bump lyx format to 222.
7003
7004         * bufferlist.h:
7005         * bufferlist.C: add setCurrentAuthor() to reset current author details
7006           in all buffers.
7007
7008         * bufferparams.h:
7009         * bufferparams.C: add param for tracking
7010
7011         * bufferview_funcs.C: output change info in minibuffer
7012
7013         * Makefile.am:
7014         * changes.h:
7015         * changes.C: add change-tracking structure
7016
7017         * debug.h:
7018         * debug.C: add CHANGES debug flag
7019
7020         * lyxfind.h:
7021         * lyxfind.C: add code for finding the next change piece
7022
7023         * lyxrc.h:
7024         * lyxrc.C: add user_name and user_email
7025
7026         * lyxrow.h:
7027         * lyxrow.C: add a metric for the top of the text line
7028
7029         * lyxtext.h:
7030         * text.C: implement accept/rejectChange()
7031
7032         * lyxtext.h:
7033         * text.C: paint changebars. Paint new/deleted text in the chosen
7034         colours. Strike through deleted text.
7035
7036         * paragraph.h:
7037         * paragraph.C:
7038         * paragraph_pimpl.h:
7039         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7040           in the current change to the insert functions. Rework erase to
7041           mark text as deleted, adding an eraseIntern() and a range-based
7042           erase(). Implement per-paragraph change lookup and
7043           accept/reject.
7044
7045         * paragraph_funcs.C: Fixup paste for change tracking.
7046
7047         * tabular.C: mark added row/columns as new.
7048
7049         * text.C: fix rowLast() to never return -1. Don't allow
7050           spellchecking of deleted text. Track transpose changes. Don't
7051           allow paragraph break or merge where appropriate.
7052
7053         * text2.C: leave cursor at end of selection after a cut.
7054
7055 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7056
7057         * text.C (getLengthMarkerHeight):
7058         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7059         visible on screen too.
7060
7061 2003-02-07  John Levon  <levon@movementarian.org>
7062
7063         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7064
7065 2003-02-05  Angus Leeming  <leeming@lyx.org>
7066
7067         * lyxserver.C (read_ready): revert my patch of 11 September last year
7068         as it sends PC cpu through the roof. Presumably this means that
7069         the lyxserver will no longer run on an Alpha...
7070
7071 2003-01-30  Angus Leeming  <leeming@lyx.org>
7072
7073         * factory.C (createInset): create an InsetCommandParam of type "index"
7074         and use it to 'do the right thing'.
7075
7076         * text2.C (getStringToIndex): ensure that cursor position is always
7077         reset to the reset_cursor position.
7078
7079 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7080
7081         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7082         disabled.
7083
7084 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7085
7086         * bufferview.C:
7087         * lyxcb.C:
7088         * lyxfunc.C: Output messages with identical spelling, punctuation,
7089         and spaces
7090
7091 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7092
7093         * MenuBackend.C (expandFormats): List only viewable export formats
7094         in "View" menu
7095
7096         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7097         message
7098
7099         * lyxfunc.C (getStatus): Make sure that formats other than
7100         "fax" can also be disabled
7101
7102 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7103
7104         * text3.C (dispatch): put the lfuns that insert insets in 3
7105         groups, and call doInsertInset with appropriate arguments.
7106         (doInsertInset): new function, that creates an inset and inserts
7107         it according to some boolean parameters.
7108
7109 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7110
7111         * buffer.C (readFile): remember to pass on 'par' when calling
7112         readFile recursively.
7113
7114 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7115
7116         * MenuBackend.C (expandFormats): add "..." to import formats.
7117
7118 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7119
7120         * paragraph.C (asString): Remove XForms RTL hacks.
7121
7122 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7123         * buffer.C: fix typo
7124
7125 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7126
7127         * Makefile.am (LIBS): delete var
7128         (lyx_LDADD): add @LIBS@ here instead.
7129
7130 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7131
7132         * Clarify the meaning of "wheel mouse jump"
7133
7134 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7135
7136         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7137         tabular in a float
7138
7139 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7140
7141         * importer.C (Loaders): do not preallocate 3 elements in the
7142         vector, since one ends up with 6 elements otherwise
7143
7144 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7145
7146         * DepTable.C (write): write the file name as last element of the
7147         .dep file (because it may contain spaces)
7148         (read): read info in the right order
7149
7150 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7151
7152         * paragraph_pimpl.C (simpleTeXBlanks):
7153         (simpleTeXSpecialChars):
7154         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7155
7156         * tabular.C (latex): add some missing case statements. Reindent.
7157
7158         * MenuBackend.C (expandToc): remove unused variable.
7159
7160 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7161
7162         * LColor.C:
7163         * LaTeX.C:
7164         * LyXAction.C:
7165         * MenuBackend.C:
7166         * buffer.C:
7167         * exporter.C:
7168         * lyxfunc.C:
7169         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7170         and the like.
7171
7172 2003-01-05  John Levon  <levon@movementarian.org>
7173
7174         * BufferView.h:
7175         * BufferView.C: add getEncoding()
7176
7177         * kbsequence.h:
7178         * kbsequence.C: do not store last keypress
7179
7180         * lyxfunc.h:
7181         * lyxfunc.C: store last keypress here instead. Pass encoding
7182           to getISOEncoded()
7183
7184 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7185
7186         * lyx_main.C (init): remove annoying error message when following
7187         symbolic links (bug #780)
7188
7189 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7190
7191         * text.C (insertChar):
7192         * lyxrc.C (getDescription): remove extra spaces
7193
7194 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7195
7196         * lyxrc.C (getDescription): remove extra spaces
7197
7198 2002-12-20  John Levon  <levon@movementarian.org>
7199
7200         * text3.C: hack fix for page up/down across tall rows
7201
7202 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7203
7204         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7205         not been invoked
7206
7207 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7208
7209         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7210         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7211         thesaurus is not compiled in
7212
7213 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7214
7215         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7216
7217 2002-12-16  Angus Leeming  <leeming@lyx.org>
7218
7219         * lyxrc.[Ch]:
7220         * lyx_main.C (init): remove override_x_deadkeys stuff.
7221
7222 2002-12-12  John Levon  <levon@movementarian.org>
7223
7224         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7225           insert. Only remove shift modifier under strict
7226           circumstances.
7227
7228 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7229
7230         * MenuBackend.C (expandToc): fix crash.
7231
7232 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7233
7234         * MenuBackend.C (expandToc): gettext on float names.
7235
7236 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7237
7238         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7239         implement bool empty() [bug 490]
7240
7241 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7242
7243         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7244
7245 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7246
7247         * several files: ws changes
7248
7249 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7250
7251         * text2.C (setCounter): clean up a bit, use boost.format.
7252         (updateCounters): initialize par upon declaration.
7253
7254         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7255         if the layout exists. We do not just store the layout any more.
7256         (SwitchLayoutsBetweenClasses): use boost.format
7257
7258 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7259
7260         * converter.C (convert): if from and to files are the same, use a
7261         temporary files as intermediary
7262
7263 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7264
7265         * commandtags.h:
7266         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7267
7268 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7269
7270         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7271
7272 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7273
7274         * tabular.C (asciiPrintCell): use string(size, char) instead of
7275         explicit loop.
7276
7277         * sgml.C (openTag): fix order of arguments to string constructor
7278         (closeTag): ditto
7279
7280         * lyxfunc.C (dispatch): use boost.format
7281
7282         * lots of files: change "c" -> 'c'
7283
7284 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7285
7286         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7287
7288 2002-11-25  Angus Leeming  <leeming@lyx.org>
7289
7290         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7291
7292         * lyx_main.C (init): compile fix.
7293
7294 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7295
7296         * lyx_cb.C (start): boost.formatify
7297         do not include <iostream>
7298
7299         * lengthcommon.C: ws only
7300
7301         * boost-inst.C,BoostFormat.h: add more explict instantations
7302
7303 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7304
7305         * lots of files: handle USE_BOOST_FORMAT
7306
7307 2002-11-21  John Levon  <levon@movementarian.org>
7308
7309         * pspell.C: fix compile
7310
7311 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7312
7313         * lyxfunc.C (dispatch): use boost::format
7314         (open): ditto
7315         (doImport): ditto
7316
7317         * lyxfont.C (stateText): use boost::format
7318
7319         * lyx_main.C (LyX): use boost::format
7320         (init): ditto
7321         (queryUserLyXDir): ditto
7322         (readRcFile): ditto
7323         (parse_dbg): ditto
7324         (typedef boost::function): use the recommened syntax.
7325
7326         * importer.C (Import): use boost::format
7327
7328         * debug.C (showLevel): use boost::format
7329
7330         * converter.C (view): use boost::format
7331         (convert): ditto
7332         (move): ditto
7333         (scanLog): ditto
7334
7335         * bufferview_funcs.C (currentState): use boost::format
7336
7337         * bufferlist.C (emergencyWrite): use boost::format
7338
7339         * buffer.C (readLyXformat2): use boost::format
7340         (parseSingleLyXformat2Token): ditto
7341
7342         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7343
7344         * LaTeX.C (run): use boost::format
7345
7346         * Chktex.C (scanLogFile): use boost::format
7347
7348         * BufferView_pimpl.C (savePosition): use boost::format
7349         (restorePosition): ditto
7350         (MenuInsertLyXFile): ditto
7351
7352         * BoostFormat.h: help file for explicit instation.
7353
7354 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7355
7356         * tabular.C (latex): Support for block alignment in fixed width
7357         columns.
7358
7359 2002-11-17  John Levon  <levon@movementarian.org>
7360
7361         * BufferView_pimpl.C:
7362         * lyx_cb.C:
7363         * lyxfunc.C: split filedialog into open/save
7364
7365 2002-11-08  Juergen Vigna  <jug@sad.it>
7366
7367         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7368         by my last patch (hopefully).
7369
7370 2002-11-08  John Levon  <levon@movementarian.org>
7371
7372         * iterators.h:
7373         * iterators.C:
7374         * buffer.h:
7375         * buffer.C:
7376         * paragraph.h:
7377         * paragraph.C:
7378         * toc.h:
7379         * toc.C: ParConstIterator, and use it (from Lars)
7380
7381 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7382
7383         * lyxtextclass.[Ch]: revise and add doxygen comments
7384
7385 2002-11-07  John Levon  <levon@movementarian.org>
7386
7387         * text.C: fix progress value for spellchecker
7388
7389         * toc.C: fix navigate menu for insetwrap inside minipage
7390
7391         * paragraph_funcs.C: added FIXME for suspect code
7392
7393 2002-11-07  John Levon  <levon@movementarian.org>
7394
7395         * BufferView_pimpl.C: fix redrawing of insets
7396           on buffer switch
7397
7398 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7399
7400         * text2.C (updateCounters): fix bug 668
7401
7402 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7403
7404         * text3.C (dispatch): Do not make the buffer dirty when moving the
7405         cursor.
7406
7407 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7408
7409         * vc-backend.C: STRCONV
7410         (scanMaster): ditto
7411
7412         * text2.C (setCounter): STRCONV
7413
7414         * paragraph.C (asString): STRCONV
7415
7416         * lyxlength.C (asString): STRCONV
7417         (asLatexString): ditto
7418
7419         * lyxgluelength.C (asString): STRCONV
7420         (asLatexString): ditto
7421
7422         * lyxfunc.C (dispatch): STRCONV
7423         (open): ditto
7424
7425         * lyxfont.C (stateText): STRCONV
7426
7427         * importer.C (Import): STRCONV
7428
7429         * counters.C (labelItem): STRCONV
7430         (numberLabel): ditto
7431         (numberLabel): remove unused ostringstream o
7432
7433         * chset.C: STRCONV
7434         (loadFile): ditto
7435
7436         * bufferview_funcs.C (currentState): STRCONV
7437
7438         * buffer.C (readFile): STRCONV
7439         (asciiParagraph): ditto
7440         (makeLaTeXFile): ditto
7441
7442         * Spacing.C (writeEnvirBegin): STRCONV
7443
7444         * LaTeXFeatures.C (getLanguages): STRCONV
7445         (getPackages): ditto
7446         (getMacros): ditto
7447         (getBabelOptions): ditto
7448         (getTClassPreamble): ditto
7449         (getLyXSGMLEntities): ditto
7450         (getIncludedFiles): ditto
7451
7452         * LaTeX.C: STRCONV
7453         (run): ditto
7454         (scanAuxFile): ditto
7455         (deplog): ditto
7456
7457         * LString.h: add the STRCONV macros
7458
7459         * BufferView_pimpl.C (savePosition): STRCONV
7460         (restorePosition): ditto
7461         (MenuInsertLyXFile): ditto
7462
7463         * vc-backend.C (scanMaster): change from submatch[...] to
7464         submatch.str(...)
7465
7466         * funcrequest.C: include config.h
7467
7468         * factory.C: include config.h
7469
7470         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7471
7472         * box.C: include config.h
7473
7474         * LaTeX.C (scanAuxFile): change from submatch[...] to
7475         submatch.str(...)
7476         (deplog): ditto
7477
7478 2002-10-25  Angus Leeming  <leeming@lyx.org>
7479
7480         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7481
7482         * ispell.[Ch] (setError): new method.
7483         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7484         Use setError() insetead of goto END.
7485
7486         * lyx_cb.C (AutoSave): move out child process into new class
7487         AutoSaveBuffer.
7488
7489 2002-10-30  John Levon  <levon@movementarian.org>
7490
7491         * text3.C: make start appendix undoable
7492
7493 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7494
7495         * lyxlength.C (inPixels): Fix returned value.
7496
7497         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7498         environment.
7499
7500 2002-10-24  Angus Leeming  <leeming@lyx.org>
7501
7502         * lyxgluelength.h: no need to forward declare BufferParams
7503         or BufferView, so don't.
7504
7505 2002-10-21  John Levon  <levon@movementarian.org>
7506
7507         * BufferView.C: menuUndo ->undo, redo
7508
7509         * BufferView.h: document, remove dead, make some methods private
7510
7511         * paragraph_funcs.h:
7512         * paragraph_funcs.C:
7513         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7514
7515         * buffer.h:
7516         * buffer.C:
7517         * sgml.h:
7518         * sgml.C: move sgml open/close tag into sgml.C
7519
7520         * bufferview_funcs.h: unused prototype
7521
7522         * lyxfunc.h:
7523         * lyxfunc.C: remove unused
7524
7525         * lyxtext.h:
7526         * text.C: remove unused
7527
7528 2002-10-21  John Levon  <levon@movementarian.org>
7529
7530         * BufferView.h:
7531         * BufferView.C:
7532         * BufferView_pimpl.h:
7533         * BufferView_pimpl.C: fix mouse wheel handling based on
7534           patch from Darren Freeman
7535
7536 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7537
7538         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7539
7540 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7541
7542         * lyxlength.C (inPixels): Fix hanfling of negative length.
7543         Fix LyXLength::MU case.
7544
7545 2002-10-16  John Levon  <levon@movementarian.org>
7546
7547         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7548
7549 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7550
7551         * converter.C (view): add support for $$i (file name) and $$p
7552         (file path) for the viewer command. If $$i is not specified, then
7553         it is appended to the command (for compatibility with old syntax)
7554
7555 2002-10-14  Juergen Vigna  <jug@sad.it>
7556
7557         * undo_funcs.C (textHandleUndo): alter the order in which the
7558         new undopar is added to the LyXText, as we have to set first
7559         the right prev/next and then add it as otherwise the rebuild of
7560         LyXText is not correct. Also reset the cursor to the right paragraph,
7561         with this IMO we could remove the hack in "redoParagraphs()".
7562
7563 2002-10-09  Angus Leeming  <leeming@lyx.org>
7564
7565         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7566         to turn off an optimisation if a new inset is to be inserted.
7567
7568 2002-10-11 André Pönitz <poenitz@gmx.net>
7569
7570         * lyxtext.h: make some functions public to allow access
7571         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7572
7573 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7574
7575         * text3.C (dispatch): when changing layout, avoid an infinite loop
7576         [bug #652]
7577
7578 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7579
7580         * lyxrc.C (read): treat a viewer or converter command of "none" as
7581         if it were empty.
7582
7583         * MenuBackend.C (expandFormats): for an update, also allow the
7584         formats that are not viewable
7585
7586         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7587         script if it is newer than the lyxrc.defaults in user directory
7588
7589 2002-10-07 André Pönitz <poenitz@gmx.net>
7590
7591         * text.C: Vitaly Lipatov's small i18n fix
7592
7593 2002-09-25  Angus Leeming  <leeming@lyx.org>
7594
7595         * ispell.h: doxygen fix.
7596
7597 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7598
7599         * buffer.h (readFile): Add a new argument to the method, to allow
7600         reading of old-format templates.
7601
7602 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7603
7604         * toc.C (getTocList): Get TOC from InsetWrap.
7605
7606 2002-09-16  John Levon  <levon@movementarian.org>
7607
7608         * lyxfunc.C: check tabular for cut/copy too
7609
7610 2002-09-12  John Levon  <levon@movementarian.org>
7611
7612         * LyXAction.C: tidy
7613
7614         * factory.h:
7615         * factory.C: add header
7616
7617         * paragraph_funcs.h:
7618         * paragraph_funcs.C: cleanup
7619
7620 2002-09-11  John Levon  <levon@movementarian.org>
7621
7622         * PrinterParams.h: odd/even default to true
7623
7624 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7625
7626         * PrinterParams.h: update printer parameters for new xforms dialog
7627
7628 2002-09-11  Angus Leeming  <leeming@lyx.org>
7629
7630         * lyxserver.C (read_ready): re-write to make it more transparent
7631         and to make it work in coherent fashion under Tru64 Unix.
7632
7633 2002-09-11  André Pönitz <poenitz@gmx.net>
7634
7635         * commandtags.h:
7636         * LyXAction.C:
7637         * text3.C: implement LFUN_WORDSEL
7638
7639 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7640
7641         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7642         make floatlist_ a boost::shared_ptr<FloatList>
7643
7644         * lyxtextclass.C: include FloatList.h
7645         (LyXTextClass): initialize floatlist_
7646         (TextClassTags): add TC_NOFLOAT
7647         (Read): match "nofloat" to TC_NOFLOAT and use it.
7648         (readFloat): modify call to floatlist_
7649         (floats): ditto
7650         (floats): ditto
7651
7652         * FloatList.[Ch] (FloatList): remove commented out float
7653         initialization.
7654         (erase): new function
7655
7656 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7657
7658         * MenuBackend.C (expandToc): fix crash when there is no document
7659         open
7660
7661 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7662
7663         * many files: Add insetwrap.
7664
7665 2002-09-09  John Levon  <levon@movementarian.org>
7666
7667         * text2.C: remove confusing and awkward depth wraparound
7668
7669 2002-09-09  John Levon  <levon@movementarian.org>
7670
7671         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7672
7673         * buffer.h:
7674         * buffer.C: remove getIncludeonlyList()
7675
7676         * paragraph.C:
7677         * lyxfunc.C: remove headers
7678
7679 2002-09-09  Juergen Vigna  <jug@sad.it>
7680
7681         * text.C (getColumnNearX): fix form Michael this is most
7682         probably a cut&paste bug.
7683
7684 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7685
7686         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7687
7688         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7689         references, ws changes.
7690
7691         * text2.C (init): update counters after init
7692         (insertParagraph): no need to set counter on idividual paragraphs.
7693         (setCounter): access the counters object in the textclass object
7694         on in the buffer object.
7695         (updateCounters): ditto
7696
7697         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7698         shared_ptr<Counters> to avoid loading counters.h in all
7699         compilation units.
7700         (LyXTextClass): initialize ctrs_
7701         (TextClassTags): add TC_COUNTER, and ...
7702         (Read): use it here.
7703         (CounterTags): new tags
7704         (readCounter): new function
7705         (counters): new funtion
7706         (defaultLayoutName): return a const reference
7707
7708         * counters.C (Counters): remove contructor
7709         (newCounter): remove a couple of unneeded statements.
7710         (newCounter): simplify a bit.
7711         (numberLabel): some small formatting changes.
7712
7713         * buffer.[Ch]: remove all traces of counters, move the Counters
7714         object to the LyXTextClass.
7715
7716 2002-09-06  Alain Castera  <castera@in2p3.fr>
7717
7718         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7719         package to set the horizontal alignment on fixed width columns.
7720
7721         * lyx_sty.C:
7722         * lyx_sty.h: added tabularnewline macro def.
7723
7724         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7725
7726 2002-09-06  John Levon  <levon@movementarian.org>
7727
7728         * LyXAction.C: tooltips for sub/superscript
7729
7730         * MenuBackend.C: a bit more verbose
7731
7732         * lyxfunc.C: tiny clean
7733
7734         * undo_funcs.C: document undo_frozen
7735
7736 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7737
7738         * counters.C (Counters): add missing algorithm counter.
7739
7740         * text2.C (setCounter): lookup the counter with layouts latexname
7741         instead of by section number.
7742         (setCounter): use a hackish way to lookup the correct enum
7743         counter.
7744         a float name->type change
7745         reset enum couners with counter name directly instead of depth value.
7746
7747         * counters.C (Counters): remove the push_backs, change to use the
7748         float type not the float name.
7749         (labelItem): remove unused string, float name->type change
7750
7751         * counters.h: don't include vector, loose the enums and sects vectors
7752
7753 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7754
7755         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7756         (Read): add float->TC_FLOAT to textclassTags
7757         (Read): and handle it in the switch
7758         (readFloat): new function
7759
7760         * FloatList.C (FloatList): comment out the hardcoded float
7761         definitions.
7762
7763         * lyxlayout.h: ws change.
7764
7765 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7766
7767         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7768
7769 2002-09-03  Angus Leeming  <leeming@lyx.org>
7770
7771         * BufferView_pimpl.h: qualified name is not allowed in member
7772         declaration: WorkArea & Pimpl::workarea() const;
7773
7774         * factory.C: added using std::endl directive.
7775
7776         * text3.C: added using std::find and std::vector directives.
7777
7778 2002-08-29  André Pönitz <poenitz@gmx.net>
7779
7780         * lyxtext.h:
7781         * text2.C: remove unused member number_of_rows
7782
7783         * Makefile.am:
7784         * BufferView2.C: remove file, move contents to...
7785         * BufferView.C: ... here
7786
7787         * BufferView_pimpl.C:
7788         * factory.C: move more inset creation to factory
7789
7790         * vspace.C: avoid direct usage of LyXText, ws changes
7791
7792         * BufferView.[Ch]:
7793                 don't provide direct access to WorkArea, use two simple
7794                 acessors haveSelction() and workHeight() instead
7795
7796
7797 2002-08-29  John Levon  <levon@movementarian.org>
7798
7799         * BufferView_pimpl.C (dispatch): do not continue when
7800           no buffer
7801
7802 2002-08-28  André Pönitz <poenitz@gmx.net>
7803
7804         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7805
7806         * BufferView.h:
7807         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7808
7809 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7810
7811         * buffer.C: increment LYX_FORMAT to 221
7812
7813         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7814         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7815
7816         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7817
7818         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7819
7820 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7821
7822         * factory.C (createInset): use LyXTextClass::floats
7823
7824         * MenuBackend.C (expandFloatListInsert):
7825         (expandFloatInsert):
7826         (expandToc):
7827
7828         * text2.C (setCounter):
7829
7830         * LaTeXFeatures.C (useFloat):
7831         (getFloatDefinitions):
7832
7833         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7834
7835         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7836         floatlist_, with accessor floats().
7837
7838         * FloatList.h: remove global FloatList
7839
7840 2002-08-26  André Pönitz <poenitz@gmx.net>
7841
7842         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7843
7844         * BufferView.h:
7845         * BufferView2.C:
7846         * BufferView_pimpl.C:
7847         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7848
7849 2002-08-25  John Levon  <levon@movementarian.org>
7850
7851         * LyXAction.C: fix margin note description
7852
7853 2002-08-24  John Levon  <levon@movementarian.org>
7854
7855         * buffer.C:
7856         * bufferlist.C:
7857         * bufferview_funcs.C:
7858         * lyxfont.C:
7859         * undo_funcs.C: cleanups
7860
7861         * lyxfunc.C: disable CUT/COPY when no selection
7862
7863 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7864
7865         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7866         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7867
7868         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7869         Add backward compatibility to "mono", "gray" and "no".
7870
7871 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7872
7873         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7874         (and file_format >= 200).
7875
7876 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7877
7878         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7879
7880 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7881
7882         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7883
7884 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7885
7886         * BufferView_pimpl.C:
7887         * LyXAction.C:
7888         * buffer.C:
7889         * commandtags.h:
7890         * lyxfunc.C:
7891         * paragraph.[Ch]:
7892         * text2.C:
7893         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7894         inset and code to make it  work with the paragraph code. The inset
7895         can be anywhere in the paragraph, but will only do the expected
7896         thing in LaTeX if the layout file contains the parameter line
7897                         OptionalArgs    1
7898         (or more generally, a nonzero value) for that layout.
7899
7900 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7901
7902         * paragraph.h: remove the declaration of undefined counters class
7903         function.
7904
7905 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7906
7907         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7908         Dr. Richard Hawkins.
7909
7910 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7911
7912         * paragraph_funcs.h: remove some unneeded includes
7913
7914         * text.C (backspace): pasteParagraph now in global scipe
7915
7916         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7917         (pasteSelection): ditto
7918
7919         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7920         * paragraph_funcs.C (pasteParagraph): ... here
7921
7922 2002-08-20  André Pönitz <poenitz@gmx.net>
7923
7924         * commandtags.h: new LFUNs for swapping/copying table row/colums
7925
7926         * LyXAction.C:
7927         * lyxfunc.C: support for new lfuns
7928
7929 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7930
7931         * tabular.C:
7932         * buffer.[Ch]: remove NO_COMPABILITY stuff
7933
7934 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7935
7936         * boost.C (throw_exception): new file, with helper function for
7937         boost compiled without exceptions.
7938
7939         * paragraph.h:
7940         * lyxlength.C:
7941         * buffer.C:
7942         * ParameterStruct.h:
7943         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7944
7945         * bufferlist.C (emergencyWriteAll): use boost bind
7946
7947         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7948
7949         * text.C: include paragraph_funcs.h
7950         (breakParagraph): breakParagraph is now in global scope
7951
7952         * paragraph_funcs.[Ch]: new files
7953
7954         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7955         global scope
7956
7957         * buffer.C: include paragraph_funcs.h
7958         (insertStringAsLines): breakParagraph is now in global scope
7959
7960         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7961         paragraph_funcs.C
7962
7963         * CutAndPaste.C: include paragraph_funcs.h
7964         (cutSelection): breakParagraphConservative is now in global scope
7965         (pasteSelection): ditto
7966
7967         * buffer.h: declare oprator== and operator!= for
7968         Buffer::inset_iterator
7969
7970         * bufferlist.C (emergencyWrite): don't use fmt(...)
7971
7972         * text3.C: add using std::endl
7973
7974         * BufferView.C (moveCursorUpdate): remove default arg
7975
7976 2002-08-20  André Pönitz <poenitz@gmx.net>
7977
7978         * buffer.[Ch]: move inline functions to .C
7979
7980         * BufferView2.C:
7981         * BufferView_pimpl.C:
7982         * text.C:
7983         * buffer.[Ch]: use improved inset_iterator
7984
7985         * buffer.C:
7986         * paragraph.[Ch]: write one paragraph at a time
7987
7988 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7989
7990         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7991         style if style is not specified.
7992
7993 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7994
7995         * text2.C (setCounter): when searching for right label for a
7996         caption, make sure to recurse to parent insets (so that a caption
7997         in a minipage in a figure float works) (bug #568)
7998
7999 2002-08-20  André Pönitz <poenitz@gmx.net>
8000
8001         * text3.C: new file for LyXText::dispatch() and helpers
8002
8003         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8004
8005         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8006
8007 2002-08-19  André Pönitz <poenitz@gmx.net>
8008
8009         * lyxtext.h:
8010         * text.C: new LyXText::dispatch()
8011
8012         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8013
8014 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8015
8016         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8017
8018         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8019         Hebrew text.
8020
8021 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8022
8023         * Makefile.am: use $(variables) instead of @substitutions@
8024
8025 2002-08-15  André Pönitz <poenitz@gmx.net>
8026
8027         * lyxfunc.C:
8028         * BufferView_pimpl.C: streamlining mathed <-> outer world
8029         interaction
8030
8031         * commandtags.h:
8032         * LyXAction.C: remove unused LFUN_MATH
8033
8034 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8035
8036         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8037
8038 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8039
8040         * paragraph.C (Paragraph): reformat a bit
8041         (cutIntoMinibuffer): use builtin InsetList function instad of
8042         doing it manually.
8043         (getInset): ditto
8044
8045         * buffer.C: include boost/bind.hpp, add using std::for_each
8046         (writeFileAscii): use ParagraphList iterators
8047         (validate): use for_each for validate traversal of paragraphs
8048         (getBibkeyList): use ParagraphList iterators
8049         (resizeInsets): use for_each to resizeInsetsLyXText for all
8050         paragraphs.
8051         (getParFromID): use ParagraphList iterators
8052
8053         * BufferView2.C (lockInset): use paragraph list and iterators
8054
8055 2002-08-14  John Levon  <levon@movementarian.org>
8056
8057         * lyxserver.C: remove spurious xforms include
8058
8059 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8060
8061         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8062
8063 2002-08-13  André Pönitz <poenitz@gmx.net>
8064
8065         * LyXAction.[Ch]:
8066         * lyxfunc.C: further cleaning
8067
8068 2002-08-13  André Pönitz <poenitz@gmx.net>
8069
8070         * funcrequest.h: new constructor
8071
8072         * funcrequest.C: move stuff here from .h
8073
8074         * Makefile.am:
8075         * BufferView_pimpl.C:
8076         * LyXAction.C:
8077         * toc.C:
8078         * lyxfunc.C: subsequent changes
8079
8080         * lyxfunc.h: new view() member function
8081
8082         * lyxfunc.C: subsequent changes
8083
8084 2002-08-13  Angus Leeming  <leeming@lyx.org>
8085
8086         * BufferView2.C:
8087         * BufferView_pimpl.C:
8088         * buffer.C:
8089         * converter.C:
8090         * importer.C:
8091         * lyxfunc.C:
8092         * lyxvc.C:
8093         * toc.C:
8094         * vc-backend.C:
8095         changes due to the changed LyXView interface that now returns references
8096         to member variables not pointers.
8097
8098 2002-08-13  Angus Leeming  <leeming@lyx.org>
8099
8100         * WordLangTuple (word, lang_code): return references to strings,
8101         not strings.
8102
8103         * BufferView.h:
8104         * SpellBase.h:
8105         * lyxtext.h: forward-declare WordLangTuple.
8106
8107         * BufferView2.C:
8108         * ispell.C:
8109         * pspell.C:
8110         * text.C: #include "WordLangTuple.h".
8111
8112         * lyxtext.h:
8113         * text.C: (selectNextWordToSpellcheck): constify return type.
8114
8115 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8116
8117         * buffer.C:
8118         * buffer.h:
8119         * lyxtext.h:
8120         * paragraph.C:
8121         * paragraph_pimpl.h:
8122         * text.C:
8123         * text2.C:
8124         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8125         suggested by Angus.
8126         Made updateCounter always count from start of buffer, and removed
8127         second argument (par).
8128         Reverted floats number display to '#'. Perhaps I'll try again when the
8129         code base is sanitized a bit.
8130
8131 2002-08-12  Angus Leeming  <leeming@lyx.org>
8132
8133         * buffer.[Ch] (getLabelList): constify.
8134
8135 2002-08-07  André Pönitz <poenitz@gmx.net>
8136
8137         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8138
8139         * funcrequest.h: extension to keep mouse (x,y) position
8140
8141 2002-08-12  Juergen Vigna  <jug@sad.it>
8142
8143         * BufferView2.C (insertErrors): forbid undo when inserting error
8144         insets.
8145
8146         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8147
8148 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8149
8150         * ParagraphList.[Ch]: new files
8151
8152         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8153
8154         * BufferView2.C (lockInset): ParagraphList changes
8155         * toc.C: ditto
8156         * text2.C: ditto
8157         * bufferlist.C: ditto
8158         * buffer.h: ditto
8159         * buffer.C: ditto
8160
8161 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8162
8163         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8164         unused class variable counter_,
8165
8166         * paragraph.[Ch] (getFirstCounter): delete unused function
8167
8168         * counters.C: include LAssert.h
8169         (reset): add a new function with no arg, change other version to
8170         not have def. arg and to not allow empty arg.
8171
8172         * text2.C (setCounter): remove empty arg from call to Counters::reset
8173
8174 2002-08-11  John Levon  <levon@movementarian.org>
8175
8176         * Makefile.am: add WordLangTuple.h
8177
8178 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8179
8180         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8181         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8182
8183         * insets/insettext.C: InsetList changes
8184
8185         * graphics/GraphicsSupport.C (operator()): InsetList changes
8186
8187         * toc.C (getTocList): InsetList changes
8188
8189         * paragraph_pimpl.[Ch]: InsetList changes
8190
8191         * paragraph.[Ch]: InsetList changes
8192
8193         * buffer.C (inset_iterator): InsetList changes
8194         (setParagraph): ditto
8195         * buffer.h (inset_iterator): ditto
8196         * iterators.C (operator++): ditto
8197         * iterators.h: ditto
8198
8199         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8200
8201         * InsetList.[Ch]: new files, most InsetList handling moved out of
8202         paragraph.C.
8203
8204         * BufferView2.C (removeAutoInsets): InsetList changes
8205         (lockInset): ditto
8206         (ChangeInsets): ditto
8207
8208 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8209
8210         * paragraph_pimpl.h (empty): new function
8211
8212         * paragraph.[Ch] (empty): new function
8213
8214         * other files: use the new Paragraph::empty function
8215
8216 2002-08-09  John Levon  <levon@movementarian.org>
8217
8218         * lyxtext.h: remove unused refresh_height
8219
8220 2002-08-09  John Levon  <levon@movementarian.org>
8221
8222         * Makefile.am:
8223         * sgml.h:
8224         * sgml.C:
8225         * buffer.C:
8226         * paragraph.h:
8227         * paragraph.C: move sgml char escaping out of paragraph
8228
8229         * paragraph.h:
8230         * paragraph.C: remove id setter
8231
8232         * buffer.C:
8233         * paragraph.C:
8234         * paragraph_pimpl.C: remove dead tex_code_break_column
8235
8236         * bufferview_funcs.C: small cleanup
8237
8238         * lyxfunc.C: remove dead proto
8239
8240         * lyxtext.h: make some stuff private. Remove some dead stuff.
8241
8242         * lyxgluelength.C: make as[LyX]String() readable
8243
8244 2002-08-08  John Levon  <levon@movementarian.org>
8245
8246         * LyXAction.h:
8247         * LyXAction.C:
8248         * MenuBackend.C:
8249         * ToolbarDefaults.C:
8250         * lyxfunc.C:
8251         * lyxrc.C:
8252         * toc.C: lyxaction cleanup
8253
8254 2002-08-08  John Levon  <levon@movementarian.org>
8255
8256         * BufferView2.C: small cleanup
8257
8258         * lyxfind.h:
8259         * lyxfind.C: move unnecessary header into the .C
8260
8261 2002-08-08  John Levon  <levon@movementarian.org>
8262
8263         * funcrequest.h: just tedious nonsense
8264
8265         * lyx_main.h:
8266         * lyx_main.C: cleanups
8267
8268         * buffer.C:
8269         * vspace.C: remove dead header lyx_main.h
8270
8271 2002-08-07  Angus Leeming  <leeming@lyx.org>
8272
8273         * Paragraph.[Ch]:
8274         * paragraph_pimpl.h:
8275         Forward declare class Counters in paragraph.h by moving the ctrs member
8276         variable into Paragraph::Pimpl.
8277         (counters): new method, returning a reference to pimpl_->ctrs.
8278
8279         * text2.C: ensuing changes.
8280
8281 2002-08-07  John Levon  <levon@movementarian.org>
8282
8283         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8284
8285         * BufferView_pimpl.C: announce X selection on double/triple
8286           click
8287
8288         * lyx_main.C: use correct bool in batch dispatch
8289
8290         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8291
8292 2002-08-07  André Pönitz <poenitz@gmx.net>
8293
8294         * funcrequest.h: new class to wrap a kb_action and its argument
8295
8296         * BufferView.[Ch]:
8297         * BufferView_pimpl[Ch]:
8298         * LaTeX.C:
8299         * LyXAction.[Ch]:
8300         * lyxfunc.[Ch]:
8301         * lyxrc.C: subsequent changes
8302
8303
8304 2002-08-07  John Levon  <levon@movementarian.org>
8305
8306         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8307           document options change.
8308
8309 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8310
8311         * counters.[Ch]
8312         * text2.C
8313         * paragraph.[Ch]
8314         * makefile.am: move counters functionality over from
8315         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8316
8317 2002-08-06  John Levon  <levon@movementarian.org>
8318
8319         * WordLangTuple.h: new file for word + language code tuple
8320
8321         * SpellBase.h:
8322         * pspell.h:
8323         * pspell.C:
8324         * ispell.h:
8325         * ispell.C:
8326         * lyxtext.h:
8327         * text.C:
8328         * text2.C:
8329         * BufferView.h:
8330         * BufferView2.C: use WordLangTuple
8331
8332         * layout.h:
8333         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8334
8335 2002-08-06  John Levon  <levon@movementarian.org>
8336
8337         * lyx_main.C: fix cmdline batch handling
8338
8339 2002-08-06  André Pönitz <poenitz@gmx.net>
8340
8341         * lyxrc.C: set default for show_banner to true
8342
8343 2002-08-06  John Levon  <levon@movementarian.org>
8344
8345         * pspell.C: fix a crash, and allow new aspell to work
8346
8347 2002-08-06  John Levon  <levon@movementarian.org>
8348
8349         * lyxfunc.C:
8350         * kbmap.C: small cleanup
8351
8352         * vspace.h:
8353         * vspace.C: add const
8354
8355 2002-08-05  John Levon  <levon@movementarian.org>
8356
8357         * LyXAction.C: back to tabular-insert
8358
8359 2002-08-04  John Levon  <levon@movementarian.org>
8360
8361         * BufferView.h:
8362         * BufferView.C: cosmetic change
8363
8364         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8365
8366         * bufferlist.C:
8367         * buffer.h:
8368         * buffer.C:
8369         * lyxcb.h:
8370         * lyxcb.C:
8371         * lyxserver.C:
8372         * lyxvc.C:
8373         * vc-backend.C:
8374         * BufferView2.C: purge all "Lyx" not "LyX" strings
8375
8376         * lyxcursor.h:
8377         * lyxcursor.C: attempt to add some documentation
8378
8379         * lyxfunc.C:
8380         * commandtags.h:
8381         * LyXAction.C:
8382         * ToolbarDefaults.C:
8383         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8384           merge with LFUN_TABULAR_INSERT
8385
8386         * Makefile.am:
8387         * SpellBase.h:
8388         * ispell.h:
8389         * ispell.C:
8390         * pspell.h:
8391         * pspell.C: split up i/pspell implementations into separate
8392           files, many cleanups
8393
8394         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8395
8396         * text2.C: some cleanup
8397
8398         * lyxfunc.C: don't check for isp_command == "none" any more, it
8399           didn't make any sense
8400
8401 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8402
8403         * counters.[Ch]
8404         * text2.C
8405         * paragraph.[Ch]
8406         * makefile.am: move counters functionality over
8407         from text2.C/paragraph.[Ch] to counters.[Ch], and
8408         make proper C++.
8409 2002-08-02  John Levon  <levon@movementarian.org>
8410
8411         * buffer.C: s/lyxconvert/lyx2lyx/
8412
8413 2002-08-02  Angus Leeming  <leeming@lyx.org>
8414
8415         * lyxlex.C: revert John's change as it breaks reading of the user
8416         preamble.
8417
8418 2002-08-02  Angus Leeming  <leeming@lyx.org>
8419
8420         * importer.C (Import):
8421         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8422         changes due to LyXView::view() now returning a boost::shared_ptr.
8423
8424 2002-08-02  John Levon  <levon@movementarian.org>
8425
8426         * lyxlex.C: small cleanup
8427
8428 2002-08-02  John Levon  <levon@movementarian.org>
8429
8430         * text2.C (status): small cleanup, no logic change
8431
8432 2002-08-01  John Levon  <levon@movementarian.org>
8433
8434         * buffer.h:
8435         * buffer.C (writeFile): don't output alerts, caller
8436           handles this
8437
8438         * bufferlist.C:
8439         * lyx_cb.C: from above
8440
8441         * lyxfunc.C: allow to open non-existent files
8442
8443 2002-07-31  John Levon  <levon@movementarian.org>
8444
8445         * lyxserver.C: don't let incidental errors get
8446           in the way (errno)
8447
8448 2002-07-30  John Levon  <levon@movementarian.org>
8449
8450         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8451
8452 2002-07-30  John Levon  <levon@movementarian.org>
8453
8454         * lyxserver.h:
8455         * lyxserver.C: remove I/O callback too
8456
8457 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8458
8459         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8460         log.
8461
8462 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8463
8464         * many files: strip,frontStrip -> trim,ltrim,rtrim
8465
8466 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8467
8468         * PrinterParams.h: remove extern containsOnly, and include
8469         support/lstrings.h instead.
8470
8471         * LaTeX.C (scanAuxFile): modify because of strip changes
8472         (deplog): ditto
8473         * buffer.C (makeLaTeXFile): ditto
8474         * bufferparams.C (writeFile): ditt
8475         * lyxfont.C (stateText): ditto
8476         * lyxserver.C (read_ready): ditto
8477         * vc-backend.C (scanMaster): ditto
8478
8479         * BufferView_pimpl.h: ws changes
8480
8481         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8482
8483 2002-07-26  André Pönitz <poenitz@gmx.net>
8484
8485         * kb_sequence.C: remove unnedred usings
8486
8487 2002-07-26  Juergen Vigna  <jug@sad.it>
8488
8489         * lyxfind.C (LyXReplace): we have to check better if the returned
8490         text is not of theLockingInset()->getLockingInset().
8491
8492 2002-07-25  Juergen Vigna  <jug@sad.it>
8493
8494         * lyxfind.C (LyXReplace): don't replace if we don't get the
8495         right LyXText.
8496
8497         * undo_funcs.C (createUndo): remove debugging code.
8498
8499 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8500
8501         * buffer.C (parseSingleLyXformat2Token): Use default placement
8502         when reading old floats.
8503
8504         * FloatList.C (FloatList): Change the default placement of figure
8505         and tables to "tbp".
8506
8507 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8508
8509         * MenuBackend.C: using std::max
8510
8511 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8512
8513         * MenuBackend.C (expandToc):
8514         (expandToc2): code moved from xforms menu frontend. It is now
8515         generic and TOCs are transparent to menu frontends.
8516
8517 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8518
8519         * toc.C (getTocList): protect against buf=0
8520
8521         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8522         Menu as first parameter. Now, this calls itself recursively to
8523         expand a whole tree (this will be useful for TOC handling)
8524         (expandFloatInsert): remove 'wide' version of floats
8525
8526         * MenuBackend.h (submenuname): returns the name of the submenu.
8527         (submenu): returns the submenu itself, provided it has been
8528         created by MenuBackend::expand
8529
8530 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8531
8532         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8533         insets which have noFontChange == true. (bug #172)
8534
8535 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8536
8537         * BufferView_pimpl.C: add connection objects and use them...
8538         (Pimpl): here.
8539
8540 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8541
8542         * MenuBackend.C (expandLastfiles):
8543         (expandDocuments):
8544         (expandFormats):
8545         (expandFloatListInsert):
8546         (expandFloatInsert):
8547         (expand): split expand in parts
8548
8549 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8550
8551         * lyx_gui.C: use lyx_gui::exit()
8552
8553 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8554
8555         * LyXAction.C: show the failing pseudo action
8556
8557 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8558
8559         * buffer.C (readFile): Run the lyxconvert script in order to read
8560         old files.
8561
8562 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8563
8564         * LyXAction.C:
8565         * commandtags.h:
8566         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8567
8568 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8569
8570         * LyXAction.C:
8571         * commandtags.h:
8572         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8573
8574 2002-07-22  Herbert Voss  <voss@lyx.org>
8575
8576         * lengthcommon.C:
8577         * lyxlength.[Ch]: add support for the vertical lengths
8578
8579 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8580
8581         * toc.[Ch]: std:: fixes
8582
8583 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8584
8585         * lyxrc.C: do not include lyx_main.h
8586
8587         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8588         for layouts
8589
8590         * lyxrc.C:
8591         * encoding.C:
8592         * bufferlist.C:
8593         * BufferView2.C: include "lyxlex.h"
8594
8595         * tabular.h:
8596         * bufferparams.h: do not #include "lyxlex.h"
8597
8598         * lyxtextclasslist.C (Add): remove method
8599         (classlist): renamed to classlist_
8600
8601         * paragraph_pimpl.C:
8602         * paragraph.C:
8603         * text2.C:
8604         * CutAndPaste.C:
8605         * bufferview_funcs.C:
8606         * bufferlist.C:
8607         * text.C:
8608         * LaTeXFeatures.C:
8609         * buffer.C:
8610         * toc.C (getTocList): use BufferParams::getLyXTextClass
8611
8612         * toc.C (getTocList): use InsetFloat::addToToc
8613
8614         * toc.[Ch]: new files, containing helper functions to handle table
8615         of contents
8616
8617         * lyxfunc.C (dispatch): no need to remove spaces around command
8618         given as a string
8619         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8620         first command of the sequence; it is not very clever, but I do not
8621         have a better idea, actually
8622
8623         * LyXAction.C (LookupFunc): make sure to remove space at the
8624         beginning and end of the command
8625
8626 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8627
8628         * MenuBackend.C (getMenubar): new method: return the menubar of
8629         this menu set
8630         (read): treat differently reading of menu and menubar (in
8631         particular, the menubar has no name now)
8632         (Menu::menubar): remove
8633
8634         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8635         saving is finished
8636
8637 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8638
8639         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8640         a bibitem inset in a RTL paragraph.
8641
8642 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8643
8644         * paragraph_pimpl.C: constify
8645
8646         * BufferView_pimpl.C:
8647         * LaTeX.C:
8648         * lyxfunc.C: fix dispatch in a nicer way
8649
8650 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8651
8652         * lyxfunc.C (dispatch):
8653         * BufferView_pimpl.C:
8654         * BufferView_pimpl.h:
8655         * BufferView.C:
8656         * BufferView.h: rename Dispatch() to dispatch()
8657
8658         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8659
8660         * lyxlayout.C (Read): honor DependsOn tag
8661
8662         * lyxlayout.[Ch] (depends_on): new method
8663
8664         * version.C.in: update lyx_docversion
8665
8666         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8667
8668         * paragraph.C (validate): remove from here...
8669         * paragraph_pimpl.C (validate): ... and move here
8670         (isTextAt): make it const
8671
8672         * buffer.C (getLists): ws cleanup
8673
8674 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8675
8676         * language.C (read): Use iso8859-1 encoding in latex_lang
8677         (this prevents LyX from crashing when using iso10646-1 encoding).
8678
8679 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8680
8681         * text2.C (toggleInset): if cursor is inside an inset, close the
8682         inset and leave cursor _after_ it
8683
8684 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8685
8686         * lyxfunc.C: move minibuffer completion handling out of here
8687
8688 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8689
8690         * BufferView_pimpl.C:
8691         * LaTeX.C: fix dispatch calls
8692
8693 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8694
8695         * text.C (drawChars): Fix Arabic text rendering.
8696
8697 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8698
8699         * LyXAction.C:
8700         * commandtags.h:
8701         * lyxfunc.C: remove message-push/pop
8702
8703         * lyxserver.C:
8704         * lyxfunc.h:
8705         * lyxfunc.C: rationalise some code by removing verboseDispatch
8706           in favour of a bool argument to dispatch()
8707
8708 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8709
8710         * lyx_main.C (init): make sure to read symlinks as absolute paths
8711
8712 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8713
8714         * lyxfunc.h:
8715         * lyxfunc.C: no need for commandshortcut to be a member
8716
8717 2002-07-15  André Pönitz <poenitz@gmx.net>
8718
8719         * converter.C: add support for $$s (scripts from lib/scripts dir)
8720         * lyx_main.C: white space
8721
8722 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8723
8724         * bufferlist.C:
8725         * lyxrc.h:
8726         * lyxrc.C: remove second exit confirmation
8727
8728 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8729
8730         * BufferView.h:
8731         * BufferView.C:
8732         * BufferView2.C:
8733         * BufferView_pimpl.h:
8734         * BufferView_pimpl.C:
8735         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8736
8737 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8738
8739         * MenuBackend.C (expand): add numeric shortcuts to document menu
8740
8741         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8742
8743 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8744
8745         * lyxfont.C (setLyXFamily):
8746         (setLyXSeries):
8747         (setLyXShape):
8748         (setLyXSize):
8749         (setLyXMisc):
8750         (lyxRead):
8751         * debug.C (value):
8752         * buffer.C (asciiParagraph): use ascii_lowercase
8753
8754 2002-07-15  Mike Fabian  <mfabian@suse.de>
8755
8756         * lyxlex_pimpl.C (search_kw):
8757         * lyxlex.C (getLongString):
8758         * converter.h (operator<):
8759         * converter.C (operator<):
8760         * buffer.C (parseSingleLyXformat2Token):
8761         (asciiParagraph):
8762         * ToolbarDefaults.C (read):
8763         * MenuBackend.C (checkShortcuts):
8764         (read):
8765         * LColor.C (getFromGUIName):
8766         (getFromLyXName): use the compare_ascii_no_case instead of
8767         compare_no_case, because in turkish, 'i' is not the lowercase
8768         version of 'I', and thus turkish locale breaks parsing of tags.
8769
8770 2002-07-16  Angus Leeming  <leeming@lyx.org>
8771
8772         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8773         now takes a Buffer const & argument.
8774
8775 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8776
8777         * BufferView.C (resize): check there's a buffer to resize
8778
8779 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8780
8781         * lyxfunc.C: remove dead code
8782
8783         * lyxserver.h:
8784         * lyxserver.C: use lyx_guii::set_read_callback
8785
8786 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8787
8788         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8789         an inset in a RTL paragraph.
8790
8791 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8792
8793         * lyxfunc.C: repaint after a font size update
8794
8795 2002-07-15  André Pönitz <poenitz@gmx.net>
8796
8797         * lyxlength.C: inBP should be able to return negative values
8798
8799 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8800
8801         * lyxfunc.C: use lyx_gui::update_fonts()
8802
8803 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8804
8805         * lyxfunc.C: use lyx_gui::update_color()
8806
8807 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8808
8809         * bufferlist.C:
8810         * lyxfunc.h:
8811         * lyxfunc.C:
8812         * lyxrc.h:
8813         * lyxrc.C: remove file->new asks for name option, and let
8814           buffer-new take an argument
8815
8816 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8817
8818         * BufferView_pimpl.C: remove unneeded extra repaint()
8819
8820 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8821
8822         * LyXAction.C: allow command-sequence with NoBuffer
8823
8824         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8825
8826 2002-07-10  Angus Leeming  <leeming@lyx.org>
8827
8828         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8829
8830 2002-07-09  Angus Leeming  <leeming@lyx.org>
8831
8832         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8833
8834 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8835
8836         * lengthcommon.h: whitespace
8837
8838         * lyxfunc.C: update scrollbar after goto paragraph
8839
8840         * lyxtext.h: factor out page break drawing, and fix it so
8841           page break/added space paints as selected nicely
8842
8843 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8844
8845         * BufferView_pimpl.C: add FIXMEs, clean up a little
8846
8847 2002-07-09  André Pönitz <poenitz@gmx.net>
8848
8849         * lyxfont.[Ch]: support for wasy symbols
8850
8851 2002-07-08  André Pönitz <poenitz@gmx.net>
8852
8853         * BufferView_pimpl.C: apply John's patch for #93.
8854
8855 2002-07-05  Angus Leeming  <leeming@lyx.org>
8856
8857         * BufferView_pimpl.C (buffer): generate previews if desired.
8858
8859         * LColor.h: add "preview" to the color enum.
8860
8861         * LColor.C (LColor): add a corresponding entry to the items array.
8862
8863         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8864         with this buffer.
8865
8866 2002-07-05  Angus Leeming  <leeming@lyx.org>
8867
8868         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8869         The body of the code is now in the method that is passed an ostream &
8870         rather than a file name.
8871         Pass an additional only_preamble parameter, useful for the forthcoming
8872         preview stuff.
8873
8874 2002-07-03  André Pönitz <poenitz@gmx.net>
8875
8876         * lyxfunc.C: simplify getStatus() a bit for math stuff
8877
8878 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8879
8880         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8881
8882 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8883
8884         * text.C (changeRegionCase): do not change case of all the
8885         document when region ends at paragraph end (bug #461)
8886
8887 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8888
8889         * paragraph.C (startTeXParParams):
8890         (endTeXParParams): add \protect when necessary
8891
8892 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8893
8894         * BufferView_pimpl.C (workAreaExpose): remove warning
8895
8896 2002-06-27  Angus Leeming  <leeming@lyx.org>
8897
8898         * Makefile.am: add lyxlayout_ptr_fwd.h.
8899
8900 2002-06-26  André Pönitz <poenitz@gmx.net>
8901
8902         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8903
8904 2002-06-25  Angus Leeming  <leeming@lyx.org>
8905
8906         * lyxfunc.C (dispatch): Comment out the call to
8907         grfx::GCache::changeDisplay. The method no longer exists now that the
8908         pixmap generation part of the graphics loader has been moved into
8909         InsetGraphics.
8910
8911 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8912
8913         * text2.C: layout as layout
8914
8915         * text.C: layout as layout
8916
8917         * tabular.C (OldFormatRead): layout as layout
8918
8919         * paragraph_pimpl.C (TeXDeeper): layout as layout
8920         (realizeFont): layout as layout
8921
8922         * paragraph.C (writeFile): layout as layout
8923         (validate): layout as layout
8924         (getFont): layout as layout
8925         (getLabelFont): layout as layout
8926         (getLayoutFont): layout as layout
8927         (breakParagraph): layout as layout
8928         (stripLeadingSpaces): layout as layout
8929         (getEndLabel): layout as layout
8930         (getMaxDepthAfter): layout as layout
8931         (applyLayout): layout as layout
8932         (TeXOnePar): layout as layout
8933         (simpleTeXOnePar): layout as layout
8934         (TeXEnvironment): layout as layout
8935         (layout): layout as layout
8936         (layout): layout as layout
8937
8938         * lyxtextclass.C (compare_name): new functor to work with
8939         shared_ptr, layout as layout
8940         (Read): layout as layout
8941         (hasLayout): layout as layout
8942         (operator): layout as layout
8943         (delete_layout): layout as layout
8944         (defaultLayout): layout as layout
8945
8946         * lyxlayout_ptr_fwd.h: new file
8947
8948         * lyxlayout.C (Read): layout as layout
8949
8950         * lyx_cb.C (MenuInsertLabel): layout as layout
8951
8952         * bufferlist.C (newFile): layout as layout
8953
8954         * buffer.C (readLyXformat2): layout as layout
8955         (parseSingleLyXformat2Token): layout as layout
8956         (insertStringAsLines): layout as layout
8957         (asciiParagraph): layout as layout
8958         (latexParagraphs): layout as layout
8959         (makeLinuxDocFile): layout as layout
8960         (simpleLinuxDocOnePar): layout as layout
8961         (makeDocBookFile): layout as layout
8962         (simpleDocBookOnePar): layout as layout
8963         (getLists): layout as layout
8964
8965         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8966
8967         * CutAndPaste.C (cutSelection): layout as layout
8968         (pasteSelection): layout as layout
8969         (SwitchLayoutsBetweenClasses): layout as layout
8970
8971         * BufferView_pimpl.C (Dispatch): layout as layout
8972         (smartQuote): layout as layout
8973
8974         * BufferView2.C (unlockInset): layout as layout
8975
8976 2002-06-24  André Pönitz <poenitz@gmx.net>
8977
8978         * lyxfunc.C: fix #487
8979
8980 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8981
8982         * lyxrc.h:
8983         * lyxrc.C:
8984         * lyxfunc.C: remove display_shortcuts, show_banner
8985
8986 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8987
8988         * Buffer_pimpl.C: oops, update on resize
8989
8990 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8991
8992         * buffer.C:
8993         * converter.C:
8994         * exporter.C:
8995         * lyxfunc.C:
8996         * BufferView.h:
8997         * BufferView.C: use repaint()
8998
8999         * BufferView_pimpl.h:
9000         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9001           as it's a clearer description. Remove superfluous
9002           redraws.
9003
9004 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9005
9006         * text.C: fix bug 488. Not ideal, but getting
9007           getWord() to work properly for the insets that
9008           matter is more difficult ...
9009
9010 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9011
9012         * BufferView_pimpl.C:
9013         * LyXAction.C:
9014         * commandtags.h:
9015         * lyxfunc.C: remove the six million index lyxfuncs to just
9016           one, and DTRT (bug 458)
9017
9018 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9019
9020         * BufferView.h:
9021         * BufferView.C:
9022         * BufferView_pimpl.h:
9023         * BufferView_pimpl.C: clean up resize() stuff,
9024           and unnecessary updateScreen()s
9025
9026 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9027
9028         * BufferView.h:
9029         * BufferView.C:
9030         * BufferView_pimpl.h:
9031         * BufferView_pimpl.C:
9032         * lyxfind.h:
9033         * lyxfind.C:
9034         * minibuffer.C: remove focus management of workarea,
9035           not needed. Use screen's greyOut()
9036
9037 2002-06-17  Herbert Voss  <voss@lyx.org>
9038
9039         * converter.C: (convert) do not post a message, when converting
9040         fails, let the calling function decide what to do in this case
9041
9042 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9043
9044         * lyxfunc.C: tidy up a little
9045
9046 2002-06-16    <alstrup@diku.dk>
9047
9048         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9049         Got rid of FORMS_H_LOCATION include. Now we are
9050         GUII.
9051
9052 2002-06-15  LyX Development team  <lyx@rilke>
9053
9054         * buffer.[Ch] (sgmlOpenTag):
9055         (sgmlCloseTag): Added support for avoiding pernicious mixed
9056         content. Return number of lines written.
9057
9058         (makeLinuxDocFile):
9059         (makeDocBookFile): Fixed calls to sgml*Tag.
9060         Simple white space clean.
9061
9062         (simpleDocBookOnePar): Simple white space clean.
9063
9064         * tabular.[Ch] (docBook): Renamed to docbook and got another
9065         argument to related with the pernicious mixed content.
9066
9067         (docbookRow): Fixed calls for docbook inset method.
9068
9069 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9070
9071         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9072         so it's X11 independent.
9073
9074         * kb*.[Ch]: ditto.
9075
9076         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9077
9078 2002-06-15  Lyx Development team  <lyx@electronia>
9079
9080         * intl.h: Renamed getTrans to getTransManager.
9081
9082 2002-06-14  Angus Leeming  <leeming@lyx.org>
9083
9084         * Makefile.am: nuke forgotten stl_string_fwd.h.
9085
9086 2002-06-12  Angus Leeming  <leeming@lyx.org>
9087
9088         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9089
9090 2002-06-13  Angus Leeming  <leeming@lyx.org>
9091
9092         * LaTeX.C:
9093         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9094
9095 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9096
9097         * kbmap.C (getiso): add support for cyrillic and greek
9098
9099 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9100
9101         * BufferView.h:
9102         * BufferView.C:
9103         * BufferView_pimpl.h:
9104         * BufferView_pimpl.C: move bogus scrolling logic
9105           to xforms
9106
9107 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9108
9109         * lyxfunc.C:
9110         * BufferView_pimpl.C: view->resize() change
9111
9112 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9113
9114         * BufferView_pimpl.C: topCursorVisible
9115           prototype change
9116
9117 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9118
9119         * Makefile.am:
9120         * lyx_gui.h:
9121         * lyx_gui.C: move to frontends/
9122
9123         * main.C:
9124         * lyx_main.h:
9125         * lyx_main.C: changes from above
9126
9127 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9128
9129         * intl.C:
9130         * intl.h:
9131         * kbmap.C:
9132         * kbsequence.C:
9133         * lyx_cb.C:
9134         * lyx_main.C: minor tidy
9135
9136 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9137
9138         * BufferView_pimpl.h:
9139         * BufferView_pimpl.C:
9140         * BufferView.h:
9141         * BufferView.C: make painter() const,
9142           remove dead code
9143
9144         * BufferView2.C: use screen() accessor
9145
9146         * lyx_main.h:
9147         * lyx_main.C: some minor cleanup
9148
9149 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9150
9151         * BufferView_pimpl.h:
9152         * BufferView_pimpl.C: remove enter/leaveView,
9153           use workHeight()
9154
9155 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9156
9157         * BufferView.h:
9158         * BufferView.C:
9159         * BufferView2.C:
9160         * BufferView_pimpl.h:
9161         * BufferView_pimpl.C: only construct screen once,
9162           rename
9163
9164         * lyxrc.C: remove pointless comment
9165
9166 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9167
9168         * BufferView.h:
9169         * BufferView.C: remove active() and belowMouse()
9170
9171         * BufferView_pimpl.h:
9172         * BufferView_pimpl.C: use workarea() not workarea_,
9173           and make it use a scoped_ptr instead
9174
9175 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9176
9177         * lyx_gui.C: add debug message on BadWindow
9178
9179 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9180
9181         * sp_spell.C: fdopen is not part of the C++ standard.
9182
9183         * paragraph.C (InsetIterator): use >= instead of ==
9184
9185 2002-06-07  Angus Leeming  <leeming@lyx.org>
9186
9187         Fixes needed to compile with Compaq cxx 6.5.
9188         * BufferView_pimpl.C:
9189         * DepTable.C:
9190         * buffer.C:
9191         * converter.C:
9192         * encoding.C:
9193         * lyx_gui.C:
9194         * lyx_main.C:
9195         * lyxtextclasslist.C:
9196         * minibuffer.C:
9197         * sp_spell.C:
9198         * tabular_funcs.C:
9199         * vc-backend.C:
9200         all c-library variables have been moved into namespace std. Wrap
9201         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9202
9203         * lyxlength.C:
9204         * tabular-old.C:
9205         * tabular.C:
9206         Add a using std::abs declaration.
9207
9208         * kbmap.h (modifier_pair):
9209         * paragraph.h (InsetTable, InsetList):
9210         * lyxfont.h (FontBits):
9211         type definition made public.
9212
9213         * bufferlist.C (emergencyWriteAll): the compiler complains that
9214         there is more than one possible lyx::class_fun template to choose from.
9215         I re-named the void specialisation as lyx::void_class_fun.
9216
9217         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9218
9219         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9220         the compiler is is unable to find tostr in write_attribute.
9221
9222 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9223
9224         * buffer.C (sgmlError): hide #warning
9225
9226 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9227
9228         * xtl/*: get rid of xtl, which is not in use anyway
9229
9230         * LyXAction.C (init):
9231         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9232         were unimplemented xtl experimentation
9233
9234 2002-06-04  André Pönitz <poenitz@gmx.net>
9235
9236         * lyxfunc.C: disable array operation on simple formulae
9237
9238 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9239
9240         * converter.C: constify a bit
9241
9242 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9243
9244         * lyx_gui.C: check xforms version correctly
9245
9246 2002-04-30  Herbert Voss  <voss@lyx.org>
9247
9248         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9249         "keep" option
9250
9251 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9252
9253         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9254           attempt to register it with a VCS)
9255
9256 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9257
9258         * lyx_main.C (init): honor variables LYX_DIR_13x and
9259         LYX_USERDIR_13x
9260
9261 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9262
9263         * buffer.h:
9264         * buffer.C:
9265         * lyx_main.C: fix a crash on bad command line,
9266           and give a useful exit status on error
9267
9268         * lyxfunc.C (doImport): allow -i lyx to work
9269
9270 2002-03-30  André Pönitz <poenitz@gmx.net>
9271
9272         * lyxfunc.C: mathed font changes
9273
9274 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9275
9276         * LaTeX.C:
9277         * importer.h:
9278         * importer.C:
9279         * lyx_sty.h:
9280         * lyx_sty.C:
9281         * lyxlex.C:
9282         * lyxrow.h:
9283         * lyxtext.h:
9284         * paragraph.h:
9285         * paragraph.C:
9286         * texrow.h:
9287         * texrow.C:
9288         * text.C:
9289         * trans_mgr.h: srcdocs, and some minor cleanups
9290
9291 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9292
9293         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9294         call getFont all the time)
9295
9296 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9297
9298         * switch from SigC signals to boost::signals
9299
9300 2002-05-29  André Pönitz <poenitz@gmx.net>
9301
9302         * paragraph_pimpl.C (getChar): don't call size() too often...
9303
9304 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9305
9306         * paragraph_pimpl.C (insertChar): do not try to update tables when
9307         appending (pos == size())
9308
9309         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9310         in order to reduce drastically the number of comparisons needed to
9311         parse a large document
9312
9313 2002-05-29  André Pönitz <poenitz@gmx.net>
9314
9315         * text.C:
9316         * text2.C:
9317         * lyxtextclass.C:
9318         * sp_pspell.h:
9319         * textclasslist.[Ch]:
9320         * sp_ispell.h: whitespace change
9321
9322 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9323
9324         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9325         lyxaction directly now.
9326
9327 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9328
9329         * trans.C:
9330         * lyxfont.C:
9331         * lyxvc.C: remove unused headers
9332
9333 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9334
9335         * Makefile.am:
9336         * buffer.h:
9337         * undostack.h:
9338         * undostack.C:
9339         * undo_funcs.h:
9340         * undo_funcs.C: some cleanups. Use shared_ptr
9341           and a template for the undo stacks.
9342
9343 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9344
9345         * BufferView_pimpl.h:
9346         * BufferView_pimpl.C:
9347         * kbmap.h:
9348         * kbmap.C:
9349         * kbsequence.h:
9350         * kbsequence.C:
9351         * lyxfunc.h:
9352         * lyxfunc.C:
9353         * text2.C: use key_state/mouse_state
9354
9355 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9356
9357         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9358         and LSubstring
9359
9360         * chset.C: change include order
9361         (loadFile): use boost regex and get rid of LRegex and LSubstring
9362
9363         * Makefile.am (BOOST_LIBS): new variable
9364         (lyx_LDADD): use it
9365
9366         * LaTeX.C: change include order.
9367         (scanAuxFile): use boost regex and get rid of LRegex and
9368         LSubstring
9369         (deplog): ditto
9370
9371 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9372
9373         * ColorHandler.h:
9374         * ColorHandler.C:
9375         * FontInfo.h:
9376         * FontInfo.C: moved to frontends/xforms/
9377
9378         * FontLoader.h:
9379         * FontLoader.C: moved into frontends for GUIIzation
9380
9381         * Makefile.am:
9382         * lyx_gui.C:
9383         * lyxfont.C:
9384         * lyxfunc.C: changes from above
9385
9386 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9387
9388         * LColor.C: remove spurious X include
9389
9390         * BufferView_pimpl.C:
9391         * Makefile.am:
9392         * font.h:
9393         * font.C:
9394         * text.C:
9395         * text2.C: move font metrics to frontends/
9396
9397 2002-05-24  Juergen Vigna  <jug@sad.it>
9398
9399         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9400         setting the undo_cursor.
9401
9402         * ParagraphParameters.h: include local includes first.
9403
9404 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9405
9406         * BufferView_pimpl.C:
9407         * BufferView_pimpl.h:
9408         * Makefile.am:
9409         * WorkArea.h:
9410         * WorkArea.C:
9411         * screen.C: move WorkArea into frontends/
9412
9413         * lyxscreen.h:
9414         * screen.C:
9415         * text.C:
9416         * BufferView.C:
9417         * BufferView2.C: move LyXScreen into frontends/
9418
9419         * lyxlookup.h:
9420         * lyxlookup.C:
9421         * lyx_gui.C: move lyxlookup into frontends/xforms/
9422
9423 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9424
9425         * BufferView2.C:
9426         * BufferView_pimpl.C:
9427         * FontLoader.C:
9428         * LyXView.h:
9429         * LyXView.C:
9430         * Makefile.am:
9431         * WorkArea.C:
9432         * XFormsView.h:
9433         * XFormsView.C:
9434         * buffer.C:
9435         * bufferlist.C:
9436         * bufferview_funcs.C:
9437         * converter.C:
9438         * importer.C:
9439         * lyx_cb.C:
9440         * lyx_gui.C:
9441         * lyx_main.C:
9442         * lyx_find.C:
9443         * lyxfunc.C:
9444         * lyxvc.C:
9445         * minibuffer.C:
9446         * text.C:
9447         * text2.C:
9448         * trans.C:
9449         * vc-backend.C: move LyX/XFormsView into frontends/
9450
9451 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9452
9453         * Makefile.am:
9454         * PainterBase.C:
9455         * PainterBase.h:
9456         * Painter.C:
9457         * Painter.h:
9458         * WorkArea.C:
9459         * WorkArea.h:
9460         * screen.C:
9461         * tabular.C:
9462         * text.C:
9463         * text2.C: move Painter to frontends/
9464
9465 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9466
9467         * buffer.C: comment out some some code that depend upon lyx_format
9468         < 220
9469
9470         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9471         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9472
9473         * buffer.h (NO_COMPABILITY): turn off compability
9474
9475         * ColorHandler.C: include scoped_array.hpp
9476
9477         * font.C: Use more specific smart_ptr header.
9478         * Painter.C: ditto
9479         * gettext.C: ditto
9480         * ShareContainer.h: ditto
9481         * lyx_main.h: ditto
9482         * kbmap.h: ditto
9483         * FontInfo.h: ditto
9484         * BufferView_pimpl.h: ditto
9485         * ColorHandler.h: ditto
9486
9487         * kbmap.C (defkey): change call to shared_ptr::reset
9488
9489 2002-05-21  Juergen Vigna  <jug@sad.it>
9490
9491         * buffer.C (insertErtContents): fix to insert ert asis if it is
9492         non empty. Skip it completely if it contains only whitespaces.
9493
9494 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9495
9496         * BufferView_pimpl.C:
9497         * BufferView2.C: clear selection on paste (bug 393)
9498
9499 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9500
9501         * DepTable.C: include ctime
9502
9503 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9504
9505         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9506
9507 2002-05-14  Juergen Vigna  <jug@sad.it>
9508
9509         * text.C (breakParagraph): fixed function to honor the keepempty
9510         layout in the right maner and also to permit the right breaking
9511         algorithm on empty or non empyt keepempty paragraphs.
9512
9513         * paragraph.C (breakParagraph): we have to check also if the par
9514         is really empty (!size()) for isempty otherwise we do the wrong
9515         paragraph break.
9516
9517 2002-05-10  Juergen Vigna  <jug@sad.it>
9518
9519         * buffer.[Ch] : The following are only changes to the ert
9520         compatibility read reading old LaTeX layout and font stuff and
9521         convert it to ERTInsets.
9522
9523         * buffer.h: added isErtInset().
9524
9525         * buffer.C (struct ErtComp): add a fromlayout bool to check
9526         if we're inside a LaTeX layout.
9527         (isErtInset): new helper function.
9528         (insertErtContents): look for other ert insets before this one
9529         and insert the contents there, so that we don't have subsequent
9530         ERT insets with nothing between them. This way we create only one
9531         inset with multiple paragraphs. Also check if we don't insert only
9532         spaces ' ' as they are ignored anyway afterwards in the .tex file
9533         so if we have only spaces we will ignore this latex part in the
9534         new file.
9535         (parseSingleLyXformat2Token \\layout): better compatibility when
9536         reading layout-latex stuff.
9537         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9538         language tag.
9539         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9540         stuff after reading the inset only get the information back from
9541         the stack.
9542
9543 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9544
9545         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9546
9547         * LaTeXFeatures.C (getBabelOptions): New method.
9548
9549 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9550
9551         * BufferView_pimpl.C (Dispatch): work around missing argument for
9552         'layout'
9553
9554 2002-05-08  Juergen Vigna  <jug@sad.it>
9555
9556         * text.C (leftMargin): handle paragraph leftindent.
9557
9558         * paragraph.C (writeFile): write the new \\leftindent tag.
9559         (validate): handle leftindent code.
9560         (TeXEnvironment): handle paragraphleftindent code again.
9561
9562         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9563
9564         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9565         for paragrap_extra indent code and new token \\leftindent.
9566         (latexParagraphs): handle the leftindent as environment.
9567
9568         * ParameterStruct.h: added leftindent support.
9569
9570         * ParagraphParameters.C (leftIndent): added support functions for
9571         the paragraph left indent.
9572
9573         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9574         more appropriate.
9575
9576 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9577
9578         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9579         inside insetERT.
9580
9581         * text.C (computeBidiTables): No bidi in insetERT.
9582
9583         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9584         in RTL documents.
9585
9586 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9587
9588         * version.C.in: pre 5
9589
9590 2002-05-02  José Matos  <jamatos@fep.up.pt>
9591         * buffer.C (makeDocBookFile): white space changes, add newline to
9592         command styles.
9593         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9594
9595         * tabular.C (docBook): fix typo.
9596
9597 2002-05-03  Juergen Vigna  <jug@sad.it>
9598
9599         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9600         change in LyXText as we can not be sure it was not freed.
9601         (drawOneRow): remove unused code.
9602
9603         * text.C (drawInset): redo the calculation of the need_break_row as
9604         it could have a row which was already freed.
9605         (draw): look at the return value of drawInset and return false if
9606         it also returned false.
9607         (paintRowText): look at the return value of draw and return false if
9608         it also returned false.
9609
9610         * lyxtext.h: added bool return type to drawInset() and draw() so that
9611         if we have a change in the row so that the rowbreak has to be redone
9612         we abort drawing as it will be called again.
9613
9614 2002-05-02  Juergen Vigna  <jug@sad.it>
9615
9616         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9617         a change in the maintext also if we're inside an inset.
9618         (Dispatch): set the cursor again after a break line and after the
9619         screen has been updated as it could be we're in a different row.
9620
9621         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9622         to set the cursor behind the pargraph with > size().
9623         (setCursor): check also for the same paragraph when checking where
9624         to put the cursor if we have a NFR inset.
9625
9626         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9627         parts of layout read further up as it still was in the wrong
9628         position.
9629
9630 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9631
9632         * screen.C (drawFromTo): change sine fullRebreak always return
9633         true.
9634
9635         * buffer.C (parseSingleLyXformat2Token): reindent some
9636
9637         * BufferView_pimpl.C (update): change since fullRebreak always
9638         return true.
9639         (Dispatch): git rid of the last hardcoded "Standard"s.
9640
9641 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9642
9643         * text2.[Ch] (fullRebreak): make it return void now that we always
9644         returned true.
9645
9646 2002-04-30  Juergen Vigna  <jug@sad.it>
9647
9648         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9649         ert compatibility check for "latex" layout.
9650
9651 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9652
9653         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9654         minipages: use col% instead of p%, and also use the current font.
9655         (makeLaTeXFile): Fix use babel condition.
9656         (parseSingleLyXformat2Token): Correct font when reading old floats.
9657
9658 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9659
9660         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9661         inserting list of floats.
9662
9663 2002-04-25  Herbert Voss  <voss@lyx.org>
9664
9665         * MenuBackend.C (expand): don't add the graphics extensions to the
9666         export menu
9667
9668 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9669
9670         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9671         non-existing layout, do not complain if it was the default layout
9672         of the original class (bug #342)
9673
9674 2002-04-24  Juergen Vigna  <jug@sad.it>
9675
9676         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9677         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9678
9679 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9680
9681         * buffer.C (getBibkeyList): If using \bibliography, return the
9682         option field with the reference itself. Enables us to provide natbib
9683         support when using \bibliography.
9684
9685 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9686
9687         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9688
9689         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9690         natbib is provided by the LaTeX class.
9691
9692 2002-04-23  Juergen Vigna  <jug@sad.it>
9693
9694         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9695         Wakeup functions.
9696
9697         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9698
9699 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9700
9701         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9702
9703         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9704         ensuremath around textordmasculine, textordfeminine and
9705         textdegree.
9706
9707 2002-04-19  Juergen Vigna  <jug@sad.it>
9708
9709         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9710         reinitializing the buffer otherwise row-dimensions may be wrong.
9711         (update): reset also the selection cursors if they do exits otherwise
9712         their x/y positions may be wrong.
9713
9714         * text2.C (cursorDown): don't enter the inset if we came from a row
9715         above and are one row over the inset.
9716
9717         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9718         really leaving an inset.
9719
9720 2002-04-18  Juergen Vigna  <jug@sad.it>
9721
9722         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9723         of the selected paragraph does not have the selected layout also if
9724         the last one had!
9725
9726         * text2.C (setLayout): fixed bug which did not change last selected
9727         paragraph.
9728
9729         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9730         changed the read and substituted \\end_float with \\end_inset!
9731
9732         * BufferView_pimpl.C (cursorPrevious):
9733         (cursorNext): fixed to make it work with rows heigher than the work
9734         area without moving the cursor only the draw of the row.
9735         (workAreaMotionNotify): fix jumping over high rows.
9736
9737 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9738
9739         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9740         Ressler.
9741
9742 2002-04-16  Juergen Vigna  <jug@sad.it>
9743
9744         * text2.C (setCursor): set also the irow().
9745         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9746         (cursorUp):
9747         (cursorDown): support for locking an inset if the x_fix value goes
9748         inside it. That way I can transverse insets too with cursor up/down.
9749
9750         * lyxrow.h: added irow helper function same as other (i) functions.
9751
9752         * BufferView_pimpl.C (cursorPrevious):
9753         (cursorNext): fixed for insets!
9754
9755 2002-04-15  Juergen Vigna  <jug@sad.it>
9756
9757         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9758         position otherwise it is wrong in some cases.
9759
9760         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9761         inside the inset before the call.
9762
9763 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9764
9765         * buffer.[Ch] (getBibkeyList): make it const.
9766
9767 2002-04-12  Juergen Vigna  <jug@sad.it>
9768
9769         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9770
9771         * text2.C (getCursorX): new helper function
9772         (setCursor): compute also ix_
9773         (setCursorFromCoordinates): set also ix.
9774
9775         * lyxcursor.h: added ix_ and helper functions.
9776
9777         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9778
9779         * buffer.C (insertStringAsLines): dont break paragraph if the this
9780         paragraph is inside an inset which does not permit it!
9781
9782         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9783         also with no chars on this paragraph.
9784         (paintRowText): only paint stuff if it's inside the workarea!
9785
9786         * paragraph.C (breakParagraph): honor keepempty flag and break the
9787         paragraph always below not above.
9788
9789         * BufferView2.C (unlockInset): update the paragraph layout on inset
9790         unlock as we changed paragraph in such a case.
9791
9792         * lyxfind.C (LyXFind): clear the former selection if not found!
9793
9794         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9795         again called in insertChar().
9796
9797         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9798         an inset which uses the whole row!
9799         (rightMargin): ditto.
9800         (insertChar): force a rebreak if we inserted an inset!
9801
9802 2002-03-28  Herbert Voss  <voss@lyx.org>
9803
9804         * lyxlength.[Ch]: add inBP() to get the right PS-point
9805         units (BigPoint). With inPixels we have rounding errors
9806
9807 2002-04-11  Juergen Vigna  <jug@sad.it>
9808
9809         * text2.C (setCursorFromCoordinates): set iy to the right value.
9810         (setCursor): add check if row->previous exists!
9811
9812         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9813         an old float_type as this was the case in the old code!
9814
9815         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9816
9817         * BufferView2.C (showLockedInsetCursor): use iy
9818         (fitLockedInsetCursor): ditto
9819
9820         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9821         locked insets as there we have the right value now.
9822
9823         * lyxcursor.C: added iy_ variable and iy functions to set to the
9824         baseline of cursor-y of the locked inset.
9825
9826         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9827         (setCursor): fixed for insets which need a full row.
9828
9829         * text.C (rowLastPrintable): don't ignore the last space when before
9830         an inset which needs a full row.
9831         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9832         as last character of a row when before a inset which needs a full row.
9833
9834 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9835
9836         * version.C.in: update date
9837
9838         * text2.C (fullRebreak): try to always return true and see what
9839         happens...
9840
9841 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9842
9843         * MenuBackend.C (expand): use Floating::listName
9844
9845         * FloatList.C (FloatList): add listName argument to the built-in
9846         floats
9847
9848         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9849         text associated with the float.
9850
9851 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9852
9853         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9854
9855 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9856
9857         * ShareContainer.h: add a couple of missing typenames.
9858
9859 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9860
9861         * lyxrc.C (getDescription): use _() correctly rather than N_().
9862
9863 2002-03-28  Herbert Voss  <voss@lyx.org>
9864
9865         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9866         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9867
9868 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9869
9870         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9871         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9872
9873 2002-03-29  Juergen Vigna  <jug@sad.it>
9874
9875         * lyxfunc.C (dispatch): add a missing fitCursor call.
9876
9877         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9878         it was scrolled by a cursor move, so return the bool status.
9879
9880         * BufferView.C (fitCursor): return the bool flag also to the outside
9881         world as this is needed.
9882
9883         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9884
9885         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9886         call the edit() as it is not needed (and wrong) IMO.
9887         (workAreaButtonPress): set the screen_first variable before evt.
9888         unlock the inset as this may change screen_first and then we have
9889         a wrong y position for the click!
9890
9891 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9892
9893         * MenuBackend.C (expand): another translation that I missed
9894
9895 2002-03-28  Juergen Vigna  <jug@sad.it>
9896
9897         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9898
9899         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9900
9901 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9902
9903         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9904
9905         * MenuBackend.C (expand): fix export/view/update when there is no
9906         document open.
9907
9908 2002-03-27  Herbert Voss  <voss@lyx.org>
9909
9910         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9911         and text%
9912
9913 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9914
9915         * bufferview_funcs.C (currentState): only show paragraph number
9916         for is DEVEL_VERSION is set.
9917
9918         * lyxfunc.C (dispatch): put warning in INFO channel
9919
9920         * MenuBackend.C (expand): translate the name of floats
9921
9922         * FloatList.C (FloatList): mark the float names for translation
9923
9924         * converter.C (convert): use LibScriptSearch
9925
9926 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9927
9928         * MenuBackend.C (defaults): fix default menu (we might as well get
9929         rid of it...)
9930
9931 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9932
9933         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9934         directory.
9935
9936 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9937
9938         * lyxvc.C: reorder includes.
9939
9940 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9941
9942         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9943           properly
9944
9945 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9946
9947         * CutAndPaste.C: change layouts earlier on paste
9948           to avoid crashing when calling getFont()
9949
9950 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9951
9952         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9953         irritating #error.
9954
9955 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9956
9957         * WorkArea.C: remove 'Pending' debug message.
9958
9959         * most files: ws cleanup
9960
9961         * buffer.[Ch]: ws changes
9962
9963         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9964
9965 2002-03-21  Juergen Vigna  <jug@sad.it>
9966
9967         * tabular.C (SetMultiColumn): collapse also the contents of the
9968         cells and set the last border right. Added a Buffer const * param.
9969
9970 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9971
9972         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9973         linking or not.
9974
9975 2002-03-19  Juergen Vigna  <jug@sad.it>
9976
9977         * text2.C (clearSelection): reset also xsel_cache.
9978
9979         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9980         where it needs to be called (John tells us to do so too :)
9981         (selectionLost): reset sel_cache.
9982
9983         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9984
9985 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9986
9987         * text2.C (setCursorIntern): put debuging code in INSETS channel
9988
9989 2002-03-19  André Pönitz <poenitz@gmx.net>
9990
9991         * lyxfunc.C: tiny whitespace change
9992
9993 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9994
9995         * ToolbarDefaults.C (init):
9996         * LyXAction.C (init):
9997         * commandtags.h:
9998         * BufferView_pimpl.C (Dispatch):
9999         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10000
10001 2002-03-19  Allan Rae  <rae@lyx.org>
10002
10003         * exporter.C (Export): removeAutoInsets before doing anything else.
10004         While I've just introduced a dependency on BufferView this really is
10005         the best place to clean the buffer otherwise you need to cleanup in
10006         a dozen places before calling export or cleanup in a dozen functions
10007         that export calls.
10008
10009         * converter.C (runLaTeX):
10010         (scanLog): Better handling of removeAutoInsets and screen updates.
10011
10012         * lyxfunc.C (dispatch): small whitespace changes
10013
10014 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10015
10016         * WorkArea.C (C_WorkAreaEvent): return a value.
10017         (event_cb): return 1 if we handled the event, 0 otherwise.
10018
10019         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10020
10021 2002-03-18  Juergen Vigna  <jug@sad.it>
10022
10023         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10024         (GetAdditionalWidth): ditto.
10025         (RightLine): ditto.
10026         (LeftLine): ditto.
10027
10028         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10029         inset if we're there actually (probably not used right now but this
10030         is the direction to go for unifying code).
10031         (paste): disable code to clear the selection.
10032
10033         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10034         inside an InsetText and move the check further up as it is in the
10035         wrong place.
10036
10037         * text2.C (pasteSelection): set a selection over the pasted text.
10038
10039 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10040
10041         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10042         and libgraphics to build on Cygwin.
10043
10044 2002-03-15  Juergen Vigna  <jug@sad.it>
10045
10046         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10047         inserting an Inset into the paragraph. I know this is not the best
10048         fix but we already use current_view in CutAndPaste so we will remove
10049         all of it's using at the same time.
10050
10051         * buffer.C (sgmlError): deactivated function till it is rewritten in
10052         the right mode, now it can create problems.
10053
10054         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10055         before accessing it.
10056
10057 2002-03-14  Juergen Vigna  <jug@sad.it>
10058
10059         * undo_funcs.C (textHandleUndo): do the right thing when updating
10060         the inset after the undo/redo.
10061
10062         * text2.C (setCursor): just some testcode for #44 not ready yet.
10063
10064         * undo_funcs.C (textHandleUndo): set the next() and previous()
10065         pointers of the paragraph to 0 before deleting otherwise we have
10066         problems with the Paragraph::[destructor].
10067
10068         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10069         on a paragraph insertion.
10070
10071 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10072
10073         * buffer.C (asciiParagraph): use += operator for char append to
10074         string.
10075
10076         * paragraph.C (getFontSettings): compare >= not just >
10077         (highestFontInRange): ditto
10078         (setFont): ditto
10079
10080 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10081
10082         * paragraph.C: change several algorithm to be more appripriate for
10083         the problem domain. This is lookip in FontList and in the InsetList.
10084
10085 2002-03-13  André Pönitz <poenitz@gmx.net>
10086
10087         * commandtags.h:
10088         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10089
10090 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10091
10092         * commandtags.h:
10093         * LyXAction.C:
10094         * lyxfunc.C:
10095         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10096
10097 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10098
10099         * Painter.C (display): anon helper function, adjust code for this
10100         change.
10101         (pixmap): remove function.
10102
10103         * Painter.h: remove private display variable.
10104
10105         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10106
10107 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10108
10109         * WorkArea.[Ch]: remove figinset_canvas cruft.
10110
10111 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10112
10113         * lyxtextclass.C (operator): add one item cache optimization.
10114
10115         * bufferlist.h: doxy changes
10116
10117         * bufferlist.C: ws changes
10118
10119         * DepTable.[Ch] (ext_exist): place const in the right spot.
10120
10121         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10122         call resizeInsets.
10123         (workAreaExpose): call resizeInsets when the with BufferView changes.
10124         (Dispatch): adjust for protectedBlank removal
10125         (specialChar): call updateInset if the insert went ok.
10126
10127         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10128         specialChar instead.
10129
10130         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10131
10132         * BufferView.h: doxy change
10133
10134         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10135
10136         * lyxtextclass.C (operator[]): remove non-const version
10137         (defaultLayout): remove non-const version
10138
10139 2002-03-12  Juergen Vigna  <jug@sad.it>
10140
10141         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10142         did resize the LyXText too.
10143
10144         * buffer.C (readLyXformat2): set layout information on newly allocated
10145         paragraphs.
10146
10147         * tabular.C (OldFormatRead): set layout information on the paragraph.
10148
10149 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10150
10151         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10152
10153 2002-03-11  Juergen Vigna  <jug@sad.it>
10154
10155         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10156         plainly wrong.
10157         (resizeCurrentBuffer): force also the insets to resize themselfes.
10158         (moveCursorUpdate): fixed up for InsetText.
10159
10160 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10161
10162         * commandtags.h:
10163         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10164         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10165         value of Dialogs::tooltipsEnabled().
10166         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10167
10168 2002-03-08  Juergen Vigna  <jug@sad.it>
10169
10170         * BufferView_pimpl.C (updateInset): update inset inside inset also
10171         if it isn't inside theLockingInset().
10172
10173 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10174
10175         * buffer.C (asciiParagraph): redo some of the word and line length
10176         handling.
10177         (getLists): look for Caption instead of caption.
10178
10179 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10180
10181         * buffer.C (Buffer): initialize niceFile to true
10182         (makeLaTeXFile):
10183         (makeLinuxDocFile):
10184         (makeDocBookFile): make sure niceFile is true on exit
10185
10186 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10187
10188         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10189
10190 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10191
10192         * LyXSendto.C: remove.
10193         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10194         * lyx_gui.C: remove now-redundant comment.
10195         * ColorHandler.h: remove forward declaration of class WorkArea.
10196         * lyxfunc.C: remove #include "WorkArea.h".
10197
10198 2002-03-07  Juergen Vigna  <jug@sad.it>
10199
10200         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10201         got moved away with the DEPM and also set the inset_owner always
10202         right which before could have been omitted.
10203
10204 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10205
10206         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10207         wanted layout is not found.
10208
10209 2002-03-07  Juergen Vigna  <jug@sad.it>
10210
10211         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10212
10213 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10214
10215         * paragraph.C (breakParagraph): use default layout not layout of
10216         prev paragraph.
10217         (Paragraph): clear ParagraphParameters.
10218
10219 2002-03-06  Juergen Vigna  <jug@sad.it>
10220
10221         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10222         otherwise it would not be a valid lenght. Fixed a special case in
10223         the minipage compatibility read where we end the document with a
10224         minipage.
10225
10226         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10227         was set as it could be 0 for InsetTexts first entry.
10228
10229 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10230
10231         * paragraph.C (writeFile): if layout is empty write out
10232         defaultLayoutName().
10233
10234         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10235         file without named layout we set layout to defaultLayoutName().
10236
10237 2002-03-06  Juergen Vigna  <jug@sad.it>
10238
10239         * CutAndPaste.C (copySelection): set layout for new paragraph.
10240
10241         * text.C (prepareToPrint): leave ERT inset left aligned
10242         (leftMargin): don't indent paragraphs inside ERT insets
10243
10244 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10245
10246         * paragraph.C (breakParagraph): dont call clear do the work manually
10247
10248         * paragraph.[Ch] (clear): remove function
10249
10250 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10251
10252         * paragraph.C (Paragraph): dont call clear, the work has already
10253         been done.
10254
10255         * lyxtextclass.C (operator): assert if n is empty
10256
10257         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10258         work manually instead.
10259
10260 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10261
10262         * BufferView_pimpl.C: protect selectionLost against text == 0
10263
10264 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10265
10266         * text.C (breakParagraph): fix a setting layout to '0' problem.
10267
10268 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10269
10270         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10271         final location of file, for the included files, and graphics.
10272
10273 2002-03-05  Juergen Vigna  <jug@sad.it>
10274
10275         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10276
10277 2002-03-04  Juergen Vigna  <jug@sad.it>
10278
10279         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10280
10281         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10282         last column of multicolumn cells.
10283         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10284
10285 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10286
10287         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10288         file if it doesn't go to a temporary file.
10289
10290         * buffer.C (sgmlOpenTag):
10291         (sgmlCloseTag):  remove extra newline insertion.
10292
10293 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10294
10295         * text.C (getRowNearY): comment out debug msg
10296
10297 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10298
10299         * text2.C: first -> first_y
10300
10301         * text.C (getRowNearY): add some attemts at a possible
10302         optimization, not working.
10303
10304         * tabular.[Ch]: add BufferParams to several function so that newly
10305         created paragraph can be initialized to he default layotu for the
10306         buffers textclass.
10307
10308         * tabular-old.C (ReadOld): add buf->params to call of Init
10309
10310         * screen.C: rename text->first to text->first_y
10311
10312         * paragraph.C (breakParagraph): always set layout in the broken
10313         paragraph
10314
10315         * lyxtextclass.C (Read): remove lowercase
10316         (hasLayout): ditto
10317         (operator): ditto
10318         (delete_layout): ditto
10319
10320         * lyxtext.h: rename first -> first_y
10321
10322         * lyxlayout.C (Read): remove lowercase
10323         (name): ditto
10324         (setName): ditto
10325         (obsoleted_by): ditto
10326
10327         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10328
10329         * buffer.C (insertErtContents): add params are to InsetERT
10330         (parseSingleLyXformat2Token): add code to check if a paragraphs
10331         layout really exist.
10332         (parseSingleLyXformat2Token): add params to several inset
10333         constructors
10334         (asciiParagraph): remove lowercase, do the layout comparisons with
10335         no_case
10336
10337         * BufferView_pimpl.C (cursorNext): first -> first_y
10338         (resizeCurrentBuffer): first -> first_y
10339         (updateScrollbar): first -> first_y
10340         (scrollCB): first -> first_y
10341         (workAreaMotionNotify): first -> first_y
10342         (workAreaButtonPress): first -> first_y
10343         (checkInsetHit): first -> first_y
10344         (cursorPrevious): first -> first_y
10345         (cursorNext): first -> first_y
10346         (Dispatch): add buffer_->params to severl inset contructors
10347
10348 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10349
10350         * lyxlayout.C (Read): remove some debug info that I forgot.
10351
10352         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10353         clean up the code slightly.
10354         (makeLinuxDocFile): ditto
10355         (makeDocBookFile): ditto
10356
10357         * text2.C: layout as string
10358
10359         * text.C: layout as string
10360
10361         * paragraph_pimpl.C: layout as string
10362
10363         * paragraph.[Ch]: layout as string
10364
10365         * lyxtextclasslist.[Ch]: layout as string
10366
10367         * lyxtextclass.[Ch]: layout as string
10368
10369         * lyxtext.h: layout as string
10370
10371         * lyxlayout.[Ch]: layout as string
10372
10373         * lyx_cb.C: layout as string
10374
10375         * bufferview_funcs.C: layout as string
10376
10377         * bufferparams.C: layout as string
10378
10379         * buffer.C: layout as string
10380
10381         * LyXView.[Ch]: layout as string
10382
10383         * LaTeXFeatures.[Ch]: layout as string
10384
10385         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10386
10387         * BufferView_pimpl.C: change current_layout to string, remove
10388         lyx::layout_type.
10389         (Dispatch):
10390         (smartQuote):
10391         (insertInset):
10392         (workAreaButtonRelease): layout as string
10393
10394         * BufferView2.C (unlockInset): adjust
10395
10396         * vspace.C (asLatexCommand): use an explict temp variable.
10397
10398 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10399
10400         * Makefile.am: use FRONTEND_*
10401
10402 2002-03-01  Juergen Vigna  <jug@sad.it>
10403
10404         * tabular.C (SetWidthOfMulticolCell): changed to something better
10405         I hope but still work in progress.
10406         (recalculateMulticolumnsOfColumn): renamed function from
10407         recalculateMulticolCells as it is more appropriate now.
10408         (SetWidthOfCell): calculate multicols better.
10409
10410 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10411
10412         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10413
10414         * lyxfunc.C (processKeySym): print sequence also if it is
10415         `deleted' (complete)
10416
10417         * kbsequence.C (print): print sequence even if it is deleted
10418         (complete would be a better word, actually).
10419
10420         * lyxfunc.C (dispatch): print complete options after a prefix key
10421
10422         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10423
10424 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10425
10426         * text2.C (setCharFont): eliminate setCharFont code duplication.
10427
10428 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10429
10430         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10431         LFUN_TABULAR_FEATURE (bug #177)
10432
10433 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10434
10435         * Makefile.am: remove figure.h
10436
10437 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10438
10439         * Bufferview_pimpl.C:
10440         * CutAndPasteC:
10441         * LaTeX.C:
10442         * LyXSendto.C:
10443         * buffer.C:
10444         * bufferlist.C:
10445         * converter.C:
10446         * language.C:
10447         * lyxfunc.C:
10448         * lyxvc.C:
10449         * paragraph.C:
10450         * text.C:
10451         * text2.C: remove #include "lyx_gui_misc.h".
10452
10453         * LaTeX.C: added #include <cstdio>
10454
10455 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10456
10457         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10458         that the paragraph following this one can have.
10459
10460         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10461
10462         * vspace.C (asLatexCommand): fix bogus gcc warning
10463
10464         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10465
10466 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10467
10468         * text2.C (setLayout): get rid of redundant code
10469
10470 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10471
10472         * text2.C (incDepth): make sure depth cannot be increased beyond
10473         reasonable values.
10474
10475 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10476
10477         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10478         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10479
10480         * PainterBase.h (image):
10481         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10482         a LyXImage const *.
10483
10484 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10485
10486         * BufferView.C:
10487         * BufferView.h:
10488         * BufferView_pimpl.C:
10489         * BufferView_pimpl.h:
10490         * LaTeXFeatures.C:
10491         * LyXAction.C:
10492         * LyXView.C:
10493         * Makefile.am:
10494         * UpdateList.h:
10495         * UpdateList.C:
10496         * buffer.C:
10497         * figure.h:
10498         * figureForm.C:
10499         * figureForm.h:
10500         * figure_form.C:
10501         * figure_form.h:
10502         * lyx_cb.C:
10503         * lyx_gui.C:
10504         * lyx_gui_misc.C:
10505         * lyxfunc.C:
10506         * sp_base.h:
10507         * sp_ispell.h:
10508         * sp_pspell.h:
10509         * sp_spell.C: remove fig inset, and the crap house of
10510           cards that follows it
10511
10512 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10513
10514         * Makefile.am:
10515         * lyxserver.C:
10516         * os2_defines.h:
10517         * os2_errortable.h:
10518         * nt_defines.h: move .h into support/
10519
10520         * vms_defines.h: remove
10521
10522         * WorkArea.C: add space in debug output
10523
10524         * text2.C:
10525         * paragraph.C:
10526         * buffer.C: add WITH_WARNINGS
10527
10528         * vc-backend.h:
10529         * vc-backend.C:
10530         * bufferlist.C: s/retrive/retrieve/, add docs
10531
10532         * vspace.h:
10533         * vspace.C:
10534         * kbmap.h:
10535         * lyxlength.h:
10536         * lyxgluelength.h:
10537         * length_common.h:
10538         * chset.h:
10539         * chset.C: add docs
10540
10541         * lyxgui.C: add ID to X error handler
10542
10543         * lyxtestclass.c: fix typo
10544
10545 2002-02-26  Juergen Vigna  <jug@sad.it>
10546
10547         * tabular_funcs.C (write_attribute): changed so that some default
10548         attributes are not written at all.
10549         (getTokenValue): set default values before trying to read the
10550         value so we have the return value always set as default if we don't
10551         find the token we search for.
10552
10553         * tabular.C (Write): write bools as bools not as strings!
10554
10555 2002-02-22  Juergen Vigna  <jug@sad.it>
10556
10557         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10558         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10559
10560         * text.C (leftMargin): don't add an indent for paragraphs inside
10561         tabular cells (fix #208).
10562
10563 2002-02-21  José Matos  <jamatos@fep.up.pt>
10564
10565         * tabular.C (docBook): fixed support for long tables.
10566
10567 2002-02-20  Juergen Vigna  <jug@sad.it>
10568
10569         * text2.C (getFont): get the drawing font of the Inset if this
10570         paragraph is inside an inset (only important for InsetERT for now).
10571
10572         * buffer.C (insertErtContents): use new lanugage params in ERT
10573         constructor.
10574
10575         * CutAndPaste.C: commenting out seemingly uneeded code.
10576
10577 2002-02-19  Allan Rae  <rae@lyx.org>
10578
10579         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10580         Iterators might be simple to use but they also get invalidated.
10581         (removeAutoInsets): renamed saved cursor tracking variables and added
10582         some comments to clarify what everything does.
10583
10584 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10585
10586         * Chktex.C:
10587         * LaTeX.C:
10588         * LyXSendto.C:
10589         * converter.C:
10590         * lyx_cb.C:
10591         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10592         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10593
10594         * lyxfunc.C:
10595         * vc-backend.h: remove #include "support/syscall.h"
10596
10597         * LaTeX.C:
10598         * LyXSendto.C:
10599         * converter.C: rearrange #includes in Lars' approved fashion.
10600
10601         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10602         forward declare class Timeout in the header file.
10603
10604         * XFormsView.C: changes due to the above.
10605
10606         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10607         similar to LyXView.
10608
10609         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10610         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10611
10612 2002-02-18  José Matos  <jamatos@fep.up.pt>
10613
10614         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10615         insets contents.
10616
10617 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10618
10619         * a lot of small ws changes
10620         * add a lot of using std::XXX
10621         * use std construcs some places where approp.
10622         * use some exisint stuff from lyxfunctional where approp.
10623         * Make file changes to use partial linking (lets test this now...)
10624
10625 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10626
10627         * Chktex.C:
10628         * buffer.C:
10629         remove #include "support/syscontr.h" as it's redundant. Always has been.
10630
10631         * Chktex.C:
10632         * LaTeX.C:
10633         * LyXSendto.C:
10634         * converter.C:
10635         * lyx_cb.C:
10636         * vc-backend.C:
10637         change Systemcalls::System to Systemcalls::Wait and
10638         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10639         No change of functionality, just reflects the stripped down Systemcalls
10640         class.
10641
10642 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10643
10644         * debug.[Ch]: add a GRAPHICS type to the enum.
10645
10646 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10647
10648         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10649
10650         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10651         there is an inset.
10652
10653 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10654
10655         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10656         match the changes below.
10657
10658         * text2.C (toggleInset): if there is not editable inset at cursor
10659         position, try to see if cursor is _inside_ a collapsable inset
10660         and close it.
10661
10662 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10663
10664         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10665         document menu has a nice checkbox
10666
10667 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10668
10669         * lyxlength.C (asLatexString): change PW to output as percent of
10670         \textwidth.
10671
10672         * lengthcommon.C: change '%' to 't%'
10673
10674         * lyxfunc.C (dispatch): a few comments from Martin
10675
10676 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10677
10678         * WorkArea.h:
10679         * WorkArea.C:
10680         * BufferView_pimpl.h:
10681         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10682           the X selection.
10683
10684 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10685
10686         * vspace.C (inPixels): fix compiler warning
10687
10688 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10689
10690         * lyxfunc.C (getStatus): fix status message for disabled commands.
10691
10692 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10693
10694         * BufferView_pimpl.C: fix crash on close buffer
10695         during selection (#227)
10696
10697 2002-01-27  Herbert Voss  <voss@lyx.org>
10698
10699         * buffer.C: link old Figure to new graphic inset
10700
10701 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10702
10703         * FontLoader.C (getFontinfo): Change the latex font names in order
10704         to match the names of type1inst.
10705
10706 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10707
10708         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10709
10710         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10711         (extchanged): ditto
10712         (ext_exist): ditto
10713         (remove_files_with_extension): ditto
10714         (remove_file): ditto
10715         (write): ditto
10716
10717         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10718         document is smaller than the work area height. Do not initialize
10719         static variables to 0.
10720
10721 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10722
10723         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10724
10725         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10726         LFUN_LAYOUT_PARAGRAPHS.
10727
10728         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10729         tabular. It is possible to provide a possible cell, which will
10730         typically be the actcell from the corresponding insettabular
10731
10732         * lyxfunc.C (getStatus): small cleanup; disable
10733         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10734         true
10735
10736 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10737
10738         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10739
10740         * paragraph.C (startTeXParParams):
10741         (endTeXParParams): new methods. The LaTeX code to
10742         start/end paragraph formatting
10743         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10744         empty (fixes bug #200)
10745
10746         * vspace.C (inPixels): adapt to the change below
10747         (inPixels): [later] more cleanups (remove unused variables)
10748
10749         * lyxlength.C (inPixels): change to use a width and a height as
10750         parameter.
10751
10752 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10753
10754         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10755         Replaced with \paperwidth
10756
10757         * DepTable.C (insert): add std:: qualifier
10758
10759 2002-01-18  Allan Rae  <rae@lyx.org>
10760
10761         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10762         updated also?
10763
10764         * text.C (drawInset): Turned out I didn't know enough about how
10765         rebreaking worked.  This fixes most of the redraw problems.  I see
10766         an occasional cursor trail when a line is broken now and the cursor
10767         placement can seem out by a few pixels also after a rebreak.
10768
10769 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10770
10771         * buffer.C (parseSingleLyXformat2Token): update because minipage
10772         width is now a LyXLength
10773
10774         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10775
10776         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10777         math insets
10778
10779 2002-01-17  Juergen Vigna  <jug@sad.it>
10780
10781         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10782
10783         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10784         is set correctly and the inset is updated correctly.
10785
10786 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10787
10788         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10789         the beginning of the loop.
10790
10791 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10792
10793         * lyxrc.C: improve help for use_scalable_fonts
10794
10795 2002-01-17  Allan Rae  <rae@lyx.org>
10796
10797         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10798
10799 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10800
10801         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10802         make sure to set their inset_owner to the right value (bug #171)
10803
10804 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10805
10806         * DepTable.h
10807         * DepTable.C: Implement mtime checking to reduce time spent doing
10808         CRCs.
10809
10810 2002-01-16  Juergen Vigna  <jug@sad.it>
10811
10812         * tabular.C (GetAdditionalHeight): one of error fixed.
10813
10814         * lyxrc.C (output): small fix in writing use_pspell.
10815
10816 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10817
10818         * sp_base.h: #include LString.h
10819
10820 2002-01-16  Allan Rae  <rae@lyx.org>
10821
10822         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10823         Can someone check this please?
10824
10825         * text.C (drawInset): It was possible that p.row would be removed by
10826         breakAgainOneRow upsetting a few other settings.  There may be another
10827         small tweak possible by setting need_break_row = 0 when p.row has been
10828         removed but I don't know enough about the logic here.
10829
10830 2002-01-15  Allan Rae  <rae@lyx.org>
10831
10832         * text.C (insertChar): removed conditional truism.
10833
10834         * BufferView2.C (removeAutoInsets): More tweaks.
10835         cur_par_prev could be a stray pointer.  Check for trailing empty line
10836         in case last line was cur_par and only had an error inset on it.
10837
10838 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10839
10840         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10841         absolute
10842
10843         * vc-backend.C (most methods):
10844         * exporter.C (Export):
10845         * converter.C (convert):
10846         (runLaTeX):
10847         * LyXSendto.C (SendtoApplyCB):
10848         * lyxfunc.C (dispatch):
10849         (menuNew):
10850         (open):
10851         (doImport):
10852         * lyx_cb.C (AutoSave):
10853         (InsertAsciiFile):
10854         * BufferView_pimpl.C (MenuInsertLyXFile):
10855         * buffer.C (runChktex): use Buffer::filePath().
10856
10857         * buffer.h: rename filename to filename_; rename filepath to
10858         filepath_ and make it private
10859         (filePath): new method
10860
10861         * buffer.C (writeFile): use fileName()
10862         (getLatexName):
10863
10864         * lyx_main.C (init): fix starting  of LyX when the binary is a
10865         link from so,ewhere else.
10866
10867         * minibuffer.C: include <cctype> for isprint
10868
10869 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10870
10871         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10872         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10873         name clash with InsetCollapsable's width function.
10874
10875 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10876
10877         * lastfiles.C: include <iterator>
10878
10879 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10880
10881         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10882         std::count.
10883
10884         * buffer.C (makeLaTeXFile): ditto.
10885         Also make loop operation more transparent.
10886
10887 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10888
10889         * ToolbarDefaults.C: remove trailing comma closing namespace.
10890
10891         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10892
10893         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10894         as in WorkArea.
10895
10896         * trans.C (Load): comment out unused variable, allowed.
10897
10898 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10899
10900         * minibuffer.[Ch] (append_char): new method to recieve input from the
10901         drop-down completion browser. If a key was pressed, then recieve this
10902         char and append it to the existing string.
10903         (peek_event): modify the positioning data passed to the completion
10904         browser so that it can be placed above the minibuffer rather than below.
10905 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10906
10907         * LyXAction.C (init): alloe error-next for readonly documents.
10908
10909         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10910         count.
10911
10912 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10913
10914         * bufferlist.C (readFile): create the buffer _after_ checking that
10915         the file exists.
10916
10917         * lyxfunc.C (verboseDispatch): fix handling of arguments
10918
10919         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10920
10921         * lyxrc.C: use string::erase() instead of initializing to "".
10922
10923
10924 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10925
10926         * BufferView_pimpl.h:
10927         * BufferView_pimpl.C:
10928         * WorkArea.h:
10929         * WorkArea.C:
10930         * text2.C: tell X when we have made a selection for copying
10931
10932 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10933
10934         * BufferView_pimpl.C (MenuInsertLyXFile):
10935         * lyxfunc.C (menuNew):
10936         (open):
10937         (doImport): add shortcuts to directory buttons
10938
10939         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10940         open a float)
10941
10942         * lyxfunc.C (setStatusMessage):
10943         (getStatusMessage): new methods
10944         (getStatus):use setStatusMessage instead of setErrorMessage
10945         (dispatch): when function is disabled, set error message here
10946         [instead of in getStatus previously]
10947
10948         * BufferView_pimpl.C (workAreaButtonRelease): update
10949         toolbar/menubar here too.
10950
10951 2002-01-13  Allan Rae  <rae@lyx.org>
10952
10953         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10954         Now seems indestructible.  Remaining task is to audit all other
10955         code affected by deleteEmptyParagraphMechanism.  One small quirk
10956         left is that an empty document with an error in the preamble can
10957         be made to report an error but no error box appears.  I don't know
10958         where it goes.
10959         (removeAutoInsets): Improved comments.
10960
10961 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10962
10963         * Thesaurus.h:
10964         * Thesaurus.C: update for Aiksaurus 0.14
10965
10966 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10967
10968         * text2.C (firstParagraph): removed member function, all uses
10969         replaces with ownerParagraph
10970         (redoParagraphs): here
10971         (updateInset): here
10972         (toggleAppendix): here
10973         * BufferView2.C (insertErrors): here
10974         (setCursorFromRow): here
10975
10976 2002-01-13  Allan Rae  <rae@lyx.org>
10977
10978         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10979         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10980         There is still a way to segfault this although you may have to do this
10981         multiple times: Have an InsetERT with an unknown command in it.
10982         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10983         <down-arrow>, <Enter> again, View->DVI, BANG!
10984
10985         * text2.C (setCursor):
10986         (deleteEmptyParagraphMechanism):
10987         * lyxtext.h (setCursor):
10988         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10989         Making use of the return value may help fix other bugs.
10990
10991 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10992
10993         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10994
10995         * LyXView.C (updateMenubar): call MenuBar::update here
10996         (updateToolbar): but not here
10997         (showState): do not update toolbar/menubar
10998
10999         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11000         should need to care about that.
11001
11002         * lyxfunc.C (verboseDispatch): simplify a bit
11003         (getStatus): have a version which takes a pseudoaction, and
11004         another which requires a (kb_action,string).
11005
11006         * LyXAction.C (retrieveActionArg): make it work also when action
11007         is not a pseudo-action.
11008         (getActionName): simplify a bit
11009         (helpText):
11010
11011 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11012
11013         * lyxfunc.C (verboseDispatch): new families of methods with
11014         several ways to specify a command and a bool to indicate whether
11015         the command name and shortcut should be displayed in minibuffer
11016         (eventually, we could extend that to a finer bitmask like
11017         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11018         (dispatch): the pristine dispatch command which just, well,
11019         dispatchs! Note it still sets its result to minibuffer; I'm not
11020         sure we want that.
11021
11022         * lyxfunc.h: remove setHintMessage
11023
11024         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11025
11026 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11027
11028         * BufferView_pimpl.C (specialChar): delete new inset if we have
11029         not been able to insert it.
11030
11031         * kbmap.C: revert to using int instead of kb_action, since all we
11032         are dealing with is pseudo-actions.
11033
11034         * LyXAction.C (searchActionArg): change to return int instead of
11035         kb_action, since the result is a pseudoaction.
11036
11037 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11038
11039         * buffer.C (insertErtContents): Fix (partially) the font bug.
11040
11041 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11042
11043         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11044         as the other one is broken on my machine!
11045
11046 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11047
11048         * commandtags.h:
11049         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11050
11051 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11052
11053         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11054         reflect their actual use. Provide compatibility code for older lyxrc
11055         files.
11056
11057         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11058         FL_NORMAL_STYLE.
11059         change names of popup font variables in line with the changes to lyxrc.C
11060
11061 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11062
11063         * buffer.C (asciiParagraph): avoid outputing a word twice after
11064         an inset.
11065
11066         * lyxrc.C (getDescription): document that document_path and
11067         template_path can be empty.
11068
11069 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11070
11071         * LaTeXFeatures.C (getMacros):
11072         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11073
11074         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11075
11076         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11077         getPackages.
11078         (getPackages): rename feature "floats" to "float". Use an array to
11079         iterate over 'simple' features (i.e. just a \usepackage). Add
11080         handling of "amsmath" (renamed from "amsstyle").
11081
11082 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11083
11084         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11085         features list.
11086
11087 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11088
11089         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11090         FuncStaus::FuncStatus & FuncStaus::some_method().
11091
11092 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11093
11094         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11095         of the func_satus stuff. Edited and massaged in various ways by
11096         JMarc.
11097
11098         * lyxfunc.C (getStatus): use FuncStatus
11099
11100 2002-01-08  Juergen Vigna  <jug@sad.it>
11101
11102         * text.C (nextBreakPoint): use function Inset::isChar().
11103
11104         * paragraph.C (TeXOnePar): use function
11105         Inset::forceDefaultParagraphs.
11106
11107         * buffer.C (latexParagraphs): use function
11108         Inset::forceDefaultParagraphs.
11109
11110 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11111
11112         * lyx_gui.C (init): set the style of the menu popups to
11113         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11114
11115 2002-01-07  Juergen Vigna  <jug@sad.it>
11116
11117         * text.C (setHeightOfRow): small fix
11118         (prepareToPrint): don't look at alignment if we don't have the place
11119         for doing it.
11120
11121 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11122
11123         * box.C: New file. Move the Box methods and functions out of box.h,
11124         following Lars' suggestion.
11125
11126 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11127
11128         * box.h: #include "support/LOstream.h", needed for inlined function.
11129
11130         * lyxtextclass.C:
11131         * lyxtextclasslist.C: added some using std declarations.
11132
11133 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11134
11135         * box.h: make signed dimensions to allow insets wider than
11136           the screen (bug #162)
11137
11138         * BufferView_pimpl.C: add some insetHit debug
11139
11140 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11141
11142         * vc-backend.C: add FIXME
11143
11144 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11145
11146         * lyxfunc.C (getStatus): enable code for showing math font status
11147         in toolbar/menu.
11148
11149 2002-01-07  Juergen Vigna  <jug@sad.it>
11150
11151         * text.C (nextBreakPoint): removed debug output not needed anymore.
11152
11153 2002-01-06  Juergen Vigna  <jug@sad.it>
11154
11155         * text.C (nextBreakPoint): fixed up this function we had this bug
11156         since ever but now hopefully we break row better.
11157         (insertChar): we have to check if an inset is the next char as it
11158         could now happen that a large inset is causing a break.
11159
11160 2002-01-05  Juergen Vigna  <jug@sad.it>
11161
11162         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11163         if it doesn't like to be drawed.
11164
11165 2002-01-04  Juergen Vigna  <jug@sad.it>
11166
11167         * BufferView2.C (lockInset): forgot to set a cursor.
11168
11169         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11170
11171 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11172
11173         * FormMathsPanel.C:
11174         * FormMathsPanel.h
11175         * MathsSymbols.C:
11176         * form_maths_panel.C:
11177         * form_maths_panel.h:
11178         * form_maths_panel.fd: implemented sub- and super- buttons in math
11179         panel.
11180
11181         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11182         (or ^ space) to be used as in TeX (req'd by André).
11183
11184         * lyxfunc.C: Allow ^ and _ again to be used both as
11185         super/subscript (mathed) and as themselves (in text).
11186
11187 2002-01-03  Allan Rae  <rae@lyx.org>
11188
11189         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11190         "LyX" or the filename of the current buffer if it has one.  This is a
11191         modified form of John Levon's patch.
11192
11193         * XFormsView.C (setWindowTitle): also set icon title.
11194
11195         * LyXView.h (setWindowTitle): signature changed.
11196         * XFormsView.h (setWindowTitle): ditto.
11197
11198 2002-01-02  Juergen Vigna  <jug@sad.it>
11199
11200         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11201
11202 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11203
11204         * screen.C (topCursorVisible): introduce a temp var for
11205         text->cursor.row(), handle the case where this row is null. (kindo
11206         hachish)
11207
11208         * text2.C (setCursor): add a couple of asserts.
11209
11210         * paragraph.h (inset_iterator): add -> operator
11211
11212         * paragraph.[Ch] (autoDeleteInsets): remove member function
11213
11214         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11215         cursor pos correctly and handle inset deletion by itself.
11216         (insertErrors): move iterator declaration out of for expression
11217
11218         * lyxtextclass.C: add <algorithm>
11219
11220         * Makefile.am: added the new files to sources, removed layout.C
11221
11222         * layout.C: removed file
11223
11224         * layout.h: remove LYX_DUMMY_LAYOUT
11225
11226         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11227         layout.
11228
11229         * lyxlayout.[Ch]:
11230         * lyxtextclass.[Ch]:
11231         * lyxtextclasslist.[Ch]: new files
11232
11233         * include order changes to a lot of files, also changes because of
11234         the six new files.
11235
11236 2001-12-27  Juergen Vigna  <jug@sad.it>
11237
11238         * buffer.C (asciiParagraph): more fixes.
11239
11240         * tabular.C (ascii): make ascii export support export of only the
11241         data separated by a column-delimiter.
11242         (ascii): better support for ascii export.
11243
11244         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11245
11246 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11247
11248         * tabular_funcs.C: use a "using std::getline" instead of the
11249         previous fix from Angus (necessary for cxx + lyxstring)
11250
11251 2001-12-24  Juergen Vigna  <jug@sad.it>
11252
11253         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11254
11255         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11256         problems. First check a minipage also if we have some ert-contents
11257         (not only on par->size(), second set the right depth of the paragraph
11258         on the relink to the root-paragraph-list!
11259
11260         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11261         which then did not anymore update the main paragraphs on undo/redo!
11262
11263 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11264
11265         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11266         code. Support all font-changing funcs (even those which are not in
11267         menu currently). Support for reporting font settings in
11268         mathed (disabled until Andre provides a function on mathed's side).
11269
11270         * func_status.h (toggle): small helper function to set toggle
11271         state on a flag.
11272
11273 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11274
11275         * tabular_funcs.C: getline -> std::getline
11276
11277 2001-12-21  Juergen Vigna  <jug@sad.it>
11278
11279         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11280         accessed and could be 0 (I couldn't generate this but it seems
11281         Michael could!).
11282
11283 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11284
11285         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11286         * tabular_funcs.h: here and include iosfwd
11287
11288 2001-12-20  Juergen Vigna  <jug@sad.it>
11289
11290         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11291         inside inset but undo_par was.
11292
11293 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11294
11295         * Thesaurus.C: always include <config.h> in sources.
11296
11297         * Painter.h:
11298         * lyxlookup.h:
11299         * box.h: do not include <config.h> in header files
11300
11301         * text.C (paintLastRow): remove unused variable
11302
11303         * text.C (transformChar):
11304         (insertChar):
11305         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11306
11307         * Painter.C (text):
11308         * font.C (width): rewrite to use uppercase() instead of
11309         islower/toupper.
11310
11311         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11312
11313 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11314
11315         * lyxfind.C: clean up of find failure position change
11316
11317 2001-12-20  Juergen Vigna  <jug@sad.it>
11318
11319         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11320
11321         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11322         (TeXRow): added to LaTeX a single tabular row.
11323         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11324         (Latex): simplified and finally good LT-h/f support.
11325         (various_functions): just small adaptions for LT-h/f support.
11326
11327         * tabular_funcs.[hC]: added and moved here all not classfunctions
11328         of LyXTabular.
11329
11330 2001-12-19  Juergen Vigna  <jug@sad.it>
11331
11332         * tabular.[Ch]: better support for longtabular options (not finished
11333         yet!)
11334
11335 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11336
11337         * text.C (paintLastRow): use the label font instead of the font of
11338         the last character to compute the size of *_BOX. This makes more
11339         sense and avoids a crash with empty paragraphs.
11340         Use Painter::rectangle to draw EMPTY_BOX.
11341
11342 2001-12-19  Juergen Vigna  <jug@sad.it>
11343
11344         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11345         the paragraphs if the replaced paragraph is not the first one!
11346         Tried to delete not used paragraphs but does not work yet so for
11347         now it's inside #ifdef's and by default off!
11348
11349 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11350
11351         * MenuBackend.C: include "lyx_main.h" instead of declaring
11352         lastfiles (actually was declared as LastFiles* instead of a
11353         scoped_ptr).
11354
11355 2001-12-17  Juergen Vigna  <jug@sad.it>
11356
11357         * tabular.C (AppendColumn): applied John's fix
11358
11359 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11360
11361         * BufferView.h:
11362         * BufferView.C:
11363         * BufferView_pimpl.h:
11364         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11365
11366         * Makefile.am:
11367         * box.h: new start of class for above
11368
11369         * lyxfunc.C: ignore space-only minibuffer dispatches.
11370           Show the command name when it doesn't exist
11371
11372         * minibuffer.C: don't add empty lines to the history
11373
11374         * minibuffer.C: add a space on dropdown completion
11375
11376 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11377
11378         * text.C: fix line above/below drawing in insets
11379
11380 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11381
11382         * lyxlength.C (LyXLength): Initialize private variables.
11383
11384 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11385
11386         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11387         when inserting error insets.
11388
11389 2001-12-13  Juergen Vigna  <jug@sad.it>
11390
11391         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11392         actually sometimes the before-paragraph.
11393         (setUndo): don't clear the redostack if we're not actually undoing!
11394
11395 2001-12-06  Juergen Vigna  <jug@sad.it>
11396
11397         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11398         and fixed redoing of main paragraph, so we can use it now ;)
11399
11400         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11401
11402 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11403
11404         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11405         Juergen's request
11406
11407 2001-12-13  André Pönitz <poenitz@gmx.net>
11408
11409         * undostack.[Ch]:
11410         * undo_func.C: minor cleanup
11411
11412 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11413
11414         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11415         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11416         font in urw-fonts package which is marked as -urw-fontspecific and
11417         does not work (incidentally, changing the encoding in the
11418         fonts.dir of this package to -adobe-fontspecific fixes the
11419         problem).
11420
11421         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11422         is a crash when undoing first paragraph (Juergen, please take a
11423         look). THis does not mean the undo fix is wrong, just that it
11424         uncovers problems.
11425
11426         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11427         the (Paragraph*) version when needed instead of duplicating the
11428         code.
11429
11430         * text.C (workWidth): use Inset::parOwner to find out where the
11431         inset has been inserted. This is a huge performance gain for large
11432         documents with lots of insets. If Inset::parOwner is not set, fall
11433         back on the brute force method
11434
11435         * paragraph_pimpl.C (insertInset):
11436         * paragraph.C (Paragraph):
11437         (cutIntoMinibuffer): set parOwner of insets when
11438         inserting/removing them
11439
11440         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11441
11442 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11443
11444         * commandtags.h:
11445         * LyXAction.C:
11446         * lyx_main.C:
11447         * lyxfunc.C:
11448         * mathed/formulabase.C:
11449         * mathed/math_cursor.[Ch]:
11450         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11451
11452
11453 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11454
11455         * lyxlength.[Ch] (operator!=): new function
11456
11457 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11458
11459         * text.C (workWidth): use Inset::parOwner to find out where the
11460         inset has been inserted. This is a huge performance gain for large
11461         documents with lots of insets. If Inset::parOwner is not set, fall
11462         back on the brute force method
11463
11464         * paragraph_pimpl.C (insertInset):
11465         * paragraph.C (Paragraph):
11466         (cutIntoMinibuffer): set parOwner of insets when
11467         inserting/removing them
11468
11469         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11470
11471 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11472
11473         * tabular-old.C (getTokenValue):
11474         * tabular.C (getTokenValue):
11475         (write_attribute): new versions for LyXLength
11476         (everywhere): adjust the use of widths
11477
11478         * tabular.h: change the type of widths from string to LyXLength
11479
11480 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11481
11482         * paragraph.C: fixed missing line number count when exporting
11483         Environments to LaTeX file
11484
11485         * buffer.C: added informational message for checking line numbers.
11486
11487 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11488
11489         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11490         paragraph, do the 'double space' part, but not the 'empty
11491         paragraph' one.
11492
11493         * text.C (workWidth): small optimization
11494         (getLengthMarkerHeight): use minimal size for negative lengths.
11495
11496 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11497
11498         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11499
11500         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11501
11502 2001-12-11  André Pönitz <poenitz@gmx.net>
11503
11504         * FontLoader.C:
11505         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11506
11507 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11508
11509         * text2.C: keep selection on a setFont()
11510
11511 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11512
11513         * lyx_cb.C: another bv->text misuse, from insert label
11514
11515 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11516
11517         * kbsequence.h:
11518         * kbsequence.C: re-instate nmodifier mask
11519
11520 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11521
11522         * lyx_main.h: make lyxGUI private.
11523
11524 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11525
11526         * lyxfind.C: place the cursor correctly on failed search
11527
11528 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11529
11530         * text.C (getLengthMarkerHeight): for small heights, the arrows
11531         are not always on top/bottom of the text
11532         (drawLengthMarker): smaller arrows; take the left margin in
11533         account; draw also vfills.
11534         (paintFirstRow):
11535         (paintLastRow): remove special code for vfill and standard spaces,
11536         since everything is handled in drawLengthMarker now.
11537
11538 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11539
11540         * buffer.C (insertErtContents): try to handle font and language
11541         interaction a bit better.g
11542
11543         * ColorHandler.C (updateColor): change the hash to cover the whole
11544         LColor enum, ws cleanup
11545         (getGCLinepars): ditto
11546         (getGCLinepars): only lookup in the linecache once.
11547
11548 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11549
11550         * iterators.C (operator++): Make the iterator more robust
11551
11552         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11553         (John's patch)
11554         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11555
11556 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11557
11558         * lyxtext.h:
11559         * text.C: better added space drawing
11560
11561 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11562
11563         * LyXView.C:
11564         * BufferView2.C: fix layout combo update on inset unlock
11565
11566 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11567
11568         * Makefile.am: don't compile unused files
11569
11570 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11571
11572         * lyxfunc.C:
11573         * commandtags.h:
11574         * LyXAction.C: remove old LFUN_LAYOUTNO
11575
11576 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11577
11578         * paragraph_pimpl.h:
11579         * paragraph_pimpl.C: isTextAt() doesn't need font param
11580
11581 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11582
11583         * lyxlex.h:
11584         * lyxlex.C: little cleanup
11585
11586 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11587
11588         * BufferView_pimpl.C: fix insertAscii for insets
11589
11590 2001-12-05  Juergen Vigna  <jug@sad.it>
11591
11592         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11593         set the right font on the "multi" paragraph paste!
11594
11595 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11596
11597         * trans_decl.h:
11598         * trans_mgr.[Ch]:
11599         * trans.[Ch]:
11600         * lyxgluelength.C:
11601         * lyxlength.C: remove out-commented code.
11602
11603         * BufferView_pimpl:
11604         * CutAndPaste.C:
11605         * DepTable.C:
11606         * buffer.C:
11607         * chset.C:
11608         * lastfiles.C:
11609         * lyxlex.C:
11610         * lyxlex_pimpl.C:
11611         * lyxserver.C:
11612         * screen.C:
11613         * tabular-old.C:
11614         * tabular.C:
11615         * text.C:
11616         * trans_mgr.C:
11617         * vc-backend.C: change "while(" to "while ("
11618
11619         * lyxlength.[Ch]: add zero function to check if length is zero or
11620         not
11621         * lyxgluelength.C: use it
11622
11623 2001-12-05  Allan Rae  <rae@lyx.org>
11624
11625         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11626         Works for 2.95.3, from what I understand of Garst's reports this should
11627         work for other g++ versions.  We're screwed if the abs(int) definition
11628         changed between bugfix releases of gcc.
11629
11630 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11631
11632         * text.C: fix chapter label offset !
11633
11634 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11635
11636         * lyxtext.h:
11637         * text.C: fix hfill at end of line, clean up
11638
11639 2001-12-04  Juergen Vigna  <jug@sad.it>
11640
11641         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11642         that we force an update of the inset and it's owners if neccessary.
11643
11644 2001-12-03  Juergen Vigna  <jug@sad.it>
11645
11646         * text.C (rowLast): simplified code
11647
11648 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11649
11650         * lyxfunc.C: fix show options on timeout
11651
11652 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11653
11654         * screen.C (topCursorVisible): scroll half a page when the cursor
11655         reached top of bottom of screen
11656
11657 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11658
11659         * minibuffer.C: deactivate on loss of focus
11660
11661 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11662
11663         * vspace.[Ch] (operator!=): add operator.
11664
11665 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11666
11667         * BufferView_pimpl.C: refuse to open an inset when
11668         there's a selection.
11669
11670 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11671
11672         * BufferView_pimpl.C: allow to click on RHS of full row insets
11673
11674 2001-11-30  Juergen Vigna  <jug@sad.it>
11675
11676         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11677         insets for undo reasons.
11678
11679 2001-11-28  André Pönitz <poenitz@gmx.net>
11680
11681         * vspace.[Ch]: cosmetical changes
11682
11683 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11684
11685         * LyXAction.h:
11686         * LyXAction.C:
11687         * lyxfunc.h:
11688         * lyxfunc.C:
11689         * kbmap.h:
11690         * kbmap.C:
11691         * lyxrc.C:
11692         * kbsequence.h:
11693         * kbsequence.C: part re-write of old kb code
11694
11695         * Painter.C:
11696         * WorkArea.C: remove Lgb_bug_find_hack
11697
11698 2001-11-30  José Matos <jamatos@fep.up.pt>
11699
11700         * buffer.C (makeDocBookFile): add a comment to point a hack.
11701         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11702         Fixed a double write of labels.
11703
11704 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11705
11706         * LaTeX.C:
11707         * LaTeX.h Fixed bug in LaTeX class where it would not
11708         re-run latex if no depfiles were changed, but the .dvi was removed.
11709
11710 2001-11-28  André Pönitz <poenitz@gmx.net>
11711
11712         * all the files from the change on 2001/11/26:
11713         use lyx::layout_type instead of LyXTextClass::size_type
11714         use lyx::textclass_type instead of LyXTextClassList::size_type
11715
11716 2001-11-29  Juergen Vigna  <jug@sad.it>
11717
11718         * text.C: added support for paragraph::isFreeSpacing()
11719
11720         * buffer.C: same as above
11721
11722         * paragraph.h: inserted isFreeSpacing() function to enable
11723         FreeSpacing inside InsetERT.
11724
11725         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11726         of the paragraph's in the cut/copy buffer to 0!
11727
11728         * text2.C (removeRow): remove the assert as it can!
11729
11730         * lyxtext.h: added helper function firstRow returning firstrow and
11731         made firstrow private again.
11732
11733         * BufferView2.C (lockInset): don't relock if we're already locked!
11734
11735         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11736         the only paragraph.
11737         (removeRow): added Assert::(firstrow)
11738
11739         * debug.C: forgot to add INSETTEXT here.
11740
11741 2001-11-28  Juergen Vigna  <jug@sad.it>
11742
11743         * sp_spell.C (initialize): changed error text to more general
11744         spellchecker command use (not only ispell!)
11745
11746         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11747
11748         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11749
11750 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11751
11752         * vspace.C: initialise lyxgluelength on failure
11753
11754 2001-11-28  Allan Rae  <rae@lyx.org>
11755
11756         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11757         declaration & definition that looks like a function declaration.
11758
11759 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11760
11761         * BufferView2.C (copy):
11762         (copyEnvironment): do not clear the selection when doing a copy.
11763
11764         * text.C (paintFirstRow): compilation fix
11765
11766 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11767
11768         * tabular.C (Latex): correct line count when writing latex.
11769
11770 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11771
11772         * paragraph_pimpl.h:
11773         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11774           bug a bit
11775
11776 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11777
11778         * text.C:
11779         * LColor.h:
11780         * LColor.C: change vfillline->added_space
11781
11782         * text.C: add markers and text for added space
11783
11784         * vspace.C: fix comment
11785
11786 2001-11-28  André Pönitz <poenitz@gmx.net>
11787
11788         * paragraph.C: whitespace changes
11789         * all the other files from the change on 2001/11/26:
11790         change *::pos_type into lyx::pos_type
11791
11792 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11793
11794         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11795         language of the document when inserting error insets.
11796
11797 2001-11-26  André Pönitz <poenitz@gmx.net>
11798
11799         * BufferView_pimpl.[Ch]:
11800         *       CutAndPaste.C:
11801         * buffer.[Ch]:
11802         * lyxcursor.[Ch]:
11803         * lyxfind.C:
11804         * lyxfunc.C:
11805         * lyxrow.[Ch]:
11806         * paragraph.[Ch]:
11807         * paragraph_pimpl.[Ch]:
11808         * sp_spell.C:
11809         * text.C:
11810         * text2.C: reduce header dependencies, introduce type for positions
11811
11812 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11813
11814         * <various>: change to use Alert.h
11815
11816 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11817
11818         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11819         when encountering an unknown token.
11820         (readLyXformat2): Show an error message if there were unknown tokens.
11821
11822 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11823
11824         * BufferView2.C:
11825         * BufferView_pimpl.C:
11826         * buffer.C:
11827         * paragraph.h:
11828         * text.C:
11829         * text2.C: use par->isInset()
11830
11831 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11832
11833         * paragraph_pimpl.h:
11834         * paragraph_pimpl.C: cleanup
11835
11836 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11837
11838         * text2.C (removeRow):
11839         * text.C (setHeightOfRow): remove useless (and costly) call to
11840         getRow.
11841
11842 2001-11-20  Allan Rae  <rae@lyx.org>
11843
11844         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11845         Now need Inset*::checkInsertChar() to return true for appropriate
11846         cases so that the characters in the minibuffer will actually be
11847         inserted.
11848
11849 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11850
11851         * text.C: change the order of the includes.
11852         (workWidth): initialize it at once.
11853         (workWidth): make maxw unsigned
11854         (setHeightOfRow): remove unused variable (inset)
11855         (selectSelectedWord): remove unused variable (inset)
11856         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11857
11858 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11859
11860         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11861         server is not running.
11862         (openConnection):
11863         (closeConnection): add debug info when server is disabled.
11864
11865         * ColorHandler.C (getGCForeground): send debug message to GUI
11866         channel.
11867
11868         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11869
11870         * kbmap.C (bind): modify because return conventions of
11871         kb_sequence::parse have changed.
11872
11873         * kbsequence.C (parse): only ignore spaces and not any stupid
11874         control character. This avoids tests like s[i] <= ' ', which are
11875         guaranteed to fail with 8bit characters and signed chars.
11876         Change return code to string::npos when there have been no error
11877         (0 was a bad idea when error is at first character)
11878
11879 2001-11-14  José Matos  <jamatos@fep.up.pt>
11880
11881         * buffer.h:
11882         * buffer.C (simpleDocBookOnePar): removed unused argument.
11883
11884 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11885
11886         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11887         insets which are part of a word. Paragraph::isLetter takes care of
11888         that now. Use Paragraph::isInset to identify insets.
11889         (selectSelectedWord): do not test for hyphenation break.
11890
11891         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11892         that protected spaces are considered as spaces.
11893
11894         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11895         Inset::isLetter.
11896
11897 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11898
11899         * lyxserver.h:
11900         * lyxserver.C: fix it. and small cleanup.
11901
11902 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11903
11904         * BufferView_pimpl.C: use inline helpers
11905
11906         * LaTeXFeatures.h:
11907         * LaTeXFeatures.C: fix typos
11908
11909         * Spacing.h:
11910         * Spacing.C: move spacing_string into class
11911
11912         * ToolbarDefaults.C: move stuff into namespace anon
11913
11914         * layout.h: update enum
11915
11916         * lyxfunc.C: use better debug
11917
11918         * minibuffer.h: fix typo
11919
11920         * debug.h:
11921         * debug.C:
11922         * WorkArea.C: add and use Debug::WORKAREA
11923
11924         * lyxtext.h:
11925         * text.C:
11926         * text2.C: code re-organisation, inline helpers
11927
11928 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11929
11930         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11931         std::vector.empty().
11932
11933 2001-11-09  Allan Rae  <rae@lyx.org>
11934
11935         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11936         '\n's after tables.  Tabular and ERT inset work now makes this no
11937         longer necessary.
11938
11939 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11940
11941         * minibuffer.h:
11942         * minibuffer.C: fix crash, improve drop-down completion
11943
11944 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11945
11946         * lyxserver.h:
11947         * lyxserver.C: invalidate fd's when doing endPipe()
11948
11949 2001-11-08  José Matos  <jamatos@fep.up.pt>
11950
11951         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11952         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11953
11954         * paragraph.h:
11955         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11956
11957 2001-11-07  José Matos  <jamatos@fep.up.pt>
11958
11959         * buffer.h:
11960         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11961         const qualifier.
11962
11963         * buffer.C (sgmlOpenTag):
11964         * buffer.C (sgmlCloseTag): removed debug info.
11965
11966         * buffer.h (sgmlOpenTag):
11967         * buffer.h (sgmlCloseTag): made public.
11968
11969 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11970
11971         * buffer.C (saveParamsAsDefaults):
11972         * lyx_cb.C (MenuLayoutSave): remove
11973
11974         * LyXAction.C (init):
11975         * commandtags.h:
11976         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11977
11978 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11979
11980         * buffer.C (setPaperStuff): removed from here...
11981
11982         * bufferparams.C (setPaperStuff): ... and moved there.
11983
11984 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11985
11986         * minibuffer.h:
11987         * minibuffer.C:
11988         * XFormsView.C: add support for drop-down completion
11989
11990 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11991
11992         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11993         commands.
11994
11995 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11996
11997         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11998         disabled.
11999
12000 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12001
12002         * lyx_main.C: change ref to known bugs
12003
12004 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12005
12006         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12007         to work around older babel problems.
12008
12009 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12010
12011         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12012
12013 2001-10-24  Juergen Vigna  <jug@sad.it>
12014
12015         * tabular-old.C (ReadOld): below variable changes reflected.
12016
12017         * tabular.[Ch]: added ltType struct for longtable header/footer
12018         defines and changed all instances where they are used. Added
12019         future support for double top/bottom rows.
12020
12021 2001-10-24  José Matos  <jamatos@fep.up.pt>
12022
12023         * buffer.h (docbookHandleCaption):
12024         * buffer.C (docbookHandleCaption): removed unused function.
12025         (makeDocBookFile): moved docbook supported version to v4.1.
12026
12027 2001-10-24  José Matos  <jamatos@fep.up.pt>
12028
12029         * tabular.h:
12030         * tabular.C (docbookRow): new function to export docbook code of a row.
12031         (DocBook): now honors the longtable flags.
12032
12033 2001-10-23  José Matos  <jamatos@fep.up.pt>
12034
12035         * LaTeXFeatures.h:
12036         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12037         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12038
12039         * buffer.C (makeLinuxDocFile):
12040         (makeDocBookFile): reworked the preamble, more clean, and with
12041         support for lyx defined entities. Changed the document declaration
12042         to be more XML friendly.
12043
12044         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12045         if we need to output XML that should be done with a filter.
12046
12047 2001-10-22  Juergen Vigna  <jug@sad.it>
12048
12049         * sp_pspell.h (class PSpell): add alive function needed in the
12050         controller to see if the spellchecker could be started.
12051
12052 2001-10-22  Juergen Vigna  <jug@sad.it>
12053
12054         * buffer.C (insertStringAsLines): modify the font for inserting
12055         chars in certain conditions by calling checkInsertChar(font).
12056
12057 2001-10-19  Juergen Vigna  <jug@sad.it>
12058
12059         * text.C (workWidth): use getRow instead of wrong algorithm.
12060         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12061
12062 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12063
12064         * lyxserver.h:
12065         * lyxserver.C:
12066         * lyx_main.h:
12067         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12068
12069 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12070
12071         * text.C (workWidth): do not search for the exact row when
12072         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12073         optimization for big documents.
12074
12075 2001-10-18  Juergen Vigna  <jug@sad.it>
12076
12077         * text.C (workWidth): new function with added Inset * parameter.
12078
12079 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12080
12081         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12082
12083         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12084         change return type of getColumnNearX.
12085
12086
12087         * text.C (changeRegionCase): use uppercase/lowercase instead of
12088         toupper/tolower.
12089         (leftMargin):
12090         (rightMargin): simplify code by factoring out the uses of
12091         textclasslist.
12092         (labelFill):
12093         (numberOfHfills):
12094         (setHeightOfRow):
12095         (appendParagraph): use Paragraph::size_type
12096
12097 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12098
12099         * vspace.C (asLatexString): add a missing break
12100
12101 2001-10-15  Herbert Voss  <voss@perce.de>
12102
12103         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12104
12105 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12106
12107         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12108         is not available.
12109
12110 2001-10-10  André Pönitz <poenitz@gmx.net>
12111
12112         * lyxfunc.C: removed greek_kb_flag.
12113
12114 2001-10-10  Herbert Voss  <voss@perce.de>
12115
12116         * lyx_main.C: delete global string help_lyxdir.
12117
12118 2001-10-09  Herbert Voss  <voss@perce.de>
12119
12120         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12121
12122         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12123
12124         * lyx_main.C: added global string help_lyxdir.
12125
12126         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12127
12128 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12129
12130         * lyxrc.C (set_font_norm_type): support iso8859-4
12131
12132 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12133
12134         * LaTeX.C (deplog): add another regex for MikTeX
12135
12136 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12137
12138         * lyxrc.C (set_font_norm_type): support iso8859-3
12139
12140 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12141
12142         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12143
12144         * LaTeXFeatures.C: remove special case of french and index
12145
12146         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12147         before \begin{document}). This solves several incompatibilities.
12148
12149 2001-10-03  Garst Reese  <reese@isn.net>
12150
12151         * lyx_cb.C: change CheckTex error msg.
12152
12153 2001-10-03  José Matos  <jamatos@fep.up.pt>
12154
12155         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12156
12157 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12158
12159         * .cvsignore: update
12160
12161         * lyx_main.C (commandLineVersionInfo): use new style version info.
12162
12163         * buffer.C (writeFile):
12164         (makeLaTeXFile):
12165         (makeLinuxDocFile):
12166         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12167
12168         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12169
12170         * version.h: update to use stuff in version.C
12171
12172         * version.C.in: new file. Contains version information determined
12173         at compile time. This is a merging of version.h and
12174         version_info.h.in.
12175
12176 2001-10-03  Juergen Vigna  <jug@sad.it>
12177
12178         * BufferView_pimpl.C (update): don't change "dirty" status in
12179         updateInset call.
12180
12181 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12182
12183         * WorkArea.C (c-tor): re-position version string slightly.
12184
12185 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12186
12187         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12188         revert to previous code.
12189
12190         WorkArea.[Ch]: (show, destroySplash): methods removed.
12191
12192         WorkArea.C: rework code so that it's an amalgam of the codes before and
12193         after the splash screen was moved to WorkArea.
12194
12195 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12196
12197         * lyxrc.C (read):
12198         * vspace.C (inPixels):
12199         (lyx_advance):
12200         * kbmap.C (bind):
12201         * buffer.C (insertStringAsLines):
12202         (asciiParagraph): fix types to be large enough
12203
12204         * lyxlex_pimpl.h: change member status from short to int
12205
12206         * layout.h: fix type of endlabeltype
12207
12208         * kbmap.C (bind):
12209         * kbsequence.C (parse): change return type to string::size_type
12210
12211         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12212         variable
12213
12214         * Bullet.C (bulletSize):
12215         (bulletEntry): do not use short ints as parameters
12216
12217         * BufferView2.C (insertLyXFile): change a char to an int.
12218
12219         * WorkArea.C (WorkArea): remove unneeded floats in computation
12220
12221 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12222
12223         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12224
12225         * paragraph.C (asString): Do not ignore newline/hfill chars when
12226         copying to the clipboard.
12227
12228 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12229
12230         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12231         after a multi-line inset.
12232
12233 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12234
12235         * paragraph.C (validate): Set NeedLyXFootnoteCode
12236
12237 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12238
12239         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12240         and decrease-error to decrease.
12241
12242 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12243
12244         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12245         it more readable (should be equivalent)
12246
12247 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12248
12249         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12250
12251 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12252
12253         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12254         of a cursor (row, etc.) after a character has been deleted
12255         (deleteEmptyParagraphMechanism): call the method above on _all_
12256         cursors held by the LyXText when a double space has been
12257         detected/deleted.
12258
12259 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12260
12261         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12262         pixmap.
12263         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12264
12265         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12266         background. Use greyOut() and the new show() methods to toggle between
12267         the foreground and background. Add code to remove the splash after
12268         its initial showing.
12269
12270         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12271         (create_forms): no longer call Dialogs::showSplash.
12272
12273 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12274
12275         * .cvsignore: add version_info.h
12276
12277 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12278
12279         * version_info.h.in: new file
12280
12281         * Makefile.am: add version_info.h.in
12282
12283         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12284         version_info.h instead of VERSION_INFO
12285
12286 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12287
12288         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12289         The ERT inset now returns string().
12290
12291 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12292
12293         * lyxtext.h, text.C (selectNextWord): renamed as
12294         selectNextWordToSpellcheck.
12295
12296         * text.C (selectNextWordToSpellcheck): Modified to not select
12297         words inside an ERT inset.
12298
12299 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12300
12301         * lyx_cb.C (MenuLayoutSave): change a bit the question
12302
12303         * sp_base.h: include <sys/types.h>
12304
12305 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12306
12307         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12308
12309 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12310
12311         * several files: fix typos in user-visible strings
12312
12313 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12314
12315         * text2.C (pasteSelection): do not set the selection, since it
12316         will be cleared later. Actually, the intent was to fix the way the
12317         selection was set, but I figured rmoving the code was just as good.
12318
12319 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12320
12321         * FontLoader.C (available): Check if font is available without
12322         loading the font.
12323
12324 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12325
12326         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12327
12328 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12329
12330         * lyxrc.[Ch]: added display_graphics variable and associated code.
12331
12332 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12333
12334         * bufferparams.C (hasClassDefaults): new method. Returns true if
12335         the buffer parameters correspond to known class defaults
12336
12337 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12338
12339         * XFormsView.C (show): set minimum size to the main window.
12340
12341 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12342
12343         * text2.C (copySelection):
12344         (cutSelection):
12345         * lyxfind.C (LyXReplace):
12346         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12347         LyXText::selectionAsString.
12348
12349         * paragraph.C (asString): add "label" argument to the second form
12350
12351         * text2.C (selectionAsString): add "label" argument and pass it to
12352         Paragraph::asString.
12353
12354 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12355
12356         * lyx_main.C (commandLineHelp): remove version information
12357
12358 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12359
12360         * lyx_main.C: add -version commandline option
12361
12362 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12363
12364         * paragraph.h: make the optional constructor arg required instead.
12365         some modifications to other files because of this.
12366
12367         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12368
12369         * lyxserver.C (C_LyXComm_callback): make it static
12370
12371         * lyx_main.C (error_handler): make it static
12372
12373         * lyx_gui.C (LyX_XErrHandler): make it static
12374
12375         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12376
12377         * WorkArea.C: make the extern "C" methods static.
12378
12379         * Makefile.am (lyx_LDADD): simplify
12380
12381 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12382
12383         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12384         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12385
12386         * LyXAction.C (init):
12387         * lyxfunc.C (dispatch): associated code removal.
12388
12389 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12390
12391         * lyxfont.h (isSymbolFont): shut off warning
12392
12393         * text.C (setHeightOfRow):
12394         (getVisibleRow): fix crash with empty paragraphs which have a
12395         bottom line
12396
12397 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12398
12399         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12400         code.
12401
12402 2001-09-04  José Matos  <jamatos@fep.up.pt>
12403         * buffer.C
12404         * buffer.h
12405         * tabular.C (docbook): rename docBook method to docbook.
12406
12407 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12408
12409         * Makefile.am: add dependencies to main.o.
12410
12411 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12412
12413         * FontLoader.C (available): Return false if !lyxrc.use_gui
12414
12415 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12416
12417         * FontInfo.C (query):
12418         * converter.C (view):
12419         * importer.C (Import):
12420         * exporter.C (Export): Can not -> cannot.
12421
12422 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12423
12424         * BufferView_pimpl.C: allow to create index inset even if
12425           string is empty
12426
12427 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12428
12429         * buffer.C (getLists): replace boost::tie code with an explicit pair
12430         as boost::tie can break some compilers.
12431
12432         * iterators.h: Added a std:: declaration to the return type of
12433         ParIterator::size.
12434
12435 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12436
12437         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12438           case.
12439
12440 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12441
12442         * iterators.[Ch]: New files. Provide paragraph iterators.
12443
12444         * buffer.C (changeLanguage): Use paragraph iterators.
12445         (isMultiLingual): ditto
12446
12447         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12448
12449 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12450
12451         * FontLoader.C: Support for cmr font.
12452
12453 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12454
12455         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12456         (available): New method.
12457
12458         * FontInfo.C (getFontname): Use scalable fonts even when
12459         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12460         found.
12461
12462 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12463
12464         * converter.C (Formats::view): reverted! Incorrect fix.
12465
12466 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12467
12468         * converter.C (Formats::view): only output the -paper option
12469         if the dvi viewer is xdvi, thereby fixing bug #233429.
12470
12471 2001-08-23  Herbert Voss  <voss@perce>
12472
12473         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12474
12475 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12476
12477         * Spacing.h (Spacing): Set space to Default on in the default
12478         constructor.
12479
12480 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12481
12482         * vc-backend.h (RCS::versionString): add RCS to version
12483         (CVS::versionString): add CVS to version
12484
12485         * vc-backend.C (scanMaster): do not add CVS to version.
12486         (scanMaster): do not add RCS to version
12487
12488         * lyxvc.C (versionString): new method
12489
12490         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12491
12492 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12493
12494         * Spacing.C (set): initialize fval
12495
12496 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12497
12498         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12499         " or \.
12500
12501 2001-08-16  Juergen Vigna  <jug@sad.it>
12502
12503         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12504
12505 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12506
12507         * BufferView_pimpl.C:
12508         * figureForm.C:
12509         * lyxtext.h:
12510         * text2.C: setParagraph takes linespacing now
12511
12512 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12513
12514         * LyxAction.C: add internal LFUN_CITATION_INSERT
12515
12516         * LyXView.C: actually apply fix
12517
12518         * bufferlist.C: fix open non-existent file
12519
12520         * lyxfind.C: fix indentation
12521
12522         * lyxfunc.C: remove unneeded assert, fix typo
12523
12524 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12525
12526         * MenuBackend.C: use "Floatname List"
12527
12528 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12529
12530         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12531         when converting LaTeX layout to insetERT.
12532         Generate a non-collapsed float when reading old float
12533
12534 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12535
12536         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12537         ERT insets.
12538
12539 2001-08-13  Juergen Vigna  <jug@sad.it>
12540
12541         * text.C (fill): return 0 instead of 20 as this seems to be the more
12542         correct value.
12543
12544 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12545
12546         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12547         lyxrc.font_norm.
12548
12549 2001-08-13  Juergen Vigna  <jug@sad.it>
12550
12551         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12552         casesensitive off.
12553         (SearchBackward): comment out the unlocking of the inset_owner this
12554         should not be needed!
12555
12556 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12557
12558         * Many files: Remove inherit_language, and add latex_language
12559
12560         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12561         collapsible insets.
12562
12563 2001-08-10  Juergen Vigna  <jug@sad.it>
12564
12565         * text.C (prepareToPrint): fixed hfill-width in draw!
12566
12567         * BufferView2.C (selectLastWord): save the selection cursor as this
12568         now is cleared in the function LyXText::clearSelection!
12569
12570 2001-08-08  Juergen Vigna  <jug@sad.it>
12571
12572         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12573         BACKSPACE type functions.
12574
12575         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12576         is only cutted from the document but not put in the cut-buffer, where
12577         still the old stuff should be.
12578
12579         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12580
12581         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12582
12583         * tabular.C (SetWidthOfCell): fixed special case where the width
12584         was not updated!
12585         (LeftLine): handle '|' in align_special.
12586         (RightLine): ditto
12587         (LeftAlreadyDrawed): ditto
12588         (SetWidthOfCell): ditto
12589
12590 2001-08-07  Juergen Vigna  <jug@sad.it>
12591
12592         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12593
12594 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12595
12596         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12597         * lyxlex.[hC]: ditto
12598
12599 2001-08-06  Juergen Vigna  <jug@sad.it>
12600
12601         * text.C (getVisibleRow): fix up row clearing a bit.
12602
12603 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12604
12605         * minibuffer.C: make sure the X server sees the changes in the input.
12606
12607 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12608
12609         * paragraph.C (getFont): split into...
12610         (getLabelFont): this
12611         (getLayoutFont): and this
12612         * paragraph_pimpl.C (realizeFont): calling this
12613
12614         * text2.C (getFont): split into...
12615         (getLayoutFont): this
12616         (getLabelFont): and this
12617         (realizeFont): all three calling this
12618
12619         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12620         files where used.
12621
12622 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12623
12624         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12625
12626 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12627
12628         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12629         layouts from the Quote inset insertion.
12630
12631 2001-08-03  Juergen Vigna  <jug@sad.it>
12632
12633         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12634
12635         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12636         only if status not is already CHANGED_IN_DRAW (second level).
12637
12638         * text.C (draw): don't set the need_break_row when inside an
12639         InsetText LyXText.
12640
12641 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12642
12643         * buffer.C (parseSingleLyXformat2Token): handle more latex
12644         conversion cases.
12645
12646         * bufferview_funcs.[hC]: change function names to
12647         begin with small char, adjust other files.
12648
12649 2001-08-02  André Pönitz <poenitz@gmx.net>
12650
12651         * lyxfunc.C:
12652         BufferView_pimpl.C: remove broken special code for math-greek
12653
12654 2001-08-02  Juergen Vigna  <jug@sad.it>
12655
12656         * BufferView_pimpl.C (update): redone this function so that we
12657         update the text again if there was a CHANGE_IN_DRAW.
12658
12659         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12660         (drawFromTo): added a new internal bool which is used by draw() and
12661         redraw() function.
12662         (general): some cursor drawing problems fixed.
12663
12664 2001-08-01  Juergen Vigna  <jug@sad.it>
12665
12666         * lyxfind.C (LyXFind): fixed
12667         (SearchForward): ditto
12668         (SearchBackward): ditto
12669
12670         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12671         spurius drawing of the cursor in the main area.
12672
12673         * text2.C (status): small fix which could lead to a segfault!
12674         (clearSelection): remove unneeded BufferView param.
12675
12676 2001-08-01  André Pönitz <poenitz@gmx.net>
12677
12678         * lyxfunc.C: small change due to changed mathed interface
12679
12680 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12681
12682         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12683
12684 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12685
12686         * lyxfunc.c: fail gracefully if file doesn't exist
12687
12688         * LyXSendto.C:
12689         * buffer.C:
12690         * lyxfunc.C:
12691         * BufferView_pimpl.C: IsDirWriteable() proto changed
12692
12693         * LyXView.C: fix updateWindowTitle() to store the last title
12694
12695 2001-07-31  Juergen Vigna  <jug@sad.it>
12696
12697         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12698         the font (wrong since using of Paragraph::highestFontInRange).
12699
12700         * paragraph.C (highestFontInRange): added a default_size parameter.
12701
12702         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12703         (setHeightOfRow): reformat
12704
12705 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12706
12707         * converter.[hC] + affected files: move to (inital-char)lowercase
12708         function names.
12709
12710         * ParagraphParameters.C (ParagraphParameters): remove commented code
12711
12712         * PainterBase.[Ch]: remove commented code
12713
12714         * LaTeXFeatures.h: add "bool floats" for float.sty
12715
12716         * LaTeXFeatures.C (LaTeXFeatures): init floats
12717         (require): handle float
12718         (getPackages): do it with floats
12719
12720 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12721
12722         * BufferView_pimpl.C (Dispatch): improve handling of
12723         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12724
12725         * commandtags.h: #include lyxfont.h here temporarily to avoid
12726         keybinding bug.
12727
12728         * bufferlist.h: include LString.h here.
12729
12730 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12731
12732         * text2.C (getStringToIndex): new method.
12733
12734 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12735
12736         * *: Reduced header file dependencies all over.
12737
12738 2001-07-30  Baruch Even  <baruch@lyx.org>
12739
12740         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12741
12742 2001-07-29  Baruch Even  <baruch@lyx.org>
12743
12744         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12745
12746 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12747
12748         * ParameterStruct.h (endif): add a default constructor to make
12749         sure that all variables is initialized.
12750
12751         * ParagraphParameters.C (ParagraphParameters): adjust
12752
12753 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12754
12755         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12756         index; also, check that there is something to index, and that it
12757         does not span over several paragraphs.
12758         (doubleClick): use WHOLE_WORD_STRICT for double click.
12759
12760         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12761
12762         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12763         scheme.
12764
12765 2001-07-26  Baruch Even  <baruch@lyx.org>
12766
12767         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12768         an InsetFig figure, backwards compatible reading of old figure code.
12769
12770 2001-07-27  Juergen Vigna  <jug@sad.it>
12771
12772         * text2.C: font.realize function adaption.
12773
12774         * text.C (draw): add a warnings lyxerr text if needed.
12775
12776         * layout.C: font.realize function adaption.
12777
12778         * language.C: add inherit_language and implement it's handlings
12779
12780         * bufferview_funcs.C (StyleReset): remove language parameter from
12781         font creation (should be language_inherit now).
12782
12783         * bufferparams.C (writeFile): handle ignore_language.
12784
12785         * paragraph.C (getFontSettings): the language has to be resolved
12786         otherwise we have problems in LyXFont!
12787
12788         * lyxfont.C (lyxWriteChanges): added document_language parameter
12789         (update): removed unneeded language parameter
12790
12791         * paragraph.C (validate): fixed wrong output of color-package when
12792         using interface colors for certain fonts in certain environments,
12793         which should not seen as that on the final output.
12794
12795 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12796
12797         * BufferView_pimpl.C:
12798         * Thesaurus.h:
12799         * Thesaurus.C:
12800         * Makefile.am:
12801         * commandtags.h:
12802         * LyXAction.C: add thesaurus support
12803
12804         * lyxfind.h:
12805         * lyxfind.C: add "once" parameter, for thesaurus, to not
12806           move to the next match
12807
12808 2001-07-26  Juergen Vigna  <jug@sad.it>
12809
12810         * lyxfont.C (realize): honor ignore_language too!
12811         (resolved): ditto.
12812
12813         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12814
12815         * text.C (draw): one place more for ignore_language to not draw
12816         itself!
12817
12818 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12819
12820         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12821
12822 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12823
12824         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12825         the minipage conversion problem.
12826
12827 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12828
12829         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12830         insert an inset.
12831
12832 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12833
12834         * BufferView.h: don't forward declare WorkArea
12835
12836         * BufferView.C: don't include WorkArea.h
12837
12838 2001-07-25  André Pönitz <poenitz@gmx.net>
12839
12840         * commandtags.h:
12841         * LyXAction.C:
12842         * lyxfunc.C:  new LFUN 'math-space'
12843
12844         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12845
12846 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12847
12848         * text2.C (toggleInset): call open/close
12849
12850 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12851
12852         * lyxfunc.C (dispatch): add debug for the disabled case
12853
12854         * font.C (buttonText): make similar to rectText
12855
12856         * buffer.C (readInset): comment out parsing of insetlist and
12857         insttheorem
12858
12859         * PainterBase.C (rectText): small correction
12860
12861         * BufferView_pimpl.C: comment out insettheorem and insetlist
12862         * LyXAction.C: ditto
12863         * commandtags.h: ditto
12864
12865 2001-07-24  Juergen Vigna  <jug@sad.it>
12866
12867         * text.C (draw): honor the ignore_language.
12868
12869         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12870
12871 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12872
12873         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12874         char inset.
12875
12876 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12877
12878         * lyxtext.h: remove unused (and unimplemented) methods
12879
12880 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12881
12882         * text.C (getVisibleRow): honor background color
12883
12884         * PainterBase.h:
12885         * Painter.h: remove default color argument for fillRectangle
12886
12887         * text.C (backgroundColor): new method
12888
12889 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12890
12891         * text.C (getVisibleRow): adjust
12892
12893         * font.[Ch] (rectText): new method, metrics
12894         (buttonText): new method, metrics
12895
12896         * PainterBase.[hC]: make rectText and buttonText always draw and take
12897         fewer paramteres.
12898
12899 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12900
12901         * ToolbarDefaults.C (read):
12902         * MenuBackend.C (read): allow escaping in all strings
12903
12904         * BufferView_pimpl.C (insertAndEditInset): new method.
12905         (Dispatch): use insertAndEditInset whenever appropriate.
12906
12907         * BufferView_pimpl.C (insertNote): removed
12908
12909         * BufferView_pimpl.C (smartQuote): new method, moved from
12910         BufferView; if an insetquote cannot be inserted, insert a '"'
12911         character instead.
12912
12913         * BufferView2.C: remove insertCorrectQuote();
12914
12915         * lyxfunc.C (getStatus): Add support for all remaingin
12916         inset-insert lfuns.
12917
12918         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12919
12920         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12921         command (necessary to pass " as parameter of self-insert.
12922
12923         * text.C (selectWordWhenUnderCursor):
12924         (selectWord): add word_location parameter
12925         (selectWordWhenUnderCursor): same + remove special code for word
12926         boundary.
12927         (selectNextWord): use kind() to guess type of insetspecialchar,
12928         not latex().
12929
12930         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12931         (insertErtContents): create ert insets as collapsed.
12932         (readInset): better compatibility code for Info inset.
12933
12934 2001-07-20  Juergen Vigna  <jug@sad.it>
12935
12936         * lyxfunc.C (dispatch): use always LyXFind now!
12937
12938         * text2.C (init): add a reinit flag so that the LyXText can be
12939         reinited instead of deleted and reallocated (used in InsetText).
12940
12941         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12942
12943         * text.C: ditto
12944
12945         * text2.C: ditto
12946
12947 2001-07-18  Juergen Vigna  <jug@sad.it>
12948
12949         * text.C (selectNextWord): handle insets inside inset by calling
12950         always the bv->text functions so that we can go up the_locking_inset!
12951
12952         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12953         in strange locations when inside an inset!
12954
12955         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12956         handling to include insets.
12957
12958         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12959
12960 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12961
12962         * LyXAction.C (init):
12963         * commandtags.h:
12964         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12965         LIGATURE_BREAK, since the name is so stupid.
12966
12967 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12968
12969         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12970         InsetInfos.
12971
12972         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12973
12974         * sp_form.[Ch]: remove.
12975
12976         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12977
12978         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12979         InsetInfo.
12980
12981         * src/buffer.C (readInset): ditto.
12982
12983 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12984
12985         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12986         menuSeparator(), endOfSentenceDot(), ldots() and
12987         hyphenationPoint(), which are therefore removed.
12988         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12989
12990         * LyXAction.C (init):
12991         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12992
12993         * paragraph.C (getWord): removed.
12994
12995         * BufferView_pimpl.C (Dispatch): use last word or selection for
12996         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12997
12998         * lyx_main.C (queryUserLyXDir): do not ask before creating
12999         user_dir, except if it has been named explicitely.
13000
13001 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13002
13003         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13004         a document of zero size.
13005
13006 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13007
13008         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13009         approriately in the c-tor and in require().
13010         (getPackages): output the appropriate LaTeX for natbib support.
13011
13012         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13013         variables "use_natbib" and "use_numerical_citations" when reading the
13014         LyX file.
13015         (readInset): read the various natbib cite commands.
13016         (validate): white-space change.
13017
13018         * bufferparams.[Ch]: new variables "bool use_natbib" and
13019         "bool use_numerical_citations".
13020         (writeFile): output them in the LyX file.
13021
13022 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13023
13024         * lyxfunc.C (getStatus): add support for all the inset insertion
13025         commands.
13026
13027         * text2.C (insertInset):
13028         * paragraph.C (insetAllowed):
13029         * BufferView_pimpl.C (insertInset): update to take in account the
13030         renaming of insertInsetAllowed
13031
13032         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13033
13034         * text2.C (getInset): new method. returns inset at cursor position.
13035
13036         * BufferView_pimpl.C (Dispatch): changes because of this.
13037
13038         * LyXAction.C (init): rename open-stuff to inset-toggle.
13039
13040         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13041
13042         * text2.C (toggleInset): renamed from openStuff; use
13043         Inset::open().
13044
13045 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13046
13047         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13048
13049         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13050
13051 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13052
13053         * buffer.C (readLyXformat2): Add filename to the error dialog
13054
13055 2001-07-18  Juergen Vigna  <jug@sad.it>
13056
13057         * tabular.C (GetCellNumber): put an assert here instead of the check!
13058
13059 2001-07-17  Juergen Vigna  <jug@sad.it>
13060
13061         * BufferView_pimpl.C (toggleSelection): adapted too.
13062
13063         * text.C (selectNextWord): adapted for use with insets.
13064         (selectSelectedWord): ditto
13065
13066 2001-07-17  Juergen Vigna  <jug@sad.it>
13067
13068         * sp_spell.C (PSpell): fix initialitation order.
13069
13070 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13071
13072         * paragraph.C: spacing
13073
13074 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13075
13076         * sp_spell.C: repair language selection for pspell
13077
13078 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13079
13080         * lyxfunc.h: change more methods to begin with lower char.
13081
13082 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13083
13084         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13085         for unknown layouts.
13086
13087 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13088
13089         * buffer.C (readLyXformat2): Generate an error dialog if there are
13090         unknown layouts.
13091
13092 2001-07-16  Juergen Vigna  <jug@sad.it>
13093
13094         * sp_spell.C: always compile ISpell part.
13095
13096         * lyxrc.C: added use_pspell entry and it's handling.
13097
13098 2001-07-13  Juergen Vigna  <jug@sad.it>
13099
13100         * sp_spell.C: removed double includes.
13101
13102 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13103
13104         Consistent use of Lsstream.h:
13105         * Lsstream.h: added using std::stringstream for consistencies sake.
13106
13107         * buffer.C: removed using std::stringstream
13108
13109         * lyxfont.C (stateText):
13110         * paragraph.C (asString):
13111         * text.C (selectNextWord, selectSelectedWord):
13112         * text2.C (setCounter):
13113         * vspace.C (asString, asLatexString):
13114         std::ostringstream -> ostringstream.
13115
13116 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13117
13118         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13119         * commandtags.h: add LFUN_HELP_ABOUTLYX
13120         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13121
13122 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13123
13124         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13125         cursorToggle()
13126         * lyx_gui_misc.C: remove spellchecker
13127         * lyxfunc.C: showSpellchecker
13128         * sp_base.h: added
13129         * sp_ispell.h: added
13130         * sp_pspell.h: added
13131         * sp_spell.C: added
13132         * sp_form.[Ch]: removed
13133         * spellchecker.[Ch]: removed
13134
13135 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13136
13137         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13138         is set.
13139         (simpleTeXSpecialChars): Simply print the input character without
13140         any special translation if pass_thru is set.
13141
13142         * layout.h: Added bool pass_thru to layout class for being able to
13143         implement pass through of a paragraph for Literate Programming.
13144
13145         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13146         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13147         * layout.C (Read): add "passthru" to list of layout tags and add
13148         code to set the pass_thru boolean when it is read.
13149
13150 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13151
13152         * trans_decl.h: remove allowed from KmodInfo
13153
13154         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13155         remove allowed code
13156         (Load): adjust
13157
13158         * paragraph_pimpl.C (erase): use boost::prior
13159
13160         * Painter.C (text): use data() instead of c_str() when length is
13161         also provided.
13162         * WorkArea.C (putClipboard): ditto
13163         * font.h (width): ditto
13164
13165         * BufferView2.C: use it-> instead of (*it). for iterators
13166         * texrow.C: ditto
13167         * paragraph_pimpl.C: ditto
13168         * paragraph.C: ditto
13169         * minibuffer.C: ditto
13170         * language.C: ditto
13171         * kbmap.C: ditto
13172         * encoding.C: ditto
13173         * counters.C: ditto
13174         * converter.C: ditto
13175         * chset.C: ditto
13176         * Variables.C: ditto
13177         * TextCache.C: ditto
13178         * MenuBackend.C: ditto
13179         * LyXAction.C: ditto
13180         * LColor.C: ditto
13181         * FloatList.C: ditto
13182         * DepTable.C: ditto
13183         * ColorHandler.C (LyXColorHandler): ditto
13184
13185 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13186
13187         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13188
13189         * text2.C (openStuff): reintroduce this method (which had been
13190         nuked in NEW_INSETS frenzy).
13191
13192         * lyxfunc.C (Dispatch): when an action has not been handled, use
13193         its name in the error message, not its number.
13194
13195         * paragraph.C (inInset): change method name to begin with lowercase.
13196
13197         * undo_funcs.C:
13198         * text2.C: updates because of this.
13199
13200 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13201
13202         * ToolbarDefaults.C (add): add spaces in error message
13203
13204 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13205
13206         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13207         (readLyXformat2): rename return_par to first_par, use lyxlex's
13208         pushToken and remove the manual push handling.
13209         (parseSingleLyXformat2Token): add another ert comp. variable:
13210         in_tabular, rename return_par to first_par. handle newlines better
13211
13212 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13213
13214         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13215
13216 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13217
13218         * text2.C (getParFromID): removed
13219
13220         * buffer.C (getParFromID): new method moved form lyxtext.
13221         * BufferView2.C (insertErrors): adjust
13222         (setCursorFromRow): adjust
13223         * BufferView_pimpl.C (restorePosition): adjust
13224         * lyxfunc.C (Dispatch): adjust
13225         * undo_funcs.C (textUndo): adjust
13226         (textRedo): adjust
13227         (textHandleUndo): adjust
13228         (textHandleUndo): adjust
13229
13230 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13231
13232         * buffer.C: up' the LYX_FORMAT
13233
13234         * lyxfont.h: turn NO_LATEX on as default
13235
13236         * buffer.C (insertErtContents): new methods of tex style compability.
13237         (parseSingleLyXformat2Token): use it several places.
13238         * tabular.C (OldFormatRead): and here
13239
13240 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13241
13242         * text2.C: remove some commented code.
13243         reindent file.
13244
13245         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13246         * trans.C: changes because of the above.
13247
13248 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13249
13250         * text2.C (setCounter): Fix counters bug with bibliography layout.
13251
13252 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13253
13254         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13255         own member functions
13256         (simpleTeXSpecialChars): ditto
13257
13258 2001-07-06  Juergen Vigna  <jug@sad.it>
13259
13260         * a lot of files: changed the access to LyXText::status and the
13261         call of undo-functions.
13262
13263         * undo.[Ch]: added a inset_id to the undo informations.
13264
13265         * undo_funcs.[Ch]: added and moved here all undo functions.
13266
13267         * lyxtext.h: give the status enum a weight, made status_ a private
13268         variable and made accessor functions for it, removed the whole bunch
13269         of undo-functions as they are now in their own file, make some
13270         functions publically available. Added function ownerParagraph with
13271         int parameter.
13272
13273         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13274         made InInset() a const function, added getParFromID() function.
13275
13276         * buffer.[Ch]: added const version for inset_iterator functions,
13277         added getInsetFromID() function.
13278
13279         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13280         changed undo functions for new version.
13281
13282 2001-07-05  Juergen Vigna  <jug@sad.it>
13283
13284         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13285         unknow mechanism does not call the proper constructor but only this
13286         one also if I request the other!?
13287
13288 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13289
13290         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13291
13292         * text2.C (LyXText): use initialization lists.
13293
13294         * lyxtext.h (Selection): initialize set_ and mark_
13295         (init): remove method
13296
13297 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13298
13299         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13300
13301 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13302
13303         * screen.[Ch]: change method names to begin with lowercase
13304
13305         * BufferView_pimpl.C (updateScrollbar): simplify further and
13306         hopefully make it a bit faster.
13307
13308 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13309
13310         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13311         calling directly xforms functions.
13312
13313         * Painter.C (Painter):
13314         * lyx_cb.C (MenuWrite):
13315         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13316         fl_display.
13317
13318         * lyx_gui.C: remove bogus guiruntime extern declaration.
13319
13320 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13321
13322         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13323         in NEW_INSETS
13324         (redoDrawingOfParagraph): ditto
13325         (redoParagraphs): ditto
13326         (cutSelection): don't create a object for CutAndPaste use the
13327         static method directly
13328         (pasteSelection): ditto
13329
13330         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13331         LyXview (+ rename)
13332
13333 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13334
13335         * modifications to some other files because of this.
13336
13337         * Makefile.am (lyx_SOURCES): add XFormsView
13338
13339         * XFormsView.[Ch]: new files
13340
13341         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13342         the main window. Move the gui dependent stuff to XFormsView
13343
13344 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13345
13346         * tabular.C (GetCellInset): update cur_cell also in the row/col
13347         version of this function.
13348
13349         * lyxfunc.C: no need to include figure_form.h here.
13350
13351         * FontLoader.h:
13352         * lyxfunc.h:
13353         * lyxscreen.h:
13354         * text2.C:
13355         * lyxvc.C: no need to include forms.h here.
13356
13357 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13358
13359         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13360
13361         * lyxfunc.C (Dispatch):
13362         * Spacing.C (set):
13363         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13364         constructor argument.
13365
13366 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13367
13368         * paragraph.C (Paragraph): dont't clear, and just set layout.
13369         (makeSameLayout): use params's copy contructor.
13370
13371         * ParagraphParameters.[Ch] (makeSame): delete method
13372
13373 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13374
13375         * Variables.[Ch]: fix indentation, rename set to isSet
13376
13377 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13378
13379         * lyxfunc.C (Dispatch): fix typo
13380
13381 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13382
13383         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13384         upper_bound.
13385
13386         * bufferlist.C: include assert.h for emergencyWrite().
13387
13388 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13389
13390         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13391           give up at last (bug #425202) !
13392
13393 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13394
13395         * lyx_gui_misc.C:
13396         * sp_form.h:
13397         * sp_form.C:
13398         * spellchecker.h:
13399         * spellchecker.C: strip spellchecker options and bring up
13400           preferences tab instead
13401
13402 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13403
13404         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13405         the istringstream constructor
13406
13407 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13408
13409         * paragraph.C (getLayout): fix return value
13410
13411         * paragraph.h: do not declare getLayout as inline.
13412
13413         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13414
13415 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13416
13417         * lyxcursor.h (operator<): new func
13418         (operator>): new func
13419         (operator>=): new func
13420         (operator<=): new func
13421
13422         * text.C (changeCase): use selection.start and selection.end
13423         (changeRegionCase): require from to be <= to. Require par to be a
13424         valid paragraph.
13425
13426         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13427
13428 2001-06-27  Juergen Vigna  <jug@sad.it>
13429
13430         * text.C (cursorLeftOneWord): changed to return the cursor and added
13431         overlay with BufferView * parameter which calls this one.
13432         (getWord): added
13433         (selectWord): use new getWord function.
13434         (changeCase): renamed from changeWordCase as and extended to work
13435         also on selections.
13436
13437         * lyxtext.h: added enum word_location
13438
13439         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13440         changeCase as this operates now also on selections.
13441
13442 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13443
13444         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13445
13446         * many files: send debug output to Debug::INFO instead of
13447         Debug::ANY.
13448
13449         * converter.C (View):
13450         (Convert):
13451         (Move): send debug output to Debug::FILES instead of console.
13452
13453 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13454
13455         * lyxfunc.C (getStatus): use func_status
13456
13457         * func_status.h: new header, describing the results of
13458         LyXFunc::getStatus;
13459
13460         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13461         LFUN_MATH_HALIGN.
13462
13463 2001-06-25  The LyX Project  <jug@sad.it>
13464
13465         * buffer.C (sgmlOpenTag):
13466         (sgmlCloseTag):
13467         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13468
13469 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13470
13471         * text2.C: remove some dead code
13472
13473         * tabular.C (GetCellInset): store the last cell checked (gotten)
13474
13475         * tabular.h: add the helper for the speedup
13476
13477         * lyxtext.h: remove some dead code
13478
13479 2001-06-26  The LyX Project  <Asger>
13480
13481         * paragraph.C: Change export to LaTeX of alignment to
13482         \begin{center} and family for better roundtrip work with reLyX.
13483
13484         * Tune the math drawing a bit.
13485
13486 2001-06-25  The LyX Project  <Asger>
13487
13488         * LColor.C (LColor): New color for math background. New color
13489         for buttons.
13490
13491 2001-06-25  The LyX Project  <jug@sad.it>
13492
13493         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13494
13495         * lyxfunc.C (Open):
13496         * bufferlist.C (newFile): do not restrict to files ending with
13497         .lyx
13498
13499         * BufferView_pimpl.C (MenuInsertLyXFile):
13500
13501 2001-06-24  The LyX Project  <jug@sad.it>
13502
13503         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13504         of compare_no_case
13505
13506 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13507
13508         * lyxtext.h: rename most methods to begin with a small char.
13509         Lots of changes because of this.
13510
13511         * paragraph.C (Paragraph): do not call fitToSize
13512         (erase): call Pimpl::erase
13513         (insertChar): call Pimpl::insertChar
13514         (insertInset): call Pipl::insertInset
13515         (breakParagraph): do not call fitToSize
13516         (breakParagraphConservative): do not call fitToSize
13517         (fitToSize): remove method
13518
13519         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13520
13521 2001-06-24  The LyX Project  <Asger>
13522
13523         * Fix Qt compilation^2
13524
13525 2001-06-24  The LyX Project  <jug@sad.it>
13526
13527         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13528         depthHook(getDepth()-1).
13529
13530         * paragraph.h:
13531         * ParagraphParameters.h:
13532         * ParameterStruct.h: change type of depth to unsigned int ==
13533         depth_type. Many adaptations to other files before of that.
13534
13535 2001-06-24  The LyX Project  <Asger>
13536
13537         * Fix Qt compilation.
13538
13539 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13540
13541         * paragraph.h: renamed several methods to begin with small letter.
13542         several changes to many parts of the code because of this.
13543
13544 2001-06-23  The LyX Project  <jug@sad.it>
13545
13546         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13547         rewritten to discard all double spaces when KeepEmpty is off
13548         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13549         to only handle newlines but not fiddle with spaces and friends.
13550
13551         * lyxfunc.C (MenuNew): when doing 'new from template', use
13552         template_path as default directory
13553
13554 2001-06-23  The LyX Project  <Asger>
13555
13556         * Clean-up of header file includes all over
13557         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13558
13559 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13560
13561         * paragraph.h: renamed from lyxparagraph.h
13562
13563 2001-06-23  Asger  <lyx@violet.home.sad.it>
13564
13565         * Buffer.h: Removed Buffer::resize
13566         * BufferList.h: Removed BufferList::resize
13567         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13568         the document lazily when we change the width, or the font settings.
13569
13570 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13571
13572         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13573
13574 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13575
13576         * buffer.h: remove out of date comment
13577
13578 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13579
13580         * lyxscreen.h:
13581         * screen.C: fix "theoretical" GC leak
13582
13583 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13584
13585         * LaTeX.C (scanAuxFile):
13586         (deplog): remove trailing \r when reading stream (useful under
13587         win32)
13588
13589 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13590
13591         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13592         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13593         and BufferView::theLockingInset(Inset*), so should use them and not
13594         access bv_->text->the_locking_inset directly.
13595
13596         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13597
13598 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13599
13600         * Makefile.am:
13601         * tex-defs.h: remove old unused file
13602
13603 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13604
13605         * BufferView_pimpl.C: fix typo, remove minibuffer message
13606           when buffer has loaded
13607
13608 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13609
13610         * lyxfunc.C (Dispatch): use stringstream
13611         (MenuNew): use stringstream
13612         (Open): use stringstream
13613
13614         * importer.C (Import): use stringstream
13615
13616         * bufferview_funcs.C (CurrentState): use stringstream
13617
13618         * LaTeX.C (run): use stringstream
13619
13620         * BufferView_pimpl.C (savePosition): use stringstream
13621         (restorePosition): use stringstream
13622         (MenuInsertLyXFile): use stringstream
13623
13624 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13625
13626         * BufferView.C:
13627         * Bullet.C:
13628         * ColorHandler.C:
13629         * FontInfo.C:
13630         * FontLoader.C:
13631         * LColor.C:
13632         * LaTeXFeatures.C:
13633         * Painter.C:
13634         * gettext.C:
13635         * lyx_gui_misc.C:
13636         * lyxserver.C:
13637         * vspace.C: removed // -*- C++ -*- as first line.
13638
13639         * lyxfind.h:
13640         * version.h: added // -*- C++ -*- as first line.
13641
13642 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13643
13644         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13645
13646         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13647         of string
13648
13649 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13650
13651         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13652         of floats.
13653
13654 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13655
13656         * gettext.C: include LString.h even when --disable-nls is on.
13657
13658 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13659
13660         * converter.h (Get): changed argument type from int to
13661         FormatList::size_type to avoid unnecessary conversion.
13662
13663         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13664         before using it.
13665
13666 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13667
13668         * gettext.h: include LString.h even when --disable-nls is on.
13669
13670 2001-06-07  Juergen Vigna  <jug@sad.it>
13671
13672         * text.C (BreakAgain): subst spaces with tabs.
13673
13674         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13675         (resizeInsetsLyXText): set force on resizeLyXText.
13676
13677 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13678
13679         * gettext.h (gettext_init):
13680         (locale_init): use a real definition instead of a macro
13681
13682 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13683
13684         * Bufferview_pimpl.C:
13685         * LColor.h:
13686         * LColor.C: further lcolor tidies
13687
13688 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13689
13690         * BufferView_pimpl.C (updateScrollbar): simplify.
13691
13692         * BufferView2.C: don't include insets/insetinfo.h, change
13693         prototype for insertInset and call the Pimpl version. let
13694         updateInset call Pimpl version.
13695
13696         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13697         gotoInset to BufferView::Pimpl
13698
13699 2001-06-01  Juergen Vigna  <jug@sad.it>
13700
13701         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13702         inside a LockingInset (is the update needed at all?).
13703
13704 2001-05-31  Juergen Vigna  <jug@sad.it>
13705
13706         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13707         here not the old one otherwise how should we compare it afterwards
13708         if it's the same!
13709
13710 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13711
13712         * lyxfont.C:
13713         * tabular.C:
13714         * tabular-old.C:
13715         * FontInfo.C: bring C functions into global namespace when
13716         necessary
13717
13718 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13719
13720         * LString.h: make sure config.h has been loaded before LString.h.
13721
13722         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13723         (one for each char read by EatLine!).
13724
13725         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13726         variables.
13727
13728 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13729
13730         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13731         to the same as the par we break from
13732
13733 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13734
13735         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13736
13737         * MenuBackend.C (expand): also create menu entries for wide
13738         versions of the floats.
13739
13740         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13741
13742         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13743
13744         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13745         frontends/Makefile.am
13746
13747         * text2.C: adjust
13748         * text.C: adjust
13749
13750
13751         * tabular.C (getTokenValue): add std::
13752
13753         * tabular-old.C (getTokenValue): add std::
13754         (getTokenValue): ditto
13755         (getTokenValue): ditto
13756
13757         * screen.C (ToggleSelection): adjust
13758
13759         * lyxtext.h: put selection cursors inside a Selection struct.
13760
13761         * lyxfunc.C (moveCursorUpdate): adjust
13762
13763         * lyxfont.C (latexWriteStartChanges): add std::
13764
13765         * lyxfind.C: adjust
13766
13767         * font.h: delete with(char const *, LyXFont const &)
13768
13769         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13770
13771         * FontInfo.C (getFontname): add std::
13772
13773         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13774         (workAreaButtonPress): adjust
13775         (tripleClick): adjust
13776         (update): adjust
13777         (moveCursorUpdate): adjust
13778         (Dispatch): adjust
13779
13780         * BufferView2.C (gotoInset): adjust
13781
13782 2001-05-30  Juergen Vigna  <jug@sad.it>
13783
13784         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13785         to check pspell I add this as default as I now have new pspell
13786         libraries and they seem to use this.
13787
13788 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13789
13790         * text2.C (CutSelection): make the cursor valid before the call to
13791         ClearSelection.
13792
13793 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13794
13795         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13796         relied on 0 terminated strings and other horrors. Bug found due to
13797         the new assert in lyxstring!
13798
13799         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13800         KP_ keys.
13801
13802 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13803
13804         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13805         to latinkeys.bind.
13806
13807         * lyxfunc.C (processKeySym): change method of getting to the
13808         self-insert char.
13809
13810         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13811         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13812         * BufferView_pimpl.[Ch]: here as private methods.
13813
13814 2001-05-28  Juergen Vigna  <jug@sad.it>
13815
13816         * text.C (SetHeightOfRow): added the update() call again as it is
13817         needed to initialize inset dimensions!
13818
13819 2001-05-16  Juergen Vigna  <jug@sad.it>
13820
13821         * text2.C (SetCharFont): Add new function with BufferView * and
13822         bool toggleall parameters for setting insets internal fonts.
13823         (SetFont): Freeze the undo as we may change fonts in Insets and
13824         all this change should be inside only one Undo!
13825
13826         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13827         setting font's in insets as for them we have the SetFont function!
13828
13829 2001-05-15  Juergen Vigna  <jug@sad.it>
13830
13831         * text2.C (ClearSelection): to be sure we REALLY don't have any
13832         selection anymore!
13833
13834         * tabular.C (TeXCellPreamble): fixed the left border problem for
13835         multicolumn cells.
13836
13837 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13838
13839         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13840         dependancy file
13841
13842 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13843
13844         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13845         LFUN_BREAKPARAGRAPH.
13846
13847         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13848         help test to "internal only", similar for LFUN_INSERT_URL
13849
13850         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13851         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13852         auto_region_delete and deadkeys.
13853
13854 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13855
13856         * LColor.h:
13857         * LColor.C: remove some dead entries, tidy a little
13858
13859 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13860
13861         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13862         commented code.
13863         (Dispatch): implement LFUN_ESCAPE
13864
13865         * commandtags.h: add LFUN_ESCAPE
13866
13867         * LyXAction.C (init): add entry for LFUN_ESCAPE
13868
13869         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13870         Remove commented code.
13871         (insertNote): moved here
13872         (open_new_inset): moved here
13873
13874         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13875         BufferView_pimpl
13876
13877 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13878
13879         * kbmap.C (findbinding): clean it up and make it work correctly.
13880
13881         * lyx_main.C (init): do not pass argc and argv as parameters
13882
13883 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13884
13885         * buffer.C: fix path for OS/2 & Win32
13886
13887         * lyx_gui.C:
13888         * lyx_main:
13889         * lyx_main.C: Added os:: class.
13890
13891         * os2_defines.h: update
13892
13893 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13894
13895         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13896         better by trying again with reduced state.
13897
13898 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13899
13900         * lyxrc.C (read): print error about invalid key sequence only when
13901         debugging (because not all latinX keysyms are known to some X
13902         servers)
13903
13904         * kbsequence.C (getiso): add a few std:: qualifiers
13905         (getiso): comment out extra return statement.
13906
13907 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13908
13909         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13910         handling.
13911         (Dispatch): enhance the accent inset a bit. (not perfect)
13912
13913 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13914
13915         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13916
13917 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13918
13919         * bufferlist.C (emergencyWrite): fix assert() call
13920
13921 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13922
13923         * text.C (InsertChar): Added trivial patch to only send the "you
13924         can not do multiple spaces this way" message once during a
13925         session.
13926
13927 2001-05-08  Baruch Even  <baruch@lyx.org>
13928
13929         * Makefile.am: Changed order of libraries to get LyX to link properly
13930         with the gnome frontend.
13931
13932 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13933
13934         * LaTeXFeatures.h: add a std:: qualifier
13935
13936 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13937
13938         * paragraph.C (String): use stringstream
13939
13940 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13941
13942         * paragraph.C (writeFile): remove footflag arg
13943
13944         * buffer.C (makeLaTeXFile): use stringstream
13945         (latexParagraphs): remove footnot gurba
13946
13947         * LaTeXFeatures.C (getPackages): use stringstream
13948         (getMacros): likewise
13949         (getTClassPreamble): likewise
13950         (getFloatDefinitions): new method
13951
13952         * paragraph.C (writeFile): reindent
13953         (Erase): reindent
13954
13955         * WorkArea.h: revert the xpos + etc changes.
13956
13957         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13958
13959         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13960
13961         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13962         (pasteSelection): likewise
13963         * text2.C (CreateUndo): likewise
13964
13965 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13966
13967         * minibuffer.C (peek_event): temporarily reduce the functionality
13968         of the minibuffer (to allow args on lfuns)
13969
13970         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13971         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13972
13973         * buffer.C (readInset): add compability reading of old float
13974         lists, add reading of new style float list.
13975         (readInset): avoid reevaluation of inscmd.getCmdName()
13976         (getLists): reindent
13977
13978         * MenuBackend.C (MenuItem): implement parsing of
13979         md_floatlistinsert and md_floatinsert.
13980         (expand::LastFiles): move initalizaton of iterators out of loop,
13981         avoid reevaluation.
13982         (expand::Documents): introduce typdedef vector<string> Strings,
13983         and use it.
13984         (expand::ExportFormats): introduce typedef vector<Format const *>
13985         Formats, and use it.
13986         (expand): implement FloatListInsert and FloatInsert.
13987
13988         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13989         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13990         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13991
13992         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13993         handling.
13994         (Dispatch::LFUN_FLOAT_LIST): implement
13995
13996 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13997
13998         * LaTeX.C (run): Fix problem with --export code.
13999
14000 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14001
14002         * BufferView.[Ch] (workarea): removed.
14003         (getClipboard) new method; wrapper for workarea()->getClipboard()
14004
14005         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14006         bug.
14007
14008         * WorkArea.h (width, height, xpos, ypos): These methods all
14009         returned the dimensions of the work_area sub-area of WorkArea,
14010         resulting in a position error if the WorkArea were resized. Now
14011         return the dimensions of the entire WorkArea.
14012
14013         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14014
14015 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14016
14017         * LaTeX.C (deplog): correct the syntax of regex reg1
14018
14019 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14020
14021         * undo.C: remove !NEW_INSETS cruft
14022
14023 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14024
14025         * text2.C: remove !NEW_INSETS cruft
14026
14027         * text.C: remove !NEW_INSETS cruft
14028
14029         * tabular.C: remove !NEW_INSETS cruft
14030
14031         * spellchecker.C: remove !NEW_INSETS cruft
14032
14033         * lyxtext.h: remove !NEW_INSETS cruft
14034
14035         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14036
14037         * lyxfunc.C: remove !NEW_INSETS cruft
14038
14039         * lyxfind.C: remove !NEW_INSETS cruft
14040
14041         * lyx_cb.C: remove !NEW_INSETS cruft
14042
14043         * figureForm.C: remove  !NEW_INSETS cruft
14044
14045         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14046
14047         * buffer.[Ch]: remove !NEW_INSETS cruft
14048
14049         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14050
14051         * CutAndPaste.C: remove !NEW_INSETS cruft
14052
14053         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14054
14055         * BufferView2.C: remove !NEW_INSETS cruft
14056
14057         * BufferView.h: remove !NEW_INSETS cruft
14058
14059 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14060
14061         * Lsstream.h: include LString.h before the sstream headers to
14062         fix problem with gcc 2.95.3 and lyxstring
14063
14064 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14065
14066         * lyx_main.C: add using directives when needed for C functions
14067         declared in std:: namespace.
14068
14069 2001-04-27  Juergen Vigna  <jug@sad.it>
14070
14071         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14072         (SetHeightOfRow): comment out the update call should not be needed!
14073
14074 2001-04-13  Juergen Vigna  <jug@sad.it>
14075
14076         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14077         (LyXTabular): tried to minimize operator= operations (and realized
14078         hopfully Lars wish).
14079
14080 2001-04-27  Juergen Vigna  <jug@sad.it>
14081
14082         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14083
14084 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14085
14086         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14087
14088         * buffer.C (readInset): hack to make listof algorithm work
14089
14090         * BufferView_pimpl.C: hack to make listof algorithm work
14091
14092 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14093
14094         * LyXAction.C: removed all !NEW_INSETS cruft
14095         (init): moved lfun_item in method
14096
14097         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14098
14099 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14100
14101         * BufferView2.C (theLockingInset): white space.
14102
14103 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14104
14105         * minibuffer.C: include <iostream>
14106
14107         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14108
14109         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14110
14111         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14112
14113         * text.[Ch] (TransposeChars): new method
14114
14115 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14116
14117         * call message directly through LyXView instead of through LyXFunc
14118         * BufferView2.C: adjust
14119         * BufferView_pimpl.C: adjust
14120         * FontLoader.C: adjust
14121         * buffer.C: adjust
14122         * bufferview_funcs.C: adjust
14123         * converter.C: adjust
14124         * figureForm.C: adjust
14125         * importer.C: adjust
14126         * lyx_cb.C: adjust
14127         * lyx_gui_misc.C: adjust
14128         * lyxfunc.C: adjust
14129         * lyxvc.C: adjust
14130         * text2.C: adjust
14131         + more files in subdirs
14132
14133         * lyxparagraph.h (size): move up int file
14134         (GetLayout): ditto
14135
14136         * adjust all uses of Assert to lyx::Assert.
14137
14138         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14139         lyxfunctional in namespace lyx
14140         * layout.C (hasLayout): ditto
14141         (GetLayout): ditto
14142         (GetLayout): ditto
14143         (delete_layout): ditto
14144         (NumberOfClass): ditto
14145         * converter.C (GetFormat): ditto
14146         (GetNumber): ditto
14147         (Add): ditto
14148         (Delete): ditto
14149         (SetViewer): ditto
14150         * bufferlist.C (getFileNames): ditto
14151         (emergencyWriteAll): ditto
14152         (exists): ditto
14153         (getBuffer): ditto
14154         * MenuBackend.C (hasSubmenu): ditto
14155         (hasMenu): ditto
14156         (getMenu): ditto
14157         * BufferView_pimpl.C (getInsetByCode): ditto
14158
14159 2001-04-18  Juergen Vigna  <jug@sad.it>
14160
14161         * vspace.C (asLatexString): fixed the 100% problem.
14162
14163 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14164
14165         * lyxfunc.C (Dispatch):
14166         * minibuffer.C:
14167         * minibuffer.h: add a few std:: qualifiers
14168
14169 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14170
14171         * minibuffer.[Ch]: reimplement so that commands is initiated and
14172         run from lyxfunc, simplified som handling, and made the completion
14173         and history code for complete. wip.
14174
14175         * lyxfunc.C (processKeySym): call message
14176         (miniDispatch): new temporary method
14177         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14178         (LFUN_MESSAGE): implement
14179         (LFUN_MESSAGE_PUSH): implement
14180         (LFUN_MESSAGE_POP): implement
14181         (initMiniBuffer): the initial/defualt minibuffer message.
14182
14183         * lyxfont.[Ch]: inline some more getters
14184
14185         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14186
14187         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14188
14189         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14190         (AutoSave): use LFUN_MESSAGE
14191         (Reconfigure): ditto
14192
14193         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14194
14195         * figureForm.C: use LFUN_MESSAGE
14196
14197         * converter.C (runLaTeX): use LFUN_MESSAGE
14198
14199         * bufferview_funcs.C: use LFUN_MESSAGE
14200         (Melt): ditto
14201         (changeDepth): ditto
14202
14203         * bufferparams.h: use boost::
14204
14205         * bufferlist.h: inherit privately from noncopyable
14206
14207         * bufferlist.C (loadLyXFile): remove some commented code.
14208
14209         * buffer.C (runChktex): use LFUN_MESSAGE
14210
14211         * ShareContainer.h: inherit privately from noncopyable
14212
14213         * ParagraphParameters.[hC] (depth): inline it.
14214
14215         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14216         methods.
14217         (message): new method
14218         (messagePush): ditto
14219         (messagePop): ditto
14220         (show): init minibuffer
14221         (showState): direct call
14222
14223         * LaTeX.[Ch]: inherit privately from noncopyable
14224         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14225         instead of WriteStatus.
14226
14227         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14228
14229         * BufferView_pimpl.C (buffer): don't init minibuffer
14230         (workAreaButtonPress): use LFUN_MESSAGE
14231         (workAreaButtonRelease): ditto
14232         (savePosition): ditto
14233         (restorePosition): ditto
14234         (MenuInsertLyXFile): ditto
14235         (workAreaExpose): don't init minibuffer
14236         (update): remove commented code, simplify
14237
14238         * BufferView2.C (openStuff): use LFUN_MESSAGE
14239         (toggleFloat): ditto
14240         (menuUndo): ditto
14241         (menuRedo): ditto
14242         (copyEnvironment): ditto
14243         (pasteEnvironment): ditto
14244         (copy): ditto
14245         (cut): ditto
14246         (paste): ditto
14247         (gotoInset): ditto
14248         (updateInset): remove some commented code
14249
14250         * lastfiles.h: inherit privately from noncopyable
14251         * layout.h: ditto
14252         * lyx_gui.h: ditto
14253         * lyx_main.h: ditto
14254         * lyxlex.h: ditto
14255         * lyxlex_pimpl.h: ditto
14256
14257         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14258         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14259         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14260
14261         * LyXAction.h: inherit privately from noncopyable, add methods
14262         func_begin, func_end, returning iterators to the func map.
14263
14264         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14265         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14266         (func_begin): new method
14267         (func_end): new method
14268
14269         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14270         and not)
14271         (copySelection): ditto
14272         (pasteSelection): ditto
14273
14274         * BufferView.C: whitespace change
14275         * BufferView.h: inherit privately from noncopyable
14276
14277 2001-04-16  Allan Rae  <rae@lyx.org>
14278
14279         * tabular-old.C (l_getline):
14280         * spellchecker.C (sc_check_word):
14281         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14282         an unrecognised preprocessor directive.  So ensure they're wrapped.
14283
14284 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14285
14286         * src/exporter.C (Export): Give an error message when path to file
14287         contains spaces.
14288
14289 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14290
14291         * LaTeX.C (deplog): Always check that foundfile exists.
14292
14293 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14294
14295         * lyx_main.h:
14296         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14297
14298 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14299
14300         * tabular.[Ch] (getLabelList): implement new method
14301
14302         * minibuffer.h: comment ouf setTiimer
14303
14304         * minibuffer.C (ExecutingCB): constify res
14305         (peek_event): constify s
14306         (Set): constify ntext
14307         (Init): constify nicename
14308
14309         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14310
14311         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14312         (savePosition): use two params to Minibuffer::Set
14313         (restorePosition): ditto
14314
14315 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14316
14317         * lyx_main.C: include language.h
14318
14319         * Makefile.am (lyx_main.o): add language.h
14320
14321 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14322
14323         * exporter.C:
14324         * paragraph.C:
14325         * screen.C:
14326         * tabular.C:
14327         * CutAndPaste.C: include gettext.h
14328
14329         * lyxfont.h: remove old hack with ON and OFF.
14330
14331         * lyxparagraph.h:
14332         * lyxfont.h: do not include language.h...
14333
14334         * BufferView2.C:
14335         * LaTeXFeatures.C:
14336         * Painter.C:
14337         * bufferview_funcs.C:
14338         * font.C:
14339         * lyxfont.C:
14340         * text.C:
14341         * text2.C:
14342         * trans_mgr.C:
14343         * paragraph.C: ... but do it here instead
14344
14345 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14346
14347         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14348
14349         * tabular.C: small reformat
14350
14351         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14352         NEW_INSETS version
14353         (GetChar): ditto
14354         (BreakParagraph): ditto
14355         (SetOnlyLayout): ditto
14356         (SetLayout): ditto
14357
14358         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14359         with one arg less.
14360
14361         * lastfiles.C: removed most using decl, add std:: where needed
14362
14363         * buffer.C: ws changes
14364
14365         * MenuBackend.C (class compare_format): put into anon namespace
14366         (expand): constify label, names, action, action2
14367         (expand):
14368
14369         * text.C (SingleWidth): constify font
14370         (IsBoundary): constify rtl2
14371         (GetVisibleRow): constify ww
14372
14373         * LaTeX.C (deplog): constify logfile
14374
14375         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14376         start_x, end_x
14377         (workAreaExpose): constify widthChange, heightChange
14378
14379         * lyxrow.C (par): moved
14380         (height): moved
14381         (next): moved
14382         * lyxrow.h: as inlines here
14383
14384         * lyxfont.h (shape): moved from lyxfont.C
14385         (emph): moved from lyxfont.C
14386
14387         * lyxfont.C (LyXFont): use initialization list for all
14388         constructors
14389         (shape): move to lyxfont.h as inline
14390         (emph): move to lyxfont.h as inline
14391
14392
14393 2001-04-04  Juergen Vigna  <jug@sad.it>
14394
14395         * vspace.C: had to include stdio.h for use of sscanf
14396
14397 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14398
14399         * BufferView.h:
14400         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14401         independent of xforms.
14402
14403 2001-04-02  Juergen Vigna  <jug@sad.it>
14404
14405         * spellchecker.C: fixed namespace placing!
14406
14407 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14408
14409         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14410         the LyXParagraph * is 0.
14411
14412 2001-03-29  Juergen Vigna  <jug@sad.it>
14413
14414         * vspace.C: added support for %, c%, p%, l%.
14415         (stringFromUnit): added helper function.
14416         (asLatexString): changed to give right results for the %-values.
14417
14418         * buffer.C: convert the widthp in a width%.
14419
14420 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14421
14422         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14423         figureForm.[Ch].
14424
14425         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14426         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14427
14428         * lyx_cb.[Ch]: see above.
14429
14430         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14431         form1.[Ch].
14432
14433         * form1.[Ch]:
14434         * lyx.[Ch]: replaced by figure_form.[Ch].
14435
14436         * lyx_gui.C:
14437         * lyx_gui_misc.C:
14438         * lyxfunc.C: changed headers associated with above changes.
14439
14440 2001-03-27  Juergen Vigna  <jug@sad.it>
14441
14442         * BufferView_pimpl.C: set the temporary cursor right!
14443
14444 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14445
14446         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14447
14448 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14449
14450         * LString.h: removed "using std::getline"!
14451
14452         * BufferView_pimpl.C (Dispatch): changes due to changes in
14453         InsetInclude::Params.
14454
14455         * buffer.C (tag_name): removed redundant break statements as they were
14456         producing lots of warnings with my compiler.
14457
14458 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14459
14460         * LString.h: add "using std::getline" when using the real <string>.
14461
14462 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14463
14464         * buffer.C: removed bitset usage.
14465         PAR_TAG moved to an anonymous name space.
14466         (tag_name): new funtion, also in the anonymous namespace.
14467         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14468         (makeDocBookFile): clean code. Completed transition from string arrays
14469         to string vectors.
14470         (SimpleDocBookOnePar): code clean.
14471
14472 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14473
14474         * tabular.C: add some comments.
14475
14476 2001-03-22  Juergen Vigna  <jug@sad.it>
14477
14478         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14479         compatibility read a bit and fixed bug with minipage in different
14480         depth.
14481
14482 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14483
14484         * buffer.C (pop_tag): removed.
14485         (push_tag): removed.
14486         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14487         array replaced with vector. Added support for CDATA sections.
14488         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14489         at any nest level.
14490         (makeDocBookFile): XML conformant declaration of CDATA section,
14491         fixed bug related to <emphasis> in the first paragraph char.
14492         (sgmlOpenTag): exclude empty tags.
14493         (sgmlCloseTag): ditto.
14494
14495         * buffer.h (pop_tag): removed.
14496         (push_tag): removed.
14497
14498 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14499
14500         * language.h (Languages): added size_type and size().
14501
14502 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14503
14504         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14505         response on compability reading of minipages. One probliem is that
14506         the old usage of minipages was «flertydig»
14507
14508         * several files here and in subdirs: don't use static at file
14509         scope use anon namespaces instead.
14510
14511 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14512
14513         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14514         LaTeX output. This is necessary for Literate document
14515         processing.
14516
14517 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14518
14519         * buffer.C: insert hfill when needed.
14520
14521         * tabular.C (l_getline): use string::erase, small whitespace change.
14522
14523         * BufferView_pimpl.C: try the anon namespace.
14524         * WorkArea.C: ditto
14525
14526 2001-03-16  Juergen Vigna  <jug@sad.it>
14527
14528         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14529         otherwise it won't open options-dialogs.
14530
14531         * buffer.C: honor pextraWidth(p) on converting minipages.
14532
14533         * tabular.C (l_getline): changed the functions to strip trailing \r.
14534
14535 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14536
14537         * BufferView_pimpl.C:
14538         * minibuffer..C: added "using SigC::slot" declaration.
14539
14540 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14541
14542         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14543
14544         * text2.C: ditto
14545
14546         * text.C: ditto
14547
14548         * paragraph.C: ditto
14549
14550         * lyxtext.h: NO_PEXTRA
14551
14552         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14553
14554         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14555         * ParameterStruct.h: ditto
14556         * ParagraphParameters.h: ditto
14557         * lyxparagraph.h: ditto
14558
14559 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14560
14561         * buffer.C: add compability for minipage alignment.
14562         (latexParagraphs): remove unwanted pextra check.
14563
14564         * several files: remove CXX_WORKING_NAMESPACES
14565
14566         * buffer.C (pop_tag): tie is in namespace boost
14567
14568         * BufferView.h: noncopyable is in namespace boost
14569         * lyxlex.h: ditto
14570         * lyx_main.h: ditto
14571         * lyx_gui.h: ditto
14572         * layout.h: ditto
14573         * lastfiles.h: ditto
14574         * bufferlist.h: ditto
14575         * ShareContainer.h: ditto
14576         * LyXView.h: ditto
14577         * LyXAction.h: ditto
14578         * LaTeX.h: ditto
14579
14580 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14581
14582         * Merging changes from BRANCH_MVC back into HEAD.
14583
14584         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14585
14586 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14587
14588         * BufferView_pimpl.C: change from intl.C
14589
14590         * combox.h:
14591         * combox.C:
14592         * Makefile.am: move combox.*
14593
14594         * form1.h:
14595         * form1.C:
14596         * lyx_gui.C:
14597         * intl.h:
14598         * intl.C: remove dialog (covered by prefs)
14599
14600 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14601
14602         * lyxfunc.C (Dispatch): removed redundant break statement.
14603
14604 2001-03-14  Juergen Vigna  <jug@sad.it>
14605
14606         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14607
14608 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14609
14610         * buffer.C: add hack to fix compability reading of minipages.
14611
14612 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14613
14614         * buffer.C (getLists): Cleanup.
14615
14616 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14617
14618         * lyxfont.C (update): don't honor toggleall on font size.
14619
14620 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14621
14622         * bmtable.c:
14623         * bmtable.h:
14624         * Makefile.am: moved to frontends/xforms/
14625
14626         * lyx_gui_misc.C:
14627         * lyxfunc.C:
14628         * BufferView_pimpl.C: changes for moved mathpanel
14629
14630 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14631
14632         * gettext.h: fix gettext_init() in --disable-nls
14633
14634 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14635
14636         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14637
14638 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14639
14640         * lyx.C:
14641         * lyx.h: strip external form
14642
14643 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14644
14645         * BufferView_pimpl.C: add comment, destroySplash()
14646
14647 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14648
14649         * BufferView_pimpl.C:
14650         * LyXAction.C:
14651         * buffer.C:
14652         * commandtags.h:
14653         * lyxfunc.C: use re-worked insetinclude
14654
14655 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14656
14657         * buffer.C: add using std::stringstream.
14658
14659         * lyx_cb.C: readd using std::ios.
14660
14661         * buffer.C: add using std::map.
14662
14663         * BufferView_pimpl.C: add using std::vector.
14664
14665         * ShareContainer.h: add std:: to swap.
14666
14667         * buffer.h: add some typedefs
14668         * buffer.C (getLists): use them
14669         (getLists): renamed from getTocList.
14670         add a counter for the different float types and use it in the
14671         generated string.
14672         (getLists): use the same counter for the NEW_INSETS and the "non"
14673         NEW_INSETS
14674
14675         * lyx_cb.h: remove unused items, includes, using etc.
14676
14677         * ShareContainer.h: remove some commented code, add more comments
14678         and "documentation".
14679
14680 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14681
14682         * buffer.C (getTocList): make the list also when NEW_INSETS is
14683         defined.
14684
14685         * buffer.h: remove TocType
14686
14687         * buffer.C (getTocList): change to return a map<string,
14688         vector<TocItem> >, implement for dynamic number of list.
14689
14690         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14691         * text2.C (PasteSelection): adjust
14692         * CutAndPaste.C (pasteSelection): adjust
14693
14694         * FloatList.C (FloatList): update from the new_insets branch.
14695         * Floating.[Ch]: ditto
14696         * LaTeXFeatures.C: ditto
14697         * buffer.C: ditto
14698         * lyxlex_pimpl.C: ditto
14699
14700         * paragraph.C (Last): remove when NEW_INSETS is defined.
14701
14702         * other file: changes because of the above.
14703
14704 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14705
14706         * lyxparagraph.h: rename next to next_, previous to previous_,
14707         make them private for NEW_INSETS. Rename Next() to next(),
14708         Previous() to previous().
14709
14710         * other files: changes because of the above.
14711
14712 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14713
14714         * BufferView.h:
14715         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14716         problem.
14717
14718 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14719
14720         * main.C (main): pass lyx_localedir to gettext_init().
14721
14722         * gettext.h: remove locale_init and gettext_init macros
14723
14724         * gettext.C (locale_init): new function
14725         (gettext_init): new function
14726
14727         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14728         setlocale().
14729
14730 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14731
14732         * Moved credits to frontends:
14733         * credits.[Ch]: removed
14734         * credits_form.[Ch]: removed
14735         * lyx_gui_misc.C: remove credits stuff
14736         * Makefile.am:
14737
14738 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14739
14740         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14741
14742         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14743         unneeded destructor.
14744
14745         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14746         a standalone pointer again.
14747
14748         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14749
14750 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14751
14752         * Makefile.am:
14753         * filedlg.h:
14754         * filedlg.C:
14755         * LyXAction.C:
14756         * ToolbarDefaults.C:
14757         * bufferlist.C:
14758         * commandtags.h:
14759         * form1.C:
14760         * form1.h:
14761         * lyx_cb.C:
14762         * lyx_cb.h:
14763         * lyxfunc.h:
14764         * lyxfunc.C:
14765         * BufferView_pimpl.C: use new file dialog in GUII
14766
14767         * lyx_cb.h:
14768         * lyx_cb.C: remove LayoutsCB to Toolbar
14769
14770 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14771
14772         * ShareContainer.h (get): add std:: qualifier
14773
14774 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14775
14776         * ShareContainer.h: define a proper ShareContainer::value_type
14777         type (and use typename to please compaq cxx)
14778
14779 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14780
14781         * lyxparagraph.h: move serveral local vars to
14782         ParameterStruct/ParagraphParameters., use ShareContainer in
14783         FontTable., make vars in FontTable private and add getter and
14784         setter.
14785
14786         * paragraph.C: changes because of the above.
14787
14788         * lyxfont.h: remove copy constructor and copy assignment. (the
14789         default ones is ok), move number inside FontBits. move inlines to
14790         lyxfont.C
14791
14792         * lyxfont.C: add number to initializaton of statics, move several
14793         inlines here. constify several local vars. some whitespace
14794         cleanup. Dont hide outerscope variables.
14795
14796         * Spacing.h: add two new constructors to match the set methods.
14797
14798         * ShareContainer.h: new file, will perhaps be moved to support
14799
14800         * ParameterStruct.h: new file
14801
14802         * ParagraphParameters.h: new file
14803
14804         * ParagraphParameters.C: new file
14805
14806         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14807         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14808
14809         * BufferView_pimpl.C: ParagraphParameter changes.
14810         * buffer.C: Likewise.
14811         * bufferview_funcs.C: Likewise.
14812         * text.C: Likewise.
14813         * text2.C: Likewise.
14814
14815 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14816
14817         * lyxfind.C (LyXReplace): do not redefine default argument in
14818         implementation.
14819         (IsStringInText): ditto
14820         (SearchForward): ditto
14821         (SearchBackward): ditto
14822
14823 2001-03-06  Juergen Vigna  <jug@sad.it>
14824
14825         * lyxfind.C (IsStringInText): put parentes around expressions.
14826
14827 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14828
14829         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14830
14831 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14832
14833         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14834
14835         * stl_string_fwd.h: add comment
14836
14837         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14838
14839         * tabular.h:
14840         * tabular.C: remove unused DocBook methods
14841
14842         * intl.C:
14843         * language.C:
14844         * paragraph.C:
14845         * buffer.C:
14846         killed DO_USE_DEFAULT_LANGUAGE
14847
14848 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14849
14850         * lyx_gui.C: do not include language.h.
14851
14852         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14853         arguments in function implementation.
14854
14855 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14856
14857         * BufferView_pimpl.C: add <ctime>
14858
14859 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14860
14861         * BufferView_pimpl.C: add using std::find_if
14862
14863 2001-02-27  José Matos  <jamatos@fep.up.pt>
14864
14865         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14866         by OnlyPath.
14867
14868 2001-02-11  José Matos  <jamatos@fep.up.pt>
14869
14870         * buffer.C (makeDocBookFile): command styles now have a parameter as
14871         "title" by default.
14872
14873 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14874
14875         * layout_forms.[Ch]: removed
14876         * lyx_cb.[Ch]: out character
14877         * lyx_gui.C: out character
14878         * lyx_gui_misc.C: out character
14879         * bufferview_funcs.C: : out character,
14880         added toggleall as parameter in ToggleAndShow
14881
14882 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14883
14884         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14885
14886         * text2.C (SetCurrentFont): Disable number property at boundary.
14887
14888 2001-02-26  Juergen Vigna  <jug@sad.it>
14889
14890         * lyxfunc.C (getStatus): added a string argument override function so
14891         that this is correctly called from LyXFunc::Dispatch if it contains a
14892         do_not_use_argument which is used!
14893         (Dispatch): added check for "custom" export and call appropriate func.
14894
14895 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14896
14897         * lyxrc.C: Add language_command_local, language_use_babel and
14898         language_global_options.
14899
14900         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14901
14902         * buffer.C (makeLaTeXFile): Use language_use_babel and
14903         language_global_options.
14904
14905 2001-02-23  Juergen Vigna  <jug@sad.it>
14906
14907         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14908         which works with LyXText and putted it inside BufferView. Here now we
14909         only call for that part the BufferView::Dispatch() function.
14910
14911         * BufferView.C (Dispatch): added.
14912
14913         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14914         functions which needs to use a LyXText over from LyXFunc.
14915         (MenuInsertLyXFile): added
14916         (getInsetByCode): added
14917         (moveCursorUpdate): added
14918         (static TEXT): added
14919
14920 2001-02-22  Juergen Vigna  <jug@sad.it>
14921
14922         * BufferView_pimpl.C (update): call a status update to see if LyXText
14923         needs it.
14924
14925 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14926
14927         * vc-backend.C (revert): implement for CVS
14928         (getLog): implement for CVS
14929
14930 2001-02-20  Juergen Vigna  <jug@sad.it>
14931
14932         * text2.C (ClearSelection): added BufferView param for inset_owner call
14933
14934         * lyxfunc.C (TEXT): added this function and use it instead of
14935         directly owner->view()-text of getLyXText().
14936
14937 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14938
14939         * src/layout_forms.C: out preamble
14940         * src/layout_forms.h: out preamble
14941         * src/lyx_cb.C: out preamble
14942         * src/lyx_cb.h: out preamble
14943         * src/lyx_gui.C: out preamble
14944         * src/lyx_gui_misc.C: out preamble
14945         * src/lyxfunc.C: connect with guii preamble
14946
14947 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14948
14949         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14950
14951 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14952
14953         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14954         whether to run bibtex.
14955
14956 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14957
14958         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14959
14960 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14961
14962         * Makefile.am (lyx_SOURCES): removed bibforms.h
14963
14964         * vspace.h: doxygen
14965
14966         * text.C (GetVisibleRow): make several local vars const
14967
14968         * tabular.C: small cleanup.
14969
14970         * lyxserver.C (callback): use compare instead of strncmp
14971
14972         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14973         inlines to after class or to paragraph.C
14974
14975         * lyxfont.h: remove friend operator!=
14976
14977         * converter.h: move friend bool operator< to non friend and after
14978         class def.
14979
14980         * combox.h: small cleanup
14981
14982         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14983         to inlines after class def.
14984
14985         * buffer.C (pop_tag): use string operations instead of strcmp
14986
14987         * bmtable.c: doxygen, small cleanup
14988
14989         * LaTeX.h: remove friend operator==
14990
14991 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14992
14993         * screen.C:
14994         * lyxrc.[Ch]:
14995         * lyxfunc.C:
14996         * lyxfont.[Ch]:
14997         * lyx_cb.C:
14998         * intl.[Ch]:
14999         * commandtags.h:
15000         * buffer.C:
15001         * WorkArea.[Ch]:
15002         * LyXAction.C:
15003         * BufferView_pimpl.C:
15004         * BufferView.[Ch]: remove cruft
15005
15006 2001-02-14  Juergen Vigna  <jug@sad.it>
15007
15008         * lyxfunc.C: removed #if 0 unused code
15009
15010         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15011
15012         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15013
15014         * text2.C (SetSelection): added a BufferView * parameter
15015
15016 2001-02-13  Juergen Vigna  <jug@sad.it>
15017
15018         * lyxfunc.C (Dispatch): fixed protected blank problem.
15019         * BufferView2.C (protectedBlank): added LyxText * parameter.
15020
15021         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15022         (AppendColumn): same as above for column_info.
15023
15024         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15025         (moveCursorUpdate): use a LyXText param for support of InsetText.
15026
15027         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15028         (tripleClick): ditto
15029
15030         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15031
15032         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15033
15034         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15035
15036         * text2.C (SetSelection): set correct update status if inset_owner
15037         (ToggleFree): ditto
15038
15039 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15040
15041         * tabular.C: remove some commented code.
15042
15043 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15044
15045         * BufferView_pimpl.C: call hideSplash()
15046
15047         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15048
15049         * include_form.h:
15050         * bibforms.h: remove
15051
15052         * lyxfunc.C:
15053         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15054           add LFUN_CHILD_CREATE
15055
15056         * counters.h: fix tiny typo
15057
15058         * lyx_cb.C:
15059         * lyx.h:
15060         * lyx_gui.C:
15061         * lyx.C: move splash to frontends/xforms/
15062
15063         * lyx_gui_misc.C: move Include and Bibform to frontends
15064
15065         * lyxvc.h: clarify comment
15066
15067         * vspace.C: tiny housekeeping
15068
15069 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15070
15071         * text.C (PrepareToPrint): RTL Fix.
15072
15073         * paragraph.C (GetUChar): New method.
15074         (String):  Use GetUChar.
15075
15076         * buffer.C (asciiParagraph): Use GetUChar.
15077
15078 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15079
15080         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15081
15082 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15083
15084         * buffer.h:
15085         * buffer.C: rename to getLogName(), handle
15086           build log / latex log nicely
15087
15088 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15089
15090         * MenuBackend.C:
15091         * MenuBackend.h: remove support for reference menuitem type.
15092
15093 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15094
15095         * BufferView_pimpl.C: housekeeping
15096         * BufferView_pimpl.h:
15097         * LyXView.h:
15098         * Makefile.am:
15099         * Timeout.C:
15100         * Timeout.h:
15101         * minibuffer.h: move Timeout GUI-I
15102
15103 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15104
15105         * lyxrc.C (read): Update converters data-structures.
15106
15107 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15108
15109         * LaTeX.h (operator!=): add operator != for Aux_Info
15110
15111 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15112
15113         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15114
15115         * LaTeXLog.C: deleted, useful code moved to Buffer
15116
15117         * buffer.h:
15118         * buffer.C: new function getLatexLogName()
15119
15120         * lyx_gui_misc.C:
15121         * lyx_gui.C:
15122         * lyxvc.C:
15123         * lyxvc.h:
15124         * lyxfunc.C: use frontends for LaTeX and VC logs
15125
15126 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15127
15128         * LaTeX.h: yet another std:: that Allan forgot.
15129
15130         * Variables.C (set): renamed from isset(), because this clashes
15131         with some HP-UX macros (grr).
15132
15133 2001-02-06  Allan Rae  <rae@lyx.org>
15134
15135         * LaTeX.h: Another bug fix.  Missing std:: this time.
15136
15137 2001-02-04  Allan Rae  <rae@lyx.org>
15138
15139         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15140         floats problem. I've left it commented out because it's not quite
15141         correct.  It should also test that the current object is a table or
15142         figure inset.  But I haven't gotten around to figuring out how to do
15143         that.  I *think* it'll be something like: "table" == inset.type()
15144
15145         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15146         bool.
15147
15148 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15149
15150         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15151         all the citation/databases/styles in the auxilary file.
15152         (run): Rerun latex if there was a babel language error.
15153
15154 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15155
15156         * text.C (Backspace): Preserve the font when changing newline char
15157         with a space.
15158         (BreakParagraph): If the cursor is before a space, delete the space.
15159
15160         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15161
15162 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15163
15164         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15165         new argument (code).
15166         (ChangeCitationsIfUnique): New method.
15167
15168         * paragraph.C (GetPositionOfInset): Handle bibkey.
15169
15170 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15171
15172         * BufferView_pimpl.h: change type of Position::par_pos to
15173         LyXParagraph::size_type.
15174
15175 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15176
15177         * BufferView_pimpl.C (savePosition, restorePosition): Write
15178         messages to minibuffer.
15179
15180 2001-01-28  José Matos  <jamatos@fep.up.pt>
15181
15182         * buffer.C (makeDocBookFile): adds support for document language.
15183         A silly restriction on the name of LatexCommand types where removed.
15184         Added support for CDATA sections, allows to chars unescaped, used
15185         among others in code, to avoid escape < and >.
15186
15187 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15188
15189         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15190         saved positions instrad of a stack. Furthermore, a position is
15191         stored using paragraph id/paragraph position.
15192
15193         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15194         Remove LFUN_REF_BACK.
15195
15196 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15197
15198         * converter.C (dvipdfm_options): New method.
15199
15200 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15201
15202         * vspace.C (isValidLength): Fix for empty input string.
15203
15204 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15205
15206         * LyXAction.C (init): change description of LFUN_FIGURE to
15207         "Insert Graphics"
15208
15209 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15210
15211         * LaTeX.C: add using directive
15212
15213 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15214
15215         * MenuBackend.C (expand): Fix the sorting of the formats.
15216
15217 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15218
15219         * lyx_main.C: tiny error message fix
15220
15221 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15222
15223         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15224         calling fl_initialize(). This fixes the problem with ',' as
15225         decimal separator in text files.
15226
15227 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15228
15229         * trans.C (process): Fix the keymap bug.
15230
15231 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15232
15233         * LaTeX.C (scanAuxFiles): New method. Provides support for
15234         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15235         (scanLogFile) Scan for "run BibTeX" messages.
15236
15237         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15238         OT1 font encoding. Also, load the aecompl package if the ae
15239         package is loaded.
15240
15241         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15242
15243 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15244
15245         * texrow.C (increasePos): turn two error messages into debug
15246         messages.
15247
15248 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15249
15250         * LaTeX.C (scanAux): Handle the \@input macro.
15251         (runBibTeX): Use scanAux().
15252
15253         * language.C (latex_options_): New field.
15254
15255         * LaTeXFeatures.C (getMacros): Add language macros.
15256
15257         * buffer.C (makeLaTeXFile): Small fix.
15258
15259 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15260
15261         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15262
15263         * text2.C: add a using directive.
15264
15265 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15266
15267         * BufferView2.C:
15268         * lyx_gui_misc.h:
15269         * lyxfr1.C:
15270         * lyxfunc.C: kill LyXBell.
15271
15272 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15273
15274         * text.C (IsBoundary): Remove the error message
15275
15276         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15277
15278         * lyxrc.C (setDefaults): Correct initialization value for
15279         font_norm_type.
15280
15281 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15282
15283         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15284         gotoError().
15285
15286         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15287         and GotoNextNote().
15288
15289         * src/LyXAction.C: Added reference-next.
15290
15291         * text.C (InsertChar): Use contains instead of strchr.
15292
15293         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15294
15295 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15296
15297         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15298         alignment commands (when needed).
15299
15300         * text.C (InsertChar): Add ':' to number separator chars.